a5xx: fix condition for updating *_FS_OUTPUT_CNTL
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 9 Jul 2017 22:06:25 +0000 (18:06 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sun, 9 Jul 2017 22:36:13 +0000 (18:36 -0400)
commit6c7b7aa3d8323a7cde5ab2b84fabc16913adeab4
tree3f085a01fd4b3703dd01a81510d9a1c8534650b6
parent7b5f2e00706899e26aaa78e595e21522ccba9c5c
a5xx: fix condition for updating *_FS_OUTPUT_CNTL

The register values depend on the currently set program, so make sure to
revalidate when the program changes.

Fixes glsl-1.10-fragdepth as well as
dEQP-GLES3.functional.shaders.fragdepth.compare.*

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a5xx/fd5_emit.c