nir/legalize_16bit_sampler_srcs: Use instr_pass
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Tue, 5 Sep 2023 21:27:17 +0000 (17:27 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 12 Oct 2023 21:03:31 +0000 (21:03 +0000)
commit6d0efa8701d1f9e296a9c12a7eddafdd3a2ff81f
treec8a19dd07d2ca2dd2035018783180e0d9b2e915a
parentb1b7616418ad1f032e6c7acb158ae247ae90c7f7
nir/legalize_16bit_sampler_srcs: Use instr_pass

Fixes the pass with multiple functions.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25625>
src/compiler/nir/nir_lower_mediump.c