diff --git a/VulkanHppGenerator.cpp b/VulkanHppGenerator.cpp index b1918fdda..1a78c7999 100644 --- a/VulkanHppGenerator.cpp +++ b/VulkanHppGenerator.cpp @@ -9349,10 +9349,10 @@ std::string VulkanHppGenerator::generateRAIIHandle( std::pair::Type ${className}::${commandName}( ${argumentList} ) const ${noexcept} { - ${specialAssertion} ${dataDeclarations} ${callSequence} ${resultCheck} @@ -9742,8 +9734,7 @@ std::string VulkanHppGenerator::generateRAIIHandleCommandFactory( std::string co { "noexcept", noexceptString }, { "resultCheck", resultCheck }, { "returnStatements", returnStatements }, - { "returnType", returnType }, - { "specialAssertion", specialAssertion } } ); + { "returnType", returnType } } ); } else { @@ -13628,11 +13619,11 @@ bool VulkanHppGenerator::handleRemovalType( std::string const & type, std::vecto return removed; } -bool VulkanHppGenerator::hasArrayConstructor(HandleData const& handleData) const +bool VulkanHppGenerator::hasArrayConstructor( HandleData const & handleData ) const { for ( auto constructorIt : handleData.constructorIts ) { - if (!determineVectorParams(constructorIt->second.params).empty()) + if ( !determineVectorParams( constructorIt->second.params ).empty() ) { return true; } diff --git a/vulkan/vulkan_raii.hpp b/vulkan/vulkan_raii.hpp index bc3d7cfe8..af97bc57e 100644 --- a/vulkan/vulkan_raii.hpp +++ b/vulkan/vulkan_raii.hpp @@ -14154,9 +14154,6 @@ namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_NAMESPACE::Optional allocator ) const VULKAN_HPP_RAII_CREATE_NOEXCEPT { - VULKAN_HPP_ASSERT( - createInfo.flags & vk::DescriptorPoolCreateFlagBits::eFreeDescriptorSet && - "createInfo.flags need to have vk::DescriptorPoolCreateFlagBits::eFreeDesriptors set in order to allow destruction of VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DescriptorSet which requires to return individual allocations to the pool" ); VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool; VULKAN_HPP_NAMESPACE::Result result = static_cast( getDispatcher()->vkCreateDescriptorPool( static_cast( m_device ),