Commit: 8e8c7873658fce54053a4623403b6eba97cf2989
Parent: fc91ba4a1c1d2b1833985ef4f65175293fd3933f
Author: Randy Palamar
Date: Thu, 24 Jul 2025 14:26:40 -0600
core: dispatch compute sync should be after pipeline planning
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/beamformer.c b/beamformer.c
@@ -940,8 +940,6 @@ complete_queue(BeamformerCtx *ctx, BeamformWorkQueue *q, Arena arena, iptr gl_co
DEBUG_DECL(work->kind = BeamformerWorkKind_ComputeIndirect;)
} /* FALLTHROUGH */
case BeamformerWorkKind_Compute:{
- post_sync_barrier(&ctx->shared_memory, work->lock, sm->locks);
-
push_compute_timing_info(ctx->compute_timing_table,
(ComputeTimingInfo){.kind = ComputeTimingInfoKind_ComputeFrameBegin});
@@ -959,6 +957,8 @@ complete_queue(BeamformerCtx *ctx, BeamformWorkQueue *q, Arena arena, iptr gl_co
#undef X
}
+ post_sync_barrier(&ctx->shared_memory, work->lock, sm->locks);
+
atomic_store_u32(&cs->processing_compute, 1);
start_renderdoc_capture(gl_context);