Skip to content

st/nir: Keep stages inputs/outputs unified after nir_shader_gather_info

Yevhenii Kharchenko requested to merge fix/4450-overwritten-stage-matching into master

'nir_shader_gather_info' call added to 'st_create_vp_variant' function in 8a0dd0af, and used for non-VS shader stages since 6864ff35, to consider added varyings, after possible lowerings applied. This overwrites 'inputs_read' after they were already unified with outputs of previous stage.

Fix this by unifying inputs/outputs of each stage once again.

Fixes: Closes:

Signed-off-by: Yevhenii Kharchenko yevhenii.kharchenko@globallogic.com

Edited by Yevhenii Kharchenko

Merge request reports