i965: Update BLEND_STATE for Broadwell.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 6 Dec 2012 03:30:26 +0000 (19:30 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 1 Feb 2014 01:50:08 +0000 (17:50 -0800)
commit2fce1e3c6982ddb53cc60b84af64594c49e9e869
treeb4af3cf9ae0b0c82d05b6e683026ee862572fcdc
parent460e0df3308f896741c884cac427c13a0e187354
i965: Update BLEND_STATE for Broadwell.

v2: Allow logic ops on all surface types.  The UNORM restriction was
    lifted with Haswell and I simply hadn't noticed.  Also, add missing
    BRW_NEW_STATE_BASE_ADDRESS dirty bit.  Both caught by Eric Anholt.

v3: Fix swapped per-RT DWord pairs.  Eliminates bizarre hacks.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/brw_state_upload.c
src/mesa/drivers/dri/i965/gen8_blend_state.c