glsl: add some error checks to the nir uniform linker
authorTimothy Arceri <tarceri@itsqueeze.com>
Mon, 17 Feb 2020 00:01:50 +0000 (11:01 +1100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 28 Feb 2020 23:48:46 +0000 (23:48 +0000)
commitad094433b4180ae5d9a33562a0982d399a0bb4bc
tree3156bad0ab271d1e8dd363aea9178f2c1423e63d
parent61dc9354c0c9b5dae3f6763c5141ff38e3e72816
glsl: add some error checks to the nir uniform linker

These are optional for spirv but it shouldnt hurt to enable them.

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