radeonsi/gfx10: allow rectangle outputs from NGG primitive shader
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 8 May 2019 00:54:01 +0000 (02:54 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 3 Jul 2019 19:51:12 +0000 (15:51 -0400)
Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/gallium/drivers/radeonsi/si_state_draw.c

index 3d2a4d72891681c27ab807e97a80353d0851772d..b5540cb183128ef7da11f0204d21485ed3138416 100644 (file)
@@ -567,6 +567,7 @@ static unsigned si_conv_prim_to_gs_out(unsigned mode)
                [PIPE_PRIM_TRIANGLES_ADJACENCY]         = V_028A6C_OUTPRIM_TYPE_TRISTRIP,
                [PIPE_PRIM_TRIANGLE_STRIP_ADJACENCY]    = V_028A6C_OUTPRIM_TYPE_TRISTRIP,
                [PIPE_PRIM_PATCHES]                     = V_028A6C_OUTPRIM_TYPE_POINTLIST,
+               [SI_PRIM_RECTANGLE_LIST]                = V_028A6C_VGT_OUT_RECT_V0,
        };
        assert(mode < ARRAY_SIZE(prim_conv));