freedreno/a6xx: Fix point coord
authorKristian H. Kristensen <hoegsberg@chromium.org>
Tue, 12 Feb 2019 18:17:55 +0000 (10:17 -0800)
committerKristian H. Kristensen <hoegsberg@chromium.org>
Wed, 13 Feb 2019 19:14:06 +0000 (11:14 -0800)
commit0a41ddbd4ecc5b0e01da523e2fe68255e277834d
tree3da112eeafae93ca9b49bd414106b2939a02eabc
parent2fbd2d5f58265bf83c0ddb123fe31463b546a4f6
freedreno/a6xx: Fix point coord

Use ir3_next_varying() for iterating through varyings and unset the
global point coord invert bit.

Fixes:

  dEQP-GLES3.functional.shaders.builtin_variable.pointcoord

Signed-off-by: Kristian H. Kristensen <hoegsberg@chromium.org>
src/gallium/drivers/freedreno/a6xx/fd6_emit.c
src/gallium/drivers/freedreno/a6xx/fd6_program.c
src/gallium/drivers/freedreno/a6xx/fd6_program.h