glsl: error check max user assignable uniform locations
authorTimothy Arceri <tarceri@itsqueeze.com>
Thu, 5 Mar 2020 23:27:44 +0000 (10:27 +1100)
committerMarge Bot <eric+marge@anholt.net>
Sat, 18 Apr 2020 11:50:44 +0000 (11:50 +0000)
commit5dbebf49822ff3fb3bc3e6123bac30214c432b77
tree870c22e177e86833d517d487380afb26d34d4e54
parentc7355c4fb98cd052951f323b2dd241942000ac21
glsl: error check max user assignable uniform locations

This adds the error check to the NIR uniform linker.

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