Skip to content

nir: fix assign_io_var_locations for vertex inputs

Jonathan Marek requested to merge flto/mesa:nir into master

turnip uses assign_io_var_locations on vertex shader inputs and needs this fix.

Also fixes fragment inputs using the wrong "base" value (which was working only because FRAG_RESULT_DATA0 is less than VARYING_SLOT_VAR0)

Edited by Jonathan Marek

Merge request reports