i965: Port gen6+ blend state code to genxml.
authorRafael Antognolli <rafael.antognolli@intel.com>
Mon, 27 Mar 2017 22:52:10 +0000 (15:52 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 4 May 2017 01:57:52 +0000 (18:57 -0700)
commit98cce55317de58114fd84af77e3c3e5af3d180f9
tree06c28beb5c557bb45162fd131efa1b0ab1ca053d
parentbc1ff4509dea8fe0a324f85df1cc2c48a50b2484
i965: Port gen6+ blend state code to genxml.

Upload blend states using GENX(BLEND_STATE_ENTRY_pack), generated from
genxml.

v3:
   - style fixes (Ken)
   - cleanup to remove excessive #ifdef's (Ken)
   - remove memset (Ken)
   - disable blend.AlphaToCoverageDitherEnable on gen6 (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_cc.c
src/mesa/drivers/dri/i965/gen8_blend_state.c [deleted file]
src/mesa/drivers/dri/i965/genX_state_upload.c