mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-23 22:40:34 +01:00
radeonsi: add a workaround for a DrawTransformFeedback issue on gfx11.5
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:
parent
d991810833
commit
4dafd2e787
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue