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: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33777>
This commit is contained in:
Mike Blumenkrantz
2025-02-25 12:47:20 -05:00
committed by Marge Bot
parent 5f177018f7
commit 1f6c97f358

View File

@@ -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) {