Update for Vulkan-Docs 1.4.318
This commit is contained in:
parent
1d6c53f654
commit
b39ab380a4
20 changed files with 1676 additions and 93 deletions
|
|
@ -317,6 +317,11 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
//=== VK_KHR_calibrated_timestamps ===
|
||||
vkGetPhysicalDeviceCalibrateableTimeDomainsKHR = PFN_vkGetPhysicalDeviceCalibrateableTimeDomainsKHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceCalibrateableTimeDomainsKHR" ) );
|
||||
|
||||
#if defined( VK_USE_PLATFORM_OHOS )
|
||||
//=== VK_OHOS_surface ===
|
||||
vkCreateSurfaceOHOS = PFN_vkCreateSurfaceOHOS( vkGetInstanceProcAddr( instance, "vkCreateSurfaceOHOS" ) );
|
||||
#endif /*VK_USE_PLATFORM_OHOS*/
|
||||
|
||||
//=== VK_NV_cooperative_matrix2 ===
|
||||
vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV = PFN_vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV" ) );
|
||||
|
||||
|
|
@ -605,6 +610,13 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
//=== VK_KHR_calibrated_timestamps ===
|
||||
PFN_vkGetPhysicalDeviceCalibrateableTimeDomainsKHR vkGetPhysicalDeviceCalibrateableTimeDomainsKHR = 0;
|
||||
|
||||
#if defined( VK_USE_PLATFORM_OHOS )
|
||||
//=== VK_OHOS_surface ===
|
||||
PFN_vkCreateSurfaceOHOS vkCreateSurfaceOHOS = 0;
|
||||
#else
|
||||
PFN_dummy vkCreateSurfaceOHOS_placeholder = 0;
|
||||
#endif /*VK_USE_PLATFORM_OHOS*/
|
||||
|
||||
//=== VK_NV_cooperative_matrix2 ===
|
||||
PFN_vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV = 0;
|
||||
|
||||
|
|
@ -3059,6 +3071,13 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::detail::CreateReturnType<VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::SurfaceKHR>::Type createScreenSurfaceQNX( VULKAN_HPP_NAMESPACE::ScreenSurfaceCreateInfoQNX const & createInfo, VULKAN_HPP_NAMESPACE::Optional<const VULKAN_HPP_NAMESPACE::AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_RAII_CREATE_NOEXCEPT;
|
||||
#endif /*VK_USE_PLATFORM_SCREEN_QNX*/
|
||||
|
||||
#if defined( VK_USE_PLATFORM_OHOS )
|
||||
//=== VK_OHOS_surface ===
|
||||
|
||||
// wrapper function for command vkCreateSurfaceOHOS, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSurfaceOHOS.html
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::detail::CreateReturnType<VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::SurfaceKHR>::Type createSurfaceOHOS( VULKAN_HPP_NAMESPACE::SurfaceCreateInfoOHOS const & createInfo, VULKAN_HPP_NAMESPACE::Optional<const VULKAN_HPP_NAMESPACE::AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_RAII_CREATE_NOEXCEPT;
|
||||
#endif /*VK_USE_PLATFORM_OHOS*/
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
|
@ -11742,6 +11761,15 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
#endif /*VK_USE_PLATFORM_GGP*/
|
||||
#endif
|
||||
|
||||
#if !defined( VULKAN_HPP_RAII_NO_EXCEPTIONS )
|
||||
#if defined( VK_USE_PLATFORM_OHOS )
|
||||
SurfaceKHR( VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::Instance const & instance, VULKAN_HPP_NAMESPACE::SurfaceCreateInfoOHOS const & createInfo, VULKAN_HPP_NAMESPACE::Optional<const VULKAN_HPP_NAMESPACE::AllocationCallbacks> allocator = nullptr )
|
||||
{
|
||||
*this = instance.createSurfaceOHOS( createInfo, allocator );
|
||||
}
|
||||
#endif /*VK_USE_PLATFORM_OHOS*/
|
||||
#endif
|
||||
|
||||
#if !defined( VULKAN_HPP_RAII_NO_EXCEPTIONS )
|
||||
#if defined( VK_USE_PLATFORM_VI_NN )
|
||||
SurfaceKHR( VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::Instance const & instance, VULKAN_HPP_NAMESPACE::ViSurfaceCreateInfoNN const & createInfo, VULKAN_HPP_NAMESPACE::Optional<const VULKAN_HPP_NAMESPACE::AllocationCallbacks> allocator = nullptr )
|
||||
|
|
@ -24348,6 +24376,27 @@ VULKAN_HPP_ASSERT( getDispatcher()->vkUpdateIndirectExecutionSetShaderEXT && "Fu
|
|||
|
||||
}
|
||||
|
||||
#if defined( VK_USE_PLATFORM_OHOS )
|
||||
//=== VK_OHOS_surface ===
|
||||
|
||||
// wrapper function for command vkCreateSurfaceOHOS, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSurfaceOHOS.html
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::detail::CreateReturnType<VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::SurfaceKHR>::Type Instance::createSurfaceOHOS( VULKAN_HPP_NAMESPACE::SurfaceCreateInfoOHOS const & createInfo, VULKAN_HPP_NAMESPACE::Optional<const VULKAN_HPP_NAMESPACE::AllocationCallbacks> allocator ) const VULKAN_HPP_RAII_CREATE_NOEXCEPT
|
||||
{
|
||||
VULKAN_HPP_NAMESPACE::SurfaceKHR surface;
|
||||
VULKAN_HPP_NAMESPACE::Result result = static_cast<VULKAN_HPP_NAMESPACE::Result>( getDispatcher()->vkCreateSurfaceOHOS( static_cast<VkInstance>( m_instance ), reinterpret_cast<const VkSurfaceCreateInfoOHOS *>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks *>( static_cast<const VULKAN_HPP_NAMESPACE::AllocationCallbacks *>( allocator ) ), reinterpret_cast<VkSurfaceKHR *>( &surface ) ) );
|
||||
if ( result != VULKAN_HPP_NAMESPACE::Result::eSuccess )
|
||||
{
|
||||
#if defined( VULKAN_HPP_RAII_NO_EXCEPTIONS )
|
||||
return VULKAN_HPP_UNEXPECTED( result );
|
||||
#else
|
||||
VULKAN_HPP_NAMESPACE::detail::throwResultException( result, "Instance::createSurfaceOHOS" );
|
||||
#endif
|
||||
}
|
||||
|
||||
return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::SurfaceKHR( *this, *reinterpret_cast<VkSurfaceKHR *>( &surface ), allocator );
|
||||
}
|
||||
#endif /*VK_USE_PLATFORM_OHOS*/
|
||||
|
||||
//=== VK_NV_cooperative_matrix2 ===
|
||||
|
||||
// wrapper function for command vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV.html
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue