i965: Port gen6+ 3DSTATE_VS to genxml.
authorRafael Antognolli <rafael.antognolli@intel.com>
Wed, 22 Mar 2017 23:26:55 +0000 (16:26 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 4 May 2017 01:57:51 +0000 (18:57 -0700)
commit689a46f30e1317561385f15e904646d8ed40b93a
treeba60b1f5248f7ce44e0b39c51876cd7df8f22851
parent11ee4ac5e5deeb254170c9ef0a75d60431e40f38
i965: Port gen6+ 3DSTATE_VS to genxml.

Emit 3DSTATE_VS on Gen6+ using brw_batch_emit helper, that uses pack
structs from genxml.

v2:
   - Use render_bo helper to setup brw_address (Kristian)
v3:
   - Bring back some comments for gen6 and remove _NEW_TRANSFORM blocks
   from gen7+.

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/gen6_vs_state.c
src/mesa/drivers/dri/i965/gen7_vs_state.c [deleted file]
src/mesa/drivers/dri/i965/gen8_vs_state.c [deleted file]
src/mesa/drivers/dri/i965/genX_state_upload.c