mirror of
https://github.com/KhronosGroup/Vulkan-Utility-Libraries.git
synced 2025-06-01 09:27:54 +00:00
build: Update to header 1.4.306
This commit is contained in:
parent
f07e27717a
commit
8ec84823af
8 changed files with 719 additions and 1 deletions
|
@ -768,6 +768,10 @@ typedef struct VkuDeviceDispatchTable_ {
|
|||
PFN_vkDestroyIndirectExecutionSetEXT DestroyIndirectExecutionSetEXT;
|
||||
PFN_vkUpdateIndirectExecutionSetPipelineEXT UpdateIndirectExecutionSetPipelineEXT;
|
||||
PFN_vkUpdateIndirectExecutionSetShaderEXT UpdateIndirectExecutionSetShaderEXT;
|
||||
#ifdef VK_USE_PLATFORM_METAL_EXT
|
||||
PFN_vkGetMemoryMetalHandleEXT GetMemoryMetalHandleEXT;
|
||||
PFN_vkGetMemoryMetalHandlePropertiesEXT GetMemoryMetalHandlePropertiesEXT;
|
||||
#endif // VK_USE_PLATFORM_METAL_EXT
|
||||
PFN_vkCreateAccelerationStructureKHR CreateAccelerationStructureKHR;
|
||||
PFN_vkDestroyAccelerationStructureKHR DestroyAccelerationStructureKHR;
|
||||
PFN_vkCmdBuildAccelerationStructuresKHR CmdBuildAccelerationStructuresKHR;
|
||||
|
@ -1400,6 +1404,10 @@ static inline void vkuInitDeviceDispatchTable(VkDevice device, VkuDeviceDispatch
|
|||
table->DestroyIndirectExecutionSetEXT = (PFN_vkDestroyIndirectExecutionSetEXT)gdpa(device, "vkDestroyIndirectExecutionSetEXT");
|
||||
table->UpdateIndirectExecutionSetPipelineEXT = (PFN_vkUpdateIndirectExecutionSetPipelineEXT)gdpa(device, "vkUpdateIndirectExecutionSetPipelineEXT");
|
||||
table->UpdateIndirectExecutionSetShaderEXT = (PFN_vkUpdateIndirectExecutionSetShaderEXT)gdpa(device, "vkUpdateIndirectExecutionSetShaderEXT");
|
||||
#ifdef VK_USE_PLATFORM_METAL_EXT
|
||||
table->GetMemoryMetalHandleEXT = (PFN_vkGetMemoryMetalHandleEXT)gdpa(device, "vkGetMemoryMetalHandleEXT");
|
||||
table->GetMemoryMetalHandlePropertiesEXT = (PFN_vkGetMemoryMetalHandlePropertiesEXT)gdpa(device, "vkGetMemoryMetalHandlePropertiesEXT");
|
||||
#endif // VK_USE_PLATFORM_METAL_EXT
|
||||
table->CreateAccelerationStructureKHR = (PFN_vkCreateAccelerationStructureKHR)gdpa(device, "vkCreateAccelerationStructureKHR");
|
||||
table->DestroyAccelerationStructureKHR = (PFN_vkDestroyAccelerationStructureKHR)gdpa(device, "vkDestroyAccelerationStructureKHR");
|
||||
table->CmdBuildAccelerationStructuresKHR = (PFN_vkCmdBuildAccelerationStructuresKHR)gdpa(device, "vkCmdBuildAccelerationStructuresKHR");
|
||||
|
|
|
@ -9628,6 +9628,92 @@ struct safe_VkMemoryBarrierAccessFlags3KHR {
|
|||
VkMemoryBarrierAccessFlags3KHR* ptr() { return reinterpret_cast<VkMemoryBarrierAccessFlags3KHR*>(this); }
|
||||
VkMemoryBarrierAccessFlags3KHR const* ptr() const { return reinterpret_cast<VkMemoryBarrierAccessFlags3KHR const*>(this); }
|
||||
};
|
||||
struct safe_VkPhysicalDeviceVideoMaintenance2FeaturesKHR {
|
||||
VkStructureType sType;
|
||||
void* pNext{};
|
||||
VkBool32 videoMaintenance2;
|
||||
|
||||
safe_VkPhysicalDeviceVideoMaintenance2FeaturesKHR(const VkPhysicalDeviceVideoMaintenance2FeaturesKHR* in_struct,
|
||||
PNextCopyState* copy_state = {}, bool copy_pnext = true);
|
||||
safe_VkPhysicalDeviceVideoMaintenance2FeaturesKHR(const safe_VkPhysicalDeviceVideoMaintenance2FeaturesKHR& copy_src);
|
||||
safe_VkPhysicalDeviceVideoMaintenance2FeaturesKHR& operator=(const safe_VkPhysicalDeviceVideoMaintenance2FeaturesKHR& copy_src);
|
||||
safe_VkPhysicalDeviceVideoMaintenance2FeaturesKHR();
|
||||
~safe_VkPhysicalDeviceVideoMaintenance2FeaturesKHR();
|
||||
void initialize(const VkPhysicalDeviceVideoMaintenance2FeaturesKHR* in_struct, PNextCopyState* copy_state = {});
|
||||
void initialize(const safe_VkPhysicalDeviceVideoMaintenance2FeaturesKHR* copy_src, PNextCopyState* copy_state = {});
|
||||
VkPhysicalDeviceVideoMaintenance2FeaturesKHR* ptr() {
|
||||
return reinterpret_cast<VkPhysicalDeviceVideoMaintenance2FeaturesKHR*>(this);
|
||||
}
|
||||
VkPhysicalDeviceVideoMaintenance2FeaturesKHR const* ptr() const {
|
||||
return reinterpret_cast<VkPhysicalDeviceVideoMaintenance2FeaturesKHR const*>(this);
|
||||
}
|
||||
};
|
||||
struct safe_VkVideoDecodeH264InlineSessionParametersInfoKHR {
|
||||
VkStructureType sType;
|
||||
const void* pNext{};
|
||||
const StdVideoH264SequenceParameterSet* pStdSPS{};
|
||||
const StdVideoH264PictureParameterSet* pStdPPS{};
|
||||
|
||||
safe_VkVideoDecodeH264InlineSessionParametersInfoKHR(const VkVideoDecodeH264InlineSessionParametersInfoKHR* in_struct,
|
||||
PNextCopyState* copy_state = {}, bool copy_pnext = true);
|
||||
safe_VkVideoDecodeH264InlineSessionParametersInfoKHR(const safe_VkVideoDecodeH264InlineSessionParametersInfoKHR& copy_src);
|
||||
safe_VkVideoDecodeH264InlineSessionParametersInfoKHR& operator=(
|
||||
const safe_VkVideoDecodeH264InlineSessionParametersInfoKHR& copy_src);
|
||||
safe_VkVideoDecodeH264InlineSessionParametersInfoKHR();
|
||||
~safe_VkVideoDecodeH264InlineSessionParametersInfoKHR();
|
||||
void initialize(const VkVideoDecodeH264InlineSessionParametersInfoKHR* in_struct, PNextCopyState* copy_state = {});
|
||||
void initialize(const safe_VkVideoDecodeH264InlineSessionParametersInfoKHR* copy_src, PNextCopyState* copy_state = {});
|
||||
VkVideoDecodeH264InlineSessionParametersInfoKHR* ptr() {
|
||||
return reinterpret_cast<VkVideoDecodeH264InlineSessionParametersInfoKHR*>(this);
|
||||
}
|
||||
VkVideoDecodeH264InlineSessionParametersInfoKHR const* ptr() const {
|
||||
return reinterpret_cast<VkVideoDecodeH264InlineSessionParametersInfoKHR const*>(this);
|
||||
}
|
||||
};
|
||||
struct safe_VkVideoDecodeH265InlineSessionParametersInfoKHR {
|
||||
VkStructureType sType;
|
||||
const void* pNext{};
|
||||
const StdVideoH265VideoParameterSet* pStdVPS{};
|
||||
const StdVideoH265SequenceParameterSet* pStdSPS{};
|
||||
const StdVideoH265PictureParameterSet* pStdPPS{};
|
||||
|
||||
safe_VkVideoDecodeH265InlineSessionParametersInfoKHR(const VkVideoDecodeH265InlineSessionParametersInfoKHR* in_struct,
|
||||
PNextCopyState* copy_state = {}, bool copy_pnext = true);
|
||||
safe_VkVideoDecodeH265InlineSessionParametersInfoKHR(const safe_VkVideoDecodeH265InlineSessionParametersInfoKHR& copy_src);
|
||||
safe_VkVideoDecodeH265InlineSessionParametersInfoKHR& operator=(
|
||||
const safe_VkVideoDecodeH265InlineSessionParametersInfoKHR& copy_src);
|
||||
safe_VkVideoDecodeH265InlineSessionParametersInfoKHR();
|
||||
~safe_VkVideoDecodeH265InlineSessionParametersInfoKHR();
|
||||
void initialize(const VkVideoDecodeH265InlineSessionParametersInfoKHR* in_struct, PNextCopyState* copy_state = {});
|
||||
void initialize(const safe_VkVideoDecodeH265InlineSessionParametersInfoKHR* copy_src, PNextCopyState* copy_state = {});
|
||||
VkVideoDecodeH265InlineSessionParametersInfoKHR* ptr() {
|
||||
return reinterpret_cast<VkVideoDecodeH265InlineSessionParametersInfoKHR*>(this);
|
||||
}
|
||||
VkVideoDecodeH265InlineSessionParametersInfoKHR const* ptr() const {
|
||||
return reinterpret_cast<VkVideoDecodeH265InlineSessionParametersInfoKHR const*>(this);
|
||||
}
|
||||
};
|
||||
struct safe_VkVideoDecodeAV1InlineSessionParametersInfoKHR {
|
||||
VkStructureType sType;
|
||||
const void* pNext{};
|
||||
const StdVideoAV1SequenceHeader* pStdSequenceHeader{};
|
||||
|
||||
safe_VkVideoDecodeAV1InlineSessionParametersInfoKHR(const VkVideoDecodeAV1InlineSessionParametersInfoKHR* in_struct,
|
||||
PNextCopyState* copy_state = {}, bool copy_pnext = true);
|
||||
safe_VkVideoDecodeAV1InlineSessionParametersInfoKHR(const safe_VkVideoDecodeAV1InlineSessionParametersInfoKHR& copy_src);
|
||||
safe_VkVideoDecodeAV1InlineSessionParametersInfoKHR& operator=(
|
||||
const safe_VkVideoDecodeAV1InlineSessionParametersInfoKHR& copy_src);
|
||||
safe_VkVideoDecodeAV1InlineSessionParametersInfoKHR();
|
||||
~safe_VkVideoDecodeAV1InlineSessionParametersInfoKHR();
|
||||
void initialize(const VkVideoDecodeAV1InlineSessionParametersInfoKHR* in_struct, PNextCopyState* copy_state = {});
|
||||
void initialize(const safe_VkVideoDecodeAV1InlineSessionParametersInfoKHR* copy_src, PNextCopyState* copy_state = {});
|
||||
VkVideoDecodeAV1InlineSessionParametersInfoKHR* ptr() {
|
||||
return reinterpret_cast<VkVideoDecodeAV1InlineSessionParametersInfoKHR*>(this);
|
||||
}
|
||||
VkVideoDecodeAV1InlineSessionParametersInfoKHR const* ptr() const {
|
||||
return reinterpret_cast<VkVideoDecodeAV1InlineSessionParametersInfoKHR const*>(this);
|
||||
}
|
||||
};
|
||||
struct safe_VkPhysicalDeviceDepthClampZeroOneFeaturesKHR {
|
||||
VkStructureType sType;
|
||||
void* pNext{};
|
||||
|
@ -19569,6 +19655,58 @@ struct safe_VkPhysicalDevicePipelineOpacityMicromapFeaturesARM {
|
|||
return reinterpret_cast<VkPhysicalDevicePipelineOpacityMicromapFeaturesARM const*>(this);
|
||||
}
|
||||
};
|
||||
#ifdef VK_USE_PLATFORM_METAL_EXT
|
||||
struct safe_VkImportMemoryMetalHandleInfoEXT {
|
||||
VkStructureType sType;
|
||||
const void* pNext{};
|
||||
VkExternalMemoryHandleTypeFlagBits handleType;
|
||||
void* handle{};
|
||||
|
||||
safe_VkImportMemoryMetalHandleInfoEXT(const VkImportMemoryMetalHandleInfoEXT* in_struct, PNextCopyState* copy_state = {},
|
||||
bool copy_pnext = true);
|
||||
safe_VkImportMemoryMetalHandleInfoEXT(const safe_VkImportMemoryMetalHandleInfoEXT& copy_src);
|
||||
safe_VkImportMemoryMetalHandleInfoEXT& operator=(const safe_VkImportMemoryMetalHandleInfoEXT& copy_src);
|
||||
safe_VkImportMemoryMetalHandleInfoEXT();
|
||||
~safe_VkImportMemoryMetalHandleInfoEXT();
|
||||
void initialize(const VkImportMemoryMetalHandleInfoEXT* in_struct, PNextCopyState* copy_state = {});
|
||||
void initialize(const safe_VkImportMemoryMetalHandleInfoEXT* copy_src, PNextCopyState* copy_state = {});
|
||||
VkImportMemoryMetalHandleInfoEXT* ptr() { return reinterpret_cast<VkImportMemoryMetalHandleInfoEXT*>(this); }
|
||||
VkImportMemoryMetalHandleInfoEXT const* ptr() const { return reinterpret_cast<VkImportMemoryMetalHandleInfoEXT const*>(this); }
|
||||
};
|
||||
struct safe_VkMemoryMetalHandlePropertiesEXT {
|
||||
VkStructureType sType;
|
||||
void* pNext{};
|
||||
uint32_t memoryTypeBits;
|
||||
|
||||
safe_VkMemoryMetalHandlePropertiesEXT(const VkMemoryMetalHandlePropertiesEXT* in_struct, PNextCopyState* copy_state = {},
|
||||
bool copy_pnext = true);
|
||||
safe_VkMemoryMetalHandlePropertiesEXT(const safe_VkMemoryMetalHandlePropertiesEXT& copy_src);
|
||||
safe_VkMemoryMetalHandlePropertiesEXT& operator=(const safe_VkMemoryMetalHandlePropertiesEXT& copy_src);
|
||||
safe_VkMemoryMetalHandlePropertiesEXT();
|
||||
~safe_VkMemoryMetalHandlePropertiesEXT();
|
||||
void initialize(const VkMemoryMetalHandlePropertiesEXT* in_struct, PNextCopyState* copy_state = {});
|
||||
void initialize(const safe_VkMemoryMetalHandlePropertiesEXT* copy_src, PNextCopyState* copy_state = {});
|
||||
VkMemoryMetalHandlePropertiesEXT* ptr() { return reinterpret_cast<VkMemoryMetalHandlePropertiesEXT*>(this); }
|
||||
VkMemoryMetalHandlePropertiesEXT const* ptr() const { return reinterpret_cast<VkMemoryMetalHandlePropertiesEXT const*>(this); }
|
||||
};
|
||||
struct safe_VkMemoryGetMetalHandleInfoEXT {
|
||||
VkStructureType sType;
|
||||
const void* pNext{};
|
||||
VkDeviceMemory memory;
|
||||
VkExternalMemoryHandleTypeFlagBits handleType;
|
||||
|
||||
safe_VkMemoryGetMetalHandleInfoEXT(const VkMemoryGetMetalHandleInfoEXT* in_struct, PNextCopyState* copy_state = {},
|
||||
bool copy_pnext = true);
|
||||
safe_VkMemoryGetMetalHandleInfoEXT(const safe_VkMemoryGetMetalHandleInfoEXT& copy_src);
|
||||
safe_VkMemoryGetMetalHandleInfoEXT& operator=(const safe_VkMemoryGetMetalHandleInfoEXT& copy_src);
|
||||
safe_VkMemoryGetMetalHandleInfoEXT();
|
||||
~safe_VkMemoryGetMetalHandleInfoEXT();
|
||||
void initialize(const VkMemoryGetMetalHandleInfoEXT* in_struct, PNextCopyState* copy_state = {});
|
||||
void initialize(const safe_VkMemoryGetMetalHandleInfoEXT* copy_src, PNextCopyState* copy_state = {});
|
||||
VkMemoryGetMetalHandleInfoEXT* ptr() { return reinterpret_cast<VkMemoryGetMetalHandleInfoEXT*>(this); }
|
||||
VkMemoryGetMetalHandleInfoEXT const* ptr() const { return reinterpret_cast<VkMemoryGetMetalHandleInfoEXT const*>(this); }
|
||||
};
|
||||
#endif // VK_USE_PLATFORM_METAL_EXT
|
||||
struct safe_VkPhysicalDeviceVertexAttributeRobustnessFeaturesEXT {
|
||||
VkStructureType sType;
|
||||
void* pNext{};
|
||||
|
|
|
@ -505,6 +505,10 @@ template <> inline VkStructureType GetSType<VkPhysicalDeviceLayeredApiProperties
|
|||
template <> inline VkStructureType GetSType<VkPhysicalDeviceLayeredApiVulkanPropertiesKHR>() { return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_VULKAN_PROPERTIES_KHR; }
|
||||
template <> inline VkStructureType GetSType<VkPhysicalDeviceMaintenance8FeaturesKHR>() { return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_8_FEATURES_KHR; }
|
||||
template <> inline VkStructureType GetSType<VkMemoryBarrierAccessFlags3KHR>() { return VK_STRUCTURE_TYPE_MEMORY_BARRIER_ACCESS_FLAGS_3_KHR; }
|
||||
template <> inline VkStructureType GetSType<VkPhysicalDeviceVideoMaintenance2FeaturesKHR>() { return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_MAINTENANCE_2_FEATURES_KHR; }
|
||||
template <> inline VkStructureType GetSType<VkVideoDecodeH264InlineSessionParametersInfoKHR>() { return VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_INLINE_SESSION_PARAMETERS_INFO_KHR; }
|
||||
template <> inline VkStructureType GetSType<VkVideoDecodeH265InlineSessionParametersInfoKHR>() { return VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_INLINE_SESSION_PARAMETERS_INFO_KHR; }
|
||||
template <> inline VkStructureType GetSType<VkVideoDecodeAV1InlineSessionParametersInfoKHR>() { return VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_INLINE_SESSION_PARAMETERS_INFO_KHR; }
|
||||
template <> inline VkStructureType GetSType<VkPhysicalDeviceDepthClampZeroOneFeaturesKHR>() { return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLAMP_ZERO_ONE_FEATURES_KHR; }
|
||||
template <> inline VkStructureType GetSType<VkDebugReportCallbackCreateInfoEXT>() { return VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT; }
|
||||
template <> inline VkStructureType GetSType<VkPipelineRasterizationStateRasterizationOrderAMD>() { return VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMD; }
|
||||
|
@ -1019,6 +1023,11 @@ template <> inline VkStructureType GetSType<VkCooperativeMatrixFlexibleDimension
|
|||
template <> inline VkStructureType GetSType<VkPhysicalDeviceCooperativeMatrix2FeaturesNV>() { return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_2_FEATURES_NV; }
|
||||
template <> inline VkStructureType GetSType<VkPhysicalDeviceCooperativeMatrix2PropertiesNV>() { return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_2_PROPERTIES_NV; }
|
||||
template <> inline VkStructureType GetSType<VkPhysicalDevicePipelineOpacityMicromapFeaturesARM>() { return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_OPACITY_MICROMAP_FEATURES_ARM; }
|
||||
#ifdef VK_USE_PLATFORM_METAL_EXT
|
||||
template <> inline VkStructureType GetSType<VkImportMemoryMetalHandleInfoEXT>() { return VK_STRUCTURE_TYPE_IMPORT_MEMORY_METAL_HANDLE_INFO_EXT; }
|
||||
template <> inline VkStructureType GetSType<VkMemoryMetalHandlePropertiesEXT>() { return VK_STRUCTURE_TYPE_MEMORY_METAL_HANDLE_PROPERTIES_EXT; }
|
||||
template <> inline VkStructureType GetSType<VkMemoryGetMetalHandleInfoEXT>() { return VK_STRUCTURE_TYPE_MEMORY_GET_METAL_HANDLE_INFO_EXT; }
|
||||
#endif // VK_USE_PLATFORM_METAL_EXT
|
||||
template <> inline VkStructureType GetSType<VkPhysicalDeviceVertexAttributeRobustnessFeaturesEXT>() { return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_ROBUSTNESS_FEATURES_EXT; }
|
||||
template <> inline VkStructureType GetSType<VkAccelerationStructureGeometryTrianglesDataKHR>() { return VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_TRIANGLES_DATA_KHR; }
|
||||
template <> inline VkStructureType GetSType<VkAccelerationStructureGeometryAabbsDataKHR>() { return VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_AABBS_DATA_KHR; }
|
||||
|
|
|
@ -2056,6 +2056,14 @@ static inline const char* string_VkStructureType(VkStructureType input_value) {
|
|||
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLAMP_CONTROL_FEATURES_EXT";
|
||||
case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_DEPTH_CLAMP_CONTROL_CREATE_INFO_EXT:
|
||||
return "VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_DEPTH_CLAMP_CONTROL_CREATE_INFO_EXT";
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_MAINTENANCE_2_FEATURES_KHR:
|
||||
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_MAINTENANCE_2_FEATURES_KHR";
|
||||
case VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_INLINE_SESSION_PARAMETERS_INFO_KHR:
|
||||
return "VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_INLINE_SESSION_PARAMETERS_INFO_KHR";
|
||||
case VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_INLINE_SESSION_PARAMETERS_INFO_KHR:
|
||||
return "VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_INLINE_SESSION_PARAMETERS_INFO_KHR";
|
||||
case VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_INLINE_SESSION_PARAMETERS_INFO_KHR:
|
||||
return "VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_INLINE_SESSION_PARAMETERS_INFO_KHR";
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HDR_VIVID_FEATURES_HUAWEI:
|
||||
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HDR_VIVID_FEATURES_HUAWEI";
|
||||
case VK_STRUCTURE_TYPE_HDR_VIVID_DYNAMIC_METADATA_HUAWEI:
|
||||
|
@ -2068,6 +2076,12 @@ static inline const char* string_VkStructureType(VkStructureType input_value) {
|
|||
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_2_PROPERTIES_NV";
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_OPACITY_MICROMAP_FEATURES_ARM:
|
||||
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_OPACITY_MICROMAP_FEATURES_ARM";
|
||||
case VK_STRUCTURE_TYPE_IMPORT_MEMORY_METAL_HANDLE_INFO_EXT:
|
||||
return "VK_STRUCTURE_TYPE_IMPORT_MEMORY_METAL_HANDLE_INFO_EXT";
|
||||
case VK_STRUCTURE_TYPE_MEMORY_METAL_HANDLE_PROPERTIES_EXT:
|
||||
return "VK_STRUCTURE_TYPE_MEMORY_METAL_HANDLE_PROPERTIES_EXT";
|
||||
case VK_STRUCTURE_TYPE_MEMORY_GET_METAL_HANDLE_INFO_EXT:
|
||||
return "VK_STRUCTURE_TYPE_MEMORY_GET_METAL_HANDLE_INFO_EXT";
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLAMP_ZERO_ONE_FEATURES_KHR:
|
||||
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLAMP_ZERO_ONE_FEATURES_KHR";
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_ROBUSTNESS_FEATURES_EXT:
|
||||
|
@ -6945,6 +6959,12 @@ static inline const char* string_VkExternalMemoryHandleTypeFlagBits(VkExternalMe
|
|||
return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_RDMA_ADDRESS_BIT_NV";
|
||||
case VK_EXTERNAL_MEMORY_HANDLE_TYPE_SCREEN_BUFFER_BIT_QNX:
|
||||
return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_SCREEN_BUFFER_BIT_QNX";
|
||||
case VK_EXTERNAL_MEMORY_HANDLE_TYPE_MTLBUFFER_BIT_EXT:
|
||||
return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_MTLBUFFER_BIT_EXT";
|
||||
case VK_EXTERNAL_MEMORY_HANDLE_TYPE_MTLTEXTURE_BIT_EXT:
|
||||
return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_MTLTEXTURE_BIT_EXT";
|
||||
case VK_EXTERNAL_MEMORY_HANDLE_TYPE_MTLHEAP_BIT_EXT:
|
||||
return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_MTLHEAP_BIT_EXT";
|
||||
default:
|
||||
return "Unhandled VkExternalMemoryHandleTypeFlagBits";
|
||||
}
|
||||
|
@ -8032,6 +8052,8 @@ static inline const char* string_VkVideoSessionCreateFlagBitsKHR(VkVideoSessionC
|
|||
return "VK_VIDEO_SESSION_CREATE_ALLOW_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHR";
|
||||
case VK_VIDEO_SESSION_CREATE_ALLOW_ENCODE_EMPHASIS_MAP_BIT_KHR:
|
||||
return "VK_VIDEO_SESSION_CREATE_ALLOW_ENCODE_EMPHASIS_MAP_BIT_KHR";
|
||||
case VK_VIDEO_SESSION_CREATE_INLINE_SESSION_PARAMETERS_BIT_KHR:
|
||||
return "VK_VIDEO_SESSION_CREATE_INLINE_SESSION_PARAMETERS_BIT_KHR";
|
||||
default:
|
||||
return "Unhandled VkVideoSessionCreateFlagBitsKHR";
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
"sub_dir": "Vulkan-Headers",
|
||||
"build_dir": "Vulkan-Headers/build",
|
||||
"install_dir": "Vulkan-Headers/build/install",
|
||||
"commit": "v1.4.305"
|
||||
"commit": "v1.4.306"
|
||||
},
|
||||
{
|
||||
"name": "googletest",
|
||||
|
|
|
@ -15493,6 +15493,161 @@ void safe_VkPipelineViewportDepthClampControlCreateInfoEXT::initialize(
|
|||
pDepthClampRange = new VkDepthClampRangeEXT(*copy_src->pDepthClampRange);
|
||||
}
|
||||
}
|
||||
#ifdef VK_USE_PLATFORM_METAL_EXT
|
||||
|
||||
safe_VkImportMemoryMetalHandleInfoEXT::safe_VkImportMemoryMetalHandleInfoEXT(const VkImportMemoryMetalHandleInfoEXT* in_struct,
|
||||
[[maybe_unused]] PNextCopyState* copy_state,
|
||||
bool copy_pnext)
|
||||
: sType(in_struct->sType), handleType(in_struct->handleType), handle(in_struct->handle) {
|
||||
if (copy_pnext) {
|
||||
pNext = SafePnextCopy(in_struct->pNext, copy_state);
|
||||
}
|
||||
}
|
||||
|
||||
safe_VkImportMemoryMetalHandleInfoEXT::safe_VkImportMemoryMetalHandleInfoEXT()
|
||||
: sType(VK_STRUCTURE_TYPE_IMPORT_MEMORY_METAL_HANDLE_INFO_EXT), pNext(nullptr), handleType(), handle(nullptr) {}
|
||||
|
||||
safe_VkImportMemoryMetalHandleInfoEXT::safe_VkImportMemoryMetalHandleInfoEXT(
|
||||
const safe_VkImportMemoryMetalHandleInfoEXT& copy_src) {
|
||||
sType = copy_src.sType;
|
||||
handleType = copy_src.handleType;
|
||||
handle = copy_src.handle;
|
||||
pNext = SafePnextCopy(copy_src.pNext);
|
||||
}
|
||||
|
||||
safe_VkImportMemoryMetalHandleInfoEXT& safe_VkImportMemoryMetalHandleInfoEXT::operator=(
|
||||
const safe_VkImportMemoryMetalHandleInfoEXT& copy_src) {
|
||||
if (©_src == this) return *this;
|
||||
|
||||
FreePnextChain(pNext);
|
||||
|
||||
sType = copy_src.sType;
|
||||
handleType = copy_src.handleType;
|
||||
handle = copy_src.handle;
|
||||
pNext = SafePnextCopy(copy_src.pNext);
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
safe_VkImportMemoryMetalHandleInfoEXT::~safe_VkImportMemoryMetalHandleInfoEXT() { FreePnextChain(pNext); }
|
||||
|
||||
void safe_VkImportMemoryMetalHandleInfoEXT::initialize(const VkImportMemoryMetalHandleInfoEXT* in_struct,
|
||||
[[maybe_unused]] PNextCopyState* copy_state) {
|
||||
FreePnextChain(pNext);
|
||||
sType = in_struct->sType;
|
||||
handleType = in_struct->handleType;
|
||||
handle = in_struct->handle;
|
||||
pNext = SafePnextCopy(in_struct->pNext, copy_state);
|
||||
}
|
||||
|
||||
void safe_VkImportMemoryMetalHandleInfoEXT::initialize(const safe_VkImportMemoryMetalHandleInfoEXT* copy_src,
|
||||
[[maybe_unused]] PNextCopyState* copy_state) {
|
||||
sType = copy_src->sType;
|
||||
handleType = copy_src->handleType;
|
||||
handle = copy_src->handle;
|
||||
pNext = SafePnextCopy(copy_src->pNext);
|
||||
}
|
||||
|
||||
safe_VkMemoryMetalHandlePropertiesEXT::safe_VkMemoryMetalHandlePropertiesEXT(const VkMemoryMetalHandlePropertiesEXT* in_struct,
|
||||
[[maybe_unused]] PNextCopyState* copy_state,
|
||||
bool copy_pnext)
|
||||
: sType(in_struct->sType), memoryTypeBits(in_struct->memoryTypeBits) {
|
||||
if (copy_pnext) {
|
||||
pNext = SafePnextCopy(in_struct->pNext, copy_state);
|
||||
}
|
||||
}
|
||||
|
||||
safe_VkMemoryMetalHandlePropertiesEXT::safe_VkMemoryMetalHandlePropertiesEXT()
|
||||
: sType(VK_STRUCTURE_TYPE_MEMORY_METAL_HANDLE_PROPERTIES_EXT), pNext(nullptr), memoryTypeBits() {}
|
||||
|
||||
safe_VkMemoryMetalHandlePropertiesEXT::safe_VkMemoryMetalHandlePropertiesEXT(
|
||||
const safe_VkMemoryMetalHandlePropertiesEXT& copy_src) {
|
||||
sType = copy_src.sType;
|
||||
memoryTypeBits = copy_src.memoryTypeBits;
|
||||
pNext = SafePnextCopy(copy_src.pNext);
|
||||
}
|
||||
|
||||
safe_VkMemoryMetalHandlePropertiesEXT& safe_VkMemoryMetalHandlePropertiesEXT::operator=(
|
||||
const safe_VkMemoryMetalHandlePropertiesEXT& copy_src) {
|
||||
if (©_src == this) return *this;
|
||||
|
||||
FreePnextChain(pNext);
|
||||
|
||||
sType = copy_src.sType;
|
||||
memoryTypeBits = copy_src.memoryTypeBits;
|
||||
pNext = SafePnextCopy(copy_src.pNext);
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
safe_VkMemoryMetalHandlePropertiesEXT::~safe_VkMemoryMetalHandlePropertiesEXT() { FreePnextChain(pNext); }
|
||||
|
||||
void safe_VkMemoryMetalHandlePropertiesEXT::initialize(const VkMemoryMetalHandlePropertiesEXT* in_struct,
|
||||
[[maybe_unused]] PNextCopyState* copy_state) {
|
||||
FreePnextChain(pNext);
|
||||
sType = in_struct->sType;
|
||||
memoryTypeBits = in_struct->memoryTypeBits;
|
||||
pNext = SafePnextCopy(in_struct->pNext, copy_state);
|
||||
}
|
||||
|
||||
void safe_VkMemoryMetalHandlePropertiesEXT::initialize(const safe_VkMemoryMetalHandlePropertiesEXT* copy_src,
|
||||
[[maybe_unused]] PNextCopyState* copy_state) {
|
||||
sType = copy_src->sType;
|
||||
memoryTypeBits = copy_src->memoryTypeBits;
|
||||
pNext = SafePnextCopy(copy_src->pNext);
|
||||
}
|
||||
|
||||
safe_VkMemoryGetMetalHandleInfoEXT::safe_VkMemoryGetMetalHandleInfoEXT(const VkMemoryGetMetalHandleInfoEXT* in_struct,
|
||||
[[maybe_unused]] PNextCopyState* copy_state, bool copy_pnext)
|
||||
: sType(in_struct->sType), memory(in_struct->memory), handleType(in_struct->handleType) {
|
||||
if (copy_pnext) {
|
||||
pNext = SafePnextCopy(in_struct->pNext, copy_state);
|
||||
}
|
||||
}
|
||||
|
||||
safe_VkMemoryGetMetalHandleInfoEXT::safe_VkMemoryGetMetalHandleInfoEXT()
|
||||
: sType(VK_STRUCTURE_TYPE_MEMORY_GET_METAL_HANDLE_INFO_EXT), pNext(nullptr), memory(), handleType() {}
|
||||
|
||||
safe_VkMemoryGetMetalHandleInfoEXT::safe_VkMemoryGetMetalHandleInfoEXT(const safe_VkMemoryGetMetalHandleInfoEXT& copy_src) {
|
||||
sType = copy_src.sType;
|
||||
memory = copy_src.memory;
|
||||
handleType = copy_src.handleType;
|
||||
pNext = SafePnextCopy(copy_src.pNext);
|
||||
}
|
||||
|
||||
safe_VkMemoryGetMetalHandleInfoEXT& safe_VkMemoryGetMetalHandleInfoEXT::operator=(
|
||||
const safe_VkMemoryGetMetalHandleInfoEXT& copy_src) {
|
||||
if (©_src == this) return *this;
|
||||
|
||||
FreePnextChain(pNext);
|
||||
|
||||
sType = copy_src.sType;
|
||||
memory = copy_src.memory;
|
||||
handleType = copy_src.handleType;
|
||||
pNext = SafePnextCopy(copy_src.pNext);
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
safe_VkMemoryGetMetalHandleInfoEXT::~safe_VkMemoryGetMetalHandleInfoEXT() { FreePnextChain(pNext); }
|
||||
|
||||
void safe_VkMemoryGetMetalHandleInfoEXT::initialize(const VkMemoryGetMetalHandleInfoEXT* in_struct,
|
||||
[[maybe_unused]] PNextCopyState* copy_state) {
|
||||
FreePnextChain(pNext);
|
||||
sType = in_struct->sType;
|
||||
memory = in_struct->memory;
|
||||
handleType = in_struct->handleType;
|
||||
pNext = SafePnextCopy(in_struct->pNext, copy_state);
|
||||
}
|
||||
|
||||
void safe_VkMemoryGetMetalHandleInfoEXT::initialize(const safe_VkMemoryGetMetalHandleInfoEXT* copy_src,
|
||||
[[maybe_unused]] PNextCopyState* copy_state) {
|
||||
sType = copy_src->sType;
|
||||
memory = copy_src->memory;
|
||||
handleType = copy_src->handleType;
|
||||
pNext = SafePnextCopy(copy_src->pNext);
|
||||
}
|
||||
#endif // VK_USE_PLATFORM_METAL_EXT
|
||||
|
||||
safe_VkPhysicalDeviceVertexAttributeRobustnessFeaturesEXT::safe_VkPhysicalDeviceVertexAttributeRobustnessFeaturesEXT(
|
||||
const VkPhysicalDeviceVertexAttributeRobustnessFeaturesEXT* in_struct, [[maybe_unused]] PNextCopyState* copy_state,
|
||||
|
|
|
@ -14772,6 +14772,358 @@ void safe_VkMemoryBarrierAccessFlags3KHR::initialize(const safe_VkMemoryBarrierA
|
|||
pNext = SafePnextCopy(copy_src->pNext);
|
||||
}
|
||||
|
||||
safe_VkPhysicalDeviceVideoMaintenance2FeaturesKHR::safe_VkPhysicalDeviceVideoMaintenance2FeaturesKHR(
|
||||
const VkPhysicalDeviceVideoMaintenance2FeaturesKHR* in_struct, [[maybe_unused]] PNextCopyState* copy_state, bool copy_pnext)
|
||||
: sType(in_struct->sType), videoMaintenance2(in_struct->videoMaintenance2) {
|
||||
if (copy_pnext) {
|
||||
pNext = SafePnextCopy(in_struct->pNext, copy_state);
|
||||
}
|
||||
}
|
||||
|
||||
safe_VkPhysicalDeviceVideoMaintenance2FeaturesKHR::safe_VkPhysicalDeviceVideoMaintenance2FeaturesKHR()
|
||||
: sType(VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_MAINTENANCE_2_FEATURES_KHR), pNext(nullptr), videoMaintenance2() {}
|
||||
|
||||
safe_VkPhysicalDeviceVideoMaintenance2FeaturesKHR::safe_VkPhysicalDeviceVideoMaintenance2FeaturesKHR(
|
||||
const safe_VkPhysicalDeviceVideoMaintenance2FeaturesKHR& copy_src) {
|
||||
sType = copy_src.sType;
|
||||
videoMaintenance2 = copy_src.videoMaintenance2;
|
||||
pNext = SafePnextCopy(copy_src.pNext);
|
||||
}
|
||||
|
||||
safe_VkPhysicalDeviceVideoMaintenance2FeaturesKHR& safe_VkPhysicalDeviceVideoMaintenance2FeaturesKHR::operator=(
|
||||
const safe_VkPhysicalDeviceVideoMaintenance2FeaturesKHR& copy_src) {
|
||||
if (©_src == this) return *this;
|
||||
|
||||
FreePnextChain(pNext);
|
||||
|
||||
sType = copy_src.sType;
|
||||
videoMaintenance2 = copy_src.videoMaintenance2;
|
||||
pNext = SafePnextCopy(copy_src.pNext);
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
safe_VkPhysicalDeviceVideoMaintenance2FeaturesKHR::~safe_VkPhysicalDeviceVideoMaintenance2FeaturesKHR() { FreePnextChain(pNext); }
|
||||
|
||||
void safe_VkPhysicalDeviceVideoMaintenance2FeaturesKHR::initialize(const VkPhysicalDeviceVideoMaintenance2FeaturesKHR* in_struct,
|
||||
[[maybe_unused]] PNextCopyState* copy_state) {
|
||||
FreePnextChain(pNext);
|
||||
sType = in_struct->sType;
|
||||
videoMaintenance2 = in_struct->videoMaintenance2;
|
||||
pNext = SafePnextCopy(in_struct->pNext, copy_state);
|
||||
}
|
||||
|
||||
void safe_VkPhysicalDeviceVideoMaintenance2FeaturesKHR::initialize(
|
||||
const safe_VkPhysicalDeviceVideoMaintenance2FeaturesKHR* copy_src, [[maybe_unused]] PNextCopyState* copy_state) {
|
||||
sType = copy_src->sType;
|
||||
videoMaintenance2 = copy_src->videoMaintenance2;
|
||||
pNext = SafePnextCopy(copy_src->pNext);
|
||||
}
|
||||
|
||||
safe_VkVideoDecodeH264InlineSessionParametersInfoKHR::safe_VkVideoDecodeH264InlineSessionParametersInfoKHR(
|
||||
const VkVideoDecodeH264InlineSessionParametersInfoKHR* in_struct, [[maybe_unused]] PNextCopyState* copy_state, bool copy_pnext)
|
||||
: sType(in_struct->sType), pStdSPS(nullptr), pStdPPS(nullptr) {
|
||||
if (copy_pnext) {
|
||||
pNext = SafePnextCopy(in_struct->pNext, copy_state);
|
||||
}
|
||||
if (in_struct->pStdSPS) {
|
||||
pStdSPS = new StdVideoH264SequenceParameterSet(*in_struct->pStdSPS);
|
||||
}
|
||||
|
||||
if (in_struct->pStdPPS) {
|
||||
pStdPPS = new StdVideoH264PictureParameterSet(*in_struct->pStdPPS);
|
||||
}
|
||||
}
|
||||
|
||||
safe_VkVideoDecodeH264InlineSessionParametersInfoKHR::safe_VkVideoDecodeH264InlineSessionParametersInfoKHR()
|
||||
: sType(VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_INLINE_SESSION_PARAMETERS_INFO_KHR),
|
||||
pNext(nullptr),
|
||||
pStdSPS(nullptr),
|
||||
pStdPPS(nullptr) {}
|
||||
|
||||
safe_VkVideoDecodeH264InlineSessionParametersInfoKHR::safe_VkVideoDecodeH264InlineSessionParametersInfoKHR(
|
||||
const safe_VkVideoDecodeH264InlineSessionParametersInfoKHR& copy_src) {
|
||||
sType = copy_src.sType;
|
||||
pStdSPS = nullptr;
|
||||
pStdPPS = nullptr;
|
||||
pNext = SafePnextCopy(copy_src.pNext);
|
||||
|
||||
if (copy_src.pStdSPS) {
|
||||
pStdSPS = new StdVideoH264SequenceParameterSet(*copy_src.pStdSPS);
|
||||
}
|
||||
|
||||
if (copy_src.pStdPPS) {
|
||||
pStdPPS = new StdVideoH264PictureParameterSet(*copy_src.pStdPPS);
|
||||
}
|
||||
}
|
||||
|
||||
safe_VkVideoDecodeH264InlineSessionParametersInfoKHR& safe_VkVideoDecodeH264InlineSessionParametersInfoKHR::operator=(
|
||||
const safe_VkVideoDecodeH264InlineSessionParametersInfoKHR& copy_src) {
|
||||
if (©_src == this) return *this;
|
||||
|
||||
if (pStdSPS) delete pStdSPS;
|
||||
if (pStdPPS) delete pStdPPS;
|
||||
FreePnextChain(pNext);
|
||||
|
||||
sType = copy_src.sType;
|
||||
pStdSPS = nullptr;
|
||||
pStdPPS = nullptr;
|
||||
pNext = SafePnextCopy(copy_src.pNext);
|
||||
|
||||
if (copy_src.pStdSPS) {
|
||||
pStdSPS = new StdVideoH264SequenceParameterSet(*copy_src.pStdSPS);
|
||||
}
|
||||
|
||||
if (copy_src.pStdPPS) {
|
||||
pStdPPS = new StdVideoH264PictureParameterSet(*copy_src.pStdPPS);
|
||||
}
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
safe_VkVideoDecodeH264InlineSessionParametersInfoKHR::~safe_VkVideoDecodeH264InlineSessionParametersInfoKHR() {
|
||||
if (pStdSPS) delete pStdSPS;
|
||||
if (pStdPPS) delete pStdPPS;
|
||||
FreePnextChain(pNext);
|
||||
}
|
||||
|
||||
void safe_VkVideoDecodeH264InlineSessionParametersInfoKHR::initialize(
|
||||
const VkVideoDecodeH264InlineSessionParametersInfoKHR* in_struct, [[maybe_unused]] PNextCopyState* copy_state) {
|
||||
if (pStdSPS) delete pStdSPS;
|
||||
if (pStdPPS) delete pStdPPS;
|
||||
FreePnextChain(pNext);
|
||||
sType = in_struct->sType;
|
||||
pStdSPS = nullptr;
|
||||
pStdPPS = nullptr;
|
||||
pNext = SafePnextCopy(in_struct->pNext, copy_state);
|
||||
|
||||
if (in_struct->pStdSPS) {
|
||||
pStdSPS = new StdVideoH264SequenceParameterSet(*in_struct->pStdSPS);
|
||||
}
|
||||
|
||||
if (in_struct->pStdPPS) {
|
||||
pStdPPS = new StdVideoH264PictureParameterSet(*in_struct->pStdPPS);
|
||||
}
|
||||
}
|
||||
|
||||
void safe_VkVideoDecodeH264InlineSessionParametersInfoKHR::initialize(
|
||||
const safe_VkVideoDecodeH264InlineSessionParametersInfoKHR* copy_src, [[maybe_unused]] PNextCopyState* copy_state) {
|
||||
sType = copy_src->sType;
|
||||
pStdSPS = nullptr;
|
||||
pStdPPS = nullptr;
|
||||
pNext = SafePnextCopy(copy_src->pNext);
|
||||
|
||||
if (copy_src->pStdSPS) {
|
||||
pStdSPS = new StdVideoH264SequenceParameterSet(*copy_src->pStdSPS);
|
||||
}
|
||||
|
||||
if (copy_src->pStdPPS) {
|
||||
pStdPPS = new StdVideoH264PictureParameterSet(*copy_src->pStdPPS);
|
||||
}
|
||||
}
|
||||
|
||||
safe_VkVideoDecodeH265InlineSessionParametersInfoKHR::safe_VkVideoDecodeH265InlineSessionParametersInfoKHR(
|
||||
const VkVideoDecodeH265InlineSessionParametersInfoKHR* in_struct, [[maybe_unused]] PNextCopyState* copy_state, bool copy_pnext)
|
||||
: sType(in_struct->sType), pStdVPS(nullptr), pStdSPS(nullptr), pStdPPS(nullptr) {
|
||||
if (copy_pnext) {
|
||||
pNext = SafePnextCopy(in_struct->pNext, copy_state);
|
||||
}
|
||||
if (in_struct->pStdVPS) {
|
||||
pStdVPS = new StdVideoH265VideoParameterSet(*in_struct->pStdVPS);
|
||||
}
|
||||
|
||||
if (in_struct->pStdSPS) {
|
||||
pStdSPS = new StdVideoH265SequenceParameterSet(*in_struct->pStdSPS);
|
||||
}
|
||||
|
||||
if (in_struct->pStdPPS) {
|
||||
pStdPPS = new StdVideoH265PictureParameterSet(*in_struct->pStdPPS);
|
||||
}
|
||||
}
|
||||
|
||||
safe_VkVideoDecodeH265InlineSessionParametersInfoKHR::safe_VkVideoDecodeH265InlineSessionParametersInfoKHR()
|
||||
: sType(VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_INLINE_SESSION_PARAMETERS_INFO_KHR),
|
||||
pNext(nullptr),
|
||||
pStdVPS(nullptr),
|
||||
pStdSPS(nullptr),
|
||||
pStdPPS(nullptr) {}
|
||||
|
||||
safe_VkVideoDecodeH265InlineSessionParametersInfoKHR::safe_VkVideoDecodeH265InlineSessionParametersInfoKHR(
|
||||
const safe_VkVideoDecodeH265InlineSessionParametersInfoKHR& copy_src) {
|
||||
sType = copy_src.sType;
|
||||
pStdVPS = nullptr;
|
||||
pStdSPS = nullptr;
|
||||
pStdPPS = nullptr;
|
||||
pNext = SafePnextCopy(copy_src.pNext);
|
||||
|
||||
if (copy_src.pStdVPS) {
|
||||
pStdVPS = new StdVideoH265VideoParameterSet(*copy_src.pStdVPS);
|
||||
}
|
||||
|
||||
if (copy_src.pStdSPS) {
|
||||
pStdSPS = new StdVideoH265SequenceParameterSet(*copy_src.pStdSPS);
|
||||
}
|
||||
|
||||
if (copy_src.pStdPPS) {
|
||||
pStdPPS = new StdVideoH265PictureParameterSet(*copy_src.pStdPPS);
|
||||
}
|
||||
}
|
||||
|
||||
safe_VkVideoDecodeH265InlineSessionParametersInfoKHR& safe_VkVideoDecodeH265InlineSessionParametersInfoKHR::operator=(
|
||||
const safe_VkVideoDecodeH265InlineSessionParametersInfoKHR& copy_src) {
|
||||
if (©_src == this) return *this;
|
||||
|
||||
if (pStdVPS) delete pStdVPS;
|
||||
if (pStdSPS) delete pStdSPS;
|
||||
if (pStdPPS) delete pStdPPS;
|
||||
FreePnextChain(pNext);
|
||||
|
||||
sType = copy_src.sType;
|
||||
pStdVPS = nullptr;
|
||||
pStdSPS = nullptr;
|
||||
pStdPPS = nullptr;
|
||||
pNext = SafePnextCopy(copy_src.pNext);
|
||||
|
||||
if (copy_src.pStdVPS) {
|
||||
pStdVPS = new StdVideoH265VideoParameterSet(*copy_src.pStdVPS);
|
||||
}
|
||||
|
||||
if (copy_src.pStdSPS) {
|
||||
pStdSPS = new StdVideoH265SequenceParameterSet(*copy_src.pStdSPS);
|
||||
}
|
||||
|
||||
if (copy_src.pStdPPS) {
|
||||
pStdPPS = new StdVideoH265PictureParameterSet(*copy_src.pStdPPS);
|
||||
}
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
safe_VkVideoDecodeH265InlineSessionParametersInfoKHR::~safe_VkVideoDecodeH265InlineSessionParametersInfoKHR() {
|
||||
if (pStdVPS) delete pStdVPS;
|
||||
if (pStdSPS) delete pStdSPS;
|
||||
if (pStdPPS) delete pStdPPS;
|
||||
FreePnextChain(pNext);
|
||||
}
|
||||
|
||||
void safe_VkVideoDecodeH265InlineSessionParametersInfoKHR::initialize(
|
||||
const VkVideoDecodeH265InlineSessionParametersInfoKHR* in_struct, [[maybe_unused]] PNextCopyState* copy_state) {
|
||||
if (pStdVPS) delete pStdVPS;
|
||||
if (pStdSPS) delete pStdSPS;
|
||||
if (pStdPPS) delete pStdPPS;
|
||||
FreePnextChain(pNext);
|
||||
sType = in_struct->sType;
|
||||
pStdVPS = nullptr;
|
||||
pStdSPS = nullptr;
|
||||
pStdPPS = nullptr;
|
||||
pNext = SafePnextCopy(in_struct->pNext, copy_state);
|
||||
|
||||
if (in_struct->pStdVPS) {
|
||||
pStdVPS = new StdVideoH265VideoParameterSet(*in_struct->pStdVPS);
|
||||
}
|
||||
|
||||
if (in_struct->pStdSPS) {
|
||||
pStdSPS = new StdVideoH265SequenceParameterSet(*in_struct->pStdSPS);
|
||||
}
|
||||
|
||||
if (in_struct->pStdPPS) {
|
||||
pStdPPS = new StdVideoH265PictureParameterSet(*in_struct->pStdPPS);
|
||||
}
|
||||
}
|
||||
|
||||
void safe_VkVideoDecodeH265InlineSessionParametersInfoKHR::initialize(
|
||||
const safe_VkVideoDecodeH265InlineSessionParametersInfoKHR* copy_src, [[maybe_unused]] PNextCopyState* copy_state) {
|
||||
sType = copy_src->sType;
|
||||
pStdVPS = nullptr;
|
||||
pStdSPS = nullptr;
|
||||
pStdPPS = nullptr;
|
||||
pNext = SafePnextCopy(copy_src->pNext);
|
||||
|
||||
if (copy_src->pStdVPS) {
|
||||
pStdVPS = new StdVideoH265VideoParameterSet(*copy_src->pStdVPS);
|
||||
}
|
||||
|
||||
if (copy_src->pStdSPS) {
|
||||
pStdSPS = new StdVideoH265SequenceParameterSet(*copy_src->pStdSPS);
|
||||
}
|
||||
|
||||
if (copy_src->pStdPPS) {
|
||||
pStdPPS = new StdVideoH265PictureParameterSet(*copy_src->pStdPPS);
|
||||
}
|
||||
}
|
||||
|
||||
safe_VkVideoDecodeAV1InlineSessionParametersInfoKHR::safe_VkVideoDecodeAV1InlineSessionParametersInfoKHR(
|
||||
const VkVideoDecodeAV1InlineSessionParametersInfoKHR* in_struct, [[maybe_unused]] PNextCopyState* copy_state, bool copy_pnext)
|
||||
: sType(in_struct->sType), pStdSequenceHeader(nullptr) {
|
||||
if (copy_pnext) {
|
||||
pNext = SafePnextCopy(in_struct->pNext, copy_state);
|
||||
}
|
||||
if (in_struct->pStdSequenceHeader) {
|
||||
pStdSequenceHeader = new StdVideoAV1SequenceHeader(*in_struct->pStdSequenceHeader);
|
||||
}
|
||||
}
|
||||
|
||||
safe_VkVideoDecodeAV1InlineSessionParametersInfoKHR::safe_VkVideoDecodeAV1InlineSessionParametersInfoKHR()
|
||||
: sType(VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_INLINE_SESSION_PARAMETERS_INFO_KHR), pNext(nullptr), pStdSequenceHeader(nullptr) {}
|
||||
|
||||
safe_VkVideoDecodeAV1InlineSessionParametersInfoKHR::safe_VkVideoDecodeAV1InlineSessionParametersInfoKHR(
|
||||
const safe_VkVideoDecodeAV1InlineSessionParametersInfoKHR& copy_src) {
|
||||
sType = copy_src.sType;
|
||||
pStdSequenceHeader = nullptr;
|
||||
pNext = SafePnextCopy(copy_src.pNext);
|
||||
|
||||
if (copy_src.pStdSequenceHeader) {
|
||||
pStdSequenceHeader = new StdVideoAV1SequenceHeader(*copy_src.pStdSequenceHeader);
|
||||
}
|
||||
}
|
||||
|
||||
safe_VkVideoDecodeAV1InlineSessionParametersInfoKHR& safe_VkVideoDecodeAV1InlineSessionParametersInfoKHR::operator=(
|
||||
const safe_VkVideoDecodeAV1InlineSessionParametersInfoKHR& copy_src) {
|
||||
if (©_src == this) return *this;
|
||||
|
||||
if (pStdSequenceHeader) delete pStdSequenceHeader;
|
||||
FreePnextChain(pNext);
|
||||
|
||||
sType = copy_src.sType;
|
||||
pStdSequenceHeader = nullptr;
|
||||
pNext = SafePnextCopy(copy_src.pNext);
|
||||
|
||||
if (copy_src.pStdSequenceHeader) {
|
||||
pStdSequenceHeader = new StdVideoAV1SequenceHeader(*copy_src.pStdSequenceHeader);
|
||||
}
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
safe_VkVideoDecodeAV1InlineSessionParametersInfoKHR::~safe_VkVideoDecodeAV1InlineSessionParametersInfoKHR() {
|
||||
if (pStdSequenceHeader) delete pStdSequenceHeader;
|
||||
FreePnextChain(pNext);
|
||||
}
|
||||
|
||||
void safe_VkVideoDecodeAV1InlineSessionParametersInfoKHR::initialize(
|
||||
const VkVideoDecodeAV1InlineSessionParametersInfoKHR* in_struct, [[maybe_unused]] PNextCopyState* copy_state) {
|
||||
if (pStdSequenceHeader) delete pStdSequenceHeader;
|
||||
FreePnextChain(pNext);
|
||||
sType = in_struct->sType;
|
||||
pStdSequenceHeader = nullptr;
|
||||
pNext = SafePnextCopy(in_struct->pNext, copy_state);
|
||||
|
||||
if (in_struct->pStdSequenceHeader) {
|
||||
pStdSequenceHeader = new StdVideoAV1SequenceHeader(*in_struct->pStdSequenceHeader);
|
||||
}
|
||||
}
|
||||
|
||||
void safe_VkVideoDecodeAV1InlineSessionParametersInfoKHR::initialize(
|
||||
const safe_VkVideoDecodeAV1InlineSessionParametersInfoKHR* copy_src, [[maybe_unused]] PNextCopyState* copy_state) {
|
||||
sType = copy_src->sType;
|
||||
pStdSequenceHeader = nullptr;
|
||||
pNext = SafePnextCopy(copy_src->pNext);
|
||||
|
||||
if (copy_src->pStdSequenceHeader) {
|
||||
pStdSequenceHeader = new StdVideoAV1SequenceHeader(*copy_src->pStdSequenceHeader);
|
||||
}
|
||||
}
|
||||
|
||||
safe_VkPhysicalDeviceDepthClampZeroOneFeaturesKHR::safe_VkPhysicalDeviceDepthClampZeroOneFeaturesKHR(
|
||||
const VkPhysicalDeviceDepthClampZeroOneFeaturesKHR* in_struct, [[maybe_unused]] PNextCopyState* copy_state, bool copy_pnext)
|
||||
: sType(in_struct->sType), depthClampZeroOne(in_struct->depthClampZeroOne) {
|
||||
|
|
|
@ -893,6 +893,18 @@ void *SafePnextCopy(const void *pNext, PNextCopyState* copy_state) {
|
|||
case VK_STRUCTURE_TYPE_MEMORY_BARRIER_ACCESS_FLAGS_3_KHR:
|
||||
safe_pNext = new safe_VkMemoryBarrierAccessFlags3KHR(reinterpret_cast<const VkMemoryBarrierAccessFlags3KHR *>(pNext), copy_state, false);
|
||||
break;
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_MAINTENANCE_2_FEATURES_KHR:
|
||||
safe_pNext = new safe_VkPhysicalDeviceVideoMaintenance2FeaturesKHR(reinterpret_cast<const VkPhysicalDeviceVideoMaintenance2FeaturesKHR *>(pNext), copy_state, false);
|
||||
break;
|
||||
case VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_INLINE_SESSION_PARAMETERS_INFO_KHR:
|
||||
safe_pNext = new safe_VkVideoDecodeH264InlineSessionParametersInfoKHR(reinterpret_cast<const VkVideoDecodeH264InlineSessionParametersInfoKHR *>(pNext), copy_state, false);
|
||||
break;
|
||||
case VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_INLINE_SESSION_PARAMETERS_INFO_KHR:
|
||||
safe_pNext = new safe_VkVideoDecodeH265InlineSessionParametersInfoKHR(reinterpret_cast<const VkVideoDecodeH265InlineSessionParametersInfoKHR *>(pNext), copy_state, false);
|
||||
break;
|
||||
case VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_INLINE_SESSION_PARAMETERS_INFO_KHR:
|
||||
safe_pNext = new safe_VkVideoDecodeAV1InlineSessionParametersInfoKHR(reinterpret_cast<const VkVideoDecodeAV1InlineSessionParametersInfoKHR *>(pNext), copy_state, false);
|
||||
break;
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLAMP_ZERO_ONE_FEATURES_KHR:
|
||||
safe_pNext = new safe_VkPhysicalDeviceDepthClampZeroOneFeaturesKHR(reinterpret_cast<const VkPhysicalDeviceDepthClampZeroOneFeaturesKHR *>(pNext), copy_state, false);
|
||||
break;
|
||||
|
@ -1969,6 +1981,11 @@ void *SafePnextCopy(const void *pNext, PNextCopyState* copy_state) {
|
|||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_OPACITY_MICROMAP_FEATURES_ARM:
|
||||
safe_pNext = new safe_VkPhysicalDevicePipelineOpacityMicromapFeaturesARM(reinterpret_cast<const VkPhysicalDevicePipelineOpacityMicromapFeaturesARM *>(pNext), copy_state, false);
|
||||
break;
|
||||
#ifdef VK_USE_PLATFORM_METAL_EXT
|
||||
case VK_STRUCTURE_TYPE_IMPORT_MEMORY_METAL_HANDLE_INFO_EXT:
|
||||
safe_pNext = new safe_VkImportMemoryMetalHandleInfoEXT(reinterpret_cast<const VkImportMemoryMetalHandleInfoEXT *>(pNext), copy_state, false);
|
||||
break;
|
||||
#endif // VK_USE_PLATFORM_METAL_EXT
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_ROBUSTNESS_FEATURES_EXT:
|
||||
safe_pNext = new safe_VkPhysicalDeviceVertexAttributeRobustnessFeaturesEXT(reinterpret_cast<const VkPhysicalDeviceVertexAttributeRobustnessFeaturesEXT *>(pNext), copy_state, false);
|
||||
break;
|
||||
|
@ -2881,6 +2898,18 @@ void FreePnextChain(const void *pNext) {
|
|||
case VK_STRUCTURE_TYPE_MEMORY_BARRIER_ACCESS_FLAGS_3_KHR:
|
||||
delete reinterpret_cast<safe_VkMemoryBarrierAccessFlags3KHR *>(header);
|
||||
break;
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_MAINTENANCE_2_FEATURES_KHR:
|
||||
delete reinterpret_cast<safe_VkPhysicalDeviceVideoMaintenance2FeaturesKHR *>(header);
|
||||
break;
|
||||
case VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_INLINE_SESSION_PARAMETERS_INFO_KHR:
|
||||
delete reinterpret_cast<safe_VkVideoDecodeH264InlineSessionParametersInfoKHR *>(header);
|
||||
break;
|
||||
case VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_INLINE_SESSION_PARAMETERS_INFO_KHR:
|
||||
delete reinterpret_cast<safe_VkVideoDecodeH265InlineSessionParametersInfoKHR *>(header);
|
||||
break;
|
||||
case VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_INLINE_SESSION_PARAMETERS_INFO_KHR:
|
||||
delete reinterpret_cast<safe_VkVideoDecodeAV1InlineSessionParametersInfoKHR *>(header);
|
||||
break;
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLAMP_ZERO_ONE_FEATURES_KHR:
|
||||
delete reinterpret_cast<safe_VkPhysicalDeviceDepthClampZeroOneFeaturesKHR *>(header);
|
||||
break;
|
||||
|
@ -3957,6 +3986,11 @@ void FreePnextChain(const void *pNext) {
|
|||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_OPACITY_MICROMAP_FEATURES_ARM:
|
||||
delete reinterpret_cast<safe_VkPhysicalDevicePipelineOpacityMicromapFeaturesARM *>(header);
|
||||
break;
|
||||
#ifdef VK_USE_PLATFORM_METAL_EXT
|
||||
case VK_STRUCTURE_TYPE_IMPORT_MEMORY_METAL_HANDLE_INFO_EXT:
|
||||
delete reinterpret_cast<safe_VkImportMemoryMetalHandleInfoEXT *>(header);
|
||||
break;
|
||||
#endif // VK_USE_PLATFORM_METAL_EXT
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_ROBUSTNESS_FEATURES_EXT:
|
||||
delete reinterpret_cast<safe_VkPhysicalDeviceVertexAttributeRobustnessFeaturesEXT *>(header);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue