Skip to content

Commit

Permalink
Add new geometry shader adjacency enums to Vulkan RS
Browse files Browse the repository at this point in the history
  • Loading branch information
darksylinc committed Aug 4, 2024
1 parent 1586ec0 commit dca8d56
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 OT_TRIANGLE_LIST: return VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST;
case OT_TRIANGLE_STRIP: return VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP;
case OT_TRIANGLE_FAN: return VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN;
case OT_LINE_LIST_ADJ: return VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY;
case OT_LINE_STRIP_ADJ: return VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY;
case OT_TRIANGLE_LIST_ADJ: return VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY;
case 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 dca8d56

Please sign in to comment.