i965: Port gen6+ 3DSTATE_SCISSOR_STATE_POINTERS to use genxml.
authorRafael Antognolli <rafael.antognolli@intel.com>
Thu, 30 Mar 2017 16:52:19 +0000 (09:52 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 4 May 2017 01:57:52 +0000 (18:57 -0700)
commitd729936c5e6466d5ec336a446f06d9f65bd5cc43
tree57e5f03bb0a23b81332f9860782c47937ecf3a31
parentc5ddd4782ccf87e613b663b2ead8978c7df72caf
i965: Port gen6+ 3DSTATE_SCISSOR_STATE_POINTERS to use genxml.

Emit 3DSTATE_SCISSOR_STATE_POINTERS using brw_batch_emit, and pack the
scissor states using GENX(SCISSOR_RECT_pack), generated from genxml.

v3:
   - Remove old code (Ken)
   - Style fixes (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/gen6_scissor_state.c [deleted file]
src/mesa/drivers/dri/i965/genX_state_upload.c