From 9ea3d7c3931bd43b3443f2b2c5d519a336cdd472 Mon Sep 17 00:00:00 2001 From: Connor Abbott Date: Tue, 27 May 2025 10:39:26 -0400 Subject: [PATCH] tu/cs: Allow conditional execution in substreams This should work perfectly fine for all modes. The only caveat is that re-emitting the condition won't happen, but that's fine. Part-of: --- src/freedreno/vulkan/tu_cs.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/freedreno/vulkan/tu_cs.h b/src/freedreno/vulkan/tu_cs.h index 084993601cc..320ddec5a32 100644 --- a/src/freedreno/vulkan/tu_cs.h +++ b/src/freedreno/vulkan/tu_cs.h @@ -447,7 +447,6 @@ tu_cs_trace_end(struct u_trace_context *utctx, void *cs, const char *fmt, ...); static inline void tu_cond_exec_start(struct tu_cs *cs, uint32_t cond_flags) { - assert(cs->mode == TU_CS_MODE_GROW); assert(cs->cond_stack_depth < TU_COND_EXEC_STACK_SIZE); ASSERTED enum compare_mode mode =