From 0d89df69b3c1192a9eed6d7f140a36b3e2460192 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20S=C3=BC=C3=9Fenbach?= Date: Mon, 6 Jan 2025 10:16:51 +0100 Subject: [PATCH] Export the C-type VkGeometryInstanceFlagsKHR in vulkan.cppm. (#2023) --- VulkanHppGenerator.cpp | 4 ++++ vulkan/vulkan.cppm | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/VulkanHppGenerator.cpp b/VulkanHppGenerator.cpp index 3c1b9fb..a2e3bee 100644 --- a/VulkanHppGenerator.cpp +++ b/VulkanHppGenerator.cpp @@ -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, diff --git a/vulkan/vulkan.cppm b/vulkan/vulkan.cppm index e48a653..941467d 100644 --- a/vulkan/vulkan.cppm +++ b/vulkan/vulkan.cppm @@ -8246,3 +8246,7 @@ export namespace std struct hash; } // 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;