st,zink,sfn: Use nir_foreach_def instead of nir_foreach_dest
authorFaith Ekstrand <faith.ekstrand@collabora.com>
Sun, 13 Aug 2023 00:18:51 +0000 (19:18 -0500)
committerMarge Bot <emma+marge@anholt.net>
Sun, 13 Aug 2023 17:12:52 +0000 (17:12 +0000)
commit369270906b77e83acaf35225104e5af25d72a3bc
treeb8f23edbe82251b3a9cc1b5413695ab0a2b35782
parent6203750d78c580d18eec1493dc0631dbf1335884
st,zink,sfn: Use nir_foreach_def instead of nir_foreach_dest

It's basically the same code in all three.

Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24658>
src/gallium/drivers/r600/sfn/sfn_instr_alu.cpp
src/gallium/drivers/zink/zink_compiler.c
src/mesa/state_tracker/st_glsl_to_nir.cpp