mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
radeonsi/gfx11: skip si_set_streamout_enable because it has no effect
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26307>
This commit is contained in:
parent
bf7debee82
commit
2022854360
1 changed files with 5 additions and 3 deletions
|
|
@ -359,6 +359,9 @@ static void si_emit_streamout_enable(struct si_context *sctx, unsigned index)
|
|||
|
||||
static void si_set_streamout_enable(struct si_context *sctx, bool enable)
|
||||
{
|
||||
if (sctx->gfx_level >= GFX11)
|
||||
return;
|
||||
|
||||
bool old_strmout_en = si_get_strmout_en(sctx);
|
||||
unsigned old_hw_enabled_mask = sctx->streamout.hw_enabled_mask;
|
||||
|
||||
|
|
@ -368,9 +371,8 @@ static void si_set_streamout_enable(struct si_context *sctx, bool enable)
|
|||
sctx->streamout.enabled_mask | (sctx->streamout.enabled_mask << 4) |
|
||||
(sctx->streamout.enabled_mask << 8) | (sctx->streamout.enabled_mask << 12);
|
||||
|
||||
if (sctx->gfx_level < GFX11 &&
|
||||
((old_strmout_en != si_get_strmout_en(sctx)) ||
|
||||
(old_hw_enabled_mask != sctx->streamout.hw_enabled_mask)))
|
||||
if ((old_strmout_en != si_get_strmout_en(sctx)) ||
|
||||
(old_hw_enabled_mask != sctx->streamout.hw_enabled_mask))
|
||||
si_mark_atom_dirty(sctx, &sctx->atoms.s.streamout_enable);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue