From: Bas Nieuwenhuizen Date: Sat, 6 Jul 2019 10:30:31 +0000 (+0200) Subject: radv/gfx10: Use GS rectlist when needed. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=817bd0cc2e5ec9b3716f528c84c03218735e2f07;p=mesa.git radv/gfx10: Use GS rectlist when needed. Reviewed-by: Samuel Pitoiset --- diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c index cc5f339f34f..69acfdaec7d 100644 --- a/src/amd/vulkan/radv_pipeline.c +++ b/src/amd/vulkan/radv_pipeline.c @@ -4164,6 +4164,8 @@ radv_pipeline_init(struct radv_pipeline *pipeline, prim = V_008958_DI_PT_RECTLIST; gs_out = V_028A6C_OUTPRIM_TYPE_TRISTRIP; pipeline->graphics.can_use_guardband = true; + if (radv_pipeline_has_ngg(pipeline)) + gs_out = V_028A6C_VGT_OUT_RECT_V0; } pipeline->graphics.prim_restart_enable = !!pCreateInfo->pInputAssemblyState->primitiveRestartEnable; /* prim vertex count will need TESS changes */