i965: Add support for discard instructions on gen6.
authorEric Anholt <eric@anholt.net>
Mon, 25 Oct 2010 23:22:31 +0000 (16:22 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 26 Oct 2010 18:21:44 +0000 (11:21 -0700)
commit62452e7d94a6353b59dfe0a8891d0709670dbeac
tree70319b95eefa56fe2a9abbe07e043d822bc047df
parent9b1d26f78f74ba7f0d5c940f848c21b43ef69398
i965: Add support for discard instructions on gen6.

It's a little more painful than before because we don't have the handy
mask register any more, and have to make do with cooking up a value
out of the flag register.
src/mesa/drivers/dri/i965/brw_fs.cpp