glsl: small optimisation fix for uniform array resizing
authorTimothy Arceri <tarceri@itsqueeze.com>
Mon, 15 Jun 2020 04:25:21 +0000 (14:25 +1000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 17 Jun 2020 01:06:27 +0000 (01:06 +0000)
commit7e8e02d54324623cc7a34efe23e20f0a77a3d2f0
treefbb2fe5c702cd80dc966f5a1e1d2f262362237d0
parenta5d3e061af9451758479f97df97afd6351e7d117
glsl: small optimisation fix for uniform array resizing

The fix in the previous patch removed an erronous attempt to skip
resizing variable types in each stage. Now that has been removed
iterating over each shader stage is no longer required here.

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5487>
src/compiler/glsl/gl_nir_link_uniforms.c