summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_schedule.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/nir/nir_schedule.c')
-rw-r--r--src/compiler/nir/nir_schedule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_schedule.c b/src/compiler/nir/nir_schedule.c
index 0ad95a5bc89..8428f867ccc 100644
--- a/src/compiler/nir/nir_schedule.c
+++ b/src/compiler/nir/nir_schedule.c
@@ -347,7 +347,7 @@ nir_schedule_intrinsic_deps(nir_deps_state *state,
add_write_dep(state, &state->store_shared, n);
break;
- case nir_intrinsic_barrier:
+ case nir_intrinsic_control_barrier:
case nir_intrinsic_memory_barrier_shared:
add_write_dep(state, &state->store_shared, n);