mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Introduce version check in function wrappers
The assertions fire when the dispatcher and the actual function call is compiled with different VK_HEADER_VERSION.
This commit is contained in:
parent
f70d4291e4
commit
987bd214e5
@ -190,7 +190,7 @@ ${commandDefinitions}
|
|||||||
std::string VulkanHppGenerator::generateDispatchLoaderDynamic() const
|
std::string VulkanHppGenerator::generateDispatchLoaderDynamic() const
|
||||||
{
|
{
|
||||||
const std::string dispatchLoaderDynamicTemplate = R"(
|
const std::string dispatchLoaderDynamicTemplate = R"(
|
||||||
class DispatchLoaderDynamic
|
class DispatchLoaderDynamic : public DispatchLoaderBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
using PFN_dummy = void ( * )();
|
using PFN_dummy = void ( * )();
|
||||||
@ -311,7 +311,7 @@ std::string VulkanHppGenerator::generateDispatchLoaderStatic() const
|
|||||||
{
|
{
|
||||||
const std::string dispatchLoaderStaticTemplate = R"(
|
const std::string dispatchLoaderStaticTemplate = R"(
|
||||||
#if !defined( VK_NO_PROTOTYPES )
|
#if !defined( VK_NO_PROTOTYPES )
|
||||||
class DispatchLoaderStatic
|
class DispatchLoaderStatic : public DispatchLoaderBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
${commands}
|
${commands}
|
||||||
@ -570,7 +570,7 @@ std::string VulkanHppGenerator::generateRAIIDispatchers() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
std::string contextDispatcherTemplate = R"(
|
std::string contextDispatcherTemplate = R"(
|
||||||
class ContextDispatcher
|
class ContextDispatcher : public DispatchLoaderBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ContextDispatcher( PFN_vkGetInstanceProcAddr getProcAddr )
|
ContextDispatcher( PFN_vkGetInstanceProcAddr getProcAddr )
|
||||||
@ -587,7 +587,7 @@ ${members}
|
|||||||
{ { "initializerList", contextInitializerList }, { "members", contextMembers } } );
|
{ { "initializerList", contextInitializerList }, { "members", contextMembers } } );
|
||||||
|
|
||||||
std::string instanceDispatcherTemplate = R"(
|
std::string instanceDispatcherTemplate = R"(
|
||||||
class InstanceDispatcher
|
class InstanceDispatcher : public DispatchLoaderBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
InstanceDispatcher( PFN_vkGetInstanceProcAddr getProcAddr )
|
InstanceDispatcher( PFN_vkGetInstanceProcAddr getProcAddr )
|
||||||
@ -615,7 +615,7 @@ ${members}
|
|||||||
{ { "initAssignments", instanceInitAssignments }, { "members", instanceMembers } } );
|
{ { "initAssignments", instanceInitAssignments }, { "members", instanceMembers } } );
|
||||||
|
|
||||||
std::string deviceDispatcherTemplate = R"(
|
std::string deviceDispatcherTemplate = R"(
|
||||||
class DeviceDispatcher
|
class DeviceDispatcher : public DispatchLoaderBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
DeviceDispatcher( PFN_vkGetDeviceProcAddr getProcAddr )
|
DeviceDispatcher( PFN_vkGetDeviceProcAddr getProcAddr )
|
||||||
@ -1659,6 +1659,7 @@ ${moveAssignmentInstructions}
|
|||||||
${getConstructorSuccessCode}
|
${getConstructorSuccessCode}
|
||||||
${dispatcherType} const * getDispatcher() const
|
${dispatcherType} const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher${dispatcherAccess}getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return ${getDispatcherReturn}m_dispatcher;
|
return ${getDispatcherReturn}m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1684,6 +1685,7 @@ ${leave})";
|
|||||||
handleTemplate,
|
handleTemplate,
|
||||||
{ { "debugReportObjectType", debugReportObjectType },
|
{ { "debugReportObjectType", debugReportObjectType },
|
||||||
{ "destructor", destructor },
|
{ "destructor", destructor },
|
||||||
|
{ "dispatcherAccess", ( handleType == "Device" ) || ( handleType == "Instance" ) ? "." : "->" },
|
||||||
{ "dispatcherType", dispatcherType },
|
{ "dispatcherType", dispatcherType },
|
||||||
{ "enter", enter },
|
{ "enter", enter },
|
||||||
{ "getConstructorSuccessCode", getConstructorSuccessCode },
|
{ "getConstructorSuccessCode", getConstructorSuccessCode },
|
||||||
@ -1764,6 +1766,7 @@ ${memberFunctionDeclarations}
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::ContextDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::ContextDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher.getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return &m_dispatcher;
|
return &m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2400,6 +2403,7 @@ std::string VulkanHppGenerator::constructCommandBoolGetValue( std::string const
|
|||||||
R"( template <typename Dispatch>
|
R"( template <typename Dispatch>
|
||||||
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::pair<Bool32,${returnType}> ${className}${classSeparator}${commandName}( ${argumentList} )${const}
|
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::pair<Bool32,${returnType}> ${className}${classSeparator}${commandName}( ${argumentList} )${const}
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
std::pair<Bool32,${returnType}> result;
|
std::pair<Bool32,${returnType}> result;
|
||||||
${returnType} & ${returnValueName} = result.second;
|
${returnType} & ${returnValueName} = result.second;
|
||||||
result.first = static_cast<Bool32>( d.${vkCommand}( ${callArguments} ) );
|
result.first = static_cast<Bool32>( d.${vkCommand}( ${callArguments} ) );
|
||||||
@ -2458,6 +2462,7 @@ std::string VulkanHppGenerator::constructCommandResult( std::string const &
|
|||||||
R"( template <typename Dispatch>
|
R"( template <typename Dispatch>
|
||||||
${nodiscard}VULKAN_HPP_INLINE ${returnType} ${className}${classSeparator}${commandName}( ${argumentList} ) const
|
${nodiscard}VULKAN_HPP_INLINE ${returnType} ${className}${classSeparator}${commandName}( ${argumentList} ) const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
Result result = static_cast<Result>( d.${vkCommand}( ${callArguments} ) );
|
Result result = static_cast<Result>( d.${vkCommand}( ${callArguments} ) );
|
||||||
return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::${className}${classSeparator}${commandName}"${successCodeList} );
|
return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::${className}${classSeparator}${commandName}"${successCodeList} );
|
||||||
})";
|
})";
|
||||||
@ -2522,6 +2527,7 @@ std::string VulkanHppGenerator::constructCommandResultEnumerate( std::string con
|
|||||||
R"( template <typename ${allocatorType}, typename Dispatch${typenameCheck}>
|
R"( template <typename ${allocatorType}, typename Dispatch${typenameCheck}>
|
||||||
${nodiscard}VULKAN_HPP_INLINE typename ResultValueType<std::vector<${vectorElementType}, ${allocatorType}>>::type ${className}${classSeparator}${commandName}( ${argumentList} )${const}
|
${nodiscard}VULKAN_HPP_INLINE typename ResultValueType<std::vector<${vectorElementType}, ${allocatorType}>>::type ${className}${classSeparator}${commandName}( ${argumentList} )${const}
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
std::vector<${vectorElementType}, ${allocatorType}> ${vectorName}${vectorAllocator};
|
std::vector<${vectorElementType}, ${allocatorType}> ${vectorName}${vectorAllocator};
|
||||||
${counterType} ${counterName};
|
${counterType} ${counterName};
|
||||||
Result result;
|
Result result;
|
||||||
@ -2622,6 +2628,7 @@ std::string
|
|||||||
R"( template <typename StructureChain, typename StructureChainAllocator, typename Dispatch${typenameCheck}>
|
R"( template <typename StructureChain, typename StructureChainAllocator, typename Dispatch${typenameCheck}>
|
||||||
${nodiscard}VULKAN_HPP_INLINE typename ResultValueType<std::vector<StructureChain, StructureChainAllocator>>::type ${className}${classSeparator}${commandName}( ${argumentList} ) const
|
${nodiscard}VULKAN_HPP_INLINE typename ResultValueType<std::vector<StructureChain, StructureChainAllocator>>::type ${className}${classSeparator}${commandName}( ${argumentList} ) const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
std::vector<StructureChain, StructureChainAllocator> returnVector${structureChainAllocator};
|
std::vector<StructureChain, StructureChainAllocator> returnVector${structureChainAllocator};
|
||||||
std::vector<${vectorElementType}> ${vectorName};
|
std::vector<${vectorElementType}> ${vectorName};
|
||||||
${counterType} ${counterName};
|
${counterType} ${counterName};
|
||||||
@ -2735,6 +2742,7 @@ std::string
|
|||||||
R"( template <typename ${templateTypeFirst}Allocator, typename ${templateTypeSecond}Allocator, typename Dispatch${typenameCheck}>
|
R"( template <typename ${templateTypeFirst}Allocator, typename ${templateTypeSecond}Allocator, typename Dispatch${typenameCheck}>
|
||||||
${nodiscard}VULKAN_HPP_INLINE typename ResultValueType<std::pair<std::vector<${templateTypeFirst}, ${templateTypeFirst}Allocator>, std::vector<${templateTypeSecond}, ${templateTypeSecond}Allocator>>>::type ${className}${classSeparator}${commandName}( ${argumentList} ) const
|
${nodiscard}VULKAN_HPP_INLINE typename ResultValueType<std::pair<std::vector<${templateTypeFirst}, ${templateTypeFirst}Allocator>, std::vector<${templateTypeSecond}, ${templateTypeSecond}Allocator>>>::type ${className}${classSeparator}${commandName}( ${argumentList} ) const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
std::pair<std::vector<${templateTypeFirst}, ${templateTypeFirst}Allocator>, std::vector<${templateTypeSecond}, ${templateTypeSecond}Allocator>> data${pairConstructor};
|
std::pair<std::vector<${templateTypeFirst}, ${templateTypeFirst}Allocator>, std::vector<${templateTypeSecond}, ${templateTypeSecond}Allocator>> data${pairConstructor};
|
||||||
std::vector<${templateTypeFirst}, ${templateTypeFirst}Allocator> & ${firstVectorName} = data.first;
|
std::vector<${templateTypeFirst}, ${templateTypeFirst}Allocator> & ${firstVectorName} = data.first;
|
||||||
std::vector<${templateTypeSecond}, ${templateTypeSecond}Allocator> & ${secondVectorName} = data.second;
|
std::vector<${templateTypeSecond}, ${templateTypeSecond}Allocator> & ${secondVectorName} = data.second;
|
||||||
@ -2845,6 +2853,7 @@ std::string VulkanHppGenerator::constructCommandResultEnumerateTwoVectorsDepreca
|
|||||||
VULKAN_HPP_DEPRECATED( "This function is deprecated. Use one of the other flavours of it.")
|
VULKAN_HPP_DEPRECATED( "This function is deprecated. Use one of the other flavours of it.")
|
||||||
${nodiscard}VULKAN_HPP_INLINE typename ResultValueType<${returnType}>::type ${className}${classSeparator}${commandName}( ${argumentList} ) const
|
${nodiscard}VULKAN_HPP_INLINE typename ResultValueType<${returnType}>::type ${className}${classSeparator}${commandName}( ${argumentList} ) const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
${functionBody}
|
${functionBody}
|
||||||
})";
|
})";
|
||||||
|
|
||||||
@ -2921,6 +2930,7 @@ std::string VulkanHppGenerator::constructCommandResultGetChain( std::string cons
|
|||||||
R"( template <typename X, typename Y, typename... Z, typename Dispatch>
|
R"( template <typename X, typename Y, typename... Z, typename Dispatch>
|
||||||
VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType<StructureChain<X, Y, Z...>>::type ${className}${classSeparator}${commandName}( ${argumentList} ) const
|
VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType<StructureChain<X, Y, Z...>>::type ${className}${classSeparator}${commandName}( ${argumentList} ) const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
StructureChain<X, Y, Z...> structureChain;
|
StructureChain<X, Y, Z...> structureChain;
|
||||||
${returnType} & ${returnVariable} = structureChain.template get<${returnType}>();
|
${returnType} & ${returnVariable} = structureChain.template get<${returnType}>();
|
||||||
Result result = static_cast<Result>( d.${vkCommand}( ${callArguments} ) );
|
Result result = static_cast<Result>( d.${vkCommand}( ${callArguments} ) );
|
||||||
@ -2977,6 +2987,7 @@ std::string VulkanHppGenerator::constructCommandResultGetHandleUnique( std::stri
|
|||||||
R"( template <typename Dispatch>
|
R"( template <typename Dispatch>
|
||||||
${nodiscard}VULKAN_HPP_INLINE typename ResultValueType<UniqueHandle<${returnBaseType}, Dispatch>>::type ${className}${classSeparator}${commandName}Unique( ${argumentList} )${const}
|
${nodiscard}VULKAN_HPP_INLINE typename ResultValueType<UniqueHandle<${returnBaseType}, Dispatch>>::type ${className}${classSeparator}${commandName}Unique( ${argumentList} )${const}
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
${returnBaseType} ${returnValueName};
|
${returnBaseType} ${returnValueName};
|
||||||
Result result = static_cast<Result>( d.${vkCommand}( ${callArguments} ) );
|
Result result = static_cast<Result>( d.${vkCommand}( ${callArguments} ) );
|
||||||
${ObjectDeleter}<${parentName}, Dispatch> deleter( ${this}${allocator}d );
|
${ObjectDeleter}<${parentName}, Dispatch> deleter( ${this}${allocator}d );
|
||||||
@ -3080,6 +3091,7 @@ std::string VulkanHppGenerator::constructCommandResultGetTwoValues(
|
|||||||
R"( template <typename Dispatch>
|
R"( template <typename Dispatch>
|
||||||
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ${returnType} ${className}${classSeparator}${commandName}( ${argumentList} ) const
|
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ${returnType} ${className}${classSeparator}${commandName}( ${argumentList} ) const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
std::pair<${firstType}, ${secondType}> returnValues;
|
std::pair<${firstType}, ${secondType}> returnValues;
|
||||||
${firstType} & ${firstValueName} = returnValues.first;
|
${firstType} & ${firstValueName} = returnValues.first;
|
||||||
${secondType} & ${secondValueName} = returnValues.second;
|
${secondType} & ${secondValueName} = returnValues.second;
|
||||||
@ -3150,7 +3162,8 @@ std::string
|
|||||||
const std::string functionTemplate =
|
const std::string functionTemplate =
|
||||||
R"( template <typename Dispatch>
|
R"( template <typename Dispatch>
|
||||||
VULKAN_HPP_INLINE Result ${className}${classSeparator}${commandName}( ${argumentList} ) const ${noexcept}
|
VULKAN_HPP_INLINE Result ${className}${classSeparator}${commandName}( ${argumentList} ) const ${noexcept}
|
||||||
{${vectorSizeCheck}
|
{
|
||||||
|
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );${vectorSizeCheck}
|
||||||
Result result = static_cast<Result>( d.${vkCommand}( ${callArguments} ) );
|
Result result = static_cast<Result>( d.${vkCommand}( ${callArguments} ) );
|
||||||
return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::${className}${classSeparator}${commandName}"${successCodeList} );
|
return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::${className}${classSeparator}${commandName}"${successCodeList} );
|
||||||
})";
|
})";
|
||||||
@ -3219,6 +3232,7 @@ std::string VulkanHppGenerator::constructCommandResultGetValue( std::string cons
|
|||||||
R"( template <${typenameT}typename Dispatch>
|
R"( template <${typenameT}typename Dispatch>
|
||||||
${nodiscard}VULKAN_HPP_INLINE ${returnType} ${className}${classSeparator}${commandName}( ${argumentList} )${const}
|
${nodiscard}VULKAN_HPP_INLINE ${returnType} ${className}${classSeparator}${commandName}( ${argumentList} )${const}
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
${returnBaseType} ${returnValueName};
|
${returnBaseType} ${returnValueName};
|
||||||
Result result = static_cast<Result>( d.${vkCommand}( ${callArguments} ) );
|
Result result = static_cast<Result>( d.${vkCommand}( ${callArguments} ) );
|
||||||
return createResultValue( result, ${returnValueName}, VULKAN_HPP_NAMESPACE_STRING "::${className}${classSeparator}${commandName}"${successCodeList} );
|
return createResultValue( result, ${returnValueName}, VULKAN_HPP_NAMESPACE_STRING "::${className}${classSeparator}${commandName}"${successCodeList} );
|
||||||
@ -3285,6 +3299,7 @@ std::string
|
|||||||
VULKAN_HPP_DEPRECATED( "This function is deprecated. Use one of the other flavours of it.")
|
VULKAN_HPP_DEPRECATED( "This function is deprecated. Use one of the other flavours of it.")
|
||||||
${nodiscard}VULKAN_HPP_INLINE typename ResultValueType<${returnType}>::type ${className}${classSeparator}${commandName}( ${argumentList} ) const
|
${nodiscard}VULKAN_HPP_INLINE typename ResultValueType<${returnType}>::type ${className}${classSeparator}${commandName}( ${argumentList} ) const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
${functionBody}
|
${functionBody}
|
||||||
})";
|
})";
|
||||||
|
|
||||||
@ -3347,6 +3362,7 @@ std::string VulkanHppGenerator::constructCommandResultGetVector( std::string con
|
|||||||
R"( template <typename T, typename Allocator, typename Dispatch>
|
R"( template <typename T, typename Allocator, typename Dispatch>
|
||||||
${nodiscard}VULKAN_HPP_INLINE ${returnType} ${className}${classSeparator}${commandName}( ${argumentList} ) const
|
${nodiscard}VULKAN_HPP_INLINE ${returnType} ${className}${classSeparator}${commandName}( ${argumentList} ) const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
VULKAN_HPP_ASSERT( ${dataSize} % sizeof( T ) == 0 );
|
VULKAN_HPP_ASSERT( ${dataSize} % sizeof( T ) == 0 );
|
||||||
std::vector<T,Allocator> ${dataName}( ${dataSize} / sizeof( T ) );
|
std::vector<T,Allocator> ${dataName}( ${dataSize} / sizeof( T ) );
|
||||||
Result result = static_cast<Result>( d.${vkCommand}( ${callArguments} ) );
|
Result result = static_cast<Result>( d.${vkCommand}( ${callArguments} ) );
|
||||||
@ -3416,6 +3432,7 @@ std::string VulkanHppGenerator::constructCommandResultGetVector( std::string con
|
|||||||
R"( template <typename ${allocatorType}, typename Dispatch${typenameCheck}>
|
R"( template <typename ${allocatorType}, typename Dispatch${typenameCheck}>
|
||||||
${nodiscard}VULKAN_HPP_INLINE typename ResultValueType<std::vector<${vectorElementType}, ${allocatorType}>>::type ${className}${classSeparator}${commandName}( ${argumentList} ) const
|
${nodiscard}VULKAN_HPP_INLINE typename ResultValueType<std::vector<${vectorElementType}, ${allocatorType}>>::type ${className}${classSeparator}${commandName}( ${argumentList} ) const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
std::vector<${vectorElementType}, ${allocatorType}> ${vectorName}( ${vectorSize}${allocateInitializer} );
|
std::vector<${vectorElementType}, ${allocatorType}> ${vectorName}( ${vectorSize}${allocateInitializer} );
|
||||||
Result result = static_cast<Result>( d.${vkCommand}( ${callArguments} ) );
|
Result result = static_cast<Result>( d.${vkCommand}( ${callArguments} ) );
|
||||||
return createResultValue( result, ${vectorName}, VULKAN_HPP_NAMESPACE_STRING "::${className}${classSeparator}${commandName}"${successCodeList} );
|
return createResultValue( result, ${vectorName}, VULKAN_HPP_NAMESPACE_STRING "::${className}${classSeparator}${commandName}"${successCodeList} );
|
||||||
@ -3506,6 +3523,7 @@ std::string
|
|||||||
R"( template <typename ${allocatorType}, typename Dispatch${typenameCheck}>
|
R"( template <typename ${allocatorType}, typename Dispatch${typenameCheck}>
|
||||||
${nodiscard}VULKAN_HPP_INLINE typename ResultValueType<std::pair<std::vector<${vectorElementType}, ${allocatorType}>, ${valueType}>>::type ${className}${classSeparator}${commandName}( ${argumentList} ) const
|
${nodiscard}VULKAN_HPP_INLINE typename ResultValueType<std::pair<std::vector<${vectorElementType}, ${allocatorType}>, ${valueType}>>::type ${className}${classSeparator}${commandName}( ${argumentList} ) const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
std::pair<std::vector<${vectorElementType}, ${allocatorType}>,${valueType}> data( std::piecewise_construct, std::forward_as_tuple( ${vectorSize}${allocateInitializer} ), std::forward_as_tuple( 0 ) );
|
std::pair<std::vector<${vectorElementType}, ${allocatorType}>,${valueType}> data( std::piecewise_construct, std::forward_as_tuple( ${vectorSize}${allocateInitializer} ), std::forward_as_tuple( 0 ) );
|
||||||
std::vector<${vectorElementType}, ${allocatorType}> & ${vectorName} = data.first;
|
std::vector<${vectorElementType}, ${allocatorType}> & ${vectorName} = data.first;
|
||||||
${valueType} & ${valueName} = data.second;
|
${valueType} & ${valueName} = data.second;
|
||||||
@ -3587,6 +3605,7 @@ std::string
|
|||||||
VULKAN_HPP_DEPRECATED( "This function is deprecated. Use one of the other flavours of it.")
|
VULKAN_HPP_DEPRECATED( "This function is deprecated. Use one of the other flavours of it.")
|
||||||
${nodiscard}VULKAN_HPP_INLINE ${returnType} ${className}${classSeparator}${commandName}( ${argumentList} ) const
|
${nodiscard}VULKAN_HPP_INLINE ${returnType} ${className}${classSeparator}${commandName}( ${argumentList} ) const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
${functionBody}
|
${functionBody}
|
||||||
})";
|
})";
|
||||||
|
|
||||||
@ -3655,6 +3674,7 @@ std::string
|
|||||||
R"( template <typename ${handleType}Allocator, typename Dispatch${typenameCheck}>
|
R"( template <typename ${handleType}Allocator, typename Dispatch${typenameCheck}>
|
||||||
${nodiscard}VULKAN_HPP_INLINE ${returnType} ${className}${classSeparator}${commandName}( ${argumentList} ) const
|
${nodiscard}VULKAN_HPP_INLINE ${returnType} ${className}${classSeparator}${commandName}( ${argumentList} ) const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
std::vector<${handleType}, ${handleType}Allocator> ${vectorName}( ${vectorSize}${vectorAllocator} );
|
std::vector<${handleType}, ${handleType}Allocator> ${vectorName}( ${vectorSize}${vectorAllocator} );
|
||||||
Result result = static_cast<Result>( d.${vkCommand}( ${callArguments} ) );
|
Result result = static_cast<Result>( d.${vkCommand}( ${callArguments} ) );
|
||||||
return createResultValue( result, ${vectorName}, VULKAN_HPP_NAMESPACE_STRING "::${className}${classSeparator}${commandName}"${successCodeList} );
|
return createResultValue( result, ${vectorName}, VULKAN_HPP_NAMESPACE_STRING "::${className}${classSeparator}${commandName}"${successCodeList} );
|
||||||
@ -3739,6 +3759,7 @@ std::string VulkanHppGenerator::constructCommandResultGetVectorOfHandlesSingular
|
|||||||
R"( template <typename Dispatch>
|
R"( template <typename Dispatch>
|
||||||
${nodiscard}VULKAN_HPP_INLINE ${returnType} ${className}${classSeparator}${commandName}( ${argumentList} ) const
|
${nodiscard}VULKAN_HPP_INLINE ${returnType} ${className}${classSeparator}${commandName}( ${argumentList} ) const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
${handleType} ${handleName};
|
${handleType} ${handleName};
|
||||||
Result result = static_cast<Result>( d.${vkCommand}( ${callArguments} ) );
|
Result result = static_cast<Result>( d.${vkCommand}( ${callArguments} ) );
|
||||||
return createResultValue( result, ${handleName}, VULKAN_HPP_NAMESPACE_STRING "::${className}${classSeparator}${commandName}"${successCodeList} );
|
return createResultValue( result, ${handleName}, VULKAN_HPP_NAMESPACE_STRING "::${className}${classSeparator}${commandName}"${successCodeList} );
|
||||||
@ -3807,6 +3828,7 @@ std::string VulkanHppGenerator::constructCommandResultGetVectorOfHandlesUnique(
|
|||||||
R"( template <typename Dispatch, typename ${handleType}Allocator${typenameCheck}>
|
R"( template <typename Dispatch, typename ${handleType}Allocator${typenameCheck}>
|
||||||
${nodiscard}VULKAN_HPP_INLINE ${returnType} ${className}${classSeparator}${commandName}Unique( ${argumentList} ) const
|
${nodiscard}VULKAN_HPP_INLINE ${returnType} ${className}${classSeparator}${commandName}Unique( ${argumentList} ) const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
std::vector<UniqueHandle<${handleType}, Dispatch>, ${handleType}Allocator> ${uniqueVectorName}${vectorAllocator};
|
std::vector<UniqueHandle<${handleType}, Dispatch>, ${handleType}Allocator> ${uniqueVectorName}${vectorAllocator};
|
||||||
std::vector<${handleType}> ${vectorName}( ${vectorSize} );
|
std::vector<${handleType}> ${vectorName}( ${vectorSize} );
|
||||||
Result result = static_cast<Result>( d.${vkCommand}( ${callArguments} ) );
|
Result result = static_cast<Result>( d.${vkCommand}( ${callArguments} ) );
|
||||||
@ -3927,6 +3949,7 @@ std::string VulkanHppGenerator::constructCommandResultGetVectorOfHandlesUniqueSi
|
|||||||
R"( template <typename Dispatch>
|
R"( template <typename Dispatch>
|
||||||
${nodiscard}VULKAN_HPP_INLINE ${returnType} ${className}${classSeparator}${commandName}Unique( ${argumentList} ) const
|
${nodiscard}VULKAN_HPP_INLINE ${returnType} ${className}${classSeparator}${commandName}Unique( ${argumentList} ) const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
${handleType} ${handleName};
|
${handleType} ${handleName};
|
||||||
Result result = static_cast<Result>( d.${vkCommand}( ${callArguments} ) );
|
Result result = static_cast<Result>( d.${vkCommand}( ${callArguments} ) );
|
||||||
ObjectDestroy<${className}, Dispatch> deleter( *this, allocator, d );
|
ObjectDestroy<${className}, Dispatch> deleter( *this, allocator, d );
|
||||||
@ -3994,6 +4017,7 @@ std::string VulkanHppGenerator::constructCommandResultGetVectorOfVoidSingular(
|
|||||||
R"( template <typename T, typename Dispatch>
|
R"( template <typename T, typename Dispatch>
|
||||||
${nodiscard}VULKAN_HPP_INLINE ${returnType} ${className}${classSeparator}${commandName}( ${argumentList} ) const
|
${nodiscard}VULKAN_HPP_INLINE ${returnType} ${className}${classSeparator}${commandName}( ${argumentList} ) const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
T ${dataName};
|
T ${dataName};
|
||||||
Result result = static_cast<Result>( d.${vkCommand}( ${callArguments} ) );
|
Result result = static_cast<Result>( d.${vkCommand}( ${callArguments} ) );
|
||||||
return createResultValue( result, ${dataName}, VULKAN_HPP_NAMESPACE_STRING "::${className}${classSeparator}${commandName}"${successCodeList} );
|
return createResultValue( result, ${dataName}, VULKAN_HPP_NAMESPACE_STRING "::${className}${classSeparator}${commandName}"${successCodeList} );
|
||||||
@ -4056,6 +4080,7 @@ std::string
|
|||||||
R"( template <typename Dispatch>
|
R"( template <typename Dispatch>
|
||||||
${nodiscard}VULKAN_HPP_INLINE ${returnType} ${className}${classSeparator}${commandName}( ${argumentList} ) const
|
${nodiscard}VULKAN_HPP_INLINE ${returnType} ${className}${classSeparator}${commandName}( ${argumentList} ) const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
${dataType} ${dataName};
|
${dataType} ${dataName};
|
||||||
Result result = static_cast<Result>( d.${vkCommand}( ${callArguments} ) );
|
Result result = static_cast<Result>( d.${vkCommand}( ${callArguments} ) );
|
||||||
return createResultValue( result, ${dataName}, VULKAN_HPP_NAMESPACE_STRING "::${className}${classSeparator}${commandName}"${successCodeList} );
|
return createResultValue( result, ${dataName}, VULKAN_HPP_NAMESPACE_STRING "::${className}${classSeparator}${commandName}"${successCodeList} );
|
||||||
@ -4121,6 +4146,7 @@ std::string VulkanHppGenerator::constructCommandStandard( std::string const & na
|
|||||||
R"( template <typename Dispatch>
|
R"( template <typename Dispatch>
|
||||||
${nodiscard}VULKAN_HPP_INLINE ${returnType} ${className}${classSeparator}${commandName}( ${argumentList} )${const} VULKAN_HPP_NOEXCEPT
|
${nodiscard}VULKAN_HPP_INLINE ${returnType} ${className}${classSeparator}${commandName}( ${argumentList} )${const} VULKAN_HPP_NOEXCEPT
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
${functionBody};
|
${functionBody};
|
||||||
})";
|
})";
|
||||||
|
|
||||||
@ -4173,6 +4199,7 @@ std::string VulkanHppGenerator::constructCommandType( std::string const & name,
|
|||||||
R"( template <typename Dispatch>
|
R"( template <typename Dispatch>
|
||||||
${nodiscard}VULKAN_HPP_INLINE ${returnType} ${className}${classSeparator}${commandName}( ${argumentList} ) const VULKAN_HPP_NOEXCEPT
|
${nodiscard}VULKAN_HPP_INLINE ${returnType} ${className}${classSeparator}${commandName}( ${argumentList} ) const VULKAN_HPP_NOEXCEPT
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return d.${vkCommand}( ${callArguments} );
|
return d.${vkCommand}( ${callArguments} );
|
||||||
})";
|
})";
|
||||||
|
|
||||||
@ -4229,7 +4256,8 @@ std::string VulkanHppGenerator::constructCommandVoid( std::string const &
|
|||||||
std::string const functionTemplate =
|
std::string const functionTemplate =
|
||||||
R"( template <${typenameT}typename Dispatch>
|
R"( template <${typenameT}typename Dispatch>
|
||||||
VULKAN_HPP_INLINE void ${className}${classSeparator}${commandName}( ${argumentList} ) const ${noexcept}
|
VULKAN_HPP_INLINE void ${className}${classSeparator}${commandName}( ${argumentList} ) const ${noexcept}
|
||||||
{${vectorSizeCheck}
|
{
|
||||||
|
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );${vectorSizeCheck}
|
||||||
d.${vkCommand}( ${callArguments} );
|
d.${vkCommand}( ${callArguments} );
|
||||||
})";
|
})";
|
||||||
|
|
||||||
@ -4289,6 +4317,7 @@ std::string VulkanHppGenerator::constructCommandVoidEnumerate( std::string const
|
|||||||
R"( template <typename ${vectorElementType}Allocator, typename Dispatch${typenameCheck}>
|
R"( template <typename ${vectorElementType}Allocator, typename Dispatch${typenameCheck}>
|
||||||
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector<${vectorElementType}, ${vectorElementType}Allocator> ${className}${classSeparator}${commandName}( ${argumentList} ) const
|
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector<${vectorElementType}, ${vectorElementType}Allocator> ${className}${classSeparator}${commandName}( ${argumentList} ) const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
std::vector<${vectorElementType}, ${vectorElementType}Allocator> ${vectorName}${vectorAllocator};
|
std::vector<${vectorElementType}, ${vectorElementType}Allocator> ${vectorName}${vectorAllocator};
|
||||||
${counterType} ${counterName};
|
${counterType} ${counterName};
|
||||||
d.${vkCommand}( ${firstCallArguments} );
|
d.${vkCommand}( ${firstCallArguments} );
|
||||||
@ -4376,6 +4405,7 @@ std::string
|
|||||||
R"( template <typename StructureChain, typename StructureChainAllocator, typename Dispatch${typenameCheck}>
|
R"( template <typename StructureChain, typename StructureChainAllocator, typename Dispatch${typenameCheck}>
|
||||||
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector<StructureChain, StructureChainAllocator> ${className}${classSeparator}${commandName}( ${argumentList} ) const
|
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector<StructureChain, StructureChainAllocator> ${className}${classSeparator}${commandName}( ${argumentList} ) const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
${counterType} ${counterName};
|
${counterType} ${counterName};
|
||||||
d.${vkCommand}( ${firstCallArguments} );
|
d.${vkCommand}( ${firstCallArguments} );
|
||||||
std::vector<StructureChain, StructureChainAllocator> returnVector( ${counterName}${structureChainAllocator} );
|
std::vector<StructureChain, StructureChainAllocator> returnVector( ${counterName}${structureChainAllocator} );
|
||||||
@ -4462,6 +4492,7 @@ std::string VulkanHppGenerator::constructCommandVoidGetChain( std::string const
|
|||||||
R"( template <typename X, typename Y, typename... Z, typename Dispatch>
|
R"( template <typename X, typename Y, typename... Z, typename Dispatch>
|
||||||
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain<X, Y, Z...> ${className}${classSeparator}${commandName}( ${argumentList} ) const VULKAN_HPP_NOEXCEPT
|
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain<X, Y, Z...> ${className}${classSeparator}${commandName}( ${argumentList} ) const VULKAN_HPP_NOEXCEPT
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
StructureChain<X, Y, Z...> structureChain;
|
StructureChain<X, Y, Z...> structureChain;
|
||||||
${returnType} & ${returnVariable} = structureChain.template get<${returnType}>();
|
${returnType} & ${returnVariable} = structureChain.template get<${returnType}>();
|
||||||
d.${vkCommand}( ${callArguments} );
|
d.${vkCommand}( ${callArguments} );
|
||||||
@ -4553,7 +4584,8 @@ std::string VulkanHppGenerator::constructCommandVoidGetValue( std::string const
|
|||||||
std::string const functionTemplate =
|
std::string const functionTemplate =
|
||||||
R"( template <typename Dispatch>
|
R"( template <typename Dispatch>
|
||||||
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ${returnType} ${className}${classSeparator}${commandName}( ${argumentList} ) const ${noexcept}
|
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ${returnType} ${className}${classSeparator}${commandName}( ${argumentList} ) const ${noexcept}
|
||||||
{${vectorSizeCheck}
|
{
|
||||||
|
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );${vectorSizeCheck}
|
||||||
${returnType} ${returnVariable};
|
${returnType} ${returnVariable};
|
||||||
d.${vkCommand}( ${callArguments} );
|
d.${vkCommand}( ${callArguments} );
|
||||||
return ${returnVariable};
|
return ${returnVariable};
|
||||||
@ -16058,6 +16090,22 @@ int main( int argc, char ** argv )
|
|||||||
#define VULKAN_HPP_NAMESPACE_STRING VULKAN_HPP_STRINGIFY( VULKAN_HPP_NAMESPACE )
|
#define VULKAN_HPP_NAMESPACE_STRING VULKAN_HPP_STRINGIFY( VULKAN_HPP_NAMESPACE )
|
||||||
)";
|
)";
|
||||||
|
|
||||||
|
static const std::string dispatchLoaderBase = R"(
|
||||||
|
class DispatchLoaderBase
|
||||||
|
{
|
||||||
|
#if !defined(NDEBUG)
|
||||||
|
public:
|
||||||
|
size_t getVkHeaderVersion() const
|
||||||
|
{
|
||||||
|
return vkHeaderVersion;
|
||||||
|
}
|
||||||
|
|
||||||
|
private:
|
||||||
|
size_t vkHeaderVersion = VK_HEADER_VERSION;
|
||||||
|
#endif
|
||||||
|
};
|
||||||
|
)";
|
||||||
|
|
||||||
static const std::string dispatchLoaderDefault = R"(
|
static const std::string dispatchLoaderDefault = R"(
|
||||||
class DispatchLoaderDynamic;
|
class DispatchLoaderDynamic;
|
||||||
#if !defined(VULKAN_HPP_DISPATCH_LOADER_DYNAMIC)
|
#if !defined(VULKAN_HPP_DISPATCH_LOADER_DYNAMIC)
|
||||||
@ -16796,6 +16844,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
"#endif\n";
|
"#endif\n";
|
||||||
str += defines + "\n" + "namespace VULKAN_HPP_NAMESPACE\n" + "{" + classArrayProxy + classArrayWrapper +
|
str += defines + "\n" + "namespace VULKAN_HPP_NAMESPACE\n" + "{" + classArrayProxy + classArrayWrapper +
|
||||||
classFlags + classOptional + classStructureChain + classUniqueHandle;
|
classFlags + classOptional + classStructureChain + classUniqueHandle;
|
||||||
|
str += dispatchLoaderBase;
|
||||||
str += generator.generateDispatchLoaderStatic();
|
str += generator.generateDispatchLoaderStatic();
|
||||||
str += dispatchLoaderDefault;
|
str += dispatchLoaderDefault;
|
||||||
str += classObjectDestroy + classObjectFree + classObjectRelease + classPoolFree + "\n";
|
str += classObjectDestroy + classObjectFree + classObjectRelease + classPoolFree + "\n";
|
||||||
|
@ -1314,8 +1314,22 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
class DispatchLoaderBase
|
||||||
|
{
|
||||||
|
#if !defined( NDEBUG )
|
||||||
|
public:
|
||||||
|
size_t getVkHeaderVersion() const
|
||||||
|
{
|
||||||
|
return vkHeaderVersion;
|
||||||
|
}
|
||||||
|
|
||||||
|
private:
|
||||||
|
size_t vkHeaderVersion = VK_HEADER_VERSION;
|
||||||
|
#endif
|
||||||
|
};
|
||||||
|
|
||||||
#if !defined( VK_NO_PROTOTYPES )
|
#if !defined( VK_NO_PROTOTYPES )
|
||||||
class DispatchLoaderStatic
|
class DispatchLoaderStatic : public DispatchLoaderBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
//=== VK_VERSION_1_0 ===
|
//=== VK_VERSION_1_0 ===
|
||||||
@ -10351,7 +10365,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
class DispatchLoaderDynamic
|
class DispatchLoaderDynamic : public DispatchLoaderBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
using PFN_dummy = void ( * )();
|
using PFN_dummy = void ( * )();
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -32,7 +32,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
# endif
|
# endif
|
||||||
}
|
}
|
||||||
|
|
||||||
class ContextDispatcher
|
class ContextDispatcher : public DispatchLoaderBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ContextDispatcher( PFN_vkGetInstanceProcAddr getProcAddr )
|
ContextDispatcher( PFN_vkGetInstanceProcAddr getProcAddr )
|
||||||
@ -54,7 +54,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
PFN_vkEnumerateInstanceVersion vkEnumerateInstanceVersion = 0;
|
PFN_vkEnumerateInstanceVersion vkEnumerateInstanceVersion = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
class InstanceDispatcher
|
class InstanceDispatcher : public DispatchLoaderBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
InstanceDispatcher( PFN_vkGetInstanceProcAddr getProcAddr ) : vkGetInstanceProcAddr( getProcAddr ) {}
|
InstanceDispatcher( PFN_vkGetInstanceProcAddr getProcAddr ) : vkGetInstanceProcAddr( getProcAddr ) {}
|
||||||
@ -496,7 +496,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
PFN_vkGetDeviceProcAddr vkGetDeviceProcAddr = 0;
|
PFN_vkGetDeviceProcAddr vkGetDeviceProcAddr = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
class DeviceDispatcher
|
class DeviceDispatcher : public DispatchLoaderBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
DeviceDispatcher( PFN_vkGetDeviceProcAddr getProcAddr ) : vkGetDeviceProcAddr( getProcAddr ) {}
|
DeviceDispatcher( PFN_vkGetDeviceProcAddr getProcAddr ) : vkGetDeviceProcAddr( getProcAddr ) {}
|
||||||
@ -1729,6 +1729,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::ContextDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::ContextDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher.getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return &m_dispatcher;
|
return &m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1819,6 +1820,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::InstanceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::InstanceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher.getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return &m_dispatcher;
|
return &m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1920,6 +1922,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::InstanceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::InstanceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2389,6 +2392,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher.getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return &m_dispatcher;
|
return &m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2901,6 +2905,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3014,6 +3019,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3128,6 +3134,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3240,6 +3247,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3346,6 +3354,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3455,6 +3464,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -4295,6 +4305,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -4401,6 +4412,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -4514,6 +4526,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::InstanceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::InstanceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -4627,6 +4640,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::InstanceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::InstanceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -4738,6 +4752,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -4856,6 +4871,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -4959,6 +4975,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -5122,6 +5139,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -5235,6 +5253,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -5343,6 +5362,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -5499,6 +5519,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::InstanceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::InstanceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -5649,6 +5670,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::InstanceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::InstanceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -5759,6 +5781,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -5914,6 +5937,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -6024,6 +6048,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -6130,6 +6155,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -6253,6 +6279,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -6370,6 +6397,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -6472,6 +6500,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -6581,6 +6610,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -6799,6 +6829,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -7119,6 +7150,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -7232,6 +7264,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -7338,6 +7371,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -7446,6 +7480,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -7608,6 +7643,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -7723,6 +7759,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -7836,6 +7873,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -7942,6 +7980,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -8060,6 +8099,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -8469,6 +8509,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::InstanceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::InstanceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -8586,6 +8627,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -8782,6 +8824,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -8900,6 +8943,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -9022,6 +9066,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
|
||||||
{
|
{
|
||||||
|
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
return m_dispatcher;
|
return m_dispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user