freedreno/a6xx: don't set SP_FS_CTRL_REG0.VARYING for fragcoord
authorRob Clark <robdclark@chromium.org>
Thu, 30 Apr 2020 20:54:49 +0000 (13:54 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 30 Apr 2020 21:38:52 +0000 (21:38 +0000)
commitbeb02a781ca9a4918b7ac777aab65cc31338ee87
tree3242d41a31d330e50fc0d5d5920c1f4f5a2569bd
parent612e35c8d94241b07b32a6010ccd1a3edd473439
freedreno/a6xx: don't set SP_FS_CTRL_REG0.VARYING for fragcoord

Similar change to 5785bcc8a0ff9c5072c647337bf73f696c63cbe6.  It appears
on a6xx and in fact this could cause varying corruption before the FS
had a chance to consume the varyings from varying storage.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2838
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4838>
src/gallium/drivers/freedreno/a6xx/fd6_program.c