Skip to content

freedreno/ir3: fix vertex shader sysvals with pre_assign_inputs

Jonathan Marek requested to merge flto/mesa:turnip-ir3 into master

The first pre_assign_inputs loop doesn't pre-assign sysvals, so skip the second part for sysvals.

The sysvals don't need to be pre-assigned since the state for those isn't shared between binning / nonbinning shaders.

Fixes assert failures in cases where the sysvals didn't end up in the same registers for binning / nonbinning.

Merge request reports