aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/vulkan/vulkan_shared.hpp
diff options
context:
space:
mode:
authorJon Leech <[email protected]>2024-09-26 00:39:54 -0700
committerJon Leech <[email protected]>2024-09-26 00:50:55 -0700
commit29f979ee5aa58b7b005f805ea8df7a855c39ff37 (patch)
tree95ce4cd7a37627bf42e7cef75928c2458aa49c34 /include/vulkan/vulkan_shared.hpp
parentc6391a7b8cd57e79ce6b6c832c8e3043c4d9967b (diff)
downloadVulkan-Headers-vulkan-sdk-1.3.296.tar.gz
Vulkan-Headers-vulkan-sdk-1.3.296.zip
Diffstat (limited to 'include/vulkan/vulkan_shared.hpp')
-rw-r--r--include/vulkan/vulkan_shared.hpp26
1 files changed, 25 insertions, 1 deletions
diff --git a/include/vulkan/vulkan_shared.hpp b/include/vulkan/vulkan_shared.hpp
index 1bff517..fbb871b 100644
--- a/include/vulkan/vulkan_shared.hpp
+++ b/include/vulkan/vulkan_shared.hpp
@@ -8,9 +8,12 @@
#ifndef VULKAN_SHARED_HPP
#define VULKAN_SHARED_HPP
-#include <atomic> // std::atomic_size_t
#include <vulkan/vulkan.hpp>
+#if !( defined( VULKAN_HPP_ENABLE_STD_MODULE ) && defined( VULKAN_HPP_STD_MODULE ) )
+# include <atomic> // std::atomic_size_t
+#endif
+
namespace VULKAN_HPP_NAMESPACE
{
#if !defined( VULKAN_HPP_NO_SMART_HANDLE )
@@ -971,6 +974,27 @@ namespace VULKAN_HPP_NAMESPACE
using SharedPipelineBinaryKHR = SharedHandle<PipelineBinaryKHR>;
+ //=== VK_EXT_device_generated_commands ===
+ template <>
+ class SharedHandleTraits<IndirectCommandsLayoutEXT>
+ {
+ public:
+ using DestructorType = Device;
+ using deleter = ObjectDestroyShared<IndirectCommandsLayoutEXT>;
+ };
+
+ using SharedIndirectCommandsLayoutEXT = SharedHandle<IndirectCommandsLayoutEXT>;
+
+ template <>
+ class SharedHandleTraits<IndirectExecutionSetEXT>
+ {
+ public:
+ using DestructorType = Device;
+ using deleter = ObjectDestroyShared<IndirectExecutionSetEXT>;
+ };
+
+ using SharedIndirectExecutionSetEXT = SharedHandle<IndirectExecutionSetEXT>;
+
enum class SwapchainOwns
{
no,