glsl: dont try to assign uniform storage for uniform blocks
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 28 Jan 2020 04:18:14 +0000 (15:18 +1100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 6 Mar 2020 23:22:14 +0000 (23:22 +0000)
commitb1bc24f826f4d08f22efd26f067621de84a100f0
treecda89ce13eefbcf993974db04b0a47476ab488d1
parent576b5ace9e2e90803d1c6b9f1b1728b1e5e8c4ed
glsl: dont try to assign uniform storage for uniform blocks

Fixes a crash in some shaders.

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