mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 12:30:09 +01:00
radeonsi: allow instance_count == 0 on chips that handle it correctly
Let's remove this overhead. Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8600>
This commit is contained in:
parent
76d6351dab
commit
bc0508ad38
1 changed files with 1 additions and 1 deletions
|
|
@ -1631,7 +1631,7 @@ static void si_draw_vbo(struct pipe_context *ctx,
|
|||
* no workaround for indirect draws, but we can at least skip
|
||||
* direct draws.
|
||||
*/
|
||||
if (unlikely(!indirect && !instance_count))
|
||||
if (GFX_VERSION <= GFX7 && unlikely(!indirect && !instance_count))
|
||||
return;
|
||||
|
||||
struct si_shader_selector *vs = sctx->vs_shader.cso;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue