Skip to content

compiler/nir: check whether var is an input in lower_fragcoord_wtrans

Gert Wollny requested to merge gerddie/mesa:nir-fix-lower-fracoord-wtrans into main

Otherwise the lowering pass might try to lower any other deref_load if the deref var happens to have var.data.location == 0.

Fixes: 418c4c0d compiler/nir: extend lower_fragcoord_wtrans to support VARYING_SLOT_POS

Merge request reports