Skip to content

nir: Only rematerialize comparisons with all SSA sources

Faith Ekstrand requested to merge gfxstrand/mesa:review/bug-111152 into master

Otherwise, you may end up moving a register read and that could result in an incorrect shader. This commit fixes a rendering issue in Elite: Dangerous.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111152 Fixes: 3ee2e84c "nir: Rematerialize compare instructions"

Merge request reports