radeonsi: add a workaround for a DrawTransformFeedback issue on gfx11.5
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35344>
This commit is contained in:
Marek Olšák 2025-04-14 12:31:57 -04:00 committed by Marge Bot
parent d991810833
commit 4dafd2e787

View file

@ -1677,7 +1677,7 @@ static void si_emit_draw_packets(struct si_context *sctx, const struct pipe_draw
}
}
} else {
if (GFX_VERSION == GFX12 && !IS_DRAW_VERTEX_STATE &&
if ((GFX_VERSION == GFX11_5 || GFX_VERSION == GFX12) && !IS_DRAW_VERTEX_STATE &&
indirect && indirect->count_from_stream_output) {
/* DrawTransformFeedback requires 3 SQ_NON_EVENTs after the packet. */
assert(num_draws == 1);