i965: Initial Ivybridge SF/SBE state setup.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 5 Jan 2011 09:21:06 +0000 (01:21 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 18 May 2011 06:32:59 +0000 (23:32 -0700)
commit7d608d0c331c101088273655708965fb9f1be56e
tree878d57872e640cb0c460a39ff28a702d8f03907c
parent3dc4bc1f78db876d2dcb76153ecf9992fcce73e4
i965: Initial Ivybridge SF/SBE state setup.

Copied from gen6_sf_state.c.

The main change from Sandybridge seems to be that 3DSTATE_SF was split
into two separate state packet commands: 3DSTATE_SF and 3DSTATE_SBE
("setup backend").  The bit-offsets are even the same - only the DWords
numbers have shuffled around a bit.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/Makefile
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/gen7_sf_state.c [new file with mode: 0644]