i965: Add new SIMD8 VS prog data flag
authorKristian Høgsberg <krh@bitplanet.net>
Tue, 21 Oct 2014 06:05:09 +0000 (23:05 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 10 Dec 2014 20:29:04 +0000 (12:29 -0800)
commitc5b3878714a75dab40439622050b2ce6f60337c0
tree869545b0693e5ed463edb206c54cd3f8935f2e31
parentd9e29f5d88d2ddd8ee9d10b7d88377a60fd0094f
i965: Add new SIMD8 VS prog data flag

This flag signals that we have a SIMD8 VS shader so we can set up the
corresponding state accordingly.  This boils down to setting
the BDW+ SIMD8 enable bit in 3DSTATE_VS and making UBO and pull
constant buffers use dword pitch.

Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/brw_gs_surface_state.c
src/mesa/drivers/dri/i965/brw_vs_surface_state.c
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/drivers/dri/i965/gen8_vs_state.c