Skip to content

pan/midgard: Fix recursive csel scheduling

Alyssa Rosenzweig requested to merge alyssa/mesa:just-csel into master

Corner case causing invalid scheduling on shaders with nested csels, i.e. GLSL code resembling:

(foo ? bool1 : bool2) ? x : y

By explicitly disallowing csels this is fixed.

Fixes INSTR_INVALID_ENC on a glamor shader (noticeable with slowdown and visual corruption when scrolling "too far" on GTK apps).

Signed-off-by: Alyssa Rosenzweig alyssa.rosenzweig@collabora.com

Merge request reports