i965: Port Gen7+ 3DSTATE_SBE state to genxml.
authorRafael Antognolli <rafael.antognolli@intel.com>
Mon, 20 Mar 2017 17:32:53 +0000 (10:32 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 4 May 2017 01:57:51 +0000 (18:57 -0700)
commit072bcb8edc54b321685aa29a7e03379a23d073cd
treee3d4b37bef8398bacb5ef915e502dc8a0cf6eece
parent9f12d9166bedbe281e6cd866a903f8bdcc472c12
i965: Port Gen7+ 3DSTATE_SBE state to genxml.

Emit 3DSTATE_SBE on Gen7+ using brw_batch_emit helper, that uses pack
structs from genxml.

v2: - Use ACTIVE_COMPONENT_XYZW from gen9.xml.
v3: - Style fixes (Ken)
v4: #undef unconditionally (Ken)

Signed-off-by: Rafael Antognolli <rafael.antognolli@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/Makefile.sources
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/gen7_sf_state.c [deleted file]
src/mesa/drivers/dri/i965/gen8_sf_state.c [deleted file]
src/mesa/drivers/dri/i965/genX_state_upload.c