mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Merge pull request #1011 from asuessenbach/184
Update to VK_HEADER_VERSION 184.
This commit is contained in:
commit
b574d94cf9
@ -1 +1 @@
|
||||
Subproject commit a8964617af6b104d0341874e9b4776d82f80f9af
|
||||
Subproject commit 0193e158bc9f4d17e3c3a61c9311a0439ed5572d
|
@ -93,7 +93,7 @@ extern "C" __declspec( dllimport ) FARPROC __stdcall GetProcAddress( HINSTANCE h
|
||||
# include <compare>
|
||||
#endif
|
||||
|
||||
static_assert( VK_HEADER_VERSION == 183, "Wrong VK_HEADER_VERSION!" );
|
||||
static_assert( VK_HEADER_VERSION == 184, "Wrong VK_HEADER_VERSION!" );
|
||||
|
||||
// 32-bit vulkan is not typesafe for 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
|
||||
@ -5360,10 +5360,11 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
|
||||
//=== VK_HUAWEI_subpass_shading ===
|
||||
|
||||
VkResult vkGetSubpassShadingMaxWorkgroupSizeHUAWEI( VkRenderPass renderpass,
|
||||
VkExtent2D * pMaxWorkgroupSize ) const VULKAN_HPP_NOEXCEPT
|
||||
VkResult vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI( VkDevice device,
|
||||
VkRenderPass renderpass,
|
||||
VkExtent2D * pMaxWorkgroupSize ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return ::vkGetSubpassShadingMaxWorkgroupSizeHUAWEI( renderpass, pMaxWorkgroupSize );
|
||||
return ::vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI( device, renderpass, pMaxWorkgroupSize );
|
||||
}
|
||||
|
||||
void vkCmdSubpassShadingHUAWEI( VkCommandBuffer commandBuffer ) const VULKAN_HPP_NOEXCEPT
|
||||
@ -5371,6 +5372,15 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
return ::vkCmdSubpassShadingHUAWEI( commandBuffer );
|
||||
}
|
||||
|
||||
//=== VK_NV_external_memory_rdma ===
|
||||
|
||||
VkResult vkGetMemoryRemoteAddressNV( VkDevice device,
|
||||
const VkMemoryGetRemoteAddressInfoNV * getMemoryRemoteAddressInfo,
|
||||
VkRemoteAddressNV * pAddress ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return ::vkGetMemoryRemoteAddressNV( device, getMemoryRemoteAddressInfo, pAddress );
|
||||
}
|
||||
|
||||
//=== VK_EXT_extended_dynamic_state2 ===
|
||||
|
||||
void vkCmdSetPatchControlPointsEXT( VkCommandBuffer commandBuffer,
|
||||
@ -5695,10 +5705,11 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
Dispatch const * m_dispatch = nullptr;
|
||||
};
|
||||
|
||||
using Bool32 = uint32_t;
|
||||
using DeviceAddress = uint64_t;
|
||||
using DeviceSize = uint64_t;
|
||||
using SampleMask = uint32_t;
|
||||
using Bool32 = uint32_t;
|
||||
using DeviceAddress = uint64_t;
|
||||
using DeviceSize = uint64_t;
|
||||
using RemoteAddressNV = void *;
|
||||
using SampleMask = uint32_t;
|
||||
} // namespace VULKAN_HPP_NAMESPACE
|
||||
|
||||
#include <vulkan/vulkan_enums.hpp>
|
||||
@ -7634,6 +7645,22 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
};
|
||||
};
|
||||
template <>
|
||||
struct StructExtends<PhysicalDeviceExternalMemoryRDMAFeaturesNV, PhysicalDeviceFeatures2>
|
||||
{
|
||||
enum
|
||||
{
|
||||
value = true
|
||||
};
|
||||
};
|
||||
template <>
|
||||
struct StructExtends<PhysicalDeviceExternalMemoryRDMAFeaturesNV, DeviceCreateInfo>
|
||||
{
|
||||
enum
|
||||
{
|
||||
value = true
|
||||
};
|
||||
};
|
||||
template <>
|
||||
struct StructExtends<PhysicalDeviceFeatures2, DeviceCreateInfo>
|
||||
{
|
||||
enum
|
||||
@ -10527,22 +10554,23 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
#else
|
||||
PFN_dummy placeholder_dont_call_vkGetDeviceGroupSurfacePresentModes2EXT = 0;
|
||||
#endif /*VK_USE_PLATFORM_WIN32_KHR*/
|
||||
PFN_vkGetDeviceGroupSurfacePresentModesKHR vkGetDeviceGroupSurfacePresentModesKHR = 0;
|
||||
PFN_vkGetDeviceMemoryCommitment vkGetDeviceMemoryCommitment = 0;
|
||||
PFN_vkGetDeviceMemoryOpaqueCaptureAddress vkGetDeviceMemoryOpaqueCaptureAddress = 0;
|
||||
PFN_vkGetDeviceMemoryOpaqueCaptureAddressKHR vkGetDeviceMemoryOpaqueCaptureAddressKHR = 0;
|
||||
PFN_vkGetDeviceProcAddr vkGetDeviceProcAddr = 0;
|
||||
PFN_vkGetDeviceQueue vkGetDeviceQueue = 0;
|
||||
PFN_vkGetDeviceQueue2 vkGetDeviceQueue2 = 0;
|
||||
PFN_vkGetDisplayModeProperties2KHR vkGetDisplayModeProperties2KHR = 0;
|
||||
PFN_vkGetDisplayModePropertiesKHR vkGetDisplayModePropertiesKHR = 0;
|
||||
PFN_vkGetDisplayPlaneCapabilities2KHR vkGetDisplayPlaneCapabilities2KHR = 0;
|
||||
PFN_vkGetDisplayPlaneCapabilitiesKHR vkGetDisplayPlaneCapabilitiesKHR = 0;
|
||||
PFN_vkGetDisplayPlaneSupportedDisplaysKHR vkGetDisplayPlaneSupportedDisplaysKHR = 0;
|
||||
PFN_vkGetDrmDisplayEXT vkGetDrmDisplayEXT = 0;
|
||||
PFN_vkGetEventStatus vkGetEventStatus = 0;
|
||||
PFN_vkGetFenceFdKHR vkGetFenceFdKHR = 0;
|
||||
PFN_vkGetFenceStatus vkGetFenceStatus = 0;
|
||||
PFN_vkGetDeviceGroupSurfacePresentModesKHR vkGetDeviceGroupSurfacePresentModesKHR = 0;
|
||||
PFN_vkGetDeviceMemoryCommitment vkGetDeviceMemoryCommitment = 0;
|
||||
PFN_vkGetDeviceMemoryOpaqueCaptureAddress vkGetDeviceMemoryOpaqueCaptureAddress = 0;
|
||||
PFN_vkGetDeviceMemoryOpaqueCaptureAddressKHR vkGetDeviceMemoryOpaqueCaptureAddressKHR = 0;
|
||||
PFN_vkGetDeviceProcAddr vkGetDeviceProcAddr = 0;
|
||||
PFN_vkGetDeviceQueue vkGetDeviceQueue = 0;
|
||||
PFN_vkGetDeviceQueue2 vkGetDeviceQueue2 = 0;
|
||||
PFN_vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI = 0;
|
||||
PFN_vkGetDisplayModeProperties2KHR vkGetDisplayModeProperties2KHR = 0;
|
||||
PFN_vkGetDisplayModePropertiesKHR vkGetDisplayModePropertiesKHR = 0;
|
||||
PFN_vkGetDisplayPlaneCapabilities2KHR vkGetDisplayPlaneCapabilities2KHR = 0;
|
||||
PFN_vkGetDisplayPlaneCapabilitiesKHR vkGetDisplayPlaneCapabilitiesKHR = 0;
|
||||
PFN_vkGetDisplayPlaneSupportedDisplaysKHR vkGetDisplayPlaneSupportedDisplaysKHR = 0;
|
||||
PFN_vkGetDrmDisplayEXT vkGetDrmDisplayEXT = 0;
|
||||
PFN_vkGetEventStatus vkGetEventStatus = 0;
|
||||
PFN_vkGetFenceFdKHR vkGetFenceFdKHR = 0;
|
||||
PFN_vkGetFenceStatus vkGetFenceStatus = 0;
|
||||
#if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
PFN_vkGetFenceWin32HandleKHR vkGetFenceWin32HandleKHR = 0;
|
||||
#else
|
||||
@ -10568,6 +10596,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
PFN_vkGetMemoryFdKHR vkGetMemoryFdKHR = 0;
|
||||
PFN_vkGetMemoryFdPropertiesKHR vkGetMemoryFdPropertiesKHR = 0;
|
||||
PFN_vkGetMemoryHostPointerPropertiesEXT vkGetMemoryHostPointerPropertiesEXT = 0;
|
||||
PFN_vkGetMemoryRemoteAddressNV vkGetMemoryRemoteAddressNV = 0;
|
||||
#if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
PFN_vkGetMemoryWin32HandleKHR vkGetMemoryWin32HandleKHR = 0;
|
||||
#else
|
||||
@ -10721,12 +10750,11 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
#else
|
||||
PFN_dummy placeholder_dont_call_vkGetSemaphoreZirconHandleFUCHSIA = 0;
|
||||
#endif /*VK_USE_PLATFORM_FUCHSIA*/
|
||||
PFN_vkGetShaderInfoAMD vkGetShaderInfoAMD = 0;
|
||||
PFN_vkGetSubpassShadingMaxWorkgroupSizeHUAWEI vkGetSubpassShadingMaxWorkgroupSizeHUAWEI = 0;
|
||||
PFN_vkGetSwapchainCounterEXT vkGetSwapchainCounterEXT = 0;
|
||||
PFN_vkGetSwapchainImagesKHR vkGetSwapchainImagesKHR = 0;
|
||||
PFN_vkGetSwapchainStatusKHR vkGetSwapchainStatusKHR = 0;
|
||||
PFN_vkGetValidationCacheDataEXT vkGetValidationCacheDataEXT = 0;
|
||||
PFN_vkGetShaderInfoAMD vkGetShaderInfoAMD = 0;
|
||||
PFN_vkGetSwapchainCounterEXT vkGetSwapchainCounterEXT = 0;
|
||||
PFN_vkGetSwapchainImagesKHR vkGetSwapchainImagesKHR = 0;
|
||||
PFN_vkGetSwapchainStatusKHR vkGetSwapchainStatusKHR = 0;
|
||||
PFN_vkGetValidationCacheDataEXT vkGetValidationCacheDataEXT = 0;
|
||||
#if defined( VK_ENABLE_BETA_EXTENSIONS )
|
||||
PFN_vkGetVideoSessionMemoryRequirementsKHR vkGetVideoSessionMemoryRequirementsKHR = 0;
|
||||
#else
|
||||
@ -11692,9 +11720,11 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
vkGetDeviceProcAddr = PFN_vkGetDeviceProcAddr( vkGetInstanceProcAddr( instance, "vkGetDeviceProcAddr" ) );
|
||||
vkGetDeviceQueue = PFN_vkGetDeviceQueue( vkGetInstanceProcAddr( instance, "vkGetDeviceQueue" ) );
|
||||
vkGetDeviceQueue2 = PFN_vkGetDeviceQueue2( vkGetInstanceProcAddr( instance, "vkGetDeviceQueue2" ) );
|
||||
vkGetEventStatus = PFN_vkGetEventStatus( vkGetInstanceProcAddr( instance, "vkGetEventStatus" ) );
|
||||
vkGetFenceFdKHR = PFN_vkGetFenceFdKHR( vkGetInstanceProcAddr( instance, "vkGetFenceFdKHR" ) );
|
||||
vkGetFenceStatus = PFN_vkGetFenceStatus( vkGetInstanceProcAddr( instance, "vkGetFenceStatus" ) );
|
||||
vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI = PFN_vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI(
|
||||
vkGetInstanceProcAddr( instance, "vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI" ) );
|
||||
vkGetEventStatus = PFN_vkGetEventStatus( vkGetInstanceProcAddr( instance, "vkGetEventStatus" ) );
|
||||
vkGetFenceFdKHR = PFN_vkGetFenceFdKHR( vkGetInstanceProcAddr( instance, "vkGetFenceFdKHR" ) );
|
||||
vkGetFenceStatus = PFN_vkGetFenceStatus( vkGetInstanceProcAddr( instance, "vkGetFenceStatus" ) );
|
||||
#if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
vkGetFenceWin32HandleKHR =
|
||||
PFN_vkGetFenceWin32HandleKHR( vkGetInstanceProcAddr( instance, "vkGetFenceWin32HandleKHR" ) );
|
||||
@ -11734,6 +11764,8 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
PFN_vkGetMemoryFdPropertiesKHR( vkGetInstanceProcAddr( instance, "vkGetMemoryFdPropertiesKHR" ) );
|
||||
vkGetMemoryHostPointerPropertiesEXT = PFN_vkGetMemoryHostPointerPropertiesEXT(
|
||||
vkGetInstanceProcAddr( instance, "vkGetMemoryHostPointerPropertiesEXT" ) );
|
||||
vkGetMemoryRemoteAddressNV =
|
||||
PFN_vkGetMemoryRemoteAddressNV( vkGetInstanceProcAddr( instance, "vkGetMemoryRemoteAddressNV" ) );
|
||||
#if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
vkGetMemoryWin32HandleKHR =
|
||||
PFN_vkGetMemoryWin32HandleKHR( vkGetInstanceProcAddr( instance, "vkGetMemoryWin32HandleKHR" ) );
|
||||
@ -11802,8 +11834,6 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
PFN_vkGetSemaphoreZirconHandleFUCHSIA( vkGetInstanceProcAddr( instance, "vkGetSemaphoreZirconHandleFUCHSIA" ) );
|
||||
#endif /*VK_USE_PLATFORM_FUCHSIA*/
|
||||
vkGetShaderInfoAMD = PFN_vkGetShaderInfoAMD( vkGetInstanceProcAddr( instance, "vkGetShaderInfoAMD" ) );
|
||||
vkGetSubpassShadingMaxWorkgroupSizeHUAWEI = PFN_vkGetSubpassShadingMaxWorkgroupSizeHUAWEI(
|
||||
vkGetInstanceProcAddr( instance, "vkGetSubpassShadingMaxWorkgroupSizeHUAWEI" ) );
|
||||
vkGetSwapchainCounterEXT =
|
||||
PFN_vkGetSwapchainCounterEXT( vkGetInstanceProcAddr( instance, "vkGetSwapchainCounterEXT" ) );
|
||||
vkGetSwapchainImagesKHR =
|
||||
@ -12423,9 +12453,11 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
vkGetDeviceProcAddr = PFN_vkGetDeviceProcAddr( vkGetDeviceProcAddr( device, "vkGetDeviceProcAddr" ) );
|
||||
vkGetDeviceQueue = PFN_vkGetDeviceQueue( vkGetDeviceProcAddr( device, "vkGetDeviceQueue" ) );
|
||||
vkGetDeviceQueue2 = PFN_vkGetDeviceQueue2( vkGetDeviceProcAddr( device, "vkGetDeviceQueue2" ) );
|
||||
vkGetEventStatus = PFN_vkGetEventStatus( vkGetDeviceProcAddr( device, "vkGetEventStatus" ) );
|
||||
vkGetFenceFdKHR = PFN_vkGetFenceFdKHR( vkGetDeviceProcAddr( device, "vkGetFenceFdKHR" ) );
|
||||
vkGetFenceStatus = PFN_vkGetFenceStatus( vkGetDeviceProcAddr( device, "vkGetFenceStatus" ) );
|
||||
vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI = PFN_vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI(
|
||||
vkGetDeviceProcAddr( device, "vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI" ) );
|
||||
vkGetEventStatus = PFN_vkGetEventStatus( vkGetDeviceProcAddr( device, "vkGetEventStatus" ) );
|
||||
vkGetFenceFdKHR = PFN_vkGetFenceFdKHR( vkGetDeviceProcAddr( device, "vkGetFenceFdKHR" ) );
|
||||
vkGetFenceStatus = PFN_vkGetFenceStatus( vkGetDeviceProcAddr( device, "vkGetFenceStatus" ) );
|
||||
#if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
vkGetFenceWin32HandleKHR =
|
||||
PFN_vkGetFenceWin32HandleKHR( vkGetDeviceProcAddr( device, "vkGetFenceWin32HandleKHR" ) );
|
||||
@ -12464,6 +12496,8 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
PFN_vkGetMemoryFdPropertiesKHR( vkGetDeviceProcAddr( device, "vkGetMemoryFdPropertiesKHR" ) );
|
||||
vkGetMemoryHostPointerPropertiesEXT =
|
||||
PFN_vkGetMemoryHostPointerPropertiesEXT( vkGetDeviceProcAddr( device, "vkGetMemoryHostPointerPropertiesEXT" ) );
|
||||
vkGetMemoryRemoteAddressNV =
|
||||
PFN_vkGetMemoryRemoteAddressNV( vkGetDeviceProcAddr( device, "vkGetMemoryRemoteAddressNV" ) );
|
||||
#if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
vkGetMemoryWin32HandleKHR =
|
||||
PFN_vkGetMemoryWin32HandleKHR( vkGetDeviceProcAddr( device, "vkGetMemoryWin32HandleKHR" ) );
|
||||
@ -12531,8 +12565,6 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
PFN_vkGetSemaphoreZirconHandleFUCHSIA( vkGetDeviceProcAddr( device, "vkGetSemaphoreZirconHandleFUCHSIA" ) );
|
||||
#endif /*VK_USE_PLATFORM_FUCHSIA*/
|
||||
vkGetShaderInfoAMD = PFN_vkGetShaderInfoAMD( vkGetDeviceProcAddr( device, "vkGetShaderInfoAMD" ) );
|
||||
vkGetSubpassShadingMaxWorkgroupSizeHUAWEI = PFN_vkGetSubpassShadingMaxWorkgroupSizeHUAWEI(
|
||||
vkGetDeviceProcAddr( device, "vkGetSubpassShadingMaxWorkgroupSizeHUAWEI" ) );
|
||||
vkGetSwapchainCounterEXT =
|
||||
PFN_vkGetSwapchainCounterEXT( vkGetDeviceProcAddr( device, "vkGetSwapchainCounterEXT" ) );
|
||||
vkGetSwapchainImagesKHR = PFN_vkGetSwapchainImagesKHR( vkGetDeviceProcAddr( device, "vkGetSwapchainImagesKHR" ) );
|
||||
|
@ -818,6 +818,8 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
eSubpassShadingPipelineCreateInfoHUAWEI = VK_STRUCTURE_TYPE_SUBPASS_SHADING_PIPELINE_CREATE_INFO_HUAWEI,
|
||||
ePhysicalDeviceSubpassShadingFeaturesHUAWEI = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBPASS_SHADING_FEATURES_HUAWEI,
|
||||
ePhysicalDeviceSubpassShadingPropertiesHUAWEI = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBPASS_SHADING_PROPERTIES_HUAWEI,
|
||||
eMemoryGetRemoteAddressInfoNV = VK_STRUCTURE_TYPE_MEMORY_GET_REMOTE_ADDRESS_INFO_NV,
|
||||
ePhysicalDeviceExternalMemoryRdmaFeaturesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_RDMA_FEATURES_NV,
|
||||
ePhysicalDeviceExtendedDynamicState2FeaturesEXT =
|
||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_2_FEATURES_EXT,
|
||||
#if defined( VK_USE_PLATFORM_SCREEN_QNX )
|
||||
@ -1711,6 +1713,9 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
return "PhysicalDeviceSubpassShadingFeaturesHUAWEI";
|
||||
case StructureType::ePhysicalDeviceSubpassShadingPropertiesHUAWEI:
|
||||
return "PhysicalDeviceSubpassShadingPropertiesHUAWEI";
|
||||
case StructureType::eMemoryGetRemoteAddressInfoNV: return "MemoryGetRemoteAddressInfoNV";
|
||||
case StructureType::ePhysicalDeviceExternalMemoryRdmaFeaturesNV:
|
||||
return "PhysicalDeviceExternalMemoryRdmaFeaturesNV";
|
||||
case StructureType::ePhysicalDeviceExtendedDynamicState2FeaturesEXT:
|
||||
return "PhysicalDeviceExtendedDynamicState2FeaturesEXT";
|
||||
#if defined( VK_USE_PLATFORM_SCREEN_QNX )
|
||||
@ -2695,7 +2700,8 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
eLazilyAllocated = VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT,
|
||||
eProtected = VK_MEMORY_PROPERTY_PROTECTED_BIT,
|
||||
eDeviceCoherentAMD = VK_MEMORY_PROPERTY_DEVICE_COHERENT_BIT_AMD,
|
||||
eDeviceUncachedAMD = VK_MEMORY_PROPERTY_DEVICE_UNCACHED_BIT_AMD
|
||||
eDeviceUncachedAMD = VK_MEMORY_PROPERTY_DEVICE_UNCACHED_BIT_AMD,
|
||||
eRdmaCapableNV = VK_MEMORY_PROPERTY_RDMA_CAPABLE_BIT_NV
|
||||
};
|
||||
|
||||
VULKAN_HPP_INLINE std::string to_string( MemoryPropertyFlagBits value )
|
||||
@ -2710,6 +2716,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
case MemoryPropertyFlagBits::eProtected: return "Protected";
|
||||
case MemoryPropertyFlagBits::eDeviceCoherentAMD: return "DeviceCoherentAMD";
|
||||
case MemoryPropertyFlagBits::eDeviceUncachedAMD: return "DeviceUncachedAMD";
|
||||
case MemoryPropertyFlagBits::eRdmaCapableNV: return "RdmaCapableNV";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
}
|
||||
}
|
||||
@ -4869,8 +4876,9 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
eHostAllocationEXT = VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT,
|
||||
eHostMappedForeignMemoryEXT = VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXT,
|
||||
#if defined( VK_USE_PLATFORM_FUCHSIA )
|
||||
eZirconVmoFUCHSIA = VK_EXTERNAL_MEMORY_HANDLE_TYPE_ZIRCON_VMO_BIT_FUCHSIA
|
||||
eZirconVmoFUCHSIA = VK_EXTERNAL_MEMORY_HANDLE_TYPE_ZIRCON_VMO_BIT_FUCHSIA,
|
||||
#endif /*VK_USE_PLATFORM_FUCHSIA*/
|
||||
eRdmaAddressNV = VK_EXTERNAL_MEMORY_HANDLE_TYPE_RDMA_ADDRESS_BIT_NV
|
||||
};
|
||||
using ExternalMemoryHandleTypeFlagBitsKHR = ExternalMemoryHandleTypeFlagBits;
|
||||
|
||||
@ -4894,6 +4902,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
#if defined( VK_USE_PLATFORM_FUCHSIA )
|
||||
case ExternalMemoryHandleTypeFlagBits::eZirconVmoFUCHSIA: return "ZirconVmoFUCHSIA";
|
||||
#endif /*VK_USE_PLATFORM_FUCHSIA*/
|
||||
case ExternalMemoryHandleTypeFlagBits::eRdmaAddressNV: return "RdmaAddressNV";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
}
|
||||
}
|
||||
@ -8272,7 +8281,8 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
VkFlags( MemoryPropertyFlagBits::eHostCoherent ) | VkFlags( MemoryPropertyFlagBits::eHostCached ) |
|
||||
VkFlags( MemoryPropertyFlagBits::eLazilyAllocated ) | VkFlags( MemoryPropertyFlagBits::eProtected ) |
|
||||
VkFlags( MemoryPropertyFlagBits::eDeviceCoherentAMD ) |
|
||||
VkFlags( MemoryPropertyFlagBits::eDeviceUncachedAMD )
|
||||
VkFlags( MemoryPropertyFlagBits::eDeviceUncachedAMD ) |
|
||||
VkFlags( MemoryPropertyFlagBits::eRdmaCapableNV )
|
||||
};
|
||||
};
|
||||
|
||||
@ -8322,6 +8332,8 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
result += "DeviceCoherentAMD | ";
|
||||
if ( value & MemoryPropertyFlagBits::eDeviceUncachedAMD )
|
||||
result += "DeviceUncachedAMD | ";
|
||||
if ( value & MemoryPropertyFlagBits::eRdmaCapableNV )
|
||||
result += "RdmaCapableNV | ";
|
||||
return "{ " + result.substr( 0, result.size() - 3 ) + " }";
|
||||
}
|
||||
|
||||
@ -10722,6 +10734,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
#if defined( VK_USE_PLATFORM_FUCHSIA )
|
||||
| VkFlags( ExternalMemoryHandleTypeFlagBits::eZirconVmoFUCHSIA )
|
||||
#endif /*VK_USE_PLATFORM_FUCHSIA*/
|
||||
| VkFlags( ExternalMemoryHandleTypeFlagBits::eRdmaAddressNV )
|
||||
};
|
||||
};
|
||||
|
||||
@ -10785,6 +10798,8 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
if ( value & ExternalMemoryHandleTypeFlagBits::eZirconVmoFUCHSIA )
|
||||
result += "ZirconVmoFUCHSIA | ";
|
||||
#endif /*VK_USE_PLATFORM_FUCHSIA*/
|
||||
if ( value & ExternalMemoryHandleTypeFlagBits::eRdmaAddressNV )
|
||||
result += "RdmaAddressNV | ";
|
||||
return "{ " + result.substr( 0, result.size() - 3 ) + " }";
|
||||
}
|
||||
|
||||
|
@ -17966,24 +17966,27 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
//=== VK_HUAWEI_subpass_shading ===
|
||||
|
||||
template <typename Dispatch>
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result RenderPass::getSubpassShadingMaxWorkgroupSizeHUAWEI(
|
||||
VULKAN_HPP_NAMESPACE::Extent2D * pMaxWorkgroupSize, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result
|
||||
Device::getSubpassShadingMaxWorkgroupSizeHUAWEI( VULKAN_HPP_NAMESPACE::RenderPass renderpass,
|
||||
VULKAN_HPP_NAMESPACE::Extent2D * pMaxWorkgroupSize,
|
||||
Dispatch const & d ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return static_cast<Result>( d.vkGetSubpassShadingMaxWorkgroupSizeHUAWEI(
|
||||
m_renderPass, reinterpret_cast<VkExtent2D *>( pMaxWorkgroupSize ) ) );
|
||||
return static_cast<Result>( d.vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI(
|
||||
m_device, static_cast<VkRenderPass>( renderpass ), reinterpret_cast<VkExtent2D *>( pMaxWorkgroupSize ) ) );
|
||||
}
|
||||
|
||||
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
template <typename Dispatch>
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue<VULKAN_HPP_NAMESPACE::Extent2D>
|
||||
RenderPass::getSubpassShadingMaxWorkgroupSizeHUAWEI( Dispatch const & d ) const
|
||||
Device::getSubpassShadingMaxWorkgroupSizeHUAWEI( VULKAN_HPP_NAMESPACE::RenderPass renderpass,
|
||||
Dispatch const & d ) const
|
||||
{
|
||||
VULKAN_HPP_NAMESPACE::Extent2D maxWorkgroupSize;
|
||||
Result result = static_cast<Result>( d.vkGetSubpassShadingMaxWorkgroupSizeHUAWEI(
|
||||
m_renderPass, reinterpret_cast<VkExtent2D *>( &maxWorkgroupSize ) ) );
|
||||
Result result = static_cast<Result>( d.vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI(
|
||||
m_device, static_cast<VkRenderPass>( renderpass ), reinterpret_cast<VkExtent2D *>( &maxWorkgroupSize ) ) );
|
||||
return createResultValue( result,
|
||||
maxWorkgroupSize,
|
||||
VULKAN_HPP_NAMESPACE_STRING "::RenderPass::getSubpassShadingMaxWorkgroupSizeHUAWEI",
|
||||
VULKAN_HPP_NAMESPACE_STRING "::Device::getSubpassShadingMaxWorkgroupSizeHUAWEI",
|
||||
{ VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::eIncomplete } );
|
||||
}
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
@ -17994,6 +17997,35 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
d.vkCmdSubpassShadingHUAWEI( m_commandBuffer );
|
||||
}
|
||||
|
||||
//=== VK_NV_external_memory_rdma ===
|
||||
|
||||
template <typename Dispatch>
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getMemoryRemoteAddressNV(
|
||||
const VULKAN_HPP_NAMESPACE::MemoryGetRemoteAddressInfoNV * getMemoryRemoteAddressInfo,
|
||||
VULKAN_HPP_NAMESPACE::RemoteAddressNV * pAddress,
|
||||
Dispatch const & d ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return static_cast<Result>( d.vkGetMemoryRemoteAddressNV(
|
||||
m_device,
|
||||
reinterpret_cast<const VkMemoryGetRemoteAddressInfoNV *>( getMemoryRemoteAddressInfo ),
|
||||
reinterpret_cast<VkRemoteAddressNV *>( pAddress ) ) );
|
||||
}
|
||||
|
||||
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
template <typename Dispatch>
|
||||
VULKAN_HPP_INLINE typename ResultValueType<VULKAN_HPP_NAMESPACE::RemoteAddressNV>::type
|
||||
Device::getMemoryRemoteAddressNV( const MemoryGetRemoteAddressInfoNV & getMemoryRemoteAddressInfo,
|
||||
Dispatch const & d ) const
|
||||
{
|
||||
VULKAN_HPP_NAMESPACE::RemoteAddressNV address;
|
||||
Result result = static_cast<Result>( d.vkGetMemoryRemoteAddressNV(
|
||||
m_device,
|
||||
reinterpret_cast<const VkMemoryGetRemoteAddressInfoNV *>( &getMemoryRemoteAddressInfo ),
|
||||
reinterpret_cast<VkRemoteAddressNV *>( &address ) ) );
|
||||
return createResultValue( result, address, VULKAN_HPP_NAMESPACE_STRING "::Device::getMemoryRemoteAddressNV" );
|
||||
}
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
|
||||
//=== VK_EXT_extended_dynamic_state2 ===
|
||||
|
||||
template <typename Dispatch>
|
||||
|
@ -381,6 +381,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
struct MemoryGetAndroidHardwareBufferInfoANDROID;
|
||||
#endif /*VK_USE_PLATFORM_ANDROID_KHR*/
|
||||
struct MemoryGetFdInfoKHR;
|
||||
struct MemoryGetRemoteAddressInfoNV;
|
||||
#if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
struct MemoryGetWin32HandleInfoKHR;
|
||||
#endif /*VK_USE_PLATFORM_WIN32_KHR*/
|
||||
@ -474,6 +475,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
struct PhysicalDeviceExternalImageFormatInfo;
|
||||
using PhysicalDeviceExternalImageFormatInfoKHR = PhysicalDeviceExternalImageFormatInfo;
|
||||
struct PhysicalDeviceExternalMemoryHostPropertiesEXT;
|
||||
struct PhysicalDeviceExternalMemoryRDMAFeaturesNV;
|
||||
struct PhysicalDeviceExternalSemaphoreInfo;
|
||||
using PhysicalDeviceExternalSemaphoreInfoKHR = PhysicalDeviceExternalSemaphoreInfo;
|
||||
struct PhysicalDeviceFeatures;
|
||||
@ -635,6 +637,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
struct PhysicalDeviceYcbcrImageArraysFeaturesEXT;
|
||||
struct PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR;
|
||||
struct PipelineCacheCreateInfo;
|
||||
struct PipelineCacheHeaderVersionOne;
|
||||
struct PipelineColorBlendAdvancedStateCreateInfoEXT;
|
||||
struct PipelineColorBlendAttachmentState;
|
||||
struct PipelineColorBlendStateCreateInfo;
|
||||
@ -5777,18 +5780,6 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
#endif
|
||||
|
||||
//=== VK_HUAWEI_subpass_shading ===
|
||||
|
||||
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
VULKAN_HPP_NODISCARD Result getSubpassShadingMaxWorkgroupSizeHUAWEI(
|
||||
VULKAN_HPP_NAMESPACE::Extent2D * pMaxWorkgroupSize,
|
||||
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 ResultValue<VULKAN_HPP_NAMESPACE::Extent2D>
|
||||
getSubpassShadingMaxWorkgroupSizeHUAWEI( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const;
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
|
||||
VULKAN_HPP_TYPESAFE_EXPLICIT operator VkRenderPass() const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return m_renderPass;
|
||||
@ -11099,6 +11090,34 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
#endif /*VK_USE_PLATFORM_FUCHSIA*/
|
||||
|
||||
//=== VK_HUAWEI_subpass_shading ===
|
||||
|
||||
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
VULKAN_HPP_NODISCARD Result getSubpassShadingMaxWorkgroupSizeHUAWEI(
|
||||
VULKAN_HPP_NAMESPACE::RenderPass renderpass,
|
||||
VULKAN_HPP_NAMESPACE::Extent2D * pMaxWorkgroupSize,
|
||||
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 ResultValue<VULKAN_HPP_NAMESPACE::Extent2D>
|
||||
getSubpassShadingMaxWorkgroupSizeHUAWEI( VULKAN_HPP_NAMESPACE::RenderPass renderpass,
|
||||
Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const;
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
|
||||
//=== VK_NV_external_memory_rdma ===
|
||||
|
||||
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
VULKAN_HPP_NODISCARD Result
|
||||
getMemoryRemoteAddressNV( const VULKAN_HPP_NAMESPACE::MemoryGetRemoteAddressInfoNV * getMemoryRemoteAddressInfo,
|
||||
VULKAN_HPP_NAMESPACE::RemoteAddressNV * pAddress,
|
||||
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>
|
||||
typename ResultValueType<VULKAN_HPP_NAMESPACE::RemoteAddressNV>::type
|
||||
getMemoryRemoteAddressNV( const MemoryGetRemoteAddressInfoNV & getMemoryRemoteAddressInfo,
|
||||
Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const;
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
|
||||
VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDevice() const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return m_device;
|
||||
|
@ -1020,9 +1020,11 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
vkGetDeviceProcAddr = PFN_vkGetDeviceProcAddr( vkGetDeviceProcAddr( device, "vkGetDeviceProcAddr" ) );
|
||||
vkGetDeviceQueue = PFN_vkGetDeviceQueue( vkGetDeviceProcAddr( device, "vkGetDeviceQueue" ) );
|
||||
vkGetDeviceQueue2 = PFN_vkGetDeviceQueue2( vkGetDeviceProcAddr( device, "vkGetDeviceQueue2" ) );
|
||||
vkGetEventStatus = PFN_vkGetEventStatus( vkGetDeviceProcAddr( device, "vkGetEventStatus" ) );
|
||||
vkGetFenceFdKHR = PFN_vkGetFenceFdKHR( vkGetDeviceProcAddr( device, "vkGetFenceFdKHR" ) );
|
||||
vkGetFenceStatus = PFN_vkGetFenceStatus( vkGetDeviceProcAddr( device, "vkGetFenceStatus" ) );
|
||||
vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI = PFN_vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI(
|
||||
vkGetDeviceProcAddr( device, "vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI" ) );
|
||||
vkGetEventStatus = PFN_vkGetEventStatus( vkGetDeviceProcAddr( device, "vkGetEventStatus" ) );
|
||||
vkGetFenceFdKHR = PFN_vkGetFenceFdKHR( vkGetDeviceProcAddr( device, "vkGetFenceFdKHR" ) );
|
||||
vkGetFenceStatus = PFN_vkGetFenceStatus( vkGetDeviceProcAddr( device, "vkGetFenceStatus" ) );
|
||||
# if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
vkGetFenceWin32HandleKHR =
|
||||
PFN_vkGetFenceWin32HandleKHR( vkGetDeviceProcAddr( device, "vkGetFenceWin32HandleKHR" ) );
|
||||
@ -1062,6 +1064,8 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
PFN_vkGetMemoryFdPropertiesKHR( vkGetDeviceProcAddr( device, "vkGetMemoryFdPropertiesKHR" ) );
|
||||
vkGetMemoryHostPointerPropertiesEXT = PFN_vkGetMemoryHostPointerPropertiesEXT(
|
||||
vkGetDeviceProcAddr( device, "vkGetMemoryHostPointerPropertiesEXT" ) );
|
||||
vkGetMemoryRemoteAddressNV =
|
||||
PFN_vkGetMemoryRemoteAddressNV( vkGetDeviceProcAddr( device, "vkGetMemoryRemoteAddressNV" ) );
|
||||
# if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
vkGetMemoryWin32HandleKHR =
|
||||
PFN_vkGetMemoryWin32HandleKHR( vkGetDeviceProcAddr( device, "vkGetMemoryWin32HandleKHR" ) );
|
||||
@ -1129,8 +1133,6 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
PFN_vkGetSemaphoreZirconHandleFUCHSIA( vkGetDeviceProcAddr( device, "vkGetSemaphoreZirconHandleFUCHSIA" ) );
|
||||
# endif /*VK_USE_PLATFORM_FUCHSIA*/
|
||||
vkGetShaderInfoAMD = PFN_vkGetShaderInfoAMD( vkGetDeviceProcAddr( device, "vkGetShaderInfoAMD" ) );
|
||||
vkGetSubpassShadingMaxWorkgroupSizeHUAWEI = PFN_vkGetSubpassShadingMaxWorkgroupSizeHUAWEI(
|
||||
vkGetDeviceProcAddr( device, "vkGetSubpassShadingMaxWorkgroupSizeHUAWEI" ) );
|
||||
vkGetSwapchainCounterEXT =
|
||||
PFN_vkGetSwapchainCounterEXT( vkGetDeviceProcAddr( device, "vkGetSwapchainCounterEXT" ) );
|
||||
vkGetSwapchainImagesKHR =
|
||||
@ -1543,16 +1545,17 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
# if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
PFN_vkGetDeviceGroupSurfacePresentModes2EXT vkGetDeviceGroupSurfacePresentModes2EXT = 0;
|
||||
# endif /*VK_USE_PLATFORM_WIN32_KHR*/
|
||||
PFN_vkGetDeviceGroupSurfacePresentModesKHR vkGetDeviceGroupSurfacePresentModesKHR = 0;
|
||||
PFN_vkGetDeviceMemoryCommitment vkGetDeviceMemoryCommitment = 0;
|
||||
PFN_vkGetDeviceMemoryOpaqueCaptureAddress vkGetDeviceMemoryOpaqueCaptureAddress = 0;
|
||||
PFN_vkGetDeviceMemoryOpaqueCaptureAddressKHR vkGetDeviceMemoryOpaqueCaptureAddressKHR = 0;
|
||||
PFN_vkGetDeviceProcAddr vkGetDeviceProcAddr = 0;
|
||||
PFN_vkGetDeviceQueue vkGetDeviceQueue = 0;
|
||||
PFN_vkGetDeviceQueue2 vkGetDeviceQueue2 = 0;
|
||||
PFN_vkGetEventStatus vkGetEventStatus = 0;
|
||||
PFN_vkGetFenceFdKHR vkGetFenceFdKHR = 0;
|
||||
PFN_vkGetFenceStatus vkGetFenceStatus = 0;
|
||||
PFN_vkGetDeviceGroupSurfacePresentModesKHR vkGetDeviceGroupSurfacePresentModesKHR = 0;
|
||||
PFN_vkGetDeviceMemoryCommitment vkGetDeviceMemoryCommitment = 0;
|
||||
PFN_vkGetDeviceMemoryOpaqueCaptureAddress vkGetDeviceMemoryOpaqueCaptureAddress = 0;
|
||||
PFN_vkGetDeviceMemoryOpaqueCaptureAddressKHR vkGetDeviceMemoryOpaqueCaptureAddressKHR = 0;
|
||||
PFN_vkGetDeviceProcAddr vkGetDeviceProcAddr = 0;
|
||||
PFN_vkGetDeviceQueue vkGetDeviceQueue = 0;
|
||||
PFN_vkGetDeviceQueue2 vkGetDeviceQueue2 = 0;
|
||||
PFN_vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI = 0;
|
||||
PFN_vkGetEventStatus vkGetEventStatus = 0;
|
||||
PFN_vkGetFenceFdKHR vkGetFenceFdKHR = 0;
|
||||
PFN_vkGetFenceStatus vkGetFenceStatus = 0;
|
||||
# if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
PFN_vkGetFenceWin32HandleKHR vkGetFenceWin32HandleKHR = 0;
|
||||
# endif /*VK_USE_PLATFORM_WIN32_KHR*/
|
||||
@ -1573,6 +1576,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
PFN_vkGetMemoryFdKHR vkGetMemoryFdKHR = 0;
|
||||
PFN_vkGetMemoryFdPropertiesKHR vkGetMemoryFdPropertiesKHR = 0;
|
||||
PFN_vkGetMemoryHostPointerPropertiesEXT vkGetMemoryHostPointerPropertiesEXT = 0;
|
||||
PFN_vkGetMemoryRemoteAddressNV vkGetMemoryRemoteAddressNV = 0;
|
||||
# if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
PFN_vkGetMemoryWin32HandleKHR vkGetMemoryWin32HandleKHR = 0;
|
||||
# endif /*VK_USE_PLATFORM_WIN32_KHR*/
|
||||
@ -1613,12 +1617,11 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
# if defined( VK_USE_PLATFORM_FUCHSIA )
|
||||
PFN_vkGetSemaphoreZirconHandleFUCHSIA vkGetSemaphoreZirconHandleFUCHSIA = 0;
|
||||
# endif /*VK_USE_PLATFORM_FUCHSIA*/
|
||||
PFN_vkGetShaderInfoAMD vkGetShaderInfoAMD = 0;
|
||||
PFN_vkGetSubpassShadingMaxWorkgroupSizeHUAWEI vkGetSubpassShadingMaxWorkgroupSizeHUAWEI = 0;
|
||||
PFN_vkGetSwapchainCounterEXT vkGetSwapchainCounterEXT = 0;
|
||||
PFN_vkGetSwapchainImagesKHR vkGetSwapchainImagesKHR = 0;
|
||||
PFN_vkGetSwapchainStatusKHR vkGetSwapchainStatusKHR = 0;
|
||||
PFN_vkGetValidationCacheDataEXT vkGetValidationCacheDataEXT = 0;
|
||||
PFN_vkGetShaderInfoAMD vkGetShaderInfoAMD = 0;
|
||||
PFN_vkGetSwapchainCounterEXT vkGetSwapchainCounterEXT = 0;
|
||||
PFN_vkGetSwapchainImagesKHR vkGetSwapchainImagesKHR = 0;
|
||||
PFN_vkGetSwapchainStatusKHR vkGetSwapchainStatusKHR = 0;
|
||||
PFN_vkGetValidationCacheDataEXT vkGetValidationCacheDataEXT = 0;
|
||||
# if defined( VK_ENABLE_BETA_EXTENSIONS )
|
||||
PFN_vkGetVideoSessionMemoryRequirementsKHR vkGetVideoSessionMemoryRequirementsKHR = 0;
|
||||
# endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
@ -2792,6 +2795,11 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
getSemaphoreZirconHandleFUCHSIA( const SemaphoreGetZirconHandleInfoFUCHSIA & getZirconHandleInfo ) const;
|
||||
# endif /*VK_USE_PLATFORM_FUCHSIA*/
|
||||
|
||||
//=== VK_NV_external_memory_rdma ===
|
||||
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::RemoteAddressNV
|
||||
getMemoryRemoteAddressNV( const MemoryGetRemoteAddressInfoNV & getMemoryRemoteAddressInfo ) const;
|
||||
|
||||
private:
|
||||
VULKAN_HPP_NAMESPACE::Device m_device;
|
||||
const VkAllocationCallbacks * m_allocator;
|
||||
@ -7618,7 +7626,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
//=== VK_HUAWEI_subpass_shading ===
|
||||
|
||||
VULKAN_HPP_NODISCARD std::pair<VULKAN_HPP_NAMESPACE::Result, VULKAN_HPP_NAMESPACE::Extent2D>
|
||||
getSubpassShadingMaxWorkgroupSizeHUAWEI() const;
|
||||
getDeviceSubpassShadingMaxWorkgroupSizeHUAWEI() const;
|
||||
|
||||
private:
|
||||
VULKAN_HPP_NAMESPACE::RenderPass m_renderPass;
|
||||
@ -15972,21 +15980,23 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
//=== VK_HUAWEI_subpass_shading ===
|
||||
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::pair<VULKAN_HPP_NAMESPACE::Result, VULKAN_HPP_NAMESPACE::Extent2D>
|
||||
RenderPass::getSubpassShadingMaxWorkgroupSizeHUAWEI() const
|
||||
RenderPass::getDeviceSubpassShadingMaxWorkgroupSizeHUAWEI() const
|
||||
{
|
||||
VULKAN_HPP_ASSERT(
|
||||
getDispatcher()->vkGetSubpassShadingMaxWorkgroupSizeHUAWEI &&
|
||||
"Function <vkGetSubpassShadingMaxWorkgroupSizeHUAWEI> needs extension <VK_HUAWEI_subpass_shading> enabled!" );
|
||||
getDispatcher()->vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI &&
|
||||
"Function <vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI> needs extension <VK_HUAWEI_subpass_shading> enabled!" );
|
||||
|
||||
VULKAN_HPP_NAMESPACE::Extent2D maxWorkgroupSize;
|
||||
VULKAN_HPP_NAMESPACE::Result result =
|
||||
static_cast<VULKAN_HPP_NAMESPACE::Result>( getDispatcher()->vkGetSubpassShadingMaxWorkgroupSizeHUAWEI(
|
||||
static_cast<VkRenderPass>( m_renderPass ), reinterpret_cast<VkExtent2D *>( &maxWorkgroupSize ) ) );
|
||||
static_cast<VULKAN_HPP_NAMESPACE::Result>( getDispatcher()->vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI(
|
||||
static_cast<VkDevice>( m_device ),
|
||||
static_cast<VkRenderPass>( m_renderPass ),
|
||||
reinterpret_cast<VkExtent2D *>( &maxWorkgroupSize ) ) );
|
||||
if ( ( result != VULKAN_HPP_NAMESPACE::Result::eSuccess ) &&
|
||||
( result != VULKAN_HPP_NAMESPACE::Result::eIncomplete ) )
|
||||
{
|
||||
throwResultException( result,
|
||||
VULKAN_HPP_NAMESPACE_STRING "::RenderPass::getSubpassShadingMaxWorkgroupSizeHUAWEI" );
|
||||
throwResultException(
|
||||
result, VULKAN_HPP_NAMESPACE_STRING "::RenderPass::getDeviceSubpassShadingMaxWorkgroupSizeHUAWEI" );
|
||||
}
|
||||
return std::make_pair( result, maxWorkgroupSize );
|
||||
}
|
||||
@ -15999,6 +16009,28 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
getDispatcher()->vkCmdSubpassShadingHUAWEI( static_cast<VkCommandBuffer>( m_commandBuffer ) );
|
||||
}
|
||||
|
||||
//=== VK_NV_external_memory_rdma ===
|
||||
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::RemoteAddressNV
|
||||
Device::getMemoryRemoteAddressNV( const MemoryGetRemoteAddressInfoNV & getMemoryRemoteAddressInfo ) const
|
||||
{
|
||||
VULKAN_HPP_ASSERT(
|
||||
getDispatcher()->vkGetMemoryRemoteAddressNV &&
|
||||
"Function <vkGetMemoryRemoteAddressNV> needs extension <VK_NV_external_memory_rdma> enabled!" );
|
||||
|
||||
VULKAN_HPP_NAMESPACE::RemoteAddressNV address;
|
||||
VULKAN_HPP_NAMESPACE::Result result =
|
||||
static_cast<VULKAN_HPP_NAMESPACE::Result>( getDispatcher()->vkGetMemoryRemoteAddressNV(
|
||||
static_cast<VkDevice>( m_device ),
|
||||
reinterpret_cast<const VkMemoryGetRemoteAddressInfoNV *>( &getMemoryRemoteAddressInfo ),
|
||||
reinterpret_cast<VkRemoteAddressNV *>( &address ) ) );
|
||||
if ( result != VULKAN_HPP_NAMESPACE::Result::eSuccess )
|
||||
{
|
||||
throwResultException( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getMemoryRemoteAddressNV" );
|
||||
}
|
||||
return address;
|
||||
}
|
||||
|
||||
//=== VK_EXT_extended_dynamic_state2 ===
|
||||
|
||||
VULKAN_HPP_INLINE void
|
||||
|
@ -31788,6 +31788,99 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
using Type = MemoryGetFdInfoKHR;
|
||||
};
|
||||
|
||||
struct MemoryGetRemoteAddressInfoNV
|
||||
{
|
||||
static const bool allowDuplicate = false;
|
||||
static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMemoryGetRemoteAddressInfoNV;
|
||||
|
||||
#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS )
|
||||
VULKAN_HPP_CONSTEXPR MemoryGetRemoteAddressInfoNV(
|
||||
VULKAN_HPP_NAMESPACE::DeviceMemory memory_ = {},
|
||||
VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_ =
|
||||
VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd ) VULKAN_HPP_NOEXCEPT
|
||||
: memory( memory_ )
|
||||
, handleType( handleType_ )
|
||||
{}
|
||||
|
||||
VULKAN_HPP_CONSTEXPR
|
||||
MemoryGetRemoteAddressInfoNV( MemoryGetRemoteAddressInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default;
|
||||
|
||||
MemoryGetRemoteAddressInfoNV( VkMemoryGetRemoteAddressInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT
|
||||
: MemoryGetRemoteAddressInfoNV( *reinterpret_cast<MemoryGetRemoteAddressInfoNV const *>( &rhs ) )
|
||||
{}
|
||||
#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/
|
||||
|
||||
VULKAN_HPP_CONSTEXPR_14 MemoryGetRemoteAddressInfoNV &
|
||||
operator=( MemoryGetRemoteAddressInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default;
|
||||
|
||||
MemoryGetRemoteAddressInfoNV & operator=( VkMemoryGetRemoteAddressInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
*this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::MemoryGetRemoteAddressInfoNV const *>( &rhs );
|
||||
return *this;
|
||||
}
|
||||
|
||||
MemoryGetRemoteAddressInfoNV & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
pNext = pNext_;
|
||||
return *this;
|
||||
}
|
||||
|
||||
MemoryGetRemoteAddressInfoNV & setMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory_ ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
memory = memory_;
|
||||
return *this;
|
||||
}
|
||||
|
||||
MemoryGetRemoteAddressInfoNV &
|
||||
setHandleType( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
handleType = handleType_;
|
||||
return *this;
|
||||
}
|
||||
|
||||
operator VkMemoryGetRemoteAddressInfoNV const &() const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return *reinterpret_cast<const VkMemoryGetRemoteAddressInfoNV *>( this );
|
||||
}
|
||||
|
||||
operator VkMemoryGetRemoteAddressInfoNV &() VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return *reinterpret_cast<VkMemoryGetRemoteAddressInfoNV *>( this );
|
||||
}
|
||||
|
||||
#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR )
|
||||
auto operator<=>( MemoryGetRemoteAddressInfoNV const & ) const = default;
|
||||
#else
|
||||
bool operator==( MemoryGetRemoteAddressInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( memory == rhs.memory ) &&
|
||||
( handleType == rhs.handleType );
|
||||
}
|
||||
|
||||
bool operator!=( MemoryGetRemoteAddressInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return !operator==( rhs );
|
||||
}
|
||||
#endif
|
||||
|
||||
public:
|
||||
VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMemoryGetRemoteAddressInfoNV;
|
||||
const void * pNext = {};
|
||||
VULKAN_HPP_NAMESPACE::DeviceMemory memory = {};
|
||||
VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType =
|
||||
VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd;
|
||||
};
|
||||
static_assert( sizeof( MemoryGetRemoteAddressInfoNV ) == sizeof( VkMemoryGetRemoteAddressInfoNV ),
|
||||
"struct and wrapper have different size!" );
|
||||
static_assert( std::is_standard_layout<MemoryGetRemoteAddressInfoNV>::value,
|
||||
"struct wrapper is not a standard layout!" );
|
||||
|
||||
template <>
|
||||
struct CppType<StructureType, StructureType::eMemoryGetRemoteAddressInfoNV>
|
||||
{
|
||||
using Type = MemoryGetRemoteAddressInfoNV;
|
||||
};
|
||||
|
||||
#if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
struct MemoryGetWin32HandleInfoKHR
|
||||
{
|
||||
@ -37956,6 +38049,92 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
using Type = PhysicalDeviceExternalMemoryHostPropertiesEXT;
|
||||
};
|
||||
|
||||
struct PhysicalDeviceExternalMemoryRDMAFeaturesNV
|
||||
{
|
||||
static const bool allowDuplicate = false;
|
||||
static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType =
|
||||
StructureType::ePhysicalDeviceExternalMemoryRdmaFeaturesNV;
|
||||
|
||||
#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS )
|
||||
VULKAN_HPP_CONSTEXPR PhysicalDeviceExternalMemoryRDMAFeaturesNV(
|
||||
VULKAN_HPP_NAMESPACE::Bool32 externalMemoryRDMA_ = {} ) VULKAN_HPP_NOEXCEPT
|
||||
: externalMemoryRDMA( externalMemoryRDMA_ )
|
||||
{}
|
||||
|
||||
VULKAN_HPP_CONSTEXPR PhysicalDeviceExternalMemoryRDMAFeaturesNV(
|
||||
PhysicalDeviceExternalMemoryRDMAFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default;
|
||||
|
||||
PhysicalDeviceExternalMemoryRDMAFeaturesNV( VkPhysicalDeviceExternalMemoryRDMAFeaturesNV const & rhs )
|
||||
VULKAN_HPP_NOEXCEPT
|
||||
: PhysicalDeviceExternalMemoryRDMAFeaturesNV(
|
||||
*reinterpret_cast<PhysicalDeviceExternalMemoryRDMAFeaturesNV const *>( &rhs ) )
|
||||
{}
|
||||
#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/
|
||||
|
||||
VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceExternalMemoryRDMAFeaturesNV &
|
||||
operator=( PhysicalDeviceExternalMemoryRDMAFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default;
|
||||
|
||||
PhysicalDeviceExternalMemoryRDMAFeaturesNV &
|
||||
operator=( VkPhysicalDeviceExternalMemoryRDMAFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
*this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalMemoryRDMAFeaturesNV const *>( &rhs );
|
||||
return *this;
|
||||
}
|
||||
|
||||
PhysicalDeviceExternalMemoryRDMAFeaturesNV & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
pNext = pNext_;
|
||||
return *this;
|
||||
}
|
||||
|
||||
PhysicalDeviceExternalMemoryRDMAFeaturesNV &
|
||||
setExternalMemoryRDMA( VULKAN_HPP_NAMESPACE::Bool32 externalMemoryRDMA_ ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
externalMemoryRDMA = externalMemoryRDMA_;
|
||||
return *this;
|
||||
}
|
||||
|
||||
operator VkPhysicalDeviceExternalMemoryRDMAFeaturesNV const &() const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return *reinterpret_cast<const VkPhysicalDeviceExternalMemoryRDMAFeaturesNV *>( this );
|
||||
}
|
||||
|
||||
operator VkPhysicalDeviceExternalMemoryRDMAFeaturesNV &() VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return *reinterpret_cast<VkPhysicalDeviceExternalMemoryRDMAFeaturesNV *>( this );
|
||||
}
|
||||
|
||||
#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR )
|
||||
auto operator<=>( PhysicalDeviceExternalMemoryRDMAFeaturesNV const & ) const = default;
|
||||
#else
|
||||
bool operator==( PhysicalDeviceExternalMemoryRDMAFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( externalMemoryRDMA == rhs.externalMemoryRDMA );
|
||||
}
|
||||
|
||||
bool operator!=( PhysicalDeviceExternalMemoryRDMAFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return !operator==( rhs );
|
||||
}
|
||||
#endif
|
||||
|
||||
public:
|
||||
VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceExternalMemoryRdmaFeaturesNV;
|
||||
void * pNext = {};
|
||||
VULKAN_HPP_NAMESPACE::Bool32 externalMemoryRDMA = {};
|
||||
};
|
||||
static_assert( sizeof( PhysicalDeviceExternalMemoryRDMAFeaturesNV ) ==
|
||||
sizeof( VkPhysicalDeviceExternalMemoryRDMAFeaturesNV ),
|
||||
"struct and wrapper have different size!" );
|
||||
static_assert( std::is_standard_layout<PhysicalDeviceExternalMemoryRDMAFeaturesNV>::value,
|
||||
"struct wrapper is not a standard layout!" );
|
||||
|
||||
template <>
|
||||
struct CppType<StructureType, StructureType::ePhysicalDeviceExternalMemoryRdmaFeaturesNV>
|
||||
{
|
||||
using Type = PhysicalDeviceExternalMemoryRDMAFeaturesNV;
|
||||
};
|
||||
|
||||
struct PhysicalDeviceExternalSemaphoreInfo
|
||||
{
|
||||
static const bool allowDuplicate = false;
|
||||
@ -50745,6 +50924,111 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
using Type = PipelineCacheCreateInfo;
|
||||
};
|
||||
|
||||
struct PipelineCacheHeaderVersionOne
|
||||
{
|
||||
#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS )
|
||||
VULKAN_HPP_CONSTEXPR_14 PipelineCacheHeaderVersionOne(
|
||||
uint32_t headerSize_ = {},
|
||||
VULKAN_HPP_NAMESPACE::PipelineCacheHeaderVersion headerVersion_ =
|
||||
VULKAN_HPP_NAMESPACE::PipelineCacheHeaderVersion::eOne,
|
||||
uint32_t vendorID_ = {},
|
||||
uint32_t deviceID_ = {},
|
||||
std::array<uint8_t, VK_UUID_SIZE> const & pipelineCacheUUID_ = {} ) VULKAN_HPP_NOEXCEPT
|
||||
: headerSize( headerSize_ )
|
||||
, headerVersion( headerVersion_ )
|
||||
, vendorID( vendorID_ )
|
||||
, deviceID( deviceID_ )
|
||||
, pipelineCacheUUID( pipelineCacheUUID_ )
|
||||
{}
|
||||
|
||||
VULKAN_HPP_CONSTEXPR_14
|
||||
PipelineCacheHeaderVersionOne( PipelineCacheHeaderVersionOne const & rhs ) VULKAN_HPP_NOEXCEPT = default;
|
||||
|
||||
PipelineCacheHeaderVersionOne( VkPipelineCacheHeaderVersionOne const & rhs ) VULKAN_HPP_NOEXCEPT
|
||||
: PipelineCacheHeaderVersionOne( *reinterpret_cast<PipelineCacheHeaderVersionOne const *>( &rhs ) )
|
||||
{}
|
||||
#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/
|
||||
|
||||
VULKAN_HPP_CONSTEXPR_14 PipelineCacheHeaderVersionOne &
|
||||
operator=( PipelineCacheHeaderVersionOne const & rhs ) VULKAN_HPP_NOEXCEPT = default;
|
||||
|
||||
PipelineCacheHeaderVersionOne & operator=( VkPipelineCacheHeaderVersionOne const & rhs ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
*this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::PipelineCacheHeaderVersionOne const *>( &rhs );
|
||||
return *this;
|
||||
}
|
||||
|
||||
PipelineCacheHeaderVersionOne & setHeaderSize( uint32_t headerSize_ ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
headerSize = headerSize_;
|
||||
return *this;
|
||||
}
|
||||
|
||||
PipelineCacheHeaderVersionOne &
|
||||
setHeaderVersion( VULKAN_HPP_NAMESPACE::PipelineCacheHeaderVersion headerVersion_ ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
headerVersion = headerVersion_;
|
||||
return *this;
|
||||
}
|
||||
|
||||
PipelineCacheHeaderVersionOne & setVendorID( uint32_t vendorID_ ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
vendorID = vendorID_;
|
||||
return *this;
|
||||
}
|
||||
|
||||
PipelineCacheHeaderVersionOne & setDeviceID( uint32_t deviceID_ ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
deviceID = deviceID_;
|
||||
return *this;
|
||||
}
|
||||
|
||||
PipelineCacheHeaderVersionOne &
|
||||
setPipelineCacheUUID( std::array<uint8_t, VK_UUID_SIZE> pipelineCacheUUID_ ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
pipelineCacheUUID = pipelineCacheUUID_;
|
||||
return *this;
|
||||
}
|
||||
|
||||
operator VkPipelineCacheHeaderVersionOne const &() const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return *reinterpret_cast<const VkPipelineCacheHeaderVersionOne *>( this );
|
||||
}
|
||||
|
||||
operator VkPipelineCacheHeaderVersionOne &() VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return *reinterpret_cast<VkPipelineCacheHeaderVersionOne *>( this );
|
||||
}
|
||||
|
||||
#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR )
|
||||
auto operator<=>( PipelineCacheHeaderVersionOne const & ) const = default;
|
||||
#else
|
||||
bool operator==( PipelineCacheHeaderVersionOne const & rhs ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return ( headerSize == rhs.headerSize ) && ( headerVersion == rhs.headerVersion ) &&
|
||||
( vendorID == rhs.vendorID ) && ( deviceID == rhs.deviceID ) &&
|
||||
( pipelineCacheUUID == rhs.pipelineCacheUUID );
|
||||
}
|
||||
|
||||
bool operator!=( PipelineCacheHeaderVersionOne const & rhs ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return !operator==( rhs );
|
||||
}
|
||||
#endif
|
||||
|
||||
public:
|
||||
uint32_t headerSize = {};
|
||||
VULKAN_HPP_NAMESPACE::PipelineCacheHeaderVersion headerVersion =
|
||||
VULKAN_HPP_NAMESPACE::PipelineCacheHeaderVersion::eOne;
|
||||
uint32_t vendorID = {};
|
||||
uint32_t deviceID = {};
|
||||
VULKAN_HPP_NAMESPACE::ArrayWrapper1D<uint8_t, VK_UUID_SIZE> pipelineCacheUUID = {};
|
||||
};
|
||||
static_assert( sizeof( PipelineCacheHeaderVersionOne ) == sizeof( VkPipelineCacheHeaderVersionOne ),
|
||||
"struct and wrapper have different size!" );
|
||||
static_assert( std::is_standard_layout<PipelineCacheHeaderVersionOne>::value,
|
||||
"struct wrapper is not a standard layout!" );
|
||||
|
||||
struct PipelineColorBlendAdvancedStateCreateInfoEXT
|
||||
{
|
||||
static const bool allowDuplicate = false;
|
||||
|
Loading…
Reference in New Issue
Block a user