Update for Vulkan-Docs 1.3.255
This commit is contained in:
parent
c1a8560c5c
commit
b6a29e5ca8
14 changed files with 28275 additions and 40310 deletions
|
|
@ -114,7 +114,7 @@ extern "C" __declspec( dllimport ) FARPROC __stdcall GetProcAddress( HINSTANCE h
|
|||
# include <span>
|
||||
#endif
|
||||
|
||||
static_assert( VK_HEADER_VERSION == 254, "Wrong VK_HEADER_VERSION!" );
|
||||
static_assert( VK_HEADER_VERSION == 255, "Wrong VK_HEADER_VERSION!" );
|
||||
|
||||
// 32-bit vulkan is not typesafe for non-dispatchable handles, so don't allow copy constructors on this platform by default.
|
||||
// To enable this feature on 32-bit platforms please define VULKAN_HPP_TYPESAFE_CONVERSION
|
||||
|
|
@ -189,7 +189,7 @@ static_assert( VK_HEADER_VERSION == 254, "Wrong VK_HEADER_VERSION!" );
|
|||
# else
|
||||
# define VULKAN_HPP_CONSTEXPR_14
|
||||
# endif
|
||||
# if ( 201907 <= __cpp_constexpr ) && ( !defined( __GNUC__ ) || ( 110300 < GCC_VERSION ) )
|
||||
# if ( 201907 <= __cpp_constexpr ) && ( !defined( __GNUC__ ) || ( 110400 < GCC_VERSION ) )
|
||||
# define VULKAN_HPP_CONSTEXPR_20 constexpr
|
||||
# else
|
||||
# define VULKAN_HPP_CONSTEXPR_20
|
||||
|
|
@ -1049,6 +1049,17 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
return std::tie( get<T0>(), get<T1>(), get<Ts>()... );
|
||||
}
|
||||
|
||||
// assign a complete structure to the StructureChain without modifying the chaining
|
||||
template <typename T = typename std::tuple_element<0, std::tuple<ChainElements...>>::type, size_t Which = 0>
|
||||
StructureChain & assign( const T & rhs ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
T & lhs = get<T, Which>();
|
||||
void * pNext = lhs.pNext;
|
||||
lhs = rhs;
|
||||
lhs.pNext = pNext;
|
||||
return *this;
|
||||
}
|
||||
|
||||
template <typename ClassType, size_t Which = 0>
|
||||
typename std::enable_if<std::is_same<ClassType, typename std::tuple_element<0, std::tuple<ChainElements...>>::type>::value && ( Which == 0 ), bool>::type
|
||||
isLinked() const VULKAN_HPP_NOEXCEPT
|
||||
|
|
@ -1165,7 +1176,26 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
}
|
||||
}
|
||||
};
|
||||
// interupt the VULKAN_HPP_NAMESPACE for a moment to add specializations of std::tuple_size and std::tuple_element for the StructureChain!
|
||||
}
|
||||
|
||||
namespace std
|
||||
{
|
||||
template <typename... Elements>
|
||||
struct tuple_size<VULKAN_HPP_NAMESPACE::StructureChain<Elements...>>
|
||||
{
|
||||
static constexpr size_t value = std::tuple_size<std::tuple<Elements...>>::value;
|
||||
};
|
||||
|
||||
template <std::size_t Index, typename... Elements>
|
||||
struct tuple_element<Index, VULKAN_HPP_NAMESPACE::StructureChain<Elements...>>
|
||||
{
|
||||
using type = typename std::tuple_element<Index, std::tuple<Elements...>>::type;
|
||||
};
|
||||
} // namespace std
|
||||
|
||||
namespace VULKAN_HPP_NAMESPACE
|
||||
{
|
||||
# if !defined( VULKAN_HPP_NO_SMART_HANDLE )
|
||||
template <typename Type, typename Dispatch>
|
||||
class UniqueHandleTraits;
|
||||
|
|
@ -5920,6 +5950,15 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
return ::vkGetDynamicRenderingTilePropertiesQCOM( device, pRenderingInfo, pProperties );
|
||||
}
|
||||
|
||||
//=== VK_KHR_cooperative_matrix ===
|
||||
|
||||
VkResult vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR( VkPhysicalDevice physicalDevice,
|
||||
uint32_t * pPropertyCount,
|
||||
VkCooperativeMatrixPropertiesKHR * pProperties ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return ::vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR( physicalDevice, pPropertyCount, pProperties );
|
||||
}
|
||||
|
||||
//=== VK_EXT_attachment_feedback_loop_dynamic_state ===
|
||||
|
||||
void vkCmdSetAttachmentFeedbackLoopEnableEXT( VkCommandBuffer commandBuffer, VkImageAspectFlags aspectMask ) const VULKAN_HPP_NOEXCEPT
|
||||
|
|
@ -12910,6 +12949,32 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
};
|
||||
};
|
||||
|
||||
//=== VK_KHR_cooperative_matrix ===
|
||||
template <>
|
||||
struct StructExtends<PhysicalDeviceCooperativeMatrixFeaturesKHR, PhysicalDeviceFeatures2>
|
||||
{
|
||||
enum
|
||||
{
|
||||
value = true
|
||||
};
|
||||
};
|
||||
template <>
|
||||
struct StructExtends<PhysicalDeviceCooperativeMatrixFeaturesKHR, DeviceCreateInfo>
|
||||
{
|
||||
enum
|
||||
{
|
||||
value = true
|
||||
};
|
||||
};
|
||||
template <>
|
||||
struct StructExtends<PhysicalDeviceCooperativeMatrixPropertiesKHR, PhysicalDeviceProperties2>
|
||||
{
|
||||
enum
|
||||
{
|
||||
value = true
|
||||
};
|
||||
};
|
||||
|
||||
//=== VK_QCOM_multiview_per_view_render_areas ===
|
||||
template <>
|
||||
struct StructExtends<PhysicalDeviceMultiviewPerViewRenderAreasFeaturesQCOM, PhysicalDeviceFeatures2>
|
||||
|
|
@ -14166,6 +14231,9 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
PFN_vkGetFramebufferTilePropertiesQCOM vkGetFramebufferTilePropertiesQCOM = 0;
|
||||
PFN_vkGetDynamicRenderingTilePropertiesQCOM vkGetDynamicRenderingTilePropertiesQCOM = 0;
|
||||
|
||||
//=== VK_KHR_cooperative_matrix ===
|
||||
PFN_vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR = 0;
|
||||
|
||||
//=== VK_EXT_attachment_feedback_loop_dynamic_state ===
|
||||
PFN_vkCmdSetAttachmentFeedbackLoopEnableEXT vkCmdSetAttachmentFeedbackLoopEnableEXT = 0;
|
||||
|
||||
|
|
@ -15472,6 +15540,10 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
vkGetDynamicRenderingTilePropertiesQCOM =
|
||||
PFN_vkGetDynamicRenderingTilePropertiesQCOM( vkGetInstanceProcAddr( instance, "vkGetDynamicRenderingTilePropertiesQCOM" ) );
|
||||
|
||||
//=== VK_KHR_cooperative_matrix ===
|
||||
vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR =
|
||||
PFN_vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR" ) );
|
||||
|
||||
//=== VK_EXT_attachment_feedback_loop_dynamic_state ===
|
||||
vkCmdSetAttachmentFeedbackLoopEnableEXT =
|
||||
PFN_vkCmdSetAttachmentFeedbackLoopEnableEXT( vkGetInstanceProcAddr( instance, "vkCmdSetAttachmentFeedbackLoopEnableEXT" ) );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue