Skip to content
Snippets Groups Projects
Commit fd3f846f authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig Committed by Eric Engestrom
Browse files

panfrost: Fix gl_FragColor lowering


The gl_FragColor lowering in the fragment shader depends on the number
of render targets, which can change every set_framebuffer_state.
set_framebuffer_state thus needs to force a rebind of the fragment
shader.

Fixes a regression in Piglit fbo-drawbuffers-none gl_FragColor -auto
-fbo from enabling AFBC on Mali G52.

Fixes: 28ac4d1e ("panfrost: Call nir_lower_fragcolor based on key")
Signed-off-by: default avatarAlyssa Rosenzweig <alyssa@collabora.com>
Part-of: <mesa/mesa!13498>
(cherry picked from commit e0335ad8)
parent ddcf4a13
No related branches found
Tags mesa-20.2.0-rc4
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment