diff options
author | Jason Ekstrand <[email protected]> | 2020-01-07 14:54:26 -0600 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-01-13 17:23:47 +0000 |
commit | e40b11bbcb02dde1a8f989ca6545e22414c6f4ce (patch) | |
tree | 7b43b62263e3c856b4bc778de395002c3462a0d0 /src/amd/compiler | |
parent | bd3ab75aef95d062cedaa92504fede9887a2c370 (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/amd/compiler')
-rw-r--r-- | src/amd/compiler/aco_instruction_selection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/compiler/aco_instruction_selection.cpp b/src/amd/compiler/aco_instruction_selection.cpp index 29dea6e6cd3..a106631b4c1 100644 --- a/src/amd/compiler/aco_instruction_selection.cpp +++ b/src/amd/compiler/aco_instruction_selection.cpp @@ -5714,7 +5714,7 @@ void visit_intrinsic(isel_context *ctx, nir_intrinsic_instr *instr) case nir_intrinsic_get_buffer_size: visit_get_buffer_size(ctx, instr); break; - case nir_intrinsic_barrier: { + case nir_intrinsic_control_barrier: { unsigned* bsize = ctx->program->info->cs.block_size; unsigned workgroup_size = bsize[0] * bsize[1] * bsize[2]; if (workgroup_size > ctx->program->wave_size) |