swrast: can't use deferred texture/shading if using KIL instruction
authorBrian Paul <brianp@vmware.com>
Mon, 31 Aug 2009 19:28:31 +0000 (13:28 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 1 Sep 2009 01:34:47 +0000 (19:34 -0600)
commit18656201ef62da1892d66e0899001ae82e2555c2
tree9c352094dd6b5c40191aab9623de9059db57a3b6
parent31a5a9e9cc943ae38077658302e43c05b80983d7
swrast: can't use deferred texture/shading if using KIL instruction

If the fragment program uses KIL, we have to execute it before z/stencil
testing.  Otherwise, deferred texture/shading lets us skip shading for
pixels that fail z/stencil testing.
src/mesa/swrast/s_context.c