From 1f6c97f3580fd1f23ee20d40a9ed0b1de988638f Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 25 Feb 2025 12:47:20 -0500 Subject: [PATCH] zink: disable reordering on compute contexts in theory reordering shouldn't do anything here other than promote everything to the reorder cmdbuf, which is harder to debug Part-of: --- src/gallium/drivers/zink/zink_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/zink/zink_context.c b/src/gallium/drivers/zink/zink_context.c index 764a7bf5ed9..1ad028d7928 100644 --- a/src/gallium/drivers/zink/zink_context.c +++ b/src/gallium/drivers/zink/zink_context.c @@ -5615,7 +5615,7 @@ zink_context_create(struct pipe_screen *pscreen, void *priv, unsigned flags) zink_batch_rp(ctx); } - if (!is_compute_only && zink_debug & ZINK_DEBUG_NOREORDER) + if (is_compute_only || zink_debug & ZINK_DEBUG_NOREORDER) ctx->no_reorder = true; if (!(flags & PIPE_CONTEXT_PREFER_THREADED) || flags & PIPE_CONTEXT_COMPUTE_ONLY) {