Skip to content

Commit

Permalink
Export the C-type VkGeometryInstanceFlagsKHR in vulkan.cppm. (#2023)
Browse files Browse the repository at this point in the history
  • Loading branch information
asuessenbach authored Jan 6, 2025
1 parent 1055cb5 commit 0d89df6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions VulkanHppGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -781,6 +781,10 @@ export namespace std
{
${hashSpecializations}
}

// This VkFlags type is used as part of a bitfield in some structure.
// As it that can't be mimiced by vk-data types, we need to export just that!!
using VkGeometryInstanceFlagsKHR;
)";

auto const str = replaceWithMap( vulkanCppmTemplate,
Expand Down
4 changes: 4 additions & 0 deletions vulkan/vulkan.cppm
Original file line number Diff line number Diff line change
Expand Up @@ -8246,3 +8246,7 @@ export namespace std
struct hash<VULKAN_HPP_NAMESPACE::PhysicalDeviceVertexAttributeRobustnessFeaturesEXT>;

} // namespace std

// This VkFlags type is used as part of a bitfield in some structure.
// As it that can't be mimiced by vk-data types, we need to export just that!!
using VkGeometryInstanceFlagsKHR;

0 comments on commit 0d89df6

Please sign in to comment.