From: Marek Olšák Date: Wed, 29 May 2019 02:06:52 +0000 (-0400) Subject: radeonsi/gfx10: don't use the GS workaround for triangle strips w/ adjancency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b90ddff4774485ab7fdea35f20e521bd6c7af695;p=mesa.git radeonsi/gfx10: don't use the GS workaround for triangle strips w/ adjancency Acked-by: Bas Nieuwenhuizen --- diff --git a/src/gallium/drivers/radeonsi/si_state_draw.c b/src/gallium/drivers/radeonsi/si_state_draw.c index ce63584d456..b6183a3203e 100644 --- a/src/gallium/drivers/radeonsi/si_state_draw.c +++ b/src/gallium/drivers/radeonsi/si_state_draw.c @@ -1802,7 +1802,7 @@ static void si_draw_vbo(struct pipe_context *ctx, const struct pipe_draw_info *i } } - if (sctx->gs_shader.cso) { + if (sctx->chip_class <= GFX9 && sctx->gs_shader.cso) { /* Determine whether the GS triangle strip adjacency fix should * be applied. Rotate every other triangle if * - triangle strips with adjacency are fed to the GS and