From 3a868970a20944b77988b3bed28cb9af2d02620a Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 23 Apr 2024 11:30:22 -0400 Subject: [PATCH] zink: disable command reordering for compute-only contexts this is pointless 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 a49d406df72..7a7540c2682 100644 --- a/src/gallium/drivers/zink/zink_context.c +++ b/src/gallium/drivers/zink/zink_context.c @@ -5632,7 +5632,7 @@ zink_context_create(struct pipe_screen *pscreen, void *priv, unsigned flags) zink_batch_rp(ctx); } - if (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) {