i965: Port Gen6+ 3DSTATE_CLIP state to genxml.
authorRafael Antognolli <rafael.antognolli@intel.com>
Thu, 16 Mar 2017 00:08:26 +0000 (17:08 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 4 May 2017 01:57:51 +0000 (18:57 -0700)
commit36c02ce4482c3efcd025e03d57dea720808d5b3d
tree500d264239bd638121c107d352d8bee123cd4e29
parentdae5cc79c683715f296aea17047b73a980117e8c
i965: Port Gen6+ 3DSTATE_CLIP state to genxml.

Emit clip state on Gen6+ using brw_batch_emit helper, using pack structs
from genxml.

v3:
   - Lots style fixes (Ken)
   - Do not set CullTestEnableBitMask on Gen8+ (Ken)
v4:
   - Do not include brw_defines_common.h.
v5 (Ken): s/BRW_NEW_WM_PROG_DATA/BRW_NEW_FS_PROG_DATA/

Signed-off-by: Rafael Antognolli <rafael.antognolli@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/gen6_clip_state.c
src/mesa/drivers/dri/i965/genX_state_upload.c