i965: Add missing sample shading bits to Gen8's 3DSTATE_PS_EXTRA.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 21 Jan 2014 07:06:30 +0000 (23:06 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 19 Feb 2014 23:42:02 +0000 (15:42 -0800)
commit01c42b2be64ec83c28230c1f8e1cbb2c5f5bd690
treeef7a4501c9c5ac1b01ce7ebd67b5738046c459be
parent77c37ed74b8b9bd8407e68961d1b324bf13f7881
i965: Add missing sample shading bits to Gen8's 3DSTATE_PS_EXTRA.

v2: Also set the "oMask Present to Render Target" bit, which is required
    for shaders that write oMask.  Otherwise the hardware won't expect
    the extra data.

v3: Add missing _NEW_MULTISAMPLE (caught by Eric).

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/dri/i965/gen8_ps_state.c