freedreno/ir3: Copy vars if needed on EndPrimitive()
authorRob Clark <robdclark@chromium.org>
Fri, 1 Jul 2022 23:37:08 +0000 (16:37 -0700)
committerMarge Bot <emma+marge@anholt.net>
Fri, 8 Jul 2022 20:32:35 +0000 (20:32 +0000)
commitff22be1110ab7bef626b5f6948ca423cf741bb2d
tree2f824d878299e085b66843c787c5852464c66514
parent1fdddb142480ed8045c709a3b7d3cfd2c9631de2
freedreno/ir3: Copy vars if needed on EndPrimitive()

If we didn't EmitPrimitive() then the shadow (old) outputs would not
get copied to the emit temps (to eventually be copied back to the real
outputs.  This isn't so bad except that means the realy vertex_flags
output has an undefined value.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17341>
src/freedreno/ci/freedreno-a630-fails.txt
src/freedreno/ir3/ir3_nir_lower_tess.c