From: Samuel Pitoiset Date: Wed, 20 Dec 2017 19:57:21 +0000 (+0100) Subject: radv/gfx9: fix primitive topology when adjacency is used X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9f54675dbe01518ec4b71e8fc9b4f6e777b27185;p=mesa.git radv/gfx9: fix primitive topology when adjacency is used Found by inspection. Cc: 17.3 Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c index 3fc21bb501f..14ada20d525 100644 --- a/src/amd/vulkan/radv_pipeline.c +++ b/src/amd/vulkan/radv_pipeline.c @@ -1122,7 +1122,7 @@ static void calculate_gfx9_gs_info(const VkGraphicsPipelineCreateInfo *pCreateIn case VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY: case VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY: case VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY: - uses_adjacency = false; + uses_adjacency = true; break; default: uses_adjacency = false;