turnip: fix triangle strip
authorJonathan Marek <jonathan@marek.ca>
Mon, 14 Oct 2019 15:15:05 +0000 (11:15 -0400)
committerJonathan Marek <jonathan@marek.ca>
Tue, 15 Oct 2019 11:56:19 +0000 (07:56 -0400)
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
src/freedreno/vulkan/tu_pipeline.c

index 2acf55564341e6fae18758605615aa4c6f1ef704..0e6463e2abc1da4999e2a87782af616cc2e48e81 100644 (file)
@@ -177,7 +177,7 @@ tu6_primtype(VkPrimitiveTopology topology)
    case VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST:
       return DI_PT_TRILIST;
    case VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP:
-      return DI_PT_TRILIST;
+      return DI_PT_TRISTRIP;
    case VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN:
       return DI_PT_TRIFAN;
    case VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY: