vc4: Use the same method as for FRAG_Z to handle fragcoord W.
authorEric Anholt <eric@anholt.net>
Fri, 19 Sep 2014 17:06:49 +0000 (10:06 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 19 Sep 2014 18:09:04 +0000 (11:09 -0700)
commitdcd03e74768bb4ba55b5742250f3ed15771b6f66
treedc9b0ec1e5166452e45bb1c606da2ebc6cb435ee
parentf2c39dd0e19e83dac922878b00a4b871c839b609
vc4: Use the same method as for FRAG_Z to handle fragcoord W.

I need to get the non-reciprocal version of W for interpolation, anyway.
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_register_allocate.c