i965: Update SF, SBE, and RASTER state for Broadwell.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 1 Nov 2013 21:37:33 +0000 (14:37 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 1 Feb 2014 01:50:06 +0000 (17:50 -0800)
commit90fff1354b81ab880f1d2c2945c374ad6d8fe44f
tree4674d851a7a40c0be11695e214c61bc4b4c971a3
parent4552a22f0425149f9bb5722af46c1c8766ddc8db
i965: Update SF, SBE, and RASTER state for Broadwell.

The attribute override portion of 3DSTATE_SBE was split out into
3DSTATE_SBE_SWIZ; various bits of 3DSTATE_SF were split out into
3DSTATE_RASTER.

v2: Set Force URB Read Offset bit.  Eventually the URB read offset
    should be set in 3DSTATE_VS, but that will require some refactoring.

v3: Rebase on viewport array changes.

v4: Improve comments about URB read length/offset overrides.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/Makefile.sources
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/brw_state_upload.c
src/mesa/drivers/dri/i965/gen8_sf_state.c [new file with mode: 0644]