vc4: Add support for shadow samplers.
authorEric Anholt <eric@anholt.net>
Wed, 10 Sep 2014 00:03:52 +0000 (17:03 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 10 Sep 2014 03:41:43 +0000 (20:41 -0700)
commitd64ca0a76524222257275f4da5d296e1178ee5b6
treebb7c5ae285abe274863f52ce56cdfb595dd653a2
parent7d5c57f8e9b35ce903737332c80b2f2a5fdaadde
vc4: Add support for shadow samplers.

This doesn't quite make depth-tex-compare work, presumably because we're
not hitting equality with itof(sample) * 1.0/0xffffff in the 0xffffff
case.  arb_fragment_program_shadow tests pass, though, as well as a bunch
of other shadow-related stuff.
src/gallium/drivers/vc4/vc4_program.c