i965/fs: Gen4-5: Setup discard masks for MRT alpha test
authorChris Forbes <chrisf@ijw.co.nz>
Sun, 27 Oct 2013 15:18:29 +0000 (04:18 +1300)
committerChris Forbes <chrisf@ijw.co.nz>
Wed, 6 Nov 2013 06:29:49 +0000 (19:29 +1300)
commitca82ba90dd7ef78be2b95972dc19913c76d5e6a8
tree0841d9b5077637364e724d0547899f736d04c2d7
parent1080fc610ef20e376c3a54b3cee2be911df9f012
i965/fs: Gen4-5: Setup discard masks for MRT alpha test

The same setup is required here as when the user-provided shader
explicitly uses KIL or discard.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs_generator.cpp