nir/lower_vec_to_movs: Convert to use nir_shader_instructions_pass().
authorEric Anholt <eric@anholt.net>
Thu, 20 Aug 2020 18:51:13 +0000 (11:51 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 27 Aug 2020 23:01:52 +0000 (23:01 +0000)
commite5d4bbd840622d43c25cf125aad2440abda3ccdc
treec3e2e7d39241ffa36dbaa69e947a26d1f3d7021a
parenta62098fff202f5e6c689aa6e78ace67c50f17c8e
nir/lower_vec_to_movs: Convert to use nir_shader_instructions_pass().

Less pass code, less indenting, should be the same perf.

Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6412>
src/compiler/nir/nir_lower_vec_to_movs.c