swr/rast: Rework attribute layout
authorTim Rowley <timothy.o.rowley@intel.com>
Thu, 1 Jun 2017 18:08:04 +0000 (13:08 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Fri, 16 Jun 2017 21:20:16 +0000 (16:20 -0500)
commitb10cdb217a1638aa7cbd2c7bbb580d180512f3f3
tree09085c173e4956e9c0359d101a90a6eb2d3306bf
parent36ac8ba511bc1dd634194ac7a86dc4a527db7a2e
swr/rast: Rework attribute layout

Move fixed attributes to the top and pack single component SGVs.
WIP to support dynamically allocated vertex size.

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