5 Commits

Author SHA1 Message Date
kbJeff-8 f1e89ca90e [BOT] update dependencies 2026-02-08 12:13:11 +01:00
kbz_8 1566fbfc00 fixing image resize 2026-02-05 15:18:03 +01:00
kbz_8 6c1400e62c azy, 7h du matin, je sais pas écrire 2026-02-04 07:32:55 +01:00
kbz_8 25fb5285f7 fixed issue with default font loading 2026-02-04 07:32:55 +01:00
Yannis 87059f8ca3 Check if font file exists 2026-02-04 07:32:55 +01:00
15 changed files with 771 additions and 639 deletions
+14
View File
@@ -304,7 +304,14 @@ extern "C"
mlx::Error("Font loader: filepath is NULL");
return;
}
std::filesystem::path file(filepath);
if (std::strcmp(filepath, "default") != 0 && !std::filesystem::exists(file))
{
mlx::Error("TTF loader: unable to find file '%'", filepath);
return;
}
if(std::strcmp(filepath, "default") != 0 && file.extension() != ".ttf" && file.extension() != ".tte")
{
mlx::Error("TTF loader: not a truetype font file '%'", filepath);
@@ -324,7 +331,14 @@ extern "C"
mlx::Error("Font loader: filepath is NULL");
return;
}
std::filesystem::path file(filepath);
if (std::strcmp(filepath, "default") != 0 && !std::filesystem::exists(file))
{
mlx::Error("TTF loader: unable to find file '%'", filepath);
return;
}
if(std::strcmp(filepath, "default") != 0 && file.extension() != ".ttf" && file.extension() != ".tte")
{
mlx::Error("TTF loader: not a truetype font file '%'", filepath);
+7
View File
@@ -436,13 +436,20 @@ namespace mlx
#endif
if(m_staging_buffer.has_value())
{
new_texture.OpenCPUBuffer();
new_texture.m_staging_buffer->CopyFrom(*m_staging_buffer);
}
// Suboptimal operations, should bake all of them in a single command buffer
new_texture.Clear(VK_NULL_HANDLE, Vec4f{ 0.f });
CopyTo(new_texture);
Swap(new_texture);
#ifdef DEBUG
DebugLog("Texture: resized '%'", m_debug_name);
#endif
}
void Texture::Swap(Texture& texture) noexcept
+29
View File
@@ -1065,6 +1065,12 @@ export namespace VULKAN_HPP_NAMESPACE
using VULKAN_HPP_NAMESPACE::ResolveImageFlagBitsKHR;
using VULKAN_HPP_NAMESPACE::ResolveImageFlagsKHR;
#if defined( VK_USE_PLATFORM_UBM_SEC )
//=== VK_SEC_ubm_surface ===
using VULKAN_HPP_NAMESPACE::UbmSurfaceCreateFlagBitsSEC;
using VULKAN_HPP_NAMESPACE::UbmSurfaceCreateFlagsSEC;
#endif /*VK_USE_PLATFORM_UBM_SEC*/
//=========================
//=== Index Type Traits ===
//=========================
@@ -3045,6 +3051,12 @@ export namespace VULKAN_HPP_NAMESPACE
using VULKAN_HPP_NAMESPACE::EXTShaderSubgroupPartitionedExtensionName;
using VULKAN_HPP_NAMESPACE::EXTShaderSubgroupPartitionedSpecVersion;
#if defined( VK_USE_PLATFORM_UBM_SEC )
//=== VK_SEC_ubm_surface ===
using VULKAN_HPP_NAMESPACE::SECUbmSurfaceExtensionName;
using VULKAN_HPP_NAMESPACE::SECUbmSurfaceSpecVersion;
#endif /*VK_USE_PLATFORM_UBM_SEC*/
//========================
//=== CONSTEXPR VALUEs ===
//========================
@@ -5420,6 +5432,11 @@ export namespace VULKAN_HPP_NAMESPACE
//=== VK_EXT_shader_subgroup_partitioned ===
using VULKAN_HPP_NAMESPACE::PhysicalDeviceShaderSubgroupPartitionedFeaturesEXT;
#if defined( VK_USE_PLATFORM_UBM_SEC )
//=== VK_SEC_ubm_surface ===
using VULKAN_HPP_NAMESPACE::UbmSurfaceCreateInfoSEC;
#endif /*VK_USE_PLATFORM_UBM_SEC*/
//===============
//=== HANDLEs ===
//===============
@@ -9634,6 +9651,12 @@ export namespace std
template <>
struct hash<VULKAN_HPP_NAMESPACE::PhysicalDeviceShaderSubgroupPartitionedFeaturesEXT>;
#if defined( VK_USE_PLATFORM_UBM_SEC )
//=== VK_SEC_ubm_surface ===
template <>
struct hash<VULKAN_HPP_NAMESPACE::UbmSurfaceCreateInfoSEC>;
#endif /*VK_USE_PLATFORM_UBM_SEC*/
//=================================================================
//=== Required exports for VULKAN_HPP_NAMESPACE::StructureChain ===
//=================================================================
@@ -10855,4 +10878,10 @@ export
//=== VK_NV_compute_occupancy_priority ===
using ::PFN_vkCmdSetComputeOccupancyPriorityNV;
#if defined( VK_USE_PLATFORM_UBM_SEC )
//=== VK_SEC_ubm_surface ===
using ::PFN_vkCreateUbmSurfaceSEC;
using ::PFN_vkGetPhysicalDeviceUbmPresentationSupportSEC;
#endif /*VK_USE_PLATFORM_UBM_SEC*/
}
+44 -1
View File
@@ -57,7 +57,7 @@ extern "C" __declspec( dllimport ) FARPROC __stdcall GetProcAddress( HINSTANCE h
# endif
#endif
VULKAN_HPP_STATIC_ASSERT( VK_HEADER_VERSION == 342, "Wrong VK_HEADER_VERSION!" );
VULKAN_HPP_STATIC_ASSERT( VK_HEADER_VERSION == 343, "Wrong VK_HEADER_VERSION!" );
// <tuple> includes <sys/sysmacros.h> through some other header
// this results in major(x) being resolved to gnu_dev_major(x)
@@ -1443,6 +1443,7 @@ namespace VULKAN_HPP_NAMESPACE
DECLARE_IS_DISPATCHED( vkCreateSwapchainKHR )
DECLARE_IS_DISPATCHED( vkCreateTensorARM )
DECLARE_IS_DISPATCHED( vkCreateTensorViewARM )
DECLARE_IS_DISPATCHED( vkCreateUbmSurfaceSEC )
DECLARE_IS_DISPATCHED( vkCreateValidationCacheEXT )
DECLARE_IS_DISPATCHED( vkCreateViSurfaceNN )
DECLARE_IS_DISPATCHED( vkCreateVideoSessionKHR )
@@ -1709,6 +1710,7 @@ namespace VULKAN_HPP_NAMESPACE
DECLARE_IS_DISPATCHED( vkGetPhysicalDeviceSurfaceSupportKHR )
DECLARE_IS_DISPATCHED( vkGetPhysicalDeviceToolProperties )
DECLARE_IS_DISPATCHED( vkGetPhysicalDeviceToolPropertiesEXT )
DECLARE_IS_DISPATCHED( vkGetPhysicalDeviceUbmPresentationSupportSEC )
DECLARE_IS_DISPATCHED( vkGetPhysicalDeviceVideoCapabilitiesKHR )
DECLARE_IS_DISPATCHED( vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR )
DECLARE_IS_DISPATCHED( vkGetPhysicalDeviceVideoFormatPropertiesKHR )
@@ -7552,6 +7554,25 @@ namespace VULKAN_HPP_NAMESPACE
{
return ::vkCmdSetComputeOccupancyPriorityNV( commandBuffer, pParameters );
}
# if defined( VK_USE_PLATFORM_UBM_SEC )
//=== VK_SEC_ubm_surface ===
VkResult vkCreateUbmSurfaceSEC( VkInstance instance,
const VkUbmSurfaceCreateInfoSEC * pCreateInfo,
const VkAllocationCallbacks * pAllocator,
VkSurfaceKHR * pSurface ) const VULKAN_HPP_NOEXCEPT
{
return ::vkCreateUbmSurfaceSEC( instance, pCreateInfo, pAllocator, pSurface );
}
VkBool32 vkGetPhysicalDeviceUbmPresentationSupportSEC( VkPhysicalDevice physicalDevice,
uint32_t queueFamilyIndex,
struct ubm_device * ubm_device ) const VULKAN_HPP_NOEXCEPT
{
return ::vkGetPhysicalDeviceUbmPresentationSupportSEC( physicalDevice, queueFamilyIndex, ubm_device );
}
# endif /*VK_USE_PLATFORM_UBM_SEC*/
};
inline DispatchLoaderStatic & getDispatchLoaderStatic()
@@ -10619,6 +10640,12 @@ namespace VULKAN_HPP_NAMESPACE
VULKAN_HPP_CONSTEXPR_INLINE auto EXTShaderSubgroupPartitionedSpecVersion = VK_EXT_SHADER_SUBGROUP_PARTITIONED_SPEC_VERSION;
VULKAN_HPP_CONSTEXPR_INLINE auto EXTShaderSubgroupPartitionedExtensionName = VK_EXT_SHADER_SUBGROUP_PARTITIONED_EXTENSION_NAME;
#if defined( VK_USE_PLATFORM_UBM_SEC )
//=== VK_SEC_ubm_surface ===
VULKAN_HPP_CONSTEXPR_INLINE auto SECUbmSurfaceSpecVersion = VK_SEC_UBM_SURFACE_SPEC_VERSION;
VULKAN_HPP_CONSTEXPR_INLINE auto SECUbmSurfaceExtensionName = VK_SEC_UBM_SURFACE_EXTENSION_NAME;
#endif /*VK_USE_PLATFORM_UBM_SEC*/
} // namespace VULKAN_HPP_NAMESPACE
// clang-format off
@@ -22725,6 +22752,15 @@ namespace VULKAN_HPP_NAMESPACE
//=== VK_NV_compute_occupancy_priority ===
PFN_vkCmdSetComputeOccupancyPriorityNV vkCmdSetComputeOccupancyPriorityNV = 0;
#if defined( VK_USE_PLATFORM_UBM_SEC )
//=== VK_SEC_ubm_surface ===
PFN_vkCreateUbmSurfaceSEC vkCreateUbmSurfaceSEC = 0;
PFN_vkGetPhysicalDeviceUbmPresentationSupportSEC vkGetPhysicalDeviceUbmPresentationSupportSEC = 0;
#else
PFN_dummy vkCreateUbmSurfaceSEC_placeholder = 0;
PFN_dummy vkGetPhysicalDeviceUbmPresentationSupportSEC_placeholder = 0;
#endif /*VK_USE_PLATFORM_UBM_SEC*/
public:
DispatchLoaderDynamic() VULKAN_HPP_NOEXCEPT = default;
DispatchLoaderDynamic( DispatchLoaderDynamic const & rhs ) VULKAN_HPP_NOEXCEPT = default;
@@ -24388,6 +24424,13 @@ namespace VULKAN_HPP_NAMESPACE
//=== VK_NV_compute_occupancy_priority ===
vkCmdSetComputeOccupancyPriorityNV = PFN_vkCmdSetComputeOccupancyPriorityNV( vkGetInstanceProcAddr( instance, "vkCmdSetComputeOccupancyPriorityNV" ) );
#if defined( VK_USE_PLATFORM_UBM_SEC )
//=== VK_SEC_ubm_surface ===
vkCreateUbmSurfaceSEC = PFN_vkCreateUbmSurfaceSEC( vkGetInstanceProcAddr( instance, "vkCreateUbmSurfaceSEC" ) );
vkGetPhysicalDeviceUbmPresentationSupportSEC =
PFN_vkGetPhysicalDeviceUbmPresentationSupportSEC( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceUbmPresentationSupportSEC" ) );
#endif /*VK_USE_PLATFORM_UBM_SEC*/
}
void init( Device deviceCpp ) VULKAN_HPP_NOEXCEPT
+6 -2
View File
@@ -66,7 +66,7 @@ extern "C" {
//#define VK_API_VERSION VK_MAKE_API_VERSION(0, 1, 0, 0) // Patch version should always be set to 0
// Version of this file
#define VK_HEADER_VERSION 342
#define VK_HEADER_VERSION 343
// Complete version of this file
#define VK_HEADER_VERSION_COMPLETE VK_MAKE_API_VERSION(0, 1, 4, VK_HEADER_VERSION)
@@ -1406,6 +1406,7 @@ typedef enum VkStructureType {
VK_STRUCTURE_TYPE_COMPUTE_OCCUPANCY_PRIORITY_PARAMETERS_NV = 1000645000,
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_OCCUPANCY_PRIORITY_FEATURES_NV = 1000645001,
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_PARTITIONED_FEATURES_EXT = 1000662000,
VK_STRUCTURE_TYPE_UBM_SURFACE_CREATE_INFO_SEC = 1000664000,
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES,
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETER_FEATURES = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETERS_FEATURES,
// VK_STRUCTURE_TYPE_DEBUG_REPORT_CREATE_INFO_EXT is a legacy alias
@@ -2086,6 +2087,9 @@ typedef enum VkFormat {
VK_FORMAT_ASTC_6x6x6_SRGB_BLOCK_EXT = 1000288028,
VK_FORMAT_ASTC_6x6x6_SFLOAT_BLOCK_EXT = 1000288029,
VK_FORMAT_R8_BOOL_ARM = 1000460000,
VK_FORMAT_R16_SFLOAT_FPENCODING_BFLOAT16_ARM = 1000460001,
VK_FORMAT_R8_SFLOAT_FPENCODING_FLOAT8E4M3_ARM = 1000460002,
VK_FORMAT_R8_SFLOAT_FPENCODING_FLOAT8E5M2_ARM = 1000460003,
VK_FORMAT_R16G16_SFIXED5_NV = 1000464000,
VK_FORMAT_R10X6_UINT_PACK16_ARM = 1000609000,
VK_FORMAT_R10X6G10X6_UINT_2PACK16_ARM = 1000609001,
@@ -21682,7 +21686,7 @@ typedef struct VkDirectDriverLoadingListLUNARG {
// VK_ARM_tensors is a preprocessor guard. Do not pass it to API calls.
#define VK_ARM_tensors 1
VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkTensorViewARM)
#define VK_ARM_TENSORS_SPEC_VERSION 1
#define VK_ARM_TENSORS_SPEC_VERSION 2
#define VK_ARM_TENSORS_EXTENSION_NAME "VK_ARM_tensors"
typedef enum VkTensorTilingARM {
+25 -1
View File
@@ -1781,7 +1781,10 @@ namespace VULKAN_HPP_NAMESPACE
ePhysicalDeviceShaderUniformBufferUnsizedArrayFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_UNIFORM_BUFFER_UNSIZED_ARRAY_FEATURES_EXT,
eComputeOccupancyPriorityParametersNV = VK_STRUCTURE_TYPE_COMPUTE_OCCUPANCY_PRIORITY_PARAMETERS_NV,
ePhysicalDeviceComputeOccupancyPriorityFeaturesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_OCCUPANCY_PRIORITY_FEATURES_NV,
ePhysicalDeviceShaderSubgroupPartitionedFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_PARTITIONED_FEATURES_EXT
ePhysicalDeviceShaderSubgroupPartitionedFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_PARTITIONED_FEATURES_EXT,
#if defined( VK_USE_PLATFORM_UBM_SEC )
eUbmSurfaceCreateInfoSEC = VK_STRUCTURE_TYPE_UBM_SURFACE_CREATE_INFO_SEC
#endif /*VK_USE_PLATFORM_UBM_SEC*/
};
// wrapper class for enum VkObjectType, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkObjectType.html
@@ -2206,6 +2209,9 @@ namespace VULKAN_HPP_NAMESPACE
eAstc6x6x6SrgbBlockEXT = VK_FORMAT_ASTC_6x6x6_SRGB_BLOCK_EXT,
eAstc6x6x6SfloatBlockEXT = VK_FORMAT_ASTC_6x6x6_SFLOAT_BLOCK_EXT,
eR8BoolARM = VK_FORMAT_R8_BOOL_ARM,
eR16SfloatFpencodingBfloat16ARM = VK_FORMAT_R16_SFLOAT_FPENCODING_BFLOAT16_ARM,
eR8SfloatFpencodingFloat8E4M3ARM = VK_FORMAT_R8_SFLOAT_FPENCODING_FLOAT8E4M3_ARM,
eR8SfloatFpencodingFloat8E5M2ARM = VK_FORMAT_R8_SFLOAT_FPENCODING_FLOAT8E5M2_ARM,
eR16G16Sfixed5NV = VK_FORMAT_R16G16_SFIXED5_NV,
eR16G16S105NV = VK_FORMAT_R16G16_S10_5_NV,
eR10X6UintPack16ARM = VK_FORMAT_R10X6_UINT_PACK16_ARM,
@@ -9653,6 +9659,24 @@ namespace VULKAN_HPP_NAMESPACE
ResolveImageFlagBitsKHR::eSkipTransferFunction | ResolveImageFlagBitsKHR::eEnableTransferFunction;
};
#if defined( VK_USE_PLATFORM_UBM_SEC )
//=== VK_SEC_ubm_surface ===
enum class UbmSurfaceCreateFlagBitsSEC : VkUbmSurfaceCreateFlagsSEC
{
};
// wrapper using for bitmask VkUbmSurfaceCreateFlagsSEC, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkUbmSurfaceCreateFlagsSEC.html
using UbmSurfaceCreateFlagsSEC = Flags<UbmSurfaceCreateFlagBitsSEC>;
template <>
struct FlagTraits<UbmSurfaceCreateFlagBitsSEC>
{
static VULKAN_HPP_CONST_OR_CONSTEXPR bool isBitmask = true;
static VULKAN_HPP_CONST_OR_CONSTEXPR UbmSurfaceCreateFlagsSEC allFlags = {};
};
#endif /*VK_USE_PLATFORM_UBM_SEC*/
//===========================================================
//=== Mapping from ObjectType to DebugReportObjectTypeEXT ===
//===========================================================
+15 -1
View File
@@ -596,8 +596,11 @@ namespace VULKAN_HPP_NAMESPACE
"VK_EXT_layer_settings",
"VK_NV_display_stereo",
#if defined( VK_USE_PLATFORM_OHOS )
"VK_OHOS_surface"
"VK_OHOS_surface",
#endif /*VK_USE_PLATFORM_OHOS*/
#if defined( VK_USE_PLATFORM_UBM_SEC )
"VK_SEC_ubm_surface"
#endif /*VK_USE_PLATFORM_UBM_SEC*/
};
return instanceExtensions;
}
@@ -3070,6 +3073,14 @@ namespace VULKAN_HPP_NAMESPACE
"VK_KHR_get_physical_device_properties2",
} } },
{ "VK_VERSION_1_1", { {} } } } }
#if defined( VK_USE_PLATFORM_UBM_SEC )
,
{ "VK_SEC_ubm_surface",
{ { "VK_VERSION_1_0",
{ {
"VK_KHR_surface",
} } } } }
#endif /*VK_USE_PLATFORM_UBM_SEC*/
};
auto depIt = dependencies.find( extension );
return ( depIt != dependencies.end() ) ? depIt->second : noDependencies;
@@ -4100,6 +4111,9 @@ namespace VULKAN_HPP_NAMESPACE
#if defined( VK_USE_PLATFORM_OHOS )
|| ( extension == "VK_OHOS_surface" )
#endif /*VK_USE_PLATFORM_OHOS*/
#if defined( VK_USE_PLATFORM_UBM_SEC )
|| ( extension == "VK_SEC_ubm_surface" )
#endif /*VK_USE_PLATFORM_UBM_SEC*/
;
}
+75
View File
@@ -516,6 +516,9 @@ namespace VULKAN_HPP_NAMESPACE
case Format::eAstc6x6x6SrgbBlockEXT : return 16;
case Format::eAstc6x6x6SfloatBlockEXT : return 16;
case Format::eR8BoolARM : return 1;
case Format::eR16SfloatFpencodingBfloat16ARM : return 2;
case Format::eR8SfloatFpencodingFloat8E4M3ARM : return 1;
case Format::eR8SfloatFpencodingFloat8E5M2ARM : return 1;
case Format::eR16G16Sfixed5NV : return 4;
case Format::eR10X6UintPack16ARM : return 2;
case Format::eR10X6G10X6Uint2Pack16ARM : return 4;
@@ -820,6 +823,9 @@ namespace VULKAN_HPP_NAMESPACE
case Format::eAstc6x6x6SrgbBlockEXT : return "ASTC_6x6x6";
case Format::eAstc6x6x6SfloatBlockEXT : return "ASTC_6x6x6";
case Format::eR8BoolARM : return "8-bit";
case Format::eR16SfloatFpencodingBfloat16ARM : return "16-bit";
case Format::eR8SfloatFpencodingFloat8E4M3ARM : return "8-bit";
case Format::eR8SfloatFpencodingFloat8E5M2ARM : return "8-bit";
case Format::eR16G16Sfixed5NV : return "32-bit";
case Format::eR10X6UintPack16ARM : return "16-bit";
case Format::eR10X6G10X6Uint2Pack16ARM : return "32-bit";
@@ -2237,6 +2243,24 @@ namespace VULKAN_HPP_NAMESPACE
case 0 : return 8;
default: VULKAN_HPP_ASSERT( false ); return 0;
}
case Format::eR16SfloatFpencodingBfloat16ARM:
switch ( component )
{
case 0 : return 16;
default: VULKAN_HPP_ASSERT( false ); return 0;
}
case Format::eR8SfloatFpencodingFloat8E4M3ARM:
switch ( component )
{
case 0 : return 8;
default: VULKAN_HPP_ASSERT( false ); return 0;
}
case Format::eR8SfloatFpencodingFloat8E5M2ARM:
switch ( component )
{
case 0 : return 8;
default: VULKAN_HPP_ASSERT( false ); return 0;
}
case Format::eR16G16Sfixed5NV:
switch ( component )
{
@@ -2637,6 +2661,9 @@ namespace VULKAN_HPP_NAMESPACE
case Format::eAstc6x6x6SrgbBlockEXT : return 4;
case Format::eAstc6x6x6SfloatBlockEXT : return 4;
case Format::eR8BoolARM : return 1;
case Format::eR16SfloatFpencodingBfloat16ARM : return 1;
case Format::eR8SfloatFpencodingFloat8E4M3ARM : return 1;
case Format::eR8SfloatFpencodingFloat8E5M2ARM : return 1;
case Format::eR16G16Sfixed5NV : return 2;
case Format::eR10X6UintPack16ARM : return 1;
case Format::eR10X6G10X6Uint2Pack16ARM : return 2;
@@ -4956,6 +4983,24 @@ namespace VULKAN_HPP_NAMESPACE
case 0 : return "R";
default: VULKAN_HPP_ASSERT( false ); return "";
}
case Format::eR16SfloatFpencodingBfloat16ARM:
switch ( component )
{
case 0 : return "R";
default: VULKAN_HPP_ASSERT( false ); return "";
}
case Format::eR8SfloatFpencodingFloat8E4M3ARM:
switch ( component )
{
case 0 : return "R";
default: VULKAN_HPP_ASSERT( false ); return "";
}
case Format::eR8SfloatFpencodingFloat8E5M2ARM:
switch ( component )
{
case 0 : return "R";
default: VULKAN_HPP_ASSERT( false ); return "";
}
case Format::eR16G16Sfixed5NV:
switch ( component )
{
@@ -7371,6 +7416,24 @@ namespace VULKAN_HPP_NAMESPACE
case 0 : return "BOOL";
default: VULKAN_HPP_ASSERT( false ); return "";
}
case Format::eR16SfloatFpencodingBfloat16ARM:
switch ( component )
{
case 0 : return "SFLOAT";
default: VULKAN_HPP_ASSERT( false ); return "";
}
case Format::eR8SfloatFpencodingFloat8E4M3ARM:
switch ( component )
{
case 0 : return "SFLOAT";
default: VULKAN_HPP_ASSERT( false ); return "";
}
case Format::eR8SfloatFpencodingFloat8E5M2ARM:
switch ( component )
{
case 0 : return "SFLOAT";
default: VULKAN_HPP_ASSERT( false ); return "";
}
case Format::eR16G16Sfixed5NV:
switch ( component )
{
@@ -8214,6 +8277,9 @@ namespace VULKAN_HPP_NAMESPACE
Format::eAstc6x6x6SrgbBlockEXT,
Format::eAstc6x6x6SfloatBlockEXT,
Format::eR8BoolARM,
Format::eR16SfloatFpencodingBfloat16ARM,
Format::eR8SfloatFpencodingFloat8E4M3ARM,
Format::eR8SfloatFpencodingFloat8E5M2ARM,
Format::eR16G16Sfixed5NV,
Format::eR10X6UintPack16ARM,
Format::eR10X6G10X6Uint2Pack16ARM,
@@ -8507,6 +8573,9 @@ namespace VULKAN_HPP_NAMESPACE
Format::eAstc6x6x6SrgbBlockEXT,
Format::eAstc6x6x6SfloatBlockEXT,
Format::eR8BoolARM,
Format::eR16SfloatFpencodingBfloat16ARM,
Format::eR8SfloatFpencodingFloat8E4M3ARM,
Format::eR8SfloatFpencodingFloat8E5M2ARM,
Format::eR16G16Sfixed5NV,
Format::eR10X6UintPack16ARM,
Format::eR10X6G10X6Uint2Pack16ARM,
@@ -9496,6 +9565,9 @@ namespace VULKAN_HPP_NAMESPACE
case Format::eAstc6x6x6SrgbBlockEXT:
case Format::eAstc6x6x6SfloatBlockEXT:
case Format::eR8BoolARM:
case Format::eR16SfloatFpencodingBfloat16ARM:
case Format::eR8SfloatFpencodingFloat8E4M3ARM:
case Format::eR8SfloatFpencodingFloat8E5M2ARM:
case Format::eR16G16Sfixed5NV:
case Format::eR10X6UintPack16ARM:
case Format::eR10X6G10X6Uint2Pack16ARM:
@@ -10552,6 +10624,9 @@ namespace VULKAN_HPP_NAMESPACE
case Format::eAstc6x6x6SrgbBlockEXT : return 216;
case Format::eAstc6x6x6SfloatBlockEXT : return 216;
case Format::eR8BoolARM : return 1;
case Format::eR16SfloatFpencodingBfloat16ARM : return 1;
case Format::eR8SfloatFpencodingFloat8E4M3ARM : return 1;
case Format::eR8SfloatFpencodingFloat8E5M2ARM : return 1;
case Format::eR16G16Sfixed5NV : return 1;
case Format::eR10X6UintPack16ARM : return 1;
case Format::eR10X6G10X6Uint2Pack16ARM : return 1;
+123 -304
View File
@@ -2011,7 +2011,7 @@ namespace VULKAN_HPP_NAMESPACE
static_cast<VkQueryResultFlags>( flags ) ) );
detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getQueryPoolResults", { Result::eSuccess, Result::eNotReady } );
return ResultValue<std::vector<DataType, DataTypeAllocator>>( result, std::move( data ) );
return { result, data };
}
// wrapper function for command vkGetQueryPoolResults, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetQueryPoolResults.html
@@ -2035,7 +2035,7 @@ namespace VULKAN_HPP_NAMESPACE
static_cast<VkQueryResultFlags>( flags ) ) );
detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getQueryPoolResult", { Result::eSuccess, Result::eNotReady } );
return ResultValue<DataType>( result, std::move( data ) );
return { result, data };
}
#endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */
@@ -3776,7 +3776,7 @@ namespace VULKAN_HPP_NAMESPACE
allocator.get(),
d );
return ResultValue<std::vector<Pipeline, PipelineAllocator>>( result, std::move( pipelines ) );
return { result, pipelines };
}
// wrapper function for command vkCreateComputePipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateComputePipelines.html
@@ -3811,7 +3811,7 @@ namespace VULKAN_HPP_NAMESPACE
allocator.get(),
d );
return ResultValue<std::vector<Pipeline, PipelineAllocator>>( result, std::move( pipelines ) );
return { result, pipelines };
}
// wrapper function for command vkCreateComputePipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateComputePipelines.html
@@ -3835,7 +3835,7 @@ namespace VULKAN_HPP_NAMESPACE
reinterpret_cast<VkPipeline *>( &pipeline ) ) );
detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::createComputePipeline", { Result::eSuccess, Result::ePipelineCompileRequiredEXT } );
return ResultValue<Pipeline>( result, std::move( pipeline ) );
return { result, pipeline };
}
# ifndef VULKAN_HPP_NO_SMART_HANDLE
@@ -4950,7 +4950,7 @@ namespace VULKAN_HPP_NAMESPACE
allocator.get(),
d );
return ResultValue<std::vector<Pipeline, PipelineAllocator>>( result, std::move( pipelines ) );
return { result, pipelines };
}
// wrapper function for command vkCreateGraphicsPipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateGraphicsPipelines.html
@@ -4985,7 +4985,7 @@ namespace VULKAN_HPP_NAMESPACE
allocator.get(),
d );
return ResultValue<std::vector<Pipeline, PipelineAllocator>>( result, std::move( pipelines ) );
return { result, pipelines };
}
// wrapper function for command vkCreateGraphicsPipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateGraphicsPipelines.html
@@ -5009,7 +5009,7 @@ namespace VULKAN_HPP_NAMESPACE
reinterpret_cast<VkPipeline *>( &pipeline ) ) );
detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::createGraphicsPipeline", { Result::eSuccess, Result::ePipelineCompileRequiredEXT } );
return ResultValue<Pipeline>( result, std::move( pipeline ) );
return { result, pipeline };
}
# ifndef VULKAN_HPP_NO_SMART_HANDLE
@@ -9602,7 +9602,7 @@ namespace VULKAN_HPP_NAMESPACE
result, VULKAN_HPP_NAMESPACE_STRING "::Device::acquireNextImageKHR", { Result::eSuccess, Result::eTimeout, Result::eNotReady, Result::eSuboptimalKHR } );
# endif
return ResultValue<uint32_t>( result, std::move( imageIndex ) );
return { result, imageIndex };
}
#endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */
@@ -9825,7 +9825,7 @@ namespace VULKAN_HPP_NAMESPACE
result, VULKAN_HPP_NAMESPACE_STRING "::Device::acquireNextImage2KHR", { Result::eSuccess, Result::eTimeout, Result::eNotReady, Result::eSuboptimalKHR } );
# endif
return ResultValue<uint32_t>( result, std::move( imageIndex ) );
return { result, imageIndex };
}
#endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */
@@ -16667,7 +16667,7 @@ namespace VULKAN_HPP_NAMESPACE
allocator.get(),
d );
return ResultValue<std::vector<Pipeline, PipelineAllocator>>( result, std::move( pipelines ) );
return { result, pipelines };
}
// wrapper function for command vkCreateExecutionGraphPipelinesAMDX, see
@@ -16704,7 +16704,7 @@ namespace VULKAN_HPP_NAMESPACE
allocator.get(),
d );
return ResultValue<std::vector<Pipeline, PipelineAllocator>>( result, std::move( pipelines ) );
return { result, pipelines };
}
// wrapper function for command vkCreateExecutionGraphPipelinesAMDX, see
@@ -16731,7 +16731,7 @@ namespace VULKAN_HPP_NAMESPACE
detail::resultCheck(
result, VULKAN_HPP_NAMESPACE_STRING "::Device::createExecutionGraphPipelineAMDX", { Result::eSuccess, Result::ePipelineCompileRequiredEXT } );
return ResultValue<Pipeline>( result, std::move( pipeline ) );
return { result, pipeline };
}
# ifndef VULKAN_HPP_NO_SMART_HANDLE
@@ -17191,73 +17191,6 @@ namespace VULKAN_HPP_NAMESPACE
static_cast<VkDevice>( m_device ), imageCount, reinterpret_cast<const VkImage *>( pImages ), reinterpret_cast<VkHostAddressRangeEXT *>( pDatas ) ) );
}
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
// wrapper function for command vkGetImageOpaqueCaptureDataEXT, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageOpaqueCaptureDataEXT.html
template <typename HostAddressRangeEXTAllocator,
typename Dispatch,
typename std::enable_if<std::is_same<typename HostAddressRangeEXTAllocator::value_type, HostAddressRangeEXT>::value, int>::type,
typename std::enable_if<IS_DISPATCHED( vkGetImageOpaqueCaptureDataEXT ), bool>::type>
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<HostAddressRangeEXT, HostAddressRangeEXTAllocator>>::type
Device::getImageOpaqueCaptureDataEXT( ArrayProxy<const Image> const & images, Dispatch const & d ) const
{
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
# if ( VULKAN_HPP_DISPATCH_LOADER_DYNAMIC == 1 )
VULKAN_HPP_ASSERT( d.vkGetImageOpaqueCaptureDataEXT && "Function <vkGetImageOpaqueCaptureDataEXT> requires <VK_EXT_descriptor_heap>" );
# endif
std::vector<HostAddressRangeEXT, HostAddressRangeEXTAllocator> datas( images.size() );
Result result = static_cast<Result>( d.vkGetImageOpaqueCaptureDataEXT(
m_device, images.size(), reinterpret_cast<const VkImage *>( images.data() ), reinterpret_cast<VkHostAddressRangeEXT *>( datas.data() ) ) );
detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getImageOpaqueCaptureDataEXT" );
return detail::createResultValueType( result, std::move( datas ) );
}
// wrapper function for command vkGetImageOpaqueCaptureDataEXT, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageOpaqueCaptureDataEXT.html
template <typename HostAddressRangeEXTAllocator,
typename Dispatch,
typename std::enable_if<std::is_same<typename HostAddressRangeEXTAllocator::value_type, HostAddressRangeEXT>::value, int>::type,
typename std::enable_if<IS_DISPATCHED( vkGetImageOpaqueCaptureDataEXT ), bool>::type>
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<HostAddressRangeEXT, HostAddressRangeEXTAllocator>>::type
Device::getImageOpaqueCaptureDataEXT( ArrayProxy<const Image> const & images,
HostAddressRangeEXTAllocator const & hostAddressRangeEXTAllocator,
Dispatch const & d ) const
{
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
# if ( VULKAN_HPP_DISPATCH_LOADER_DYNAMIC == 1 )
VULKAN_HPP_ASSERT( d.vkGetImageOpaqueCaptureDataEXT && "Function <vkGetImageOpaqueCaptureDataEXT> requires <VK_EXT_descriptor_heap>" );
# endif
std::vector<HostAddressRangeEXT, HostAddressRangeEXTAllocator> datas( images.size(), {}, hostAddressRangeEXTAllocator );
Result result = static_cast<Result>( d.vkGetImageOpaqueCaptureDataEXT(
m_device, images.size(), reinterpret_cast<const VkImage *>( images.data() ), reinterpret_cast<VkHostAddressRangeEXT *>( datas.data() ) ) );
detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getImageOpaqueCaptureDataEXT" );
return detail::createResultValueType( result, std::move( datas ) );
}
// wrapper function for command vkGetImageOpaqueCaptureDataEXT, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageOpaqueCaptureDataEXT.html
template <typename Dispatch, typename std::enable_if<IS_DISPATCHED( vkGetImageOpaqueCaptureDataEXT ), bool>::type>
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<HostAddressRangeEXT>::type Device::getImageOpaqueCaptureDataEXT( const Image & image,
Dispatch const & d ) const
{
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
# if ( VULKAN_HPP_DISPATCH_LOADER_DYNAMIC == 1 )
VULKAN_HPP_ASSERT( d.vkGetImageOpaqueCaptureDataEXT && "Function <vkGetImageOpaqueCaptureDataEXT> requires <VK_EXT_descriptor_heap>" );
# endif
HostAddressRangeEXT data;
Result result = static_cast<Result>(
d.vkGetImageOpaqueCaptureDataEXT( m_device, 1, reinterpret_cast<const VkImage *>( &image ), reinterpret_cast<VkHostAddressRangeEXT *>( &data ) ) );
detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getImageOpaqueCaptureDataEXT" );
return detail::createResultValueType( result, std::move( data ) );
}
#endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */
// wrapper function for command vkGetPhysicalDeviceDescriptorSizeEXT, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDescriptorSizeEXT.html
template <typename Dispatch, typename std::enable_if<IS_DISPATCHED( vkGetPhysicalDeviceDescriptorSizeEXT ), bool>::type>
@@ -17328,73 +17261,6 @@ namespace VULKAN_HPP_NAMESPACE
reinterpret_cast<VkHostAddressRangeEXT *>( pDatas ) ) );
}
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
// wrapper function for command vkGetTensorOpaqueCaptureDataARM, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorOpaqueCaptureDataARM.html
template <typename HostAddressRangeEXTAllocator,
typename Dispatch,
typename std::enable_if<std::is_same<typename HostAddressRangeEXTAllocator::value_type, HostAddressRangeEXT>::value, int>::type,
typename std::enable_if<IS_DISPATCHED( vkGetTensorOpaqueCaptureDataARM ), bool>::type>
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<HostAddressRangeEXT, HostAddressRangeEXTAllocator>>::type
Device::getTensorOpaqueCaptureDataARM( ArrayProxy<const TensorARM> const & tensors, Dispatch const & d ) const
{
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
# if ( VULKAN_HPP_DISPATCH_LOADER_DYNAMIC == 1 )
VULKAN_HPP_ASSERT( d.vkGetTensorOpaqueCaptureDataARM && "Function <vkGetTensorOpaqueCaptureDataARM> requires <VK_EXT_descriptor_heap>" );
# endif
std::vector<HostAddressRangeEXT, HostAddressRangeEXTAllocator> datas( tensors.size() );
Result result = static_cast<Result>( d.vkGetTensorOpaqueCaptureDataARM(
m_device, tensors.size(), reinterpret_cast<const VkTensorARM *>( tensors.data() ), reinterpret_cast<VkHostAddressRangeEXT *>( datas.data() ) ) );
detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getTensorOpaqueCaptureDataARM" );
return detail::createResultValueType( result, std::move( datas ) );
}
// wrapper function for command vkGetTensorOpaqueCaptureDataARM, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorOpaqueCaptureDataARM.html
template <typename HostAddressRangeEXTAllocator,
typename Dispatch,
typename std::enable_if<std::is_same<typename HostAddressRangeEXTAllocator::value_type, HostAddressRangeEXT>::value, int>::type,
typename std::enable_if<IS_DISPATCHED( vkGetTensorOpaqueCaptureDataARM ), bool>::type>
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<HostAddressRangeEXT, HostAddressRangeEXTAllocator>>::type
Device::getTensorOpaqueCaptureDataARM( ArrayProxy<const TensorARM> const & tensors,
HostAddressRangeEXTAllocator const & hostAddressRangeEXTAllocator,
Dispatch const & d ) const
{
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
# if ( VULKAN_HPP_DISPATCH_LOADER_DYNAMIC == 1 )
VULKAN_HPP_ASSERT( d.vkGetTensorOpaqueCaptureDataARM && "Function <vkGetTensorOpaqueCaptureDataARM> requires <VK_EXT_descriptor_heap>" );
# endif
std::vector<HostAddressRangeEXT, HostAddressRangeEXTAllocator> datas( tensors.size(), {}, hostAddressRangeEXTAllocator );
Result result = static_cast<Result>( d.vkGetTensorOpaqueCaptureDataARM(
m_device, tensors.size(), reinterpret_cast<const VkTensorARM *>( tensors.data() ), reinterpret_cast<VkHostAddressRangeEXT *>( datas.data() ) ) );
detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getTensorOpaqueCaptureDataARM" );
return detail::createResultValueType( result, std::move( datas ) );
}
// wrapper function for command vkGetTensorOpaqueCaptureDataARM, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorOpaqueCaptureDataARM.html
template <typename Dispatch, typename std::enable_if<IS_DISPATCHED( vkGetTensorOpaqueCaptureDataARM ), bool>::type>
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<HostAddressRangeEXT>::type Device::getTensorOpaqueCaptureDataARM( const TensorARM & tensor,
Dispatch const & d ) const
{
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
# if ( VULKAN_HPP_DISPATCH_LOADER_DYNAMIC == 1 )
VULKAN_HPP_ASSERT( d.vkGetTensorOpaqueCaptureDataARM && "Function <vkGetTensorOpaqueCaptureDataARM> requires <VK_EXT_descriptor_heap>" );
# endif
HostAddressRangeEXT data;
Result result = static_cast<Result>(
d.vkGetTensorOpaqueCaptureDataARM( m_device, 1, reinterpret_cast<const VkTensorARM *>( &tensor ), reinterpret_cast<VkHostAddressRangeEXT *>( &data ) ) );
detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getTensorOpaqueCaptureDataARM" );
return detail::createResultValueType( result, std::move( data ) );
}
#endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */
//=== VK_EXT_sample_locations ===
// wrapper function for command vkCmdSetSampleLocationsEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetSampleLocationsEXT.html
@@ -18485,7 +18351,7 @@ namespace VULKAN_HPP_NAMESPACE
allocator.get(),
d );
return ResultValue<std::vector<Pipeline, PipelineAllocator>>( result, std::move( pipelines ) );
return { result, pipelines };
}
// wrapper function for command vkCreateRayTracingPipelinesKHR, see
@@ -18523,7 +18389,7 @@ namespace VULKAN_HPP_NAMESPACE
allocator.get(),
d );
return ResultValue<std::vector<Pipeline, PipelineAllocator>>( result, std::move( pipelines ) );
return { result, pipelines };
}
// wrapper function for command vkCreateRayTracingPipelinesKHR, see
@@ -18552,7 +18418,7 @@ namespace VULKAN_HPP_NAMESPACE
VULKAN_HPP_NAMESPACE_STRING "::Device::createRayTracingPipelineKHR",
{ Result::eSuccess, Result::eOperationDeferredKHR, Result::eOperationNotDeferredKHR, Result::ePipelineCompileRequiredEXT } );
return ResultValue<Pipeline>( result, std::move( pipeline ) );
return { result, pipeline };
}
# ifndef VULKAN_HPP_NO_SMART_HANDLE
@@ -19739,7 +19605,7 @@ namespace VULKAN_HPP_NAMESPACE
allocator.get(),
d );
return ResultValue<std::vector<Pipeline, PipelineAllocator>>( result, std::move( pipelines ) );
return { result, pipelines };
}
// wrapper function for command vkCreateRayTracingPipelinesNV, see
@@ -19775,7 +19641,7 @@ namespace VULKAN_HPP_NAMESPACE
allocator.get(),
d );
return ResultValue<std::vector<Pipeline, PipelineAllocator>>( result, std::move( pipelines ) );
return { result, pipelines };
}
// wrapper function for command vkCreateRayTracingPipelinesNV, see
@@ -19801,7 +19667,7 @@ namespace VULKAN_HPP_NAMESPACE
detail::resultCheck(
result, VULKAN_HPP_NAMESPACE_STRING "::Device::createRayTracingPipelineNV", { Result::eSuccess, Result::ePipelineCompileRequiredEXT } );
return ResultValue<Pipeline>( result, std::move( pipeline ) );
return { result, pipeline };
}
# ifndef VULKAN_HPP_NO_SMART_HANDLE
@@ -20863,7 +20729,7 @@ namespace VULKAN_HPP_NAMESPACE
&swapchainTimingPropertiesCounter ) );
detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getSwapchainTimingPropertiesEXT", { Result::eSuccess, Result::eNotReady } );
return ResultValue<std::pair<SwapchainTimingPropertiesEXT, uint64_t>>( result, std::move( data_ ) );
return { result, data_ };
}
#endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */
@@ -22836,100 +22702,6 @@ namespace VULKAN_HPP_NAMESPACE
reinterpret_cast<VkPipelineExecutableInternalRepresentationKHR *>( pInternalRepresentations ) ) );
}
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
// wrapper function for command vkGetPipelineExecutableInternalRepresentationsKHR, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineExecutableInternalRepresentationsKHR.html
template <typename PipelineExecutableInternalRepresentationKHRAllocator,
typename Dispatch,
typename std::enable_if<
std::is_same<typename PipelineExecutableInternalRepresentationKHRAllocator::value_type, PipelineExecutableInternalRepresentationKHR>::value,
int>::type,
typename std::enable_if<IS_DISPATCHED( vkGetPipelineExecutableInternalRepresentationsKHR ), bool>::type>
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE
typename ResultValueType<std::vector<PipelineExecutableInternalRepresentationKHR, PipelineExecutableInternalRepresentationKHRAllocator>>::type
Device::getPipelineExecutableInternalRepresentationsKHR( const PipelineExecutableInfoKHR & executableInfo, Dispatch const & d ) const
{
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
# if ( VULKAN_HPP_DISPATCH_LOADER_DYNAMIC == 1 )
VULKAN_HPP_ASSERT( d.vkGetPipelineExecutableInternalRepresentationsKHR &&
"Function <vkGetPipelineExecutableInternalRepresentationsKHR> requires <VK_KHR_pipeline_executable_properties>" );
# endif
std::vector<PipelineExecutableInternalRepresentationKHR, PipelineExecutableInternalRepresentationKHRAllocator> internalRepresentations;
uint32_t internalRepresentationCount;
Result result;
do
{
result = static_cast<Result>( d.vkGetPipelineExecutableInternalRepresentationsKHR(
m_device, reinterpret_cast<const VkPipelineExecutableInfoKHR *>( &executableInfo ), &internalRepresentationCount, nullptr ) );
if ( ( result == Result::eSuccess ) && internalRepresentationCount )
{
internalRepresentations.resize( internalRepresentationCount );
result = static_cast<Result>( d.vkGetPipelineExecutableInternalRepresentationsKHR(
m_device,
reinterpret_cast<const VkPipelineExecutableInfoKHR *>( &executableInfo ),
&internalRepresentationCount,
reinterpret_cast<VkPipelineExecutableInternalRepresentationKHR *>( internalRepresentations.data() ) ) );
}
} while ( result == Result::eIncomplete );
detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getPipelineExecutableInternalRepresentationsKHR" );
VULKAN_HPP_ASSERT( internalRepresentationCount <= internalRepresentations.size() );
if ( internalRepresentationCount < internalRepresentations.size() )
{
internalRepresentations.resize( internalRepresentationCount );
}
return detail::createResultValueType( result, std::move( internalRepresentations ) );
}
// wrapper function for command vkGetPipelineExecutableInternalRepresentationsKHR, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineExecutableInternalRepresentationsKHR.html
template <typename PipelineExecutableInternalRepresentationKHRAllocator,
typename Dispatch,
typename std::enable_if<
std::is_same<typename PipelineExecutableInternalRepresentationKHRAllocator::value_type, PipelineExecutableInternalRepresentationKHR>::value,
int>::type,
typename std::enable_if<IS_DISPATCHED( vkGetPipelineExecutableInternalRepresentationsKHR ), bool>::type>
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE
typename ResultValueType<std::vector<PipelineExecutableInternalRepresentationKHR, PipelineExecutableInternalRepresentationKHRAllocator>>::type
Device::getPipelineExecutableInternalRepresentationsKHR(
const PipelineExecutableInfoKHR & executableInfo,
PipelineExecutableInternalRepresentationKHRAllocator const & pipelineExecutableInternalRepresentationKHRAllocator,
Dispatch const & d ) const
{
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
# if ( VULKAN_HPP_DISPATCH_LOADER_DYNAMIC == 1 )
VULKAN_HPP_ASSERT( d.vkGetPipelineExecutableInternalRepresentationsKHR &&
"Function <vkGetPipelineExecutableInternalRepresentationsKHR> requires <VK_KHR_pipeline_executable_properties>" );
# endif
std::vector<PipelineExecutableInternalRepresentationKHR, PipelineExecutableInternalRepresentationKHRAllocator> internalRepresentations(
pipelineExecutableInternalRepresentationKHRAllocator );
uint32_t internalRepresentationCount;
Result result;
do
{
result = static_cast<Result>( d.vkGetPipelineExecutableInternalRepresentationsKHR(
m_device, reinterpret_cast<const VkPipelineExecutableInfoKHR *>( &executableInfo ), &internalRepresentationCount, nullptr ) );
if ( ( result == Result::eSuccess ) && internalRepresentationCount )
{
internalRepresentations.resize( internalRepresentationCount );
result = static_cast<Result>( d.vkGetPipelineExecutableInternalRepresentationsKHR(
m_device,
reinterpret_cast<const VkPipelineExecutableInfoKHR *>( &executableInfo ),
&internalRepresentationCount,
reinterpret_cast<VkPipelineExecutableInternalRepresentationKHR *>( internalRepresentations.data() ) ) );
}
} while ( result == Result::eIncomplete );
detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getPipelineExecutableInternalRepresentationsKHR" );
VULKAN_HPP_ASSERT( internalRepresentationCount <= internalRepresentations.size() );
if ( internalRepresentationCount < internalRepresentations.size() )
{
internalRepresentations.resize( internalRepresentationCount );
}
return detail::createResultValueType( result, std::move( internalRepresentations ) );
}
#endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */
//=== VK_EXT_host_image_copy ===
// wrapper function for command vkCopyMemoryToImageEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyMemoryToImageEXT.html
@@ -28773,7 +28545,7 @@ namespace VULKAN_HPP_NAMESPACE
reinterpret_cast<VkShaderEXT *>( shaders.data() ) ) );
detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::createShadersEXT", { Result::eSuccess, Result::eIncompatibleShaderBinaryEXT } );
return ResultValue<std::vector<ShaderEXT, ShaderEXTAllocator>>( result, std::move( shaders ) );
return { result, shaders };
}
// wrapper function for command vkCreateShadersEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateShadersEXT.html
@@ -28800,7 +28572,7 @@ namespace VULKAN_HPP_NAMESPACE
reinterpret_cast<VkShaderEXT *>( shaders.data() ) ) );
detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::createShadersEXT", { Result::eSuccess, Result::eIncompatibleShaderBinaryEXT } );
return ResultValue<std::vector<ShaderEXT, ShaderEXTAllocator>>( result, std::move( shaders ) );
return { result, shaders };
}
// wrapper function for command vkCreateShadersEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateShadersEXT.html
@@ -28821,7 +28593,7 @@ namespace VULKAN_HPP_NAMESPACE
reinterpret_cast<VkShaderEXT *>( &shader ) ) );
detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::createShaderEXT", { Result::eSuccess, Result::eIncompatibleShaderBinaryEXT } );
return ResultValue<ShaderEXT>( result, std::move( shader ) );
return { result, shader };
}
# ifndef VULKAN_HPP_NO_SMART_HANDLE
@@ -29176,7 +28948,7 @@ namespace VULKAN_HPP_NAMESPACE
detail::resultCheck(
result, VULKAN_HPP_NAMESPACE_STRING "::Device::createPipelineBinariesKHR", { Result::eSuccess, Result::eIncomplete, Result::ePipelineBinaryMissingKHR } );
return ResultValue<std::vector<PipelineBinaryKHR, PipelineBinaryKHRAllocator>>( result, std::move( pipelineBinaries ) );
return { result, pipelineBinaries };
}
// wrapper function for command vkCreatePipelineBinariesKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePipelineBinariesKHR.html
@@ -29230,7 +29002,7 @@ namespace VULKAN_HPP_NAMESPACE
detail::resultCheck(
result, VULKAN_HPP_NAMESPACE_STRING "::Device::createPipelineBinariesKHR", { Result::eSuccess, Result::eIncomplete, Result::ePipelineBinaryMissingKHR } );
return ResultValue<std::vector<PipelineBinaryKHR, PipelineBinaryKHRAllocator>>( result, std::move( pipelineBinaries ) );
return { result, pipelineBinaries };
}
# ifndef VULKAN_HPP_NO_SMART_HANDLE
@@ -29973,54 +29745,6 @@ namespace VULKAN_HPP_NAMESPACE
static_cast<VkDevice>( m_device ), static_cast<VkSwapchainKHR>( swapchain ), reinterpret_cast<VkGetLatencyMarkerInfoNV *>( pLatencyMarkerInfo ) );
}
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
// wrapper function for command vkGetLatencyTimingsNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetLatencyTimingsNV.html
template <typename LatencyTimingsFrameReportNVAllocator,
typename Dispatch,
typename std::enable_if<std::is_same<typename LatencyTimingsFrameReportNVAllocator::value_type, LatencyTimingsFrameReportNV>::value, int>::type,
typename std::enable_if<IS_DISPATCHED( vkGetLatencyTimingsNV ), bool>::type>
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector<LatencyTimingsFrameReportNV, LatencyTimingsFrameReportNVAllocator>
Device::getLatencyTimingsNV( SwapchainKHR swapchain, Dispatch const & d ) const
{
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
# if ( VULKAN_HPP_DISPATCH_LOADER_DYNAMIC == 1 )
VULKAN_HPP_ASSERT( d.vkGetLatencyTimingsNV && "Function <vkGetLatencyTimingsNV> requires <VK_NV_low_latency2>" );
# endif
std::vector<LatencyTimingsFrameReportNV, LatencyTimingsFrameReportNVAllocator> timings;
GetLatencyMarkerInfoNV latencyMarkerInfo;
d.vkGetLatencyTimingsNV( m_device, static_cast<VkSwapchainKHR>( swapchain ), reinterpret_cast<VkGetLatencyMarkerInfoNV *>( &latencyMarkerInfo ) );
timings.resize( latencyMarkerInfo.timingCount );
latencyMarkerInfo.pTimings = timings.data();
d.vkGetLatencyTimingsNV( m_device, static_cast<VkSwapchainKHR>( swapchain ), reinterpret_cast<VkGetLatencyMarkerInfoNV *>( &latencyMarkerInfo ) );
return timings;
}
// wrapper function for command vkGetLatencyTimingsNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetLatencyTimingsNV.html
template <typename LatencyTimingsFrameReportNVAllocator,
typename Dispatch,
typename std::enable_if<std::is_same<typename LatencyTimingsFrameReportNVAllocator::value_type, LatencyTimingsFrameReportNV>::value, int>::type,
typename std::enable_if<IS_DISPATCHED( vkGetLatencyTimingsNV ), bool>::type>
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector<LatencyTimingsFrameReportNV, LatencyTimingsFrameReportNVAllocator> Device::getLatencyTimingsNV(
SwapchainKHR swapchain, LatencyTimingsFrameReportNVAllocator const & latencyTimingsFrameReportNVAllocator, Dispatch const & d ) const
{
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
# if ( VULKAN_HPP_DISPATCH_LOADER_DYNAMIC == 1 )
VULKAN_HPP_ASSERT( d.vkGetLatencyTimingsNV && "Function <vkGetLatencyTimingsNV> requires <VK_NV_low_latency2>" );
# endif
std::vector<LatencyTimingsFrameReportNV, LatencyTimingsFrameReportNVAllocator> timings( latencyTimingsFrameReportNVAllocator );
GetLatencyMarkerInfoNV latencyMarkerInfo;
d.vkGetLatencyTimingsNV( m_device, static_cast<VkSwapchainKHR>( swapchain ), reinterpret_cast<VkGetLatencyMarkerInfoNV *>( &latencyMarkerInfo ) );
timings.resize( latencyMarkerInfo.timingCount );
latencyMarkerInfo.pTimings = timings.data();
d.vkGetLatencyTimingsNV( m_device, static_cast<VkSwapchainKHR>( swapchain ), reinterpret_cast<VkGetLatencyMarkerInfoNV *>( &latencyMarkerInfo ) );
return timings;
}
#endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */
// wrapper function for command vkQueueNotifyOutOfBandNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueNotifyOutOfBandNV.html
template <typename Dispatch, typename std::enable_if<IS_DISPATCHED( vkQueueNotifyOutOfBandNV ), bool>::type>
VULKAN_HPP_INLINE void Queue::notifyOutOfBandNV( const OutOfBandQueueTypeInfoNV * pQueueTypeInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT
@@ -30194,7 +29918,7 @@ namespace VULKAN_HPP_NAMESPACE
allocator.get(),
d );
return ResultValue<std::vector<Pipeline, PipelineAllocator>>( result, std::move( pipelines ) );
return { result, pipelines };
}
// wrapper function for command vkCreateDataGraphPipelinesARM, see
@@ -30232,7 +29956,7 @@ namespace VULKAN_HPP_NAMESPACE
allocator.get(),
d );
return ResultValue<std::vector<Pipeline, PipelineAllocator>>( result, std::move( pipelines ) );
return { result, pipelines };
}
// wrapper function for command vkCreateDataGraphPipelinesARM, see
@@ -30260,7 +29984,7 @@ namespace VULKAN_HPP_NAMESPACE
detail::resultCheck(
result, VULKAN_HPP_NAMESPACE_STRING "::Device::createDataGraphPipelineARM", { Result::eSuccess, Result::ePipelineCompileRequiredEXT } );
return ResultValue<Pipeline>( result, std::move( pipeline ) );
return { result, pipeline };
}
# ifndef VULKAN_HPP_NO_SMART_HANDLE
@@ -32757,5 +32481,100 @@ namespace VULKAN_HPP_NAMESPACE
}
#endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */
#if defined( VK_USE_PLATFORM_UBM_SEC )
//=== VK_SEC_ubm_surface ===
// wrapper function for command vkCreateUbmSurfaceSEC, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateUbmSurfaceSEC.html
template <typename Dispatch, typename std::enable_if<IS_DISPATCHED( vkCreateUbmSurfaceSEC ), bool>::type>
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createUbmSurfaceSEC( const UbmSurfaceCreateInfoSEC * pCreateInfo,
const AllocationCallbacks * pAllocator,
SurfaceKHR * pSurface,
Dispatch const & d ) const VULKAN_HPP_NOEXCEPT
{
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
return static_cast<Result>( d.vkCreateUbmSurfaceSEC( static_cast<VkInstance>( m_instance ),
reinterpret_cast<const VkUbmSurfaceCreateInfoSEC *>( pCreateInfo ),
reinterpret_cast<const VkAllocationCallbacks *>( pAllocator ),
reinterpret_cast<VkSurfaceKHR *>( pSurface ) ) );
}
# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
// wrapper function for command vkCreateUbmSurfaceSEC, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateUbmSurfaceSEC.html
template <typename Dispatch, typename std::enable_if<IS_DISPATCHED( vkCreateUbmSurfaceSEC ), bool>::type>
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<SurfaceKHR>::type
Instance::createUbmSurfaceSEC( const UbmSurfaceCreateInfoSEC & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const & d ) const
{
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
# if ( VULKAN_HPP_DISPATCH_LOADER_DYNAMIC == 1 )
VULKAN_HPP_ASSERT( d.vkCreateUbmSurfaceSEC && "Function <vkCreateUbmSurfaceSEC> requires <VK_SEC_ubm_surface>" );
# endif
SurfaceKHR surface;
Result result = static_cast<Result>( d.vkCreateUbmSurfaceSEC( m_instance,
reinterpret_cast<const VkUbmSurfaceCreateInfoSEC *>( &createInfo ),
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ),
reinterpret_cast<VkSurfaceKHR *>( &surface ) ) );
detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Instance::createUbmSurfaceSEC" );
return detail::createResultValueType( result, std::move( surface ) );
}
# ifndef VULKAN_HPP_NO_SMART_HANDLE
// wrapper function for command vkCreateUbmSurfaceSEC, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateUbmSurfaceSEC.html
template <typename Dispatch, typename std::enable_if<IS_DISPATCHED( vkCreateUbmSurfaceSEC ), bool>::type>
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<UniqueHandle<SurfaceKHR, Dispatch>>::type
Instance::createUbmSurfaceSECUnique( const UbmSurfaceCreateInfoSEC & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const & d ) const
{
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
# if ( VULKAN_HPP_DISPATCH_LOADER_DYNAMIC == 1 )
VULKAN_HPP_ASSERT( d.vkCreateUbmSurfaceSEC && "Function <vkCreateUbmSurfaceSEC> requires <VK_SEC_ubm_surface>" );
# endif
SurfaceKHR surface;
Result result = static_cast<Result>( d.vkCreateUbmSurfaceSEC( m_instance,
reinterpret_cast<const VkUbmSurfaceCreateInfoSEC *>( &createInfo ),
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ),
reinterpret_cast<VkSurfaceKHR *>( &surface ) ) );
detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Instance::createUbmSurfaceSECUnique" );
return detail::createResultValueType( result,
UniqueHandle<SurfaceKHR, Dispatch>( surface, detail::ObjectDestroy<Instance, Dispatch>( *this, allocator, d ) ) );
}
# endif /* VULKAN_HPP_NO_SMART_HANDLE */
# endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */
// wrapper function for command vkGetPhysicalDeviceUbmPresentationSupportSEC, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceUbmPresentationSupportSEC.html
template <typename Dispatch, typename std::enable_if<IS_DISPATCHED( vkGetPhysicalDeviceUbmPresentationSupportSEC ), bool>::type>
VULKAN_HPP_INLINE Bool32 PhysicalDevice::getUbmPresentationSupportSEC( uint32_t queueFamilyIndex,
struct ubm_device * ubm_device,
Dispatch const & d ) const VULKAN_HPP_NOEXCEPT
{
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
return static_cast<Bool32>(
d.vkGetPhysicalDeviceUbmPresentationSupportSEC( static_cast<VkPhysicalDevice>( m_physicalDevice ), queueFamilyIndex, ubm_device ) );
}
# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
// wrapper function for command vkGetPhysicalDeviceUbmPresentationSupportSEC, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceUbmPresentationSupportSEC.html
template <typename Dispatch, typename std::enable_if<IS_DISPATCHED( vkGetPhysicalDeviceUbmPresentationSupportSEC ), bool>::type>
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::pair<Bool32, struct ubm_device>
PhysicalDevice::getUbmPresentationSupportSEC( uint32_t queueFamilyIndex, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT
{
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
# if ( VULKAN_HPP_DISPATCH_LOADER_DYNAMIC == 1 )
VULKAN_HPP_ASSERT( d.vkGetPhysicalDeviceUbmPresentationSupportSEC &&
"Function <vkGetPhysicalDeviceUbmPresentationSupportSEC> requires <VK_SEC_ubm_surface>" );
# endif
struct ubm_device ubm_device;
VkBool32 result = d.vkGetPhysicalDeviceUbmPresentationSupportSEC( m_physicalDevice, queueFamilyIndex, &ubm_device );
return { result, ubm_device };
}
# endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */
#endif /*VK_USE_PLATFORM_UBM_SEC*/
} // namespace VULKAN_HPP_NAMESPACE
#endif
+52 -100
View File
@@ -2335,6 +2335,11 @@ namespace VULKAN_HPP_NAMESPACE
//=== VK_EXT_shader_subgroup_partitioned ===
struct PhysicalDeviceShaderSubgroupPartitionedFeaturesEXT;
#if defined( VK_USE_PLATFORM_UBM_SEC )
//=== VK_SEC_ubm_surface ===
struct UbmSurfaceCreateInfoSEC;
#endif /*VK_USE_PLATFORM_UBM_SEC*/
//===================================
//=== HANDLE forward declarations ===
//===================================
@@ -15052,32 +15057,6 @@ namespace VULKAN_HPP_NAMESPACE
const Image * pImages,
HostAddressRangeEXT * pDatas,
Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT;
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
// wrapper function for command vkGetImageOpaqueCaptureDataEXT, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageOpaqueCaptureDataEXT.html
template <typename HostAddressRangeEXTAllocator = std::allocator<HostAddressRangeEXT>,
typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE,
typename std::enable_if<std::is_same<typename HostAddressRangeEXTAllocator::value_type, HostAddressRangeEXT>::value, int>::type = 0,
typename std::enable_if<IS_DISPATCHED( vkGetImageOpaqueCaptureDataEXT ), bool>::type = true>
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<HostAddressRangeEXT, HostAddressRangeEXTAllocator>>::type
getImageOpaqueCaptureDataEXT( ArrayProxy<const Image> const & images, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const;
// wrapper function for command vkGetImageOpaqueCaptureDataEXT, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageOpaqueCaptureDataEXT.html
template <typename HostAddressRangeEXTAllocator = std::allocator<HostAddressRangeEXT>,
typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE,
typename std::enable_if<std::is_same<typename HostAddressRangeEXTAllocator::value_type, HostAddressRangeEXT>::value, int>::type = 0,
typename std::enable_if<IS_DISPATCHED( vkGetImageOpaqueCaptureDataEXT ), bool>::type = true>
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<HostAddressRangeEXT, HostAddressRangeEXTAllocator>>::type
getImageOpaqueCaptureDataEXT( ArrayProxy<const Image> const & images,
HostAddressRangeEXTAllocator const & hostAddressRangeEXTAllocator,
Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const;
// wrapper function for command vkGetImageOpaqueCaptureDataEXT, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageOpaqueCaptureDataEXT.html
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE,
typename std::enable_if<IS_DISPATCHED( vkGetImageOpaqueCaptureDataEXT ), bool>::type = true>
VULKAN_HPP_NODISCARD typename ResultValueType<HostAddressRangeEXT>::type
getImageOpaqueCaptureDataEXT( const Image & image, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const;
#endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */
// wrapper function for command vkRegisterCustomBorderColorEXT, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkRegisterCustomBorderColorEXT.html
@@ -15110,32 +15089,6 @@ namespace VULKAN_HPP_NAMESPACE
const TensorARM * pTensors,
HostAddressRangeEXT * pDatas,
Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT;
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
// wrapper function for command vkGetTensorOpaqueCaptureDataARM, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorOpaqueCaptureDataARM.html
template <typename HostAddressRangeEXTAllocator = std::allocator<HostAddressRangeEXT>,
typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE,
typename std::enable_if<std::is_same<typename HostAddressRangeEXTAllocator::value_type, HostAddressRangeEXT>::value, int>::type = 0,
typename std::enable_if<IS_DISPATCHED( vkGetTensorOpaqueCaptureDataARM ), bool>::type = true>
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<HostAddressRangeEXT, HostAddressRangeEXTAllocator>>::type
getTensorOpaqueCaptureDataARM( ArrayProxy<const TensorARM> const & tensors, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const;
// wrapper function for command vkGetTensorOpaqueCaptureDataARM, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorOpaqueCaptureDataARM.html
template <typename HostAddressRangeEXTAllocator = std::allocator<HostAddressRangeEXT>,
typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE,
typename std::enable_if<std::is_same<typename HostAddressRangeEXTAllocator::value_type, HostAddressRangeEXT>::value, int>::type = 0,
typename std::enable_if<IS_DISPATCHED( vkGetTensorOpaqueCaptureDataARM ), bool>::type = true>
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<HostAddressRangeEXT, HostAddressRangeEXTAllocator>>::type
getTensorOpaqueCaptureDataARM( ArrayProxy<const TensorARM> const & tensors,
HostAddressRangeEXTAllocator const & hostAddressRangeEXTAllocator,
Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const;
// wrapper function for command vkGetTensorOpaqueCaptureDataARM, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorOpaqueCaptureDataARM.html
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE,
typename std::enable_if<IS_DISPATCHED( vkGetTensorOpaqueCaptureDataARM ), bool>::type = true>
VULKAN_HPP_NODISCARD typename ResultValueType<HostAddressRangeEXT>::type
getTensorOpaqueCaptureDataARM( const TensorARM & tensor, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const;
#endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */
//=== VK_KHR_get_memory_requirements2 ===
@@ -16622,34 +16575,6 @@ namespace VULKAN_HPP_NAMESPACE
uint32_t * pInternalRepresentationCount,
PipelineExecutableInternalRepresentationKHR * pInternalRepresentations,
Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT;
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
// wrapper function for command vkGetPipelineExecutableInternalRepresentationsKHR, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineExecutableInternalRepresentationsKHR.html
template <typename PipelineExecutableInternalRepresentationKHRAllocator = std::allocator<PipelineExecutableInternalRepresentationKHR>,
typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE,
typename std::enable_if<
std::is_same<typename PipelineExecutableInternalRepresentationKHRAllocator::value_type, PipelineExecutableInternalRepresentationKHR>::value,
int>::type = 0,
typename std::enable_if<IS_DISPATCHED( vkGetPipelineExecutableInternalRepresentationsKHR ), bool>::type = true>
VULKAN_HPP_NODISCARD
typename ResultValueType<std::vector<PipelineExecutableInternalRepresentationKHR, PipelineExecutableInternalRepresentationKHRAllocator>>::type
getPipelineExecutableInternalRepresentationsKHR( const PipelineExecutableInfoKHR & executableInfo,
Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const;
// wrapper function for command vkGetPipelineExecutableInternalRepresentationsKHR, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineExecutableInternalRepresentationsKHR.html
template <typename PipelineExecutableInternalRepresentationKHRAllocator = std::allocator<PipelineExecutableInternalRepresentationKHR>,
typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE,
typename std::enable_if<
std::is_same<typename PipelineExecutableInternalRepresentationKHRAllocator::value_type, PipelineExecutableInternalRepresentationKHR>::value,
int>::type = 0,
typename std::enable_if<IS_DISPATCHED( vkGetPipelineExecutableInternalRepresentationsKHR ), bool>::type = true>
VULKAN_HPP_NODISCARD
typename ResultValueType<std::vector<PipelineExecutableInternalRepresentationKHR, PipelineExecutableInternalRepresentationKHRAllocator>>::type
getPipelineExecutableInternalRepresentationsKHR(
const PipelineExecutableInfoKHR & executableInfo,
PipelineExecutableInternalRepresentationKHRAllocator const & pipelineExecutableInternalRepresentationKHRAllocator,
Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const;
#endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */
//=== VK_EXT_host_image_copy ===
@@ -18682,26 +18607,6 @@ namespace VULKAN_HPP_NAMESPACE
void getLatencyTimingsNV( SwapchainKHR swapchain,
GetLatencyMarkerInfoNV * pLatencyMarkerInfo,
Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT;
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
// wrapper function for command vkGetLatencyTimingsNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetLatencyTimingsNV.html
template <
typename LatencyTimingsFrameReportNVAllocator = std::allocator<LatencyTimingsFrameReportNV>,
typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE,
typename std::enable_if<std::is_same<typename LatencyTimingsFrameReportNVAllocator::value_type, LatencyTimingsFrameReportNV>::value, int>::type = 0,
typename std::enable_if<IS_DISPATCHED( vkGetLatencyTimingsNV ), bool>::type = true>
VULKAN_HPP_NODISCARD std::vector<LatencyTimingsFrameReportNV, LatencyTimingsFrameReportNVAllocator>
getLatencyTimingsNV( SwapchainKHR swapchain, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const;
// wrapper function for command vkGetLatencyTimingsNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetLatencyTimingsNV.html
template <
typename LatencyTimingsFrameReportNVAllocator = std::allocator<LatencyTimingsFrameReportNV>,
typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE,
typename std::enable_if<std::is_same<typename LatencyTimingsFrameReportNVAllocator::value_type, LatencyTimingsFrameReportNV>::value, int>::type = 0,
typename std::enable_if<IS_DISPATCHED( vkGetLatencyTimingsNV ), bool>::type = true>
VULKAN_HPP_NODISCARD std::vector<LatencyTimingsFrameReportNV, LatencyTimingsFrameReportNVAllocator>
getLatencyTimingsNV( SwapchainKHR swapchain,
LatencyTimingsFrameReportNVAllocator const & latencyTimingsFrameReportNVAllocator,
Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const;
#endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */
//=== VK_ARM_data_graph ===
@@ -21711,6 +21616,26 @@ namespace VULKAN_HPP_NAMESPACE
Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const;
#endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */
#if defined( VK_USE_PLATFORM_UBM_SEC )
//=== VK_SEC_ubm_surface ===
// wrapper function for command vkGetPhysicalDeviceUbmPresentationSupportSEC, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceUbmPresentationSupportSEC.html
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE,
typename std::enable_if<IS_DISPATCHED( vkGetPhysicalDeviceUbmPresentationSupportSEC ), bool>::type = true>
Bool32 getUbmPresentationSupportSEC( uint32_t queueFamilyIndex,
struct ubm_device * ubm_device,
Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT;
# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
// wrapper function for command vkGetPhysicalDeviceUbmPresentationSupportSEC, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceUbmPresentationSupportSEC.html
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE,
typename std::enable_if<IS_DISPATCHED( vkGetPhysicalDeviceUbmPresentationSupportSEC ), bool>::type = true>
VULKAN_HPP_NODISCARD std::pair<Bool32, struct ubm_device>
getUbmPresentationSupportSEC( uint32_t queueFamilyIndex, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT;
# endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */
#endif /*VK_USE_PLATFORM_UBM_SEC*/
operator VkPhysicalDevice() const VULKAN_HPP_NOEXCEPT
{
return m_physicalDevice;
@@ -22550,6 +22475,33 @@ namespace VULKAN_HPP_NAMESPACE
# endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */
#endif /*VK_USE_PLATFORM_OHOS*/
#if defined( VK_USE_PLATFORM_UBM_SEC )
//=== VK_SEC_ubm_surface ===
// wrapper function for command vkCreateUbmSurfaceSEC, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateUbmSurfaceSEC.html
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if<IS_DISPATCHED( vkCreateUbmSurfaceSEC ), bool>::type = true>
VULKAN_HPP_NODISCARD Result createUbmSurfaceSEC( const UbmSurfaceCreateInfoSEC * pCreateInfo,
const AllocationCallbacks * pAllocator,
SurfaceKHR * pSurface,
Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT;
# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
// wrapper function for command vkCreateUbmSurfaceSEC, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateUbmSurfaceSEC.html
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if<IS_DISPATCHED( vkCreateUbmSurfaceSEC ), bool>::type = true>
VULKAN_HPP_NODISCARD typename ResultValueType<SurfaceKHR>::type
createUbmSurfaceSEC( const UbmSurfaceCreateInfoSEC & createInfo,
Optional<const AllocationCallbacks> allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ),
Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const;
# ifndef VULKAN_HPP_NO_SMART_HANDLE
// wrapper function for command vkCreateUbmSurfaceSEC, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateUbmSurfaceSEC.html
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if<IS_DISPATCHED( vkCreateUbmSurfaceSEC ), bool>::type = true>
VULKAN_HPP_NODISCARD typename ResultValueType<UniqueHandle<SurfaceKHR, Dispatch>>::type
createUbmSurfaceSECUnique( const UbmSurfaceCreateInfoSEC & createInfo,
Optional<const AllocationCallbacks> allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ),
Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const;
# endif /* VULKAN_HPP_NO_SMART_HANDLE */
# endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */
#endif /*VK_USE_PLATFORM_UBM_SEC*/
operator VkInstance() const VULKAN_HPP_NOEXCEPT
{
return m_instance;
+17
View File
@@ -19401,6 +19401,23 @@ namespace std
}
};
# if defined( VK_USE_PLATFORM_UBM_SEC )
template <>
struct hash<VULKAN_HPP_NAMESPACE::UbmSurfaceCreateInfoSEC>
{
std::size_t operator()( VULKAN_HPP_NAMESPACE::UbmSurfaceCreateInfoSEC const & ubmSurfaceCreateInfoSEC ) const VULKAN_HPP_NOEXCEPT
{
std::size_t seed = 0;
VULKAN_HPP_HASH_COMBINE( seed, ubmSurfaceCreateInfoSEC.sType );
VULKAN_HPP_HASH_COMBINE( seed, ubmSurfaceCreateInfoSEC.pNext );
VULKAN_HPP_HASH_COMBINE( seed, ubmSurfaceCreateInfoSEC.flags );
VULKAN_HPP_HASH_COMBINE( seed, ubmSurfaceCreateInfoSEC.ubm_device );
VULKAN_HPP_HASH_COMBINE( seed, ubmSurfaceCreateInfoSEC.ubm_surface );
return seed;
}
};
# endif /*VK_USE_PLATFORM_UBM_SEC*/
template <>
struct hash<VULKAN_HPP_NAMESPACE::ValidationCacheCreateInfoEXT>
{
+172 -229
View File
@@ -403,6 +403,13 @@ namespace VULKAN_HPP_NAMESPACE
vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM = PFN_vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM(
vkGetInstanceProcAddr( instance, "vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM" ) );
# if defined( VK_USE_PLATFORM_UBM_SEC )
//=== VK_SEC_ubm_surface ===
vkCreateUbmSurfaceSEC = PFN_vkCreateUbmSurfaceSEC( vkGetInstanceProcAddr( instance, "vkCreateUbmSurfaceSEC" ) );
vkGetPhysicalDeviceUbmPresentationSupportSEC =
PFN_vkGetPhysicalDeviceUbmPresentationSupportSEC( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceUbmPresentationSupportSEC" ) );
# endif /*VK_USE_PLATFORM_UBM_SEC*/
vkGetDeviceProcAddr = PFN_vkGetDeviceProcAddr( vkGetInstanceProcAddr( instance, "vkGetDeviceProcAddr" ) );
}
@@ -706,6 +713,15 @@ namespace VULKAN_HPP_NAMESPACE
//=== VK_ARM_performance_counters_by_region ===
PFN_vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM = 0;
# if defined( VK_USE_PLATFORM_UBM_SEC )
//=== VK_SEC_ubm_surface ===
PFN_vkCreateUbmSurfaceSEC vkCreateUbmSurfaceSEC = 0;
PFN_vkGetPhysicalDeviceUbmPresentationSupportSEC vkGetPhysicalDeviceUbmPresentationSupportSEC = 0;
# else
PFN_dummy vkCreateUbmSurfaceSEC_placeholder = 0;
PFN_dummy vkGetPhysicalDeviceUbmPresentationSupportSEC_placeholder = 0;
# endif /*VK_USE_PLATFORM_UBM_SEC*/
PFN_vkGetDeviceProcAddr vkGetDeviceProcAddr = 0;
};
@@ -3529,6 +3545,15 @@ namespace VULKAN_HPP_NAMESPACE
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS;
# endif /*VK_USE_PLATFORM_OHOS*/
# if defined( VK_USE_PLATFORM_UBM_SEC )
//=== VK_SEC_ubm_surface ===
// wrapper function for command vkCreateUbmSurfaceSEC, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateUbmSurfaceSEC.html
VULKAN_HPP_NODISCARD typename ResultValueType<SurfaceKHR>::type
createUbmSurfaceSEC( UbmSurfaceCreateInfoSEC const & createInfo,
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS;
# endif /*VK_USE_PLATFORM_UBM_SEC*/
private:
VULKAN_HPP_NAMESPACE::Instance m_instance = {};
const AllocationCallbacks * m_allocator = {};
@@ -3687,6 +3712,10 @@ namespace VULKAN_HPP_NAMESPACE
template <typename X, typename Y, typename... Z>
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...> getFeatures2() const VULKAN_HPP_NOEXCEPT;
// wrapper function for command vkGetPhysicalDeviceProperties2, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceProperties2.html
void getProperties2( PhysicalDeviceProperties2 * pProperties ) const VULKAN_HPP_NOEXCEPT;
// wrapper function for command vkGetPhysicalDeviceProperties2, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceProperties2.html
VULKAN_HPP_NODISCARD PhysicalDeviceProperties2 getProperties2() const VULKAN_HPP_NOEXCEPT;
@@ -3696,6 +3725,10 @@ namespace VULKAN_HPP_NAMESPACE
template <typename X, typename Y, typename... Z>
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...> getProperties2() const VULKAN_HPP_NOEXCEPT;
// wrapper function for command vkGetPhysicalDeviceFormatProperties2, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFormatProperties2.html
void getFormatProperties2( Format format, FormatProperties2 * pFormatProperties ) const VULKAN_HPP_NOEXCEPT;
// wrapper function for command vkGetPhysicalDeviceFormatProperties2, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFormatProperties2.html
VULKAN_HPP_NODISCARD FormatProperties2 getFormatProperties2( Format format ) const VULKAN_HPP_NOEXCEPT;
@@ -3705,11 +3738,6 @@ namespace VULKAN_HPP_NAMESPACE
template <typename X, typename Y, typename... Z>
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...> getFormatProperties2( Format format ) const VULKAN_HPP_NOEXCEPT;
// wrapper function for command vkGetPhysicalDeviceImageFormatProperties2, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties2.html
VULKAN_HPP_NODISCARD Result getImageFormatProperties2( const PhysicalDeviceImageFormatInfo2 * pImageFormatInfo,
ImageFormatProperties2 * pImageFormatProperties ) const VULKAN_HPP_NOEXCEPT;
// wrapper function for command vkGetPhysicalDeviceImageFormatProperties2, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties2.html
VULKAN_HPP_NODISCARD typename ResultValueType<ImageFormatProperties2>::type
@@ -3842,11 +3870,6 @@ namespace VULKAN_HPP_NAMESPACE
//=== VK_KHR_video_queue ===
// wrapper function for command vkGetPhysicalDeviceVideoCapabilitiesKHR, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoCapabilitiesKHR.html
VULKAN_HPP_NODISCARD Result getVideoCapabilitiesKHR( const VideoProfileInfoKHR * pVideoProfile,
VideoCapabilitiesKHR * pCapabilities ) const VULKAN_HPP_NOEXCEPT;
// wrapper function for command vkGetPhysicalDeviceVideoCapabilitiesKHR, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoCapabilitiesKHR.html
VULKAN_HPP_NODISCARD typename ResultValueType<VideoCapabilitiesKHR>::type getVideoCapabilitiesKHR( const VideoProfileInfoKHR & videoProfile ) const;
@@ -3890,6 +3913,10 @@ namespace VULKAN_HPP_NAMESPACE
template <typename X, typename Y, typename... Z>
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...> getFeatures2KHR() const VULKAN_HPP_NOEXCEPT;
// wrapper function for command vkGetPhysicalDeviceProperties2KHR, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceProperties2KHR.html
void getProperties2KHR( PhysicalDeviceProperties2 * pProperties ) const VULKAN_HPP_NOEXCEPT;
// wrapper function for command vkGetPhysicalDeviceProperties2KHR, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceProperties2KHR.html
VULKAN_HPP_NODISCARD PhysicalDeviceProperties2 getProperties2KHR() const VULKAN_HPP_NOEXCEPT;
@@ -3899,6 +3926,10 @@ namespace VULKAN_HPP_NAMESPACE
template <typename X, typename Y, typename... Z>
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...> getProperties2KHR() const VULKAN_HPP_NOEXCEPT;
// wrapper function for command vkGetPhysicalDeviceFormatProperties2KHR, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFormatProperties2KHR.html
void getFormatProperties2KHR( Format format, FormatProperties2 * pFormatProperties ) const VULKAN_HPP_NOEXCEPT;
// wrapper function for command vkGetPhysicalDeviceFormatProperties2KHR, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFormatProperties2KHR.html
VULKAN_HPP_NODISCARD FormatProperties2 getFormatProperties2KHR( Format format ) const VULKAN_HPP_NOEXCEPT;
@@ -3908,11 +3939,6 @@ namespace VULKAN_HPP_NAMESPACE
template <typename X, typename Y, typename... Z>
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...> getFormatProperties2KHR( Format format ) const VULKAN_HPP_NOEXCEPT;
// wrapper function for command vkGetPhysicalDeviceImageFormatProperties2KHR, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties2KHR.html
VULKAN_HPP_NODISCARD Result getImageFormatProperties2KHR( const PhysicalDeviceImageFormatInfo2 * pImageFormatInfo,
ImageFormatProperties2 * pImageFormatProperties ) const VULKAN_HPP_NOEXCEPT;
// wrapper function for command vkGetPhysicalDeviceImageFormatProperties2KHR, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties2KHR.html
VULKAN_HPP_NODISCARD typename ResultValueType<ImageFormatProperties2>::type
@@ -4104,12 +4130,6 @@ namespace VULKAN_HPP_NAMESPACE
//=== VK_KHR_video_encode_queue ===
// wrapper function for command vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR.html
VULKAN_HPP_NODISCARD Result
getVideoEncodeQualityLevelPropertiesKHR( const PhysicalDeviceVideoEncodeQualityLevelInfoKHR * pQualityLevelInfo,
VideoEncodeQualityLevelPropertiesKHR * pQualityLevelProperties ) const VULKAN_HPP_NOEXCEPT;
// wrapper function for command vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR.html
VULKAN_HPP_NODISCARD typename ResultValueType<VideoEncodeQualityLevelPropertiesKHR>::type
@@ -4203,6 +4223,14 @@ namespace VULKAN_HPP_NAMESPACE
VULKAN_HPP_NODISCARD typename ResultValueType<std::pair<std::vector<PerformanceCounterARM>, std::vector<PerformanceCounterDescriptionARM>>>::type
enumerateQueueFamilyPerformanceCountersByRegionARM( uint32_t queueFamilyIndex ) const;
# if defined( VK_USE_PLATFORM_UBM_SEC )
//=== VK_SEC_ubm_surface ===
// wrapper function for command vkGetPhysicalDeviceUbmPresentationSupportSEC, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceUbmPresentationSupportSEC.html
VULKAN_HPP_NODISCARD std::pair<Bool32, struct ubm_device> getUbmPresentationSupportSEC( uint32_t queueFamilyIndex ) const VULKAN_HPP_NOEXCEPT;
# endif /*VK_USE_PLATFORM_UBM_SEC*/
private:
VULKAN_HPP_NAMESPACE::PhysicalDevice m_physicalDevice = {};
detail::InstanceDispatcher const * m_dispatcher = nullptr;
@@ -4866,11 +4894,6 @@ namespace VULKAN_HPP_NAMESPACE
# if defined( VK_USE_PLATFORM_ANDROID_KHR )
//=== VK_ANDROID_external_memory_android_hardware_buffer ===
// wrapper function for command vkGetAndroidHardwareBufferPropertiesANDROID, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAndroidHardwareBufferPropertiesANDROID.html
VULKAN_HPP_NODISCARD Result getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer * buffer,
AndroidHardwareBufferPropertiesANDROID * pProperties ) const VULKAN_HPP_NOEXCEPT;
// wrapper function for command vkGetAndroidHardwareBufferPropertiesANDROID, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAndroidHardwareBufferPropertiesANDROID.html
VULKAN_HPP_NODISCARD typename ResultValueType<AndroidHardwareBufferPropertiesANDROID>::type
@@ -4920,12 +4943,9 @@ namespace VULKAN_HPP_NAMESPACE
// wrapper function for command vkGetImageOpaqueCaptureDataEXT, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageOpaqueCaptureDataEXT.html
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<HostAddressRangeEXT>>::type
getImageOpaqueCaptureDataEXT( ArrayProxy<const VULKAN_HPP_NAMESPACE::Image> const & images ) const;
// wrapper function for command vkGetImageOpaqueCaptureDataEXT, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageOpaqueCaptureDataEXT.html
VULKAN_HPP_NODISCARD typename ResultValueType<HostAddressRangeEXT>::type getImageOpaqueCaptureDataEXT( const VULKAN_HPP_NAMESPACE::Image & image ) const;
VULKAN_HPP_NODISCARD Result getImageOpaqueCaptureDataEXT( uint32_t imageCount,
const VULKAN_HPP_NAMESPACE::Image * pImages,
HostAddressRangeEXT * pDatas ) const VULKAN_HPP_NOEXCEPT;
// wrapper function for command vkRegisterCustomBorderColorEXT, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkRegisterCustomBorderColorEXT.html
@@ -4938,13 +4958,9 @@ namespace VULKAN_HPP_NAMESPACE
// wrapper function for command vkGetTensorOpaqueCaptureDataARM, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorOpaqueCaptureDataARM.html
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<HostAddressRangeEXT>>::type
getTensorOpaqueCaptureDataARM( ArrayProxy<const VULKAN_HPP_NAMESPACE::TensorARM> const & tensors ) const;
// wrapper function for command vkGetTensorOpaqueCaptureDataARM, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorOpaqueCaptureDataARM.html
VULKAN_HPP_NODISCARD typename ResultValueType<HostAddressRangeEXT>::type
getTensorOpaqueCaptureDataARM( const VULKAN_HPP_NAMESPACE::TensorARM & tensor ) const;
VULKAN_HPP_NODISCARD Result getTensorOpaqueCaptureDataARM( uint32_t tensorCount,
const VULKAN_HPP_NAMESPACE::TensorARM * pTensors,
HostAddressRangeEXT * pDatas ) const VULKAN_HPP_NOEXCEPT;
//=== VK_KHR_get_memory_requirements2 ===
@@ -5232,8 +5248,10 @@ namespace VULKAN_HPP_NAMESPACE
// wrapper function for command vkGetPipelineExecutableInternalRepresentationsKHR, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineExecutableInternalRepresentationsKHR.html
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<PipelineExecutableInternalRepresentationKHR>>::type
getPipelineExecutableInternalRepresentationsKHR( const PipelineExecutableInfoKHR & executableInfo ) const;
VULKAN_HPP_NODISCARD Result
getPipelineExecutableInternalRepresentationsKHR( const PipelineExecutableInfoKHR * pExecutableInfo,
uint32_t * pInternalRepresentationCount,
PipelineExecutableInternalRepresentationKHR * pInternalRepresentations ) const VULKAN_HPP_NOEXCEPT;
//=== VK_EXT_host_image_copy ===
@@ -5524,11 +5542,6 @@ namespace VULKAN_HPP_NAMESPACE
# if defined( VK_USE_PLATFORM_OHOS )
//=== VK_OHOS_external_memory ===
// wrapper function for command vkGetNativeBufferPropertiesOHOS, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetNativeBufferPropertiesOHOS.html
VULKAN_HPP_NODISCARD Result getNativeBufferPropertiesOHOS( const struct OH_NativeBuffer * buffer,
NativeBufferPropertiesOHOS * pProperties ) const VULKAN_HPP_NOEXCEPT;
// wrapper function for command vkGetNativeBufferPropertiesOHOS, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetNativeBufferPropertiesOHOS.html
VULKAN_HPP_NODISCARD typename ResultValueType<NativeBufferPropertiesOHOS>::type
@@ -5737,11 +5750,6 @@ namespace VULKAN_HPP_NAMESPACE
# if defined( VK_USE_PLATFORM_SCREEN_QNX )
//=== VK_QNX_external_memory_screen_buffer ===
// wrapper function for command vkGetScreenBufferPropertiesQNX, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetScreenBufferPropertiesQNX.html
VULKAN_HPP_NODISCARD Result getScreenBufferPropertiesQNX( const struct _screen_buffer * buffer,
ScreenBufferPropertiesQNX * pProperties ) const VULKAN_HPP_NOEXCEPT;
// wrapper function for command vkGetScreenBufferPropertiesQNX, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetScreenBufferPropertiesQNX.html
VULKAN_HPP_NODISCARD typename ResultValueType<ScreenBufferPropertiesQNX>::type getScreenBufferPropertiesQNX( const struct _screen_buffer & buffer ) const;
@@ -14027,6 +14035,15 @@ namespace VULKAN_HPP_NAMESPACE
# endif /*VK_USE_PLATFORM_OHOS*/
# endif
# if !defined( VULKAN_HPP_NO_EXCEPTIONS )
# if defined( VK_USE_PLATFORM_UBM_SEC )
SurfaceKHR( Instance const & instance, UbmSurfaceCreateInfoSEC const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr )
{
*this = instance.createUbmSurfaceSEC( createInfo, allocator );
}
# endif /*VK_USE_PLATFORM_UBM_SEC*/
# endif
# if !defined( VULKAN_HPP_NO_EXCEPTIONS )
# if defined( VK_USE_PLATFORM_VI_NN )
SurfaceKHR( Instance const & instance, ViSurfaceCreateInfoNN const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr )
@@ -14389,7 +14406,7 @@ namespace VULKAN_HPP_NAMESPACE
void setLatencyMarkerNV( const SetLatencyMarkerInfoNV & latencyMarkerInfo ) const VULKAN_HPP_NOEXCEPT;
// wrapper function for command vkGetLatencyTimingsNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetLatencyTimingsNV.html
VULKAN_HPP_NODISCARD std::vector<VULKAN_HPP_NAMESPACE::LatencyTimingsFrameReportNV> getLatencyTimingsNV() const;
void getLatencyTimingsNV( GetLatencyMarkerInfoNV * pLatencyMarkerInfo ) const VULKAN_HPP_NOEXCEPT;
private:
VULKAN_HPP_NAMESPACE::Device m_device = {};
@@ -15803,7 +15820,7 @@ namespace VULKAN_HPP_NAMESPACE
static_cast<VkQueryResultFlags>( flags ) ) );
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::QueryPool::getResults", { Result::eSuccess, Result::eNotReady } );
return ResultValue<std::vector<DataType>>( result, std::move( data ) );
return { result, data };
}
// wrapper function for command vkGetQueryPoolResults, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetQueryPoolResults.html
@@ -15824,7 +15841,7 @@ namespace VULKAN_HPP_NAMESPACE
static_cast<VkQueryResultFlags>( flags ) ) );
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::QueryPool::getResult", { Result::eSuccess, Result::eNotReady } );
return ResultValue<DataType>( result, std::move( data ) );
return { result, data };
}
// wrapper function for command vkCreateBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateBuffer.html
@@ -17139,6 +17156,16 @@ namespace VULKAN_HPP_NAMESPACE
return structureChain;
}
// wrapper function for command vkGetPhysicalDeviceProperties2, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceProperties2.html
VULKAN_HPP_INLINE void PhysicalDevice::getProperties2( PhysicalDeviceProperties2 * pProperties ) const VULKAN_HPP_NOEXCEPT
{
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceProperties2 &&
"Function <vkGetPhysicalDeviceProperties2> requires <VK_KHR_get_physical_device_properties2> or <VK_VERSION_1_1>" );
getDispatcher()->vkGetPhysicalDeviceProperties2( static_cast<VkPhysicalDevice>( m_physicalDevice ),
reinterpret_cast<VkPhysicalDeviceProperties2 *>( pProperties ) );
}
// wrapper function for command vkGetPhysicalDeviceProperties2, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceProperties2.html
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE PhysicalDeviceProperties2 PhysicalDevice::getProperties2() const VULKAN_HPP_NOEXCEPT
@@ -17169,6 +17196,16 @@ namespace VULKAN_HPP_NAMESPACE
return structureChain;
}
// wrapper function for command vkGetPhysicalDeviceFormatProperties2, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFormatProperties2.html
VULKAN_HPP_INLINE void PhysicalDevice::getFormatProperties2( Format format, FormatProperties2 * pFormatProperties ) const VULKAN_HPP_NOEXCEPT
{
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceFormatProperties2 &&
"Function <vkGetPhysicalDeviceFormatProperties2> requires <VK_KHR_get_physical_device_properties2> or <VK_VERSION_1_1>" );
getDispatcher()->vkGetPhysicalDeviceFormatProperties2(
static_cast<VkPhysicalDevice>( m_physicalDevice ), static_cast<VkFormat>( format ), reinterpret_cast<VkFormatProperties2 *>( pFormatProperties ) );
}
// wrapper function for command vkGetPhysicalDeviceFormatProperties2, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFormatProperties2.html
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE FormatProperties2 PhysicalDevice::getFormatProperties2( Format format ) const VULKAN_HPP_NOEXCEPT
@@ -17199,19 +17236,6 @@ namespace VULKAN_HPP_NAMESPACE
return structureChain;
}
// wrapper function for command vkGetPhysicalDeviceImageFormatProperties2, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties2.html
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getImageFormatProperties2(
const PhysicalDeviceImageFormatInfo2 * pImageFormatInfo, ImageFormatProperties2 * pImageFormatProperties ) const VULKAN_HPP_NOEXCEPT
{
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceImageFormatProperties2 &&
"Function <vkGetPhysicalDeviceImageFormatProperties2> requires <VK_KHR_get_physical_device_properties2> or <VK_VERSION_1_1>" );
return static_cast<Result>(
getDispatcher()->vkGetPhysicalDeviceImageFormatProperties2( static_cast<VkPhysicalDevice>( m_physicalDevice ),
reinterpret_cast<const VkPhysicalDeviceImageFormatInfo2 *>( pImageFormatInfo ),
reinterpret_cast<VkImageFormatProperties2 *>( pImageFormatProperties ) ) );
}
// wrapper function for command vkGetPhysicalDeviceImageFormatProperties2, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties2.html
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<ImageFormatProperties2>::type
@@ -18655,7 +18679,7 @@ namespace VULKAN_HPP_NAMESPACE
{ Result::eSuccess, Result::eTimeout, Result::eNotReady, Result::eSuboptimalKHR } );
# endif
return ResultValue<uint32_t>( result, std::move( imageIndex ) );
return { result, imageIndex };
}
// wrapper function for command vkQueuePresentKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueuePresentKHR.html
@@ -18760,7 +18784,7 @@ namespace VULKAN_HPP_NAMESPACE
{ Result::eSuccess, Result::eTimeout, Result::eNotReady, Result::eSuboptimalKHR } );
# endif
return ResultValue<uint32_t>( result, std::move( imageIndex ) );
return { result, imageIndex };
}
//=== VK_KHR_display ===
@@ -19243,17 +19267,6 @@ namespace VULKAN_HPP_NAMESPACE
}
//=== VK_KHR_video_queue ===
// wrapper function for command vkGetPhysicalDeviceVideoCapabilitiesKHR, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoCapabilitiesKHR.html
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getVideoCapabilitiesKHR( const VideoProfileInfoKHR * pVideoProfile,
VideoCapabilitiesKHR * pCapabilities ) const VULKAN_HPP_NOEXCEPT
{
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceVideoCapabilitiesKHR &&
"Function <vkGetPhysicalDeviceVideoCapabilitiesKHR> requires <VK_KHR_video_queue>" );
return static_cast<Result>( getDispatcher()->vkGetPhysicalDeviceVideoCapabilitiesKHR( static_cast<VkPhysicalDevice>( m_physicalDevice ),
reinterpret_cast<const VkVideoProfileInfoKHR *>( pVideoProfile ),
reinterpret_cast<VkVideoCapabilitiesKHR *>( pCapabilities ) ) );
}
// wrapper function for command vkGetPhysicalDeviceVideoCapabilitiesKHR, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoCapabilitiesKHR.html
@@ -19936,6 +19949,16 @@ namespace VULKAN_HPP_NAMESPACE
return structureChain;
}
// wrapper function for command vkGetPhysicalDeviceProperties2KHR, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceProperties2KHR.html
VULKAN_HPP_INLINE void PhysicalDevice::getProperties2KHR( PhysicalDeviceProperties2 * pProperties ) const VULKAN_HPP_NOEXCEPT
{
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceProperties2KHR &&
"Function <vkGetPhysicalDeviceProperties2KHR> requires <VK_KHR_get_physical_device_properties2> or <VK_VERSION_1_1>" );
getDispatcher()->vkGetPhysicalDeviceProperties2KHR( static_cast<VkPhysicalDevice>( m_physicalDevice ),
reinterpret_cast<VkPhysicalDeviceProperties2 *>( pProperties ) );
}
// wrapper function for command vkGetPhysicalDeviceProperties2KHR, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceProperties2KHR.html
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE PhysicalDeviceProperties2 PhysicalDevice::getProperties2KHR() const VULKAN_HPP_NOEXCEPT
@@ -19966,6 +19989,16 @@ namespace VULKAN_HPP_NAMESPACE
return structureChain;
}
// wrapper function for command vkGetPhysicalDeviceFormatProperties2KHR, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFormatProperties2KHR.html
VULKAN_HPP_INLINE void PhysicalDevice::getFormatProperties2KHR( Format format, FormatProperties2 * pFormatProperties ) const VULKAN_HPP_NOEXCEPT
{
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceFormatProperties2KHR &&
"Function <vkGetPhysicalDeviceFormatProperties2KHR> requires <VK_KHR_get_physical_device_properties2> or <VK_VERSION_1_1>" );
getDispatcher()->vkGetPhysicalDeviceFormatProperties2KHR(
static_cast<VkPhysicalDevice>( m_physicalDevice ), static_cast<VkFormat>( format ), reinterpret_cast<VkFormatProperties2 *>( pFormatProperties ) );
}
// wrapper function for command vkGetPhysicalDeviceFormatProperties2KHR, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFormatProperties2KHR.html
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE FormatProperties2 PhysicalDevice::getFormatProperties2KHR( Format format ) const VULKAN_HPP_NOEXCEPT
@@ -19996,19 +20029,6 @@ namespace VULKAN_HPP_NAMESPACE
return structureChain;
}
// wrapper function for command vkGetPhysicalDeviceImageFormatProperties2KHR, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties2KHR.html
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getImageFormatProperties2KHR(
const PhysicalDeviceImageFormatInfo2 * pImageFormatInfo, ImageFormatProperties2 * pImageFormatProperties ) const VULKAN_HPP_NOEXCEPT
{
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceImageFormatProperties2KHR &&
"Function <vkGetPhysicalDeviceImageFormatProperties2KHR> requires <VK_KHR_get_physical_device_properties2> or <VK_VERSION_1_1>" );
return static_cast<Result>(
getDispatcher()->vkGetPhysicalDeviceImageFormatProperties2KHR( static_cast<VkPhysicalDevice>( m_physicalDevice ),
reinterpret_cast<const VkPhysicalDeviceImageFormatInfo2 *>( pImageFormatInfo ),
reinterpret_cast<VkImageFormatProperties2 *>( pImageFormatProperties ) ) );
}
// wrapper function for command vkGetPhysicalDeviceImageFormatProperties2KHR, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties2KHR.html
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<ImageFormatProperties2>::type
@@ -21532,16 +21552,6 @@ namespace VULKAN_HPP_NAMESPACE
# if defined( VK_USE_PLATFORM_ANDROID_KHR )
//=== VK_ANDROID_external_memory_android_hardware_buffer ===
// wrapper function for command vkGetAndroidHardwareBufferPropertiesANDROID, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAndroidHardwareBufferPropertiesANDROID.html
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getAndroidHardwareBufferPropertiesANDROID(
const struct AHardwareBuffer * buffer, AndroidHardwareBufferPropertiesANDROID * pProperties ) const VULKAN_HPP_NOEXCEPT
{
VULKAN_HPP_ASSERT( getDispatcher()->vkGetAndroidHardwareBufferPropertiesANDROID &&
"Function <vkGetAndroidHardwareBufferPropertiesANDROID> requires <VK_ANDROID_external_memory_android_hardware_buffer>" );
return static_cast<Result>( getDispatcher()->vkGetAndroidHardwareBufferPropertiesANDROID(
static_cast<VkDevice>( m_device ), buffer, reinterpret_cast<VkAndroidHardwareBufferPropertiesANDROID *>( pProperties ) ) );
}
// wrapper function for command vkGetAndroidHardwareBufferPropertiesANDROID, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAndroidHardwareBufferPropertiesANDROID.html
@@ -21822,34 +21832,13 @@ namespace VULKAN_HPP_NAMESPACE
// wrapper function for command vkGetImageOpaqueCaptureDataEXT, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageOpaqueCaptureDataEXT.html
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<HostAddressRangeEXT>>::type
Device::getImageOpaqueCaptureDataEXT( ArrayProxy<const VULKAN_HPP_NAMESPACE::Image> const & images ) const
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getImageOpaqueCaptureDataEXT( uint32_t imageCount,
const VULKAN_HPP_NAMESPACE::Image * pImages,
HostAddressRangeEXT * pDatas ) const VULKAN_HPP_NOEXCEPT
{
VULKAN_HPP_ASSERT( getDispatcher()->vkGetImageOpaqueCaptureDataEXT && "Function <vkGetImageOpaqueCaptureDataEXT> requires <VK_EXT_descriptor_heap>" );
std::vector<HostAddressRangeEXT> datas( images.size() );
Result result = static_cast<Result>( getDispatcher()->vkGetImageOpaqueCaptureDataEXT( static_cast<VkDevice>( m_device ),
images.size(),
reinterpret_cast<const VkImage *>( images.data() ),
reinterpret_cast<VkHostAddressRangeEXT *>( datas.data() ) ) );
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getImageOpaqueCaptureDataEXT" );
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( datas ) );
}
// wrapper function for command vkGetImageOpaqueCaptureDataEXT, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageOpaqueCaptureDataEXT.html
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<HostAddressRangeEXT>::type
Device::getImageOpaqueCaptureDataEXT( const VULKAN_HPP_NAMESPACE::Image & image ) const
{
VULKAN_HPP_ASSERT( getDispatcher()->vkGetImageOpaqueCaptureDataEXT && "Function <vkGetImageOpaqueCaptureDataEXT> requires <VK_EXT_descriptor_heap>" );
HostAddressRangeEXT data;
Result result = static_cast<Result>( getDispatcher()->vkGetImageOpaqueCaptureDataEXT(
static_cast<VkDevice>( m_device ), 1, reinterpret_cast<const VkImage *>( &image ), reinterpret_cast<VkHostAddressRangeEXT *>( &data ) ) );
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getImageOpaqueCaptureDataEXT" );
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( data ) );
return static_cast<Result>( getDispatcher()->vkGetImageOpaqueCaptureDataEXT(
static_cast<VkDevice>( m_device ), imageCount, reinterpret_cast<const VkImage *>( pImages ), reinterpret_cast<VkHostAddressRangeEXT *>( pDatas ) ) );
}
// wrapper function for command vkGetPhysicalDeviceDescriptorSizeEXT, see
@@ -21894,34 +21883,15 @@ namespace VULKAN_HPP_NAMESPACE
// wrapper function for command vkGetTensorOpaqueCaptureDataARM, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorOpaqueCaptureDataARM.html
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<HostAddressRangeEXT>>::type
Device::getTensorOpaqueCaptureDataARM( ArrayProxy<const VULKAN_HPP_NAMESPACE::TensorARM> const & tensors ) const
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getTensorOpaqueCaptureDataARM( uint32_t tensorCount,
const VULKAN_HPP_NAMESPACE::TensorARM * pTensors,
HostAddressRangeEXT * pDatas ) const VULKAN_HPP_NOEXCEPT
{
VULKAN_HPP_ASSERT( getDispatcher()->vkGetTensorOpaqueCaptureDataARM && "Function <vkGetTensorOpaqueCaptureDataARM> requires <VK_EXT_descriptor_heap>" );
std::vector<HostAddressRangeEXT> datas( tensors.size() );
Result result = static_cast<Result>( getDispatcher()->vkGetTensorOpaqueCaptureDataARM( static_cast<VkDevice>( m_device ),
tensors.size(),
reinterpret_cast<const VkTensorARM *>( tensors.data() ),
reinterpret_cast<VkHostAddressRangeEXT *>( datas.data() ) ) );
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getTensorOpaqueCaptureDataARM" );
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( datas ) );
}
// wrapper function for command vkGetTensorOpaqueCaptureDataARM, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorOpaqueCaptureDataARM.html
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<HostAddressRangeEXT>::type
Device::getTensorOpaqueCaptureDataARM( const VULKAN_HPP_NAMESPACE::TensorARM & tensor ) const
{
VULKAN_HPP_ASSERT( getDispatcher()->vkGetTensorOpaqueCaptureDataARM && "Function <vkGetTensorOpaqueCaptureDataARM> requires <VK_EXT_descriptor_heap>" );
HostAddressRangeEXT data;
Result result = static_cast<Result>( getDispatcher()->vkGetTensorOpaqueCaptureDataARM(
static_cast<VkDevice>( m_device ), 1, reinterpret_cast<const VkTensorARM *>( &tensor ), reinterpret_cast<VkHostAddressRangeEXT *>( &data ) ) );
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getTensorOpaqueCaptureDataARM" );
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( data ) );
return static_cast<Result>( getDispatcher()->vkGetTensorOpaqueCaptureDataARM( static_cast<VkDevice>( m_device ),
tensorCount,
reinterpret_cast<const VkTensorARM *>( pTensors ),
reinterpret_cast<VkHostAddressRangeEXT *>( pDatas ) ) );
}
//=== VK_EXT_sample_locations ===
@@ -23488,7 +23458,7 @@ namespace VULKAN_HPP_NAMESPACE
VULKAN_HPP_NAMESPACE::detail::resultCheck(
result, VULKAN_HPP_RAII_NAMESPACE_STRING "::SwapchainKHR::getTimingPropertiesEXT", { Result::eSuccess, Result::eNotReady } );
return ResultValue<std::pair<SwapchainTimingPropertiesEXT, uint64_t>>( result, std::move( data_ ) );
return { result, data_ };
}
// wrapper function for command vkGetSwapchainTimeDomainPropertiesEXT, see
@@ -24350,39 +24320,18 @@ namespace VULKAN_HPP_NAMESPACE
// wrapper function for command vkGetPipelineExecutableInternalRepresentationsKHR, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineExecutableInternalRepresentationsKHR.html
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<PipelineExecutableInternalRepresentationKHR>>::type
Device::getPipelineExecutableInternalRepresentationsKHR( const PipelineExecutableInfoKHR & executableInfo ) const
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getPipelineExecutableInternalRepresentationsKHR(
const PipelineExecutableInfoKHR * pExecutableInfo,
uint32_t * pInternalRepresentationCount,
PipelineExecutableInternalRepresentationKHR * pInternalRepresentations ) const VULKAN_HPP_NOEXCEPT
{
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPipelineExecutableInternalRepresentationsKHR &&
"Function <vkGetPipelineExecutableInternalRepresentationsKHR> requires <VK_KHR_pipeline_executable_properties>" );
std::vector<PipelineExecutableInternalRepresentationKHR> internalRepresentations;
uint32_t internalRepresentationCount;
Result result;
do
{
result = static_cast<Result>(
getDispatcher()->vkGetPipelineExecutableInternalRepresentationsKHR( static_cast<VkDevice>( m_device ),
reinterpret_cast<const VkPipelineExecutableInfoKHR *>( &executableInfo ),
&internalRepresentationCount,
nullptr ) );
if ( ( result == Result::eSuccess ) && internalRepresentationCount )
{
internalRepresentations.resize( internalRepresentationCount );
result = static_cast<Result>( getDispatcher()->vkGetPipelineExecutableInternalRepresentationsKHR(
static_cast<VkDevice>( m_device ),
reinterpret_cast<const VkPipelineExecutableInfoKHR *>( &executableInfo ),
&internalRepresentationCount,
reinterpret_cast<VkPipelineExecutableInternalRepresentationKHR *>( internalRepresentations.data() ) ) );
}
} while ( result == Result::eIncomplete );
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getPipelineExecutableInternalRepresentationsKHR" );
VULKAN_HPP_ASSERT( internalRepresentationCount <= internalRepresentations.size() );
if ( internalRepresentationCount < internalRepresentations.size() )
{
internalRepresentations.resize( internalRepresentationCount );
}
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( internalRepresentations ) );
return static_cast<Result>( getDispatcher()->vkGetPipelineExecutableInternalRepresentationsKHR(
static_cast<VkDevice>( m_device ),
reinterpret_cast<const VkPipelineExecutableInfoKHR *>( pExecutableInfo ),
pInternalRepresentationCount,
reinterpret_cast<VkPipelineExecutableInternalRepresentationKHR *>( pInternalRepresentations ) ) );
}
//=== VK_EXT_host_image_copy ===
@@ -24708,19 +24657,6 @@ namespace VULKAN_HPP_NAMESPACE
}
//=== VK_KHR_video_encode_queue ===
// wrapper function for command vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR.html
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result
PhysicalDevice::getVideoEncodeQualityLevelPropertiesKHR( const PhysicalDeviceVideoEncodeQualityLevelInfoKHR * pQualityLevelInfo,
VideoEncodeQualityLevelPropertiesKHR * pQualityLevelProperties ) const VULKAN_HPP_NOEXCEPT
{
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR &&
"Function <vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR> requires <VK_KHR_video_encode_queue>" );
return static_cast<Result>( getDispatcher()->vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR(
static_cast<VkPhysicalDevice>( m_physicalDevice ),
reinterpret_cast<const VkPhysicalDeviceVideoEncodeQualityLevelInfoKHR *>( pQualityLevelInfo ),
reinterpret_cast<VkVideoEncodeQualityLevelPropertiesKHR *>( pQualityLevelProperties ) ) );
}
// wrapper function for command vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR.html
@@ -26287,15 +26223,6 @@ namespace VULKAN_HPP_NAMESPACE
# if defined( VK_USE_PLATFORM_OHOS )
//=== VK_OHOS_external_memory ===
// wrapper function for command vkGetNativeBufferPropertiesOHOS, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetNativeBufferPropertiesOHOS.html
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getNativeBufferPropertiesOHOS( const struct OH_NativeBuffer * buffer,
NativeBufferPropertiesOHOS * pProperties ) const VULKAN_HPP_NOEXCEPT
{
VULKAN_HPP_ASSERT( getDispatcher()->vkGetNativeBufferPropertiesOHOS && "Function <vkGetNativeBufferPropertiesOHOS> requires <VK_OHOS_external_memory>" );
return static_cast<Result>( getDispatcher()->vkGetNativeBufferPropertiesOHOS(
static_cast<VkDevice>( m_device ), buffer, reinterpret_cast<VkNativeBufferPropertiesOHOS *>( pProperties ) ) );
}
// wrapper function for command vkGetNativeBufferPropertiesOHOS, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetNativeBufferPropertiesOHOS.html
@@ -27504,20 +27431,11 @@ namespace VULKAN_HPP_NAMESPACE
}
// wrapper function for command vkGetLatencyTimingsNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetLatencyTimingsNV.html
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector<VULKAN_HPP_NAMESPACE::LatencyTimingsFrameReportNV> SwapchainKHR::getLatencyTimingsNV() const
VULKAN_HPP_INLINE void SwapchainKHR::getLatencyTimingsNV( GetLatencyMarkerInfoNV * pLatencyMarkerInfo ) const VULKAN_HPP_NOEXCEPT
{
VULKAN_HPP_ASSERT( getDispatcher()->vkGetLatencyTimingsNV && "Function <vkGetLatencyTimingsNV> requires <VK_NV_low_latency2>" );
std::vector<VULKAN_HPP_NAMESPACE::LatencyTimingsFrameReportNV> timings;
GetLatencyMarkerInfoNV latencyMarkerInfo;
getDispatcher()->vkGetLatencyTimingsNV(
static_cast<VkDevice>( m_device ), static_cast<VkSwapchainKHR>( m_swapchainKHR ), reinterpret_cast<VkGetLatencyMarkerInfoNV *>( &latencyMarkerInfo ) );
timings.resize( latencyMarkerInfo.timingCount );
latencyMarkerInfo.pTimings = timings.data();
getDispatcher()->vkGetLatencyTimingsNV(
static_cast<VkDevice>( m_device ), static_cast<VkSwapchainKHR>( m_swapchainKHR ), reinterpret_cast<VkGetLatencyMarkerInfoNV *>( &latencyMarkerInfo ) );
return timings;
static_cast<VkDevice>( m_device ), static_cast<VkSwapchainKHR>( m_swapchainKHR ), reinterpret_cast<VkGetLatencyMarkerInfoNV *>( pLatencyMarkerInfo ) );
}
// wrapper function for command vkQueueNotifyOutOfBandNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueNotifyOutOfBandNV.html
@@ -27856,16 +27774,6 @@ namespace VULKAN_HPP_NAMESPACE
# if defined( VK_USE_PLATFORM_SCREEN_QNX )
//=== VK_QNX_external_memory_screen_buffer ===
// wrapper function for command vkGetScreenBufferPropertiesQNX, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetScreenBufferPropertiesQNX.html
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getScreenBufferPropertiesQNX( const struct _screen_buffer * buffer,
ScreenBufferPropertiesQNX * pProperties ) const VULKAN_HPP_NOEXCEPT
{
VULKAN_HPP_ASSERT( getDispatcher()->vkGetScreenBufferPropertiesQNX &&
"Function <vkGetScreenBufferPropertiesQNX> requires <VK_QNX_external_memory_screen_buffer>" );
return static_cast<Result>( getDispatcher()->vkGetScreenBufferPropertiesQNX(
static_cast<VkDevice>( m_device ), buffer, reinterpret_cast<VkScreenBufferPropertiesQNX *>( pProperties ) ) );
}
// wrapper function for command vkGetScreenBufferPropertiesQNX, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetScreenBufferPropertiesQNX.html
@@ -28533,6 +28441,41 @@ namespace VULKAN_HPP_NAMESPACE
reinterpret_cast<const VkComputeOccupancyPriorityParametersNV *>( &parameters ) );
}
# if defined( VK_USE_PLATFORM_UBM_SEC )
//=== VK_SEC_ubm_surface ===
// wrapper function for command vkCreateUbmSurfaceSEC, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateUbmSurfaceSEC.html
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<SurfaceKHR>::type
Instance::createUbmSurfaceSEC( UbmSurfaceCreateInfoSEC const & createInfo,
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS
{
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateUbmSurfaceSEC && "Function <vkCreateUbmSurfaceSEC> requires <VK_SEC_ubm_surface>" );
VULKAN_HPP_NAMESPACE::SurfaceKHR surface;
Result result = static_cast<Result>( getDispatcher()->vkCreateUbmSurfaceSEC( static_cast<VkInstance>( m_instance ),
reinterpret_cast<const VkUbmSurfaceCreateInfoSEC *>( &createInfo ),
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ),
reinterpret_cast<VkSurfaceKHR *>( &surface ) ) );
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Instance::createUbmSurfaceSEC" );
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, SurfaceKHR( *this, *reinterpret_cast<VkSurfaceKHR *>( &surface ), allocator ) );
}
// wrapper function for command vkGetPhysicalDeviceUbmPresentationSupportSEC, see
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceUbmPresentationSupportSEC.html
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::pair<Bool32, struct ubm_device>
PhysicalDevice::getUbmPresentationSupportSEC( uint32_t queueFamilyIndex ) const VULKAN_HPP_NOEXCEPT
{
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceUbmPresentationSupportSEC &&
"Function <vkGetPhysicalDeviceUbmPresentationSupportSEC> requires <VK_SEC_ubm_surface>" );
struct ubm_device ubm_device;
VkBool32 result =
getDispatcher()->vkGetPhysicalDeviceUbmPresentationSupportSEC( static_cast<VkPhysicalDevice>( m_physicalDevice ), queueFamilyIndex, &ubm_device );
return { result, ubm_device };
}
# endif /*VK_USE_PLATFORM_UBM_SEC*/
//====================
//=== RAII Helpers ===
//====================
+10
View File
@@ -9868,4 +9868,14 @@ VULKAN_HPP_STATIC_ASSERT( std::is_standard_layout<VULKAN_HPP_NAMESPACE::Physical
VULKAN_HPP_STATIC_ASSERT( std::is_nothrow_move_constructible<VULKAN_HPP_NAMESPACE::PhysicalDeviceShaderSubgroupPartitionedFeaturesEXT>::value,
"PhysicalDeviceShaderSubgroupPartitionedFeaturesEXT is not nothrow_move_constructible!" );
#if defined( VK_USE_PLATFORM_UBM_SEC )
//=== VK_SEC_ubm_surface ===
VULKAN_HPP_STATIC_ASSERT( sizeof( VULKAN_HPP_NAMESPACE::UbmSurfaceCreateInfoSEC ) == sizeof( VkUbmSurfaceCreateInfoSEC ),
"struct and wrapper have different size!" );
VULKAN_HPP_STATIC_ASSERT( std::is_standard_layout<VULKAN_HPP_NAMESPACE::UbmSurfaceCreateInfoSEC>::value, "struct wrapper is not a standard layout!" );
VULKAN_HPP_STATIC_ASSERT( std::is_nothrow_move_constructible<VULKAN_HPP_NAMESPACE::UbmSurfaceCreateInfoSEC>::value,
"UbmSurfaceCreateInfoSEC is not nothrow_move_constructible!" );
#endif /*VK_USE_PLATFORM_UBM_SEC*/
#endif
+157
View File
@@ -186352,6 +186352,163 @@ namespace VULKAN_HPP_NAMESPACE
};
#endif
#if defined( VK_USE_PLATFORM_UBM_SEC )
// wrapper struct for struct VkUbmSurfaceCreateInfoSEC, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkUbmSurfaceCreateInfoSEC.html
struct UbmSurfaceCreateInfoSEC
{
using NativeType = VkUbmSurfaceCreateInfoSEC;
static const bool allowDuplicate = false;
static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eUbmSurfaceCreateInfoSEC;
# if !defined( VULKAN_HPP_NO_CONSTRUCTORS ) && !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS )
VULKAN_HPP_CONSTEXPR UbmSurfaceCreateInfoSEC( UbmSurfaceCreateFlagsSEC flags_ = {},
struct ubm_device * ubm_device_ = {},
struct ubm_surface * ubm_surface_ = {},
const void * pNext_ = nullptr ) VULKAN_HPP_NOEXCEPT
: pNext{ pNext_ }
, flags{ flags_ }
, ubm_device{ ubm_device_ }
, ubm_surface{ ubm_surface_ }
{
}
VULKAN_HPP_CONSTEXPR UbmSurfaceCreateInfoSEC( UbmSurfaceCreateInfoSEC const & rhs ) VULKAN_HPP_NOEXCEPT = default;
UbmSurfaceCreateInfoSEC( VkUbmSurfaceCreateInfoSEC const & rhs ) VULKAN_HPP_NOEXCEPT
: UbmSurfaceCreateInfoSEC( *reinterpret_cast<UbmSurfaceCreateInfoSEC const *>( &rhs ) )
{
}
UbmSurfaceCreateInfoSEC & operator=( UbmSurfaceCreateInfoSEC const & rhs ) VULKAN_HPP_NOEXCEPT = default;
# endif /*VULKAN_HPP_NO_CONSTRUCTORS*/
UbmSurfaceCreateInfoSEC & operator=( VkUbmSurfaceCreateInfoSEC const & rhs ) VULKAN_HPP_NOEXCEPT
{
*this = *reinterpret_cast<UbmSurfaceCreateInfoSEC const *>( &rhs );
return *this;
}
# if !defined( VULKAN_HPP_NO_SETTERS ) && !defined( VULKAN_HPP_NO_STRUCT_SETTERS )
VULKAN_HPP_CONSTEXPR_14 UbmSurfaceCreateInfoSEC & setPNext( const void * pNext_ ) & VULKAN_HPP_NOEXCEPT
{
pNext = pNext_;
return *this;
}
VULKAN_HPP_CONSTEXPR_14 UbmSurfaceCreateInfoSEC && setPNext( const void * pNext_ ) && VULKAN_HPP_NOEXCEPT
{
pNext = pNext_;
return std::move( *this );
}
VULKAN_HPP_CONSTEXPR_14 UbmSurfaceCreateInfoSEC & setFlags( UbmSurfaceCreateFlagsSEC flags_ ) & VULKAN_HPP_NOEXCEPT
{
flags = flags_;
return *this;
}
VULKAN_HPP_CONSTEXPR_14 UbmSurfaceCreateInfoSEC && setFlags( UbmSurfaceCreateFlagsSEC flags_ ) && VULKAN_HPP_NOEXCEPT
{
flags = flags_;
return std::move( *this );
}
VULKAN_HPP_CONSTEXPR_14 UbmSurfaceCreateInfoSEC & setUbm_device( struct ubm_device * ubm_device_ ) & VULKAN_HPP_NOEXCEPT
{
ubm_device = ubm_device_;
return *this;
}
VULKAN_HPP_CONSTEXPR_14 UbmSurfaceCreateInfoSEC && setUbm_device( struct ubm_device * ubm_device_ ) && VULKAN_HPP_NOEXCEPT
{
ubm_device = ubm_device_;
return std::move( *this );
}
VULKAN_HPP_CONSTEXPR_14 UbmSurfaceCreateInfoSEC & setUbm_surface( struct ubm_surface * ubm_surface_ ) & VULKAN_HPP_NOEXCEPT
{
ubm_surface = ubm_surface_;
return *this;
}
VULKAN_HPP_CONSTEXPR_14 UbmSurfaceCreateInfoSEC && setUbm_surface( struct ubm_surface * ubm_surface_ ) && VULKAN_HPP_NOEXCEPT
{
ubm_surface = ubm_surface_;
return std::move( *this );
}
# endif /*VULKAN_HPP_NO_SETTERS*/
operator VkUbmSurfaceCreateInfoSEC const &() const VULKAN_HPP_NOEXCEPT
{
return *reinterpret_cast<const VkUbmSurfaceCreateInfoSEC *>( this );
}
operator VkUbmSurfaceCreateInfoSEC &() VULKAN_HPP_NOEXCEPT
{
return *reinterpret_cast<VkUbmSurfaceCreateInfoSEC *>( this );
}
operator VkUbmSurfaceCreateInfoSEC const *() const VULKAN_HPP_NOEXCEPT
{
return reinterpret_cast<const VkUbmSurfaceCreateInfoSEC *>( this );
}
operator VkUbmSurfaceCreateInfoSEC *() VULKAN_HPP_NOEXCEPT
{
return reinterpret_cast<VkUbmSurfaceCreateInfoSEC *>( this );
}
# if defined( VULKAN_HPP_USE_REFLECT )
std::tuple<StructureType const &, const void * const &, UbmSurfaceCreateFlagsSEC const &, struct ubm_device * const &, struct ubm_surface * const &>
reflect() const VULKAN_HPP_NOEXCEPT
{
return std::tie( sType, pNext, flags, ubm_device, ubm_surface );
}
# endif
# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR )
auto operator<=>( UbmSurfaceCreateInfoSEC const & ) const = default;
# else
bool operator==( UbmSurfaceCreateInfoSEC const & rhs ) const VULKAN_HPP_NOEXCEPT
{
# if defined( VULKAN_HPP_USE_REFLECT )
return this->reflect() == rhs.reflect();
# else
return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && ( ubm_device == rhs.ubm_device ) &&
( ubm_surface == rhs.ubm_surface );
# endif
}
bool operator!=( UbmSurfaceCreateInfoSEC const & rhs ) const VULKAN_HPP_NOEXCEPT
{
return !operator==( rhs );
}
# endif
public:
StructureType sType = StructureType::eUbmSurfaceCreateInfoSEC;
const void * pNext = {};
UbmSurfaceCreateFlagsSEC flags = {};
struct ubm_device * ubm_device = {};
struct ubm_surface * ubm_surface = {};
};
# if 20 <= VULKAN_HPP_CPP_VERSION
template <>
struct CppType<VkUbmSurfaceCreateInfoSEC>
{
using Type = UbmSurfaceCreateInfoSEC;
};
# endif
template <>
struct CppType<StructureType, StructureType::eUbmSurfaceCreateInfoSEC>
{
using Type = UbmSurfaceCreateInfoSEC;
};
#endif /*VK_USE_PLATFORM_UBM_SEC*/
// wrapper struct for struct VkValidationCacheCreateInfoEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkValidationCacheCreateInfoEXT.html
struct ValidationCacheCreateInfoEXT
{
+25 -1
View File
@@ -4392,6 +4392,15 @@ namespace VULKAN_HPP_NAMESPACE
return result;
}
#if defined( VK_USE_PLATFORM_UBM_SEC )
//=== VK_SEC_ubm_surface ===
VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_20 std::string to_string( UbmSurfaceCreateFlagsSEC )
{
return "{}";
}
#endif /*VK_USE_PLATFORM_UBM_SEC*/
//=======================
//=== ENUMs to_string ===
//=======================
@@ -5703,7 +5712,10 @@ namespace VULKAN_HPP_NAMESPACE
case StructureType::eComputeOccupancyPriorityParametersNV : return "ComputeOccupancyPriorityParametersNV";
case StructureType::ePhysicalDeviceComputeOccupancyPriorityFeaturesNV : return "PhysicalDeviceComputeOccupancyPriorityFeaturesNV";
case StructureType::ePhysicalDeviceShaderSubgroupPartitionedFeaturesEXT : return "PhysicalDeviceShaderSubgroupPartitionedFeaturesEXT";
default : return "invalid ( " + toHexString( static_cast<uint32_t>( value ) ) + " )";
#if defined( VK_USE_PLATFORM_UBM_SEC )
case StructureType::eUbmSurfaceCreateInfoSEC: return "UbmSurfaceCreateInfoSEC";
#endif /*VK_USE_PLATFORM_UBM_SEC*/
default: return "invalid ( " + toHexString( static_cast<uint32_t>( value ) ) + " )";
}
}
@@ -6077,6 +6089,9 @@ namespace VULKAN_HPP_NAMESPACE
case Format::eAstc6x6x6SrgbBlockEXT : return "Astc6x6x6SrgbBlockEXT";
case Format::eAstc6x6x6SfloatBlockEXT : return "Astc6x6x6SfloatBlockEXT";
case Format::eR8BoolARM : return "R8BoolARM";
case Format::eR16SfloatFpencodingBfloat16ARM : return "R16SfloatFpencodingBfloat16ARM";
case Format::eR8SfloatFpencodingFloat8E4M3ARM : return "R8SfloatFpencodingFloat8E4M3ARM";
case Format::eR8SfloatFpencodingFloat8E5M2ARM : return "R8SfloatFpencodingFloat8E5M2ARM";
case Format::eR16G16Sfixed5NV : return "R16G16Sfixed5NV";
case Format::eR10X6UintPack16ARM : return "R10X6UintPack16ARM";
case Format::eR10X6G10X6Uint2Pack16ARM : return "R10X6G10X6Uint2Pack16ARM";
@@ -11081,6 +11096,15 @@ namespace VULKAN_HPP_NAMESPACE
}
}
#if defined( VK_USE_PLATFORM_UBM_SEC )
//=== VK_SEC_ubm_surface ===
VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_20 std::string to_string( UbmSurfaceCreateFlagBitsSEC )
{
return "(void)";
}
#endif /*VK_USE_PLATFORM_UBM_SEC*/
} // namespace VULKAN_HPP_NAMESPACE
#if defined( __clang__ ) || defined( __GNUC__ )