glsl: fix resizing of the uniform remap table
authorTimothy Arceri <tarceri@itsqueeze.com>
Thu, 6 Feb 2020 01:49:10 +0000 (12:49 +1100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 28 Feb 2020 23:48:46 +0000 (23:48 +0000)
commite0aa0a839f9c168784a1f50013c83877cc876094
tree4e8f8c8eeb35e8394a99ba79a93985489e8f54be
parent190a1ed170231d6f1db0526a1867a6766ccd4823
glsl: fix resizing of the uniform remap table

In the NIR linker we were not resizing the remap table correctly
for explicit locations when it was needed.

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