nir/lower_uniforms_to_ubo: Use nir_foreach_variable_with_modes
authorJason Ekstrand <jason@jlekstrand.net>
Tue, 21 Jul 2020 16:22:23 +0000 (11:22 -0500)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Jul 2020 17:38:58 +0000 (17:38 +0000)
commit90cf4709d92d4c693530ddf317067f5b53798424
tree4fc6b27b7452dd39e0f0051c7092e81a85f39d2a
parentd0d5ef6139880c683642958394de7b9d72f09544
nir/lower_uniforms_to_ubo: Use nir_foreach_variable_with_modes

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5966>
src/compiler/nir/nir_lower_uniforms_to_ubo.c