nir/gl_nir_linker: Use nir_foreach_variable_with_modes
authorJason Ekstrand <jason@jlekstrand.net>
Tue, 21 Jul 2020 16:54:19 +0000 (11:54 -0500)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Jul 2020 17:38:58 +0000 (17:38 +0000)
commit77c41ce04bf9b218743477369394edb920592b97
tree124ecbb0b76e0dc1146d5eb20f1a5016e3ff9791
parentc256cd900e71a44490ed8a248ebc0c7f1abc38c5
nir/gl_nir_linker: Use nir_foreach_variable_with_modes

Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5966>
src/compiler/glsl/gl_nir_linker.c