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>
Mon, 31 Aug 2009 19:28:31 +0000 (13:28 -0600)
commitfcf0804c05faefd196ed5525c068ee4cd30c5312
treec2066af3b1de6f73e9ea3783a55e1645248580bf
parent9f36473a8ecc9c3358ae99651f511725344f22cc
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