From 86675a07f811280974e834c5164de60a315c8114 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Wed, 25 Nov 2020 10:42:46 -0500 Subject: [PATCH] radeonsi: don't check for GS fast launch for NOT_EOP in the indexed case GS fast launch always uses the non-indexed path. Acked-by: Pierre-Eric Pelloux-Prayer Part-of: --- src/gallium/drivers/radeonsi/si_state_draw.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_state_draw.c b/src/gallium/drivers/radeonsi/si_state_draw.c index 1700efa68f0..6aeac8328b2 100644 --- a/src/gallium/drivers/radeonsi/si_state_draw.c +++ b/src/gallium/drivers/radeonsi/si_state_draw.c @@ -1051,8 +1051,7 @@ static void si_emit_draw_packets(struct si_context *sctx, const struct pipe_draw */ S_0287F0_NOT_EOP(sctx->chip_class >= GFX10 && !set_draw_id && - i < num_draws - 1 && - !(sctx->ngg_culling & SI_NGG_CULL_GS_FAST_LAUNCH_ALL))); + i < num_draws - 1)); } } else { /* Set the index buffer for fast launch. The VS prolog will load the indices. */