aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_schedule.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2020-01-07 14:54:26 -0600
committerMarge Bot <[email protected]>2020-01-13 17:23:47 +0000
commite40b11bbcb02dde1a8f989ca6545e22414c6f4ce (patch)
tree7b43b62263e3c856b4bc778de395002c3462a0d0 /src/compiler/nir/nir_schedule.c
parentbd3ab75aef95d062cedaa92504fede9887a2c370 (diff)
nir: Rename nir_intrinsic_barrier to control_barrier
This is a more explicit name now that we don't want it to be doing any memory barrier stuff for us. Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3307>
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);