freedreno/a5xx: Don't set the VARYING flag for fragcoord-only programs.
authorEric Anholt <eric@anholt.net>
Tue, 25 Aug 2020 21:55:22 +0000 (14:55 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 26 Aug 2020 00:01:50 +0000 (00:01 +0000)
commit15bdbf34c4f3303f4eb7b7de7c1217cbdbfa704f
treeb1d112f915742c1f172bac245dac8fb3703fd5b1
parent36bd3e986830bbf7435389cdd68e593b8b43f234
freedreno/a5xx: Don't set the VARYING flag for fragcoord-only programs.

As with a6xx (commits beb02a785785bcc8), the blob doesn't set this flag
for a5xx when fragcoords are used but not proper varyings.  See for
example dEQP-GLES2.functional.shaders.builtin_variable.fragcoord_xyz.

The hope was that this would clear up separate_shader fails/flakes like it
helped with a6xx's flakes, but that didn't happen.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6464>
src/gallium/drivers/freedreno/a5xx/fd5_program.c