summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineVulkan
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-02-05 17:44:34 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-02-05 17:44:34 +0000
commit016ae0018fe4ca61cc251cf0cacee6757341707e (patch)
tree3d794ac0713b6fd3e66bcd1246281a3568c1ec61 /Graphics/GraphicsEngineVulkan
parentSilenced OpenGL deprecation warnings on Mac (diff)
downloadDiligentCore-016ae0018fe4ca61cc251cf0cacee6757341707e.tar.gz
DiligentCore-016ae0018fe4ca61cc251cf0cacee6757341707e.zip
Added line strip topology
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
-rw-r--r--Graphics/GraphicsEngineVulkan/src/VulkanTypeConversions.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngineVulkan/src/VulkanTypeConversions.cpp b/Graphics/GraphicsEngineVulkan/src/VulkanTypeConversions.cpp
index d58b430d..7612905b 100644
--- a/Graphics/GraphicsEngineVulkan/src/VulkanTypeConversions.cpp
+++ b/Graphics/GraphicsEngineVulkan/src/VulkanTypeConversions.cpp
@@ -1015,6 +1015,10 @@ void PrimitiveTopology_To_VkPrimitiveTopologyAndPatchCPCount(PRIMITIVE_TOPOLOGY
VkPrimTopology = VK_PRIMITIVE_TOPOLOGY_LINE_LIST;
return;
+ case PRIMITIVE_TOPOLOGY_LINE_STRIP:
+ VkPrimTopology = VK_PRIMITIVE_TOPOLOGY_LINE_STRIP;
+ return;
+
default:
VERIFY_EXPR(PrimTopology >= PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST && PrimTopology < PRIMITIVE_TOPOLOGY_NUM_TOPOLOGIES);
VkPrimTopology = VK_PRIMITIVE_TOPOLOGY_PATCH_LIST;