nir: Drop more instances of nir_ssa_dest_init()
authorFaith Ekstrand <faith.ekstrand@collabora.com>
Sun, 13 Aug 2023 00:01:17 +0000 (19:01 -0500)
committerMarge Bot <emma+marge@anholt.net>
Sun, 13 Aug 2023 17:12:52 +0000 (17:12 +0000)
commitd2c4749986c5fc7d4eccb738ef4f3bdad036a1a8
tree8a8c53e3f2bf41a570b80c05a21bccf509a1e5f8
parented9affa02fe88ad45d6ef17aea2948703f4b6ad6
nir: Drop more instances of nir_ssa_dest_init()

Catching the cases that Coccinelle missed.  Mostly in C++ files using
gtest which causes Coccinelle to just give up and walk away.

Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24658>
12 files changed:
src/asahi/compiler/agx_nir_lower_load_mask.c
src/compiler/glsl/glsl_to_nir.cpp
src/compiler/nir/nir_builder.h
src/compiler/nir/nir_builder_opcodes_h.py
src/compiler/nir/tests/load_store_vectorizer_tests.cpp
src/compiler/nir/tests/opt_if_tests.cpp
src/compiler/nir/tests/opt_shrink_vectors_tests.cpp
src/compiler/nir/tests/range_analysis_tests.cpp
src/gallium/drivers/r600/sfn/sfn_instr_tex.cpp
src/gallium/drivers/r600/sfn/sfn_nir_lower_64bit.cpp
src/gallium/drivers/r600/sfn/sfn_nir_lower_tess_io.cpp
src/intel/blorp/blorp_nir_builder.h