radeonsi/gfx10: don't use the GS workaround for triangle strips w/ adjancency
authorMarek Olšák <marek.olsak@amd.com>
Wed, 29 May 2019 02:06:52 +0000 (22:06 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 3 Jul 2019 19:51:13 +0000 (15:51 -0400)
Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/gallium/drivers/radeonsi/si_state_draw.c

index ce63584d45690e22b1b55db1eb3e504645636e57..b6183a3203e8e1f0b1c2265a3812994f1c828ddc 100644 (file)
@@ -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