mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Merge pull request #613 from asuessenbach/extensions
Improve extension protection string handling.
This commit is contained in:
commit
68b041129e
File diff suppressed because it is too large
Load Diff
@ -62,7 +62,6 @@ private:
|
||||
|
||||
std::string requirements;
|
||||
std::string type;
|
||||
std::string platform;
|
||||
std::string alias;
|
||||
int xmlLine;
|
||||
};
|
||||
@ -74,11 +73,11 @@ private:
|
||||
std::string bitCount;
|
||||
};
|
||||
|
||||
struct TypeData
|
||||
struct TypeInfo
|
||||
{
|
||||
std::string compose() const;
|
||||
|
||||
bool operator==( TypeData const & rhs ) const
|
||||
bool operator==( TypeInfo const & rhs ) const
|
||||
{
|
||||
return ( prefix == rhs.prefix ) && ( type == rhs.type ) && ( postfix == rhs.postfix );
|
||||
}
|
||||
@ -92,7 +91,7 @@ private:
|
||||
{
|
||||
ParamData( int line ) : optional( false ), xmlLine( line ) {}
|
||||
|
||||
TypeData type;
|
||||
TypeInfo type;
|
||||
std::string name;
|
||||
std::vector<std::string> arraySizes;
|
||||
std::string len;
|
||||
@ -104,12 +103,14 @@ private:
|
||||
{
|
||||
CommandData( int line ) : xmlLine( line ) {}
|
||||
|
||||
std::string alias;
|
||||
std::vector<std::string> errorCodes;
|
||||
std::set<std::string> extensions;
|
||||
std::string feature;
|
||||
std::string handle;
|
||||
std::vector<ParamData> params;
|
||||
std::string platform;
|
||||
std::string returnType;
|
||||
std::vector<std::string> successCodes;
|
||||
std::vector<std::string> errorCodes;
|
||||
std::set<std::string> aliases;
|
||||
int xmlLine;
|
||||
};
|
||||
|
||||
@ -138,16 +139,26 @@ private:
|
||||
std::string alias; // alias for this enum
|
||||
std::map<std::string, std::pair<std::string, std::string>> aliases; // map from name to alias and vk-name
|
||||
bool isBitmask = false;
|
||||
std::string platform;
|
||||
std::vector<EnumValueData> values;
|
||||
};
|
||||
|
||||
struct ExtensionData
|
||||
{
|
||||
ExtensionData( int line ) : xmlLine( line ) {}
|
||||
ExtensionData( int line,
|
||||
std::string const & deprecatedBy_,
|
||||
std::string const & obsoletedBy_,
|
||||
std::string const & platform_,
|
||||
std::string const & promotedTo_ )
|
||||
: xmlLine( line )
|
||||
, deprecatedBy( deprecatedBy_ )
|
||||
, obsoletedBy( obsoletedBy_ )
|
||||
, platform( platform_ )
|
||||
, promotedTo( promotedTo_ )
|
||||
{}
|
||||
|
||||
std::string deprecatedBy;
|
||||
std::string obsoletedBy;
|
||||
std::string platform;
|
||||
std::string promotedTo;
|
||||
std::map<std::string, int> requirements;
|
||||
int xmlLine;
|
||||
@ -167,10 +178,9 @@ private:
|
||||
|
||||
std::string alias;
|
||||
std::set<std::string> childrenHandles;
|
||||
std::map<std::string, CommandData> commands;
|
||||
std::set<std::string> commands;
|
||||
std::string deleteCommand;
|
||||
std::string deletePool;
|
||||
std::string platform;
|
||||
std::vector<std::string> parents;
|
||||
int xmlLine;
|
||||
};
|
||||
@ -179,7 +189,7 @@ private:
|
||||
{
|
||||
MemberData( int line ) : xmlLine( line ) {}
|
||||
|
||||
TypeData type;
|
||||
TypeInfo type;
|
||||
std::string name;
|
||||
std::vector<std::string> arraySizes;
|
||||
std::string bitCount;
|
||||
@ -188,6 +198,13 @@ private:
|
||||
int xmlLine;
|
||||
};
|
||||
|
||||
struct PlatformData
|
||||
{
|
||||
PlatformData( std::string const & protect_ ) : protect( protect_ ) {}
|
||||
|
||||
std::string protect;
|
||||
};
|
||||
|
||||
struct StructureData
|
||||
{
|
||||
StructureData( std::vector<std::string> const & extends, int line )
|
||||
@ -197,7 +214,6 @@ private:
|
||||
bool returnedOnly;
|
||||
bool isUnion;
|
||||
std::vector<MemberData> members;
|
||||
std::string platform;
|
||||
std::vector<std::string> structExtends;
|
||||
std::set<std::string> aliases;
|
||||
std::string subStruct;
|
||||
@ -218,6 +234,15 @@ private:
|
||||
Unknown
|
||||
};
|
||||
|
||||
struct TypeData
|
||||
{
|
||||
TypeData( TypeCategory category_ ) : category( category_ ) {}
|
||||
|
||||
TypeCategory category;
|
||||
std::set<std::string> extensions;
|
||||
std::string feature;
|
||||
};
|
||||
|
||||
private:
|
||||
void appendArgumentPlainType( std::string & str, ParamData const & paramData ) const;
|
||||
void appendArguments( std::string & str,
|
||||
@ -265,7 +290,7 @@ private:
|
||||
bool definition ) const;
|
||||
void appendEnum( std::string & str, std::pair<std::string, EnumData> const & enumData ) const;
|
||||
void appendEnumInitializer( std::string & str,
|
||||
TypeData const & type,
|
||||
TypeInfo const & type,
|
||||
std::vector<std::string> const & arraySizes,
|
||||
std::vector<EnumValueData> const & values ) const;
|
||||
void appendEnumToString( std::string & str, std::pair<std::string, EnumData> const & enumData ) const;
|
||||
@ -367,7 +392,7 @@ private:
|
||||
std::string const & commandName,
|
||||
CommandData const & commandData ) const;
|
||||
void appendFunctionBodyStandardArgument( std::string & str,
|
||||
TypeData const & typeData,
|
||||
TypeInfo const & typeData,
|
||||
std::string const & name,
|
||||
std::vector<std::string> const & arraySizes ) const;
|
||||
bool appendFunctionHeaderArgumentEnhanced( std::string & str,
|
||||
@ -397,7 +422,6 @@ private:
|
||||
bool withDefaults,
|
||||
bool withAllocator ) const;
|
||||
void appendFunctionHeaderArguments( std::string & str,
|
||||
std::string const & name,
|
||||
CommandData const & commandData,
|
||||
size_t returnParamIndex,
|
||||
size_t templateParamIndex,
|
||||
@ -407,7 +431,6 @@ private:
|
||||
bool withDefaults,
|
||||
bool withAllocator ) const;
|
||||
void appendFunctionHeaderArgumentsEnhanced( std::string & str,
|
||||
std::string const & name,
|
||||
CommandData const & commandData,
|
||||
size_t returnParamIndex,
|
||||
size_t templateParamIndex,
|
||||
@ -416,7 +439,6 @@ private:
|
||||
bool withDefaults,
|
||||
bool withAllocator ) const;
|
||||
void appendFunctionHeaderArgumentsStandard( std::string & str,
|
||||
std::string const & name,
|
||||
CommandData const & commandData,
|
||||
bool withDefaults ) const;
|
||||
bool appendFunctionHeaderArgumentStandard(
|
||||
@ -444,8 +466,6 @@ private:
|
||||
void appendHandle( std::string & str,
|
||||
std::pair<std::string, HandleData> const & handle,
|
||||
std::set<std::string> & listedHandles ) const;
|
||||
void appendPlatformEnter( std::string & str, bool isAliased, std::string const & platform ) const;
|
||||
void appendPlatformLeave( std::string & str, bool isAliased, std::string const & platform ) const;
|
||||
void appendStruct( std::string & str,
|
||||
std::pair<std::string, StructureData> const & structure,
|
||||
std::set<std::string> & listedStructures ) const;
|
||||
@ -492,9 +512,11 @@ private:
|
||||
size_t determineTemplateParamIndex( std::vector<ParamData> const & params,
|
||||
std::map<size_t, size_t> const & vectorParamIndices ) const;
|
||||
std::map<size_t, size_t> determineVectorParamIndices( std::vector<ParamData> const & params ) const;
|
||||
std::pair<std::string, std::string> generateProtection( std::string const & feature,
|
||||
std::set<std::string> const & extension ) const;
|
||||
std::pair<std::string, std::string> generateProtection( std::string const & type, bool isAliased ) const;
|
||||
bool holdsSType( std::string const & type ) const;
|
||||
bool isTwoStepAlgorithm( std::vector<ParamData> const & params ) const;
|
||||
void linkCommandToHandle( int line, std::string const & name, CommandData const & commandData );
|
||||
void readBaseType( tinyxml2::XMLElement const * element, std::map<std::string, std::string> const & attributes );
|
||||
void readBitmask( tinyxml2::XMLElement const * element, std::map<std::string, std::string> const & attributes );
|
||||
void readBitmaskAlias( tinyxml2::XMLElement const * element, std::map<std::string, std::string> const & attributes );
|
||||
@ -531,21 +553,22 @@ private:
|
||||
void readExtensionDisabledRequire( std::string const & extensionName, tinyxml2::XMLElement const * element );
|
||||
void readExtensionDisabledType( tinyxml2::XMLElement const * element );
|
||||
void readExtensionRequire( tinyxml2::XMLElement const * element,
|
||||
std::string const & platform,
|
||||
std::string const & extension,
|
||||
std::string const & tag,
|
||||
std::map<std::string, int> & requirements );
|
||||
void readExtensionRequireCommand( tinyxml2::XMLElement const * element, std::string const & platform );
|
||||
void readExtensionRequireType( tinyxml2::XMLElement const * element, std::string const & platform );
|
||||
void readExtensionRequireCommand( tinyxml2::XMLElement const * element, std::string const & extension );
|
||||
void readExtensionRequireType( tinyxml2::XMLElement const * element, std::string const & extension );
|
||||
void readExtensions( tinyxml2::XMLElement const * element );
|
||||
void readFeature( tinyxml2::XMLElement const * element );
|
||||
void readFeatureRequire( tinyxml2::XMLElement const * element );
|
||||
void readFeatureRequire( tinyxml2::XMLElement const * element, std::string const & feature );
|
||||
void readFeatureRequireCommand( tinyxml2::XMLElement const * element, std::string const & feature );
|
||||
void readFeatureRequireType( tinyxml2::XMLElement const * element, std::string const & feature );
|
||||
void readFuncpointer( tinyxml2::XMLElement const * element, std::map<std::string, std::string> const & attributes );
|
||||
void readHandle( tinyxml2::XMLElement const * element, std::map<std::string, std::string> const & attributes );
|
||||
std::pair<NameData, TypeData> readNameAndType( tinyxml2::XMLElement const * elements );
|
||||
std::pair<NameData, TypeInfo> readNameAndType( tinyxml2::XMLElement const * elements );
|
||||
void readPlatform( tinyxml2::XMLElement const * element );
|
||||
void readPlatforms( tinyxml2::XMLElement const * element );
|
||||
void readRegistry( tinyxml2::XMLElement const * element );
|
||||
void readRequireCommand( tinyxml2::XMLElement const * element );
|
||||
void readRequireEnum( tinyxml2::XMLElement const * element, std::string const & tag );
|
||||
void readRequireEnum( tinyxml2::XMLElement const * element,
|
||||
std::map<std::string, std::string> const & attributes,
|
||||
@ -554,7 +577,6 @@ private:
|
||||
std::map<std::string, std::string> const & attributes,
|
||||
std::string const & tag );
|
||||
void readRequires( tinyxml2::XMLElement const * element, std::map<std::string, std::string> const & attributes );
|
||||
void readRequireType( tinyxml2::XMLElement const * element );
|
||||
void readStruct( tinyxml2::XMLElement const * element,
|
||||
bool isUnion,
|
||||
std::map<std::string, std::string> const & attributes );
|
||||
@ -578,7 +600,7 @@ private:
|
||||
private:
|
||||
std::map<std::string, BaseTypeData> m_baseTypes;
|
||||
std::map<std::string, BitmaskData> m_bitmasks;
|
||||
std::map<std::string, std::string> m_commandToHandle;
|
||||
std::map<std::string, CommandData> m_commands;
|
||||
std::set<std::string> m_constants;
|
||||
std::set<std::string> m_defines;
|
||||
std::map<std::string, EnumData> m_enums;
|
||||
@ -588,12 +610,12 @@ private:
|
||||
std::map<std::string, FuncPointerData> m_funcPointers;
|
||||
std::map<std::string, HandleData> m_handles;
|
||||
std::set<std::string> m_includes;
|
||||
std::map<std::string, std::string> m_platforms;
|
||||
std::map<std::string, PlatformData> m_platforms;
|
||||
std::map<std::string, std::string> m_structureAliases;
|
||||
std::map<std::string, StructureData> m_structures;
|
||||
std::set<std::string> m_sTypeValues;
|
||||
std::set<std::string> m_tags;
|
||||
std::map<std::string, TypeCategory> m_types;
|
||||
std::map<std::string, TypeData> m_types;
|
||||
std::string m_typesafeCheck;
|
||||
std::string m_version;
|
||||
std::string m_vulkanLicenseHeader;
|
||||
|
@ -1963,6 +1963,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
pImageMemoryBarriers );
|
||||
}
|
||||
|
||||
# ifdef VK_ENABLE_BETA_EXTENSIONS
|
||||
void vkCmdWriteAccelerationStructuresPropertiesKHR( VkCommandBuffer commandBuffer,
|
||||
uint32_t accelerationStructureCount,
|
||||
const VkAccelerationStructureKHR * pAccelerationStructures,
|
||||
@ -1973,6 +1974,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
return ::vkCmdWriteAccelerationStructuresPropertiesKHR(
|
||||
commandBuffer, accelerationStructureCount, pAccelerationStructures, queryType, queryPool, firstQuery );
|
||||
}
|
||||
# endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
|
||||
void vkCmdWriteAccelerationStructuresPropertiesNV( VkCommandBuffer commandBuffer,
|
||||
uint32_t accelerationStructureCount,
|
||||
@ -2073,6 +2075,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
return ::vkAllocateMemory( device, pAllocateInfo, pAllocator, pMemory );
|
||||
}
|
||||
|
||||
# ifdef VK_ENABLE_BETA_EXTENSIONS
|
||||
VkResult vkBindAccelerationStructureMemoryKHR( VkDevice device,
|
||||
uint32_t bindInfoCount,
|
||||
const VkBindAccelerationStructureMemoryInfoKHR * pBindInfos ) const
|
||||
@ -2080,6 +2083,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
{
|
||||
return ::vkBindAccelerationStructureMemoryKHR( device, bindInfoCount, pBindInfos );
|
||||
}
|
||||
# endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
|
||||
VkResult vkBindAccelerationStructureMemoryNV( VkDevice device,
|
||||
uint32_t bindInfoCount,
|
||||
@ -2495,12 +2499,14 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
# endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
|
||||
# ifdef VK_ENABLE_BETA_EXTENSIONS
|
||||
void vkDestroyAccelerationStructureKHR( VkDevice device,
|
||||
VkAccelerationStructureKHR accelerationStructure,
|
||||
const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return ::vkDestroyAccelerationStructureKHR( device, accelerationStructure, pAllocator );
|
||||
}
|
||||
# endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
|
||||
void vkDestroyAccelerationStructureNV( VkDevice device,
|
||||
VkAccelerationStructureKHR accelerationStructure,
|
||||
@ -3230,6 +3236,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
# endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
|
||||
# ifdef VK_ENABLE_BETA_EXTENSIONS
|
||||
VkResult vkGetRayTracingShaderGroupHandlesKHR( VkDevice device,
|
||||
VkPipeline pipeline,
|
||||
uint32_t firstGroup,
|
||||
@ -3239,6 +3246,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
{
|
||||
return ::vkGetRayTracingShaderGroupHandlesKHR( device, pipeline, firstGroup, groupCount, dataSize, pData );
|
||||
}
|
||||
# endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
|
||||
VkResult vkGetRayTracingShaderGroupHandlesNV( VkDevice device,
|
||||
VkPipeline pipeline,
|
||||
@ -19409,6 +19417,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
Dispatch const & d = VULKAN_HPP_DEFAULT_DISPATCHER ) const VULKAN_HPP_NOEXCEPT;
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
|
||||
#ifdef VK_ENABLE_BETA_EXTENSIONS
|
||||
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
void writeAccelerationStructuresPropertiesKHR(
|
||||
uint32_t accelerationStructureCount,
|
||||
@ -19417,7 +19426,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
VULKAN_HPP_NAMESPACE::QueryPool queryPool,
|
||||
uint32_t firstQuery,
|
||||
Dispatch const & d = VULKAN_HPP_DEFAULT_DISPATCHER ) const VULKAN_HPP_NOEXCEPT;
|
||||
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
void writeAccelerationStructuresPropertiesKHR(
|
||||
ArrayProxy<const VULKAN_HPP_NAMESPACE::AccelerationStructureKHR> accelerationStructures,
|
||||
@ -19425,7 +19434,8 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
VULKAN_HPP_NAMESPACE::QueryPool queryPool,
|
||||
uint32_t firstQuery,
|
||||
Dispatch const & d = VULKAN_HPP_DEFAULT_DISPATCHER ) const VULKAN_HPP_NOEXCEPT;
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
#endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
|
||||
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
void writeAccelerationStructuresPropertiesNV(
|
||||
@ -21324,17 +21334,19 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
# endif /*VULKAN_HPP_NO_SMART_HANDLE*/
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
|
||||
#ifdef VK_ENABLE_BETA_EXTENSIONS
|
||||
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
Result bindAccelerationStructureMemoryKHR(
|
||||
uint32_t bindInfoCount,
|
||||
const VULKAN_HPP_NAMESPACE::BindAccelerationStructureMemoryInfoKHR * pBindInfos,
|
||||
Dispatch const & d = VULKAN_HPP_DEFAULT_DISPATCHER ) const VULKAN_HPP_NOEXCEPT;
|
||||
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
typename ResultValueType<void>::type bindAccelerationStructureMemoryKHR(
|
||||
ArrayProxy<const VULKAN_HPP_NAMESPACE::BindAccelerationStructureMemoryInfoKHR> bindInfos,
|
||||
Dispatch const & d = VULKAN_HPP_DEFAULT_DISPATCHER ) const;
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
#endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
|
||||
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
Result bindAccelerationStructureMemoryNV(
|
||||
@ -22373,17 +22385,30 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
#endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
|
||||
#ifdef VK_ENABLE_BETA_EXTENSIONS
|
||||
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
void
|
||||
destroyAccelerationStructureKHR( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure,
|
||||
const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator,
|
||||
Dispatch const & d = VULKAN_HPP_DEFAULT_DISPATCHER ) const VULKAN_HPP_NOEXCEPT;
|
||||
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
void
|
||||
destroyAccelerationStructureKHR( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure,
|
||||
Optional<const AllocationCallbacks> allocator = nullptr,
|
||||
Dispatch const & d = VULKAN_HPP_DEFAULT_DISPATCHER ) const VULKAN_HPP_NOEXCEPT;
|
||||
# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
#endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
|
||||
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
void destroy( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure,
|
||||
const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator,
|
||||
Dispatch const & d = VULKAN_HPP_DEFAULT_DISPATCHER ) const VULKAN_HPP_NOEXCEPT;
|
||||
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
void destroy( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure,
|
||||
Optional<const AllocationCallbacks> allocator = nullptr,
|
||||
Dispatch const & d = VULKAN_HPP_DEFAULT_DISPATCHER ) const VULKAN_HPP_NOEXCEPT;
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
|
||||
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
@ -22397,17 +22422,6 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
Dispatch const & d = VULKAN_HPP_DEFAULT_DISPATCHER ) const VULKAN_HPP_NOEXCEPT;
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
|
||||
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
void destroy( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure,
|
||||
const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator,
|
||||
Dispatch const & d = VULKAN_HPP_DEFAULT_DISPATCHER ) const VULKAN_HPP_NOEXCEPT;
|
||||
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
void destroy( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure,
|
||||
Optional<const AllocationCallbacks> allocator = nullptr,
|
||||
Dispatch const & d = VULKAN_HPP_DEFAULT_DISPATCHER ) const VULKAN_HPP_NOEXCEPT;
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
|
||||
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
void destroyBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer,
|
||||
const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator,
|
||||
@ -22556,27 +22570,27 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
|
||||
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
void destroyDescriptorUpdateTemplateKHR( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate,
|
||||
void destroy( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate,
|
||||
const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator,
|
||||
Dispatch const & d = VULKAN_HPP_DEFAULT_DISPATCHER ) const
|
||||
VULKAN_HPP_NOEXCEPT;
|
||||
Dispatch const & d = VULKAN_HPP_DEFAULT_DISPATCHER ) const VULKAN_HPP_NOEXCEPT;
|
||||
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
void destroyDescriptorUpdateTemplateKHR( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate,
|
||||
void destroy( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate,
|
||||
Optional<const AllocationCallbacks> allocator = nullptr,
|
||||
Dispatch const & d = VULKAN_HPP_DEFAULT_DISPATCHER ) const
|
||||
VULKAN_HPP_NOEXCEPT;
|
||||
Dispatch const & d = VULKAN_HPP_DEFAULT_DISPATCHER ) const VULKAN_HPP_NOEXCEPT;
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
|
||||
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
void destroy( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate,
|
||||
void destroyDescriptorUpdateTemplateKHR( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate,
|
||||
const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator,
|
||||
Dispatch const & d = VULKAN_HPP_DEFAULT_DISPATCHER ) const VULKAN_HPP_NOEXCEPT;
|
||||
Dispatch const & d = VULKAN_HPP_DEFAULT_DISPATCHER ) const
|
||||
VULKAN_HPP_NOEXCEPT;
|
||||
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
void destroy( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate,
|
||||
void destroyDescriptorUpdateTemplateKHR( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate,
|
||||
Optional<const AllocationCallbacks> allocator = nullptr,
|
||||
Dispatch const & d = VULKAN_HPP_DEFAULT_DISPATCHER ) const VULKAN_HPP_NOEXCEPT;
|
||||
Dispatch const & d = VULKAN_HPP_DEFAULT_DISPATCHER ) const
|
||||
VULKAN_HPP_NOEXCEPT;
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
|
||||
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
@ -22888,25 +22902,25 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
|
||||
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
void
|
||||
destroySamplerYcbcrConversionKHR( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion,
|
||||
void destroy( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion,
|
||||
const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator,
|
||||
Dispatch const & d = VULKAN_HPP_DEFAULT_DISPATCHER ) const VULKAN_HPP_NOEXCEPT;
|
||||
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
void
|
||||
destroySamplerYcbcrConversionKHR( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion,
|
||||
void destroy( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion,
|
||||
Optional<const AllocationCallbacks> allocator = nullptr,
|
||||
Dispatch const & d = VULKAN_HPP_DEFAULT_DISPATCHER ) const VULKAN_HPP_NOEXCEPT;
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
|
||||
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
void destroy( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion,
|
||||
void
|
||||
destroySamplerYcbcrConversionKHR( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion,
|
||||
const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator,
|
||||
Dispatch const & d = VULKAN_HPP_DEFAULT_DISPATCHER ) const VULKAN_HPP_NOEXCEPT;
|
||||
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
void destroy( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion,
|
||||
void
|
||||
destroySamplerYcbcrConversionKHR( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion,
|
||||
Optional<const AllocationCallbacks> allocator = nullptr,
|
||||
Dispatch const & d = VULKAN_HPP_DEFAULT_DISPATCHER ) const VULKAN_HPP_NOEXCEPT;
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
@ -23935,6 +23949,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
#endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
|
||||
#ifdef VK_ENABLE_BETA_EXTENSIONS
|
||||
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
Result getRayTracingShaderGroupHandlesKHR( VULKAN_HPP_NAMESPACE::Pipeline pipeline,
|
||||
uint32_t firstGroup,
|
||||
@ -23943,7 +23958,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
void * pData,
|
||||
Dispatch const & d = VULKAN_HPP_DEFAULT_DISPATCHER ) const
|
||||
VULKAN_HPP_NOEXCEPT;
|
||||
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
template <typename T, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
typename ResultValueType<void>::type
|
||||
getRayTracingShaderGroupHandlesKHR( VULKAN_HPP_NAMESPACE::Pipeline pipeline,
|
||||
@ -23951,7 +23966,8 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
uint32_t groupCount,
|
||||
ArrayProxy<T> data,
|
||||
Dispatch const & d = VULKAN_HPP_DEFAULT_DISPATCHER ) const;
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
#endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
|
||||
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
Result
|
||||
@ -81928,6 +81944,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
|
||||
#ifdef VK_ENABLE_BETA_EXTENSIONS
|
||||
template <typename Dispatch>
|
||||
VULKAN_HPP_INLINE void CommandBuffer::writeAccelerationStructuresPropertiesKHR(
|
||||
uint32_t accelerationStructureCount,
|
||||
@ -81945,7 +81962,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
static_cast<VkQueryPool>( queryPool ),
|
||||
firstQuery );
|
||||
}
|
||||
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
template <typename Dispatch>
|
||||
VULKAN_HPP_INLINE void CommandBuffer::writeAccelerationStructuresPropertiesKHR(
|
||||
ArrayProxy<const VULKAN_HPP_NAMESPACE::AccelerationStructureKHR> accelerationStructures,
|
||||
@ -81962,7 +81979,8 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
static_cast<VkQueryPool>( queryPool ),
|
||||
firstQuery );
|
||||
}
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
#endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
|
||||
template <typename Dispatch>
|
||||
VULKAN_HPP_INLINE void CommandBuffer::writeAccelerationStructuresPropertiesNV(
|
||||
@ -82436,6 +82454,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
# endif /*VULKAN_HPP_NO_SMART_HANDLE*/
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
|
||||
#ifdef VK_ENABLE_BETA_EXTENSIONS
|
||||
template <typename Dispatch>
|
||||
VULKAN_HPP_INLINE Result Device::bindAccelerationStructureMemoryKHR(
|
||||
uint32_t bindInfoCount,
|
||||
@ -82445,7 +82464,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
return static_cast<Result>( d.vkBindAccelerationStructureMemoryKHR(
|
||||
m_device, bindInfoCount, reinterpret_cast<const VkBindAccelerationStructureMemoryInfoKHR *>( pBindInfos ) ) );
|
||||
}
|
||||
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
template <typename Dispatch>
|
||||
VULKAN_HPP_INLINE typename ResultValueType<void>::type Device::bindAccelerationStructureMemoryKHR(
|
||||
ArrayProxy<const VULKAN_HPP_NAMESPACE::BindAccelerationStructureMemoryInfoKHR> bindInfos, Dispatch const & d ) const
|
||||
@ -82456,7 +82475,8 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
reinterpret_cast<const VkBindAccelerationStructureMemoryInfoKHR *>( bindInfos.data() ) ) );
|
||||
return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::bindAccelerationStructureMemoryKHR" );
|
||||
}
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
#endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
|
||||
template <typename Dispatch>
|
||||
VULKAN_HPP_INLINE Result Device::bindAccelerationStructureMemoryNV(
|
||||
@ -85068,6 +85088,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
#endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
|
||||
#ifdef VK_ENABLE_BETA_EXTENSIONS
|
||||
template <typename Dispatch>
|
||||
VULKAN_HPP_INLINE void
|
||||
Device::destroyAccelerationStructureKHR( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure,
|
||||
@ -85078,7 +85099,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
static_cast<VkAccelerationStructureKHR>( accelerationStructure ),
|
||||
reinterpret_cast<const VkAllocationCallbacks *>( pAllocator ) );
|
||||
}
|
||||
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
template <typename Dispatch>
|
||||
VULKAN_HPP_INLINE void
|
||||
Device::destroyAccelerationStructureKHR( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure,
|
||||
@ -85090,6 +85111,42 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
static_cast<VkAccelerationStructureKHR>( accelerationStructure ),
|
||||
reinterpret_cast<const VkAllocationCallbacks *>( static_cast<const AllocationCallbacks *>( allocator ) ) );
|
||||
}
|
||||
# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
#endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
|
||||
template <typename Dispatch>
|
||||
VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure,
|
||||
const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator,
|
||||
Dispatch const & d ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
#ifdef VK_ENABLE_BETA_EXTENSIONS
|
||||
d.vkDestroyAccelerationStructureKHR( m_device,
|
||||
static_cast<VkAccelerationStructureKHR>( accelerationStructure ),
|
||||
reinterpret_cast<const VkAllocationCallbacks *>( pAllocator ) );
|
||||
#else
|
||||
d.vkDestroyAccelerationStructureNV( m_device,
|
||||
static_cast<VkAccelerationStructureKHR>( accelerationStructure ),
|
||||
reinterpret_cast<const VkAllocationCallbacks *>( pAllocator ) );
|
||||
#endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
}
|
||||
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
template <typename Dispatch>
|
||||
VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure,
|
||||
Optional<const AllocationCallbacks> allocator,
|
||||
Dispatch const & d ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
# ifdef VK_ENABLE_BETA_EXTENSIONS
|
||||
d.vkDestroyAccelerationStructureKHR(
|
||||
m_device,
|
||||
static_cast<VkAccelerationStructureKHR>( accelerationStructure ),
|
||||
reinterpret_cast<const VkAllocationCallbacks *>( static_cast<const AllocationCallbacks *>( allocator ) ) );
|
||||
# else
|
||||
d.vkDestroyAccelerationStructureNV(
|
||||
m_device,
|
||||
static_cast<VkAccelerationStructureKHR>( accelerationStructure ),
|
||||
reinterpret_cast<const VkAllocationCallbacks *>( static_cast<const AllocationCallbacks *>( allocator ) ) );
|
||||
# endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
}
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
|
||||
template <typename Dispatch>
|
||||
@ -85116,28 +85173,6 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
|
||||
template <typename Dispatch>
|
||||
VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure,
|
||||
const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator,
|
||||
Dispatch const & d ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
d.vkDestroyAccelerationStructureKHR( m_device,
|
||||
static_cast<VkAccelerationStructureKHR>( accelerationStructure ),
|
||||
reinterpret_cast<const VkAllocationCallbacks *>( pAllocator ) );
|
||||
}
|
||||
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
template <typename Dispatch>
|
||||
VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure,
|
||||
Optional<const AllocationCallbacks> allocator,
|
||||
Dispatch const & d ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
d.vkDestroyAccelerationStructureKHR(
|
||||
m_device,
|
||||
static_cast<VkAccelerationStructureKHR>( accelerationStructure ),
|
||||
reinterpret_cast<const VkAllocationCallbacks *>( static_cast<const AllocationCallbacks *>( allocator ) ) );
|
||||
}
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
|
||||
template <typename Dispatch>
|
||||
VULKAN_HPP_INLINE void Device::destroyBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer,
|
||||
const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator,
|
||||
@ -85429,6 +85464,28 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
|
||||
template <typename Dispatch>
|
||||
VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate,
|
||||
const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator,
|
||||
Dispatch const & d ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
d.vkDestroyDescriptorUpdateTemplate( m_device,
|
||||
static_cast<VkDescriptorUpdateTemplate>( descriptorUpdateTemplate ),
|
||||
reinterpret_cast<const VkAllocationCallbacks *>( pAllocator ) );
|
||||
}
|
||||
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
template <typename Dispatch>
|
||||
VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate,
|
||||
Optional<const AllocationCallbacks> allocator,
|
||||
Dispatch const & d ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
d.vkDestroyDescriptorUpdateTemplate(
|
||||
m_device,
|
||||
static_cast<VkDescriptorUpdateTemplate>( descriptorUpdateTemplate ),
|
||||
reinterpret_cast<const VkAllocationCallbacks *>( static_cast<const AllocationCallbacks *>( allocator ) ) );
|
||||
}
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
|
||||
template <typename Dispatch>
|
||||
VULKAN_HPP_INLINE void
|
||||
Device::destroyDescriptorUpdateTemplateKHR( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate,
|
||||
@ -85453,28 +85510,6 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
|
||||
template <typename Dispatch>
|
||||
VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate,
|
||||
const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator,
|
||||
Dispatch const & d ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
d.vkDestroyDescriptorUpdateTemplate( m_device,
|
||||
static_cast<VkDescriptorUpdateTemplate>( descriptorUpdateTemplate ),
|
||||
reinterpret_cast<const VkAllocationCallbacks *>( pAllocator ) );
|
||||
}
|
||||
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
template <typename Dispatch>
|
||||
VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate,
|
||||
Optional<const AllocationCallbacks> allocator,
|
||||
Dispatch const & d ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
d.vkDestroyDescriptorUpdateTemplate(
|
||||
m_device,
|
||||
static_cast<VkDescriptorUpdateTemplate>( descriptorUpdateTemplate ),
|
||||
reinterpret_cast<const VkAllocationCallbacks *>( static_cast<const AllocationCallbacks *>( allocator ) ) );
|
||||
}
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
|
||||
template <typename Dispatch>
|
||||
VULKAN_HPP_INLINE void Device::destroy( const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator,
|
||||
Dispatch const & d ) const VULKAN_HPP_NOEXCEPT
|
||||
@ -86077,6 +86112,28 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
|
||||
template <typename Dispatch>
|
||||
VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion,
|
||||
const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator,
|
||||
Dispatch const & d ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
d.vkDestroySamplerYcbcrConversion( m_device,
|
||||
static_cast<VkSamplerYcbcrConversion>( ycbcrConversion ),
|
||||
reinterpret_cast<const VkAllocationCallbacks *>( pAllocator ) );
|
||||
}
|
||||
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
template <typename Dispatch>
|
||||
VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion,
|
||||
Optional<const AllocationCallbacks> allocator,
|
||||
Dispatch const & d ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
d.vkDestroySamplerYcbcrConversion(
|
||||
m_device,
|
||||
static_cast<VkSamplerYcbcrConversion>( ycbcrConversion ),
|
||||
reinterpret_cast<const VkAllocationCallbacks *>( static_cast<const AllocationCallbacks *>( allocator ) ) );
|
||||
}
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
|
||||
template <typename Dispatch>
|
||||
VULKAN_HPP_INLINE void
|
||||
Device::destroySamplerYcbcrConversionKHR( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion,
|
||||
@ -86101,28 +86158,6 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
|
||||
template <typename Dispatch>
|
||||
VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion,
|
||||
const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator,
|
||||
Dispatch const & d ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
d.vkDestroySamplerYcbcrConversion( m_device,
|
||||
static_cast<VkSamplerYcbcrConversion>( ycbcrConversion ),
|
||||
reinterpret_cast<const VkAllocationCallbacks *>( pAllocator ) );
|
||||
}
|
||||
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
template <typename Dispatch>
|
||||
VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion,
|
||||
Optional<const AllocationCallbacks> allocator,
|
||||
Dispatch const & d ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
d.vkDestroySamplerYcbcrConversion(
|
||||
m_device,
|
||||
static_cast<VkSamplerYcbcrConversion>( ycbcrConversion ),
|
||||
reinterpret_cast<const VkAllocationCallbacks *>( static_cast<const AllocationCallbacks *>( allocator ) ) );
|
||||
}
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
|
||||
template <typename Dispatch>
|
||||
VULKAN_HPP_INLINE void Device::destroySemaphore( VULKAN_HPP_NAMESPACE::Semaphore semaphore,
|
||||
const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator,
|
||||
@ -88447,6 +88482,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
#endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
|
||||
#ifdef VK_ENABLE_BETA_EXTENSIONS
|
||||
template <typename Dispatch>
|
||||
VULKAN_HPP_INLINE Result Device::getRayTracingShaderGroupHandlesKHR( VULKAN_HPP_NAMESPACE::Pipeline pipeline,
|
||||
uint32_t firstGroup,
|
||||
@ -88458,7 +88494,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
return static_cast<Result>( d.vkGetRayTracingShaderGroupHandlesKHR(
|
||||
m_device, static_cast<VkPipeline>( pipeline ), firstGroup, groupCount, dataSize, pData ) );
|
||||
}
|
||||
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
template <typename T, typename Dispatch>
|
||||
VULKAN_HPP_INLINE typename ResultValueType<void>::type
|
||||
Device::getRayTracingShaderGroupHandlesKHR( VULKAN_HPP_NAMESPACE::Pipeline pipeline,
|
||||
@ -88476,7 +88512,8 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
reinterpret_cast<void *>( data.data() ) ) );
|
||||
return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getRayTracingShaderGroupHandlesKHR" );
|
||||
}
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
#endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
|
||||
template <typename Dispatch>
|
||||
VULKAN_HPP_INLINE Result Device::getRayTracingShaderGroupHandlesNV( VULKAN_HPP_NAMESPACE::Pipeline pipeline,
|
||||
@ -96944,7 +96981,9 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
PFN_vkCmdTraceRaysNV vkCmdTraceRaysNV = 0;
|
||||
PFN_vkCmdUpdateBuffer vkCmdUpdateBuffer = 0;
|
||||
PFN_vkCmdWaitEvents vkCmdWaitEvents = 0;
|
||||
#ifdef VK_ENABLE_BETA_EXTENSIONS
|
||||
PFN_vkCmdWriteAccelerationStructuresPropertiesKHR vkCmdWriteAccelerationStructuresPropertiesKHR = 0;
|
||||
#endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
PFN_vkCmdWriteAccelerationStructuresPropertiesNV vkCmdWriteAccelerationStructuresPropertiesNV = 0;
|
||||
PFN_vkCmdWriteBufferMarkerAMD vkCmdWriteBufferMarkerAMD = 0;
|
||||
PFN_vkCmdWriteTimestamp vkCmdWriteTimestamp = 0;
|
||||
@ -96960,7 +96999,9 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
PFN_vkAllocateCommandBuffers vkAllocateCommandBuffers = 0;
|
||||
PFN_vkAllocateDescriptorSets vkAllocateDescriptorSets = 0;
|
||||
PFN_vkAllocateMemory vkAllocateMemory = 0;
|
||||
#ifdef VK_ENABLE_BETA_EXTENSIONS
|
||||
PFN_vkBindAccelerationStructureMemoryKHR vkBindAccelerationStructureMemoryKHR = 0;
|
||||
#endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
PFN_vkBindAccelerationStructureMemoryNV vkBindAccelerationStructureMemoryNV = 0;
|
||||
PFN_vkBindBufferMemory vkBindBufferMemory = 0;
|
||||
PFN_vkBindBufferMemory2 vkBindBufferMemory2 = 0;
|
||||
@ -97027,7 +97068,9 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
#ifdef VK_ENABLE_BETA_EXTENSIONS
|
||||
PFN_vkDeferredOperationJoinKHR vkDeferredOperationJoinKHR = 0;
|
||||
#endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
#ifdef VK_ENABLE_BETA_EXTENSIONS
|
||||
PFN_vkDestroyAccelerationStructureKHR vkDestroyAccelerationStructureKHR = 0;
|
||||
#endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
PFN_vkDestroyAccelerationStructureNV vkDestroyAccelerationStructureNV = 0;
|
||||
PFN_vkDestroyBuffer vkDestroyBuffer = 0;
|
||||
PFN_vkDestroyBufferView vkDestroyBufferView = 0;
|
||||
@ -97152,7 +97195,9 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
#ifdef VK_ENABLE_BETA_EXTENSIONS
|
||||
PFN_vkGetRayTracingCaptureReplayShaderGroupHandlesKHR vkGetRayTracingCaptureReplayShaderGroupHandlesKHR = 0;
|
||||
#endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
#ifdef VK_ENABLE_BETA_EXTENSIONS
|
||||
PFN_vkGetRayTracingShaderGroupHandlesKHR vkGetRayTracingShaderGroupHandlesKHR = 0;
|
||||
#endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
PFN_vkGetRayTracingShaderGroupHandlesNV vkGetRayTracingShaderGroupHandlesNV = 0;
|
||||
PFN_vkGetRefreshCycleDurationGOOGLE vkGetRefreshCycleDurationGOOGLE = 0;
|
||||
PFN_vkGetRenderAreaGranularity vkGetRenderAreaGranularity = 0;
|
||||
@ -97819,8 +97864,10 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
vkCmdTraceRaysNV = PFN_vkCmdTraceRaysNV( vkGetInstanceProcAddr( instance, "vkCmdTraceRaysNV" ) );
|
||||
vkCmdUpdateBuffer = PFN_vkCmdUpdateBuffer( vkGetInstanceProcAddr( instance, "vkCmdUpdateBuffer" ) );
|
||||
vkCmdWaitEvents = PFN_vkCmdWaitEvents( vkGetInstanceProcAddr( instance, "vkCmdWaitEvents" ) );
|
||||
#ifdef VK_ENABLE_BETA_EXTENSIONS
|
||||
vkCmdWriteAccelerationStructuresPropertiesKHR = PFN_vkCmdWriteAccelerationStructuresPropertiesKHR(
|
||||
vkGetInstanceProcAddr( instance, "vkCmdWriteAccelerationStructuresPropertiesKHR" ) );
|
||||
#endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
vkCmdWriteAccelerationStructuresPropertiesNV = PFN_vkCmdWriteAccelerationStructuresPropertiesNV(
|
||||
vkGetInstanceProcAddr( instance, "vkCmdWriteAccelerationStructuresPropertiesNV" ) );
|
||||
vkCmdWriteBufferMarkerAMD =
|
||||
@ -97844,8 +97891,10 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
vkAllocateDescriptorSets =
|
||||
PFN_vkAllocateDescriptorSets( vkGetInstanceProcAddr( instance, "vkAllocateDescriptorSets" ) );
|
||||
vkAllocateMemory = PFN_vkAllocateMemory( vkGetInstanceProcAddr( instance, "vkAllocateMemory" ) );
|
||||
#ifdef VK_ENABLE_BETA_EXTENSIONS
|
||||
vkBindAccelerationStructureMemoryKHR = PFN_vkBindAccelerationStructureMemoryKHR(
|
||||
vkGetInstanceProcAddr( instance, "vkBindAccelerationStructureMemoryKHR" ) );
|
||||
#endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
vkBindAccelerationStructureMemoryNV = PFN_vkBindAccelerationStructureMemoryNV(
|
||||
vkGetInstanceProcAddr( instance, "vkBindAccelerationStructureMemoryNV" ) );
|
||||
vkBindBufferMemory = PFN_vkBindBufferMemory( vkGetInstanceProcAddr( instance, "vkBindBufferMemory" ) );
|
||||
@ -97940,8 +97989,10 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
vkDeferredOperationJoinKHR =
|
||||
PFN_vkDeferredOperationJoinKHR( vkGetInstanceProcAddr( instance, "vkDeferredOperationJoinKHR" ) );
|
||||
#endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
#ifdef VK_ENABLE_BETA_EXTENSIONS
|
||||
vkDestroyAccelerationStructureKHR =
|
||||
PFN_vkDestroyAccelerationStructureKHR( vkGetInstanceProcAddr( instance, "vkDestroyAccelerationStructureKHR" ) );
|
||||
#endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
vkDestroyAccelerationStructureNV =
|
||||
PFN_vkDestroyAccelerationStructureNV( vkGetInstanceProcAddr( instance, "vkDestroyAccelerationStructureNV" ) );
|
||||
vkDestroyBuffer = PFN_vkDestroyBuffer( vkGetInstanceProcAddr( instance, "vkDestroyBuffer" ) );
|
||||
@ -98133,8 +98184,10 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
vkGetRayTracingCaptureReplayShaderGroupHandlesKHR = PFN_vkGetRayTracingCaptureReplayShaderGroupHandlesKHR(
|
||||
vkGetInstanceProcAddr( instance, "vkGetRayTracingCaptureReplayShaderGroupHandlesKHR" ) );
|
||||
#endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
#ifdef VK_ENABLE_BETA_EXTENSIONS
|
||||
vkGetRayTracingShaderGroupHandlesKHR = PFN_vkGetRayTracingShaderGroupHandlesKHR(
|
||||
vkGetInstanceProcAddr( instance, "vkGetRayTracingShaderGroupHandlesKHR" ) );
|
||||
#endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
vkGetRayTracingShaderGroupHandlesNV = PFN_vkGetRayTracingShaderGroupHandlesNV(
|
||||
vkGetInstanceProcAddr( instance, "vkGetRayTracingShaderGroupHandlesNV" ) );
|
||||
vkGetRefreshCycleDurationGOOGLE =
|
||||
@ -98410,8 +98463,10 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
vkCmdTraceRaysNV = PFN_vkCmdTraceRaysNV( vkGetDeviceProcAddr( device, "vkCmdTraceRaysNV" ) );
|
||||
vkCmdUpdateBuffer = PFN_vkCmdUpdateBuffer( vkGetDeviceProcAddr( device, "vkCmdUpdateBuffer" ) );
|
||||
vkCmdWaitEvents = PFN_vkCmdWaitEvents( vkGetDeviceProcAddr( device, "vkCmdWaitEvents" ) );
|
||||
#ifdef VK_ENABLE_BETA_EXTENSIONS
|
||||
vkCmdWriteAccelerationStructuresPropertiesKHR = PFN_vkCmdWriteAccelerationStructuresPropertiesKHR(
|
||||
vkGetDeviceProcAddr( device, "vkCmdWriteAccelerationStructuresPropertiesKHR" ) );
|
||||
#endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
vkCmdWriteAccelerationStructuresPropertiesNV = PFN_vkCmdWriteAccelerationStructuresPropertiesNV(
|
||||
vkGetDeviceProcAddr( device, "vkCmdWriteAccelerationStructuresPropertiesNV" ) );
|
||||
vkCmdWriteBufferMarkerAMD =
|
||||
@ -98434,8 +98489,10 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
vkAllocateDescriptorSets =
|
||||
PFN_vkAllocateDescriptorSets( vkGetDeviceProcAddr( device, "vkAllocateDescriptorSets" ) );
|
||||
vkAllocateMemory = PFN_vkAllocateMemory( vkGetDeviceProcAddr( device, "vkAllocateMemory" ) );
|
||||
#ifdef VK_ENABLE_BETA_EXTENSIONS
|
||||
vkBindAccelerationStructureMemoryKHR = PFN_vkBindAccelerationStructureMemoryKHR(
|
||||
vkGetDeviceProcAddr( device, "vkBindAccelerationStructureMemoryKHR" ) );
|
||||
#endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
vkBindAccelerationStructureMemoryNV =
|
||||
PFN_vkBindAccelerationStructureMemoryNV( vkGetDeviceProcAddr( device, "vkBindAccelerationStructureMemoryNV" ) );
|
||||
vkBindBufferMemory = PFN_vkBindBufferMemory( vkGetDeviceProcAddr( device, "vkBindBufferMemory" ) );
|
||||
@ -98526,8 +98583,10 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
vkDeferredOperationJoinKHR =
|
||||
PFN_vkDeferredOperationJoinKHR( vkGetDeviceProcAddr( device, "vkDeferredOperationJoinKHR" ) );
|
||||
#endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
#ifdef VK_ENABLE_BETA_EXTENSIONS
|
||||
vkDestroyAccelerationStructureKHR =
|
||||
PFN_vkDestroyAccelerationStructureKHR( vkGetDeviceProcAddr( device, "vkDestroyAccelerationStructureKHR" ) );
|
||||
#endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
vkDestroyAccelerationStructureNV =
|
||||
PFN_vkDestroyAccelerationStructureNV( vkGetDeviceProcAddr( device, "vkDestroyAccelerationStructureNV" ) );
|
||||
vkDestroyBuffer = PFN_vkDestroyBuffer( vkGetDeviceProcAddr( device, "vkDestroyBuffer" ) );
|
||||
@ -98714,8 +98773,10 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
vkGetRayTracingCaptureReplayShaderGroupHandlesKHR = PFN_vkGetRayTracingCaptureReplayShaderGroupHandlesKHR(
|
||||
vkGetDeviceProcAddr( device, "vkGetRayTracingCaptureReplayShaderGroupHandlesKHR" ) );
|
||||
#endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
#ifdef VK_ENABLE_BETA_EXTENSIONS
|
||||
vkGetRayTracingShaderGroupHandlesKHR = PFN_vkGetRayTracingShaderGroupHandlesKHR(
|
||||
vkGetDeviceProcAddr( device, "vkGetRayTracingShaderGroupHandlesKHR" ) );
|
||||
#endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
vkGetRayTracingShaderGroupHandlesNV =
|
||||
PFN_vkGetRayTracingShaderGroupHandlesNV( vkGetDeviceProcAddr( device, "vkGetRayTracingShaderGroupHandlesNV" ) );
|
||||
vkGetRefreshCycleDurationGOOGLE =
|
||||
|
Loading…
Reference in New Issue
Block a user