From bba05939b92bfff3dedbb9878650f0f50784a13e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20S=C3=BC=C3=9Fenbach?= Date: Fri, 2 Feb 2024 21:52:35 +0100 Subject: [PATCH] Extend the noDeleterFunction list by vkReleaseCapturedPipelineDataKHR. (#1784) --- VulkanHppGenerator.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/VulkanHppGenerator.cpp b/VulkanHppGenerator.cpp index d2a974a..696d480 100644 --- a/VulkanHppGenerator.cpp +++ b/VulkanHppGenerator.cpp @@ -15191,7 +15191,9 @@ TypeInfo VulkanHppGenerator::readTypeInfo( tinyxml2::XMLElement const * element void VulkanHppGenerator::registerDeleter( std::string const & commandName, CommandData const & commandData ) { // some special handling for release functions that don't release an object - const std::set noDeleterFunctions = { "vkReleaseFullScreenExclusiveModeEXT", "vkReleaseProfilingLockKHR", "vkReleaseSwapchainImagesEXT" }; + const std::set noDeleterFunctions = { + "vkReleaseCapturedPipelineDataKHR", "vkReleaseFullScreenExclusiveModeEXT", "vkReleaseProfilingLockKHR", "vkReleaseSwapchainImagesEXT" + }; if ( ( commandName.substr( 2, 7 ) == "Destroy" ) || ( commandName.substr( 2, 4 ) == "Free" ) || ( ( commandName.substr( 2, 7 ) == "Release" ) && !noDeleterFunctions.contains( commandName ) ) )