diff --git a/src/panfrost/compiler/bifrost_compile.c b/src/panfrost/compiler/bifrost_compile.c index 2de6a9bbdd0..fefbbe526c6 100644 --- a/src/panfrost/compiler/bifrost_compile.c +++ b/src/panfrost/compiler/bifrost_compile.c @@ -2104,7 +2104,7 @@ bi_emit_intrinsic(bi_builder *b, nir_intrinsic_instr *instr) break; case SCOPE_WORKGROUP: - assert(b->shader->stage == MESA_SHADER_COMPUTE); + assert(gl_shader_stage_is_compute(b->shader->stage)); bi_barrier(b); /* * Blob doesn't seem to do anything for memory barriers, so no need to