Skip to content

radv: Gather shader IO info from NIR IO semantics and not from variables, part 1

Timur Kristóf requested to merge Venemo/mesa:radv_io_info_from_semantics into main

Change radv_nir_shader_info_pass so that it relies on NIR IO semantics instead of IO variables. This is because some passes that work on explicit IO (such as nir_opt_varyings and possibly others) completely ignore IO variables and work on the explicit IO intrinsics directly, causing the variable information to be out of sync with what happens inside the shader.

Doing the same for FS inputs is more complicated and I will do that in another MR.

Edited by Timur Kristóf

Merge request reports