Skip to content

nir: fixing new .driver_locations to use num_inputs/num_outputs

Emma Anholt requested to merge anholt/mesa:nir-num-inputs-outputs into master

While fixing an issue in freedreno, I found that we had a shader->num_inputs and num_outputs that is supposed to have the last valid driver_location in it already, meaning we can clean up a bunch of dodgy "pick the next driver location" code.

Merge request reports

Loading