Skip to content

glsl: Make sure to not cast ir_dereference_variable into ir_variable

Corentin Noël requested to merge tintou/mesa:tintou/glsl-deref-var into main

What does this MR do and why?

The parameter_lists_match_exact function was wrongly assuming that all the elements were ir_variable when there can also be ir_dereference_variable elements.

Add case taking this into account.

Merge request reports