Skip to content

glsl: Ensure that we are dealing with ir_variable and ir_rvalue

Corentin Noël requested to merge tintou/mesa:tintou/glsl_to_nir_safer_cast into main

What does this MR do and why?

Use the built-in function from ir_instruction to make sure that we are actually
not casting to anther type by mistake.

Merge request reports