Skip to content
Snippets Groups Projects
Commit d3f4f6b2 authored by Marek Olšák's avatar Marek Olšák
Browse files

radeonsi: fix a hang with DrawTransformFeedback on 4 SE chips


Cc: 10.6 10.5 <mesa-stable@lists.freedesktop.org>
Acked-by: default avatarChristian König <christain.koenig@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent ff0a41b5
No related branches found
No related tags found
No related merge requests found
......@@ -139,6 +139,10 @@ static unsigned si_get_ia_multi_vgt_param(struct si_context *sctx,
(info->indirect || info->instance_count > 1))
wd_switch_on_eop = true;
/* USE_OPAQUE doesn't work when WD_SWITCH_ON_EOP is 0. */
if (info->count_from_stream_output)
wd_switch_on_eop = true;
/* If the WD switch is false, the IA switch must be false too. */
assert(wd_switch_on_eop || !ia_switch_on_eop);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment