From 12931390a5de49ab31e0e8fd36a2a653ac825b61 Mon Sep 17 00:00:00 2001 From: Mike Schuchardt Date: Fri, 18 Oct 2024 08:42:41 -0700 Subject: [PATCH] build: Update to header 1.3.299 --- include/vulkan/utility/vk_dispatch_table.h | 8 +- include/vulkan/utility/vk_safe_struct.hpp | 232 ++++----- include/vulkan/utility/vk_struct_helper.hpp | 12 +- include/vulkan/vk_enum_string_helper.h | 32 +- scripts/known_good.json | 2 +- src/vulkan/vk_safe_struct_ext.cpp | 108 ++--- src/vulkan/vk_safe_struct_khr.cpp | 130 ++--- src/vulkan/vk_safe_struct_utils.cpp | 60 +-- src/vulkan/vk_safe_struct_vendor.cpp | 500 ++++++++++---------- 9 files changed, 542 insertions(+), 542 deletions(-) diff --git a/include/vulkan/utility/vk_dispatch_table.h b/include/vulkan/utility/vk_dispatch_table.h index 443591e..96e2faf 100644 --- a/include/vulkan/utility/vk_dispatch_table.h +++ b/include/vulkan/utility/vk_dispatch_table.h @@ -445,8 +445,6 @@ typedef struct VkuDeviceDispatchTable_ { PFN_vkCmdPipelineBarrier2KHR CmdPipelineBarrier2KHR; PFN_vkCmdWriteTimestamp2KHR CmdWriteTimestamp2KHR; PFN_vkQueueSubmit2KHR QueueSubmit2KHR; - PFN_vkCmdWriteBufferMarker2AMD CmdWriteBufferMarker2AMD; - PFN_vkGetQueueCheckpointData2NV GetQueueCheckpointData2NV; PFN_vkCmdCopyBuffer2KHR CmdCopyBuffer2KHR; PFN_vkCmdCopyImage2KHR CmdCopyImage2KHR; PFN_vkCmdCopyBufferToImage2KHR CmdCopyBufferToImage2KHR; @@ -556,6 +554,7 @@ typedef struct VkuDeviceDispatchTable_ { PFN_vkCompileDeferredNV CompileDeferredNV; PFN_vkGetMemoryHostPointerPropertiesEXT GetMemoryHostPointerPropertiesEXT; PFN_vkCmdWriteBufferMarkerAMD CmdWriteBufferMarkerAMD; + PFN_vkCmdWriteBufferMarker2AMD CmdWriteBufferMarker2AMD; PFN_vkGetCalibratedTimestampsEXT GetCalibratedTimestampsEXT; PFN_vkCmdDrawMeshTasksNV CmdDrawMeshTasksNV; PFN_vkCmdDrawMeshTasksIndirectNV CmdDrawMeshTasksIndirectNV; @@ -564,6 +563,7 @@ typedef struct VkuDeviceDispatchTable_ { PFN_vkCmdSetExclusiveScissorNV CmdSetExclusiveScissorNV; PFN_vkCmdSetCheckpointNV CmdSetCheckpointNV; PFN_vkGetQueueCheckpointDataNV GetQueueCheckpointDataNV; + PFN_vkGetQueueCheckpointData2NV GetQueueCheckpointData2NV; PFN_vkInitializePerformanceApiINTEL InitializePerformanceApiINTEL; PFN_vkUninitializePerformanceApiINTEL UninitializePerformanceApiINTEL; PFN_vkCmdSetPerformanceMarkerINTEL CmdSetPerformanceMarkerINTEL; @@ -1057,8 +1057,6 @@ static inline void vkuInitDeviceDispatchTable(VkDevice device, VkuDeviceDispatch table->CmdPipelineBarrier2KHR = (PFN_vkCmdPipelineBarrier2KHR)gdpa(device, "vkCmdPipelineBarrier2KHR"); table->CmdWriteTimestamp2KHR = (PFN_vkCmdWriteTimestamp2KHR)gdpa(device, "vkCmdWriteTimestamp2KHR"); table->QueueSubmit2KHR = (PFN_vkQueueSubmit2KHR)gdpa(device, "vkQueueSubmit2KHR"); - table->CmdWriteBufferMarker2AMD = (PFN_vkCmdWriteBufferMarker2AMD)gdpa(device, "vkCmdWriteBufferMarker2AMD"); - table->GetQueueCheckpointData2NV = (PFN_vkGetQueueCheckpointData2NV)gdpa(device, "vkGetQueueCheckpointData2NV"); table->CmdCopyBuffer2KHR = (PFN_vkCmdCopyBuffer2KHR)gdpa(device, "vkCmdCopyBuffer2KHR"); table->CmdCopyImage2KHR = (PFN_vkCmdCopyImage2KHR)gdpa(device, "vkCmdCopyImage2KHR"); table->CmdCopyBufferToImage2KHR = (PFN_vkCmdCopyBufferToImage2KHR)gdpa(device, "vkCmdCopyBufferToImage2KHR"); @@ -1168,6 +1166,7 @@ static inline void vkuInitDeviceDispatchTable(VkDevice device, VkuDeviceDispatch table->CompileDeferredNV = (PFN_vkCompileDeferredNV)gdpa(device, "vkCompileDeferredNV"); table->GetMemoryHostPointerPropertiesEXT = (PFN_vkGetMemoryHostPointerPropertiesEXT)gdpa(device, "vkGetMemoryHostPointerPropertiesEXT"); table->CmdWriteBufferMarkerAMD = (PFN_vkCmdWriteBufferMarkerAMD)gdpa(device, "vkCmdWriteBufferMarkerAMD"); + table->CmdWriteBufferMarker2AMD = (PFN_vkCmdWriteBufferMarker2AMD)gdpa(device, "vkCmdWriteBufferMarker2AMD"); table->GetCalibratedTimestampsEXT = (PFN_vkGetCalibratedTimestampsEXT)gdpa(device, "vkGetCalibratedTimestampsEXT"); table->CmdDrawMeshTasksNV = (PFN_vkCmdDrawMeshTasksNV)gdpa(device, "vkCmdDrawMeshTasksNV"); table->CmdDrawMeshTasksIndirectNV = (PFN_vkCmdDrawMeshTasksIndirectNV)gdpa(device, "vkCmdDrawMeshTasksIndirectNV"); @@ -1176,6 +1175,7 @@ static inline void vkuInitDeviceDispatchTable(VkDevice device, VkuDeviceDispatch table->CmdSetExclusiveScissorNV = (PFN_vkCmdSetExclusiveScissorNV)gdpa(device, "vkCmdSetExclusiveScissorNV"); table->CmdSetCheckpointNV = (PFN_vkCmdSetCheckpointNV)gdpa(device, "vkCmdSetCheckpointNV"); table->GetQueueCheckpointDataNV = (PFN_vkGetQueueCheckpointDataNV)gdpa(device, "vkGetQueueCheckpointDataNV"); + table->GetQueueCheckpointData2NV = (PFN_vkGetQueueCheckpointData2NV)gdpa(device, "vkGetQueueCheckpointData2NV"); table->InitializePerformanceApiINTEL = (PFN_vkInitializePerformanceApiINTEL)gdpa(device, "vkInitializePerformanceApiINTEL"); table->UninitializePerformanceApiINTEL = (PFN_vkUninitializePerformanceApiINTEL)gdpa(device, "vkUninitializePerformanceApiINTEL"); table->CmdSetPerformanceMarkerINTEL = (PFN_vkCmdSetPerformanceMarkerINTEL)gdpa(device, "vkCmdSetPerformanceMarkerINTEL"); diff --git a/include/vulkan/utility/vk_safe_struct.hpp b/include/vulkan/utility/vk_safe_struct.hpp index a4b0e99..bbf04a0 100644 --- a/include/vulkan/utility/vk_safe_struct.hpp +++ b/include/vulkan/utility/vk_safe_struct.hpp @@ -5882,88 +5882,6 @@ struct safe_VkVideoDecodeH264DpbSlotInfoKHR { VkVideoDecodeH264DpbSlotInfoKHR* ptr() { return reinterpret_cast(this); } VkVideoDecodeH264DpbSlotInfoKHR const* ptr() const { return reinterpret_cast(this); } }; -struct safe_VkRenderingFragmentShadingRateAttachmentInfoKHR { - VkStructureType sType; - const void* pNext{}; - VkImageView imageView; - VkImageLayout imageLayout; - VkExtent2D shadingRateAttachmentTexelSize; - - safe_VkRenderingFragmentShadingRateAttachmentInfoKHR(const VkRenderingFragmentShadingRateAttachmentInfoKHR* in_struct, - PNextCopyState* copy_state = {}, bool copy_pnext = true); - safe_VkRenderingFragmentShadingRateAttachmentInfoKHR(const safe_VkRenderingFragmentShadingRateAttachmentInfoKHR& copy_src); - safe_VkRenderingFragmentShadingRateAttachmentInfoKHR& operator=( - const safe_VkRenderingFragmentShadingRateAttachmentInfoKHR& copy_src); - safe_VkRenderingFragmentShadingRateAttachmentInfoKHR(); - ~safe_VkRenderingFragmentShadingRateAttachmentInfoKHR(); - void initialize(const VkRenderingFragmentShadingRateAttachmentInfoKHR* in_struct, PNextCopyState* copy_state = {}); - void initialize(const safe_VkRenderingFragmentShadingRateAttachmentInfoKHR* copy_src, PNextCopyState* copy_state = {}); - VkRenderingFragmentShadingRateAttachmentInfoKHR* ptr() { - return reinterpret_cast(this); - } - VkRenderingFragmentShadingRateAttachmentInfoKHR const* ptr() const { - return reinterpret_cast(this); - } -}; -struct safe_VkRenderingFragmentDensityMapAttachmentInfoEXT { - VkStructureType sType; - const void* pNext{}; - VkImageView imageView; - VkImageLayout imageLayout; - - safe_VkRenderingFragmentDensityMapAttachmentInfoEXT(const VkRenderingFragmentDensityMapAttachmentInfoEXT* in_struct, - PNextCopyState* copy_state = {}, bool copy_pnext = true); - safe_VkRenderingFragmentDensityMapAttachmentInfoEXT(const safe_VkRenderingFragmentDensityMapAttachmentInfoEXT& copy_src); - safe_VkRenderingFragmentDensityMapAttachmentInfoEXT& operator=( - const safe_VkRenderingFragmentDensityMapAttachmentInfoEXT& copy_src); - safe_VkRenderingFragmentDensityMapAttachmentInfoEXT(); - ~safe_VkRenderingFragmentDensityMapAttachmentInfoEXT(); - void initialize(const VkRenderingFragmentDensityMapAttachmentInfoEXT* in_struct, PNextCopyState* copy_state = {}); - void initialize(const safe_VkRenderingFragmentDensityMapAttachmentInfoEXT* copy_src, PNextCopyState* copy_state = {}); - VkRenderingFragmentDensityMapAttachmentInfoEXT* ptr() { - return reinterpret_cast(this); - } - VkRenderingFragmentDensityMapAttachmentInfoEXT const* ptr() const { - return reinterpret_cast(this); - } -}; -struct safe_VkAttachmentSampleCountInfoAMD { - VkStructureType sType; - const void* pNext{}; - uint32_t colorAttachmentCount; - const VkSampleCountFlagBits* pColorAttachmentSamples{}; - VkSampleCountFlagBits depthStencilAttachmentSamples; - - safe_VkAttachmentSampleCountInfoAMD(const VkAttachmentSampleCountInfoAMD* in_struct, PNextCopyState* copy_state = {}, - bool copy_pnext = true); - safe_VkAttachmentSampleCountInfoAMD(const safe_VkAttachmentSampleCountInfoAMD& copy_src); - safe_VkAttachmentSampleCountInfoAMD& operator=(const safe_VkAttachmentSampleCountInfoAMD& copy_src); - safe_VkAttachmentSampleCountInfoAMD(); - ~safe_VkAttachmentSampleCountInfoAMD(); - void initialize(const VkAttachmentSampleCountInfoAMD* in_struct, PNextCopyState* copy_state = {}); - void initialize(const safe_VkAttachmentSampleCountInfoAMD* copy_src, PNextCopyState* copy_state = {}); - VkAttachmentSampleCountInfoAMD* ptr() { return reinterpret_cast(this); } - VkAttachmentSampleCountInfoAMD const* ptr() const { return reinterpret_cast(this); } -}; -struct safe_VkMultiviewPerViewAttributesInfoNVX { - VkStructureType sType; - const void* pNext{}; - VkBool32 perViewAttributes; - VkBool32 perViewAttributesPositionXOnly; - - safe_VkMultiviewPerViewAttributesInfoNVX(const VkMultiviewPerViewAttributesInfoNVX* in_struct, PNextCopyState* copy_state = {}, - bool copy_pnext = true); - safe_VkMultiviewPerViewAttributesInfoNVX(const safe_VkMultiviewPerViewAttributesInfoNVX& copy_src); - safe_VkMultiviewPerViewAttributesInfoNVX& operator=(const safe_VkMultiviewPerViewAttributesInfoNVX& copy_src); - safe_VkMultiviewPerViewAttributesInfoNVX(); - ~safe_VkMultiviewPerViewAttributesInfoNVX(); - void initialize(const VkMultiviewPerViewAttributesInfoNVX* in_struct, PNextCopyState* copy_state = {}); - void initialize(const safe_VkMultiviewPerViewAttributesInfoNVX* copy_src, PNextCopyState* copy_state = {}); - VkMultiviewPerViewAttributesInfoNVX* ptr() { return reinterpret_cast(this); } - VkMultiviewPerViewAttributesInfoNVX const* ptr() const { - return reinterpret_cast(this); - } -}; #ifdef VK_USE_PLATFORM_WIN32_KHR struct safe_VkImportMemoryWin32HandleInfoKHR { VkStructureType sType; @@ -7009,6 +6927,29 @@ struct safe_VkPhysicalDeviceFragmentShadingRateKHR { return reinterpret_cast(this); } }; +struct safe_VkRenderingFragmentShadingRateAttachmentInfoKHR { + VkStructureType sType; + const void* pNext{}; + VkImageView imageView; + VkImageLayout imageLayout; + VkExtent2D shadingRateAttachmentTexelSize; + + safe_VkRenderingFragmentShadingRateAttachmentInfoKHR(const VkRenderingFragmentShadingRateAttachmentInfoKHR* in_struct, + PNextCopyState* copy_state = {}, bool copy_pnext = true); + safe_VkRenderingFragmentShadingRateAttachmentInfoKHR(const safe_VkRenderingFragmentShadingRateAttachmentInfoKHR& copy_src); + safe_VkRenderingFragmentShadingRateAttachmentInfoKHR& operator=( + const safe_VkRenderingFragmentShadingRateAttachmentInfoKHR& copy_src); + safe_VkRenderingFragmentShadingRateAttachmentInfoKHR(); + ~safe_VkRenderingFragmentShadingRateAttachmentInfoKHR(); + void initialize(const VkRenderingFragmentShadingRateAttachmentInfoKHR* in_struct, PNextCopyState* copy_state = {}); + void initialize(const safe_VkRenderingFragmentShadingRateAttachmentInfoKHR* copy_src, PNextCopyState* copy_state = {}); + VkRenderingFragmentShadingRateAttachmentInfoKHR* ptr() { + return reinterpret_cast(this); + } + VkRenderingFragmentShadingRateAttachmentInfoKHR const* ptr() const { + return reinterpret_cast(this); + } +}; struct safe_VkPhysicalDeviceDynamicRenderingLocalReadFeaturesKHR { VkStructureType sType; void* pNext{}; @@ -7553,40 +7494,6 @@ struct safe_VkVideoEncodeSessionParametersFeedbackInfoKHR { return reinterpret_cast(this); } }; -struct safe_VkQueueFamilyCheckpointProperties2NV { - VkStructureType sType; - void* pNext{}; - VkPipelineStageFlags2 checkpointExecutionStageMask; - - safe_VkQueueFamilyCheckpointProperties2NV(const VkQueueFamilyCheckpointProperties2NV* in_struct, - PNextCopyState* copy_state = {}, bool copy_pnext = true); - safe_VkQueueFamilyCheckpointProperties2NV(const safe_VkQueueFamilyCheckpointProperties2NV& copy_src); - safe_VkQueueFamilyCheckpointProperties2NV& operator=(const safe_VkQueueFamilyCheckpointProperties2NV& copy_src); - safe_VkQueueFamilyCheckpointProperties2NV(); - ~safe_VkQueueFamilyCheckpointProperties2NV(); - void initialize(const VkQueueFamilyCheckpointProperties2NV* in_struct, PNextCopyState* copy_state = {}); - void initialize(const safe_VkQueueFamilyCheckpointProperties2NV* copy_src, PNextCopyState* copy_state = {}); - VkQueueFamilyCheckpointProperties2NV* ptr() { return reinterpret_cast(this); } - VkQueueFamilyCheckpointProperties2NV const* ptr() const { - return reinterpret_cast(this); - } -}; -struct safe_VkCheckpointData2NV { - VkStructureType sType; - void* pNext{}; - VkPipelineStageFlags2 stage; - void* pCheckpointMarker{}; - - safe_VkCheckpointData2NV(const VkCheckpointData2NV* in_struct, PNextCopyState* copy_state = {}, bool copy_pnext = true); - safe_VkCheckpointData2NV(const safe_VkCheckpointData2NV& copy_src); - safe_VkCheckpointData2NV& operator=(const safe_VkCheckpointData2NV& copy_src); - safe_VkCheckpointData2NV(); - ~safe_VkCheckpointData2NV(); - void initialize(const VkCheckpointData2NV* in_struct, PNextCopyState* copy_state = {}); - void initialize(const safe_VkCheckpointData2NV* copy_src, PNextCopyState* copy_state = {}); - VkCheckpointData2NV* ptr() { return reinterpret_cast(this); } - VkCheckpointData2NV const* ptr() const { return reinterpret_cast(this); } -}; struct safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesKHR { VkStructureType sType; void* pNext{}; @@ -9703,6 +9610,25 @@ struct safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX { return reinterpret_cast(this); } }; +struct safe_VkMultiviewPerViewAttributesInfoNVX { + VkStructureType sType; + const void* pNext{}; + VkBool32 perViewAttributes; + VkBool32 perViewAttributesPositionXOnly; + + safe_VkMultiviewPerViewAttributesInfoNVX(const VkMultiviewPerViewAttributesInfoNVX* in_struct, PNextCopyState* copy_state = {}, + bool copy_pnext = true); + safe_VkMultiviewPerViewAttributesInfoNVX(const safe_VkMultiviewPerViewAttributesInfoNVX& copy_src); + safe_VkMultiviewPerViewAttributesInfoNVX& operator=(const safe_VkMultiviewPerViewAttributesInfoNVX& copy_src); + safe_VkMultiviewPerViewAttributesInfoNVX(); + ~safe_VkMultiviewPerViewAttributesInfoNVX(); + void initialize(const VkMultiviewPerViewAttributesInfoNVX* in_struct, PNextCopyState* copy_state = {}); + void initialize(const safe_VkMultiviewPerViewAttributesInfoNVX* copy_src, PNextCopyState* copy_state = {}); + VkMultiviewPerViewAttributesInfoNVX* ptr() { return reinterpret_cast(this); } + VkMultiviewPerViewAttributesInfoNVX const* ptr() const { + return reinterpret_cast(this); + } +}; struct safe_VkPipelineViewportSwizzleStateCreateInfoNV { VkStructureType sType; const void* pNext{}; @@ -10287,6 +10213,24 @@ struct safe_VkPipelineShaderStageNodeCreateInfoAMDX { } }; #endif // VK_ENABLE_BETA_EXTENSIONS +struct safe_VkAttachmentSampleCountInfoAMD { + VkStructureType sType; + const void* pNext{}; + uint32_t colorAttachmentCount; + const VkSampleCountFlagBits* pColorAttachmentSamples{}; + VkSampleCountFlagBits depthStencilAttachmentSamples; + + safe_VkAttachmentSampleCountInfoAMD(const VkAttachmentSampleCountInfoAMD* in_struct, PNextCopyState* copy_state = {}, + bool copy_pnext = true); + safe_VkAttachmentSampleCountInfoAMD(const safe_VkAttachmentSampleCountInfoAMD& copy_src); + safe_VkAttachmentSampleCountInfoAMD& operator=(const safe_VkAttachmentSampleCountInfoAMD& copy_src); + safe_VkAttachmentSampleCountInfoAMD(); + ~safe_VkAttachmentSampleCountInfoAMD(); + void initialize(const VkAttachmentSampleCountInfoAMD* in_struct, PNextCopyState* copy_state = {}); + void initialize(const safe_VkAttachmentSampleCountInfoAMD* copy_src, PNextCopyState* copy_state = {}); + VkAttachmentSampleCountInfoAMD* ptr() { return reinterpret_cast(this); } + VkAttachmentSampleCountInfoAMD const* ptr() const { return reinterpret_cast(this); } +}; struct safe_VkSampleLocationsInfoEXT { VkStructureType sType; const void* pNext{}; @@ -11485,6 +11429,40 @@ struct safe_VkCheckpointDataNV { VkCheckpointDataNV* ptr() { return reinterpret_cast(this); } VkCheckpointDataNV const* ptr() const { return reinterpret_cast(this); } }; +struct safe_VkQueueFamilyCheckpointProperties2NV { + VkStructureType sType; + void* pNext{}; + VkPipelineStageFlags2 checkpointExecutionStageMask; + + safe_VkQueueFamilyCheckpointProperties2NV(const VkQueueFamilyCheckpointProperties2NV* in_struct, + PNextCopyState* copy_state = {}, bool copy_pnext = true); + safe_VkQueueFamilyCheckpointProperties2NV(const safe_VkQueueFamilyCheckpointProperties2NV& copy_src); + safe_VkQueueFamilyCheckpointProperties2NV& operator=(const safe_VkQueueFamilyCheckpointProperties2NV& copy_src); + safe_VkQueueFamilyCheckpointProperties2NV(); + ~safe_VkQueueFamilyCheckpointProperties2NV(); + void initialize(const VkQueueFamilyCheckpointProperties2NV* in_struct, PNextCopyState* copy_state = {}); + void initialize(const safe_VkQueueFamilyCheckpointProperties2NV* copy_src, PNextCopyState* copy_state = {}); + VkQueueFamilyCheckpointProperties2NV* ptr() { return reinterpret_cast(this); } + VkQueueFamilyCheckpointProperties2NV const* ptr() const { + return reinterpret_cast(this); + } +}; +struct safe_VkCheckpointData2NV { + VkStructureType sType; + void* pNext{}; + VkPipelineStageFlags2 stage; + void* pCheckpointMarker{}; + + safe_VkCheckpointData2NV(const VkCheckpointData2NV* in_struct, PNextCopyState* copy_state = {}, bool copy_pnext = true); + safe_VkCheckpointData2NV(const safe_VkCheckpointData2NV& copy_src); + safe_VkCheckpointData2NV& operator=(const safe_VkCheckpointData2NV& copy_src); + safe_VkCheckpointData2NV(); + ~safe_VkCheckpointData2NV(); + void initialize(const VkCheckpointData2NV* in_struct, PNextCopyState* copy_state = {}); + void initialize(const safe_VkCheckpointData2NV* copy_src, PNextCopyState* copy_state = {}); + VkCheckpointData2NV* ptr() { return reinterpret_cast(this); } + VkCheckpointData2NV const* ptr() const { return reinterpret_cast(this); } +}; struct safe_VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL { VkStructureType sType; void* pNext{}; @@ -11778,6 +11756,28 @@ struct safe_VkRenderPassFragmentDensityMapCreateInfoEXT { return reinterpret_cast(this); } }; +struct safe_VkRenderingFragmentDensityMapAttachmentInfoEXT { + VkStructureType sType; + const void* pNext{}; + VkImageView imageView; + VkImageLayout imageLayout; + + safe_VkRenderingFragmentDensityMapAttachmentInfoEXT(const VkRenderingFragmentDensityMapAttachmentInfoEXT* in_struct, + PNextCopyState* copy_state = {}, bool copy_pnext = true); + safe_VkRenderingFragmentDensityMapAttachmentInfoEXT(const safe_VkRenderingFragmentDensityMapAttachmentInfoEXT& copy_src); + safe_VkRenderingFragmentDensityMapAttachmentInfoEXT& operator=( + const safe_VkRenderingFragmentDensityMapAttachmentInfoEXT& copy_src); + safe_VkRenderingFragmentDensityMapAttachmentInfoEXT(); + ~safe_VkRenderingFragmentDensityMapAttachmentInfoEXT(); + void initialize(const VkRenderingFragmentDensityMapAttachmentInfoEXT* in_struct, PNextCopyState* copy_state = {}); + void initialize(const safe_VkRenderingFragmentDensityMapAttachmentInfoEXT* copy_src, PNextCopyState* copy_state = {}); + VkRenderingFragmentDensityMapAttachmentInfoEXT* ptr() { + return reinterpret_cast(this); + } + VkRenderingFragmentDensityMapAttachmentInfoEXT const* ptr() const { + return reinterpret_cast(this); + } +}; struct safe_VkPhysicalDeviceShaderCoreProperties2AMD { VkStructureType sType; void* pNext{}; diff --git a/include/vulkan/utility/vk_struct_helper.hpp b/include/vulkan/utility/vk_struct_helper.hpp index 26efcc0..d3c9266 100644 --- a/include/vulkan/utility/vk_struct_helper.hpp +++ b/include/vulkan/utility/vk_struct_helper.hpp @@ -312,10 +312,6 @@ template <> inline VkStructureType GetSType inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_SESSION_PARAMETERS_CREATE_INFO_KHR; } template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_PICTURE_INFO_KHR; } template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_DPB_SLOT_INFO_KHR; } -template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR; } -template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_INFO_EXT; } -template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_ATTACHMENT_SAMPLE_COUNT_INFO_AMD; } -template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_MULTIVIEW_PER_VIEW_ATTRIBUTES_INFO_NVX; } #ifdef VK_USE_PLATFORM_WIN32_KHR template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR; } template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_KHR; } @@ -378,6 +374,7 @@ template <> inline VkStructureType GetSType inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_FEATURES_KHR; } template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_PROPERTIES_KHR; } template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_KHR; } +template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR; } template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_LOCAL_READ_FEATURES_KHR; } template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_RENDERING_ATTACHMENT_LOCATION_INFO_KHR; } template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_RENDERING_INPUT_ATTACHMENT_INDEX_INFO_KHR; } @@ -406,8 +403,6 @@ template <> inline VkStructureType GetSType inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHR; } template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_VIDEO_ENCODE_SESSION_PARAMETERS_GET_INFO_KHR; } template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_VIDEO_ENCODE_SESSION_PARAMETERS_FEEDBACK_INFO_KHR; } -template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_2_NV; } -template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_CHECKPOINT_DATA_2_NV; } template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_FEATURES_KHR; } template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_PROPERTIES_KHR; } template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_UNIFORM_CONTROL_FLOW_FEATURES_KHR; } @@ -519,6 +514,7 @@ template <> inline VkStructureType GetSType() { return VK template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_SWAPCHAIN_COUNTER_CREATE_INFO_EXT; } template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_PRESENT_TIMES_INFO_GOOGLE; } template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_ATTRIBUTES_PROPERTIES_NVX; } +template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_MULTIVIEW_PER_VIEW_ATTRIBUTES_INFO_NVX; } template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV; } template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DISCARD_RECTANGLE_PROPERTIES_EXT; } template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_PIPELINE_DISCARD_RECTANGLE_STATE_CREATE_INFO_EXT; } @@ -555,6 +551,7 @@ template <> inline VkStructureType GetSType inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_EXECUTION_GRAPH_PIPELINE_CREATE_INFO_AMDX; } template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_NODE_CREATE_INFO_AMDX; } #endif // VK_ENABLE_BETA_EXTENSIONS +template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_ATTACHMENT_SAMPLE_COUNT_INFO_AMD; } template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_SAMPLE_LOCATIONS_INFO_EXT; } template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_RENDER_PASS_SAMPLE_LOCATIONS_BEGIN_INFO_EXT; } template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_PIPELINE_SAMPLE_LOCATIONS_STATE_CREATE_INFO_EXT; } @@ -611,6 +608,8 @@ template <> inline VkStructureType GetSType inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXCLUSIVE_SCISSOR_FEATURES_NV; } template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_NV; } template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_CHECKPOINT_DATA_NV; } +template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_2_NV; } +template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_CHECKPOINT_DATA_2_NV; } template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_FUNCTIONS_2_FEATURES_INTEL; } template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_INITIALIZE_PERFORMANCE_API_INFO_INTEL; } template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_QUERY_POOL_PERFORMANCE_QUERY_CREATE_INFO_INTEL; } @@ -630,6 +629,7 @@ template <> inline VkStructureType GetSType() { ret template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_FEATURES_EXT; } template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_PROPERTIES_EXT; } template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_RENDER_PASS_FRAGMENT_DENSITY_MAP_CREATE_INFO_EXT; } +template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_INFO_EXT; } template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_2_AMD; } template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COHERENT_MEMORY_FEATURES_AMD; } template <> inline VkStructureType GetSType() { return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_IMAGE_ATOMIC_INT64_FEATURES_EXT; } diff --git a/include/vulkan/vk_enum_string_helper.h b/include/vulkan/vk_enum_string_helper.h index 9ff6e79..457bb03 100644 --- a/include/vulkan/vk_enum_string_helper.h +++ b/include/vulkan/vk_enum_string_helper.h @@ -726,14 +726,6 @@ static inline const char* string_VkStructureType(VkStructureType input_value) { return "VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_DPB_SLOT_INFO_KHR"; case VK_STRUCTURE_TYPE_TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMD: return "VK_STRUCTURE_TYPE_TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMD"; - case VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR: - return "VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR"; - case VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_INFO_EXT: - return "VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_INFO_EXT"; - case VK_STRUCTURE_TYPE_ATTACHMENT_SAMPLE_COUNT_INFO_AMD: - return "VK_STRUCTURE_TYPE_ATTACHMENT_SAMPLE_COUNT_INFO_AMD"; - case VK_STRUCTURE_TYPE_MULTIVIEW_PER_VIEW_ATTRIBUTES_INFO_NVX: - return "VK_STRUCTURE_TYPE_MULTIVIEW_PER_VIEW_ATTRIBUTES_INFO_NVX"; case VK_STRUCTURE_TYPE_STREAM_DESCRIPTOR_SURFACE_CREATE_INFO_GGP: return "VK_STRUCTURE_TYPE_STREAM_DESCRIPTOR_SURFACE_CREATE_INFO_GGP"; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CORNER_SAMPLED_IMAGE_FEATURES_NV: @@ -816,6 +808,8 @@ static inline const char* string_VkStructureType(VkStructureType input_value) { return "VK_STRUCTURE_TYPE_PRESENT_TIMES_INFO_GOOGLE"; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_ATTRIBUTES_PROPERTIES_NVX: return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_ATTRIBUTES_PROPERTIES_NVX"; + case VK_STRUCTURE_TYPE_MULTIVIEW_PER_VIEW_ATTRIBUTES_INFO_NVX: + return "VK_STRUCTURE_TYPE_MULTIVIEW_PER_VIEW_ATTRIBUTES_INFO_NVX"; case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV: return "VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV"; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DISCARD_RECTANGLE_PROPERTIES_EXT: @@ -916,6 +910,8 @@ static inline const char* string_VkStructureType(VkStructureType input_value) { case VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_NODE_CREATE_INFO_AMDX: return "VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_NODE_CREATE_INFO_AMDX"; #endif // VK_ENABLE_BETA_EXTENSIONS + case VK_STRUCTURE_TYPE_ATTACHMENT_SAMPLE_COUNT_INFO_AMD: + return "VK_STRUCTURE_TYPE_ATTACHMENT_SAMPLE_COUNT_INFO_AMD"; case VK_STRUCTURE_TYPE_SAMPLE_LOCATIONS_INFO_EXT: return "VK_STRUCTURE_TYPE_SAMPLE_LOCATIONS_INFO_EXT"; case VK_STRUCTURE_TYPE_RENDER_PASS_SAMPLE_LOCATIONS_BEGIN_INFO_EXT: @@ -1092,6 +1088,10 @@ static inline const char* string_VkStructureType(VkStructureType input_value) { return "VK_STRUCTURE_TYPE_CHECKPOINT_DATA_NV"; case VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_NV: return "VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_NV"; + case VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_2_NV: + return "VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_2_NV"; + case VK_STRUCTURE_TYPE_CHECKPOINT_DATA_2_NV: + return "VK_STRUCTURE_TYPE_CHECKPOINT_DATA_2_NV"; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_FUNCTIONS_2_FEATURES_INTEL: return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_FUNCTIONS_2_FEATURES_INTEL"; case VK_STRUCTURE_TYPE_QUERY_POOL_PERFORMANCE_QUERY_CREATE_INFO_INTEL: @@ -1122,6 +1122,8 @@ static inline const char* string_VkStructureType(VkStructureType input_value) { return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_PROPERTIES_EXT"; case VK_STRUCTURE_TYPE_RENDER_PASS_FRAGMENT_DENSITY_MAP_CREATE_INFO_EXT: return "VK_STRUCTURE_TYPE_RENDER_PASS_FRAGMENT_DENSITY_MAP_CREATE_INFO_EXT"; + case VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_INFO_EXT: + return "VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_INFO_EXT"; case VK_STRUCTURE_TYPE_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR: return "VK_STRUCTURE_TYPE_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR"; case VK_STRUCTURE_TYPE_PIPELINE_FRAGMENT_SHADING_RATE_STATE_CREATE_INFO_KHR: @@ -1132,6 +1134,8 @@ static inline const char* string_VkStructureType(VkStructureType input_value) { return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_FEATURES_KHR"; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_KHR: return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_KHR"; + case VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR: + return "VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR"; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_2_AMD: return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_2_AMD"; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COHERENT_MEMORY_FEATURES_AMD: @@ -1382,10 +1386,6 @@ static inline const char* string_VkStructureType(VkStructureType input_value) { return "VK_STRUCTURE_TYPE_EXPORT_METAL_SHARED_EVENT_INFO_EXT"; case VK_STRUCTURE_TYPE_IMPORT_METAL_SHARED_EVENT_INFO_EXT: return "VK_STRUCTURE_TYPE_IMPORT_METAL_SHARED_EVENT_INFO_EXT"; - case VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_2_NV: - return "VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_2_NV"; - case VK_STRUCTURE_TYPE_CHECKPOINT_DATA_2_NV: - return "VK_STRUCTURE_TYPE_CHECKPOINT_DATA_2_NV"; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_BUFFER_PROPERTIES_EXT: return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_BUFFER_PROPERTIES_EXT"; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_BUFFER_DENSITY_MAP_PROPERTIES_EXT: @@ -6019,10 +6019,6 @@ static inline const char* string_VkPipelineCreateFlagBits(VkPipelineCreateFlagBi return "VK_PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT"; case VK_PIPELINE_CREATE_EARLY_RETURN_ON_FAILURE_BIT: return "VK_PIPELINE_CREATE_EARLY_RETURN_ON_FAILURE_BIT"; - case VK_PIPELINE_CREATE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR: - return "VK_PIPELINE_CREATE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR"; - case VK_PIPELINE_CREATE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT: - return "VK_PIPELINE_CREATE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT"; case VK_PIPELINE_CREATE_RAY_TRACING_NO_NULL_ANY_HIT_SHADERS_BIT_KHR: return "VK_PIPELINE_CREATE_RAY_TRACING_NO_NULL_ANY_HIT_SHADERS_BIT_KHR"; case VK_PIPELINE_CREATE_RAY_TRACING_NO_NULL_CLOSEST_HIT_SHADERS_BIT_KHR: @@ -6039,6 +6035,10 @@ static inline const char* string_VkPipelineCreateFlagBits(VkPipelineCreateFlagBi return "VK_PIPELINE_CREATE_RAY_TRACING_SHADER_GROUP_HANDLE_CAPTURE_REPLAY_BIT_KHR"; case VK_PIPELINE_CREATE_DEFER_COMPILE_BIT_NV: return "VK_PIPELINE_CREATE_DEFER_COMPILE_BIT_NV"; + case VK_PIPELINE_CREATE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT: + return "VK_PIPELINE_CREATE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT"; + case VK_PIPELINE_CREATE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR: + return "VK_PIPELINE_CREATE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR"; case VK_PIPELINE_CREATE_CAPTURE_STATISTICS_BIT_KHR: return "VK_PIPELINE_CREATE_CAPTURE_STATISTICS_BIT_KHR"; case VK_PIPELINE_CREATE_CAPTURE_INTERNAL_REPRESENTATIONS_BIT_KHR: diff --git a/scripts/known_good.json b/scripts/known_good.json index a36bba4..536f291 100644 --- a/scripts/known_good.json +++ b/scripts/known_good.json @@ -7,7 +7,7 @@ "sub_dir": "Vulkan-Headers", "build_dir": "Vulkan-Headers/build", "install_dir": "Vulkan-Headers/build/install", - "commit": "v1.3.298" + "commit": "v1.3.299" }, { "name": "googletest", diff --git a/src/vulkan/vk_safe_struct_ext.cpp b/src/vulkan/vk_safe_struct_ext.cpp index 26feba8..52d2613 100644 --- a/src/vulkan/vk_safe_struct_ext.cpp +++ b/src/vulkan/vk_safe_struct_ext.cpp @@ -21,60 +21,6 @@ namespace vku { -safe_VkRenderingFragmentDensityMapAttachmentInfoEXT::safe_VkRenderingFragmentDensityMapAttachmentInfoEXT( - const VkRenderingFragmentDensityMapAttachmentInfoEXT* in_struct, [[maybe_unused]] PNextCopyState* copy_state, bool copy_pnext) - : sType(in_struct->sType), imageView(in_struct->imageView), imageLayout(in_struct->imageLayout) { - if (copy_pnext) { - pNext = SafePnextCopy(in_struct->pNext, copy_state); - } -} - -safe_VkRenderingFragmentDensityMapAttachmentInfoEXT::safe_VkRenderingFragmentDensityMapAttachmentInfoEXT() - : sType(VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_INFO_EXT), pNext(nullptr), imageView(), imageLayout() {} - -safe_VkRenderingFragmentDensityMapAttachmentInfoEXT::safe_VkRenderingFragmentDensityMapAttachmentInfoEXT( - const safe_VkRenderingFragmentDensityMapAttachmentInfoEXT& copy_src) { - sType = copy_src.sType; - imageView = copy_src.imageView; - imageLayout = copy_src.imageLayout; - pNext = SafePnextCopy(copy_src.pNext); -} - -safe_VkRenderingFragmentDensityMapAttachmentInfoEXT& safe_VkRenderingFragmentDensityMapAttachmentInfoEXT::operator=( - const safe_VkRenderingFragmentDensityMapAttachmentInfoEXT& copy_src) { - if (©_src == this) return *this; - - FreePnextChain(pNext); - - sType = copy_src.sType; - imageView = copy_src.imageView; - imageLayout = copy_src.imageLayout; - pNext = SafePnextCopy(copy_src.pNext); - - return *this; -} - -safe_VkRenderingFragmentDensityMapAttachmentInfoEXT::~safe_VkRenderingFragmentDensityMapAttachmentInfoEXT() { - FreePnextChain(pNext); -} - -void safe_VkRenderingFragmentDensityMapAttachmentInfoEXT::initialize( - const VkRenderingFragmentDensityMapAttachmentInfoEXT* in_struct, [[maybe_unused]] PNextCopyState* copy_state) { - FreePnextChain(pNext); - sType = in_struct->sType; - imageView = in_struct->imageView; - imageLayout = in_struct->imageLayout; - pNext = SafePnextCopy(in_struct->pNext, copy_state); -} - -void safe_VkRenderingFragmentDensityMapAttachmentInfoEXT::initialize( - const safe_VkRenderingFragmentDensityMapAttachmentInfoEXT* copy_src, [[maybe_unused]] PNextCopyState* copy_state) { - sType = copy_src->sType; - imageView = copy_src->imageView; - imageLayout = copy_src->imageLayout; - pNext = SafePnextCopy(copy_src->pNext); -} - safe_VkSetDescriptorBufferOffsetsInfoEXT::safe_VkSetDescriptorBufferOffsetsInfoEXT( const VkSetDescriptorBufferOffsetsInfoEXT* in_struct, [[maybe_unused]] PNextCopyState* copy_state, bool copy_pnext) : sType(in_struct->sType), @@ -4472,6 +4418,60 @@ void safe_VkRenderPassFragmentDensityMapCreateInfoEXT::initialize(const safe_VkR pNext = SafePnextCopy(copy_src->pNext); } +safe_VkRenderingFragmentDensityMapAttachmentInfoEXT::safe_VkRenderingFragmentDensityMapAttachmentInfoEXT( + const VkRenderingFragmentDensityMapAttachmentInfoEXT* in_struct, [[maybe_unused]] PNextCopyState* copy_state, bool copy_pnext) + : sType(in_struct->sType), imageView(in_struct->imageView), imageLayout(in_struct->imageLayout) { + if (copy_pnext) { + pNext = SafePnextCopy(in_struct->pNext, copy_state); + } +} + +safe_VkRenderingFragmentDensityMapAttachmentInfoEXT::safe_VkRenderingFragmentDensityMapAttachmentInfoEXT() + : sType(VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_INFO_EXT), pNext(nullptr), imageView(), imageLayout() {} + +safe_VkRenderingFragmentDensityMapAttachmentInfoEXT::safe_VkRenderingFragmentDensityMapAttachmentInfoEXT( + const safe_VkRenderingFragmentDensityMapAttachmentInfoEXT& copy_src) { + sType = copy_src.sType; + imageView = copy_src.imageView; + imageLayout = copy_src.imageLayout; + pNext = SafePnextCopy(copy_src.pNext); +} + +safe_VkRenderingFragmentDensityMapAttachmentInfoEXT& safe_VkRenderingFragmentDensityMapAttachmentInfoEXT::operator=( + const safe_VkRenderingFragmentDensityMapAttachmentInfoEXT& copy_src) { + if (©_src == this) return *this; + + FreePnextChain(pNext); + + sType = copy_src.sType; + imageView = copy_src.imageView; + imageLayout = copy_src.imageLayout; + pNext = SafePnextCopy(copy_src.pNext); + + return *this; +} + +safe_VkRenderingFragmentDensityMapAttachmentInfoEXT::~safe_VkRenderingFragmentDensityMapAttachmentInfoEXT() { + FreePnextChain(pNext); +} + +void safe_VkRenderingFragmentDensityMapAttachmentInfoEXT::initialize( + const VkRenderingFragmentDensityMapAttachmentInfoEXT* in_struct, [[maybe_unused]] PNextCopyState* copy_state) { + FreePnextChain(pNext); + sType = in_struct->sType; + imageView = in_struct->imageView; + imageLayout = in_struct->imageLayout; + pNext = SafePnextCopy(in_struct->pNext, copy_state); +} + +void safe_VkRenderingFragmentDensityMapAttachmentInfoEXT::initialize( + const safe_VkRenderingFragmentDensityMapAttachmentInfoEXT* copy_src, [[maybe_unused]] PNextCopyState* copy_state) { + sType = copy_src->sType; + imageView = copy_src->imageView; + imageLayout = copy_src->imageLayout; + pNext = SafePnextCopy(copy_src->pNext); +} + safe_VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT::safe_VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT( const VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT* in_struct, [[maybe_unused]] PNextCopyState* copy_state, bool copy_pnext) diff --git a/src/vulkan/vk_safe_struct_khr.cpp b/src/vulkan/vk_safe_struct_khr.cpp index 7ece3b2..994a7af 100644 --- a/src/vulkan/vk_safe_struct_khr.cpp +++ b/src/vulkan/vk_safe_struct_khr.cpp @@ -5304,71 +5304,6 @@ void safe_VkVideoDecodeH264DpbSlotInfoKHR::initialize(const safe_VkVideoDecodeH2 pStdReferenceInfo = new StdVideoDecodeH264ReferenceInfo(*copy_src->pStdReferenceInfo); } } - -safe_VkRenderingFragmentShadingRateAttachmentInfoKHR::safe_VkRenderingFragmentShadingRateAttachmentInfoKHR( - const VkRenderingFragmentShadingRateAttachmentInfoKHR* in_struct, [[maybe_unused]] PNextCopyState* copy_state, bool copy_pnext) - : sType(in_struct->sType), - imageView(in_struct->imageView), - imageLayout(in_struct->imageLayout), - shadingRateAttachmentTexelSize(in_struct->shadingRateAttachmentTexelSize) { - if (copy_pnext) { - pNext = SafePnextCopy(in_struct->pNext, copy_state); - } -} - -safe_VkRenderingFragmentShadingRateAttachmentInfoKHR::safe_VkRenderingFragmentShadingRateAttachmentInfoKHR() - : sType(VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR), - pNext(nullptr), - imageView(), - imageLayout(), - shadingRateAttachmentTexelSize() {} - -safe_VkRenderingFragmentShadingRateAttachmentInfoKHR::safe_VkRenderingFragmentShadingRateAttachmentInfoKHR( - const safe_VkRenderingFragmentShadingRateAttachmentInfoKHR& copy_src) { - sType = copy_src.sType; - imageView = copy_src.imageView; - imageLayout = copy_src.imageLayout; - shadingRateAttachmentTexelSize = copy_src.shadingRateAttachmentTexelSize; - pNext = SafePnextCopy(copy_src.pNext); -} - -safe_VkRenderingFragmentShadingRateAttachmentInfoKHR& safe_VkRenderingFragmentShadingRateAttachmentInfoKHR::operator=( - const safe_VkRenderingFragmentShadingRateAttachmentInfoKHR& copy_src) { - if (©_src == this) return *this; - - FreePnextChain(pNext); - - sType = copy_src.sType; - imageView = copy_src.imageView; - imageLayout = copy_src.imageLayout; - shadingRateAttachmentTexelSize = copy_src.shadingRateAttachmentTexelSize; - pNext = SafePnextCopy(copy_src.pNext); - - return *this; -} - -safe_VkRenderingFragmentShadingRateAttachmentInfoKHR::~safe_VkRenderingFragmentShadingRateAttachmentInfoKHR() { - FreePnextChain(pNext); -} - -void safe_VkRenderingFragmentShadingRateAttachmentInfoKHR::initialize( - const VkRenderingFragmentShadingRateAttachmentInfoKHR* in_struct, [[maybe_unused]] PNextCopyState* copy_state) { - FreePnextChain(pNext); - sType = in_struct->sType; - imageView = in_struct->imageView; - imageLayout = in_struct->imageLayout; - shadingRateAttachmentTexelSize = in_struct->shadingRateAttachmentTexelSize; - pNext = SafePnextCopy(in_struct->pNext, copy_state); -} - -void safe_VkRenderingFragmentShadingRateAttachmentInfoKHR::initialize( - const safe_VkRenderingFragmentShadingRateAttachmentInfoKHR* copy_src, [[maybe_unused]] PNextCopyState* copy_state) { - sType = copy_src->sType; - imageView = copy_src->imageView; - imageLayout = copy_src->imageLayout; - shadingRateAttachmentTexelSize = copy_src->shadingRateAttachmentTexelSize; - pNext = SafePnextCopy(copy_src->pNext); -} #ifdef VK_USE_PLATFORM_WIN32_KHR safe_VkImportMemoryWin32HandleInfoKHR::safe_VkImportMemoryWin32HandleInfoKHR(const VkImportMemoryWin32HandleInfoKHR* in_struct, @@ -9207,6 +9142,71 @@ void safe_VkPhysicalDeviceFragmentShadingRateKHR::initialize(const safe_VkPhysic pNext = SafePnextCopy(copy_src->pNext); } +safe_VkRenderingFragmentShadingRateAttachmentInfoKHR::safe_VkRenderingFragmentShadingRateAttachmentInfoKHR( + const VkRenderingFragmentShadingRateAttachmentInfoKHR* in_struct, [[maybe_unused]] PNextCopyState* copy_state, bool copy_pnext) + : sType(in_struct->sType), + imageView(in_struct->imageView), + imageLayout(in_struct->imageLayout), + shadingRateAttachmentTexelSize(in_struct->shadingRateAttachmentTexelSize) { + if (copy_pnext) { + pNext = SafePnextCopy(in_struct->pNext, copy_state); + } +} + +safe_VkRenderingFragmentShadingRateAttachmentInfoKHR::safe_VkRenderingFragmentShadingRateAttachmentInfoKHR() + : sType(VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR), + pNext(nullptr), + imageView(), + imageLayout(), + shadingRateAttachmentTexelSize() {} + +safe_VkRenderingFragmentShadingRateAttachmentInfoKHR::safe_VkRenderingFragmentShadingRateAttachmentInfoKHR( + const safe_VkRenderingFragmentShadingRateAttachmentInfoKHR& copy_src) { + sType = copy_src.sType; + imageView = copy_src.imageView; + imageLayout = copy_src.imageLayout; + shadingRateAttachmentTexelSize = copy_src.shadingRateAttachmentTexelSize; + pNext = SafePnextCopy(copy_src.pNext); +} + +safe_VkRenderingFragmentShadingRateAttachmentInfoKHR& safe_VkRenderingFragmentShadingRateAttachmentInfoKHR::operator=( + const safe_VkRenderingFragmentShadingRateAttachmentInfoKHR& copy_src) { + if (©_src == this) return *this; + + FreePnextChain(pNext); + + sType = copy_src.sType; + imageView = copy_src.imageView; + imageLayout = copy_src.imageLayout; + shadingRateAttachmentTexelSize = copy_src.shadingRateAttachmentTexelSize; + pNext = SafePnextCopy(copy_src.pNext); + + return *this; +} + +safe_VkRenderingFragmentShadingRateAttachmentInfoKHR::~safe_VkRenderingFragmentShadingRateAttachmentInfoKHR() { + FreePnextChain(pNext); +} + +void safe_VkRenderingFragmentShadingRateAttachmentInfoKHR::initialize( + const VkRenderingFragmentShadingRateAttachmentInfoKHR* in_struct, [[maybe_unused]] PNextCopyState* copy_state) { + FreePnextChain(pNext); + sType = in_struct->sType; + imageView = in_struct->imageView; + imageLayout = in_struct->imageLayout; + shadingRateAttachmentTexelSize = in_struct->shadingRateAttachmentTexelSize; + pNext = SafePnextCopy(in_struct->pNext, copy_state); +} + +void safe_VkRenderingFragmentShadingRateAttachmentInfoKHR::initialize( + const safe_VkRenderingFragmentShadingRateAttachmentInfoKHR* copy_src, [[maybe_unused]] PNextCopyState* copy_state) { + sType = copy_src->sType; + imageView = copy_src->imageView; + imageLayout = copy_src->imageLayout; + shadingRateAttachmentTexelSize = copy_src->shadingRateAttachmentTexelSize; + pNext = SafePnextCopy(copy_src->pNext); +} + safe_VkPhysicalDeviceDynamicRenderingLocalReadFeaturesKHR::safe_VkPhysicalDeviceDynamicRenderingLocalReadFeaturesKHR( const VkPhysicalDeviceDynamicRenderingLocalReadFeaturesKHR* in_struct, [[maybe_unused]] PNextCopyState* copy_state, bool copy_pnext) diff --git a/src/vulkan/vk_safe_struct_utils.cpp b/src/vulkan/vk_safe_struct_utils.cpp index dd0b2b2..d8750d8 100644 --- a/src/vulkan/vk_safe_struct_utils.cpp +++ b/src/vulkan/vk_safe_struct_utils.cpp @@ -516,18 +516,6 @@ void *SafePnextCopy(const void *pNext, PNextCopyState* copy_state) { case VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_DPB_SLOT_INFO_KHR: safe_pNext = new safe_VkVideoDecodeH264DpbSlotInfoKHR(reinterpret_cast(pNext), copy_state, false); break; - case VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR: - safe_pNext = new safe_VkRenderingFragmentShadingRateAttachmentInfoKHR(reinterpret_cast(pNext), copy_state, false); - break; - case VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_INFO_EXT: - safe_pNext = new safe_VkRenderingFragmentDensityMapAttachmentInfoEXT(reinterpret_cast(pNext), copy_state, false); - break; - case VK_STRUCTURE_TYPE_ATTACHMENT_SAMPLE_COUNT_INFO_AMD: - safe_pNext = new safe_VkAttachmentSampleCountInfoAMD(reinterpret_cast(pNext), copy_state, false); - break; - case VK_STRUCTURE_TYPE_MULTIVIEW_PER_VIEW_ATTRIBUTES_INFO_NVX: - safe_pNext = new safe_VkMultiviewPerViewAttributesInfoNVX(reinterpret_cast(pNext), copy_state, false); - break; #ifdef VK_USE_PLATFORM_WIN32_KHR case VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR: safe_pNext = new safe_VkImportMemoryWin32HandleInfoKHR(reinterpret_cast(pNext), copy_state, false); @@ -626,6 +614,9 @@ void *SafePnextCopy(const void *pNext, PNextCopyState* copy_state) { case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_PROPERTIES_KHR: safe_pNext = new safe_VkPhysicalDeviceFragmentShadingRatePropertiesKHR(reinterpret_cast(pNext), copy_state, false); break; + case VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR: + safe_pNext = new safe_VkRenderingFragmentShadingRateAttachmentInfoKHR(reinterpret_cast(pNext), copy_state, false); + break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_LOCAL_READ_FEATURES_KHR: safe_pNext = new safe_VkPhysicalDeviceDynamicRenderingLocalReadFeaturesKHR(reinterpret_cast(pNext), copy_state, false); break; @@ -671,9 +662,6 @@ void *SafePnextCopy(const void *pNext, PNextCopyState* copy_state) { case VK_STRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHR: safe_pNext = new safe_VkVideoEncodeQualityLevelInfoKHR(reinterpret_cast(pNext), copy_state, false); break; - case VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_2_NV: - safe_pNext = new safe_VkQueueFamilyCheckpointProperties2NV(reinterpret_cast(pNext), copy_state, false); - break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_FEATURES_KHR: safe_pNext = new safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesKHR(reinterpret_cast(pNext), copy_state, false); break; @@ -889,6 +877,9 @@ void *SafePnextCopy(const void *pNext, PNextCopyState* copy_state) { case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_ATTRIBUTES_PROPERTIES_NVX: safe_pNext = new safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX(reinterpret_cast(pNext), copy_state, false); break; + case VK_STRUCTURE_TYPE_MULTIVIEW_PER_VIEW_ATTRIBUTES_INFO_NVX: + safe_pNext = new safe_VkMultiviewPerViewAttributesInfoNVX(reinterpret_cast(pNext), copy_state, false); + break; case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV: safe_pNext = new safe_VkPipelineViewportSwizzleStateCreateInfoNV(reinterpret_cast(pNext), copy_state, false); break; @@ -950,6 +941,9 @@ void *SafePnextCopy(const void *pNext, PNextCopyState* copy_state) { safe_pNext = new safe_VkPipelineShaderStageNodeCreateInfoAMDX(reinterpret_cast(pNext), copy_state, false); break; #endif // VK_ENABLE_BETA_EXTENSIONS + case VK_STRUCTURE_TYPE_ATTACHMENT_SAMPLE_COUNT_INFO_AMD: + safe_pNext = new safe_VkAttachmentSampleCountInfoAMD(reinterpret_cast(pNext), copy_state, false); + break; case VK_STRUCTURE_TYPE_SAMPLE_LOCATIONS_INFO_EXT: safe_pNext = new safe_VkSampleLocationsInfoEXT(reinterpret_cast(pNext), copy_state, false); break; @@ -1072,6 +1066,9 @@ void *SafePnextCopy(const void *pNext, PNextCopyState* copy_state) { case VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_NV: safe_pNext = new safe_VkQueueFamilyCheckpointPropertiesNV(reinterpret_cast(pNext), copy_state, false); break; + case VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_2_NV: + safe_pNext = new safe_VkQueueFamilyCheckpointProperties2NV(reinterpret_cast(pNext), copy_state, false); + break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_FUNCTIONS_2_FEATURES_INTEL: safe_pNext = new safe_VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL(reinterpret_cast(pNext), copy_state, false); break; @@ -1096,6 +1093,9 @@ void *SafePnextCopy(const void *pNext, PNextCopyState* copy_state) { case VK_STRUCTURE_TYPE_RENDER_PASS_FRAGMENT_DENSITY_MAP_CREATE_INFO_EXT: safe_pNext = new safe_VkRenderPassFragmentDensityMapCreateInfoEXT(reinterpret_cast(pNext), copy_state, false); break; + case VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_INFO_EXT: + safe_pNext = new safe_VkRenderingFragmentDensityMapAttachmentInfoEXT(reinterpret_cast(pNext), copy_state, false); + break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_2_AMD: safe_pNext = new safe_VkPhysicalDeviceShaderCoreProperties2AMD(reinterpret_cast(pNext), copy_state, false); break; @@ -2402,18 +2402,6 @@ void FreePnextChain(const void *pNext) { case VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_DPB_SLOT_INFO_KHR: delete reinterpret_cast(header); break; - case VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR: - delete reinterpret_cast(header); - break; - case VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_INFO_EXT: - delete reinterpret_cast(header); - break; - case VK_STRUCTURE_TYPE_ATTACHMENT_SAMPLE_COUNT_INFO_AMD: - delete reinterpret_cast(header); - break; - case VK_STRUCTURE_TYPE_MULTIVIEW_PER_VIEW_ATTRIBUTES_INFO_NVX: - delete reinterpret_cast(header); - break; #ifdef VK_USE_PLATFORM_WIN32_KHR case VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR: delete reinterpret_cast(header); @@ -2512,6 +2500,9 @@ void FreePnextChain(const void *pNext) { case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_PROPERTIES_KHR: delete reinterpret_cast(header); break; + case VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR: + delete reinterpret_cast(header); + break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_LOCAL_READ_FEATURES_KHR: delete reinterpret_cast(header); break; @@ -2557,9 +2548,6 @@ void FreePnextChain(const void *pNext) { case VK_STRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHR: delete reinterpret_cast(header); break; - case VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_2_NV: - delete reinterpret_cast(header); - break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_FEATURES_KHR: delete reinterpret_cast(header); break; @@ -2775,6 +2763,9 @@ void FreePnextChain(const void *pNext) { case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_ATTRIBUTES_PROPERTIES_NVX: delete reinterpret_cast(header); break; + case VK_STRUCTURE_TYPE_MULTIVIEW_PER_VIEW_ATTRIBUTES_INFO_NVX: + delete reinterpret_cast(header); + break; case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV: delete reinterpret_cast(header); break; @@ -2836,6 +2827,9 @@ void FreePnextChain(const void *pNext) { delete reinterpret_cast(header); break; #endif // VK_ENABLE_BETA_EXTENSIONS + case VK_STRUCTURE_TYPE_ATTACHMENT_SAMPLE_COUNT_INFO_AMD: + delete reinterpret_cast(header); + break; case VK_STRUCTURE_TYPE_SAMPLE_LOCATIONS_INFO_EXT: delete reinterpret_cast(header); break; @@ -2958,6 +2952,9 @@ void FreePnextChain(const void *pNext) { case VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_NV: delete reinterpret_cast(header); break; + case VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_2_NV: + delete reinterpret_cast(header); + break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_FUNCTIONS_2_FEATURES_INTEL: delete reinterpret_cast(header); break; @@ -2982,6 +2979,9 @@ void FreePnextChain(const void *pNext) { case VK_STRUCTURE_TYPE_RENDER_PASS_FRAGMENT_DENSITY_MAP_CREATE_INFO_EXT: delete reinterpret_cast(header); break; + case VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_INFO_EXT: + delete reinterpret_cast(header); + break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_2_AMD: delete reinterpret_cast(header); break; diff --git a/src/vulkan/vk_safe_struct_vendor.cpp b/src/vulkan/vk_safe_struct_vendor.cpp index de94266..f086422 100644 --- a/src/vulkan/vk_safe_struct_vendor.cpp +++ b/src/vulkan/vk_safe_struct_vendor.cpp @@ -21,256 +21,6 @@ namespace vku { -safe_VkAttachmentSampleCountInfoAMD::safe_VkAttachmentSampleCountInfoAMD(const VkAttachmentSampleCountInfoAMD* in_struct, - [[maybe_unused]] PNextCopyState* copy_state, - bool copy_pnext) - : sType(in_struct->sType), - colorAttachmentCount(in_struct->colorAttachmentCount), - pColorAttachmentSamples(nullptr), - depthStencilAttachmentSamples(in_struct->depthStencilAttachmentSamples) { - if (copy_pnext) { - pNext = SafePnextCopy(in_struct->pNext, copy_state); - } - if (in_struct->pColorAttachmentSamples) { - pColorAttachmentSamples = new VkSampleCountFlagBits[in_struct->colorAttachmentCount]; - memcpy((void*)pColorAttachmentSamples, (void*)in_struct->pColorAttachmentSamples, - sizeof(VkSampleCountFlagBits) * in_struct->colorAttachmentCount); - } -} - -safe_VkAttachmentSampleCountInfoAMD::safe_VkAttachmentSampleCountInfoAMD() - : sType(VK_STRUCTURE_TYPE_ATTACHMENT_SAMPLE_COUNT_INFO_AMD), - pNext(nullptr), - colorAttachmentCount(), - pColorAttachmentSamples(nullptr), - depthStencilAttachmentSamples() {} - -safe_VkAttachmentSampleCountInfoAMD::safe_VkAttachmentSampleCountInfoAMD(const safe_VkAttachmentSampleCountInfoAMD& copy_src) { - sType = copy_src.sType; - colorAttachmentCount = copy_src.colorAttachmentCount; - pColorAttachmentSamples = nullptr; - depthStencilAttachmentSamples = copy_src.depthStencilAttachmentSamples; - pNext = SafePnextCopy(copy_src.pNext); - - if (copy_src.pColorAttachmentSamples) { - pColorAttachmentSamples = new VkSampleCountFlagBits[copy_src.colorAttachmentCount]; - memcpy((void*)pColorAttachmentSamples, (void*)copy_src.pColorAttachmentSamples, - sizeof(VkSampleCountFlagBits) * copy_src.colorAttachmentCount); - } -} - -safe_VkAttachmentSampleCountInfoAMD& safe_VkAttachmentSampleCountInfoAMD::operator=( - const safe_VkAttachmentSampleCountInfoAMD& copy_src) { - if (©_src == this) return *this; - - if (pColorAttachmentSamples) delete[] pColorAttachmentSamples; - FreePnextChain(pNext); - - sType = copy_src.sType; - colorAttachmentCount = copy_src.colorAttachmentCount; - pColorAttachmentSamples = nullptr; - depthStencilAttachmentSamples = copy_src.depthStencilAttachmentSamples; - pNext = SafePnextCopy(copy_src.pNext); - - if (copy_src.pColorAttachmentSamples) { - pColorAttachmentSamples = new VkSampleCountFlagBits[copy_src.colorAttachmentCount]; - memcpy((void*)pColorAttachmentSamples, (void*)copy_src.pColorAttachmentSamples, - sizeof(VkSampleCountFlagBits) * copy_src.colorAttachmentCount); - } - - return *this; -} - -safe_VkAttachmentSampleCountInfoAMD::~safe_VkAttachmentSampleCountInfoAMD() { - if (pColorAttachmentSamples) delete[] pColorAttachmentSamples; - FreePnextChain(pNext); -} - -void safe_VkAttachmentSampleCountInfoAMD::initialize(const VkAttachmentSampleCountInfoAMD* in_struct, - [[maybe_unused]] PNextCopyState* copy_state) { - if (pColorAttachmentSamples) delete[] pColorAttachmentSamples; - FreePnextChain(pNext); - sType = in_struct->sType; - colorAttachmentCount = in_struct->colorAttachmentCount; - pColorAttachmentSamples = nullptr; - depthStencilAttachmentSamples = in_struct->depthStencilAttachmentSamples; - pNext = SafePnextCopy(in_struct->pNext, copy_state); - - if (in_struct->pColorAttachmentSamples) { - pColorAttachmentSamples = new VkSampleCountFlagBits[in_struct->colorAttachmentCount]; - memcpy((void*)pColorAttachmentSamples, (void*)in_struct->pColorAttachmentSamples, - sizeof(VkSampleCountFlagBits) * in_struct->colorAttachmentCount); - } -} - -void safe_VkAttachmentSampleCountInfoAMD::initialize(const safe_VkAttachmentSampleCountInfoAMD* copy_src, - [[maybe_unused]] PNextCopyState* copy_state) { - sType = copy_src->sType; - colorAttachmentCount = copy_src->colorAttachmentCount; - pColorAttachmentSamples = nullptr; - depthStencilAttachmentSamples = copy_src->depthStencilAttachmentSamples; - pNext = SafePnextCopy(copy_src->pNext); - - if (copy_src->pColorAttachmentSamples) { - pColorAttachmentSamples = new VkSampleCountFlagBits[copy_src->colorAttachmentCount]; - memcpy((void*)pColorAttachmentSamples, (void*)copy_src->pColorAttachmentSamples, - sizeof(VkSampleCountFlagBits) * copy_src->colorAttachmentCount); - } -} - -safe_VkMultiviewPerViewAttributesInfoNVX::safe_VkMultiviewPerViewAttributesInfoNVX( - const VkMultiviewPerViewAttributesInfoNVX* in_struct, [[maybe_unused]] PNextCopyState* copy_state, bool copy_pnext) - : sType(in_struct->sType), - perViewAttributes(in_struct->perViewAttributes), - perViewAttributesPositionXOnly(in_struct->perViewAttributesPositionXOnly) { - if (copy_pnext) { - pNext = SafePnextCopy(in_struct->pNext, copy_state); - } -} - -safe_VkMultiviewPerViewAttributesInfoNVX::safe_VkMultiviewPerViewAttributesInfoNVX() - : sType(VK_STRUCTURE_TYPE_MULTIVIEW_PER_VIEW_ATTRIBUTES_INFO_NVX), - pNext(nullptr), - perViewAttributes(), - perViewAttributesPositionXOnly() {} - -safe_VkMultiviewPerViewAttributesInfoNVX::safe_VkMultiviewPerViewAttributesInfoNVX( - const safe_VkMultiviewPerViewAttributesInfoNVX& copy_src) { - sType = copy_src.sType; - perViewAttributes = copy_src.perViewAttributes; - perViewAttributesPositionXOnly = copy_src.perViewAttributesPositionXOnly; - pNext = SafePnextCopy(copy_src.pNext); -} - -safe_VkMultiviewPerViewAttributesInfoNVX& safe_VkMultiviewPerViewAttributesInfoNVX::operator=( - const safe_VkMultiviewPerViewAttributesInfoNVX& copy_src) { - if (©_src == this) return *this; - - FreePnextChain(pNext); - - sType = copy_src.sType; - perViewAttributes = copy_src.perViewAttributes; - perViewAttributesPositionXOnly = copy_src.perViewAttributesPositionXOnly; - pNext = SafePnextCopy(copy_src.pNext); - - return *this; -} - -safe_VkMultiviewPerViewAttributesInfoNVX::~safe_VkMultiviewPerViewAttributesInfoNVX() { FreePnextChain(pNext); } - -void safe_VkMultiviewPerViewAttributesInfoNVX::initialize(const VkMultiviewPerViewAttributesInfoNVX* in_struct, - [[maybe_unused]] PNextCopyState* copy_state) { - FreePnextChain(pNext); - sType = in_struct->sType; - perViewAttributes = in_struct->perViewAttributes; - perViewAttributesPositionXOnly = in_struct->perViewAttributesPositionXOnly; - pNext = SafePnextCopy(in_struct->pNext, copy_state); -} - -void safe_VkMultiviewPerViewAttributesInfoNVX::initialize(const safe_VkMultiviewPerViewAttributesInfoNVX* copy_src, - [[maybe_unused]] PNextCopyState* copy_state) { - sType = copy_src->sType; - perViewAttributes = copy_src->perViewAttributes; - perViewAttributesPositionXOnly = copy_src->perViewAttributesPositionXOnly; - pNext = SafePnextCopy(copy_src->pNext); -} - -safe_VkQueueFamilyCheckpointProperties2NV::safe_VkQueueFamilyCheckpointProperties2NV( - const VkQueueFamilyCheckpointProperties2NV* in_struct, [[maybe_unused]] PNextCopyState* copy_state, bool copy_pnext) - : sType(in_struct->sType), checkpointExecutionStageMask(in_struct->checkpointExecutionStageMask) { - if (copy_pnext) { - pNext = SafePnextCopy(in_struct->pNext, copy_state); - } -} - -safe_VkQueueFamilyCheckpointProperties2NV::safe_VkQueueFamilyCheckpointProperties2NV() - : sType(VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_2_NV), pNext(nullptr), checkpointExecutionStageMask() {} - -safe_VkQueueFamilyCheckpointProperties2NV::safe_VkQueueFamilyCheckpointProperties2NV( - const safe_VkQueueFamilyCheckpointProperties2NV& copy_src) { - sType = copy_src.sType; - checkpointExecutionStageMask = copy_src.checkpointExecutionStageMask; - pNext = SafePnextCopy(copy_src.pNext); -} - -safe_VkQueueFamilyCheckpointProperties2NV& safe_VkQueueFamilyCheckpointProperties2NV::operator=( - const safe_VkQueueFamilyCheckpointProperties2NV& copy_src) { - if (©_src == this) return *this; - - FreePnextChain(pNext); - - sType = copy_src.sType; - checkpointExecutionStageMask = copy_src.checkpointExecutionStageMask; - pNext = SafePnextCopy(copy_src.pNext); - - return *this; -} - -safe_VkQueueFamilyCheckpointProperties2NV::~safe_VkQueueFamilyCheckpointProperties2NV() { FreePnextChain(pNext); } - -void safe_VkQueueFamilyCheckpointProperties2NV::initialize(const VkQueueFamilyCheckpointProperties2NV* in_struct, - [[maybe_unused]] PNextCopyState* copy_state) { - FreePnextChain(pNext); - sType = in_struct->sType; - checkpointExecutionStageMask = in_struct->checkpointExecutionStageMask; - pNext = SafePnextCopy(in_struct->pNext, copy_state); -} - -void safe_VkQueueFamilyCheckpointProperties2NV::initialize(const safe_VkQueueFamilyCheckpointProperties2NV* copy_src, - [[maybe_unused]] PNextCopyState* copy_state) { - sType = copy_src->sType; - checkpointExecutionStageMask = copy_src->checkpointExecutionStageMask; - pNext = SafePnextCopy(copy_src->pNext); -} - -safe_VkCheckpointData2NV::safe_VkCheckpointData2NV(const VkCheckpointData2NV* in_struct, - [[maybe_unused]] PNextCopyState* copy_state, bool copy_pnext) - : sType(in_struct->sType), stage(in_struct->stage), pCheckpointMarker(in_struct->pCheckpointMarker) { - if (copy_pnext) { - pNext = SafePnextCopy(in_struct->pNext, copy_state); - } -} - -safe_VkCheckpointData2NV::safe_VkCheckpointData2NV() - : sType(VK_STRUCTURE_TYPE_CHECKPOINT_DATA_2_NV), pNext(nullptr), stage(), pCheckpointMarker(nullptr) {} - -safe_VkCheckpointData2NV::safe_VkCheckpointData2NV(const safe_VkCheckpointData2NV& copy_src) { - sType = copy_src.sType; - stage = copy_src.stage; - pCheckpointMarker = copy_src.pCheckpointMarker; - pNext = SafePnextCopy(copy_src.pNext); -} - -safe_VkCheckpointData2NV& safe_VkCheckpointData2NV::operator=(const safe_VkCheckpointData2NV& copy_src) { - if (©_src == this) return *this; - - FreePnextChain(pNext); - - sType = copy_src.sType; - stage = copy_src.stage; - pCheckpointMarker = copy_src.pCheckpointMarker; - pNext = SafePnextCopy(copy_src.pNext); - - return *this; -} - -safe_VkCheckpointData2NV::~safe_VkCheckpointData2NV() { FreePnextChain(pNext); } - -void safe_VkCheckpointData2NV::initialize(const VkCheckpointData2NV* in_struct, [[maybe_unused]] PNextCopyState* copy_state) { - FreePnextChain(pNext); - sType = in_struct->sType; - stage = in_struct->stage; - pCheckpointMarker = in_struct->pCheckpointMarker; - pNext = SafePnextCopy(in_struct->pNext, copy_state); -} - -void safe_VkCheckpointData2NV::initialize(const safe_VkCheckpointData2NV* copy_src, [[maybe_unused]] PNextCopyState* copy_state) { - sType = copy_src->sType; - stage = copy_src->stage; - pCheckpointMarker = copy_src->pCheckpointMarker; - pNext = SafePnextCopy(copy_src->pNext); -} - safe_VkPipelineRasterizationStateRasterizationOrderAMD::safe_VkPipelineRasterizationStateRasterizationOrderAMD( const VkPipelineRasterizationStateRasterizationOrderAMD* in_struct, [[maybe_unused]] PNextCopyState* copy_state, bool copy_pnext) @@ -1738,6 +1488,63 @@ void safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX::initialize( pNext = SafePnextCopy(copy_src->pNext); } +safe_VkMultiviewPerViewAttributesInfoNVX::safe_VkMultiviewPerViewAttributesInfoNVX( + const VkMultiviewPerViewAttributesInfoNVX* in_struct, [[maybe_unused]] PNextCopyState* copy_state, bool copy_pnext) + : sType(in_struct->sType), + perViewAttributes(in_struct->perViewAttributes), + perViewAttributesPositionXOnly(in_struct->perViewAttributesPositionXOnly) { + if (copy_pnext) { + pNext = SafePnextCopy(in_struct->pNext, copy_state); + } +} + +safe_VkMultiviewPerViewAttributesInfoNVX::safe_VkMultiviewPerViewAttributesInfoNVX() + : sType(VK_STRUCTURE_TYPE_MULTIVIEW_PER_VIEW_ATTRIBUTES_INFO_NVX), + pNext(nullptr), + perViewAttributes(), + perViewAttributesPositionXOnly() {} + +safe_VkMultiviewPerViewAttributesInfoNVX::safe_VkMultiviewPerViewAttributesInfoNVX( + const safe_VkMultiviewPerViewAttributesInfoNVX& copy_src) { + sType = copy_src.sType; + perViewAttributes = copy_src.perViewAttributes; + perViewAttributesPositionXOnly = copy_src.perViewAttributesPositionXOnly; + pNext = SafePnextCopy(copy_src.pNext); +} + +safe_VkMultiviewPerViewAttributesInfoNVX& safe_VkMultiviewPerViewAttributesInfoNVX::operator=( + const safe_VkMultiviewPerViewAttributesInfoNVX& copy_src) { + if (©_src == this) return *this; + + FreePnextChain(pNext); + + sType = copy_src.sType; + perViewAttributes = copy_src.perViewAttributes; + perViewAttributesPositionXOnly = copy_src.perViewAttributesPositionXOnly; + pNext = SafePnextCopy(copy_src.pNext); + + return *this; +} + +safe_VkMultiviewPerViewAttributesInfoNVX::~safe_VkMultiviewPerViewAttributesInfoNVX() { FreePnextChain(pNext); } + +void safe_VkMultiviewPerViewAttributesInfoNVX::initialize(const VkMultiviewPerViewAttributesInfoNVX* in_struct, + [[maybe_unused]] PNextCopyState* copy_state) { + FreePnextChain(pNext); + sType = in_struct->sType; + perViewAttributes = in_struct->perViewAttributes; + perViewAttributesPositionXOnly = in_struct->perViewAttributesPositionXOnly; + pNext = SafePnextCopy(in_struct->pNext, copy_state); +} + +void safe_VkMultiviewPerViewAttributesInfoNVX::initialize(const safe_VkMultiviewPerViewAttributesInfoNVX* copy_src, + [[maybe_unused]] PNextCopyState* copy_state) { + sType = copy_src->sType; + perViewAttributes = copy_src->perViewAttributes; + perViewAttributesPositionXOnly = copy_src->perViewAttributesPositionXOnly; + pNext = SafePnextCopy(copy_src->pNext); +} + safe_VkPipelineViewportSwizzleStateCreateInfoNV::safe_VkPipelineViewportSwizzleStateCreateInfoNV( const VkPipelineViewportSwizzleStateCreateInfoNV* in_struct, [[maybe_unused]] PNextCopyState* copy_state, bool copy_pnext) : sType(in_struct->sType), flags(in_struct->flags), viewportCount(in_struct->viewportCount), pViewportSwizzles(nullptr) { @@ -2758,6 +2565,103 @@ void safe_VkPipelineShaderStageNodeCreateInfoAMDX::initialize(const safe_VkPipel } #endif // VK_ENABLE_BETA_EXTENSIONS +safe_VkAttachmentSampleCountInfoAMD::safe_VkAttachmentSampleCountInfoAMD(const VkAttachmentSampleCountInfoAMD* in_struct, + [[maybe_unused]] PNextCopyState* copy_state, + bool copy_pnext) + : sType(in_struct->sType), + colorAttachmentCount(in_struct->colorAttachmentCount), + pColorAttachmentSamples(nullptr), + depthStencilAttachmentSamples(in_struct->depthStencilAttachmentSamples) { + if (copy_pnext) { + pNext = SafePnextCopy(in_struct->pNext, copy_state); + } + if (in_struct->pColorAttachmentSamples) { + pColorAttachmentSamples = new VkSampleCountFlagBits[in_struct->colorAttachmentCount]; + memcpy((void*)pColorAttachmentSamples, (void*)in_struct->pColorAttachmentSamples, + sizeof(VkSampleCountFlagBits) * in_struct->colorAttachmentCount); + } +} + +safe_VkAttachmentSampleCountInfoAMD::safe_VkAttachmentSampleCountInfoAMD() + : sType(VK_STRUCTURE_TYPE_ATTACHMENT_SAMPLE_COUNT_INFO_AMD), + pNext(nullptr), + colorAttachmentCount(), + pColorAttachmentSamples(nullptr), + depthStencilAttachmentSamples() {} + +safe_VkAttachmentSampleCountInfoAMD::safe_VkAttachmentSampleCountInfoAMD(const safe_VkAttachmentSampleCountInfoAMD& copy_src) { + sType = copy_src.sType; + colorAttachmentCount = copy_src.colorAttachmentCount; + pColorAttachmentSamples = nullptr; + depthStencilAttachmentSamples = copy_src.depthStencilAttachmentSamples; + pNext = SafePnextCopy(copy_src.pNext); + + if (copy_src.pColorAttachmentSamples) { + pColorAttachmentSamples = new VkSampleCountFlagBits[copy_src.colorAttachmentCount]; + memcpy((void*)pColorAttachmentSamples, (void*)copy_src.pColorAttachmentSamples, + sizeof(VkSampleCountFlagBits) * copy_src.colorAttachmentCount); + } +} + +safe_VkAttachmentSampleCountInfoAMD& safe_VkAttachmentSampleCountInfoAMD::operator=( + const safe_VkAttachmentSampleCountInfoAMD& copy_src) { + if (©_src == this) return *this; + + if (pColorAttachmentSamples) delete[] pColorAttachmentSamples; + FreePnextChain(pNext); + + sType = copy_src.sType; + colorAttachmentCount = copy_src.colorAttachmentCount; + pColorAttachmentSamples = nullptr; + depthStencilAttachmentSamples = copy_src.depthStencilAttachmentSamples; + pNext = SafePnextCopy(copy_src.pNext); + + if (copy_src.pColorAttachmentSamples) { + pColorAttachmentSamples = new VkSampleCountFlagBits[copy_src.colorAttachmentCount]; + memcpy((void*)pColorAttachmentSamples, (void*)copy_src.pColorAttachmentSamples, + sizeof(VkSampleCountFlagBits) * copy_src.colorAttachmentCount); + } + + return *this; +} + +safe_VkAttachmentSampleCountInfoAMD::~safe_VkAttachmentSampleCountInfoAMD() { + if (pColorAttachmentSamples) delete[] pColorAttachmentSamples; + FreePnextChain(pNext); +} + +void safe_VkAttachmentSampleCountInfoAMD::initialize(const VkAttachmentSampleCountInfoAMD* in_struct, + [[maybe_unused]] PNextCopyState* copy_state) { + if (pColorAttachmentSamples) delete[] pColorAttachmentSamples; + FreePnextChain(pNext); + sType = in_struct->sType; + colorAttachmentCount = in_struct->colorAttachmentCount; + pColorAttachmentSamples = nullptr; + depthStencilAttachmentSamples = in_struct->depthStencilAttachmentSamples; + pNext = SafePnextCopy(in_struct->pNext, copy_state); + + if (in_struct->pColorAttachmentSamples) { + pColorAttachmentSamples = new VkSampleCountFlagBits[in_struct->colorAttachmentCount]; + memcpy((void*)pColorAttachmentSamples, (void*)in_struct->pColorAttachmentSamples, + sizeof(VkSampleCountFlagBits) * in_struct->colorAttachmentCount); + } +} + +void safe_VkAttachmentSampleCountInfoAMD::initialize(const safe_VkAttachmentSampleCountInfoAMD* copy_src, + [[maybe_unused]] PNextCopyState* copy_state) { + sType = copy_src->sType; + colorAttachmentCount = copy_src->colorAttachmentCount; + pColorAttachmentSamples = nullptr; + depthStencilAttachmentSamples = copy_src->depthStencilAttachmentSamples; + pNext = SafePnextCopy(copy_src->pNext); + + if (copy_src->pColorAttachmentSamples) { + pColorAttachmentSamples = new VkSampleCountFlagBits[copy_src->colorAttachmentCount]; + memcpy((void*)pColorAttachmentSamples, (void*)copy_src->pColorAttachmentSamples, + sizeof(VkSampleCountFlagBits) * copy_src->colorAttachmentCount); + } +} + safe_VkPipelineCoverageToColorStateCreateInfoNV::safe_VkPipelineCoverageToColorStateCreateInfoNV( const VkPipelineCoverageToColorStateCreateInfoNV* in_struct, [[maybe_unused]] PNextCopyState* copy_state, bool copy_pnext) : sType(in_struct->sType), @@ -5328,6 +5232,102 @@ void safe_VkCheckpointDataNV::initialize(const safe_VkCheckpointDataNV* copy_src pNext = SafePnextCopy(copy_src->pNext); } +safe_VkQueueFamilyCheckpointProperties2NV::safe_VkQueueFamilyCheckpointProperties2NV( + const VkQueueFamilyCheckpointProperties2NV* in_struct, [[maybe_unused]] PNextCopyState* copy_state, bool copy_pnext) + : sType(in_struct->sType), checkpointExecutionStageMask(in_struct->checkpointExecutionStageMask) { + if (copy_pnext) { + pNext = SafePnextCopy(in_struct->pNext, copy_state); + } +} + +safe_VkQueueFamilyCheckpointProperties2NV::safe_VkQueueFamilyCheckpointProperties2NV() + : sType(VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_2_NV), pNext(nullptr), checkpointExecutionStageMask() {} + +safe_VkQueueFamilyCheckpointProperties2NV::safe_VkQueueFamilyCheckpointProperties2NV( + const safe_VkQueueFamilyCheckpointProperties2NV& copy_src) { + sType = copy_src.sType; + checkpointExecutionStageMask = copy_src.checkpointExecutionStageMask; + pNext = SafePnextCopy(copy_src.pNext); +} + +safe_VkQueueFamilyCheckpointProperties2NV& safe_VkQueueFamilyCheckpointProperties2NV::operator=( + const safe_VkQueueFamilyCheckpointProperties2NV& copy_src) { + if (©_src == this) return *this; + + FreePnextChain(pNext); + + sType = copy_src.sType; + checkpointExecutionStageMask = copy_src.checkpointExecutionStageMask; + pNext = SafePnextCopy(copy_src.pNext); + + return *this; +} + +safe_VkQueueFamilyCheckpointProperties2NV::~safe_VkQueueFamilyCheckpointProperties2NV() { FreePnextChain(pNext); } + +void safe_VkQueueFamilyCheckpointProperties2NV::initialize(const VkQueueFamilyCheckpointProperties2NV* in_struct, + [[maybe_unused]] PNextCopyState* copy_state) { + FreePnextChain(pNext); + sType = in_struct->sType; + checkpointExecutionStageMask = in_struct->checkpointExecutionStageMask; + pNext = SafePnextCopy(in_struct->pNext, copy_state); +} + +void safe_VkQueueFamilyCheckpointProperties2NV::initialize(const safe_VkQueueFamilyCheckpointProperties2NV* copy_src, + [[maybe_unused]] PNextCopyState* copy_state) { + sType = copy_src->sType; + checkpointExecutionStageMask = copy_src->checkpointExecutionStageMask; + pNext = SafePnextCopy(copy_src->pNext); +} + +safe_VkCheckpointData2NV::safe_VkCheckpointData2NV(const VkCheckpointData2NV* in_struct, + [[maybe_unused]] PNextCopyState* copy_state, bool copy_pnext) + : sType(in_struct->sType), stage(in_struct->stage), pCheckpointMarker(in_struct->pCheckpointMarker) { + if (copy_pnext) { + pNext = SafePnextCopy(in_struct->pNext, copy_state); + } +} + +safe_VkCheckpointData2NV::safe_VkCheckpointData2NV() + : sType(VK_STRUCTURE_TYPE_CHECKPOINT_DATA_2_NV), pNext(nullptr), stage(), pCheckpointMarker(nullptr) {} + +safe_VkCheckpointData2NV::safe_VkCheckpointData2NV(const safe_VkCheckpointData2NV& copy_src) { + sType = copy_src.sType; + stage = copy_src.stage; + pCheckpointMarker = copy_src.pCheckpointMarker; + pNext = SafePnextCopy(copy_src.pNext); +} + +safe_VkCheckpointData2NV& safe_VkCheckpointData2NV::operator=(const safe_VkCheckpointData2NV& copy_src) { + if (©_src == this) return *this; + + FreePnextChain(pNext); + + sType = copy_src.sType; + stage = copy_src.stage; + pCheckpointMarker = copy_src.pCheckpointMarker; + pNext = SafePnextCopy(copy_src.pNext); + + return *this; +} + +safe_VkCheckpointData2NV::~safe_VkCheckpointData2NV() { FreePnextChain(pNext); } + +void safe_VkCheckpointData2NV::initialize(const VkCheckpointData2NV* in_struct, [[maybe_unused]] PNextCopyState* copy_state) { + FreePnextChain(pNext); + sType = in_struct->sType; + stage = in_struct->stage; + pCheckpointMarker = in_struct->pCheckpointMarker; + pNext = SafePnextCopy(in_struct->pNext, copy_state); +} + +void safe_VkCheckpointData2NV::initialize(const safe_VkCheckpointData2NV* copy_src, [[maybe_unused]] PNextCopyState* copy_state) { + sType = copy_src->sType; + stage = copy_src->stage; + pCheckpointMarker = copy_src->pCheckpointMarker; + pNext = SafePnextCopy(copy_src->pNext); +} + safe_VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL::safe_VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL( const VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL* in_struct, [[maybe_unused]] PNextCopyState* copy_state, bool copy_pnext)