mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 13:30:12 +01:00
radeonsi: handle count_from_stream_output in a few IA_MULTI_VGT_PARAM cases
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
a0740d59aa
commit
eba9e9dd1d
1 changed files with 4 additions and 2 deletions
|
|
@ -432,7 +432,8 @@ static unsigned si_get_ia_multi_vgt_param(struct si_context *sctx,
|
|||
key.u.multi_instances_smaller_than_primgroup =
|
||||
info->indirect ||
|
||||
(info->instance_count > 1 &&
|
||||
si_num_prims_for_vertices(info) < primgroup_size);
|
||||
(info->count_from_stream_output ||
|
||||
si_num_prims_for_vertices(info) < primgroup_size));
|
||||
key.u.primitive_restart = info->primitive_restart;
|
||||
key.u.count_from_stream_output = info->count_from_stream_output != NULL;
|
||||
|
||||
|
|
@ -452,7 +453,8 @@ static unsigned si_get_ia_multi_vgt_param(struct si_context *sctx,
|
|||
G_028AA8_SWITCH_ON_EOI(ia_multi_vgt_param) &&
|
||||
(info->indirect ||
|
||||
(info->instance_count > 1 &&
|
||||
si_num_prims_for_vertices(info) <= 1)))
|
||||
(info->count_from_stream_output ||
|
||||
si_num_prims_for_vertices(info) <= 1))))
|
||||
sctx->b.flags |= SI_CONTEXT_VGT_FLUSH;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue