swr/rast: Remove explicit primitive id slot in the vertex layout
authorTim Rowley <timothy.o.rowley@intel.com>
Wed, 31 May 2017 16:24:08 +0000 (11:24 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Fri, 16 Jun 2017 21:20:16 +0000 (16:20 -0500)
commit36ac8ba511bc1dd634194ac7a86dc4a527db7a2e
tree79ddffd622a14597acaccef19df04a2d13e9c1ee
parent8716e0d8b45194f34b57ec963d95abbcf40b66c4
swr/rast: Remove explicit primitive id slot in the vertex layout

- Remove any special casing in the PS stage when primitive ID is input.
  Treat as a normal attribute that must be set up properly in the FE linkage.
- Remove primitive id from the PS_CONTEXT and TRI_FLAGS

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/core/backend.h
src/gallium/drivers/swr/rasterizer/core/binner.cpp
src/gallium/drivers/swr/rasterizer/core/context.h
src/gallium/drivers/swr/rasterizer/core/frontend.cpp
src/gallium/drivers/swr/rasterizer/core/state.h
src/gallium/drivers/swr/swr_shader.cpp
src/gallium/drivers/swr/swr_state.cpp