Skip to content

nir: fix nir_shader_get_function_for_name for functions without names.

Karol Herbst requested to merge karolherbst/mesa:fix/mr/18675 into main

It's legal in SPIRV for functions to not have names, we have to take this into account when calling into strcmp here.

Fixes: 2aa9eb49 ("nir: Add a helper for finding a function by name")

Merge request reports