Skip to content

Commit

Permalink
Vulkan: add adjacency topology mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
paroj committed Aug 4, 2024
1 parent 28c8cc1 commit fc0621d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions RenderSystems/Vulkan/src/OgreVulkanMappings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ namespace Ogre
case RenderOperation::OT_TRIANGLE_LIST: return VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST;
case RenderOperation::OT_TRIANGLE_STRIP: return VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP;
case RenderOperation::OT_TRIANGLE_FAN: return VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN;
case RenderOperation::OT_LINE_LIST_ADJ: return VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY;
case RenderOperation::OT_LINE_STRIP_ADJ: return VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY;
case RenderOperation::OT_TRIANGLE_LIST_ADJ: return VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY;
case RenderOperation::OT_TRIANGLE_STRIP_ADJ: return VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY;
default:
return VK_PRIMITIVE_TOPOLOGY_PATCH_LIST;
// clang-format on
Expand Down

0 comments on commit fc0621d

Please sign in to comment.