Skip to content

aco: set constant_data_offset correctly in the case of merged shaders

Rhys Perry requested to merge pendingchaos/mesa:aco_mafia3 into master

setup_nir() is done for all shaders before any of them are selected, so constant_data_offset could be incorrect for the first shader.

Fixes incorrect geometry in Mafia III demo.

Merge request reports