i965/wm: Set copy of sample mask in 3DSTATE_PS correctly for Haswell
authorChris Forbes <chrisf@ijw.co.nz>
Sat, 30 Nov 2013 22:07:46 +0000 (11:07 +1300)
committerChris Forbes <chrisf@ijw.co.nz>
Sat, 7 Dec 2013 03:08:47 +0000 (16:08 +1300)
commitdfa952da97817093b7f7f95095c8598044126e09
tree54b140c6d351225495c79dd104e41a9f676d80b4
parent8064b0f2c488f5c74a8910c2a5675672e8b1e066
i965/wm: Set copy of sample mask in 3DSTATE_PS correctly for Haswell

The bspec says:

"SW must program the sample mask value in this field so that it matches
with 3DSTATE_SAMPLE_MASK"

I haven't observed this to actually fix anything, but stumbled across it
while adding the rest of the support for CMS layout for multisample
   textures.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/gen7_wm_state.c