summaryrefslogtreecommitdiffstats
path: root/src/freedreno
diff options
context:
space:
mode:
authorJonathan Marek <[email protected]>2019-10-14 11:15:05 -0400
committerJonathan Marek <[email protected]>2019-10-15 07:56:19 -0400
commit8580726f90fa79052b64cecd35d7b1be3a139c27 (patch)
tree4ad15a2d154303ce6592071b5cb5975f1d374f81 /src/freedreno
parentb7093882ebf3d8ee957fcdd53383be8e8665b49b (diff)
turnip: fix triangle strip
Signed-off-by: Jonathan Marek <[email protected]> Reviewed-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src/freedreno')
-rw-r--r--src/freedreno/vulkan/tu_pipeline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/freedreno/vulkan/tu_pipeline.c b/src/freedreno/vulkan/tu_pipeline.c
index 2acf5556434..0e6463e2abc 100644
--- a/src/freedreno/vulkan/tu_pipeline.c
+++ b/src/freedreno/vulkan/tu_pipeline.c
@@ -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: