mirror of
https://github.com/KhronosGroup/Vulkan-Headers
synced 2024-11-21 06:26:00 -07:00
Update to latest Vulkan-Hpp
Notably includes fix for https://github.com/KhronosGroup/Vulkan-Hpp/issues/1167 which is blocking downstream CI systems
This commit is contained in:
parent
52a76fd0a6
commit
d99496fcb1
4 changed files with 8923 additions and 3010 deletions
|
@ -15652,35 +15652,6 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
}
|
||||
|
||||
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
template <typename Dispatch>
|
||||
VULKAN_HPP_DEPRECATED( "This function is deprecated. Use one of the other flavours of it." )
|
||||
VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE
|
||||
typename ResultValueType<uint64_t>::type Device::getCalibratedTimestampsEXT(
|
||||
ArrayProxy<const VULKAN_HPP_NAMESPACE::CalibratedTimestampInfoEXT> const & timestampInfos,
|
||||
ArrayProxy<uint64_t> const & timestamps,
|
||||
Dispatch const & d ) const
|
||||
{
|
||||
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||
# ifdef VULKAN_HPP_NO_EXCEPTIONS
|
||||
VULKAN_HPP_ASSERT( timestampInfos.size() == timestamps.size() );
|
||||
# else
|
||||
if ( timestampInfos.size() != timestamps.size() )
|
||||
{
|
||||
throw LogicError( VULKAN_HPP_NAMESPACE_STRING
|
||||
"::VkDevice::getCalibratedTimestampsEXT: timestampInfos.size() != timestamps.size()" );
|
||||
}
|
||||
# endif /*VULKAN_HPP_NO_EXCEPTIONS*/
|
||||
uint64_t maxDeviation;
|
||||
Result result = static_cast<Result>(
|
||||
d.vkGetCalibratedTimestampsEXT( m_device,
|
||||
timestampInfos.size(),
|
||||
reinterpret_cast<const VkCalibratedTimestampInfoEXT *>( timestampInfos.data() ),
|
||||
timestamps.data(),
|
||||
&maxDeviation ) );
|
||||
return createResultValue(
|
||||
result, maxDeviation, VULKAN_HPP_NAMESPACE_STRING "::Device::getCalibratedTimestampsEXT" );
|
||||
}
|
||||
|
||||
template <typename Uint64_tAllocator, typename Dispatch>
|
||||
VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE
|
||||
typename ResultValueType<std::pair<std::vector<uint64_t, Uint64_tAllocator>, uint64_t>>::type
|
||||
|
@ -15728,6 +15699,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
&maxDeviation ) );
|
||||
return createResultValue( result, data, VULKAN_HPP_NAMESPACE_STRING "::Device::getCalibratedTimestampsEXT" );
|
||||
}
|
||||
|
||||
template <typename Dispatch>
|
||||
VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE
|
||||
typename ResultValueType<std::pair<uint64_t, uint64_t>>::type
|
||||
|
|
|
@ -11040,11 +11040,6 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
uint64_t * pMaxDeviation,
|
||||
Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT;
|
||||
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType<uint64_t>::type getCalibratedTimestampsEXT(
|
||||
ArrayProxy<const VULKAN_HPP_NAMESPACE::CalibratedTimestampInfoEXT> const & timestampInfos,
|
||||
ArrayProxy<uint64_t> const & timestamps,
|
||||
Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const;
|
||||
template <typename Uint64_tAllocator = std::allocator<uint64_t>,
|
||||
typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS
|
||||
|
|
|
@ -994,9 +994,15 @@ namespace std
|
|||
std::size_t seed = 0;
|
||||
VULKAN_HPP_HASH_COMBINE( seed, applicationInfo.sType );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, applicationInfo.pNext );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, applicationInfo.pApplicationName );
|
||||
for ( const char * p = applicationInfo.pApplicationName; *p != '\0'; ++p )
|
||||
{
|
||||
VULKAN_HPP_HASH_COMBINE( seed, *p );
|
||||
}
|
||||
VULKAN_HPP_HASH_COMBINE( seed, applicationInfo.applicationVersion );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, applicationInfo.pEngineName );
|
||||
for ( const char * p = applicationInfo.pEngineName; *p != '\0'; ++p )
|
||||
{
|
||||
VULKAN_HPP_HASH_COMBINE( seed, *p );
|
||||
}
|
||||
VULKAN_HPP_HASH_COMBINE( seed, applicationInfo.engineVersion );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, applicationInfo.apiVersion );
|
||||
return seed;
|
||||
|
@ -2196,7 +2202,10 @@ namespace std
|
|||
VULKAN_HPP_HASH_COMBINE( seed, pipelineShaderStageCreateInfo.flags );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, pipelineShaderStageCreateInfo.stage );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, pipelineShaderStageCreateInfo.module );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, pipelineShaderStageCreateInfo.pName );
|
||||
for ( const char * p = pipelineShaderStageCreateInfo.pName; *p != '\0'; ++p )
|
||||
{
|
||||
VULKAN_HPP_HASH_COMBINE( seed, *p );
|
||||
}
|
||||
VULKAN_HPP_HASH_COMBINE( seed, pipelineShaderStageCreateInfo.pSpecializationInfo );
|
||||
return seed;
|
||||
}
|
||||
|
@ -2421,7 +2430,10 @@ namespace std
|
|||
VULKAN_HPP_HASH_COMBINE( seed, cuFunctionCreateInfoNVX.sType );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, cuFunctionCreateInfoNVX.pNext );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, cuFunctionCreateInfoNVX.module );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, cuFunctionCreateInfoNVX.pName );
|
||||
for ( const char * p = cuFunctionCreateInfoNVX.pName; *p != '\0'; ++p )
|
||||
{
|
||||
VULKAN_HPP_HASH_COMBINE( seed, *p );
|
||||
}
|
||||
return seed;
|
||||
}
|
||||
};
|
||||
|
@ -2493,7 +2505,10 @@ namespace std
|
|||
std::size_t seed = 0;
|
||||
VULKAN_HPP_HASH_COMBINE( seed, debugMarkerMarkerInfoEXT.sType );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, debugMarkerMarkerInfoEXT.pNext );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, debugMarkerMarkerInfoEXT.pMarkerName );
|
||||
for ( const char * p = debugMarkerMarkerInfoEXT.pMarkerName; *p != '\0'; ++p )
|
||||
{
|
||||
VULKAN_HPP_HASH_COMBINE( seed, *p );
|
||||
}
|
||||
for ( size_t i = 0; i < 4; ++i )
|
||||
{
|
||||
VULKAN_HPP_HASH_COMBINE( seed, debugMarkerMarkerInfoEXT.color[i] );
|
||||
|
@ -2513,7 +2528,10 @@ namespace std
|
|||
VULKAN_HPP_HASH_COMBINE( seed, debugMarkerObjectNameInfoEXT.pNext );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, debugMarkerObjectNameInfoEXT.objectType );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, debugMarkerObjectNameInfoEXT.object );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, debugMarkerObjectNameInfoEXT.pObjectName );
|
||||
for ( const char * p = debugMarkerObjectNameInfoEXT.pObjectName; *p != '\0'; ++p )
|
||||
{
|
||||
VULKAN_HPP_HASH_COMBINE( seed, *p );
|
||||
}
|
||||
return seed;
|
||||
}
|
||||
};
|
||||
|
@ -2561,7 +2579,10 @@ namespace std
|
|||
std::size_t seed = 0;
|
||||
VULKAN_HPP_HASH_COMBINE( seed, debugUtilsLabelEXT.sType );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, debugUtilsLabelEXT.pNext );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, debugUtilsLabelEXT.pLabelName );
|
||||
for ( const char * p = debugUtilsLabelEXT.pLabelName; *p != '\0'; ++p )
|
||||
{
|
||||
VULKAN_HPP_HASH_COMBINE( seed, *p );
|
||||
}
|
||||
for ( size_t i = 0; i < 4; ++i )
|
||||
{
|
||||
VULKAN_HPP_HASH_COMBINE( seed, debugUtilsLabelEXT.color[i] );
|
||||
|
@ -2581,7 +2602,10 @@ namespace std
|
|||
VULKAN_HPP_HASH_COMBINE( seed, debugUtilsObjectNameInfoEXT.pNext );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, debugUtilsObjectNameInfoEXT.objectType );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, debugUtilsObjectNameInfoEXT.objectHandle );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, debugUtilsObjectNameInfoEXT.pObjectName );
|
||||
for ( const char * p = debugUtilsObjectNameInfoEXT.pObjectName; *p != '\0'; ++p )
|
||||
{
|
||||
VULKAN_HPP_HASH_COMBINE( seed, *p );
|
||||
}
|
||||
return seed;
|
||||
}
|
||||
};
|
||||
|
@ -2596,9 +2620,15 @@ namespace std
|
|||
VULKAN_HPP_HASH_COMBINE( seed, debugUtilsMessengerCallbackDataEXT.sType );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, debugUtilsMessengerCallbackDataEXT.pNext );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, debugUtilsMessengerCallbackDataEXT.flags );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, debugUtilsMessengerCallbackDataEXT.pMessageIdName );
|
||||
for ( const char * p = debugUtilsMessengerCallbackDataEXT.pMessageIdName; *p != '\0'; ++p )
|
||||
{
|
||||
VULKAN_HPP_HASH_COMBINE( seed, *p );
|
||||
}
|
||||
VULKAN_HPP_HASH_COMBINE( seed, debugUtilsMessengerCallbackDataEXT.messageIdNumber );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, debugUtilsMessengerCallbackDataEXT.pMessage );
|
||||
for ( const char * p = debugUtilsMessengerCallbackDataEXT.pMessage; *p != '\0'; ++p )
|
||||
{
|
||||
VULKAN_HPP_HASH_COMBINE( seed, *p );
|
||||
}
|
||||
VULKAN_HPP_HASH_COMBINE( seed, debugUtilsMessengerCallbackDataEXT.queueLabelCount );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, debugUtilsMessengerCallbackDataEXT.pQueueLabels );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, debugUtilsMessengerCallbackDataEXT.cmdBufLabelCount );
|
||||
|
@ -3089,9 +3119,21 @@ namespace std
|
|||
VULKAN_HPP_HASH_COMBINE( seed, deviceCreateInfo.queueCreateInfoCount );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, deviceCreateInfo.pQueueCreateInfos );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, deviceCreateInfo.enabledLayerCount );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, deviceCreateInfo.ppEnabledLayerNames );
|
||||
for ( size_t i = 0; i < deviceCreateInfo.enabledLayerCount; ++i )
|
||||
{
|
||||
for ( const char * p = deviceCreateInfo.ppEnabledLayerNames[i]; *p != '\0'; ++p )
|
||||
{
|
||||
VULKAN_HPP_HASH_COMBINE( seed, *p );
|
||||
}
|
||||
}
|
||||
VULKAN_HPP_HASH_COMBINE( seed, deviceCreateInfo.enabledExtensionCount );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, deviceCreateInfo.ppEnabledExtensionNames );
|
||||
for ( size_t i = 0; i < deviceCreateInfo.enabledExtensionCount; ++i )
|
||||
{
|
||||
for ( const char * p = deviceCreateInfo.ppEnabledExtensionNames[i]; *p != '\0'; ++p )
|
||||
{
|
||||
VULKAN_HPP_HASH_COMBINE( seed, *p );
|
||||
}
|
||||
}
|
||||
VULKAN_HPP_HASH_COMBINE( seed, deviceCreateInfo.pEnabledFeatures );
|
||||
return seed;
|
||||
}
|
||||
|
@ -3630,7 +3672,10 @@ namespace std
|
|||
{
|
||||
std::size_t seed = 0;
|
||||
VULKAN_HPP_HASH_COMBINE( seed, displayPropertiesKHR.display );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, displayPropertiesKHR.displayName );
|
||||
for ( const char * p = displayPropertiesKHR.displayName; *p != '\0'; ++p )
|
||||
{
|
||||
VULKAN_HPP_HASH_COMBINE( seed, *p );
|
||||
}
|
||||
VULKAN_HPP_HASH_COMBINE( seed, displayPropertiesKHR.physicalDimensions );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, displayPropertiesKHR.physicalResolution );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, displayPropertiesKHR.supportedTransforms );
|
||||
|
@ -5411,9 +5456,21 @@ namespace std
|
|||
VULKAN_HPP_HASH_COMBINE( seed, instanceCreateInfo.flags );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, instanceCreateInfo.pApplicationInfo );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, instanceCreateInfo.enabledLayerCount );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, instanceCreateInfo.ppEnabledLayerNames );
|
||||
for ( size_t i = 0; i < instanceCreateInfo.enabledLayerCount; ++i )
|
||||
{
|
||||
for ( const char * p = instanceCreateInfo.ppEnabledLayerNames[i]; *p != '\0'; ++p )
|
||||
{
|
||||
VULKAN_HPP_HASH_COMBINE( seed, *p );
|
||||
}
|
||||
}
|
||||
VULKAN_HPP_HASH_COMBINE( seed, instanceCreateInfo.enabledExtensionCount );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, instanceCreateInfo.ppEnabledExtensionNames );
|
||||
for ( size_t i = 0; i < instanceCreateInfo.enabledExtensionCount; ++i )
|
||||
{
|
||||
for ( const char * p = instanceCreateInfo.ppEnabledExtensionNames[i]; *p != '\0'; ++p )
|
||||
{
|
||||
VULKAN_HPP_HASH_COMBINE( seed, *p );
|
||||
}
|
||||
}
|
||||
return seed;
|
||||
}
|
||||
};
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue