aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_opt_dead_write_vars.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/nir/nir_opt_dead_write_vars.c')
-rw-r--r--src/compiler/nir/nir_opt_dead_write_vars.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_opt_dead_write_vars.c b/src/compiler/nir/nir_opt_dead_write_vars.c
index d8411e3cad9..01f3ce4a975 100644
--- a/src/compiler/nir/nir_opt_dead_write_vars.c
+++ b/src/compiler/nir/nir_opt_dead_write_vars.c
@@ -120,7 +120,7 @@ remove_dead_write_vars_local(void *mem_ctx, nir_block *block)
if (instr->type == nir_instr_type_call) {
clear_unused_for_modes(&unused_writes, nir_var_shader_out |
nir_var_shader_temp |
- nir_var_function |
+ nir_var_function_temp |
nir_var_ssbo |
nir_var_shared);
continue;