glsl: remove some duplicate code from the nir uniform linker
authorTimothy Arceri <tarceri@itsqueeze.com>
Thu, 23 Apr 2020 06:18:59 +0000 (16:18 +1000)
committerMarge Bot <eric+marge@anholt.net>
Fri, 24 Apr 2020 08:31:01 +0000 (08:31 +0000)
commit58b8fbb824f22ed7009747bdab23b919966a8d7a
tree6a39b64034587f9973d933ff481b5f2ddd54d212
parentffbec55072ed952db034779e3d0505a61c833397
glsl: remove some duplicate code from the nir uniform linker

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