From 3c1aeb834fc6ca826245020e871e0b1a89533411 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nicolai=20H=C3=A4hnle?= Date: Wed, 8 May 2019 02:54:01 +0200 Subject: [PATCH] radeonsi/gfx10: allow rectangle outputs from NGG primitive shader Acked-by: Bas Nieuwenhuizen --- src/gallium/drivers/radeonsi/si_state_draw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/radeonsi/si_state_draw.c b/src/gallium/drivers/radeonsi/si_state_draw.c index 3d2a4d72891..b5540cb1831 100644 --- a/src/gallium/drivers/radeonsi/si_state_draw.c +++ b/src/gallium/drivers/radeonsi/si_state_draw.c @@ -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)); -- 2.30.2