ilo: fix some state pointer commands on Gen8
authorChia-I Wu <olvaffe@gmail.com>
Sun, 15 Feb 2015 05:21:51 +0000 (13:21 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Sun, 15 Feb 2015 05:32:41 +0000 (13:32 +0800)
commit69b1693ef3e5f6be872ae131ea01de435a8e9337
tree4bec850fbd4b99b7ce7d102c71caff6160dd5c4d
parent854eb06bee7d266fc739f984c1b4ebb54dac3b87
ilo: fix some state pointer commands on Gen8

3DSTATE_CC_STATE_POINTERS seems to be ignored when bit 0 of DW1 is not set.
Follow i965 and set the bit for 3DSTATE_CC_STATE_POINTERS and
3DSTATE_BLEND_STATE_POINTERS.  Add gen checks for all state pointer commands.
src/gallium/drivers/ilo/ilo_builder_3d_bottom.h