It's legal in SPIRV for functions to not have names, we have to take this into account when calling into strcmp here. Fixes:2aa9eb497d("nir: Add a helper for finding a function by name") Signed-off-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29063> (cherry picked from commit569c2fcf95)