mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 11:38:05 +02:00
radeonsi: rearrange condition for streamout workaround on gfx7 and gfx8
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8548>
This commit is contained in:
parent
eb22bd2072
commit
4088b6f293
1 changed files with 2 additions and 2 deletions
|
|
@ -2115,8 +2115,8 @@ static void si_draw_vbo(struct pipe_context *ctx,
|
|||
|
||||
/* Workaround for a VGT hang when streamout is enabled.
|
||||
* It must be done after drawing. */
|
||||
if ((GFX_VERSION == GFX7 || GFX_VERSION == GFX8) &&
|
||||
(sctx->family == CHIP_HAWAII || sctx->family == CHIP_TONGA || sctx->family == CHIP_FIJI) &&
|
||||
if (((GFX_VERSION == GFX7 && sctx->family == CHIP_HAWAII) ||
|
||||
(GFX_VERSION == GFX8 && (sctx->family == CHIP_TONGA || sctx->family == CHIP_FIJI))) &&
|
||||
si_get_strmout_en(sctx)) {
|
||||
sctx->flags |= SI_CONTEXT_VGT_STREAMOUT_SYNC;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue