vc4: Add support for gl_FragCoord.
authorEric Anholt <eric@anholt.net>
Tue, 5 Aug 2014 21:24:29 +0000 (14:24 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 11 Aug 2014 21:47:54 +0000 (14:47 -0700)
commite63598aecb5d1cc2a20b8db1ef85790e301f4241
tree68820ed5b8b2e61a97f5ce1eac2c495ca1ea922d
parentd34fbdda120b2b0e0a33a4a18fa112e58f8a2f4a
vc4: Add support for gl_FragCoord.

This isn't passing all tests (glsl-fs-fragcoord-zw-ortho, for example),
but it does get a bunch more tests passing.

v2: Rebase on helpers change.
src/gallium/drivers/vc4/vc4_program.c
src/gallium/drivers/vc4/vc4_qir.c
src/gallium/drivers/vc4/vc4_qir.h
src/gallium/drivers/vc4/vc4_qpu_emit.c
src/gallium/drivers/vc4/vc4_screen.c