summaryrefslogtreecommitdiff
path: root/src/intel/blorp/blorp_nir_builder.h
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>2023-05-17 09:08:22 -0400
committerMarge Bot <emma+marge@anholt.net>2023-05-17 23:46:16 +0000
commit01e9ee79f70e9047fd37796416165c5174d8c70f (patch)
tree3d6a139918e98ce3af2c1af42b1f0724dbb4c6ae /src/intel/blorp/blorp_nir_builder.h
parent7adf6c75efa215d59d466800ddd7a90065157d8b (diff)
downloadmesa-01e9ee79f70e9047fd37796416165c5174d8c70f.tar.gz
nir: Drop unused name from nir_ssa_dest_init
Since 624e799cc34 ("nir: Drop nir_ssa_def::name and nir_register::name"), SSA defs don't have names, making the name argument unused. Drop it from the signature and fix the call sites. This was done with the help of the following Coccinelle semantic patch: @@ expression A, B, C, D, E; @@ -nir_ssa_dest_init(A, B, C, D, E); +nir_ssa_dest_init(A, B, C, D); Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23078>
Diffstat (limited to 'src/intel/blorp/blorp_nir_builder.h')
-rw-r--r--src/intel/blorp/blorp_nir_builder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/blorp/blorp_nir_builder.h b/src/intel/blorp/blorp_nir_builder.h
index ea3a893ed8c..fe78c13a544 100644
--- a/src/intel/blorp/blorp_nir_builder.h
+++ b/src/intel/blorp/blorp_nir_builder.h
@@ -62,7 +62,7 @@ blorp_nir_txf_ms_mcs(nir_builder *b, nir_ssa_def *xy_pos, nir_ssa_def *layer)
tex->texture_index = 0;
tex->sampler_index = 0;
- nir_ssa_dest_init(&tex->instr, &tex->dest, 4, 32, NULL);
+ nir_ssa_dest_init(&tex->instr, &tex->dest, 4, 32);
nir_builder_instr_insert(b, &tex->instr);
return &tex->dest.ssa;