nir/nir_lower_wpos_center: Use the nir_shader_instructions_pass() helper
authorThomas H.P. Andersen <phomes@gmail.com>
Thu, 1 Jul 2021 16:02:37 +0000 (18:02 +0200)
committerMarge Bot <emma+marge@anholt.net>
Sat, 22 Apr 2023 23:35:36 +0000 (23:35 +0000)
commitecab220c501dbf12c3b920948cd5c3c077fc35e7
tree395268caab14d261a5722936b6f48c8650733e73
parent133e7ba571d2441ebf34bada6fbe9d91b14a23f1
nir/nir_lower_wpos_center: Use the nir_shader_instructions_pass() helper

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11683>
src/compiler/nir/nir_lower_wpos_center.c