zink: disable command reordering for compute-only contexts

this is pointless

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28880>
This commit is contained in:
Mike Blumenkrantz 2024-04-23 11:30:22 -04:00 committed by Marge Bot
parent ffb082f811
commit 3a868970a2

View file

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