From: Nicolai Hähnle Date: Wed, 8 May 2019 00:54:01 +0000 (+0200) Subject: radeonsi/gfx10: allow rectangle outputs from NGG primitive shader X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3c1aeb834fc6ca826245020e871e0b1a89533411;p=mesa.git radeonsi/gfx10: allow rectangle outputs from NGG primitive shader 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 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));