glsl: fix gl_nir_set_uniform_initializers() for bindless textures
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 24 Mar 2020 03:17:35 +0000 (14:17 +1100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 21 Apr 2020 01:57:34 +0000 (01:57 +0000)
commit0f79e0f7c62d4ac34e6a4a827b5433402cf7c223
tree0e5783d8ef95e449caff55e9a33a1417f0441369
parent954644022771f45b1e6f719cab399a949a3fbb22
glsl: fix gl_nir_set_uniform_initializers() for bindless textures

We need to skip opaque variables inside blocks, this is handled
elsewhere and will cause a crash here.

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4395>
src/compiler/glsl/gl_nir_link_uniform_initializers.c