nir: remove unused param from nir_alu_src_copy()

Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24986>
This commit is contained in:
Timothy Arceri
2023-09-06 14:04:39 +10:00
committed by Marge Bot
parent 9b6eae2e67
commit 84e0f5ce75
8 changed files with 12 additions and 14 deletions

View File

@@ -492,7 +492,7 @@ construct_value(nir_builder *build,
assert(state->variables_seen & (1 << var->variable));
nir_alu_src val = { NIR_SRC_INIT };
nir_alu_src_copy(&val, &state->variables[var->variable], NULL);
nir_alu_src_copy(&val, &state->variables[var->variable]);
assert(!var->is_constant);
for (unsigned i = 0; i < NIR_MAX_VEC_COMPONENTS; i++)