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: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36590>
This commit is contained in:
Connor Abbott 2025-05-27 10:39:26 -04:00 committed by Marge Bot
parent f12db79c5a
commit 9ea3d7c393

View file

@ -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 =