vc4: Fix scaling W projection of the Z coordinate when there's a Z offset.
authorEric Anholt <eric@anholt.net>
Tue, 6 Jan 2015 19:30:19 +0000 (11:30 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 7 Jan 2015 01:22:13 +0000 (17:22 -0800)
commit426fd535d9e2812c52dd709f8e5532bae501b3f6
tree82a9ec73f8e28e94096e12bf195dd82bf3efbd65
parent49b5c901e88810946dcbf1a596fbe79c507c3214
vc4: Fix scaling W projection of the Z coordinate when there's a Z offset.

Fixes piglit glsl-fs-fragcoord-zw-perspective, es3conform
gl_FragCoord_z_frag, and the rest of the piglit glsl 1.10 interpolation
tests.
src/gallium/drivers/vc4/vc4_program.c