From cb0f4b8146fac1429a97ad341f45e405ff8adc7b Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Wed, 1 Mar 2023 14:49:16 -0500 Subject: [PATCH] pan/bi: Drop control_barrier handling Now unreachable. Signed-off-by: Alyssa Rosenzweig Reviewed-by: Emma Anholt Reviewed-by: Caio Oliveira Reviewed-by: Kenneth Graunke Part-of: --- src/panfrost/compiler/bifrost_compile.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/panfrost/compiler/bifrost_compile.c b/src/panfrost/compiler/bifrost_compile.c index 30ff3d6c2aa..60553226d29 100644 --- a/src/panfrost/compiler/bifrost_compile.c +++ b/src/panfrost/compiler/bifrost_compile.c @@ -1640,11 +1640,6 @@ bi_emit_intrinsic(bi_builder *b, nir_intrinsic_instr *instr) bi_emit_store(b, instr, BI_SEG_WLS); break; - case nir_intrinsic_control_barrier: - assert(b->shader->stage != MESA_SHADER_FRAGMENT); - bi_barrier(b); - break; - case nir_intrinsic_scoped_barrier: if (nir_intrinsic_execution_scope(instr) != NIR_SCOPE_NONE) { assert(b->shader->stage != MESA_SHADER_FRAGMENT);