1 // Copyright 2015-2023 The Khronos Group Inc. 2 // 3 // SPDX-License-Identifier: Apache-2.0 OR MIT 4 // 5 6 // This header is generated from the Khronos Vulkan XML API Registry. 7 8 #ifndef VULKAN_TO_STRING_HPP 9 # define VULKAN_TO_STRING_HPP 10 11 #include <vulkan/vulkan_enums.hpp> 12 13 #if __cpp_lib_format 14 # include <format> // std::format 15 #else 16 # include <sstream> // std::stringstream 17 #endif 18 19 namespace VULKAN_HPP_NAMESPACE 20 { 21 22 //========================== 23 //=== BITMASKs to_string === 24 //========================== 25 26 27 //=== VK_VERSION_1_0 === 28 to_string(FormatFeatureFlags value)29 VULKAN_HPP_INLINE std::string to_string( FormatFeatureFlags value ) 30 { 31 if ( !value ) 32 return "{}"; 33 34 std::string result; 35 if ( value & FormatFeatureFlagBits::eSampledImage ) result += "SampledImage | "; 36 if ( value & FormatFeatureFlagBits::eStorageImage ) result += "StorageImage | "; 37 if ( value & FormatFeatureFlagBits::eStorageImageAtomic ) result += "StorageImageAtomic | "; 38 if ( value & FormatFeatureFlagBits::eUniformTexelBuffer ) result += "UniformTexelBuffer | "; 39 if ( value & FormatFeatureFlagBits::eStorageTexelBuffer ) result += "StorageTexelBuffer | "; 40 if ( value & FormatFeatureFlagBits::eStorageTexelBufferAtomic ) result += "StorageTexelBufferAtomic | "; 41 if ( value & FormatFeatureFlagBits::eVertexBuffer ) result += "VertexBuffer | "; 42 if ( value & FormatFeatureFlagBits::eColorAttachment ) result += "ColorAttachment | "; 43 if ( value & FormatFeatureFlagBits::eColorAttachmentBlend ) result += "ColorAttachmentBlend | "; 44 if ( value & FormatFeatureFlagBits::eDepthStencilAttachment ) result += "DepthStencilAttachment | "; 45 if ( value & FormatFeatureFlagBits::eBlitSrc ) result += "BlitSrc | "; 46 if ( value & FormatFeatureFlagBits::eBlitDst ) result += "BlitDst | "; 47 if ( value & FormatFeatureFlagBits::eSampledImageFilterLinear ) result += "SampledImageFilterLinear | "; 48 if ( value & FormatFeatureFlagBits::eTransferSrc ) result += "TransferSrc | "; 49 if ( value & FormatFeatureFlagBits::eTransferDst ) result += "TransferDst | "; 50 if ( value & FormatFeatureFlagBits::eMidpointChromaSamples ) result += "MidpointChromaSamples | "; 51 if ( value & FormatFeatureFlagBits::eSampledImageYcbcrConversionLinearFilter ) result += "SampledImageYcbcrConversionLinearFilter | "; 52 if ( value & FormatFeatureFlagBits::eSampledImageYcbcrConversionSeparateReconstructionFilter ) result += "SampledImageYcbcrConversionSeparateReconstructionFilter | "; 53 if ( value & FormatFeatureFlagBits::eSampledImageYcbcrConversionChromaReconstructionExplicit ) result += "SampledImageYcbcrConversionChromaReconstructionExplicit | "; 54 if ( value & FormatFeatureFlagBits::eSampledImageYcbcrConversionChromaReconstructionExplicitForceable ) result += "SampledImageYcbcrConversionChromaReconstructionExplicitForceable | "; 55 if ( value & FormatFeatureFlagBits::eDisjoint ) result += "Disjoint | "; 56 if ( value & FormatFeatureFlagBits::eCositedChromaSamples ) result += "CositedChromaSamples | "; 57 if ( value & FormatFeatureFlagBits::eSampledImageFilterMinmax ) result += "SampledImageFilterMinmax | "; 58 if ( value & FormatFeatureFlagBits::eVideoDecodeOutputKHR ) result += "VideoDecodeOutputKHR | "; 59 if ( value & FormatFeatureFlagBits::eVideoDecodeDpbKHR ) result += "VideoDecodeDpbKHR | "; 60 if ( value & FormatFeatureFlagBits::eAccelerationStructureVertexBufferKHR ) result += "AccelerationStructureVertexBufferKHR | "; 61 if ( value & FormatFeatureFlagBits::eSampledImageFilterCubicEXT ) result += "SampledImageFilterCubicEXT | "; 62 if ( value & FormatFeatureFlagBits::eFragmentDensityMapEXT ) result += "FragmentDensityMapEXT | "; 63 if ( value & FormatFeatureFlagBits::eFragmentShadingRateAttachmentKHR ) result += "FragmentShadingRateAttachmentKHR | "; 64 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 65 if ( value & FormatFeatureFlagBits::eVideoEncodeInputKHR ) result += "VideoEncodeInputKHR | "; 66 if ( value & FormatFeatureFlagBits::eVideoEncodeDpbKHR ) result += "VideoEncodeDpbKHR | "; 67 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 68 69 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 70 } 71 to_string(ImageCreateFlags value)72 VULKAN_HPP_INLINE std::string to_string( ImageCreateFlags value ) 73 { 74 if ( !value ) 75 return "{}"; 76 77 std::string result; 78 if ( value & ImageCreateFlagBits::eSparseBinding ) result += "SparseBinding | "; 79 if ( value & ImageCreateFlagBits::eSparseResidency ) result += "SparseResidency | "; 80 if ( value & ImageCreateFlagBits::eSparseAliased ) result += "SparseAliased | "; 81 if ( value & ImageCreateFlagBits::eMutableFormat ) result += "MutableFormat | "; 82 if ( value & ImageCreateFlagBits::eCubeCompatible ) result += "CubeCompatible | "; 83 if ( value & ImageCreateFlagBits::eAlias ) result += "Alias | "; 84 if ( value & ImageCreateFlagBits::eSplitInstanceBindRegions ) result += "SplitInstanceBindRegions | "; 85 if ( value & ImageCreateFlagBits::e2DArrayCompatible ) result += "2DArrayCompatible | "; 86 if ( value & ImageCreateFlagBits::eBlockTexelViewCompatible ) result += "BlockTexelViewCompatible | "; 87 if ( value & ImageCreateFlagBits::eExtendedUsage ) result += "ExtendedUsage | "; 88 if ( value & ImageCreateFlagBits::eProtected ) result += "Protected | "; 89 if ( value & ImageCreateFlagBits::eDisjoint ) result += "Disjoint | "; 90 if ( value & ImageCreateFlagBits::eCornerSampledNV ) result += "CornerSampledNV | "; 91 if ( value & ImageCreateFlagBits::eSampleLocationsCompatibleDepthEXT ) result += "SampleLocationsCompatibleDepthEXT | "; 92 if ( value & ImageCreateFlagBits::eSubsampledEXT ) result += "SubsampledEXT | "; 93 if ( value & ImageCreateFlagBits::eDescriptorBufferCaptureReplayEXT ) result += "DescriptorBufferCaptureReplayEXT | "; 94 if ( value & ImageCreateFlagBits::eMultisampledRenderToSingleSampledEXT ) result += "MultisampledRenderToSingleSampledEXT | "; 95 if ( value & ImageCreateFlagBits::e2DViewCompatibleEXT ) result += "2DViewCompatibleEXT | "; 96 if ( value & ImageCreateFlagBits::eFragmentDensityMapOffsetQCOM ) result += "FragmentDensityMapOffsetQCOM | "; 97 98 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 99 } 100 to_string(ImageUsageFlags value)101 VULKAN_HPP_INLINE std::string to_string( ImageUsageFlags value ) 102 { 103 if ( !value ) 104 return "{}"; 105 106 std::string result; 107 if ( value & ImageUsageFlagBits::eTransferSrc ) result += "TransferSrc | "; 108 if ( value & ImageUsageFlagBits::eTransferDst ) result += "TransferDst | "; 109 if ( value & ImageUsageFlagBits::eSampled ) result += "Sampled | "; 110 if ( value & ImageUsageFlagBits::eStorage ) result += "Storage | "; 111 if ( value & ImageUsageFlagBits::eColorAttachment ) result += "ColorAttachment | "; 112 if ( value & ImageUsageFlagBits::eDepthStencilAttachment ) result += "DepthStencilAttachment | "; 113 if ( value & ImageUsageFlagBits::eTransientAttachment ) result += "TransientAttachment | "; 114 if ( value & ImageUsageFlagBits::eInputAttachment ) result += "InputAttachment | "; 115 if ( value & ImageUsageFlagBits::eVideoDecodeDstKHR ) result += "VideoDecodeDstKHR | "; 116 if ( value & ImageUsageFlagBits::eVideoDecodeSrcKHR ) result += "VideoDecodeSrcKHR | "; 117 if ( value & ImageUsageFlagBits::eVideoDecodeDpbKHR ) result += "VideoDecodeDpbKHR | "; 118 if ( value & ImageUsageFlagBits::eFragmentDensityMapEXT ) result += "FragmentDensityMapEXT | "; 119 if ( value & ImageUsageFlagBits::eFragmentShadingRateAttachmentKHR ) result += "FragmentShadingRateAttachmentKHR | "; 120 if ( value & ImageUsageFlagBits::eHostTransferEXT ) result += "HostTransferEXT | "; 121 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 122 if ( value & ImageUsageFlagBits::eVideoEncodeDstKHR ) result += "VideoEncodeDstKHR | "; 123 if ( value & ImageUsageFlagBits::eVideoEncodeSrcKHR ) result += "VideoEncodeSrcKHR | "; 124 if ( value & ImageUsageFlagBits::eVideoEncodeDpbKHR ) result += "VideoEncodeDpbKHR | "; 125 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 126 if ( value & ImageUsageFlagBits::eAttachmentFeedbackLoopEXT ) result += "AttachmentFeedbackLoopEXT | "; 127 if ( value & ImageUsageFlagBits::eInvocationMaskHUAWEI ) result += "InvocationMaskHUAWEI | "; 128 if ( value & ImageUsageFlagBits::eSampleWeightQCOM ) result += "SampleWeightQCOM | "; 129 if ( value & ImageUsageFlagBits::eSampleBlockMatchQCOM ) result += "SampleBlockMatchQCOM | "; 130 131 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 132 } 133 to_string(InstanceCreateFlags value)134 VULKAN_HPP_INLINE std::string to_string( InstanceCreateFlags value ) 135 { 136 if ( !value ) 137 return "{}"; 138 139 std::string result; 140 if ( value & InstanceCreateFlagBits::eEnumeratePortabilityKHR ) result += "EnumeratePortabilityKHR | "; 141 142 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 143 } 144 to_string(MemoryHeapFlags value)145 VULKAN_HPP_INLINE std::string to_string( MemoryHeapFlags value ) 146 { 147 if ( !value ) 148 return "{}"; 149 150 std::string result; 151 if ( value & MemoryHeapFlagBits::eDeviceLocal ) result += "DeviceLocal | "; 152 if ( value & MemoryHeapFlagBits::eMultiInstance ) result += "MultiInstance | "; 153 154 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 155 } 156 to_string(MemoryPropertyFlags value)157 VULKAN_HPP_INLINE std::string to_string( MemoryPropertyFlags value ) 158 { 159 if ( !value ) 160 return "{}"; 161 162 std::string result; 163 if ( value & MemoryPropertyFlagBits::eDeviceLocal ) result += "DeviceLocal | "; 164 if ( value & MemoryPropertyFlagBits::eHostVisible ) result += "HostVisible | "; 165 if ( value & MemoryPropertyFlagBits::eHostCoherent ) result += "HostCoherent | "; 166 if ( value & MemoryPropertyFlagBits::eHostCached ) result += "HostCached | "; 167 if ( value & MemoryPropertyFlagBits::eLazilyAllocated ) result += "LazilyAllocated | "; 168 if ( value & MemoryPropertyFlagBits::eProtected ) result += "Protected | "; 169 if ( value & MemoryPropertyFlagBits::eDeviceCoherentAMD ) result += "DeviceCoherentAMD | "; 170 if ( value & MemoryPropertyFlagBits::eDeviceUncachedAMD ) result += "DeviceUncachedAMD | "; 171 if ( value & MemoryPropertyFlagBits::eRdmaCapableNV ) result += "RdmaCapableNV | "; 172 173 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 174 } 175 to_string(QueueFlags value)176 VULKAN_HPP_INLINE std::string to_string( QueueFlags value ) 177 { 178 if ( !value ) 179 return "{}"; 180 181 std::string result; 182 if ( value & QueueFlagBits::eGraphics ) result += "Graphics | "; 183 if ( value & QueueFlagBits::eCompute ) result += "Compute | "; 184 if ( value & QueueFlagBits::eTransfer ) result += "Transfer | "; 185 if ( value & QueueFlagBits::eSparseBinding ) result += "SparseBinding | "; 186 if ( value & QueueFlagBits::eProtected ) result += "Protected | "; 187 if ( value & QueueFlagBits::eVideoDecodeKHR ) result += "VideoDecodeKHR | "; 188 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 189 if ( value & QueueFlagBits::eVideoEncodeKHR ) result += "VideoEncodeKHR | "; 190 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 191 if ( value & QueueFlagBits::eOpticalFlowNV ) result += "OpticalFlowNV | "; 192 193 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 194 } 195 to_string(SampleCountFlags value)196 VULKAN_HPP_INLINE std::string to_string( SampleCountFlags value ) 197 { 198 if ( !value ) 199 return "{}"; 200 201 std::string result; 202 if ( value & SampleCountFlagBits::e1 ) result += "1 | "; 203 if ( value & SampleCountFlagBits::e2 ) result += "2 | "; 204 if ( value & SampleCountFlagBits::e4 ) result += "4 | "; 205 if ( value & SampleCountFlagBits::e8 ) result += "8 | "; 206 if ( value & SampleCountFlagBits::e16 ) result += "16 | "; 207 if ( value & SampleCountFlagBits::e32 ) result += "32 | "; 208 if ( value & SampleCountFlagBits::e64 ) result += "64 | "; 209 210 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 211 } 212 to_string(DeviceCreateFlags)213 VULKAN_HPP_INLINE std::string to_string( DeviceCreateFlags ) 214 { 215 return "{}"; 216 } 217 to_string(DeviceQueueCreateFlags value)218 VULKAN_HPP_INLINE std::string to_string( DeviceQueueCreateFlags value ) 219 { 220 if ( !value ) 221 return "{}"; 222 223 std::string result; 224 if ( value & DeviceQueueCreateFlagBits::eProtected ) result += "Protected | "; 225 226 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 227 } 228 to_string(PipelineStageFlags value)229 VULKAN_HPP_INLINE std::string to_string( PipelineStageFlags value ) 230 { 231 if ( !value ) 232 return "None"; 233 234 std::string result; 235 if ( value & PipelineStageFlagBits::eTopOfPipe ) result += "TopOfPipe | "; 236 if ( value & PipelineStageFlagBits::eDrawIndirect ) result += "DrawIndirect | "; 237 if ( value & PipelineStageFlagBits::eVertexInput ) result += "VertexInput | "; 238 if ( value & PipelineStageFlagBits::eVertexShader ) result += "VertexShader | "; 239 if ( value & PipelineStageFlagBits::eTessellationControlShader ) result += "TessellationControlShader | "; 240 if ( value & PipelineStageFlagBits::eTessellationEvaluationShader ) result += "TessellationEvaluationShader | "; 241 if ( value & PipelineStageFlagBits::eGeometryShader ) result += "GeometryShader | "; 242 if ( value & PipelineStageFlagBits::eFragmentShader ) result += "FragmentShader | "; 243 if ( value & PipelineStageFlagBits::eEarlyFragmentTests ) result += "EarlyFragmentTests | "; 244 if ( value & PipelineStageFlagBits::eLateFragmentTests ) result += "LateFragmentTests | "; 245 if ( value & PipelineStageFlagBits::eColorAttachmentOutput ) result += "ColorAttachmentOutput | "; 246 if ( value & PipelineStageFlagBits::eComputeShader ) result += "ComputeShader | "; 247 if ( value & PipelineStageFlagBits::eTransfer ) result += "Transfer | "; 248 if ( value & PipelineStageFlagBits::eBottomOfPipe ) result += "BottomOfPipe | "; 249 if ( value & PipelineStageFlagBits::eHost ) result += "Host | "; 250 if ( value & PipelineStageFlagBits::eAllGraphics ) result += "AllGraphics | "; 251 if ( value & PipelineStageFlagBits::eAllCommands ) result += "AllCommands | "; 252 if ( value & PipelineStageFlagBits::eTransformFeedbackEXT ) result += "TransformFeedbackEXT | "; 253 if ( value & PipelineStageFlagBits::eConditionalRenderingEXT ) result += "ConditionalRenderingEXT | "; 254 if ( value & PipelineStageFlagBits::eAccelerationStructureBuildKHR ) result += "AccelerationStructureBuildKHR | "; 255 if ( value & PipelineStageFlagBits::eRayTracingShaderKHR ) result += "RayTracingShaderKHR | "; 256 if ( value & PipelineStageFlagBits::eFragmentDensityProcessEXT ) result += "FragmentDensityProcessEXT | "; 257 if ( value & PipelineStageFlagBits::eFragmentShadingRateAttachmentKHR ) result += "FragmentShadingRateAttachmentKHR | "; 258 if ( value & PipelineStageFlagBits::eCommandPreprocessNV ) result += "CommandPreprocessNV | "; 259 if ( value & PipelineStageFlagBits::eTaskShaderEXT ) result += "TaskShaderEXT | "; 260 if ( value & PipelineStageFlagBits::eMeshShaderEXT ) result += "MeshShaderEXT | "; 261 262 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 263 } 264 to_string(MemoryMapFlags)265 VULKAN_HPP_INLINE std::string to_string( MemoryMapFlags ) 266 { 267 return "{}"; 268 } 269 to_string(ImageAspectFlags value)270 VULKAN_HPP_INLINE std::string to_string( ImageAspectFlags value ) 271 { 272 if ( !value ) 273 return "None"; 274 275 std::string result; 276 if ( value & ImageAspectFlagBits::eColor ) result += "Color | "; 277 if ( value & ImageAspectFlagBits::eDepth ) result += "Depth | "; 278 if ( value & ImageAspectFlagBits::eStencil ) result += "Stencil | "; 279 if ( value & ImageAspectFlagBits::eMetadata ) result += "Metadata | "; 280 if ( value & ImageAspectFlagBits::ePlane0 ) result += "Plane0 | "; 281 if ( value & ImageAspectFlagBits::ePlane1 ) result += "Plane1 | "; 282 if ( value & ImageAspectFlagBits::ePlane2 ) result += "Plane2 | "; 283 if ( value & ImageAspectFlagBits::eMemoryPlane0EXT ) result += "MemoryPlane0EXT | "; 284 if ( value & ImageAspectFlagBits::eMemoryPlane1EXT ) result += "MemoryPlane1EXT | "; 285 if ( value & ImageAspectFlagBits::eMemoryPlane2EXT ) result += "MemoryPlane2EXT | "; 286 if ( value & ImageAspectFlagBits::eMemoryPlane3EXT ) result += "MemoryPlane3EXT | "; 287 288 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 289 } 290 to_string(SparseImageFormatFlags value)291 VULKAN_HPP_INLINE std::string to_string( SparseImageFormatFlags value ) 292 { 293 if ( !value ) 294 return "{}"; 295 296 std::string result; 297 if ( value & SparseImageFormatFlagBits::eSingleMiptail ) result += "SingleMiptail | "; 298 if ( value & SparseImageFormatFlagBits::eAlignedMipSize ) result += "AlignedMipSize | "; 299 if ( value & SparseImageFormatFlagBits::eNonstandardBlockSize ) result += "NonstandardBlockSize | "; 300 301 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 302 } 303 to_string(SparseMemoryBindFlags value)304 VULKAN_HPP_INLINE std::string to_string( SparseMemoryBindFlags value ) 305 { 306 if ( !value ) 307 return "{}"; 308 309 std::string result; 310 if ( value & SparseMemoryBindFlagBits::eMetadata ) result += "Metadata | "; 311 312 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 313 } 314 to_string(FenceCreateFlags value)315 VULKAN_HPP_INLINE std::string to_string( FenceCreateFlags value ) 316 { 317 if ( !value ) 318 return "{}"; 319 320 std::string result; 321 if ( value & FenceCreateFlagBits::eSignaled ) result += "Signaled | "; 322 323 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 324 } 325 to_string(SemaphoreCreateFlags)326 VULKAN_HPP_INLINE std::string to_string( SemaphoreCreateFlags ) 327 { 328 return "{}"; 329 } 330 to_string(EventCreateFlags value)331 VULKAN_HPP_INLINE std::string to_string( EventCreateFlags value ) 332 { 333 if ( !value ) 334 return "{}"; 335 336 std::string result; 337 if ( value & EventCreateFlagBits::eDeviceOnly ) result += "DeviceOnly | "; 338 339 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 340 } 341 to_string(QueryPipelineStatisticFlags value)342 VULKAN_HPP_INLINE std::string to_string( QueryPipelineStatisticFlags value ) 343 { 344 if ( !value ) 345 return "{}"; 346 347 std::string result; 348 if ( value & QueryPipelineStatisticFlagBits::eInputAssemblyVertices ) result += "InputAssemblyVertices | "; 349 if ( value & QueryPipelineStatisticFlagBits::eInputAssemblyPrimitives ) result += "InputAssemblyPrimitives | "; 350 if ( value & QueryPipelineStatisticFlagBits::eVertexShaderInvocations ) result += "VertexShaderInvocations | "; 351 if ( value & QueryPipelineStatisticFlagBits::eGeometryShaderInvocations ) result += "GeometryShaderInvocations | "; 352 if ( value & QueryPipelineStatisticFlagBits::eGeometryShaderPrimitives ) result += "GeometryShaderPrimitives | "; 353 if ( value & QueryPipelineStatisticFlagBits::eClippingInvocations ) result += "ClippingInvocations | "; 354 if ( value & QueryPipelineStatisticFlagBits::eClippingPrimitives ) result += "ClippingPrimitives | "; 355 if ( value & QueryPipelineStatisticFlagBits::eFragmentShaderInvocations ) result += "FragmentShaderInvocations | "; 356 if ( value & QueryPipelineStatisticFlagBits::eTessellationControlShaderPatches ) result += "TessellationControlShaderPatches | "; 357 if ( value & QueryPipelineStatisticFlagBits::eTessellationEvaluationShaderInvocations ) result += "TessellationEvaluationShaderInvocations | "; 358 if ( value & QueryPipelineStatisticFlagBits::eComputeShaderInvocations ) result += "ComputeShaderInvocations | "; 359 if ( value & QueryPipelineStatisticFlagBits::eTaskShaderInvocationsEXT ) result += "TaskShaderInvocationsEXT | "; 360 if ( value & QueryPipelineStatisticFlagBits::eMeshShaderInvocationsEXT ) result += "MeshShaderInvocationsEXT | "; 361 if ( value & QueryPipelineStatisticFlagBits::eClusterCullingShaderInvocationsHUAWEI ) result += "ClusterCullingShaderInvocationsHUAWEI | "; 362 363 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 364 } 365 to_string(QueryPoolCreateFlags)366 VULKAN_HPP_INLINE std::string to_string( QueryPoolCreateFlags ) 367 { 368 return "{}"; 369 } 370 to_string(QueryResultFlags value)371 VULKAN_HPP_INLINE std::string to_string( QueryResultFlags value ) 372 { 373 if ( !value ) 374 return "{}"; 375 376 std::string result; 377 if ( value & QueryResultFlagBits::e64 ) result += "64 | "; 378 if ( value & QueryResultFlagBits::eWait ) result += "Wait | "; 379 if ( value & QueryResultFlagBits::eWithAvailability ) result += "WithAvailability | "; 380 if ( value & QueryResultFlagBits::ePartial ) result += "Partial | "; 381 if ( value & QueryResultFlagBits::eWithStatusKHR ) result += "WithStatusKHR | "; 382 383 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 384 } 385 to_string(BufferCreateFlags value)386 VULKAN_HPP_INLINE std::string to_string( BufferCreateFlags value ) 387 { 388 if ( !value ) 389 return "{}"; 390 391 std::string result; 392 if ( value & BufferCreateFlagBits::eSparseBinding ) result += "SparseBinding | "; 393 if ( value & BufferCreateFlagBits::eSparseResidency ) result += "SparseResidency | "; 394 if ( value & BufferCreateFlagBits::eSparseAliased ) result += "SparseAliased | "; 395 if ( value & BufferCreateFlagBits::eProtected ) result += "Protected | "; 396 if ( value & BufferCreateFlagBits::eDeviceAddressCaptureReplay ) result += "DeviceAddressCaptureReplay | "; 397 if ( value & BufferCreateFlagBits::eDescriptorBufferCaptureReplayEXT ) result += "DescriptorBufferCaptureReplayEXT | "; 398 399 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 400 } 401 to_string(BufferUsageFlags value)402 VULKAN_HPP_INLINE std::string to_string( BufferUsageFlags value ) 403 { 404 if ( !value ) 405 return "{}"; 406 407 std::string result; 408 if ( value & BufferUsageFlagBits::eTransferSrc ) result += "TransferSrc | "; 409 if ( value & BufferUsageFlagBits::eTransferDst ) result += "TransferDst | "; 410 if ( value & BufferUsageFlagBits::eUniformTexelBuffer ) result += "UniformTexelBuffer | "; 411 if ( value & BufferUsageFlagBits::eStorageTexelBuffer ) result += "StorageTexelBuffer | "; 412 if ( value & BufferUsageFlagBits::eUniformBuffer ) result += "UniformBuffer | "; 413 if ( value & BufferUsageFlagBits::eStorageBuffer ) result += "StorageBuffer | "; 414 if ( value & BufferUsageFlagBits::eIndexBuffer ) result += "IndexBuffer | "; 415 if ( value & BufferUsageFlagBits::eVertexBuffer ) result += "VertexBuffer | "; 416 if ( value & BufferUsageFlagBits::eIndirectBuffer ) result += "IndirectBuffer | "; 417 if ( value & BufferUsageFlagBits::eShaderDeviceAddress ) result += "ShaderDeviceAddress | "; 418 if ( value & BufferUsageFlagBits::eVideoDecodeSrcKHR ) result += "VideoDecodeSrcKHR | "; 419 if ( value & BufferUsageFlagBits::eVideoDecodeDstKHR ) result += "VideoDecodeDstKHR | "; 420 if ( value & BufferUsageFlagBits::eTransformFeedbackBufferEXT ) result += "TransformFeedbackBufferEXT | "; 421 if ( value & BufferUsageFlagBits::eTransformFeedbackCounterBufferEXT ) result += "TransformFeedbackCounterBufferEXT | "; 422 if ( value & BufferUsageFlagBits::eConditionalRenderingEXT ) result += "ConditionalRenderingEXT | "; 423 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 424 if ( value & BufferUsageFlagBits::eExecutionGraphScratchAMDX ) result += "ExecutionGraphScratchAMDX | "; 425 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 426 if ( value & BufferUsageFlagBits::eAccelerationStructureBuildInputReadOnlyKHR ) result += "AccelerationStructureBuildInputReadOnlyKHR | "; 427 if ( value & BufferUsageFlagBits::eAccelerationStructureStorageKHR ) result += "AccelerationStructureStorageKHR | "; 428 if ( value & BufferUsageFlagBits::eShaderBindingTableKHR ) result += "ShaderBindingTableKHR | "; 429 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 430 if ( value & BufferUsageFlagBits::eVideoEncodeDstKHR ) result += "VideoEncodeDstKHR | "; 431 if ( value & BufferUsageFlagBits::eVideoEncodeSrcKHR ) result += "VideoEncodeSrcKHR | "; 432 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 433 if ( value & BufferUsageFlagBits::eSamplerDescriptorBufferEXT ) result += "SamplerDescriptorBufferEXT | "; 434 if ( value & BufferUsageFlagBits::eResourceDescriptorBufferEXT ) result += "ResourceDescriptorBufferEXT | "; 435 if ( value & BufferUsageFlagBits::ePushDescriptorsDescriptorBufferEXT ) result += "PushDescriptorsDescriptorBufferEXT | "; 436 if ( value & BufferUsageFlagBits::eMicromapBuildInputReadOnlyEXT ) result += "MicromapBuildInputReadOnlyEXT | "; 437 if ( value & BufferUsageFlagBits::eMicromapStorageEXT ) result += "MicromapStorageEXT | "; 438 439 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 440 } 441 to_string(BufferViewCreateFlags)442 VULKAN_HPP_INLINE std::string to_string( BufferViewCreateFlags ) 443 { 444 return "{}"; 445 } 446 to_string(ImageViewCreateFlags value)447 VULKAN_HPP_INLINE std::string to_string( ImageViewCreateFlags value ) 448 { 449 if ( !value ) 450 return "{}"; 451 452 std::string result; 453 if ( value & ImageViewCreateFlagBits::eFragmentDensityMapDynamicEXT ) result += "FragmentDensityMapDynamicEXT | "; 454 if ( value & ImageViewCreateFlagBits::eDescriptorBufferCaptureReplayEXT ) result += "DescriptorBufferCaptureReplayEXT | "; 455 if ( value & ImageViewCreateFlagBits::eFragmentDensityMapDeferredEXT ) result += "FragmentDensityMapDeferredEXT | "; 456 457 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 458 } 459 to_string(ShaderModuleCreateFlags)460 VULKAN_HPP_INLINE std::string to_string( ShaderModuleCreateFlags ) 461 { 462 return "{}"; 463 } 464 to_string(PipelineCacheCreateFlags value)465 VULKAN_HPP_INLINE std::string to_string( PipelineCacheCreateFlags value ) 466 { 467 if ( !value ) 468 return "{}"; 469 470 std::string result; 471 if ( value & PipelineCacheCreateFlagBits::eExternallySynchronized ) result += "ExternallySynchronized | "; 472 473 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 474 } 475 to_string(ColorComponentFlags value)476 VULKAN_HPP_INLINE std::string to_string( ColorComponentFlags value ) 477 { 478 if ( !value ) 479 return "{}"; 480 481 std::string result; 482 if ( value & ColorComponentFlagBits::eR ) result += "R | "; 483 if ( value & ColorComponentFlagBits::eG ) result += "G | "; 484 if ( value & ColorComponentFlagBits::eB ) result += "B | "; 485 if ( value & ColorComponentFlagBits::eA ) result += "A | "; 486 487 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 488 } 489 to_string(CullModeFlags value)490 VULKAN_HPP_INLINE std::string to_string( CullModeFlags value ) 491 { 492 if ( !value ) 493 return "None"; 494 495 std::string result; 496 if ( value & CullModeFlagBits::eFront ) result += "Front | "; 497 if ( value & CullModeFlagBits::eBack ) result += "Back | "; 498 499 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 500 } 501 to_string(PipelineColorBlendStateCreateFlags value)502 VULKAN_HPP_INLINE std::string to_string( PipelineColorBlendStateCreateFlags value ) 503 { 504 if ( !value ) 505 return "{}"; 506 507 std::string result; 508 if ( value & PipelineColorBlendStateCreateFlagBits::eRasterizationOrderAttachmentAccessEXT ) result += "RasterizationOrderAttachmentAccessEXT | "; 509 510 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 511 } 512 to_string(PipelineCreateFlags value)513 VULKAN_HPP_INLINE std::string to_string( PipelineCreateFlags value ) 514 { 515 if ( !value ) 516 return "{}"; 517 518 std::string result; 519 if ( value & PipelineCreateFlagBits::eDisableOptimization ) result += "DisableOptimization | "; 520 if ( value & PipelineCreateFlagBits::eAllowDerivatives ) result += "AllowDerivatives | "; 521 if ( value & PipelineCreateFlagBits::eDerivative ) result += "Derivative | "; 522 if ( value & PipelineCreateFlagBits::eViewIndexFromDeviceIndex ) result += "ViewIndexFromDeviceIndex | "; 523 if ( value & PipelineCreateFlagBits::eDispatchBase ) result += "DispatchBase | "; 524 if ( value & PipelineCreateFlagBits::eFailOnPipelineCompileRequired ) result += "FailOnPipelineCompileRequired | "; 525 if ( value & PipelineCreateFlagBits::eEarlyReturnOnFailure ) result += "EarlyReturnOnFailure | "; 526 if ( value & PipelineCreateFlagBits::eRenderingFragmentShadingRateAttachmentKHR ) result += "RenderingFragmentShadingRateAttachmentKHR | "; 527 if ( value & PipelineCreateFlagBits::eRenderingFragmentDensityMapAttachmentEXT ) result += "RenderingFragmentDensityMapAttachmentEXT | "; 528 if ( value & PipelineCreateFlagBits::eRayTracingNoNullAnyHitShadersKHR ) result += "RayTracingNoNullAnyHitShadersKHR | "; 529 if ( value & PipelineCreateFlagBits::eRayTracingNoNullClosestHitShadersKHR ) result += "RayTracingNoNullClosestHitShadersKHR | "; 530 if ( value & PipelineCreateFlagBits::eRayTracingNoNullMissShadersKHR ) result += "RayTracingNoNullMissShadersKHR | "; 531 if ( value & PipelineCreateFlagBits::eRayTracingNoNullIntersectionShadersKHR ) result += "RayTracingNoNullIntersectionShadersKHR | "; 532 if ( value & PipelineCreateFlagBits::eRayTracingSkipTrianglesKHR ) result += "RayTracingSkipTrianglesKHR | "; 533 if ( value & PipelineCreateFlagBits::eRayTracingSkipAabbsKHR ) result += "RayTracingSkipAabbsKHR | "; 534 if ( value & PipelineCreateFlagBits::eRayTracingShaderGroupHandleCaptureReplayKHR ) result += "RayTracingShaderGroupHandleCaptureReplayKHR | "; 535 if ( value & PipelineCreateFlagBits::eDeferCompileNV ) result += "DeferCompileNV | "; 536 if ( value & PipelineCreateFlagBits::eCaptureStatisticsKHR ) result += "CaptureStatisticsKHR | "; 537 if ( value & PipelineCreateFlagBits::eCaptureInternalRepresentationsKHR ) result += "CaptureInternalRepresentationsKHR | "; 538 if ( value & PipelineCreateFlagBits::eIndirectBindableNV ) result += "IndirectBindableNV | "; 539 if ( value & PipelineCreateFlagBits::eLibraryKHR ) result += "LibraryKHR | "; 540 if ( value & PipelineCreateFlagBits::eDescriptorBufferEXT ) result += "DescriptorBufferEXT | "; 541 if ( value & PipelineCreateFlagBits::eRetainLinkTimeOptimizationInfoEXT ) result += "RetainLinkTimeOptimizationInfoEXT | "; 542 if ( value & PipelineCreateFlagBits::eLinkTimeOptimizationEXT ) result += "LinkTimeOptimizationEXT | "; 543 if ( value & PipelineCreateFlagBits::eRayTracingAllowMotionNV ) result += "RayTracingAllowMotionNV | "; 544 if ( value & PipelineCreateFlagBits::eColorAttachmentFeedbackLoopEXT ) result += "ColorAttachmentFeedbackLoopEXT | "; 545 if ( value & PipelineCreateFlagBits::eDepthStencilAttachmentFeedbackLoopEXT ) result += "DepthStencilAttachmentFeedbackLoopEXT | "; 546 if ( value & PipelineCreateFlagBits::eRayTracingOpacityMicromapEXT ) result += "RayTracingOpacityMicromapEXT | "; 547 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 548 if ( value & PipelineCreateFlagBits::eRayTracingDisplacementMicromapNV ) result += "RayTracingDisplacementMicromapNV | "; 549 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 550 if ( value & PipelineCreateFlagBits::eNoProtectedAccessEXT ) result += "NoProtectedAccessEXT | "; 551 if ( value & PipelineCreateFlagBits::eProtectedAccessOnlyEXT ) result += "ProtectedAccessOnlyEXT | "; 552 553 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 554 } 555 to_string(PipelineDepthStencilStateCreateFlags value)556 VULKAN_HPP_INLINE std::string to_string( PipelineDepthStencilStateCreateFlags value ) 557 { 558 if ( !value ) 559 return "{}"; 560 561 std::string result; 562 if ( value & PipelineDepthStencilStateCreateFlagBits::eRasterizationOrderAttachmentDepthAccessEXT ) result += "RasterizationOrderAttachmentDepthAccessEXT | "; 563 if ( value & PipelineDepthStencilStateCreateFlagBits::eRasterizationOrderAttachmentStencilAccessEXT ) result += "RasterizationOrderAttachmentStencilAccessEXT | "; 564 565 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 566 } 567 to_string(PipelineDynamicStateCreateFlags)568 VULKAN_HPP_INLINE std::string to_string( PipelineDynamicStateCreateFlags ) 569 { 570 return "{}"; 571 } 572 to_string(PipelineInputAssemblyStateCreateFlags)573 VULKAN_HPP_INLINE std::string to_string( PipelineInputAssemblyStateCreateFlags ) 574 { 575 return "{}"; 576 } 577 to_string(PipelineLayoutCreateFlags value)578 VULKAN_HPP_INLINE std::string to_string( PipelineLayoutCreateFlags value ) 579 { 580 if ( !value ) 581 return "{}"; 582 583 std::string result; 584 if ( value & PipelineLayoutCreateFlagBits::eIndependentSetsEXT ) result += "IndependentSetsEXT | "; 585 586 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 587 } 588 to_string(PipelineMultisampleStateCreateFlags)589 VULKAN_HPP_INLINE std::string to_string( PipelineMultisampleStateCreateFlags ) 590 { 591 return "{}"; 592 } 593 to_string(PipelineRasterizationStateCreateFlags)594 VULKAN_HPP_INLINE std::string to_string( PipelineRasterizationStateCreateFlags ) 595 { 596 return "{}"; 597 } 598 to_string(PipelineShaderStageCreateFlags value)599 VULKAN_HPP_INLINE std::string to_string( PipelineShaderStageCreateFlags value ) 600 { 601 if ( !value ) 602 return "{}"; 603 604 std::string result; 605 if ( value & PipelineShaderStageCreateFlagBits::eAllowVaryingSubgroupSize ) result += "AllowVaryingSubgroupSize | "; 606 if ( value & PipelineShaderStageCreateFlagBits::eRequireFullSubgroups ) result += "RequireFullSubgroups | "; 607 608 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 609 } 610 to_string(PipelineTessellationStateCreateFlags)611 VULKAN_HPP_INLINE std::string to_string( PipelineTessellationStateCreateFlags ) 612 { 613 return "{}"; 614 } 615 to_string(PipelineVertexInputStateCreateFlags)616 VULKAN_HPP_INLINE std::string to_string( PipelineVertexInputStateCreateFlags ) 617 { 618 return "{}"; 619 } 620 to_string(PipelineViewportStateCreateFlags)621 VULKAN_HPP_INLINE std::string to_string( PipelineViewportStateCreateFlags ) 622 { 623 return "{}"; 624 } 625 to_string(ShaderStageFlags value)626 VULKAN_HPP_INLINE std::string to_string( ShaderStageFlags value ) 627 { 628 if ( !value ) 629 return "{}"; 630 631 std::string result; 632 if ( value & ShaderStageFlagBits::eVertex ) result += "Vertex | "; 633 if ( value & ShaderStageFlagBits::eTessellationControl ) result += "TessellationControl | "; 634 if ( value & ShaderStageFlagBits::eTessellationEvaluation ) result += "TessellationEvaluation | "; 635 if ( value & ShaderStageFlagBits::eGeometry ) result += "Geometry | "; 636 if ( value & ShaderStageFlagBits::eFragment ) result += "Fragment | "; 637 if ( value & ShaderStageFlagBits::eCompute ) result += "Compute | "; 638 if ( value & ShaderStageFlagBits::eRaygenKHR ) result += "RaygenKHR | "; 639 if ( value & ShaderStageFlagBits::eAnyHitKHR ) result += "AnyHitKHR | "; 640 if ( value & ShaderStageFlagBits::eClosestHitKHR ) result += "ClosestHitKHR | "; 641 if ( value & ShaderStageFlagBits::eMissKHR ) result += "MissKHR | "; 642 if ( value & ShaderStageFlagBits::eIntersectionKHR ) result += "IntersectionKHR | "; 643 if ( value & ShaderStageFlagBits::eCallableKHR ) result += "CallableKHR | "; 644 if ( value & ShaderStageFlagBits::eTaskEXT ) result += "TaskEXT | "; 645 if ( value & ShaderStageFlagBits::eMeshEXT ) result += "MeshEXT | "; 646 if ( value & ShaderStageFlagBits::eSubpassShadingHUAWEI ) result += "SubpassShadingHUAWEI | "; 647 if ( value & ShaderStageFlagBits::eClusterCullingHUAWEI ) result += "ClusterCullingHUAWEI | "; 648 649 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 650 } 651 to_string(SamplerCreateFlags value)652 VULKAN_HPP_INLINE std::string to_string( SamplerCreateFlags value ) 653 { 654 if ( !value ) 655 return "{}"; 656 657 std::string result; 658 if ( value & SamplerCreateFlagBits::eSubsampledEXT ) result += "SubsampledEXT | "; 659 if ( value & SamplerCreateFlagBits::eSubsampledCoarseReconstructionEXT ) result += "SubsampledCoarseReconstructionEXT | "; 660 if ( value & SamplerCreateFlagBits::eDescriptorBufferCaptureReplayEXT ) result += "DescriptorBufferCaptureReplayEXT | "; 661 if ( value & SamplerCreateFlagBits::eNonSeamlessCubeMapEXT ) result += "NonSeamlessCubeMapEXT | "; 662 if ( value & SamplerCreateFlagBits::eImageProcessingQCOM ) result += "ImageProcessingQCOM | "; 663 664 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 665 } 666 to_string(DescriptorPoolCreateFlags value)667 VULKAN_HPP_INLINE std::string to_string( DescriptorPoolCreateFlags value ) 668 { 669 if ( !value ) 670 return "{}"; 671 672 std::string result; 673 if ( value & DescriptorPoolCreateFlagBits::eFreeDescriptorSet ) result += "FreeDescriptorSet | "; 674 if ( value & DescriptorPoolCreateFlagBits::eUpdateAfterBind ) result += "UpdateAfterBind | "; 675 if ( value & DescriptorPoolCreateFlagBits::eHostOnlyEXT ) result += "HostOnlyEXT | "; 676 if ( value & DescriptorPoolCreateFlagBits::eAllowOverallocationSetsNV ) result += "AllowOverallocationSetsNV | "; 677 if ( value & DescriptorPoolCreateFlagBits::eAllowOverallocationPoolsNV ) result += "AllowOverallocationPoolsNV | "; 678 679 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 680 } 681 to_string(DescriptorPoolResetFlags)682 VULKAN_HPP_INLINE std::string to_string( DescriptorPoolResetFlags ) 683 { 684 return "{}"; 685 } 686 to_string(DescriptorSetLayoutCreateFlags value)687 VULKAN_HPP_INLINE std::string to_string( DescriptorSetLayoutCreateFlags value ) 688 { 689 if ( !value ) 690 return "{}"; 691 692 std::string result; 693 if ( value & DescriptorSetLayoutCreateFlagBits::eUpdateAfterBindPool ) result += "UpdateAfterBindPool | "; 694 if ( value & DescriptorSetLayoutCreateFlagBits::ePushDescriptorKHR ) result += "PushDescriptorKHR | "; 695 if ( value & DescriptorSetLayoutCreateFlagBits::eDescriptorBufferEXT ) result += "DescriptorBufferEXT | "; 696 if ( value & DescriptorSetLayoutCreateFlagBits::eEmbeddedImmutableSamplersEXT ) result += "EmbeddedImmutableSamplersEXT | "; 697 if ( value & DescriptorSetLayoutCreateFlagBits::eIndirectBindableNV ) result += "IndirectBindableNV | "; 698 if ( value & DescriptorSetLayoutCreateFlagBits::eHostOnlyPoolEXT ) result += "HostOnlyPoolEXT | "; 699 700 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 701 } 702 to_string(AccessFlags value)703 VULKAN_HPP_INLINE std::string to_string( AccessFlags value ) 704 { 705 if ( !value ) 706 return "None"; 707 708 std::string result; 709 if ( value & AccessFlagBits::eIndirectCommandRead ) result += "IndirectCommandRead | "; 710 if ( value & AccessFlagBits::eIndexRead ) result += "IndexRead | "; 711 if ( value & AccessFlagBits::eVertexAttributeRead ) result += "VertexAttributeRead | "; 712 if ( value & AccessFlagBits::eUniformRead ) result += "UniformRead | "; 713 if ( value & AccessFlagBits::eInputAttachmentRead ) result += "InputAttachmentRead | "; 714 if ( value & AccessFlagBits::eShaderRead ) result += "ShaderRead | "; 715 if ( value & AccessFlagBits::eShaderWrite ) result += "ShaderWrite | "; 716 if ( value & AccessFlagBits::eColorAttachmentRead ) result += "ColorAttachmentRead | "; 717 if ( value & AccessFlagBits::eColorAttachmentWrite ) result += "ColorAttachmentWrite | "; 718 if ( value & AccessFlagBits::eDepthStencilAttachmentRead ) result += "DepthStencilAttachmentRead | "; 719 if ( value & AccessFlagBits::eDepthStencilAttachmentWrite ) result += "DepthStencilAttachmentWrite | "; 720 if ( value & AccessFlagBits::eTransferRead ) result += "TransferRead | "; 721 if ( value & AccessFlagBits::eTransferWrite ) result += "TransferWrite | "; 722 if ( value & AccessFlagBits::eHostRead ) result += "HostRead | "; 723 if ( value & AccessFlagBits::eHostWrite ) result += "HostWrite | "; 724 if ( value & AccessFlagBits::eMemoryRead ) result += "MemoryRead | "; 725 if ( value & AccessFlagBits::eMemoryWrite ) result += "MemoryWrite | "; 726 if ( value & AccessFlagBits::eTransformFeedbackWriteEXT ) result += "TransformFeedbackWriteEXT | "; 727 if ( value & AccessFlagBits::eTransformFeedbackCounterReadEXT ) result += "TransformFeedbackCounterReadEXT | "; 728 if ( value & AccessFlagBits::eTransformFeedbackCounterWriteEXT ) result += "TransformFeedbackCounterWriteEXT | "; 729 if ( value & AccessFlagBits::eConditionalRenderingReadEXT ) result += "ConditionalRenderingReadEXT | "; 730 if ( value & AccessFlagBits::eColorAttachmentReadNoncoherentEXT ) result += "ColorAttachmentReadNoncoherentEXT | "; 731 if ( value & AccessFlagBits::eAccelerationStructureReadKHR ) result += "AccelerationStructureReadKHR | "; 732 if ( value & AccessFlagBits::eAccelerationStructureWriteKHR ) result += "AccelerationStructureWriteKHR | "; 733 if ( value & AccessFlagBits::eFragmentDensityMapReadEXT ) result += "FragmentDensityMapReadEXT | "; 734 if ( value & AccessFlagBits::eFragmentShadingRateAttachmentReadKHR ) result += "FragmentShadingRateAttachmentReadKHR | "; 735 if ( value & AccessFlagBits::eCommandPreprocessReadNV ) result += "CommandPreprocessReadNV | "; 736 if ( value & AccessFlagBits::eCommandPreprocessWriteNV ) result += "CommandPreprocessWriteNV | "; 737 738 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 739 } 740 to_string(AttachmentDescriptionFlags value)741 VULKAN_HPP_INLINE std::string to_string( AttachmentDescriptionFlags value ) 742 { 743 if ( !value ) 744 return "{}"; 745 746 std::string result; 747 if ( value & AttachmentDescriptionFlagBits::eMayAlias ) result += "MayAlias | "; 748 749 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 750 } 751 to_string(DependencyFlags value)752 VULKAN_HPP_INLINE std::string to_string( DependencyFlags value ) 753 { 754 if ( !value ) 755 return "{}"; 756 757 std::string result; 758 if ( value & DependencyFlagBits::eByRegion ) result += "ByRegion | "; 759 if ( value & DependencyFlagBits::eDeviceGroup ) result += "DeviceGroup | "; 760 if ( value & DependencyFlagBits::eViewLocal ) result += "ViewLocal | "; 761 if ( value & DependencyFlagBits::eFeedbackLoopEXT ) result += "FeedbackLoopEXT | "; 762 763 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 764 } 765 to_string(FramebufferCreateFlags value)766 VULKAN_HPP_INLINE std::string to_string( FramebufferCreateFlags value ) 767 { 768 if ( !value ) 769 return "{}"; 770 771 std::string result; 772 if ( value & FramebufferCreateFlagBits::eImageless ) result += "Imageless | "; 773 774 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 775 } 776 to_string(RenderPassCreateFlags value)777 VULKAN_HPP_INLINE std::string to_string( RenderPassCreateFlags value ) 778 { 779 if ( !value ) 780 return "{}"; 781 782 std::string result; 783 if ( value & RenderPassCreateFlagBits::eTransformQCOM ) result += "TransformQCOM | "; 784 785 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 786 } 787 to_string(SubpassDescriptionFlags value)788 VULKAN_HPP_INLINE std::string to_string( SubpassDescriptionFlags value ) 789 { 790 if ( !value ) 791 return "{}"; 792 793 std::string result; 794 if ( value & SubpassDescriptionFlagBits::ePerViewAttributesNVX ) result += "PerViewAttributesNVX | "; 795 if ( value & SubpassDescriptionFlagBits::ePerViewPositionXOnlyNVX ) result += "PerViewPositionXOnlyNVX | "; 796 if ( value & SubpassDescriptionFlagBits::eFragmentRegionQCOM ) result += "FragmentRegionQCOM | "; 797 if ( value & SubpassDescriptionFlagBits::eShaderResolveQCOM ) result += "ShaderResolveQCOM | "; 798 if ( value & SubpassDescriptionFlagBits::eRasterizationOrderAttachmentColorAccessEXT ) result += "RasterizationOrderAttachmentColorAccessEXT | "; 799 if ( value & SubpassDescriptionFlagBits::eRasterizationOrderAttachmentDepthAccessEXT ) result += "RasterizationOrderAttachmentDepthAccessEXT | "; 800 if ( value & SubpassDescriptionFlagBits::eRasterizationOrderAttachmentStencilAccessEXT ) result += "RasterizationOrderAttachmentStencilAccessEXT | "; 801 if ( value & SubpassDescriptionFlagBits::eEnableLegacyDitheringEXT ) result += "EnableLegacyDitheringEXT | "; 802 803 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 804 } 805 to_string(CommandPoolCreateFlags value)806 VULKAN_HPP_INLINE std::string to_string( CommandPoolCreateFlags value ) 807 { 808 if ( !value ) 809 return "{}"; 810 811 std::string result; 812 if ( value & CommandPoolCreateFlagBits::eTransient ) result += "Transient | "; 813 if ( value & CommandPoolCreateFlagBits::eResetCommandBuffer ) result += "ResetCommandBuffer | "; 814 if ( value & CommandPoolCreateFlagBits::eProtected ) result += "Protected | "; 815 816 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 817 } 818 to_string(CommandPoolResetFlags value)819 VULKAN_HPP_INLINE std::string to_string( CommandPoolResetFlags value ) 820 { 821 if ( !value ) 822 return "{}"; 823 824 std::string result; 825 if ( value & CommandPoolResetFlagBits::eReleaseResources ) result += "ReleaseResources | "; 826 827 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 828 } 829 to_string(CommandBufferResetFlags value)830 VULKAN_HPP_INLINE std::string to_string( CommandBufferResetFlags value ) 831 { 832 if ( !value ) 833 return "{}"; 834 835 std::string result; 836 if ( value & CommandBufferResetFlagBits::eReleaseResources ) result += "ReleaseResources | "; 837 838 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 839 } 840 to_string(CommandBufferUsageFlags value)841 VULKAN_HPP_INLINE std::string to_string( CommandBufferUsageFlags value ) 842 { 843 if ( !value ) 844 return "{}"; 845 846 std::string result; 847 if ( value & CommandBufferUsageFlagBits::eOneTimeSubmit ) result += "OneTimeSubmit | "; 848 if ( value & CommandBufferUsageFlagBits::eRenderPassContinue ) result += "RenderPassContinue | "; 849 if ( value & CommandBufferUsageFlagBits::eSimultaneousUse ) result += "SimultaneousUse | "; 850 851 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 852 } 853 to_string(QueryControlFlags value)854 VULKAN_HPP_INLINE std::string to_string( QueryControlFlags value ) 855 { 856 if ( !value ) 857 return "{}"; 858 859 std::string result; 860 if ( value & QueryControlFlagBits::ePrecise ) result += "Precise | "; 861 862 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 863 } 864 to_string(StencilFaceFlags value)865 VULKAN_HPP_INLINE std::string to_string( StencilFaceFlags value ) 866 { 867 if ( !value ) 868 return "{}"; 869 870 std::string result; 871 if ( value & StencilFaceFlagBits::eFront ) result += "Front | "; 872 if ( value & StencilFaceFlagBits::eBack ) result += "Back | "; 873 874 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 875 } 876 877 //=== VK_VERSION_1_1 === 878 to_string(SubgroupFeatureFlags value)879 VULKAN_HPP_INLINE std::string to_string( SubgroupFeatureFlags value ) 880 { 881 if ( !value ) 882 return "{}"; 883 884 std::string result; 885 if ( value & SubgroupFeatureFlagBits::eBasic ) result += "Basic | "; 886 if ( value & SubgroupFeatureFlagBits::eVote ) result += "Vote | "; 887 if ( value & SubgroupFeatureFlagBits::eArithmetic ) result += "Arithmetic | "; 888 if ( value & SubgroupFeatureFlagBits::eBallot ) result += "Ballot | "; 889 if ( value & SubgroupFeatureFlagBits::eShuffle ) result += "Shuffle | "; 890 if ( value & SubgroupFeatureFlagBits::eShuffleRelative ) result += "ShuffleRelative | "; 891 if ( value & SubgroupFeatureFlagBits::eClustered ) result += "Clustered | "; 892 if ( value & SubgroupFeatureFlagBits::eQuad ) result += "Quad | "; 893 if ( value & SubgroupFeatureFlagBits::ePartitionedNV ) result += "PartitionedNV | "; 894 895 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 896 } 897 to_string(PeerMemoryFeatureFlags value)898 VULKAN_HPP_INLINE std::string to_string( PeerMemoryFeatureFlags value ) 899 { 900 if ( !value ) 901 return "{}"; 902 903 std::string result; 904 if ( value & PeerMemoryFeatureFlagBits::eCopySrc ) result += "CopySrc | "; 905 if ( value & PeerMemoryFeatureFlagBits::eCopyDst ) result += "CopyDst | "; 906 if ( value & PeerMemoryFeatureFlagBits::eGenericSrc ) result += "GenericSrc | "; 907 if ( value & PeerMemoryFeatureFlagBits::eGenericDst ) result += "GenericDst | "; 908 909 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 910 } 911 to_string(MemoryAllocateFlags value)912 VULKAN_HPP_INLINE std::string to_string( MemoryAllocateFlags value ) 913 { 914 if ( !value ) 915 return "{}"; 916 917 std::string result; 918 if ( value & MemoryAllocateFlagBits::eDeviceMask ) result += "DeviceMask | "; 919 if ( value & MemoryAllocateFlagBits::eDeviceAddress ) result += "DeviceAddress | "; 920 if ( value & MemoryAllocateFlagBits::eDeviceAddressCaptureReplay ) result += "DeviceAddressCaptureReplay | "; 921 922 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 923 } 924 to_string(CommandPoolTrimFlags)925 VULKAN_HPP_INLINE std::string to_string( CommandPoolTrimFlags ) 926 { 927 return "{}"; 928 } 929 to_string(DescriptorUpdateTemplateCreateFlags)930 VULKAN_HPP_INLINE std::string to_string( DescriptorUpdateTemplateCreateFlags ) 931 { 932 return "{}"; 933 } 934 to_string(ExternalMemoryHandleTypeFlags value)935 VULKAN_HPP_INLINE std::string to_string( ExternalMemoryHandleTypeFlags value ) 936 { 937 if ( !value ) 938 return "{}"; 939 940 std::string result; 941 if ( value & ExternalMemoryHandleTypeFlagBits::eOpaqueFd ) result += "OpaqueFd | "; 942 if ( value & ExternalMemoryHandleTypeFlagBits::eOpaqueWin32 ) result += "OpaqueWin32 | "; 943 if ( value & ExternalMemoryHandleTypeFlagBits::eOpaqueWin32Kmt ) result += "OpaqueWin32Kmt | "; 944 if ( value & ExternalMemoryHandleTypeFlagBits::eD3D11Texture ) result += "D3D11Texture | "; 945 if ( value & ExternalMemoryHandleTypeFlagBits::eD3D11TextureKmt ) result += "D3D11TextureKmt | "; 946 if ( value & ExternalMemoryHandleTypeFlagBits::eD3D12Heap ) result += "D3D12Heap | "; 947 if ( value & ExternalMemoryHandleTypeFlagBits::eD3D12Resource ) result += "D3D12Resource | "; 948 if ( value & ExternalMemoryHandleTypeFlagBits::eDmaBufEXT ) result += "DmaBufEXT | "; 949 #if defined( VK_USE_PLATFORM_ANDROID_KHR ) 950 if ( value & ExternalMemoryHandleTypeFlagBits::eAndroidHardwareBufferANDROID ) result += "AndroidHardwareBufferANDROID | "; 951 #endif /*VK_USE_PLATFORM_ANDROID_KHR*/ 952 if ( value & ExternalMemoryHandleTypeFlagBits::eHostAllocationEXT ) result += "HostAllocationEXT | "; 953 if ( value & ExternalMemoryHandleTypeFlagBits::eHostMappedForeignMemoryEXT ) result += "HostMappedForeignMemoryEXT | "; 954 #if defined( VK_USE_PLATFORM_FUCHSIA ) 955 if ( value & ExternalMemoryHandleTypeFlagBits::eZirconVmoFUCHSIA ) result += "ZirconVmoFUCHSIA | "; 956 #endif /*VK_USE_PLATFORM_FUCHSIA*/ 957 if ( value & ExternalMemoryHandleTypeFlagBits::eRdmaAddressNV ) result += "RdmaAddressNV | "; 958 #if defined( VK_USE_PLATFORM_SCREEN_QNX ) 959 if ( value & ExternalMemoryHandleTypeFlagBits::eScreenBufferQNX ) result += "ScreenBufferQNX | "; 960 #endif /*VK_USE_PLATFORM_SCREEN_QNX*/ 961 962 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 963 } 964 to_string(ExternalMemoryFeatureFlags value)965 VULKAN_HPP_INLINE std::string to_string( ExternalMemoryFeatureFlags value ) 966 { 967 if ( !value ) 968 return "{}"; 969 970 std::string result; 971 if ( value & ExternalMemoryFeatureFlagBits::eDedicatedOnly ) result += "DedicatedOnly | "; 972 if ( value & ExternalMemoryFeatureFlagBits::eExportable ) result += "Exportable | "; 973 if ( value & ExternalMemoryFeatureFlagBits::eImportable ) result += "Importable | "; 974 975 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 976 } 977 to_string(ExternalFenceHandleTypeFlags value)978 VULKAN_HPP_INLINE std::string to_string( ExternalFenceHandleTypeFlags value ) 979 { 980 if ( !value ) 981 return "{}"; 982 983 std::string result; 984 if ( value & ExternalFenceHandleTypeFlagBits::eOpaqueFd ) result += "OpaqueFd | "; 985 if ( value & ExternalFenceHandleTypeFlagBits::eOpaqueWin32 ) result += "OpaqueWin32 | "; 986 if ( value & ExternalFenceHandleTypeFlagBits::eOpaqueWin32Kmt ) result += "OpaqueWin32Kmt | "; 987 if ( value & ExternalFenceHandleTypeFlagBits::eSyncFd ) result += "SyncFd | "; 988 989 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 990 } 991 to_string(ExternalFenceFeatureFlags value)992 VULKAN_HPP_INLINE std::string to_string( ExternalFenceFeatureFlags value ) 993 { 994 if ( !value ) 995 return "{}"; 996 997 std::string result; 998 if ( value & ExternalFenceFeatureFlagBits::eExportable ) result += "Exportable | "; 999 if ( value & ExternalFenceFeatureFlagBits::eImportable ) result += "Importable | "; 1000 1001 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1002 } 1003 to_string(FenceImportFlags value)1004 VULKAN_HPP_INLINE std::string to_string( FenceImportFlags value ) 1005 { 1006 if ( !value ) 1007 return "{}"; 1008 1009 std::string result; 1010 if ( value & FenceImportFlagBits::eTemporary ) result += "Temporary | "; 1011 1012 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1013 } 1014 to_string(SemaphoreImportFlags value)1015 VULKAN_HPP_INLINE std::string to_string( SemaphoreImportFlags value ) 1016 { 1017 if ( !value ) 1018 return "{}"; 1019 1020 std::string result; 1021 if ( value & SemaphoreImportFlagBits::eTemporary ) result += "Temporary | "; 1022 1023 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1024 } 1025 to_string(ExternalSemaphoreHandleTypeFlags value)1026 VULKAN_HPP_INLINE std::string to_string( ExternalSemaphoreHandleTypeFlags value ) 1027 { 1028 if ( !value ) 1029 return "{}"; 1030 1031 std::string result; 1032 if ( value & ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd ) result += "OpaqueFd | "; 1033 if ( value & ExternalSemaphoreHandleTypeFlagBits::eOpaqueWin32 ) result += "OpaqueWin32 | "; 1034 if ( value & ExternalSemaphoreHandleTypeFlagBits::eOpaqueWin32Kmt ) result += "OpaqueWin32Kmt | "; 1035 if ( value & ExternalSemaphoreHandleTypeFlagBits::eD3D12Fence ) result += "D3D12Fence | "; 1036 if ( value & ExternalSemaphoreHandleTypeFlagBits::eSyncFd ) result += "SyncFd | "; 1037 #if defined( VK_USE_PLATFORM_FUCHSIA ) 1038 if ( value & ExternalSemaphoreHandleTypeFlagBits::eZirconEventFUCHSIA ) result += "ZirconEventFUCHSIA | "; 1039 #endif /*VK_USE_PLATFORM_FUCHSIA*/ 1040 1041 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1042 } 1043 to_string(ExternalSemaphoreFeatureFlags value)1044 VULKAN_HPP_INLINE std::string to_string( ExternalSemaphoreFeatureFlags value ) 1045 { 1046 if ( !value ) 1047 return "{}"; 1048 1049 std::string result; 1050 if ( value & ExternalSemaphoreFeatureFlagBits::eExportable ) result += "Exportable | "; 1051 if ( value & ExternalSemaphoreFeatureFlagBits::eImportable ) result += "Importable | "; 1052 1053 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1054 } 1055 1056 //=== VK_VERSION_1_2 === 1057 to_string(DescriptorBindingFlags value)1058 VULKAN_HPP_INLINE std::string to_string( DescriptorBindingFlags value ) 1059 { 1060 if ( !value ) 1061 return "{}"; 1062 1063 std::string result; 1064 if ( value & DescriptorBindingFlagBits::eUpdateAfterBind ) result += "UpdateAfterBind | "; 1065 if ( value & DescriptorBindingFlagBits::eUpdateUnusedWhilePending ) result += "UpdateUnusedWhilePending | "; 1066 if ( value & DescriptorBindingFlagBits::ePartiallyBound ) result += "PartiallyBound | "; 1067 if ( value & DescriptorBindingFlagBits::eVariableDescriptorCount ) result += "VariableDescriptorCount | "; 1068 1069 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1070 } 1071 to_string(ResolveModeFlags value)1072 VULKAN_HPP_INLINE std::string to_string( ResolveModeFlags value ) 1073 { 1074 if ( !value ) 1075 return "None"; 1076 1077 std::string result; 1078 if ( value & ResolveModeFlagBits::eSampleZero ) result += "SampleZero | "; 1079 if ( value & ResolveModeFlagBits::eAverage ) result += "Average | "; 1080 if ( value & ResolveModeFlagBits::eMin ) result += "Min | "; 1081 if ( value & ResolveModeFlagBits::eMax ) result += "Max | "; 1082 #if defined( VK_USE_PLATFORM_ANDROID_KHR ) 1083 if ( value & ResolveModeFlagBits::eExternalFormatDownsampleANDROID ) result += "ExternalFormatDownsampleANDROID | "; 1084 #endif /*VK_USE_PLATFORM_ANDROID_KHR*/ 1085 1086 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1087 } 1088 to_string(SemaphoreWaitFlags value)1089 VULKAN_HPP_INLINE std::string to_string( SemaphoreWaitFlags value ) 1090 { 1091 if ( !value ) 1092 return "{}"; 1093 1094 std::string result; 1095 if ( value & SemaphoreWaitFlagBits::eAny ) result += "Any | "; 1096 1097 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1098 } 1099 1100 //=== VK_VERSION_1_3 === 1101 to_string(PipelineCreationFeedbackFlags value)1102 VULKAN_HPP_INLINE std::string to_string( PipelineCreationFeedbackFlags value ) 1103 { 1104 if ( !value ) 1105 return "{}"; 1106 1107 std::string result; 1108 if ( value & PipelineCreationFeedbackFlagBits::eValid ) result += "Valid | "; 1109 if ( value & PipelineCreationFeedbackFlagBits::eApplicationPipelineCacheHit ) result += "ApplicationPipelineCacheHit | "; 1110 if ( value & PipelineCreationFeedbackFlagBits::eBasePipelineAcceleration ) result += "BasePipelineAcceleration | "; 1111 1112 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1113 } 1114 to_string(ToolPurposeFlags value)1115 VULKAN_HPP_INLINE std::string to_string( ToolPurposeFlags value ) 1116 { 1117 if ( !value ) 1118 return "{}"; 1119 1120 std::string result; 1121 if ( value & ToolPurposeFlagBits::eValidation ) result += "Validation | "; 1122 if ( value & ToolPurposeFlagBits::eProfiling ) result += "Profiling | "; 1123 if ( value & ToolPurposeFlagBits::eTracing ) result += "Tracing | "; 1124 if ( value & ToolPurposeFlagBits::eAdditionalFeatures ) result += "AdditionalFeatures | "; 1125 if ( value & ToolPurposeFlagBits::eModifyingFeatures ) result += "ModifyingFeatures | "; 1126 if ( value & ToolPurposeFlagBits::eDebugReportingEXT ) result += "DebugReportingEXT | "; 1127 if ( value & ToolPurposeFlagBits::eDebugMarkersEXT ) result += "DebugMarkersEXT | "; 1128 1129 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1130 } 1131 to_string(PrivateDataSlotCreateFlags)1132 VULKAN_HPP_INLINE std::string to_string( PrivateDataSlotCreateFlags ) 1133 { 1134 return "{}"; 1135 } 1136 to_string(PipelineStageFlags2 value)1137 VULKAN_HPP_INLINE std::string to_string( PipelineStageFlags2 value ) 1138 { 1139 if ( !value ) 1140 return "None"; 1141 1142 std::string result; 1143 if ( value & PipelineStageFlagBits2::eTopOfPipe ) result += "TopOfPipe | "; 1144 if ( value & PipelineStageFlagBits2::eDrawIndirect ) result += "DrawIndirect | "; 1145 if ( value & PipelineStageFlagBits2::eVertexInput ) result += "VertexInput | "; 1146 if ( value & PipelineStageFlagBits2::eVertexShader ) result += "VertexShader | "; 1147 if ( value & PipelineStageFlagBits2::eTessellationControlShader ) result += "TessellationControlShader | "; 1148 if ( value & PipelineStageFlagBits2::eTessellationEvaluationShader ) result += "TessellationEvaluationShader | "; 1149 if ( value & PipelineStageFlagBits2::eGeometryShader ) result += "GeometryShader | "; 1150 if ( value & PipelineStageFlagBits2::eFragmentShader ) result += "FragmentShader | "; 1151 if ( value & PipelineStageFlagBits2::eEarlyFragmentTests ) result += "EarlyFragmentTests | "; 1152 if ( value & PipelineStageFlagBits2::eLateFragmentTests ) result += "LateFragmentTests | "; 1153 if ( value & PipelineStageFlagBits2::eColorAttachmentOutput ) result += "ColorAttachmentOutput | "; 1154 if ( value & PipelineStageFlagBits2::eComputeShader ) result += "ComputeShader | "; 1155 if ( value & PipelineStageFlagBits2::eAllTransfer ) result += "AllTransfer | "; 1156 if ( value & PipelineStageFlagBits2::eBottomOfPipe ) result += "BottomOfPipe | "; 1157 if ( value & PipelineStageFlagBits2::eHost ) result += "Host | "; 1158 if ( value & PipelineStageFlagBits2::eAllGraphics ) result += "AllGraphics | "; 1159 if ( value & PipelineStageFlagBits2::eAllCommands ) result += "AllCommands | "; 1160 if ( value & PipelineStageFlagBits2::eCopy ) result += "Copy | "; 1161 if ( value & PipelineStageFlagBits2::eResolve ) result += "Resolve | "; 1162 if ( value & PipelineStageFlagBits2::eBlit ) result += "Blit | "; 1163 if ( value & PipelineStageFlagBits2::eClear ) result += "Clear | "; 1164 if ( value & PipelineStageFlagBits2::eIndexInput ) result += "IndexInput | "; 1165 if ( value & PipelineStageFlagBits2::eVertexAttributeInput ) result += "VertexAttributeInput | "; 1166 if ( value & PipelineStageFlagBits2::ePreRasterizationShaders ) result += "PreRasterizationShaders | "; 1167 if ( value & PipelineStageFlagBits2::eVideoDecodeKHR ) result += "VideoDecodeKHR | "; 1168 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 1169 if ( value & PipelineStageFlagBits2::eVideoEncodeKHR ) result += "VideoEncodeKHR | "; 1170 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 1171 if ( value & PipelineStageFlagBits2::eTransformFeedbackEXT ) result += "TransformFeedbackEXT | "; 1172 if ( value & PipelineStageFlagBits2::eConditionalRenderingEXT ) result += "ConditionalRenderingEXT | "; 1173 if ( value & PipelineStageFlagBits2::eCommandPreprocessNV ) result += "CommandPreprocessNV | "; 1174 if ( value & PipelineStageFlagBits2::eFragmentShadingRateAttachmentKHR ) result += "FragmentShadingRateAttachmentKHR | "; 1175 if ( value & PipelineStageFlagBits2::eAccelerationStructureBuildKHR ) result += "AccelerationStructureBuildKHR | "; 1176 if ( value & PipelineStageFlagBits2::eRayTracingShaderKHR ) result += "RayTracingShaderKHR | "; 1177 if ( value & PipelineStageFlagBits2::eFragmentDensityProcessEXT ) result += "FragmentDensityProcessEXT | "; 1178 if ( value & PipelineStageFlagBits2::eTaskShaderEXT ) result += "TaskShaderEXT | "; 1179 if ( value & PipelineStageFlagBits2::eMeshShaderEXT ) result += "MeshShaderEXT | "; 1180 if ( value & PipelineStageFlagBits2::eSubpassShaderHUAWEI ) result += "SubpassShaderHUAWEI | "; 1181 if ( value & PipelineStageFlagBits2::eInvocationMaskHUAWEI ) result += "InvocationMaskHUAWEI | "; 1182 if ( value & PipelineStageFlagBits2::eAccelerationStructureCopyKHR ) result += "AccelerationStructureCopyKHR | "; 1183 if ( value & PipelineStageFlagBits2::eMicromapBuildEXT ) result += "MicromapBuildEXT | "; 1184 if ( value & PipelineStageFlagBits2::eClusterCullingShaderHUAWEI ) result += "ClusterCullingShaderHUAWEI | "; 1185 if ( value & PipelineStageFlagBits2::eOpticalFlowNV ) result += "OpticalFlowNV | "; 1186 1187 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1188 } 1189 to_string(AccessFlags2 value)1190 VULKAN_HPP_INLINE std::string to_string( AccessFlags2 value ) 1191 { 1192 if ( !value ) 1193 return "None"; 1194 1195 std::string result; 1196 if ( value & AccessFlagBits2::eIndirectCommandRead ) result += "IndirectCommandRead | "; 1197 if ( value & AccessFlagBits2::eIndexRead ) result += "IndexRead | "; 1198 if ( value & AccessFlagBits2::eVertexAttributeRead ) result += "VertexAttributeRead | "; 1199 if ( value & AccessFlagBits2::eUniformRead ) result += "UniformRead | "; 1200 if ( value & AccessFlagBits2::eInputAttachmentRead ) result += "InputAttachmentRead | "; 1201 if ( value & AccessFlagBits2::eShaderRead ) result += "ShaderRead | "; 1202 if ( value & AccessFlagBits2::eShaderWrite ) result += "ShaderWrite | "; 1203 if ( value & AccessFlagBits2::eColorAttachmentRead ) result += "ColorAttachmentRead | "; 1204 if ( value & AccessFlagBits2::eColorAttachmentWrite ) result += "ColorAttachmentWrite | "; 1205 if ( value & AccessFlagBits2::eDepthStencilAttachmentRead ) result += "DepthStencilAttachmentRead | "; 1206 if ( value & AccessFlagBits2::eDepthStencilAttachmentWrite ) result += "DepthStencilAttachmentWrite | "; 1207 if ( value & AccessFlagBits2::eTransferRead ) result += "TransferRead | "; 1208 if ( value & AccessFlagBits2::eTransferWrite ) result += "TransferWrite | "; 1209 if ( value & AccessFlagBits2::eHostRead ) result += "HostRead | "; 1210 if ( value & AccessFlagBits2::eHostWrite ) result += "HostWrite | "; 1211 if ( value & AccessFlagBits2::eMemoryRead ) result += "MemoryRead | "; 1212 if ( value & AccessFlagBits2::eMemoryWrite ) result += "MemoryWrite | "; 1213 if ( value & AccessFlagBits2::eShaderSampledRead ) result += "ShaderSampledRead | "; 1214 if ( value & AccessFlagBits2::eShaderStorageRead ) result += "ShaderStorageRead | "; 1215 if ( value & AccessFlagBits2::eShaderStorageWrite ) result += "ShaderStorageWrite | "; 1216 if ( value & AccessFlagBits2::eVideoDecodeReadKHR ) result += "VideoDecodeReadKHR | "; 1217 if ( value & AccessFlagBits2::eVideoDecodeWriteKHR ) result += "VideoDecodeWriteKHR | "; 1218 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 1219 if ( value & AccessFlagBits2::eVideoEncodeReadKHR ) result += "VideoEncodeReadKHR | "; 1220 if ( value & AccessFlagBits2::eVideoEncodeWriteKHR ) result += "VideoEncodeWriteKHR | "; 1221 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 1222 if ( value & AccessFlagBits2::eTransformFeedbackWriteEXT ) result += "TransformFeedbackWriteEXT | "; 1223 if ( value & AccessFlagBits2::eTransformFeedbackCounterReadEXT ) result += "TransformFeedbackCounterReadEXT | "; 1224 if ( value & AccessFlagBits2::eTransformFeedbackCounterWriteEXT ) result += "TransformFeedbackCounterWriteEXT | "; 1225 if ( value & AccessFlagBits2::eConditionalRenderingReadEXT ) result += "ConditionalRenderingReadEXT | "; 1226 if ( value & AccessFlagBits2::eCommandPreprocessReadNV ) result += "CommandPreprocessReadNV | "; 1227 if ( value & AccessFlagBits2::eCommandPreprocessWriteNV ) result += "CommandPreprocessWriteNV | "; 1228 if ( value & AccessFlagBits2::eFragmentShadingRateAttachmentReadKHR ) result += "FragmentShadingRateAttachmentReadKHR | "; 1229 if ( value & AccessFlagBits2::eAccelerationStructureReadKHR ) result += "AccelerationStructureReadKHR | "; 1230 if ( value & AccessFlagBits2::eAccelerationStructureWriteKHR ) result += "AccelerationStructureWriteKHR | "; 1231 if ( value & AccessFlagBits2::eFragmentDensityMapReadEXT ) result += "FragmentDensityMapReadEXT | "; 1232 if ( value & AccessFlagBits2::eColorAttachmentReadNoncoherentEXT ) result += "ColorAttachmentReadNoncoherentEXT | "; 1233 if ( value & AccessFlagBits2::eDescriptorBufferReadEXT ) result += "DescriptorBufferReadEXT | "; 1234 if ( value & AccessFlagBits2::eInvocationMaskReadHUAWEI ) result += "InvocationMaskReadHUAWEI | "; 1235 if ( value & AccessFlagBits2::eShaderBindingTableReadKHR ) result += "ShaderBindingTableReadKHR | "; 1236 if ( value & AccessFlagBits2::eMicromapReadEXT ) result += "MicromapReadEXT | "; 1237 if ( value & AccessFlagBits2::eMicromapWriteEXT ) result += "MicromapWriteEXT | "; 1238 if ( value & AccessFlagBits2::eOpticalFlowReadNV ) result += "OpticalFlowReadNV | "; 1239 if ( value & AccessFlagBits2::eOpticalFlowWriteNV ) result += "OpticalFlowWriteNV | "; 1240 1241 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1242 } 1243 to_string(SubmitFlags value)1244 VULKAN_HPP_INLINE std::string to_string( SubmitFlags value ) 1245 { 1246 if ( !value ) 1247 return "{}"; 1248 1249 std::string result; 1250 if ( value & SubmitFlagBits::eProtected ) result += "Protected | "; 1251 1252 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1253 } 1254 to_string(RenderingFlags value)1255 VULKAN_HPP_INLINE std::string to_string( RenderingFlags value ) 1256 { 1257 if ( !value ) 1258 return "{}"; 1259 1260 std::string result; 1261 if ( value & RenderingFlagBits::eContentsSecondaryCommandBuffers ) result += "ContentsSecondaryCommandBuffers | "; 1262 if ( value & RenderingFlagBits::eSuspending ) result += "Suspending | "; 1263 if ( value & RenderingFlagBits::eResuming ) result += "Resuming | "; 1264 if ( value & RenderingFlagBits::eContentsInlineEXT ) result += "ContentsInlineEXT | "; 1265 if ( value & RenderingFlagBits::eEnableLegacyDitheringEXT ) result += "EnableLegacyDitheringEXT | "; 1266 1267 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1268 } 1269 to_string(FormatFeatureFlags2 value)1270 VULKAN_HPP_INLINE std::string to_string( FormatFeatureFlags2 value ) 1271 { 1272 if ( !value ) 1273 return "{}"; 1274 1275 std::string result; 1276 if ( value & FormatFeatureFlagBits2::eSampledImage ) result += "SampledImage | "; 1277 if ( value & FormatFeatureFlagBits2::eStorageImage ) result += "StorageImage | "; 1278 if ( value & FormatFeatureFlagBits2::eStorageImageAtomic ) result += "StorageImageAtomic | "; 1279 if ( value & FormatFeatureFlagBits2::eUniformTexelBuffer ) result += "UniformTexelBuffer | "; 1280 if ( value & FormatFeatureFlagBits2::eStorageTexelBuffer ) result += "StorageTexelBuffer | "; 1281 if ( value & FormatFeatureFlagBits2::eStorageTexelBufferAtomic ) result += "StorageTexelBufferAtomic | "; 1282 if ( value & FormatFeatureFlagBits2::eVertexBuffer ) result += "VertexBuffer | "; 1283 if ( value & FormatFeatureFlagBits2::eColorAttachment ) result += "ColorAttachment | "; 1284 if ( value & FormatFeatureFlagBits2::eColorAttachmentBlend ) result += "ColorAttachmentBlend | "; 1285 if ( value & FormatFeatureFlagBits2::eDepthStencilAttachment ) result += "DepthStencilAttachment | "; 1286 if ( value & FormatFeatureFlagBits2::eBlitSrc ) result += "BlitSrc | "; 1287 if ( value & FormatFeatureFlagBits2::eBlitDst ) result += "BlitDst | "; 1288 if ( value & FormatFeatureFlagBits2::eSampledImageFilterLinear ) result += "SampledImageFilterLinear | "; 1289 if ( value & FormatFeatureFlagBits2::eSampledImageFilterCubic ) result += "SampledImageFilterCubic | "; 1290 if ( value & FormatFeatureFlagBits2::eTransferSrc ) result += "TransferSrc | "; 1291 if ( value & FormatFeatureFlagBits2::eTransferDst ) result += "TransferDst | "; 1292 if ( value & FormatFeatureFlagBits2::eSampledImageFilterMinmax ) result += "SampledImageFilterMinmax | "; 1293 if ( value & FormatFeatureFlagBits2::eMidpointChromaSamples ) result += "MidpointChromaSamples | "; 1294 if ( value & FormatFeatureFlagBits2::eSampledImageYcbcrConversionLinearFilter ) result += "SampledImageYcbcrConversionLinearFilter | "; 1295 if ( value & FormatFeatureFlagBits2::eSampledImageYcbcrConversionSeparateReconstructionFilter ) result += "SampledImageYcbcrConversionSeparateReconstructionFilter | "; 1296 if ( value & FormatFeatureFlagBits2::eSampledImageYcbcrConversionChromaReconstructionExplicit ) result += "SampledImageYcbcrConversionChromaReconstructionExplicit | "; 1297 if ( value & FormatFeatureFlagBits2::eSampledImageYcbcrConversionChromaReconstructionExplicitForceable ) result += "SampledImageYcbcrConversionChromaReconstructionExplicitForceable | "; 1298 if ( value & FormatFeatureFlagBits2::eDisjoint ) result += "Disjoint | "; 1299 if ( value & FormatFeatureFlagBits2::eCositedChromaSamples ) result += "CositedChromaSamples | "; 1300 if ( value & FormatFeatureFlagBits2::eStorageReadWithoutFormat ) result += "StorageReadWithoutFormat | "; 1301 if ( value & FormatFeatureFlagBits2::eStorageWriteWithoutFormat ) result += "StorageWriteWithoutFormat | "; 1302 if ( value & FormatFeatureFlagBits2::eSampledImageDepthComparison ) result += "SampledImageDepthComparison | "; 1303 if ( value & FormatFeatureFlagBits2::eVideoDecodeOutputKHR ) result += "VideoDecodeOutputKHR | "; 1304 if ( value & FormatFeatureFlagBits2::eVideoDecodeDpbKHR ) result += "VideoDecodeDpbKHR | "; 1305 if ( value & FormatFeatureFlagBits2::eAccelerationStructureVertexBufferKHR ) result += "AccelerationStructureVertexBufferKHR | "; 1306 if ( value & FormatFeatureFlagBits2::eFragmentDensityMapEXT ) result += "FragmentDensityMapEXT | "; 1307 if ( value & FormatFeatureFlagBits2::eFragmentShadingRateAttachmentKHR ) result += "FragmentShadingRateAttachmentKHR | "; 1308 if ( value & FormatFeatureFlagBits2::eHostImageTransferEXT ) result += "HostImageTransferEXT | "; 1309 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 1310 if ( value & FormatFeatureFlagBits2::eVideoEncodeInputKHR ) result += "VideoEncodeInputKHR | "; 1311 if ( value & FormatFeatureFlagBits2::eVideoEncodeDpbKHR ) result += "VideoEncodeDpbKHR | "; 1312 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 1313 if ( value & FormatFeatureFlagBits2::eLinearColorAttachmentNV ) result += "LinearColorAttachmentNV | "; 1314 if ( value & FormatFeatureFlagBits2::eWeightImageQCOM ) result += "WeightImageQCOM | "; 1315 if ( value & FormatFeatureFlagBits2::eWeightSampledImageQCOM ) result += "WeightSampledImageQCOM | "; 1316 if ( value & FormatFeatureFlagBits2::eBlockMatchingQCOM ) result += "BlockMatchingQCOM | "; 1317 if ( value & FormatFeatureFlagBits2::eBoxFilterSampledQCOM ) result += "BoxFilterSampledQCOM | "; 1318 if ( value & FormatFeatureFlagBits2::eOpticalFlowImageNV ) result += "OpticalFlowImageNV | "; 1319 if ( value & FormatFeatureFlagBits2::eOpticalFlowVectorNV ) result += "OpticalFlowVectorNV | "; 1320 if ( value & FormatFeatureFlagBits2::eOpticalFlowCostNV ) result += "OpticalFlowCostNV | "; 1321 1322 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1323 } 1324 1325 //=== VK_KHR_surface === 1326 to_string(CompositeAlphaFlagsKHR value)1327 VULKAN_HPP_INLINE std::string to_string( CompositeAlphaFlagsKHR value ) 1328 { 1329 if ( !value ) 1330 return "{}"; 1331 1332 std::string result; 1333 if ( value & CompositeAlphaFlagBitsKHR::eOpaque ) result += "Opaque | "; 1334 if ( value & CompositeAlphaFlagBitsKHR::ePreMultiplied ) result += "PreMultiplied | "; 1335 if ( value & CompositeAlphaFlagBitsKHR::ePostMultiplied ) result += "PostMultiplied | "; 1336 if ( value & CompositeAlphaFlagBitsKHR::eInherit ) result += "Inherit | "; 1337 1338 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1339 } 1340 1341 //=== VK_KHR_swapchain === 1342 to_string(SwapchainCreateFlagsKHR value)1343 VULKAN_HPP_INLINE std::string to_string( SwapchainCreateFlagsKHR value ) 1344 { 1345 if ( !value ) 1346 return "{}"; 1347 1348 std::string result; 1349 if ( value & SwapchainCreateFlagBitsKHR::eSplitInstanceBindRegions ) result += "SplitInstanceBindRegions | "; 1350 if ( value & SwapchainCreateFlagBitsKHR::eProtected ) result += "Protected | "; 1351 if ( value & SwapchainCreateFlagBitsKHR::eMutableFormat ) result += "MutableFormat | "; 1352 if ( value & SwapchainCreateFlagBitsKHR::eDeferredMemoryAllocationEXT ) result += "DeferredMemoryAllocationEXT | "; 1353 1354 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1355 } 1356 to_string(DeviceGroupPresentModeFlagsKHR value)1357 VULKAN_HPP_INLINE std::string to_string( DeviceGroupPresentModeFlagsKHR value ) 1358 { 1359 if ( !value ) 1360 return "{}"; 1361 1362 std::string result; 1363 if ( value & DeviceGroupPresentModeFlagBitsKHR::eLocal ) result += "Local | "; 1364 if ( value & DeviceGroupPresentModeFlagBitsKHR::eRemote ) result += "Remote | "; 1365 if ( value & DeviceGroupPresentModeFlagBitsKHR::eSum ) result += "Sum | "; 1366 if ( value & DeviceGroupPresentModeFlagBitsKHR::eLocalMultiDevice ) result += "LocalMultiDevice | "; 1367 1368 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1369 } 1370 1371 //=== VK_KHR_display === 1372 to_string(DisplayModeCreateFlagsKHR)1373 VULKAN_HPP_INLINE std::string to_string( DisplayModeCreateFlagsKHR ) 1374 { 1375 return "{}"; 1376 } 1377 to_string(DisplayPlaneAlphaFlagsKHR value)1378 VULKAN_HPP_INLINE std::string to_string( DisplayPlaneAlphaFlagsKHR value ) 1379 { 1380 if ( !value ) 1381 return "{}"; 1382 1383 std::string result; 1384 if ( value & DisplayPlaneAlphaFlagBitsKHR::eOpaque ) result += "Opaque | "; 1385 if ( value & DisplayPlaneAlphaFlagBitsKHR::eGlobal ) result += "Global | "; 1386 if ( value & DisplayPlaneAlphaFlagBitsKHR::ePerPixel ) result += "PerPixel | "; 1387 if ( value & DisplayPlaneAlphaFlagBitsKHR::ePerPixelPremultiplied ) result += "PerPixelPremultiplied | "; 1388 1389 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1390 } 1391 to_string(DisplaySurfaceCreateFlagsKHR)1392 VULKAN_HPP_INLINE std::string to_string( DisplaySurfaceCreateFlagsKHR ) 1393 { 1394 return "{}"; 1395 } 1396 to_string(SurfaceTransformFlagsKHR value)1397 VULKAN_HPP_INLINE std::string to_string( SurfaceTransformFlagsKHR value ) 1398 { 1399 if ( !value ) 1400 return "{}"; 1401 1402 std::string result; 1403 if ( value & SurfaceTransformFlagBitsKHR::eIdentity ) result += "Identity | "; 1404 if ( value & SurfaceTransformFlagBitsKHR::eRotate90 ) result += "Rotate90 | "; 1405 if ( value & SurfaceTransformFlagBitsKHR::eRotate180 ) result += "Rotate180 | "; 1406 if ( value & SurfaceTransformFlagBitsKHR::eRotate270 ) result += "Rotate270 | "; 1407 if ( value & SurfaceTransformFlagBitsKHR::eHorizontalMirror ) result += "HorizontalMirror | "; 1408 if ( value & SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate90 ) result += "HorizontalMirrorRotate90 | "; 1409 if ( value & SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate180 ) result += "HorizontalMirrorRotate180 | "; 1410 if ( value & SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate270 ) result += "HorizontalMirrorRotate270 | "; 1411 if ( value & SurfaceTransformFlagBitsKHR::eInherit ) result += "Inherit | "; 1412 1413 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1414 } 1415 1416 #if defined( VK_USE_PLATFORM_XLIB_KHR ) 1417 //=== VK_KHR_xlib_surface === 1418 to_string(XlibSurfaceCreateFlagsKHR)1419 VULKAN_HPP_INLINE std::string to_string( XlibSurfaceCreateFlagsKHR ) 1420 { 1421 return "{}"; 1422 } 1423 #endif /*VK_USE_PLATFORM_XLIB_KHR*/ 1424 1425 #if defined( VK_USE_PLATFORM_XCB_KHR ) 1426 //=== VK_KHR_xcb_surface === 1427 to_string(XcbSurfaceCreateFlagsKHR)1428 VULKAN_HPP_INLINE std::string to_string( XcbSurfaceCreateFlagsKHR ) 1429 { 1430 return "{}"; 1431 } 1432 #endif /*VK_USE_PLATFORM_XCB_KHR*/ 1433 1434 #if defined( VK_USE_PLATFORM_WAYLAND_KHR ) 1435 //=== VK_KHR_wayland_surface === 1436 to_string(WaylandSurfaceCreateFlagsKHR)1437 VULKAN_HPP_INLINE std::string to_string( WaylandSurfaceCreateFlagsKHR ) 1438 { 1439 return "{}"; 1440 } 1441 #endif /*VK_USE_PLATFORM_WAYLAND_KHR*/ 1442 1443 #if defined( VK_USE_PLATFORM_ANDROID_KHR ) 1444 //=== VK_KHR_android_surface === 1445 to_string(AndroidSurfaceCreateFlagsKHR)1446 VULKAN_HPP_INLINE std::string to_string( AndroidSurfaceCreateFlagsKHR ) 1447 { 1448 return "{}"; 1449 } 1450 #endif /*VK_USE_PLATFORM_ANDROID_KHR*/ 1451 1452 #if defined( VK_USE_PLATFORM_WIN32_KHR ) 1453 //=== VK_KHR_win32_surface === 1454 to_string(Win32SurfaceCreateFlagsKHR)1455 VULKAN_HPP_INLINE std::string to_string( Win32SurfaceCreateFlagsKHR ) 1456 { 1457 return "{}"; 1458 } 1459 #endif /*VK_USE_PLATFORM_WIN32_KHR*/ 1460 1461 //=== VK_EXT_debug_report === 1462 to_string(DebugReportFlagsEXT value)1463 VULKAN_HPP_INLINE std::string to_string( DebugReportFlagsEXT value ) 1464 { 1465 if ( !value ) 1466 return "{}"; 1467 1468 std::string result; 1469 if ( value & DebugReportFlagBitsEXT::eInformation ) result += "Information | "; 1470 if ( value & DebugReportFlagBitsEXT::eWarning ) result += "Warning | "; 1471 if ( value & DebugReportFlagBitsEXT::ePerformanceWarning ) result += "PerformanceWarning | "; 1472 if ( value & DebugReportFlagBitsEXT::eError ) result += "Error | "; 1473 if ( value & DebugReportFlagBitsEXT::eDebug ) result += "Debug | "; 1474 1475 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1476 } 1477 1478 //=== VK_KHR_video_queue === 1479 to_string(VideoCodecOperationFlagsKHR value)1480 VULKAN_HPP_INLINE std::string to_string( VideoCodecOperationFlagsKHR value ) 1481 { 1482 if ( !value ) 1483 return "None"; 1484 1485 std::string result; 1486 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 1487 if ( value & VideoCodecOperationFlagBitsKHR::eEncodeH264EXT ) result += "EncodeH264EXT | "; 1488 if ( value & VideoCodecOperationFlagBitsKHR::eEncodeH265EXT ) result += "EncodeH265EXT | "; 1489 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 1490 if ( value & VideoCodecOperationFlagBitsKHR::eDecodeH264 ) result += "DecodeH264 | "; 1491 if ( value & VideoCodecOperationFlagBitsKHR::eDecodeH265 ) result += "DecodeH265 | "; 1492 1493 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1494 } 1495 to_string(VideoChromaSubsamplingFlagsKHR value)1496 VULKAN_HPP_INLINE std::string to_string( VideoChromaSubsamplingFlagsKHR value ) 1497 { 1498 if ( !value ) 1499 return "Invalid"; 1500 1501 std::string result; 1502 if ( value & VideoChromaSubsamplingFlagBitsKHR::eMonochrome ) result += "Monochrome | "; 1503 if ( value & VideoChromaSubsamplingFlagBitsKHR::e420 ) result += "420 | "; 1504 if ( value & VideoChromaSubsamplingFlagBitsKHR::e422 ) result += "422 | "; 1505 if ( value & VideoChromaSubsamplingFlagBitsKHR::e444 ) result += "444 | "; 1506 1507 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1508 } 1509 to_string(VideoComponentBitDepthFlagsKHR value)1510 VULKAN_HPP_INLINE std::string to_string( VideoComponentBitDepthFlagsKHR value ) 1511 { 1512 if ( !value ) 1513 return "Invalid"; 1514 1515 std::string result; 1516 if ( value & VideoComponentBitDepthFlagBitsKHR::e8 ) result += "8 | "; 1517 if ( value & VideoComponentBitDepthFlagBitsKHR::e10 ) result += "10 | "; 1518 if ( value & VideoComponentBitDepthFlagBitsKHR::e12 ) result += "12 | "; 1519 1520 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1521 } 1522 to_string(VideoCapabilityFlagsKHR value)1523 VULKAN_HPP_INLINE std::string to_string( VideoCapabilityFlagsKHR value ) 1524 { 1525 if ( !value ) 1526 return "{}"; 1527 1528 std::string result; 1529 if ( value & VideoCapabilityFlagBitsKHR::eProtectedContent ) result += "ProtectedContent | "; 1530 if ( value & VideoCapabilityFlagBitsKHR::eSeparateReferenceImages ) result += "SeparateReferenceImages | "; 1531 1532 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1533 } 1534 to_string(VideoSessionCreateFlagsKHR value)1535 VULKAN_HPP_INLINE std::string to_string( VideoSessionCreateFlagsKHR value ) 1536 { 1537 if ( !value ) 1538 return "{}"; 1539 1540 std::string result; 1541 if ( value & VideoSessionCreateFlagBitsKHR::eProtectedContent ) result += "ProtectedContent | "; 1542 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 1543 if ( value & VideoSessionCreateFlagBitsKHR::eAllowEncodeParameterOptimizations ) result += "AllowEncodeParameterOptimizations | "; 1544 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 1545 1546 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1547 } 1548 to_string(VideoSessionParametersCreateFlagsKHR)1549 VULKAN_HPP_INLINE std::string to_string( VideoSessionParametersCreateFlagsKHR ) 1550 { 1551 return "{}"; 1552 } 1553 to_string(VideoBeginCodingFlagsKHR)1554 VULKAN_HPP_INLINE std::string to_string( VideoBeginCodingFlagsKHR ) 1555 { 1556 return "{}"; 1557 } 1558 to_string(VideoEndCodingFlagsKHR)1559 VULKAN_HPP_INLINE std::string to_string( VideoEndCodingFlagsKHR ) 1560 { 1561 return "{}"; 1562 } 1563 to_string(VideoCodingControlFlagsKHR value)1564 VULKAN_HPP_INLINE std::string to_string( VideoCodingControlFlagsKHR value ) 1565 { 1566 if ( !value ) 1567 return "{}"; 1568 1569 std::string result; 1570 if ( value & VideoCodingControlFlagBitsKHR::eReset ) result += "Reset | "; 1571 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 1572 if ( value & VideoCodingControlFlagBitsKHR::eEncodeRateControl ) result += "EncodeRateControl | "; 1573 if ( value & VideoCodingControlFlagBitsKHR::eEncodeQualityLevel ) result += "EncodeQualityLevel | "; 1574 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 1575 1576 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1577 } 1578 1579 //=== VK_KHR_video_decode_queue === 1580 to_string(VideoDecodeCapabilityFlagsKHR value)1581 VULKAN_HPP_INLINE std::string to_string( VideoDecodeCapabilityFlagsKHR value ) 1582 { 1583 if ( !value ) 1584 return "{}"; 1585 1586 std::string result; 1587 if ( value & VideoDecodeCapabilityFlagBitsKHR::eDpbAndOutputCoincide ) result += "DpbAndOutputCoincide | "; 1588 if ( value & VideoDecodeCapabilityFlagBitsKHR::eDpbAndOutputDistinct ) result += "DpbAndOutputDistinct | "; 1589 1590 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1591 } 1592 to_string(VideoDecodeUsageFlagsKHR value)1593 VULKAN_HPP_INLINE std::string to_string( VideoDecodeUsageFlagsKHR value ) 1594 { 1595 if ( !value ) 1596 return "Default"; 1597 1598 std::string result; 1599 if ( value & VideoDecodeUsageFlagBitsKHR::eTranscoding ) result += "Transcoding | "; 1600 if ( value & VideoDecodeUsageFlagBitsKHR::eOffline ) result += "Offline | "; 1601 if ( value & VideoDecodeUsageFlagBitsKHR::eStreaming ) result += "Streaming | "; 1602 1603 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1604 } 1605 to_string(VideoDecodeFlagsKHR)1606 VULKAN_HPP_INLINE std::string to_string( VideoDecodeFlagsKHR ) 1607 { 1608 return "{}"; 1609 } 1610 1611 //=== VK_EXT_transform_feedback === 1612 to_string(PipelineRasterizationStateStreamCreateFlagsEXT)1613 VULKAN_HPP_INLINE std::string to_string( PipelineRasterizationStateStreamCreateFlagsEXT ) 1614 { 1615 return "{}"; 1616 } 1617 1618 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 1619 //=== VK_EXT_video_encode_h264 === 1620 to_string(VideoEncodeH264CapabilityFlagsEXT value)1621 VULKAN_HPP_INLINE std::string to_string( VideoEncodeH264CapabilityFlagsEXT value ) 1622 { 1623 if ( !value ) 1624 return "{}"; 1625 1626 std::string result; 1627 if ( value & VideoEncodeH264CapabilityFlagBitsEXT::eHrdCompliance ) result += "HrdCompliance | "; 1628 if ( value & VideoEncodeH264CapabilityFlagBitsEXT::ePredictionWeightTableGenerated ) result += "PredictionWeightTableGenerated | "; 1629 if ( value & VideoEncodeH264CapabilityFlagBitsEXT::eRowUnalignedSlice ) result += "RowUnalignedSlice | "; 1630 if ( value & VideoEncodeH264CapabilityFlagBitsEXT::eDifferentSliceType ) result += "DifferentSliceType | "; 1631 if ( value & VideoEncodeH264CapabilityFlagBitsEXT::eBFrameInL0List ) result += "BFrameInL0List | "; 1632 if ( value & VideoEncodeH264CapabilityFlagBitsEXT::eBFrameInL1List ) result += "BFrameInL1List | "; 1633 if ( value & VideoEncodeH264CapabilityFlagBitsEXT::ePerPictureTypeMinMaxQp ) result += "PerPictureTypeMinMaxQp | "; 1634 if ( value & VideoEncodeH264CapabilityFlagBitsEXT::ePerSliceConstantQp ) result += "PerSliceConstantQp | "; 1635 if ( value & VideoEncodeH264CapabilityFlagBitsEXT::eGeneratePrefixNalu ) result += "GeneratePrefixNalu | "; 1636 1637 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1638 } 1639 to_string(VideoEncodeH264StdFlagsEXT value)1640 VULKAN_HPP_INLINE std::string to_string( VideoEncodeH264StdFlagsEXT value ) 1641 { 1642 if ( !value ) 1643 return "{}"; 1644 1645 std::string result; 1646 if ( value & VideoEncodeH264StdFlagBitsEXT::eSeparateColorPlaneFlagSet ) result += "SeparateColorPlaneFlagSet | "; 1647 if ( value & VideoEncodeH264StdFlagBitsEXT::eQpprimeYZeroTransformBypassFlagSet ) result += "QpprimeYZeroTransformBypassFlagSet | "; 1648 if ( value & VideoEncodeH264StdFlagBitsEXT::eScalingMatrixPresentFlagSet ) result += "ScalingMatrixPresentFlagSet | "; 1649 if ( value & VideoEncodeH264StdFlagBitsEXT::eChromaQpIndexOffset ) result += "ChromaQpIndexOffset | "; 1650 if ( value & VideoEncodeH264StdFlagBitsEXT::eSecondChromaQpIndexOffset ) result += "SecondChromaQpIndexOffset | "; 1651 if ( value & VideoEncodeH264StdFlagBitsEXT::ePicInitQpMinus26 ) result += "PicInitQpMinus26 | "; 1652 if ( value & VideoEncodeH264StdFlagBitsEXT::eWeightedPredFlagSet ) result += "WeightedPredFlagSet | "; 1653 if ( value & VideoEncodeH264StdFlagBitsEXT::eWeightedBipredIdcExplicit ) result += "WeightedBipredIdcExplicit | "; 1654 if ( value & VideoEncodeH264StdFlagBitsEXT::eWeightedBipredIdcImplicit ) result += "WeightedBipredIdcImplicit | "; 1655 if ( value & VideoEncodeH264StdFlagBitsEXT::eTransform8X8ModeFlagSet ) result += "Transform8X8ModeFlagSet | "; 1656 if ( value & VideoEncodeH264StdFlagBitsEXT::eDirectSpatialMvPredFlagUnset ) result += "DirectSpatialMvPredFlagUnset | "; 1657 if ( value & VideoEncodeH264StdFlagBitsEXT::eEntropyCodingModeFlagUnset ) result += "EntropyCodingModeFlagUnset | "; 1658 if ( value & VideoEncodeH264StdFlagBitsEXT::eEntropyCodingModeFlagSet ) result += "EntropyCodingModeFlagSet | "; 1659 if ( value & VideoEncodeH264StdFlagBitsEXT::eDirect8X8InferenceFlagUnset ) result += "Direct8X8InferenceFlagUnset | "; 1660 if ( value & VideoEncodeH264StdFlagBitsEXT::eConstrainedIntraPredFlagSet ) result += "ConstrainedIntraPredFlagSet | "; 1661 if ( value & VideoEncodeH264StdFlagBitsEXT::eDeblockingFilterDisabled ) result += "DeblockingFilterDisabled | "; 1662 if ( value & VideoEncodeH264StdFlagBitsEXT::eDeblockingFilterEnabled ) result += "DeblockingFilterEnabled | "; 1663 if ( value & VideoEncodeH264StdFlagBitsEXT::eDeblockingFilterPartial ) result += "DeblockingFilterPartial | "; 1664 if ( value & VideoEncodeH264StdFlagBitsEXT::eSliceQpDelta ) result += "SliceQpDelta | "; 1665 if ( value & VideoEncodeH264StdFlagBitsEXT::eDifferentSliceQpDelta ) result += "DifferentSliceQpDelta | "; 1666 1667 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1668 } 1669 to_string(VideoEncodeH264RateControlFlagsEXT value)1670 VULKAN_HPP_INLINE std::string to_string( VideoEncodeH264RateControlFlagsEXT value ) 1671 { 1672 if ( !value ) 1673 return "{}"; 1674 1675 std::string result; 1676 if ( value & VideoEncodeH264RateControlFlagBitsEXT::eAttemptHrdCompliance ) result += "AttemptHrdCompliance | "; 1677 if ( value & VideoEncodeH264RateControlFlagBitsEXT::eRegularGop ) result += "RegularGop | "; 1678 if ( value & VideoEncodeH264RateControlFlagBitsEXT::eReferencePatternFlat ) result += "ReferencePatternFlat | "; 1679 if ( value & VideoEncodeH264RateControlFlagBitsEXT::eReferencePatternDyadic ) result += "ReferencePatternDyadic | "; 1680 if ( value & VideoEncodeH264RateControlFlagBitsEXT::eTemporalLayerPatternDyadic ) result += "TemporalLayerPatternDyadic | "; 1681 1682 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1683 } 1684 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 1685 1686 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 1687 //=== VK_EXT_video_encode_h265 === 1688 to_string(VideoEncodeH265CapabilityFlagsEXT value)1689 VULKAN_HPP_INLINE std::string to_string( VideoEncodeH265CapabilityFlagsEXT value ) 1690 { 1691 if ( !value ) 1692 return "{}"; 1693 1694 std::string result; 1695 if ( value & VideoEncodeH265CapabilityFlagBitsEXT::eHrdCompliance ) result += "HrdCompliance | "; 1696 if ( value & VideoEncodeH265CapabilityFlagBitsEXT::ePredictionWeightTableGenerated ) result += "PredictionWeightTableGenerated | "; 1697 if ( value & VideoEncodeH265CapabilityFlagBitsEXT::eRowUnalignedSliceSegment ) result += "RowUnalignedSliceSegment | "; 1698 if ( value & VideoEncodeH265CapabilityFlagBitsEXT::eDifferentSliceSegmentType ) result += "DifferentSliceSegmentType | "; 1699 if ( value & VideoEncodeH265CapabilityFlagBitsEXT::eBFrameInL0List ) result += "BFrameInL0List | "; 1700 if ( value & VideoEncodeH265CapabilityFlagBitsEXT::eBFrameInL1List ) result += "BFrameInL1List | "; 1701 if ( value & VideoEncodeH265CapabilityFlagBitsEXT::ePerPictureTypeMinMaxQp ) result += "PerPictureTypeMinMaxQp | "; 1702 if ( value & VideoEncodeH265CapabilityFlagBitsEXT::ePerSliceSegmentConstantQp ) result += "PerSliceSegmentConstantQp | "; 1703 if ( value & VideoEncodeH265CapabilityFlagBitsEXT::eMultipleTilesPerSliceSegment ) result += "MultipleTilesPerSliceSegment | "; 1704 if ( value & VideoEncodeH265CapabilityFlagBitsEXT::eMultipleSliceSegmentsPerTile ) result += "MultipleSliceSegmentsPerTile | "; 1705 1706 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1707 } 1708 to_string(VideoEncodeH265StdFlagsEXT value)1709 VULKAN_HPP_INLINE std::string to_string( VideoEncodeH265StdFlagsEXT value ) 1710 { 1711 if ( !value ) 1712 return "{}"; 1713 1714 std::string result; 1715 if ( value & VideoEncodeH265StdFlagBitsEXT::eSeparateColorPlaneFlagSet ) result += "SeparateColorPlaneFlagSet | "; 1716 if ( value & VideoEncodeH265StdFlagBitsEXT::eSampleAdaptiveOffsetEnabledFlagSet ) result += "SampleAdaptiveOffsetEnabledFlagSet | "; 1717 if ( value & VideoEncodeH265StdFlagBitsEXT::eScalingListDataPresentFlagSet ) result += "ScalingListDataPresentFlagSet | "; 1718 if ( value & VideoEncodeH265StdFlagBitsEXT::ePcmEnabledFlagSet ) result += "PcmEnabledFlagSet | "; 1719 if ( value & VideoEncodeH265StdFlagBitsEXT::eSpsTemporalMvpEnabledFlagSet ) result += "SpsTemporalMvpEnabledFlagSet | "; 1720 if ( value & VideoEncodeH265StdFlagBitsEXT::eInitQpMinus26 ) result += "InitQpMinus26 | "; 1721 if ( value & VideoEncodeH265StdFlagBitsEXT::eWeightedPredFlagSet ) result += "WeightedPredFlagSet | "; 1722 if ( value & VideoEncodeH265StdFlagBitsEXT::eWeightedBipredFlagSet ) result += "WeightedBipredFlagSet | "; 1723 if ( value & VideoEncodeH265StdFlagBitsEXT::eLog2ParallelMergeLevelMinus2 ) result += "Log2ParallelMergeLevelMinus2 | "; 1724 if ( value & VideoEncodeH265StdFlagBitsEXT::eSignDataHidingEnabledFlagSet ) result += "SignDataHidingEnabledFlagSet | "; 1725 if ( value & VideoEncodeH265StdFlagBitsEXT::eTransformSkipEnabledFlagSet ) result += "TransformSkipEnabledFlagSet | "; 1726 if ( value & VideoEncodeH265StdFlagBitsEXT::eTransformSkipEnabledFlagUnset ) result += "TransformSkipEnabledFlagUnset | "; 1727 if ( value & VideoEncodeH265StdFlagBitsEXT::ePpsSliceChromaQpOffsetsPresentFlagSet ) result += "PpsSliceChromaQpOffsetsPresentFlagSet | "; 1728 if ( value & VideoEncodeH265StdFlagBitsEXT::eTransquantBypassEnabledFlagSet ) result += "TransquantBypassEnabledFlagSet | "; 1729 if ( value & VideoEncodeH265StdFlagBitsEXT::eConstrainedIntraPredFlagSet ) result += "ConstrainedIntraPredFlagSet | "; 1730 if ( value & VideoEncodeH265StdFlagBitsEXT::eEntropyCodingSyncEnabledFlagSet ) result += "EntropyCodingSyncEnabledFlagSet | "; 1731 if ( value & VideoEncodeH265StdFlagBitsEXT::eDeblockingFilterOverrideEnabledFlagSet ) result += "DeblockingFilterOverrideEnabledFlagSet | "; 1732 if ( value & VideoEncodeH265StdFlagBitsEXT::eDependentSliceSegmentsEnabledFlagSet ) result += "DependentSliceSegmentsEnabledFlagSet | "; 1733 if ( value & VideoEncodeH265StdFlagBitsEXT::eDependentSliceSegmentFlagSet ) result += "DependentSliceSegmentFlagSet | "; 1734 if ( value & VideoEncodeH265StdFlagBitsEXT::eSliceQpDelta ) result += "SliceQpDelta | "; 1735 if ( value & VideoEncodeH265StdFlagBitsEXT::eDifferentSliceQpDelta ) result += "DifferentSliceQpDelta | "; 1736 1737 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1738 } 1739 to_string(VideoEncodeH265CtbSizeFlagsEXT value)1740 VULKAN_HPP_INLINE std::string to_string( VideoEncodeH265CtbSizeFlagsEXT value ) 1741 { 1742 if ( !value ) 1743 return "{}"; 1744 1745 std::string result; 1746 if ( value & VideoEncodeH265CtbSizeFlagBitsEXT::e16 ) result += "16 | "; 1747 if ( value & VideoEncodeH265CtbSizeFlagBitsEXT::e32 ) result += "32 | "; 1748 if ( value & VideoEncodeH265CtbSizeFlagBitsEXT::e64 ) result += "64 | "; 1749 1750 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1751 } 1752 to_string(VideoEncodeH265TransformBlockSizeFlagsEXT value)1753 VULKAN_HPP_INLINE std::string to_string( VideoEncodeH265TransformBlockSizeFlagsEXT value ) 1754 { 1755 if ( !value ) 1756 return "{}"; 1757 1758 std::string result; 1759 if ( value & VideoEncodeH265TransformBlockSizeFlagBitsEXT::e4 ) result += "4 | "; 1760 if ( value & VideoEncodeH265TransformBlockSizeFlagBitsEXT::e8 ) result += "8 | "; 1761 if ( value & VideoEncodeH265TransformBlockSizeFlagBitsEXT::e16 ) result += "16 | "; 1762 if ( value & VideoEncodeH265TransformBlockSizeFlagBitsEXT::e32 ) result += "32 | "; 1763 1764 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1765 } 1766 to_string(VideoEncodeH265RateControlFlagsEXT value)1767 VULKAN_HPP_INLINE std::string to_string( VideoEncodeH265RateControlFlagsEXT value ) 1768 { 1769 if ( !value ) 1770 return "{}"; 1771 1772 std::string result; 1773 if ( value & VideoEncodeH265RateControlFlagBitsEXT::eAttemptHrdCompliance ) result += "AttemptHrdCompliance | "; 1774 if ( value & VideoEncodeH265RateControlFlagBitsEXT::eRegularGop ) result += "RegularGop | "; 1775 if ( value & VideoEncodeH265RateControlFlagBitsEXT::eReferencePatternFlat ) result += "ReferencePatternFlat | "; 1776 if ( value & VideoEncodeH265RateControlFlagBitsEXT::eReferencePatternDyadic ) result += "ReferencePatternDyadic | "; 1777 if ( value & VideoEncodeH265RateControlFlagBitsEXT::eTemporalSubLayerPatternDyadic ) result += "TemporalSubLayerPatternDyadic | "; 1778 1779 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1780 } 1781 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 1782 1783 //=== VK_KHR_video_decode_h264 === 1784 to_string(VideoDecodeH264PictureLayoutFlagsKHR value)1785 VULKAN_HPP_INLINE std::string to_string( VideoDecodeH264PictureLayoutFlagsKHR value ) 1786 { 1787 if ( !value ) 1788 return "Progressive"; 1789 1790 std::string result; 1791 if ( value & VideoDecodeH264PictureLayoutFlagBitsKHR::eInterlacedInterleavedLines ) result += "InterlacedInterleavedLines | "; 1792 if ( value & VideoDecodeH264PictureLayoutFlagBitsKHR::eInterlacedSeparatePlanes ) result += "InterlacedSeparatePlanes | "; 1793 1794 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1795 } 1796 1797 #if defined( VK_USE_PLATFORM_GGP ) 1798 //=== VK_GGP_stream_descriptor_surface === 1799 to_string(StreamDescriptorSurfaceCreateFlagsGGP)1800 VULKAN_HPP_INLINE std::string to_string( StreamDescriptorSurfaceCreateFlagsGGP ) 1801 { 1802 return "{}"; 1803 } 1804 #endif /*VK_USE_PLATFORM_GGP*/ 1805 1806 //=== VK_NV_external_memory_capabilities === 1807 to_string(ExternalMemoryHandleTypeFlagsNV value)1808 VULKAN_HPP_INLINE std::string to_string( ExternalMemoryHandleTypeFlagsNV value ) 1809 { 1810 if ( !value ) 1811 return "{}"; 1812 1813 std::string result; 1814 if ( value & ExternalMemoryHandleTypeFlagBitsNV::eOpaqueWin32 ) result += "OpaqueWin32 | "; 1815 if ( value & ExternalMemoryHandleTypeFlagBitsNV::eOpaqueWin32Kmt ) result += "OpaqueWin32Kmt | "; 1816 if ( value & ExternalMemoryHandleTypeFlagBitsNV::eD3D11Image ) result += "D3D11Image | "; 1817 if ( value & ExternalMemoryHandleTypeFlagBitsNV::eD3D11ImageKmt ) result += "D3D11ImageKmt | "; 1818 1819 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1820 } 1821 to_string(ExternalMemoryFeatureFlagsNV value)1822 VULKAN_HPP_INLINE std::string to_string( ExternalMemoryFeatureFlagsNV value ) 1823 { 1824 if ( !value ) 1825 return "{}"; 1826 1827 std::string result; 1828 if ( value & ExternalMemoryFeatureFlagBitsNV::eDedicatedOnly ) result += "DedicatedOnly | "; 1829 if ( value & ExternalMemoryFeatureFlagBitsNV::eExportable ) result += "Exportable | "; 1830 if ( value & ExternalMemoryFeatureFlagBitsNV::eImportable ) result += "Importable | "; 1831 1832 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1833 } 1834 1835 #if defined( VK_USE_PLATFORM_VI_NN ) 1836 //=== VK_NN_vi_surface === 1837 to_string(ViSurfaceCreateFlagsNN)1838 VULKAN_HPP_INLINE std::string to_string( ViSurfaceCreateFlagsNN ) 1839 { 1840 return "{}"; 1841 } 1842 #endif /*VK_USE_PLATFORM_VI_NN*/ 1843 1844 //=== VK_EXT_conditional_rendering === 1845 to_string(ConditionalRenderingFlagsEXT value)1846 VULKAN_HPP_INLINE std::string to_string( ConditionalRenderingFlagsEXT value ) 1847 { 1848 if ( !value ) 1849 return "{}"; 1850 1851 std::string result; 1852 if ( value & ConditionalRenderingFlagBitsEXT::eInverted ) result += "Inverted | "; 1853 1854 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1855 } 1856 1857 //=== VK_EXT_display_surface_counter === 1858 to_string(SurfaceCounterFlagsEXT value)1859 VULKAN_HPP_INLINE std::string to_string( SurfaceCounterFlagsEXT value ) 1860 { 1861 if ( !value ) 1862 return "{}"; 1863 1864 std::string result; 1865 if ( value & SurfaceCounterFlagBitsEXT::eVblank ) result += "Vblank | "; 1866 1867 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1868 } 1869 1870 //=== VK_NV_viewport_swizzle === 1871 to_string(PipelineViewportSwizzleStateCreateFlagsNV)1872 VULKAN_HPP_INLINE std::string to_string( PipelineViewportSwizzleStateCreateFlagsNV ) 1873 { 1874 return "{}"; 1875 } 1876 1877 //=== VK_EXT_discard_rectangles === 1878 to_string(PipelineDiscardRectangleStateCreateFlagsEXT)1879 VULKAN_HPP_INLINE std::string to_string( PipelineDiscardRectangleStateCreateFlagsEXT ) 1880 { 1881 return "{}"; 1882 } 1883 1884 //=== VK_EXT_conservative_rasterization === 1885 to_string(PipelineRasterizationConservativeStateCreateFlagsEXT)1886 VULKAN_HPP_INLINE std::string to_string( PipelineRasterizationConservativeStateCreateFlagsEXT ) 1887 { 1888 return "{}"; 1889 } 1890 1891 //=== VK_EXT_depth_clip_enable === 1892 to_string(PipelineRasterizationDepthClipStateCreateFlagsEXT)1893 VULKAN_HPP_INLINE std::string to_string( PipelineRasterizationDepthClipStateCreateFlagsEXT ) 1894 { 1895 return "{}"; 1896 } 1897 1898 //=== VK_KHR_performance_query === 1899 to_string(PerformanceCounterDescriptionFlagsKHR value)1900 VULKAN_HPP_INLINE std::string to_string( PerformanceCounterDescriptionFlagsKHR value ) 1901 { 1902 if ( !value ) 1903 return "{}"; 1904 1905 std::string result; 1906 if ( value & PerformanceCounterDescriptionFlagBitsKHR::ePerformanceImpacting ) result += "PerformanceImpacting | "; 1907 if ( value & PerformanceCounterDescriptionFlagBitsKHR::eConcurrentlyImpacted ) result += "ConcurrentlyImpacted | "; 1908 1909 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1910 } 1911 to_string(AcquireProfilingLockFlagsKHR)1912 VULKAN_HPP_INLINE std::string to_string( AcquireProfilingLockFlagsKHR ) 1913 { 1914 return "{}"; 1915 } 1916 1917 #if defined( VK_USE_PLATFORM_IOS_MVK ) 1918 //=== VK_MVK_ios_surface === 1919 to_string(IOSSurfaceCreateFlagsMVK)1920 VULKAN_HPP_INLINE std::string to_string( IOSSurfaceCreateFlagsMVK ) 1921 { 1922 return "{}"; 1923 } 1924 #endif /*VK_USE_PLATFORM_IOS_MVK*/ 1925 1926 #if defined( VK_USE_PLATFORM_MACOS_MVK ) 1927 //=== VK_MVK_macos_surface === 1928 to_string(MacOSSurfaceCreateFlagsMVK)1929 VULKAN_HPP_INLINE std::string to_string( MacOSSurfaceCreateFlagsMVK ) 1930 { 1931 return "{}"; 1932 } 1933 #endif /*VK_USE_PLATFORM_MACOS_MVK*/ 1934 1935 //=== VK_EXT_debug_utils === 1936 to_string(DebugUtilsMessageSeverityFlagsEXT value)1937 VULKAN_HPP_INLINE std::string to_string( DebugUtilsMessageSeverityFlagsEXT value ) 1938 { 1939 if ( !value ) 1940 return "{}"; 1941 1942 std::string result; 1943 if ( value & DebugUtilsMessageSeverityFlagBitsEXT::eVerbose ) result += "Verbose | "; 1944 if ( value & DebugUtilsMessageSeverityFlagBitsEXT::eInfo ) result += "Info | "; 1945 if ( value & DebugUtilsMessageSeverityFlagBitsEXT::eWarning ) result += "Warning | "; 1946 if ( value & DebugUtilsMessageSeverityFlagBitsEXT::eError ) result += "Error | "; 1947 1948 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1949 } 1950 to_string(DebugUtilsMessageTypeFlagsEXT value)1951 VULKAN_HPP_INLINE std::string to_string( DebugUtilsMessageTypeFlagsEXT value ) 1952 { 1953 if ( !value ) 1954 return "{}"; 1955 1956 std::string result; 1957 if ( value & DebugUtilsMessageTypeFlagBitsEXT::eGeneral ) result += "General | "; 1958 if ( value & DebugUtilsMessageTypeFlagBitsEXT::eValidation ) result += "Validation | "; 1959 if ( value & DebugUtilsMessageTypeFlagBitsEXT::ePerformance ) result += "Performance | "; 1960 if ( value & DebugUtilsMessageTypeFlagBitsEXT::eDeviceAddressBinding ) result += "DeviceAddressBinding | "; 1961 1962 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1963 } 1964 to_string(DebugUtilsMessengerCallbackDataFlagsEXT)1965 VULKAN_HPP_INLINE std::string to_string( DebugUtilsMessengerCallbackDataFlagsEXT ) 1966 { 1967 return "{}"; 1968 } 1969 to_string(DebugUtilsMessengerCreateFlagsEXT)1970 VULKAN_HPP_INLINE std::string to_string( DebugUtilsMessengerCreateFlagsEXT ) 1971 { 1972 return "{}"; 1973 } 1974 1975 //=== VK_NV_fragment_coverage_to_color === 1976 to_string(PipelineCoverageToColorStateCreateFlagsNV)1977 VULKAN_HPP_INLINE std::string to_string( PipelineCoverageToColorStateCreateFlagsNV ) 1978 { 1979 return "{}"; 1980 } 1981 1982 //=== VK_KHR_acceleration_structure === 1983 to_string(GeometryFlagsKHR value)1984 VULKAN_HPP_INLINE std::string to_string( GeometryFlagsKHR value ) 1985 { 1986 if ( !value ) 1987 return "{}"; 1988 1989 std::string result; 1990 if ( value & GeometryFlagBitsKHR::eOpaque ) result += "Opaque | "; 1991 if ( value & GeometryFlagBitsKHR::eNoDuplicateAnyHitInvocation ) result += "NoDuplicateAnyHitInvocation | "; 1992 1993 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 1994 } 1995 to_string(GeometryInstanceFlagsKHR value)1996 VULKAN_HPP_INLINE std::string to_string( GeometryInstanceFlagsKHR value ) 1997 { 1998 if ( !value ) 1999 return "{}"; 2000 2001 std::string result; 2002 if ( value & GeometryInstanceFlagBitsKHR::eTriangleFacingCullDisable ) result += "TriangleFacingCullDisable | "; 2003 if ( value & GeometryInstanceFlagBitsKHR::eTriangleFlipFacing ) result += "TriangleFlipFacing | "; 2004 if ( value & GeometryInstanceFlagBitsKHR::eForceOpaque ) result += "ForceOpaque | "; 2005 if ( value & GeometryInstanceFlagBitsKHR::eForceNoOpaque ) result += "ForceNoOpaque | "; 2006 if ( value & GeometryInstanceFlagBitsKHR::eForceOpacityMicromap2StateEXT ) result += "ForceOpacityMicromap2StateEXT | "; 2007 if ( value & GeometryInstanceFlagBitsKHR::eDisableOpacityMicromapsEXT ) result += "DisableOpacityMicromapsEXT | "; 2008 2009 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 2010 } 2011 to_string(BuildAccelerationStructureFlagsKHR value)2012 VULKAN_HPP_INLINE std::string to_string( BuildAccelerationStructureFlagsKHR value ) 2013 { 2014 if ( !value ) 2015 return "{}"; 2016 2017 std::string result; 2018 if ( value & BuildAccelerationStructureFlagBitsKHR::eAllowUpdate ) result += "AllowUpdate | "; 2019 if ( value & BuildAccelerationStructureFlagBitsKHR::eAllowCompaction ) result += "AllowCompaction | "; 2020 if ( value & BuildAccelerationStructureFlagBitsKHR::ePreferFastTrace ) result += "PreferFastTrace | "; 2021 if ( value & BuildAccelerationStructureFlagBitsKHR::ePreferFastBuild ) result += "PreferFastBuild | "; 2022 if ( value & BuildAccelerationStructureFlagBitsKHR::eLowMemory ) result += "LowMemory | "; 2023 if ( value & BuildAccelerationStructureFlagBitsKHR::eMotionNV ) result += "MotionNV | "; 2024 if ( value & BuildAccelerationStructureFlagBitsKHR::eAllowOpacityMicromapUpdateEXT ) result += "AllowOpacityMicromapUpdateEXT | "; 2025 if ( value & BuildAccelerationStructureFlagBitsKHR::eAllowDisableOpacityMicromapsEXT ) result += "AllowDisableOpacityMicromapsEXT | "; 2026 if ( value & BuildAccelerationStructureFlagBitsKHR::eAllowOpacityMicromapDataUpdateEXT ) result += "AllowOpacityMicromapDataUpdateEXT | "; 2027 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 2028 if ( value & BuildAccelerationStructureFlagBitsKHR::eAllowDisplacementMicromapUpdateNV ) result += "AllowDisplacementMicromapUpdateNV | "; 2029 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 2030 if ( value & BuildAccelerationStructureFlagBitsKHR::eAllowDataAccess ) result += "AllowDataAccess | "; 2031 2032 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 2033 } 2034 to_string(AccelerationStructureCreateFlagsKHR value)2035 VULKAN_HPP_INLINE std::string to_string( AccelerationStructureCreateFlagsKHR value ) 2036 { 2037 if ( !value ) 2038 return "{}"; 2039 2040 std::string result; 2041 if ( value & AccelerationStructureCreateFlagBitsKHR::eDeviceAddressCaptureReplay ) result += "DeviceAddressCaptureReplay | "; 2042 if ( value & AccelerationStructureCreateFlagBitsKHR::eDescriptorBufferCaptureReplayEXT ) result += "DescriptorBufferCaptureReplayEXT | "; 2043 if ( value & AccelerationStructureCreateFlagBitsKHR::eMotionNV ) result += "MotionNV | "; 2044 2045 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 2046 } 2047 2048 //=== VK_NV_framebuffer_mixed_samples === 2049 to_string(PipelineCoverageModulationStateCreateFlagsNV)2050 VULKAN_HPP_INLINE std::string to_string( PipelineCoverageModulationStateCreateFlagsNV ) 2051 { 2052 return "{}"; 2053 } 2054 2055 //=== VK_EXT_validation_cache === 2056 to_string(ValidationCacheCreateFlagsEXT)2057 VULKAN_HPP_INLINE std::string to_string( ValidationCacheCreateFlagsEXT ) 2058 { 2059 return "{}"; 2060 } 2061 2062 //=== VK_AMD_pipeline_compiler_control === 2063 to_string(PipelineCompilerControlFlagsAMD)2064 VULKAN_HPP_INLINE std::string to_string( PipelineCompilerControlFlagsAMD ) 2065 { 2066 return "{}"; 2067 } 2068 2069 #if defined( VK_USE_PLATFORM_FUCHSIA ) 2070 //=== VK_FUCHSIA_imagepipe_surface === 2071 to_string(ImagePipeSurfaceCreateFlagsFUCHSIA)2072 VULKAN_HPP_INLINE std::string to_string( ImagePipeSurfaceCreateFlagsFUCHSIA ) 2073 { 2074 return "{}"; 2075 } 2076 #endif /*VK_USE_PLATFORM_FUCHSIA*/ 2077 2078 #if defined( VK_USE_PLATFORM_METAL_EXT ) 2079 //=== VK_EXT_metal_surface === 2080 to_string(MetalSurfaceCreateFlagsEXT)2081 VULKAN_HPP_INLINE std::string to_string( MetalSurfaceCreateFlagsEXT ) 2082 { 2083 return "{}"; 2084 } 2085 #endif /*VK_USE_PLATFORM_METAL_EXT*/ 2086 2087 //=== VK_AMD_shader_core_properties2 === 2088 to_string(ShaderCorePropertiesFlagsAMD)2089 VULKAN_HPP_INLINE std::string to_string( ShaderCorePropertiesFlagsAMD ) 2090 { 2091 return "{}"; 2092 } 2093 2094 //=== VK_NV_coverage_reduction_mode === 2095 to_string(PipelineCoverageReductionStateCreateFlagsNV)2096 VULKAN_HPP_INLINE std::string to_string( PipelineCoverageReductionStateCreateFlagsNV ) 2097 { 2098 return "{}"; 2099 } 2100 2101 //=== VK_EXT_headless_surface === 2102 to_string(HeadlessSurfaceCreateFlagsEXT)2103 VULKAN_HPP_INLINE std::string to_string( HeadlessSurfaceCreateFlagsEXT ) 2104 { 2105 return "{}"; 2106 } 2107 2108 //=== VK_EXT_host_image_copy === 2109 to_string(HostImageCopyFlagsEXT value)2110 VULKAN_HPP_INLINE std::string to_string( HostImageCopyFlagsEXT value ) 2111 { 2112 if ( !value ) 2113 return "{}"; 2114 2115 std::string result; 2116 if ( value & HostImageCopyFlagBitsEXT::eMemcpy ) result += "Memcpy | "; 2117 2118 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 2119 } 2120 2121 //=== VK_KHR_map_memory2 === 2122 to_string(MemoryUnmapFlagsKHR)2123 VULKAN_HPP_INLINE std::string to_string( MemoryUnmapFlagsKHR ) 2124 { 2125 return "{}"; 2126 } 2127 2128 //=== VK_EXT_surface_maintenance1 === 2129 to_string(PresentScalingFlagsEXT value)2130 VULKAN_HPP_INLINE std::string to_string( PresentScalingFlagsEXT value ) 2131 { 2132 if ( !value ) 2133 return "{}"; 2134 2135 std::string result; 2136 if ( value & PresentScalingFlagBitsEXT::eOneToOne ) result += "OneToOne | "; 2137 if ( value & PresentScalingFlagBitsEXT::eAspectRatioStretch ) result += "AspectRatioStretch | "; 2138 if ( value & PresentScalingFlagBitsEXT::eStretch ) result += "Stretch | "; 2139 2140 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 2141 } 2142 to_string(PresentGravityFlagsEXT value)2143 VULKAN_HPP_INLINE std::string to_string( PresentGravityFlagsEXT value ) 2144 { 2145 if ( !value ) 2146 return "{}"; 2147 2148 std::string result; 2149 if ( value & PresentGravityFlagBitsEXT::eMin ) result += "Min | "; 2150 if ( value & PresentGravityFlagBitsEXT::eMax ) result += "Max | "; 2151 if ( value & PresentGravityFlagBitsEXT::eCentered ) result += "Centered | "; 2152 2153 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 2154 } 2155 2156 //=== VK_NV_device_generated_commands === 2157 to_string(IndirectStateFlagsNV value)2158 VULKAN_HPP_INLINE std::string to_string( IndirectStateFlagsNV value ) 2159 { 2160 if ( !value ) 2161 return "{}"; 2162 2163 std::string result; 2164 if ( value & IndirectStateFlagBitsNV::eFlagFrontface ) result += "FlagFrontface | "; 2165 2166 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 2167 } 2168 to_string(IndirectCommandsLayoutUsageFlagsNV value)2169 VULKAN_HPP_INLINE std::string to_string( IndirectCommandsLayoutUsageFlagsNV value ) 2170 { 2171 if ( !value ) 2172 return "{}"; 2173 2174 std::string result; 2175 if ( value & IndirectCommandsLayoutUsageFlagBitsNV::eExplicitPreprocess ) result += "ExplicitPreprocess | "; 2176 if ( value & IndirectCommandsLayoutUsageFlagBitsNV::eIndexedSequences ) result += "IndexedSequences | "; 2177 if ( value & IndirectCommandsLayoutUsageFlagBitsNV::eUnorderedSequences ) result += "UnorderedSequences | "; 2178 2179 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 2180 } 2181 2182 //=== VK_EXT_device_memory_report === 2183 to_string(DeviceMemoryReportFlagsEXT)2184 VULKAN_HPP_INLINE std::string to_string( DeviceMemoryReportFlagsEXT ) 2185 { 2186 return "{}"; 2187 } 2188 2189 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 2190 //=== VK_KHR_video_encode_queue === 2191 to_string(VideoEncodeFlagsKHR)2192 VULKAN_HPP_INLINE std::string to_string( VideoEncodeFlagsKHR ) 2193 { 2194 return "{}"; 2195 } 2196 to_string(VideoEncodeCapabilityFlagsKHR value)2197 VULKAN_HPP_INLINE std::string to_string( VideoEncodeCapabilityFlagsKHR value ) 2198 { 2199 if ( !value ) 2200 return "{}"; 2201 2202 std::string result; 2203 if ( value & VideoEncodeCapabilityFlagBitsKHR::ePrecedingExternallyEncodedBytes ) result += "PrecedingExternallyEncodedBytes | "; 2204 if ( value & VideoEncodeCapabilityFlagBitsKHR::eInsufficientstreamBufferRangeDetectionBit ) result += "InsufficientstreamBufferRangeDetectionBit | "; 2205 2206 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 2207 } 2208 to_string(VideoEncodeFeedbackFlagsKHR value)2209 VULKAN_HPP_INLINE std::string to_string( VideoEncodeFeedbackFlagsKHR value ) 2210 { 2211 if ( !value ) 2212 return "{}"; 2213 2214 std::string result; 2215 if ( value & VideoEncodeFeedbackFlagBitsKHR::estreamBufferOffsetBit ) result += "streamBufferOffsetBit | "; 2216 if ( value & VideoEncodeFeedbackFlagBitsKHR::estreamBytesWrittenBit ) result += "streamBytesWrittenBit | "; 2217 if ( value & VideoEncodeFeedbackFlagBitsKHR::estreamHasOverridesBit ) result += "streamHasOverridesBit | "; 2218 2219 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 2220 } 2221 to_string(VideoEncodeUsageFlagsKHR value)2222 VULKAN_HPP_INLINE std::string to_string( VideoEncodeUsageFlagsKHR value ) 2223 { 2224 if ( !value ) 2225 return "Default"; 2226 2227 std::string result; 2228 if ( value & VideoEncodeUsageFlagBitsKHR::eTranscoding ) result += "Transcoding | "; 2229 if ( value & VideoEncodeUsageFlagBitsKHR::eStreaming ) result += "Streaming | "; 2230 if ( value & VideoEncodeUsageFlagBitsKHR::eRecording ) result += "Recording | "; 2231 if ( value & VideoEncodeUsageFlagBitsKHR::eConferencing ) result += "Conferencing | "; 2232 2233 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 2234 } 2235 to_string(VideoEncodeContentFlagsKHR value)2236 VULKAN_HPP_INLINE std::string to_string( VideoEncodeContentFlagsKHR value ) 2237 { 2238 if ( !value ) 2239 return "Default"; 2240 2241 std::string result; 2242 if ( value & VideoEncodeContentFlagBitsKHR::eCamera ) result += "Camera | "; 2243 if ( value & VideoEncodeContentFlagBitsKHR::eDesktop ) result += "Desktop | "; 2244 if ( value & VideoEncodeContentFlagBitsKHR::eRendered ) result += "Rendered | "; 2245 2246 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 2247 } 2248 to_string(VideoEncodeRateControlFlagsKHR)2249 VULKAN_HPP_INLINE std::string to_string( VideoEncodeRateControlFlagsKHR ) 2250 { 2251 return "{}"; 2252 } 2253 to_string(VideoEncodeRateControlModeFlagsKHR value)2254 VULKAN_HPP_INLINE std::string to_string( VideoEncodeRateControlModeFlagsKHR value ) 2255 { 2256 if ( !value ) 2257 return "Default"; 2258 2259 std::string result; 2260 if ( value & VideoEncodeRateControlModeFlagBitsKHR::eDisabled ) result += "Disabled | "; 2261 if ( value & VideoEncodeRateControlModeFlagBitsKHR::eCbr ) result += "Cbr | "; 2262 if ( value & VideoEncodeRateControlModeFlagBitsKHR::eVbr ) result += "Vbr | "; 2263 2264 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 2265 } 2266 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 2267 2268 //=== VK_NV_device_diagnostics_config === 2269 to_string(DeviceDiagnosticsConfigFlagsNV value)2270 VULKAN_HPP_INLINE std::string to_string( DeviceDiagnosticsConfigFlagsNV value ) 2271 { 2272 if ( !value ) 2273 return "{}"; 2274 2275 std::string result; 2276 if ( value & DeviceDiagnosticsConfigFlagBitsNV::eEnableShaderDebugInfo ) result += "EnableShaderDebugInfo | "; 2277 if ( value & DeviceDiagnosticsConfigFlagBitsNV::eEnableResourceTracking ) result += "EnableResourceTracking | "; 2278 if ( value & DeviceDiagnosticsConfigFlagBitsNV::eEnableAutomaticCheckpoints ) result += "EnableAutomaticCheckpoints | "; 2279 if ( value & DeviceDiagnosticsConfigFlagBitsNV::eEnableShaderErrorReporting ) result += "EnableShaderErrorReporting | "; 2280 2281 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 2282 } 2283 2284 #if defined( VK_USE_PLATFORM_METAL_EXT ) 2285 //=== VK_EXT_metal_objects === 2286 to_string(ExportMetalObjectTypeFlagsEXT value)2287 VULKAN_HPP_INLINE std::string to_string( ExportMetalObjectTypeFlagsEXT value ) 2288 { 2289 if ( !value ) 2290 return "{}"; 2291 2292 std::string result; 2293 if ( value & ExportMetalObjectTypeFlagBitsEXT::eMetalDevice ) result += "MetalDevice | "; 2294 if ( value & ExportMetalObjectTypeFlagBitsEXT::eMetalCommandQueue ) result += "MetalCommandQueue | "; 2295 if ( value & ExportMetalObjectTypeFlagBitsEXT::eMetalBuffer ) result += "MetalBuffer | "; 2296 if ( value & ExportMetalObjectTypeFlagBitsEXT::eMetalTexture ) result += "MetalTexture | "; 2297 if ( value & ExportMetalObjectTypeFlagBitsEXT::eMetalIosurface ) result += "MetalIosurface | "; 2298 if ( value & ExportMetalObjectTypeFlagBitsEXT::eMetalSharedEvent ) result += "MetalSharedEvent | "; 2299 2300 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 2301 } 2302 #endif /*VK_USE_PLATFORM_METAL_EXT*/ 2303 2304 //=== VK_EXT_graphics_pipeline_library === 2305 to_string(GraphicsPipelineLibraryFlagsEXT value)2306 VULKAN_HPP_INLINE std::string to_string( GraphicsPipelineLibraryFlagsEXT value ) 2307 { 2308 if ( !value ) 2309 return "{}"; 2310 2311 std::string result; 2312 if ( value & GraphicsPipelineLibraryFlagBitsEXT::eVertexInputInterface ) result += "VertexInputInterface | "; 2313 if ( value & GraphicsPipelineLibraryFlagBitsEXT::ePreRasterizationShaders ) result += "PreRasterizationShaders | "; 2314 if ( value & GraphicsPipelineLibraryFlagBitsEXT::eFragmentShader ) result += "FragmentShader | "; 2315 if ( value & GraphicsPipelineLibraryFlagBitsEXT::eFragmentOutputInterface ) result += "FragmentOutputInterface | "; 2316 2317 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 2318 } 2319 2320 //=== VK_NV_ray_tracing_motion_blur === 2321 to_string(AccelerationStructureMotionInfoFlagsNV)2322 VULKAN_HPP_INLINE std::string to_string( AccelerationStructureMotionInfoFlagsNV ) 2323 { 2324 return "{}"; 2325 } 2326 to_string(AccelerationStructureMotionInstanceFlagsNV)2327 VULKAN_HPP_INLINE std::string to_string( AccelerationStructureMotionInstanceFlagsNV ) 2328 { 2329 return "{}"; 2330 } 2331 2332 //=== VK_EXT_image_compression_control === 2333 to_string(ImageCompressionFlagsEXT value)2334 VULKAN_HPP_INLINE std::string to_string( ImageCompressionFlagsEXT value ) 2335 { 2336 if ( !value ) 2337 return "Default"; 2338 2339 std::string result; 2340 if ( value & ImageCompressionFlagBitsEXT::eFixedRateDefault ) result += "FixedRateDefault | "; 2341 if ( value & ImageCompressionFlagBitsEXT::eFixedRateExplicit ) result += "FixedRateExplicit | "; 2342 if ( value & ImageCompressionFlagBitsEXT::eDisabled ) result += "Disabled | "; 2343 2344 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 2345 } 2346 to_string(ImageCompressionFixedRateFlagsEXT value)2347 VULKAN_HPP_INLINE std::string to_string( ImageCompressionFixedRateFlagsEXT value ) 2348 { 2349 if ( !value ) 2350 return "None"; 2351 2352 std::string result; 2353 if ( value & ImageCompressionFixedRateFlagBitsEXT::e1Bpc ) result += "1Bpc | "; 2354 if ( value & ImageCompressionFixedRateFlagBitsEXT::e2Bpc ) result += "2Bpc | "; 2355 if ( value & ImageCompressionFixedRateFlagBitsEXT::e3Bpc ) result += "3Bpc | "; 2356 if ( value & ImageCompressionFixedRateFlagBitsEXT::e4Bpc ) result += "4Bpc | "; 2357 if ( value & ImageCompressionFixedRateFlagBitsEXT::e5Bpc ) result += "5Bpc | "; 2358 if ( value & ImageCompressionFixedRateFlagBitsEXT::e6Bpc ) result += "6Bpc | "; 2359 if ( value & ImageCompressionFixedRateFlagBitsEXT::e7Bpc ) result += "7Bpc | "; 2360 if ( value & ImageCompressionFixedRateFlagBitsEXT::e8Bpc ) result += "8Bpc | "; 2361 if ( value & ImageCompressionFixedRateFlagBitsEXT::e9Bpc ) result += "9Bpc | "; 2362 if ( value & ImageCompressionFixedRateFlagBitsEXT::e10Bpc ) result += "10Bpc | "; 2363 if ( value & ImageCompressionFixedRateFlagBitsEXT::e11Bpc ) result += "11Bpc | "; 2364 if ( value & ImageCompressionFixedRateFlagBitsEXT::e12Bpc ) result += "12Bpc | "; 2365 if ( value & ImageCompressionFixedRateFlagBitsEXT::e13Bpc ) result += "13Bpc | "; 2366 if ( value & ImageCompressionFixedRateFlagBitsEXT::e14Bpc ) result += "14Bpc | "; 2367 if ( value & ImageCompressionFixedRateFlagBitsEXT::e15Bpc ) result += "15Bpc | "; 2368 if ( value & ImageCompressionFixedRateFlagBitsEXT::e16Bpc ) result += "16Bpc | "; 2369 if ( value & ImageCompressionFixedRateFlagBitsEXT::e17Bpc ) result += "17Bpc | "; 2370 if ( value & ImageCompressionFixedRateFlagBitsEXT::e18Bpc ) result += "18Bpc | "; 2371 if ( value & ImageCompressionFixedRateFlagBitsEXT::e19Bpc ) result += "19Bpc | "; 2372 if ( value & ImageCompressionFixedRateFlagBitsEXT::e20Bpc ) result += "20Bpc | "; 2373 if ( value & ImageCompressionFixedRateFlagBitsEXT::e21Bpc ) result += "21Bpc | "; 2374 if ( value & ImageCompressionFixedRateFlagBitsEXT::e22Bpc ) result += "22Bpc | "; 2375 if ( value & ImageCompressionFixedRateFlagBitsEXT::e23Bpc ) result += "23Bpc | "; 2376 if ( value & ImageCompressionFixedRateFlagBitsEXT::e24Bpc ) result += "24Bpc | "; 2377 2378 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 2379 } 2380 2381 #if defined( VK_USE_PLATFORM_DIRECTFB_EXT ) 2382 //=== VK_EXT_directfb_surface === 2383 to_string(DirectFBSurfaceCreateFlagsEXT)2384 VULKAN_HPP_INLINE std::string to_string( DirectFBSurfaceCreateFlagsEXT ) 2385 { 2386 return "{}"; 2387 } 2388 #endif /*VK_USE_PLATFORM_DIRECTFB_EXT*/ 2389 2390 //=== VK_EXT_device_address_binding_report === 2391 to_string(DeviceAddressBindingFlagsEXT value)2392 VULKAN_HPP_INLINE std::string to_string( DeviceAddressBindingFlagsEXT value ) 2393 { 2394 if ( !value ) 2395 return "{}"; 2396 2397 std::string result; 2398 if ( value & DeviceAddressBindingFlagBitsEXT::eInternalObject ) result += "InternalObject | "; 2399 2400 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 2401 } 2402 2403 #if defined( VK_USE_PLATFORM_FUCHSIA ) 2404 //=== VK_FUCHSIA_buffer_collection === 2405 to_string(ImageFormatConstraintsFlagsFUCHSIA)2406 VULKAN_HPP_INLINE std::string to_string( ImageFormatConstraintsFlagsFUCHSIA ) 2407 { 2408 return "{}"; 2409 } 2410 to_string(ImageConstraintsInfoFlagsFUCHSIA value)2411 VULKAN_HPP_INLINE std::string to_string( ImageConstraintsInfoFlagsFUCHSIA value ) 2412 { 2413 if ( !value ) 2414 return "{}"; 2415 2416 std::string result; 2417 if ( value & ImageConstraintsInfoFlagBitsFUCHSIA::eCpuReadRarely ) result += "CpuReadRarely | "; 2418 if ( value & ImageConstraintsInfoFlagBitsFUCHSIA::eCpuReadOften ) result += "CpuReadOften | "; 2419 if ( value & ImageConstraintsInfoFlagBitsFUCHSIA::eCpuWriteRarely ) result += "CpuWriteRarely | "; 2420 if ( value & ImageConstraintsInfoFlagBitsFUCHSIA::eCpuWriteOften ) result += "CpuWriteOften | "; 2421 if ( value & ImageConstraintsInfoFlagBitsFUCHSIA::eProtectedOptional ) result += "ProtectedOptional | "; 2422 2423 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 2424 } 2425 #endif /*VK_USE_PLATFORM_FUCHSIA*/ 2426 2427 //=== VK_EXT_frame_boundary === 2428 to_string(FrameBoundaryFlagsEXT value)2429 VULKAN_HPP_INLINE std::string to_string( FrameBoundaryFlagsEXT value ) 2430 { 2431 if ( !value ) 2432 return "{}"; 2433 2434 std::string result; 2435 if ( value & FrameBoundaryFlagBitsEXT::eFrameEnd ) result += "FrameEnd | "; 2436 2437 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 2438 } 2439 2440 #if defined( VK_USE_PLATFORM_SCREEN_QNX ) 2441 //=== VK_QNX_screen_surface === 2442 to_string(ScreenSurfaceCreateFlagsQNX)2443 VULKAN_HPP_INLINE std::string to_string( ScreenSurfaceCreateFlagsQNX ) 2444 { 2445 return "{}"; 2446 } 2447 #endif /*VK_USE_PLATFORM_SCREEN_QNX*/ 2448 2449 //=== VK_EXT_opacity_micromap === 2450 to_string(BuildMicromapFlagsEXT value)2451 VULKAN_HPP_INLINE std::string to_string( BuildMicromapFlagsEXT value ) 2452 { 2453 if ( !value ) 2454 return "{}"; 2455 2456 std::string result; 2457 if ( value & BuildMicromapFlagBitsEXT::ePreferFastTrace ) result += "PreferFastTrace | "; 2458 if ( value & BuildMicromapFlagBitsEXT::ePreferFastBuild ) result += "PreferFastBuild | "; 2459 if ( value & BuildMicromapFlagBitsEXT::eAllowCompaction ) result += "AllowCompaction | "; 2460 2461 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 2462 } 2463 to_string(MicromapCreateFlagsEXT value)2464 VULKAN_HPP_INLINE std::string to_string( MicromapCreateFlagsEXT value ) 2465 { 2466 if ( !value ) 2467 return "{}"; 2468 2469 std::string result; 2470 if ( value & MicromapCreateFlagBitsEXT::eDeviceAddressCaptureReplay ) result += "DeviceAddressCaptureReplay | "; 2471 2472 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 2473 } 2474 2475 //=== VK_NV_memory_decompression === 2476 to_string(MemoryDecompressionMethodFlagsNV value)2477 VULKAN_HPP_INLINE std::string to_string( MemoryDecompressionMethodFlagsNV value ) 2478 { 2479 if ( !value ) 2480 return "{}"; 2481 2482 std::string result; 2483 if ( value & MemoryDecompressionMethodFlagBitsNV::eGdeflate10 ) result += "Gdeflate10 | "; 2484 2485 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 2486 } 2487 2488 //=== VK_LUNARG_direct_driver_loading === 2489 to_string(DirectDriverLoadingFlagsLUNARG)2490 VULKAN_HPP_INLINE std::string to_string( DirectDriverLoadingFlagsLUNARG ) 2491 { 2492 return "{}"; 2493 } 2494 2495 //=== VK_NV_optical_flow === 2496 to_string(OpticalFlowUsageFlagsNV value)2497 VULKAN_HPP_INLINE std::string to_string( OpticalFlowUsageFlagsNV value ) 2498 { 2499 if ( !value ) 2500 return "Unknown"; 2501 2502 std::string result; 2503 if ( value & OpticalFlowUsageFlagBitsNV::eInput ) result += "Input | "; 2504 if ( value & OpticalFlowUsageFlagBitsNV::eOutput ) result += "Output | "; 2505 if ( value & OpticalFlowUsageFlagBitsNV::eHint ) result += "Hint | "; 2506 if ( value & OpticalFlowUsageFlagBitsNV::eCost ) result += "Cost | "; 2507 if ( value & OpticalFlowUsageFlagBitsNV::eGlobalFlow ) result += "GlobalFlow | "; 2508 2509 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 2510 } 2511 to_string(OpticalFlowGridSizeFlagsNV value)2512 VULKAN_HPP_INLINE std::string to_string( OpticalFlowGridSizeFlagsNV value ) 2513 { 2514 if ( !value ) 2515 return "Unknown"; 2516 2517 std::string result; 2518 if ( value & OpticalFlowGridSizeFlagBitsNV::e1X1 ) result += "1X1 | "; 2519 if ( value & OpticalFlowGridSizeFlagBitsNV::e2X2 ) result += "2X2 | "; 2520 if ( value & OpticalFlowGridSizeFlagBitsNV::e4X4 ) result += "4X4 | "; 2521 if ( value & OpticalFlowGridSizeFlagBitsNV::e8X8 ) result += "8X8 | "; 2522 2523 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 2524 } 2525 to_string(OpticalFlowSessionCreateFlagsNV value)2526 VULKAN_HPP_INLINE std::string to_string( OpticalFlowSessionCreateFlagsNV value ) 2527 { 2528 if ( !value ) 2529 return "{}"; 2530 2531 std::string result; 2532 if ( value & OpticalFlowSessionCreateFlagBitsNV::eEnableHint ) result += "EnableHint | "; 2533 if ( value & OpticalFlowSessionCreateFlagBitsNV::eEnableCost ) result += "EnableCost | "; 2534 if ( value & OpticalFlowSessionCreateFlagBitsNV::eEnableGlobalFlow ) result += "EnableGlobalFlow | "; 2535 if ( value & OpticalFlowSessionCreateFlagBitsNV::eAllowRegions ) result += "AllowRegions | "; 2536 if ( value & OpticalFlowSessionCreateFlagBitsNV::eBothDirections ) result += "BothDirections | "; 2537 2538 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 2539 } 2540 to_string(OpticalFlowExecuteFlagsNV value)2541 VULKAN_HPP_INLINE std::string to_string( OpticalFlowExecuteFlagsNV value ) 2542 { 2543 if ( !value ) 2544 return "{}"; 2545 2546 std::string result; 2547 if ( value & OpticalFlowExecuteFlagBitsNV::eDisableTemporalHints ) result += "DisableTemporalHints | "; 2548 2549 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 2550 } 2551 2552 //=== VK_KHR_maintenance5 === 2553 to_string(PipelineCreateFlags2KHR value)2554 VULKAN_HPP_INLINE std::string to_string( PipelineCreateFlags2KHR value ) 2555 { 2556 if ( !value ) 2557 return "{}"; 2558 2559 std::string result; 2560 if ( value & PipelineCreateFlagBits2KHR::eDisableOptimization ) result += "DisableOptimization | "; 2561 if ( value & PipelineCreateFlagBits2KHR::eAllowDerivatives ) result += "AllowDerivatives | "; 2562 if ( value & PipelineCreateFlagBits2KHR::eDerivative ) result += "Derivative | "; 2563 if ( value & PipelineCreateFlagBits2KHR::eViewIndexFromDeviceIndex ) result += "ViewIndexFromDeviceIndex | "; 2564 if ( value & PipelineCreateFlagBits2KHR::eDispatchBase ) result += "DispatchBase | "; 2565 if ( value & PipelineCreateFlagBits2KHR::eDeferCompileNV ) result += "DeferCompileNV | "; 2566 if ( value & PipelineCreateFlagBits2KHR::eCaptureStatistics ) result += "CaptureStatistics | "; 2567 if ( value & PipelineCreateFlagBits2KHR::eCaptureInternalRepresentations ) result += "CaptureInternalRepresentations | "; 2568 if ( value & PipelineCreateFlagBits2KHR::eFailOnPipelineCompileRequired ) result += "FailOnPipelineCompileRequired | "; 2569 if ( value & PipelineCreateFlagBits2KHR::eEarlyReturnOnFailure ) result += "EarlyReturnOnFailure | "; 2570 if ( value & PipelineCreateFlagBits2KHR::eLinkTimeOptimizationEXT ) result += "LinkTimeOptimizationEXT | "; 2571 if ( value & PipelineCreateFlagBits2KHR::eRetainLinkTimeOptimizationInfoEXT ) result += "RetainLinkTimeOptimizationInfoEXT | "; 2572 if ( value & PipelineCreateFlagBits2KHR::eLibrary ) result += "Library | "; 2573 if ( value & PipelineCreateFlagBits2KHR::eRayTracingSkipTriangles ) result += "RayTracingSkipTriangles | "; 2574 if ( value & PipelineCreateFlagBits2KHR::eRayTracingSkipAabbs ) result += "RayTracingSkipAabbs | "; 2575 if ( value & PipelineCreateFlagBits2KHR::eRayTracingNoNullAnyHitShaders ) result += "RayTracingNoNullAnyHitShaders | "; 2576 if ( value & PipelineCreateFlagBits2KHR::eRayTracingNoNullClosestHitShaders ) result += "RayTracingNoNullClosestHitShaders | "; 2577 if ( value & PipelineCreateFlagBits2KHR::eRayTracingNoNullMissShaders ) result += "RayTracingNoNullMissShaders | "; 2578 if ( value & PipelineCreateFlagBits2KHR::eRayTracingNoNullIntersectionShaders ) result += "RayTracingNoNullIntersectionShaders | "; 2579 if ( value & PipelineCreateFlagBits2KHR::eRayTracingShaderGroupHandleCaptureReplay ) result += "RayTracingShaderGroupHandleCaptureReplay | "; 2580 if ( value & PipelineCreateFlagBits2KHR::eIndirectBindableNV ) result += "IndirectBindableNV | "; 2581 if ( value & PipelineCreateFlagBits2KHR::eRayTracingAllowMotionNV ) result += "RayTracingAllowMotionNV | "; 2582 if ( value & PipelineCreateFlagBits2KHR::eRenderingFragmentShadingRateAttachment ) result += "RenderingFragmentShadingRateAttachment | "; 2583 if ( value & PipelineCreateFlagBits2KHR::eRenderingFragmentDensityMapAttachmentEXT ) result += "RenderingFragmentDensityMapAttachmentEXT | "; 2584 if ( value & PipelineCreateFlagBits2KHR::eRayTracingOpacityMicromapEXT ) result += "RayTracingOpacityMicromapEXT | "; 2585 if ( value & PipelineCreateFlagBits2KHR::eColorAttachmentFeedbackLoopEXT ) result += "ColorAttachmentFeedbackLoopEXT | "; 2586 if ( value & PipelineCreateFlagBits2KHR::eDepthStencilAttachmentFeedbackLoopEXT ) result += "DepthStencilAttachmentFeedbackLoopEXT | "; 2587 if ( value & PipelineCreateFlagBits2KHR::eNoProtectedAccessEXT ) result += "NoProtectedAccessEXT | "; 2588 if ( value & PipelineCreateFlagBits2KHR::eProtectedAccessOnlyEXT ) result += "ProtectedAccessOnlyEXT | "; 2589 if ( value & PipelineCreateFlagBits2KHR::eRayTracingDisplacementMicromapNV ) result += "RayTracingDisplacementMicromapNV | "; 2590 if ( value & PipelineCreateFlagBits2KHR::eDescriptorBufferEXT ) result += "DescriptorBufferEXT | "; 2591 2592 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 2593 } 2594 to_string(BufferUsageFlags2KHR value)2595 VULKAN_HPP_INLINE std::string to_string( BufferUsageFlags2KHR value ) 2596 { 2597 if ( !value ) 2598 return "{}"; 2599 2600 std::string result; 2601 if ( value & BufferUsageFlagBits2KHR::eTransferSrc ) result += "TransferSrc | "; 2602 if ( value & BufferUsageFlagBits2KHR::eTransferDst ) result += "TransferDst | "; 2603 if ( value & BufferUsageFlagBits2KHR::eUniformTexelBuffer ) result += "UniformTexelBuffer | "; 2604 if ( value & BufferUsageFlagBits2KHR::eStorageTexelBuffer ) result += "StorageTexelBuffer | "; 2605 if ( value & BufferUsageFlagBits2KHR::eUniformBuffer ) result += "UniformBuffer | "; 2606 if ( value & BufferUsageFlagBits2KHR::eStorageBuffer ) result += "StorageBuffer | "; 2607 if ( value & BufferUsageFlagBits2KHR::eIndexBuffer ) result += "IndexBuffer | "; 2608 if ( value & BufferUsageFlagBits2KHR::eVertexBuffer ) result += "VertexBuffer | "; 2609 if ( value & BufferUsageFlagBits2KHR::eIndirectBuffer ) result += "IndirectBuffer | "; 2610 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 2611 if ( value & BufferUsageFlagBits2KHR::eExecutionGraphScratchAMDX ) result += "ExecutionGraphScratchAMDX | "; 2612 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 2613 if ( value & BufferUsageFlagBits2KHR::eConditionalRenderingEXT ) result += "ConditionalRenderingEXT | "; 2614 if ( value & BufferUsageFlagBits2KHR::eShaderBindingTable ) result += "ShaderBindingTable | "; 2615 if ( value & BufferUsageFlagBits2KHR::eTransformFeedbackBufferEXT ) result += "TransformFeedbackBufferEXT | "; 2616 if ( value & BufferUsageFlagBits2KHR::eTransformFeedbackCounterBufferEXT ) result += "TransformFeedbackCounterBufferEXT | "; 2617 if ( value & BufferUsageFlagBits2KHR::eVideoDecodeSrc ) result += "VideoDecodeSrc | "; 2618 if ( value & BufferUsageFlagBits2KHR::eVideoDecodeDst ) result += "VideoDecodeDst | "; 2619 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 2620 if ( value & BufferUsageFlagBits2KHR::eVideoEncodeDst ) result += "VideoEncodeDst | "; 2621 if ( value & BufferUsageFlagBits2KHR::eVideoEncodeSrc ) result += "VideoEncodeSrc | "; 2622 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 2623 if ( value & BufferUsageFlagBits2KHR::eShaderDeviceAddress ) result += "ShaderDeviceAddress | "; 2624 if ( value & BufferUsageFlagBits2KHR::eAccelerationStructureBuildInputReadOnly ) result += "AccelerationStructureBuildInputReadOnly | "; 2625 if ( value & BufferUsageFlagBits2KHR::eAccelerationStructureStorage ) result += "AccelerationStructureStorage | "; 2626 if ( value & BufferUsageFlagBits2KHR::eSamplerDescriptorBufferEXT ) result += "SamplerDescriptorBufferEXT | "; 2627 if ( value & BufferUsageFlagBits2KHR::eResourceDescriptorBufferEXT ) result += "ResourceDescriptorBufferEXT | "; 2628 if ( value & BufferUsageFlagBits2KHR::ePushDescriptorsDescriptorBufferEXT ) result += "PushDescriptorsDescriptorBufferEXT | "; 2629 if ( value & BufferUsageFlagBits2KHR::eMicromapBuildInputReadOnlyEXT ) result += "MicromapBuildInputReadOnlyEXT | "; 2630 if ( value & BufferUsageFlagBits2KHR::eMicromapStorageEXT ) result += "MicromapStorageEXT | "; 2631 2632 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 2633 } 2634 2635 //=== VK_EXT_shader_object === 2636 to_string(ShaderCreateFlagsEXT value)2637 VULKAN_HPP_INLINE std::string to_string( ShaderCreateFlagsEXT value ) 2638 { 2639 if ( !value ) 2640 return "{}"; 2641 2642 std::string result; 2643 if ( value & ShaderCreateFlagBitsEXT::eLinkStage ) result += "LinkStage | "; 2644 if ( value & ShaderCreateFlagBitsEXT::eAllowVaryingSubgroupSize ) result += "AllowVaryingSubgroupSize | "; 2645 if ( value & ShaderCreateFlagBitsEXT::eRequireFullSubgroups ) result += "RequireFullSubgroups | "; 2646 if ( value & ShaderCreateFlagBitsEXT::eNoTaskShader ) result += "NoTaskShader | "; 2647 if ( value & ShaderCreateFlagBitsEXT::eDispatchBase ) result += "DispatchBase | "; 2648 if ( value & ShaderCreateFlagBitsEXT::eFragmentShadingRateAttachment ) result += "FragmentShadingRateAttachment | "; 2649 if ( value & ShaderCreateFlagBitsEXT::eFragmentDensityMapAttachment ) result += "FragmentDensityMapAttachment | "; 2650 2651 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; 2652 } 2653 2654 2655 2656 //======================= 2657 //=== ENUMs to_string === 2658 //======================= 2659 toHexString(uint32_t value)2660 VULKAN_HPP_INLINE std::string toHexString( uint32_t value ) 2661 { 2662 #if __cpp_lib_format 2663 return std::format( "{:x}", value ); 2664 #else 2665 std::stringstream stream; 2666 stream << std::hex << value; 2667 return stream.str(); 2668 #endif 2669 } 2670 2671 2672 //=== VK_VERSION_1_0 === 2673 2674 to_string(Result value)2675 VULKAN_HPP_INLINE std::string to_string( Result value ) 2676 { 2677 switch ( value ) 2678 { 2679 case Result::eSuccess : return "Success"; 2680 case Result::eNotReady : return "NotReady"; 2681 case Result::eTimeout : return "Timeout"; 2682 case Result::eEventSet : return "EventSet"; 2683 case Result::eEventReset : return "EventReset"; 2684 case Result::eIncomplete : return "Incomplete"; 2685 case Result::eErrorOutOfHostMemory : return "ErrorOutOfHostMemory"; 2686 case Result::eErrorOutOfDeviceMemory : return "ErrorOutOfDeviceMemory"; 2687 case Result::eErrorInitializationFailed : return "ErrorInitializationFailed"; 2688 case Result::eErrorDeviceLost : return "ErrorDeviceLost"; 2689 case Result::eErrorMemoryMapFailed : return "ErrorMemoryMapFailed"; 2690 case Result::eErrorLayerNotPresent : return "ErrorLayerNotPresent"; 2691 case Result::eErrorExtensionNotPresent : return "ErrorExtensionNotPresent"; 2692 case Result::eErrorFeatureNotPresent : return "ErrorFeatureNotPresent"; 2693 case Result::eErrorIncompatibleDriver : return "ErrorIncompatibleDriver"; 2694 case Result::eErrorTooManyObjects : return "ErrorTooManyObjects"; 2695 case Result::eErrorFormatNotSupported : return "ErrorFormatNotSupported"; 2696 case Result::eErrorFragmentedPool : return "ErrorFragmentedPool"; 2697 case Result::eErrorUnknown : return "ErrorUnknown"; 2698 case Result::eErrorOutOfPoolMemory : return "ErrorOutOfPoolMemory"; 2699 case Result::eErrorInvalidExternalHandle : return "ErrorInvalidExternalHandle"; 2700 case Result::eErrorFragmentation : return "ErrorFragmentation"; 2701 case Result::eErrorInvalidOpaqueCaptureAddress : return "ErrorInvalidOpaqueCaptureAddress"; 2702 case Result::ePipelineCompileRequired : return "PipelineCompileRequired"; 2703 case Result::eErrorSurfaceLostKHR : return "ErrorSurfaceLostKHR"; 2704 case Result::eErrorNativeWindowInUseKHR : return "ErrorNativeWindowInUseKHR"; 2705 case Result::eSuboptimalKHR : return "SuboptimalKHR"; 2706 case Result::eErrorOutOfDateKHR : return "ErrorOutOfDateKHR"; 2707 case Result::eErrorIncompatibleDisplayKHR : return "ErrorIncompatibleDisplayKHR"; 2708 case Result::eErrorValidationFailedEXT : return "ErrorValidationFailedEXT"; 2709 case Result::eErrorInvalidShaderNV : return "ErrorInvalidShaderNV"; 2710 case Result::eErrorImageUsageNotSupportedKHR : return "ErrorImageUsageNotSupportedKHR"; 2711 case Result::eErrorVideoPictureLayoutNotSupportedKHR : return "ErrorVideoPictureLayoutNotSupportedKHR"; 2712 case Result::eErrorVideoProfileOperationNotSupportedKHR : return "ErrorVideoProfileOperationNotSupportedKHR"; 2713 case Result::eErrorVideoProfileFormatNotSupportedKHR : return "ErrorVideoProfileFormatNotSupportedKHR"; 2714 case Result::eErrorVideoProfileCodecNotSupportedKHR : return "ErrorVideoProfileCodecNotSupportedKHR"; 2715 case Result::eErrorVideoStdVersionNotSupportedKHR : return "ErrorVideoStdVersionNotSupportedKHR"; 2716 case Result::eErrorInvalidDrmFormatModifierPlaneLayoutEXT : return "ErrorInvalidDrmFormatModifierPlaneLayoutEXT"; 2717 case Result::eErrorNotPermittedKHR : return "ErrorNotPermittedKHR"; 2718 #if defined( VK_USE_PLATFORM_WIN32_KHR ) 2719 case Result::eErrorFullScreenExclusiveModeLostEXT : return "ErrorFullScreenExclusiveModeLostEXT"; 2720 #endif /*VK_USE_PLATFORM_WIN32_KHR*/ 2721 case Result::eThreadIdleKHR : return "ThreadIdleKHR"; 2722 case Result::eThreadDoneKHR : return "ThreadDoneKHR"; 2723 case Result::eOperationDeferredKHR : return "OperationDeferredKHR"; 2724 case Result::eOperationNotDeferredKHR : return "OperationNotDeferredKHR"; 2725 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 2726 case Result::eErrorInvalidVideoStdParametersKHR : return "ErrorInvalidVideoStdParametersKHR"; 2727 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 2728 case Result::eErrorCompressionExhaustedEXT : return "ErrorCompressionExhaustedEXT"; 2729 case Result::eErrorIncompatibleShaderBinaryEXT : return "ErrorIncompatibleShaderBinaryEXT"; 2730 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 2731 } 2732 2733 } 2734 2735 to_string(StructureType value)2736 VULKAN_HPP_INLINE std::string to_string( StructureType value ) 2737 { 2738 switch ( value ) 2739 { 2740 case StructureType::eApplicationInfo : return "ApplicationInfo"; 2741 case StructureType::eInstanceCreateInfo : return "InstanceCreateInfo"; 2742 case StructureType::eDeviceQueueCreateInfo : return "DeviceQueueCreateInfo"; 2743 case StructureType::eDeviceCreateInfo : return "DeviceCreateInfo"; 2744 case StructureType::eSubmitInfo : return "SubmitInfo"; 2745 case StructureType::eMemoryAllocateInfo : return "MemoryAllocateInfo"; 2746 case StructureType::eMappedMemoryRange : return "MappedMemoryRange"; 2747 case StructureType::eBindSparseInfo : return "BindSparseInfo"; 2748 case StructureType::eFenceCreateInfo : return "FenceCreateInfo"; 2749 case StructureType::eSemaphoreCreateInfo : return "SemaphoreCreateInfo"; 2750 case StructureType::eEventCreateInfo : return "EventCreateInfo"; 2751 case StructureType::eQueryPoolCreateInfo : return "QueryPoolCreateInfo"; 2752 case StructureType::eBufferCreateInfo : return "BufferCreateInfo"; 2753 case StructureType::eBufferViewCreateInfo : return "BufferViewCreateInfo"; 2754 case StructureType::eImageCreateInfo : return "ImageCreateInfo"; 2755 case StructureType::eImageViewCreateInfo : return "ImageViewCreateInfo"; 2756 case StructureType::eShaderModuleCreateInfo : return "ShaderModuleCreateInfo"; 2757 case StructureType::ePipelineCacheCreateInfo : return "PipelineCacheCreateInfo"; 2758 case StructureType::ePipelineShaderStageCreateInfo : return "PipelineShaderStageCreateInfo"; 2759 case StructureType::ePipelineVertexInputStateCreateInfo : return "PipelineVertexInputStateCreateInfo"; 2760 case StructureType::ePipelineInputAssemblyStateCreateInfo : return "PipelineInputAssemblyStateCreateInfo"; 2761 case StructureType::ePipelineTessellationStateCreateInfo : return "PipelineTessellationStateCreateInfo"; 2762 case StructureType::ePipelineViewportStateCreateInfo : return "PipelineViewportStateCreateInfo"; 2763 case StructureType::ePipelineRasterizationStateCreateInfo : return "PipelineRasterizationStateCreateInfo"; 2764 case StructureType::ePipelineMultisampleStateCreateInfo : return "PipelineMultisampleStateCreateInfo"; 2765 case StructureType::ePipelineDepthStencilStateCreateInfo : return "PipelineDepthStencilStateCreateInfo"; 2766 case StructureType::ePipelineColorBlendStateCreateInfo : return "PipelineColorBlendStateCreateInfo"; 2767 case StructureType::ePipelineDynamicStateCreateInfo : return "PipelineDynamicStateCreateInfo"; 2768 case StructureType::eGraphicsPipelineCreateInfo : return "GraphicsPipelineCreateInfo"; 2769 case StructureType::eComputePipelineCreateInfo : return "ComputePipelineCreateInfo"; 2770 case StructureType::ePipelineLayoutCreateInfo : return "PipelineLayoutCreateInfo"; 2771 case StructureType::eSamplerCreateInfo : return "SamplerCreateInfo"; 2772 case StructureType::eDescriptorSetLayoutCreateInfo : return "DescriptorSetLayoutCreateInfo"; 2773 case StructureType::eDescriptorPoolCreateInfo : return "DescriptorPoolCreateInfo"; 2774 case StructureType::eDescriptorSetAllocateInfo : return "DescriptorSetAllocateInfo"; 2775 case StructureType::eWriteDescriptorSet : return "WriteDescriptorSet"; 2776 case StructureType::eCopyDescriptorSet : return "CopyDescriptorSet"; 2777 case StructureType::eFramebufferCreateInfo : return "FramebufferCreateInfo"; 2778 case StructureType::eRenderPassCreateInfo : return "RenderPassCreateInfo"; 2779 case StructureType::eCommandPoolCreateInfo : return "CommandPoolCreateInfo"; 2780 case StructureType::eCommandBufferAllocateInfo : return "CommandBufferAllocateInfo"; 2781 case StructureType::eCommandBufferInheritanceInfo : return "CommandBufferInheritanceInfo"; 2782 case StructureType::eCommandBufferBeginInfo : return "CommandBufferBeginInfo"; 2783 case StructureType::eRenderPassBeginInfo : return "RenderPassBeginInfo"; 2784 case StructureType::eBufferMemoryBarrier : return "BufferMemoryBarrier"; 2785 case StructureType::eImageMemoryBarrier : return "ImageMemoryBarrier"; 2786 case StructureType::eMemoryBarrier : return "MemoryBarrier"; 2787 case StructureType::eLoaderInstanceCreateInfo : return "LoaderInstanceCreateInfo"; 2788 case StructureType::eLoaderDeviceCreateInfo : return "LoaderDeviceCreateInfo"; 2789 case StructureType::ePhysicalDeviceSubgroupProperties : return "PhysicalDeviceSubgroupProperties"; 2790 case StructureType::eBindBufferMemoryInfo : return "BindBufferMemoryInfo"; 2791 case StructureType::eBindImageMemoryInfo : return "BindImageMemoryInfo"; 2792 case StructureType::ePhysicalDevice16BitStorageFeatures : return "PhysicalDevice16BitStorageFeatures"; 2793 case StructureType::eMemoryDedicatedRequirements : return "MemoryDedicatedRequirements"; 2794 case StructureType::eMemoryDedicatedAllocateInfo : return "MemoryDedicatedAllocateInfo"; 2795 case StructureType::eMemoryAllocateFlagsInfo : return "MemoryAllocateFlagsInfo"; 2796 case StructureType::eDeviceGroupRenderPassBeginInfo : return "DeviceGroupRenderPassBeginInfo"; 2797 case StructureType::eDeviceGroupCommandBufferBeginInfo : return "DeviceGroupCommandBufferBeginInfo"; 2798 case StructureType::eDeviceGroupSubmitInfo : return "DeviceGroupSubmitInfo"; 2799 case StructureType::eDeviceGroupBindSparseInfo : return "DeviceGroupBindSparseInfo"; 2800 case StructureType::eBindBufferMemoryDeviceGroupInfo : return "BindBufferMemoryDeviceGroupInfo"; 2801 case StructureType::eBindImageMemoryDeviceGroupInfo : return "BindImageMemoryDeviceGroupInfo"; 2802 case StructureType::ePhysicalDeviceGroupProperties : return "PhysicalDeviceGroupProperties"; 2803 case StructureType::eDeviceGroupDeviceCreateInfo : return "DeviceGroupDeviceCreateInfo"; 2804 case StructureType::eBufferMemoryRequirementsInfo2 : return "BufferMemoryRequirementsInfo2"; 2805 case StructureType::eImageMemoryRequirementsInfo2 : return "ImageMemoryRequirementsInfo2"; 2806 case StructureType::eImageSparseMemoryRequirementsInfo2 : return "ImageSparseMemoryRequirementsInfo2"; 2807 case StructureType::eMemoryRequirements2 : return "MemoryRequirements2"; 2808 case StructureType::eSparseImageMemoryRequirements2 : return "SparseImageMemoryRequirements2"; 2809 case StructureType::ePhysicalDeviceFeatures2 : return "PhysicalDeviceFeatures2"; 2810 case StructureType::ePhysicalDeviceProperties2 : return "PhysicalDeviceProperties2"; 2811 case StructureType::eFormatProperties2 : return "FormatProperties2"; 2812 case StructureType::eImageFormatProperties2 : return "ImageFormatProperties2"; 2813 case StructureType::ePhysicalDeviceImageFormatInfo2 : return "PhysicalDeviceImageFormatInfo2"; 2814 case StructureType::eQueueFamilyProperties2 : return "QueueFamilyProperties2"; 2815 case StructureType::ePhysicalDeviceMemoryProperties2 : return "PhysicalDeviceMemoryProperties2"; 2816 case StructureType::eSparseImageFormatProperties2 : return "SparseImageFormatProperties2"; 2817 case StructureType::ePhysicalDeviceSparseImageFormatInfo2 : return "PhysicalDeviceSparseImageFormatInfo2"; 2818 case StructureType::ePhysicalDevicePointClippingProperties : return "PhysicalDevicePointClippingProperties"; 2819 case StructureType::eRenderPassInputAttachmentAspectCreateInfo : return "RenderPassInputAttachmentAspectCreateInfo"; 2820 case StructureType::eImageViewUsageCreateInfo : return "ImageViewUsageCreateInfo"; 2821 case StructureType::ePipelineTessellationDomainOriginStateCreateInfo : return "PipelineTessellationDomainOriginStateCreateInfo"; 2822 case StructureType::eRenderPassMultiviewCreateInfo : return "RenderPassMultiviewCreateInfo"; 2823 case StructureType::ePhysicalDeviceMultiviewFeatures : return "PhysicalDeviceMultiviewFeatures"; 2824 case StructureType::ePhysicalDeviceMultiviewProperties : return "PhysicalDeviceMultiviewProperties"; 2825 case StructureType::ePhysicalDeviceVariablePointersFeatures : return "PhysicalDeviceVariablePointersFeatures"; 2826 case StructureType::eProtectedSubmitInfo : return "ProtectedSubmitInfo"; 2827 case StructureType::ePhysicalDeviceProtectedMemoryFeatures : return "PhysicalDeviceProtectedMemoryFeatures"; 2828 case StructureType::ePhysicalDeviceProtectedMemoryProperties : return "PhysicalDeviceProtectedMemoryProperties"; 2829 case StructureType::eDeviceQueueInfo2 : return "DeviceQueueInfo2"; 2830 case StructureType::eSamplerYcbcrConversionCreateInfo : return "SamplerYcbcrConversionCreateInfo"; 2831 case StructureType::eSamplerYcbcrConversionInfo : return "SamplerYcbcrConversionInfo"; 2832 case StructureType::eBindImagePlaneMemoryInfo : return "BindImagePlaneMemoryInfo"; 2833 case StructureType::eImagePlaneMemoryRequirementsInfo : return "ImagePlaneMemoryRequirementsInfo"; 2834 case StructureType::ePhysicalDeviceSamplerYcbcrConversionFeatures : return "PhysicalDeviceSamplerYcbcrConversionFeatures"; 2835 case StructureType::eSamplerYcbcrConversionImageFormatProperties : return "SamplerYcbcrConversionImageFormatProperties"; 2836 case StructureType::eDescriptorUpdateTemplateCreateInfo : return "DescriptorUpdateTemplateCreateInfo"; 2837 case StructureType::ePhysicalDeviceExternalImageFormatInfo : return "PhysicalDeviceExternalImageFormatInfo"; 2838 case StructureType::eExternalImageFormatProperties : return "ExternalImageFormatProperties"; 2839 case StructureType::ePhysicalDeviceExternalBufferInfo : return "PhysicalDeviceExternalBufferInfo"; 2840 case StructureType::eExternalBufferProperties : return "ExternalBufferProperties"; 2841 case StructureType::ePhysicalDeviceIdProperties : return "PhysicalDeviceIdProperties"; 2842 case StructureType::eExternalMemoryBufferCreateInfo : return "ExternalMemoryBufferCreateInfo"; 2843 case StructureType::eExternalMemoryImageCreateInfo : return "ExternalMemoryImageCreateInfo"; 2844 case StructureType::eExportMemoryAllocateInfo : return "ExportMemoryAllocateInfo"; 2845 case StructureType::ePhysicalDeviceExternalFenceInfo : return "PhysicalDeviceExternalFenceInfo"; 2846 case StructureType::eExternalFenceProperties : return "ExternalFenceProperties"; 2847 case StructureType::eExportFenceCreateInfo : return "ExportFenceCreateInfo"; 2848 case StructureType::eExportSemaphoreCreateInfo : return "ExportSemaphoreCreateInfo"; 2849 case StructureType::ePhysicalDeviceExternalSemaphoreInfo : return "PhysicalDeviceExternalSemaphoreInfo"; 2850 case StructureType::eExternalSemaphoreProperties : return "ExternalSemaphoreProperties"; 2851 case StructureType::ePhysicalDeviceMaintenance3Properties : return "PhysicalDeviceMaintenance3Properties"; 2852 case StructureType::eDescriptorSetLayoutSupport : return "DescriptorSetLayoutSupport"; 2853 case StructureType::ePhysicalDeviceShaderDrawParametersFeatures : return "PhysicalDeviceShaderDrawParametersFeatures"; 2854 case StructureType::ePhysicalDeviceVulkan11Features : return "PhysicalDeviceVulkan11Features"; 2855 case StructureType::ePhysicalDeviceVulkan11Properties : return "PhysicalDeviceVulkan11Properties"; 2856 case StructureType::ePhysicalDeviceVulkan12Features : return "PhysicalDeviceVulkan12Features"; 2857 case StructureType::ePhysicalDeviceVulkan12Properties : return "PhysicalDeviceVulkan12Properties"; 2858 case StructureType::eImageFormatListCreateInfo : return "ImageFormatListCreateInfo"; 2859 case StructureType::eAttachmentDescription2 : return "AttachmentDescription2"; 2860 case StructureType::eAttachmentReference2 : return "AttachmentReference2"; 2861 case StructureType::eSubpassDescription2 : return "SubpassDescription2"; 2862 case StructureType::eSubpassDependency2 : return "SubpassDependency2"; 2863 case StructureType::eRenderPassCreateInfo2 : return "RenderPassCreateInfo2"; 2864 case StructureType::eSubpassBeginInfo : return "SubpassBeginInfo"; 2865 case StructureType::eSubpassEndInfo : return "SubpassEndInfo"; 2866 case StructureType::ePhysicalDevice8BitStorageFeatures : return "PhysicalDevice8BitStorageFeatures"; 2867 case StructureType::ePhysicalDeviceDriverProperties : return "PhysicalDeviceDriverProperties"; 2868 case StructureType::ePhysicalDeviceShaderAtomicInt64Features : return "PhysicalDeviceShaderAtomicInt64Features"; 2869 case StructureType::ePhysicalDeviceShaderFloat16Int8Features : return "PhysicalDeviceShaderFloat16Int8Features"; 2870 case StructureType::ePhysicalDeviceFloatControlsProperties : return "PhysicalDeviceFloatControlsProperties"; 2871 case StructureType::eDescriptorSetLayoutBindingFlagsCreateInfo : return "DescriptorSetLayoutBindingFlagsCreateInfo"; 2872 case StructureType::ePhysicalDeviceDescriptorIndexingFeatures : return "PhysicalDeviceDescriptorIndexingFeatures"; 2873 case StructureType::ePhysicalDeviceDescriptorIndexingProperties : return "PhysicalDeviceDescriptorIndexingProperties"; 2874 case StructureType::eDescriptorSetVariableDescriptorCountAllocateInfo : return "DescriptorSetVariableDescriptorCountAllocateInfo"; 2875 case StructureType::eDescriptorSetVariableDescriptorCountLayoutSupport : return "DescriptorSetVariableDescriptorCountLayoutSupport"; 2876 case StructureType::ePhysicalDeviceDepthStencilResolveProperties : return "PhysicalDeviceDepthStencilResolveProperties"; 2877 case StructureType::eSubpassDescriptionDepthStencilResolve : return "SubpassDescriptionDepthStencilResolve"; 2878 case StructureType::ePhysicalDeviceScalarBlockLayoutFeatures : return "PhysicalDeviceScalarBlockLayoutFeatures"; 2879 case StructureType::eImageStencilUsageCreateInfo : return "ImageStencilUsageCreateInfo"; 2880 case StructureType::ePhysicalDeviceSamplerFilterMinmaxProperties : return "PhysicalDeviceSamplerFilterMinmaxProperties"; 2881 case StructureType::eSamplerReductionModeCreateInfo : return "SamplerReductionModeCreateInfo"; 2882 case StructureType::ePhysicalDeviceVulkanMemoryModelFeatures : return "PhysicalDeviceVulkanMemoryModelFeatures"; 2883 case StructureType::ePhysicalDeviceImagelessFramebufferFeatures : return "PhysicalDeviceImagelessFramebufferFeatures"; 2884 case StructureType::eFramebufferAttachmentsCreateInfo : return "FramebufferAttachmentsCreateInfo"; 2885 case StructureType::eFramebufferAttachmentImageInfo : return "FramebufferAttachmentImageInfo"; 2886 case StructureType::eRenderPassAttachmentBeginInfo : return "RenderPassAttachmentBeginInfo"; 2887 case StructureType::ePhysicalDeviceUniformBufferStandardLayoutFeatures : return "PhysicalDeviceUniformBufferStandardLayoutFeatures"; 2888 case StructureType::ePhysicalDeviceShaderSubgroupExtendedTypesFeatures : return "PhysicalDeviceShaderSubgroupExtendedTypesFeatures"; 2889 case StructureType::ePhysicalDeviceSeparateDepthStencilLayoutsFeatures : return "PhysicalDeviceSeparateDepthStencilLayoutsFeatures"; 2890 case StructureType::eAttachmentReferenceStencilLayout : return "AttachmentReferenceStencilLayout"; 2891 case StructureType::eAttachmentDescriptionStencilLayout : return "AttachmentDescriptionStencilLayout"; 2892 case StructureType::ePhysicalDeviceHostQueryResetFeatures : return "PhysicalDeviceHostQueryResetFeatures"; 2893 case StructureType::ePhysicalDeviceTimelineSemaphoreFeatures : return "PhysicalDeviceTimelineSemaphoreFeatures"; 2894 case StructureType::ePhysicalDeviceTimelineSemaphoreProperties : return "PhysicalDeviceTimelineSemaphoreProperties"; 2895 case StructureType::eSemaphoreTypeCreateInfo : return "SemaphoreTypeCreateInfo"; 2896 case StructureType::eTimelineSemaphoreSubmitInfo : return "TimelineSemaphoreSubmitInfo"; 2897 case StructureType::eSemaphoreWaitInfo : return "SemaphoreWaitInfo"; 2898 case StructureType::eSemaphoreSignalInfo : return "SemaphoreSignalInfo"; 2899 case StructureType::ePhysicalDeviceBufferDeviceAddressFeatures : return "PhysicalDeviceBufferDeviceAddressFeatures"; 2900 case StructureType::eBufferDeviceAddressInfo : return "BufferDeviceAddressInfo"; 2901 case StructureType::eBufferOpaqueCaptureAddressCreateInfo : return "BufferOpaqueCaptureAddressCreateInfo"; 2902 case StructureType::eMemoryOpaqueCaptureAddressAllocateInfo : return "MemoryOpaqueCaptureAddressAllocateInfo"; 2903 case StructureType::eDeviceMemoryOpaqueCaptureAddressInfo : return "DeviceMemoryOpaqueCaptureAddressInfo"; 2904 case StructureType::ePhysicalDeviceVulkan13Features : return "PhysicalDeviceVulkan13Features"; 2905 case StructureType::ePhysicalDeviceVulkan13Properties : return "PhysicalDeviceVulkan13Properties"; 2906 case StructureType::ePipelineCreationFeedbackCreateInfo : return "PipelineCreationFeedbackCreateInfo"; 2907 case StructureType::ePhysicalDeviceShaderTerminateInvocationFeatures : return "PhysicalDeviceShaderTerminateInvocationFeatures"; 2908 case StructureType::ePhysicalDeviceToolProperties : return "PhysicalDeviceToolProperties"; 2909 case StructureType::ePhysicalDeviceShaderDemoteToHelperInvocationFeatures : return "PhysicalDeviceShaderDemoteToHelperInvocationFeatures"; 2910 case StructureType::ePhysicalDevicePrivateDataFeatures : return "PhysicalDevicePrivateDataFeatures"; 2911 case StructureType::eDevicePrivateDataCreateInfo : return "DevicePrivateDataCreateInfo"; 2912 case StructureType::ePrivateDataSlotCreateInfo : return "PrivateDataSlotCreateInfo"; 2913 case StructureType::ePhysicalDevicePipelineCreationCacheControlFeatures : return "PhysicalDevicePipelineCreationCacheControlFeatures"; 2914 case StructureType::eMemoryBarrier2 : return "MemoryBarrier2"; 2915 case StructureType::eBufferMemoryBarrier2 : return "BufferMemoryBarrier2"; 2916 case StructureType::eImageMemoryBarrier2 : return "ImageMemoryBarrier2"; 2917 case StructureType::eDependencyInfo : return "DependencyInfo"; 2918 case StructureType::eSubmitInfo2 : return "SubmitInfo2"; 2919 case StructureType::eSemaphoreSubmitInfo : return "SemaphoreSubmitInfo"; 2920 case StructureType::eCommandBufferSubmitInfo : return "CommandBufferSubmitInfo"; 2921 case StructureType::ePhysicalDeviceSynchronization2Features : return "PhysicalDeviceSynchronization2Features"; 2922 case StructureType::ePhysicalDeviceZeroInitializeWorkgroupMemoryFeatures : return "PhysicalDeviceZeroInitializeWorkgroupMemoryFeatures"; 2923 case StructureType::ePhysicalDeviceImageRobustnessFeatures : return "PhysicalDeviceImageRobustnessFeatures"; 2924 case StructureType::eCopyBufferInfo2 : return "CopyBufferInfo2"; 2925 case StructureType::eCopyImageInfo2 : return "CopyImageInfo2"; 2926 case StructureType::eCopyBufferToImageInfo2 : return "CopyBufferToImageInfo2"; 2927 case StructureType::eCopyImageToBufferInfo2 : return "CopyImageToBufferInfo2"; 2928 case StructureType::eBlitImageInfo2 : return "BlitImageInfo2"; 2929 case StructureType::eResolveImageInfo2 : return "ResolveImageInfo2"; 2930 case StructureType::eBufferCopy2 : return "BufferCopy2"; 2931 case StructureType::eImageCopy2 : return "ImageCopy2"; 2932 case StructureType::eImageBlit2 : return "ImageBlit2"; 2933 case StructureType::eBufferImageCopy2 : return "BufferImageCopy2"; 2934 case StructureType::eImageResolve2 : return "ImageResolve2"; 2935 case StructureType::ePhysicalDeviceSubgroupSizeControlProperties : return "PhysicalDeviceSubgroupSizeControlProperties"; 2936 case StructureType::ePipelineShaderStageRequiredSubgroupSizeCreateInfo : return "PipelineShaderStageRequiredSubgroupSizeCreateInfo"; 2937 case StructureType::ePhysicalDeviceSubgroupSizeControlFeatures : return "PhysicalDeviceSubgroupSizeControlFeatures"; 2938 case StructureType::ePhysicalDeviceInlineUniformBlockFeatures : return "PhysicalDeviceInlineUniformBlockFeatures"; 2939 case StructureType::ePhysicalDeviceInlineUniformBlockProperties : return "PhysicalDeviceInlineUniformBlockProperties"; 2940 case StructureType::eWriteDescriptorSetInlineUniformBlock : return "WriteDescriptorSetInlineUniformBlock"; 2941 case StructureType::eDescriptorPoolInlineUniformBlockCreateInfo : return "DescriptorPoolInlineUniformBlockCreateInfo"; 2942 case StructureType::ePhysicalDeviceTextureCompressionAstcHdrFeatures : return "PhysicalDeviceTextureCompressionAstcHdrFeatures"; 2943 case StructureType::eRenderingInfo : return "RenderingInfo"; 2944 case StructureType::eRenderingAttachmentInfo : return "RenderingAttachmentInfo"; 2945 case StructureType::ePipelineRenderingCreateInfo : return "PipelineRenderingCreateInfo"; 2946 case StructureType::ePhysicalDeviceDynamicRenderingFeatures : return "PhysicalDeviceDynamicRenderingFeatures"; 2947 case StructureType::eCommandBufferInheritanceRenderingInfo : return "CommandBufferInheritanceRenderingInfo"; 2948 case StructureType::ePhysicalDeviceShaderIntegerDotProductFeatures : return "PhysicalDeviceShaderIntegerDotProductFeatures"; 2949 case StructureType::ePhysicalDeviceShaderIntegerDotProductProperties : return "PhysicalDeviceShaderIntegerDotProductProperties"; 2950 case StructureType::ePhysicalDeviceTexelBufferAlignmentProperties : return "PhysicalDeviceTexelBufferAlignmentProperties"; 2951 case StructureType::eFormatProperties3 : return "FormatProperties3"; 2952 case StructureType::ePhysicalDeviceMaintenance4Features : return "PhysicalDeviceMaintenance4Features"; 2953 case StructureType::ePhysicalDeviceMaintenance4Properties : return "PhysicalDeviceMaintenance4Properties"; 2954 case StructureType::eDeviceBufferMemoryRequirements : return "DeviceBufferMemoryRequirements"; 2955 case StructureType::eDeviceImageMemoryRequirements : return "DeviceImageMemoryRequirements"; 2956 case StructureType::eSwapchainCreateInfoKHR : return "SwapchainCreateInfoKHR"; 2957 case StructureType::ePresentInfoKHR : return "PresentInfoKHR"; 2958 case StructureType::eDeviceGroupPresentCapabilitiesKHR : return "DeviceGroupPresentCapabilitiesKHR"; 2959 case StructureType::eImageSwapchainCreateInfoKHR : return "ImageSwapchainCreateInfoKHR"; 2960 case StructureType::eBindImageMemorySwapchainInfoKHR : return "BindImageMemorySwapchainInfoKHR"; 2961 case StructureType::eAcquireNextImageInfoKHR : return "AcquireNextImageInfoKHR"; 2962 case StructureType::eDeviceGroupPresentInfoKHR : return "DeviceGroupPresentInfoKHR"; 2963 case StructureType::eDeviceGroupSwapchainCreateInfoKHR : return "DeviceGroupSwapchainCreateInfoKHR"; 2964 case StructureType::eDisplayModeCreateInfoKHR : return "DisplayModeCreateInfoKHR"; 2965 case StructureType::eDisplaySurfaceCreateInfoKHR : return "DisplaySurfaceCreateInfoKHR"; 2966 case StructureType::eDisplayPresentInfoKHR : return "DisplayPresentInfoKHR"; 2967 #if defined( VK_USE_PLATFORM_XLIB_KHR ) 2968 case StructureType::eXlibSurfaceCreateInfoKHR : return "XlibSurfaceCreateInfoKHR"; 2969 #endif /*VK_USE_PLATFORM_XLIB_KHR*/ 2970 #if defined( VK_USE_PLATFORM_XCB_KHR ) 2971 case StructureType::eXcbSurfaceCreateInfoKHR : return "XcbSurfaceCreateInfoKHR"; 2972 #endif /*VK_USE_PLATFORM_XCB_KHR*/ 2973 #if defined( VK_USE_PLATFORM_WAYLAND_KHR ) 2974 case StructureType::eWaylandSurfaceCreateInfoKHR : return "WaylandSurfaceCreateInfoKHR"; 2975 #endif /*VK_USE_PLATFORM_WAYLAND_KHR*/ 2976 #if defined( VK_USE_PLATFORM_ANDROID_KHR ) 2977 case StructureType::eAndroidSurfaceCreateInfoKHR : return "AndroidSurfaceCreateInfoKHR"; 2978 #endif /*VK_USE_PLATFORM_ANDROID_KHR*/ 2979 #if defined( VK_USE_PLATFORM_WIN32_KHR ) 2980 case StructureType::eWin32SurfaceCreateInfoKHR : return "Win32SurfaceCreateInfoKHR"; 2981 #endif /*VK_USE_PLATFORM_WIN32_KHR*/ 2982 case StructureType::eDebugReportCallbackCreateInfoEXT : return "DebugReportCallbackCreateInfoEXT"; 2983 case StructureType::ePipelineRasterizationStateRasterizationOrderAMD : return "PipelineRasterizationStateRasterizationOrderAMD"; 2984 case StructureType::eDebugMarkerObjectNameInfoEXT : return "DebugMarkerObjectNameInfoEXT"; 2985 case StructureType::eDebugMarkerObjectTagInfoEXT : return "DebugMarkerObjectTagInfoEXT"; 2986 case StructureType::eDebugMarkerMarkerInfoEXT : return "DebugMarkerMarkerInfoEXT"; 2987 case StructureType::eVideoProfileInfoKHR : return "VideoProfileInfoKHR"; 2988 case StructureType::eVideoCapabilitiesKHR : return "VideoCapabilitiesKHR"; 2989 case StructureType::eVideoPictureResourceInfoKHR : return "VideoPictureResourceInfoKHR"; 2990 case StructureType::eVideoSessionMemoryRequirementsKHR : return "VideoSessionMemoryRequirementsKHR"; 2991 case StructureType::eBindVideoSessionMemoryInfoKHR : return "BindVideoSessionMemoryInfoKHR"; 2992 case StructureType::eVideoSessionCreateInfoKHR : return "VideoSessionCreateInfoKHR"; 2993 case StructureType::eVideoSessionParametersCreateInfoKHR : return "VideoSessionParametersCreateInfoKHR"; 2994 case StructureType::eVideoSessionParametersUpdateInfoKHR : return "VideoSessionParametersUpdateInfoKHR"; 2995 case StructureType::eVideoBeginCodingInfoKHR : return "VideoBeginCodingInfoKHR"; 2996 case StructureType::eVideoEndCodingInfoKHR : return "VideoEndCodingInfoKHR"; 2997 case StructureType::eVideoCodingControlInfoKHR : return "VideoCodingControlInfoKHR"; 2998 case StructureType::eVideoReferenceSlotInfoKHR : return "VideoReferenceSlotInfoKHR"; 2999 case StructureType::eQueueFamilyVideoPropertiesKHR : return "QueueFamilyVideoPropertiesKHR"; 3000 case StructureType::eVideoProfileListInfoKHR : return "VideoProfileListInfoKHR"; 3001 case StructureType::ePhysicalDeviceVideoFormatInfoKHR : return "PhysicalDeviceVideoFormatInfoKHR"; 3002 case StructureType::eVideoFormatPropertiesKHR : return "VideoFormatPropertiesKHR"; 3003 case StructureType::eQueueFamilyQueryResultStatusPropertiesKHR : return "QueueFamilyQueryResultStatusPropertiesKHR"; 3004 case StructureType::eVideoDecodeInfoKHR : return "VideoDecodeInfoKHR"; 3005 case StructureType::eVideoDecodeCapabilitiesKHR : return "VideoDecodeCapabilitiesKHR"; 3006 case StructureType::eVideoDecodeUsageInfoKHR : return "VideoDecodeUsageInfoKHR"; 3007 case StructureType::eDedicatedAllocationImageCreateInfoNV : return "DedicatedAllocationImageCreateInfoNV"; 3008 case StructureType::eDedicatedAllocationBufferCreateInfoNV : return "DedicatedAllocationBufferCreateInfoNV"; 3009 case StructureType::eDedicatedAllocationMemoryAllocateInfoNV : return "DedicatedAllocationMemoryAllocateInfoNV"; 3010 case StructureType::ePhysicalDeviceTransformFeedbackFeaturesEXT : return "PhysicalDeviceTransformFeedbackFeaturesEXT"; 3011 case StructureType::ePhysicalDeviceTransformFeedbackPropertiesEXT : return "PhysicalDeviceTransformFeedbackPropertiesEXT"; 3012 case StructureType::ePipelineRasterizationStateStreamCreateInfoEXT : return "PipelineRasterizationStateStreamCreateInfoEXT"; 3013 case StructureType::eCuModuleCreateInfoNVX : return "CuModuleCreateInfoNVX"; 3014 case StructureType::eCuFunctionCreateInfoNVX : return "CuFunctionCreateInfoNVX"; 3015 case StructureType::eCuLaunchInfoNVX : return "CuLaunchInfoNVX"; 3016 case StructureType::eImageViewHandleInfoNVX : return "ImageViewHandleInfoNVX"; 3017 case StructureType::eImageViewAddressPropertiesNVX : return "ImageViewAddressPropertiesNVX"; 3018 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 3019 case StructureType::eVideoEncodeH264CapabilitiesEXT : return "VideoEncodeH264CapabilitiesEXT"; 3020 case StructureType::eVideoEncodeH264SessionParametersCreateInfoEXT : return "VideoEncodeH264SessionParametersCreateInfoEXT"; 3021 case StructureType::eVideoEncodeH264SessionParametersAddInfoEXT : return "VideoEncodeH264SessionParametersAddInfoEXT"; 3022 case StructureType::eVideoEncodeH264PictureInfoEXT : return "VideoEncodeH264PictureInfoEXT"; 3023 case StructureType::eVideoEncodeH264DpbSlotInfoEXT : return "VideoEncodeH264DpbSlotInfoEXT"; 3024 case StructureType::eVideoEncodeH264NaluSliceInfoEXT : return "VideoEncodeH264NaluSliceInfoEXT"; 3025 case StructureType::eVideoEncodeH264GopRemainingFrameInfoEXT : return "VideoEncodeH264GopRemainingFrameInfoEXT"; 3026 case StructureType::eVideoEncodeH264ProfileInfoEXT : return "VideoEncodeH264ProfileInfoEXT"; 3027 case StructureType::eVideoEncodeH264RateControlInfoEXT : return "VideoEncodeH264RateControlInfoEXT"; 3028 case StructureType::eVideoEncodeH264RateControlLayerInfoEXT : return "VideoEncodeH264RateControlLayerInfoEXT"; 3029 case StructureType::eVideoEncodeH264SessionCreateInfoEXT : return "VideoEncodeH264SessionCreateInfoEXT"; 3030 case StructureType::eVideoEncodeH264QualityLevelPropertiesEXT : return "VideoEncodeH264QualityLevelPropertiesEXT"; 3031 case StructureType::eVideoEncodeH264SessionParametersGetInfoEXT : return "VideoEncodeH264SessionParametersGetInfoEXT"; 3032 case StructureType::eVideoEncodeH264SessionParametersFeedbackInfoEXT : return "VideoEncodeH264SessionParametersFeedbackInfoEXT"; 3033 case StructureType::eVideoEncodeH265CapabilitiesEXT : return "VideoEncodeH265CapabilitiesEXT"; 3034 case StructureType::eVideoEncodeH265SessionParametersCreateInfoEXT : return "VideoEncodeH265SessionParametersCreateInfoEXT"; 3035 case StructureType::eVideoEncodeH265SessionParametersAddInfoEXT : return "VideoEncodeH265SessionParametersAddInfoEXT"; 3036 case StructureType::eVideoEncodeH265PictureInfoEXT : return "VideoEncodeH265PictureInfoEXT"; 3037 case StructureType::eVideoEncodeH265DpbSlotInfoEXT : return "VideoEncodeH265DpbSlotInfoEXT"; 3038 case StructureType::eVideoEncodeH265NaluSliceSegmentInfoEXT : return "VideoEncodeH265NaluSliceSegmentInfoEXT"; 3039 case StructureType::eVideoEncodeH265GopRemainingFrameInfoEXT : return "VideoEncodeH265GopRemainingFrameInfoEXT"; 3040 case StructureType::eVideoEncodeH265ProfileInfoEXT : return "VideoEncodeH265ProfileInfoEXT"; 3041 case StructureType::eVideoEncodeH265RateControlInfoEXT : return "VideoEncodeH265RateControlInfoEXT"; 3042 case StructureType::eVideoEncodeH265RateControlLayerInfoEXT : return "VideoEncodeH265RateControlLayerInfoEXT"; 3043 case StructureType::eVideoEncodeH265SessionCreateInfoEXT : return "VideoEncodeH265SessionCreateInfoEXT"; 3044 case StructureType::eVideoEncodeH265QualityLevelPropertiesEXT : return "VideoEncodeH265QualityLevelPropertiesEXT"; 3045 case StructureType::eVideoEncodeH265SessionParametersGetInfoEXT : return "VideoEncodeH265SessionParametersGetInfoEXT"; 3046 case StructureType::eVideoEncodeH265SessionParametersFeedbackInfoEXT : return "VideoEncodeH265SessionParametersFeedbackInfoEXT"; 3047 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 3048 case StructureType::eVideoDecodeH264CapabilitiesKHR : return "VideoDecodeH264CapabilitiesKHR"; 3049 case StructureType::eVideoDecodeH264PictureInfoKHR : return "VideoDecodeH264PictureInfoKHR"; 3050 case StructureType::eVideoDecodeH264ProfileInfoKHR : return "VideoDecodeH264ProfileInfoKHR"; 3051 case StructureType::eVideoDecodeH264SessionParametersCreateInfoKHR : return "VideoDecodeH264SessionParametersCreateInfoKHR"; 3052 case StructureType::eVideoDecodeH264SessionParametersAddInfoKHR : return "VideoDecodeH264SessionParametersAddInfoKHR"; 3053 case StructureType::eVideoDecodeH264DpbSlotInfoKHR : return "VideoDecodeH264DpbSlotInfoKHR"; 3054 case StructureType::eTextureLodGatherFormatPropertiesAMD : return "TextureLodGatherFormatPropertiesAMD"; 3055 case StructureType::eRenderingFragmentShadingRateAttachmentInfoKHR : return "RenderingFragmentShadingRateAttachmentInfoKHR"; 3056 case StructureType::eRenderingFragmentDensityMapAttachmentInfoEXT : return "RenderingFragmentDensityMapAttachmentInfoEXT"; 3057 case StructureType::eAttachmentSampleCountInfoAMD : return "AttachmentSampleCountInfoAMD"; 3058 case StructureType::eMultiviewPerViewAttributesInfoNVX : return "MultiviewPerViewAttributesInfoNVX"; 3059 #if defined( VK_USE_PLATFORM_GGP ) 3060 case StructureType::eStreamDescriptorSurfaceCreateInfoGGP : return "StreamDescriptorSurfaceCreateInfoGGP"; 3061 #endif /*VK_USE_PLATFORM_GGP*/ 3062 case StructureType::ePhysicalDeviceCornerSampledImageFeaturesNV : return "PhysicalDeviceCornerSampledImageFeaturesNV"; 3063 case StructureType::eExternalMemoryImageCreateInfoNV : return "ExternalMemoryImageCreateInfoNV"; 3064 case StructureType::eExportMemoryAllocateInfoNV : return "ExportMemoryAllocateInfoNV"; 3065 #if defined( VK_USE_PLATFORM_WIN32_KHR ) 3066 case StructureType::eImportMemoryWin32HandleInfoNV : return "ImportMemoryWin32HandleInfoNV"; 3067 case StructureType::eExportMemoryWin32HandleInfoNV : return "ExportMemoryWin32HandleInfoNV"; 3068 case StructureType::eWin32KeyedMutexAcquireReleaseInfoNV : return "Win32KeyedMutexAcquireReleaseInfoNV"; 3069 #endif /*VK_USE_PLATFORM_WIN32_KHR*/ 3070 case StructureType::eValidationFlagsEXT : return "ValidationFlagsEXT"; 3071 #if defined( VK_USE_PLATFORM_VI_NN ) 3072 case StructureType::eViSurfaceCreateInfoNN : return "ViSurfaceCreateInfoNN"; 3073 #endif /*VK_USE_PLATFORM_VI_NN*/ 3074 case StructureType::eImageViewAstcDecodeModeEXT : return "ImageViewAstcDecodeModeEXT"; 3075 case StructureType::ePhysicalDeviceAstcDecodeFeaturesEXT : return "PhysicalDeviceAstcDecodeFeaturesEXT"; 3076 case StructureType::ePipelineRobustnessCreateInfoEXT : return "PipelineRobustnessCreateInfoEXT"; 3077 case StructureType::ePhysicalDevicePipelineRobustnessFeaturesEXT : return "PhysicalDevicePipelineRobustnessFeaturesEXT"; 3078 case StructureType::ePhysicalDevicePipelineRobustnessPropertiesEXT : return "PhysicalDevicePipelineRobustnessPropertiesEXT"; 3079 #if defined( VK_USE_PLATFORM_WIN32_KHR ) 3080 case StructureType::eImportMemoryWin32HandleInfoKHR : return "ImportMemoryWin32HandleInfoKHR"; 3081 case StructureType::eExportMemoryWin32HandleInfoKHR : return "ExportMemoryWin32HandleInfoKHR"; 3082 case StructureType::eMemoryWin32HandlePropertiesKHR : return "MemoryWin32HandlePropertiesKHR"; 3083 case StructureType::eMemoryGetWin32HandleInfoKHR : return "MemoryGetWin32HandleInfoKHR"; 3084 #endif /*VK_USE_PLATFORM_WIN32_KHR*/ 3085 case StructureType::eImportMemoryFdInfoKHR : return "ImportMemoryFdInfoKHR"; 3086 case StructureType::eMemoryFdPropertiesKHR : return "MemoryFdPropertiesKHR"; 3087 case StructureType::eMemoryGetFdInfoKHR : return "MemoryGetFdInfoKHR"; 3088 #if defined( VK_USE_PLATFORM_WIN32_KHR ) 3089 case StructureType::eWin32KeyedMutexAcquireReleaseInfoKHR : return "Win32KeyedMutexAcquireReleaseInfoKHR"; 3090 case StructureType::eImportSemaphoreWin32HandleInfoKHR : return "ImportSemaphoreWin32HandleInfoKHR"; 3091 case StructureType::eExportSemaphoreWin32HandleInfoKHR : return "ExportSemaphoreWin32HandleInfoKHR"; 3092 case StructureType::eD3D12FenceSubmitInfoKHR : return "D3D12FenceSubmitInfoKHR"; 3093 case StructureType::eSemaphoreGetWin32HandleInfoKHR : return "SemaphoreGetWin32HandleInfoKHR"; 3094 #endif /*VK_USE_PLATFORM_WIN32_KHR*/ 3095 case StructureType::eImportSemaphoreFdInfoKHR : return "ImportSemaphoreFdInfoKHR"; 3096 case StructureType::eSemaphoreGetFdInfoKHR : return "SemaphoreGetFdInfoKHR"; 3097 case StructureType::ePhysicalDevicePushDescriptorPropertiesKHR : return "PhysicalDevicePushDescriptorPropertiesKHR"; 3098 case StructureType::eCommandBufferInheritanceConditionalRenderingInfoEXT : return "CommandBufferInheritanceConditionalRenderingInfoEXT"; 3099 case StructureType::ePhysicalDeviceConditionalRenderingFeaturesEXT : return "PhysicalDeviceConditionalRenderingFeaturesEXT"; 3100 case StructureType::eConditionalRenderingBeginInfoEXT : return "ConditionalRenderingBeginInfoEXT"; 3101 case StructureType::ePresentRegionsKHR : return "PresentRegionsKHR"; 3102 case StructureType::ePipelineViewportWScalingStateCreateInfoNV : return "PipelineViewportWScalingStateCreateInfoNV"; 3103 case StructureType::eSurfaceCapabilities2EXT : return "SurfaceCapabilities2EXT"; 3104 case StructureType::eDisplayPowerInfoEXT : return "DisplayPowerInfoEXT"; 3105 case StructureType::eDeviceEventInfoEXT : return "DeviceEventInfoEXT"; 3106 case StructureType::eDisplayEventInfoEXT : return "DisplayEventInfoEXT"; 3107 case StructureType::eSwapchainCounterCreateInfoEXT : return "SwapchainCounterCreateInfoEXT"; 3108 case StructureType::ePresentTimesInfoGOOGLE : return "PresentTimesInfoGOOGLE"; 3109 case StructureType::ePhysicalDeviceMultiviewPerViewAttributesPropertiesNVX : return "PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX"; 3110 case StructureType::ePipelineViewportSwizzleStateCreateInfoNV : return "PipelineViewportSwizzleStateCreateInfoNV"; 3111 case StructureType::ePhysicalDeviceDiscardRectanglePropertiesEXT : return "PhysicalDeviceDiscardRectanglePropertiesEXT"; 3112 case StructureType::ePipelineDiscardRectangleStateCreateInfoEXT : return "PipelineDiscardRectangleStateCreateInfoEXT"; 3113 case StructureType::ePhysicalDeviceConservativeRasterizationPropertiesEXT : return "PhysicalDeviceConservativeRasterizationPropertiesEXT"; 3114 case StructureType::ePipelineRasterizationConservativeStateCreateInfoEXT : return "PipelineRasterizationConservativeStateCreateInfoEXT"; 3115 case StructureType::ePhysicalDeviceDepthClipEnableFeaturesEXT : return "PhysicalDeviceDepthClipEnableFeaturesEXT"; 3116 case StructureType::ePipelineRasterizationDepthClipStateCreateInfoEXT : return "PipelineRasterizationDepthClipStateCreateInfoEXT"; 3117 case StructureType::eHdrMetadataEXT : return "HdrMetadataEXT"; 3118 case StructureType::eSharedPresentSurfaceCapabilitiesKHR : return "SharedPresentSurfaceCapabilitiesKHR"; 3119 #if defined( VK_USE_PLATFORM_WIN32_KHR ) 3120 case StructureType::eImportFenceWin32HandleInfoKHR : return "ImportFenceWin32HandleInfoKHR"; 3121 case StructureType::eExportFenceWin32HandleInfoKHR : return "ExportFenceWin32HandleInfoKHR"; 3122 case StructureType::eFenceGetWin32HandleInfoKHR : return "FenceGetWin32HandleInfoKHR"; 3123 #endif /*VK_USE_PLATFORM_WIN32_KHR*/ 3124 case StructureType::eImportFenceFdInfoKHR : return "ImportFenceFdInfoKHR"; 3125 case StructureType::eFenceGetFdInfoKHR : return "FenceGetFdInfoKHR"; 3126 case StructureType::ePhysicalDevicePerformanceQueryFeaturesKHR : return "PhysicalDevicePerformanceQueryFeaturesKHR"; 3127 case StructureType::ePhysicalDevicePerformanceQueryPropertiesKHR : return "PhysicalDevicePerformanceQueryPropertiesKHR"; 3128 case StructureType::eQueryPoolPerformanceCreateInfoKHR : return "QueryPoolPerformanceCreateInfoKHR"; 3129 case StructureType::ePerformanceQuerySubmitInfoKHR : return "PerformanceQuerySubmitInfoKHR"; 3130 case StructureType::eAcquireProfilingLockInfoKHR : return "AcquireProfilingLockInfoKHR"; 3131 case StructureType::ePerformanceCounterKHR : return "PerformanceCounterKHR"; 3132 case StructureType::ePerformanceCounterDescriptionKHR : return "PerformanceCounterDescriptionKHR"; 3133 case StructureType::ePhysicalDeviceSurfaceInfo2KHR : return "PhysicalDeviceSurfaceInfo2KHR"; 3134 case StructureType::eSurfaceCapabilities2KHR : return "SurfaceCapabilities2KHR"; 3135 case StructureType::eSurfaceFormat2KHR : return "SurfaceFormat2KHR"; 3136 case StructureType::eDisplayProperties2KHR : return "DisplayProperties2KHR"; 3137 case StructureType::eDisplayPlaneProperties2KHR : return "DisplayPlaneProperties2KHR"; 3138 case StructureType::eDisplayModeProperties2KHR : return "DisplayModeProperties2KHR"; 3139 case StructureType::eDisplayPlaneInfo2KHR : return "DisplayPlaneInfo2KHR"; 3140 case StructureType::eDisplayPlaneCapabilities2KHR : return "DisplayPlaneCapabilities2KHR"; 3141 #if defined( VK_USE_PLATFORM_IOS_MVK ) 3142 case StructureType::eIosSurfaceCreateInfoMVK : return "IosSurfaceCreateInfoMVK"; 3143 #endif /*VK_USE_PLATFORM_IOS_MVK*/ 3144 #if defined( VK_USE_PLATFORM_MACOS_MVK ) 3145 case StructureType::eMacosSurfaceCreateInfoMVK : return "MacosSurfaceCreateInfoMVK"; 3146 #endif /*VK_USE_PLATFORM_MACOS_MVK*/ 3147 case StructureType::eDebugUtilsObjectNameInfoEXT : return "DebugUtilsObjectNameInfoEXT"; 3148 case StructureType::eDebugUtilsObjectTagInfoEXT : return "DebugUtilsObjectTagInfoEXT"; 3149 case StructureType::eDebugUtilsLabelEXT : return "DebugUtilsLabelEXT"; 3150 case StructureType::eDebugUtilsMessengerCallbackDataEXT : return "DebugUtilsMessengerCallbackDataEXT"; 3151 case StructureType::eDebugUtilsMessengerCreateInfoEXT : return "DebugUtilsMessengerCreateInfoEXT"; 3152 #if defined( VK_USE_PLATFORM_ANDROID_KHR ) 3153 case StructureType::eAndroidHardwareBufferUsageANDROID : return "AndroidHardwareBufferUsageANDROID"; 3154 case StructureType::eAndroidHardwareBufferPropertiesANDROID : return "AndroidHardwareBufferPropertiesANDROID"; 3155 case StructureType::eAndroidHardwareBufferFormatPropertiesANDROID : return "AndroidHardwareBufferFormatPropertiesANDROID"; 3156 case StructureType::eImportAndroidHardwareBufferInfoANDROID : return "ImportAndroidHardwareBufferInfoANDROID"; 3157 case StructureType::eMemoryGetAndroidHardwareBufferInfoANDROID : return "MemoryGetAndroidHardwareBufferInfoANDROID"; 3158 case StructureType::eExternalFormatANDROID : return "ExternalFormatANDROID"; 3159 case StructureType::eAndroidHardwareBufferFormatProperties2ANDROID : return "AndroidHardwareBufferFormatProperties2ANDROID"; 3160 #endif /*VK_USE_PLATFORM_ANDROID_KHR*/ 3161 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 3162 case StructureType::ePhysicalDeviceShaderEnqueueFeaturesAMDX : return "PhysicalDeviceShaderEnqueueFeaturesAMDX"; 3163 case StructureType::ePhysicalDeviceShaderEnqueuePropertiesAMDX : return "PhysicalDeviceShaderEnqueuePropertiesAMDX"; 3164 case StructureType::eExecutionGraphPipelineScratchSizeAMDX : return "ExecutionGraphPipelineScratchSizeAMDX"; 3165 case StructureType::eExecutionGraphPipelineCreateInfoAMDX : return "ExecutionGraphPipelineCreateInfoAMDX"; 3166 case StructureType::ePipelineShaderStageNodeCreateInfoAMDX : return "PipelineShaderStageNodeCreateInfoAMDX"; 3167 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 3168 case StructureType::eSampleLocationsInfoEXT : return "SampleLocationsInfoEXT"; 3169 case StructureType::eRenderPassSampleLocationsBeginInfoEXT : return "RenderPassSampleLocationsBeginInfoEXT"; 3170 case StructureType::ePipelineSampleLocationsStateCreateInfoEXT : return "PipelineSampleLocationsStateCreateInfoEXT"; 3171 case StructureType::ePhysicalDeviceSampleLocationsPropertiesEXT : return "PhysicalDeviceSampleLocationsPropertiesEXT"; 3172 case StructureType::eMultisamplePropertiesEXT : return "MultisamplePropertiesEXT"; 3173 case StructureType::ePhysicalDeviceBlendOperationAdvancedFeaturesEXT : return "PhysicalDeviceBlendOperationAdvancedFeaturesEXT"; 3174 case StructureType::ePhysicalDeviceBlendOperationAdvancedPropertiesEXT : return "PhysicalDeviceBlendOperationAdvancedPropertiesEXT"; 3175 case StructureType::ePipelineColorBlendAdvancedStateCreateInfoEXT : return "PipelineColorBlendAdvancedStateCreateInfoEXT"; 3176 case StructureType::ePipelineCoverageToColorStateCreateInfoNV : return "PipelineCoverageToColorStateCreateInfoNV"; 3177 case StructureType::eWriteDescriptorSetAccelerationStructureKHR : return "WriteDescriptorSetAccelerationStructureKHR"; 3178 case StructureType::eAccelerationStructureBuildGeometryInfoKHR : return "AccelerationStructureBuildGeometryInfoKHR"; 3179 case StructureType::eAccelerationStructureDeviceAddressInfoKHR : return "AccelerationStructureDeviceAddressInfoKHR"; 3180 case StructureType::eAccelerationStructureGeometryAabbsDataKHR : return "AccelerationStructureGeometryAabbsDataKHR"; 3181 case StructureType::eAccelerationStructureGeometryInstancesDataKHR : return "AccelerationStructureGeometryInstancesDataKHR"; 3182 case StructureType::eAccelerationStructureGeometryTrianglesDataKHR : return "AccelerationStructureGeometryTrianglesDataKHR"; 3183 case StructureType::eAccelerationStructureGeometryKHR : return "AccelerationStructureGeometryKHR"; 3184 case StructureType::eAccelerationStructureVersionInfoKHR : return "AccelerationStructureVersionInfoKHR"; 3185 case StructureType::eCopyAccelerationStructureInfoKHR : return "CopyAccelerationStructureInfoKHR"; 3186 case StructureType::eCopyAccelerationStructureToMemoryInfoKHR : return "CopyAccelerationStructureToMemoryInfoKHR"; 3187 case StructureType::eCopyMemoryToAccelerationStructureInfoKHR : return "CopyMemoryToAccelerationStructureInfoKHR"; 3188 case StructureType::ePhysicalDeviceAccelerationStructureFeaturesKHR : return "PhysicalDeviceAccelerationStructureFeaturesKHR"; 3189 case StructureType::ePhysicalDeviceAccelerationStructurePropertiesKHR : return "PhysicalDeviceAccelerationStructurePropertiesKHR"; 3190 case StructureType::eAccelerationStructureCreateInfoKHR : return "AccelerationStructureCreateInfoKHR"; 3191 case StructureType::eAccelerationStructureBuildSizesInfoKHR : return "AccelerationStructureBuildSizesInfoKHR"; 3192 case StructureType::ePhysicalDeviceRayTracingPipelineFeaturesKHR : return "PhysicalDeviceRayTracingPipelineFeaturesKHR"; 3193 case StructureType::ePhysicalDeviceRayTracingPipelinePropertiesKHR : return "PhysicalDeviceRayTracingPipelinePropertiesKHR"; 3194 case StructureType::eRayTracingPipelineCreateInfoKHR : return "RayTracingPipelineCreateInfoKHR"; 3195 case StructureType::eRayTracingShaderGroupCreateInfoKHR : return "RayTracingShaderGroupCreateInfoKHR"; 3196 case StructureType::eRayTracingPipelineInterfaceCreateInfoKHR : return "RayTracingPipelineInterfaceCreateInfoKHR"; 3197 case StructureType::ePhysicalDeviceRayQueryFeaturesKHR : return "PhysicalDeviceRayQueryFeaturesKHR"; 3198 case StructureType::ePipelineCoverageModulationStateCreateInfoNV : return "PipelineCoverageModulationStateCreateInfoNV"; 3199 case StructureType::ePhysicalDeviceShaderSmBuiltinsFeaturesNV : return "PhysicalDeviceShaderSmBuiltinsFeaturesNV"; 3200 case StructureType::ePhysicalDeviceShaderSmBuiltinsPropertiesNV : return "PhysicalDeviceShaderSmBuiltinsPropertiesNV"; 3201 case StructureType::eDrmFormatModifierPropertiesListEXT : return "DrmFormatModifierPropertiesListEXT"; 3202 case StructureType::ePhysicalDeviceImageDrmFormatModifierInfoEXT : return "PhysicalDeviceImageDrmFormatModifierInfoEXT"; 3203 case StructureType::eImageDrmFormatModifierListCreateInfoEXT : return "ImageDrmFormatModifierListCreateInfoEXT"; 3204 case StructureType::eImageDrmFormatModifierExplicitCreateInfoEXT : return "ImageDrmFormatModifierExplicitCreateInfoEXT"; 3205 case StructureType::eImageDrmFormatModifierPropertiesEXT : return "ImageDrmFormatModifierPropertiesEXT"; 3206 case StructureType::eDrmFormatModifierPropertiesList2EXT : return "DrmFormatModifierPropertiesList2EXT"; 3207 case StructureType::eValidationCacheCreateInfoEXT : return "ValidationCacheCreateInfoEXT"; 3208 case StructureType::eShaderModuleValidationCacheCreateInfoEXT : return "ShaderModuleValidationCacheCreateInfoEXT"; 3209 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 3210 case StructureType::ePhysicalDevicePortabilitySubsetFeaturesKHR : return "PhysicalDevicePortabilitySubsetFeaturesKHR"; 3211 case StructureType::ePhysicalDevicePortabilitySubsetPropertiesKHR : return "PhysicalDevicePortabilitySubsetPropertiesKHR"; 3212 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 3213 case StructureType::ePipelineViewportShadingRateImageStateCreateInfoNV : return "PipelineViewportShadingRateImageStateCreateInfoNV"; 3214 case StructureType::ePhysicalDeviceShadingRateImageFeaturesNV : return "PhysicalDeviceShadingRateImageFeaturesNV"; 3215 case StructureType::ePhysicalDeviceShadingRateImagePropertiesNV : return "PhysicalDeviceShadingRateImagePropertiesNV"; 3216 case StructureType::ePipelineViewportCoarseSampleOrderStateCreateInfoNV : return "PipelineViewportCoarseSampleOrderStateCreateInfoNV"; 3217 case StructureType::eRayTracingPipelineCreateInfoNV : return "RayTracingPipelineCreateInfoNV"; 3218 case StructureType::eAccelerationStructureCreateInfoNV : return "AccelerationStructureCreateInfoNV"; 3219 case StructureType::eGeometryNV : return "GeometryNV"; 3220 case StructureType::eGeometryTrianglesNV : return "GeometryTrianglesNV"; 3221 case StructureType::eGeometryAabbNV : return "GeometryAabbNV"; 3222 case StructureType::eBindAccelerationStructureMemoryInfoNV : return "BindAccelerationStructureMemoryInfoNV"; 3223 case StructureType::eWriteDescriptorSetAccelerationStructureNV : return "WriteDescriptorSetAccelerationStructureNV"; 3224 case StructureType::eAccelerationStructureMemoryRequirementsInfoNV : return "AccelerationStructureMemoryRequirementsInfoNV"; 3225 case StructureType::ePhysicalDeviceRayTracingPropertiesNV : return "PhysicalDeviceRayTracingPropertiesNV"; 3226 case StructureType::eRayTracingShaderGroupCreateInfoNV : return "RayTracingShaderGroupCreateInfoNV"; 3227 case StructureType::eAccelerationStructureInfoNV : return "AccelerationStructureInfoNV"; 3228 case StructureType::ePhysicalDeviceRepresentativeFragmentTestFeaturesNV : return "PhysicalDeviceRepresentativeFragmentTestFeaturesNV"; 3229 case StructureType::ePipelineRepresentativeFragmentTestStateCreateInfoNV : return "PipelineRepresentativeFragmentTestStateCreateInfoNV"; 3230 case StructureType::ePhysicalDeviceImageViewImageFormatInfoEXT : return "PhysicalDeviceImageViewImageFormatInfoEXT"; 3231 case StructureType::eFilterCubicImageViewImageFormatPropertiesEXT : return "FilterCubicImageViewImageFormatPropertiesEXT"; 3232 case StructureType::eImportMemoryHostPointerInfoEXT : return "ImportMemoryHostPointerInfoEXT"; 3233 case StructureType::eMemoryHostPointerPropertiesEXT : return "MemoryHostPointerPropertiesEXT"; 3234 case StructureType::ePhysicalDeviceExternalMemoryHostPropertiesEXT : return "PhysicalDeviceExternalMemoryHostPropertiesEXT"; 3235 case StructureType::ePhysicalDeviceShaderClockFeaturesKHR : return "PhysicalDeviceShaderClockFeaturesKHR"; 3236 case StructureType::ePipelineCompilerControlCreateInfoAMD : return "PipelineCompilerControlCreateInfoAMD"; 3237 case StructureType::eCalibratedTimestampInfoEXT : return "CalibratedTimestampInfoEXT"; 3238 case StructureType::ePhysicalDeviceShaderCorePropertiesAMD : return "PhysicalDeviceShaderCorePropertiesAMD"; 3239 case StructureType::eVideoDecodeH265CapabilitiesKHR : return "VideoDecodeH265CapabilitiesKHR"; 3240 case StructureType::eVideoDecodeH265SessionParametersCreateInfoKHR : return "VideoDecodeH265SessionParametersCreateInfoKHR"; 3241 case StructureType::eVideoDecodeH265SessionParametersAddInfoKHR : return "VideoDecodeH265SessionParametersAddInfoKHR"; 3242 case StructureType::eVideoDecodeH265ProfileInfoKHR : return "VideoDecodeH265ProfileInfoKHR"; 3243 case StructureType::eVideoDecodeH265PictureInfoKHR : return "VideoDecodeH265PictureInfoKHR"; 3244 case StructureType::eVideoDecodeH265DpbSlotInfoKHR : return "VideoDecodeH265DpbSlotInfoKHR"; 3245 case StructureType::eDeviceQueueGlobalPriorityCreateInfoKHR : return "DeviceQueueGlobalPriorityCreateInfoKHR"; 3246 case StructureType::ePhysicalDeviceGlobalPriorityQueryFeaturesKHR : return "PhysicalDeviceGlobalPriorityQueryFeaturesKHR"; 3247 case StructureType::eQueueFamilyGlobalPriorityPropertiesKHR : return "QueueFamilyGlobalPriorityPropertiesKHR"; 3248 case StructureType::eDeviceMemoryOverallocationCreateInfoAMD : return "DeviceMemoryOverallocationCreateInfoAMD"; 3249 case StructureType::ePhysicalDeviceVertexAttributeDivisorPropertiesEXT : return "PhysicalDeviceVertexAttributeDivisorPropertiesEXT"; 3250 case StructureType::ePipelineVertexInputDivisorStateCreateInfoEXT : return "PipelineVertexInputDivisorStateCreateInfoEXT"; 3251 case StructureType::ePhysicalDeviceVertexAttributeDivisorFeaturesEXT : return "PhysicalDeviceVertexAttributeDivisorFeaturesEXT"; 3252 #if defined( VK_USE_PLATFORM_GGP ) 3253 case StructureType::ePresentFrameTokenGGP : return "PresentFrameTokenGGP"; 3254 #endif /*VK_USE_PLATFORM_GGP*/ 3255 case StructureType::ePhysicalDeviceComputeShaderDerivativesFeaturesNV : return "PhysicalDeviceComputeShaderDerivativesFeaturesNV"; 3256 case StructureType::ePhysicalDeviceMeshShaderFeaturesNV : return "PhysicalDeviceMeshShaderFeaturesNV"; 3257 case StructureType::ePhysicalDeviceMeshShaderPropertiesNV : return "PhysicalDeviceMeshShaderPropertiesNV"; 3258 case StructureType::ePhysicalDeviceShaderImageFootprintFeaturesNV : return "PhysicalDeviceShaderImageFootprintFeaturesNV"; 3259 case StructureType::ePipelineViewportExclusiveScissorStateCreateInfoNV : return "PipelineViewportExclusiveScissorStateCreateInfoNV"; 3260 case StructureType::ePhysicalDeviceExclusiveScissorFeaturesNV : return "PhysicalDeviceExclusiveScissorFeaturesNV"; 3261 case StructureType::eCheckpointDataNV : return "CheckpointDataNV"; 3262 case StructureType::eQueueFamilyCheckpointPropertiesNV : return "QueueFamilyCheckpointPropertiesNV"; 3263 case StructureType::ePhysicalDeviceShaderIntegerFunctions2FeaturesINTEL : return "PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL"; 3264 case StructureType::eQueryPoolPerformanceQueryCreateInfoINTEL : return "QueryPoolPerformanceQueryCreateInfoINTEL"; 3265 case StructureType::eInitializePerformanceApiInfoINTEL : return "InitializePerformanceApiInfoINTEL"; 3266 case StructureType::ePerformanceMarkerInfoINTEL : return "PerformanceMarkerInfoINTEL"; 3267 case StructureType::ePerformanceStreamMarkerInfoINTEL : return "PerformanceStreamMarkerInfoINTEL"; 3268 case StructureType::ePerformanceOverrideInfoINTEL : return "PerformanceOverrideInfoINTEL"; 3269 case StructureType::ePerformanceConfigurationAcquireInfoINTEL : return "PerformanceConfigurationAcquireInfoINTEL"; 3270 case StructureType::ePhysicalDevicePciBusInfoPropertiesEXT : return "PhysicalDevicePciBusInfoPropertiesEXT"; 3271 case StructureType::eDisplayNativeHdrSurfaceCapabilitiesAMD : return "DisplayNativeHdrSurfaceCapabilitiesAMD"; 3272 case StructureType::eSwapchainDisplayNativeHdrCreateInfoAMD : return "SwapchainDisplayNativeHdrCreateInfoAMD"; 3273 #if defined( VK_USE_PLATFORM_FUCHSIA ) 3274 case StructureType::eImagepipeSurfaceCreateInfoFUCHSIA : return "ImagepipeSurfaceCreateInfoFUCHSIA"; 3275 #endif /*VK_USE_PLATFORM_FUCHSIA*/ 3276 #if defined( VK_USE_PLATFORM_METAL_EXT ) 3277 case StructureType::eMetalSurfaceCreateInfoEXT : return "MetalSurfaceCreateInfoEXT"; 3278 #endif /*VK_USE_PLATFORM_METAL_EXT*/ 3279 case StructureType::ePhysicalDeviceFragmentDensityMapFeaturesEXT : return "PhysicalDeviceFragmentDensityMapFeaturesEXT"; 3280 case StructureType::ePhysicalDeviceFragmentDensityMapPropertiesEXT : return "PhysicalDeviceFragmentDensityMapPropertiesEXT"; 3281 case StructureType::eRenderPassFragmentDensityMapCreateInfoEXT : return "RenderPassFragmentDensityMapCreateInfoEXT"; 3282 case StructureType::eFragmentShadingRateAttachmentInfoKHR : return "FragmentShadingRateAttachmentInfoKHR"; 3283 case StructureType::ePipelineFragmentShadingRateStateCreateInfoKHR : return "PipelineFragmentShadingRateStateCreateInfoKHR"; 3284 case StructureType::ePhysicalDeviceFragmentShadingRatePropertiesKHR : return "PhysicalDeviceFragmentShadingRatePropertiesKHR"; 3285 case StructureType::ePhysicalDeviceFragmentShadingRateFeaturesKHR : return "PhysicalDeviceFragmentShadingRateFeaturesKHR"; 3286 case StructureType::ePhysicalDeviceFragmentShadingRateKHR : return "PhysicalDeviceFragmentShadingRateKHR"; 3287 case StructureType::ePhysicalDeviceShaderCoreProperties2AMD : return "PhysicalDeviceShaderCoreProperties2AMD"; 3288 case StructureType::ePhysicalDeviceCoherentMemoryFeaturesAMD : return "PhysicalDeviceCoherentMemoryFeaturesAMD"; 3289 case StructureType::ePhysicalDeviceShaderImageAtomicInt64FeaturesEXT : return "PhysicalDeviceShaderImageAtomicInt64FeaturesEXT"; 3290 case StructureType::ePhysicalDeviceMemoryBudgetPropertiesEXT : return "PhysicalDeviceMemoryBudgetPropertiesEXT"; 3291 case StructureType::ePhysicalDeviceMemoryPriorityFeaturesEXT : return "PhysicalDeviceMemoryPriorityFeaturesEXT"; 3292 case StructureType::eMemoryPriorityAllocateInfoEXT : return "MemoryPriorityAllocateInfoEXT"; 3293 case StructureType::eSurfaceProtectedCapabilitiesKHR : return "SurfaceProtectedCapabilitiesKHR"; 3294 case StructureType::ePhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV : return "PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV"; 3295 case StructureType::ePhysicalDeviceBufferDeviceAddressFeaturesEXT : return "PhysicalDeviceBufferDeviceAddressFeaturesEXT"; 3296 case StructureType::eBufferDeviceAddressCreateInfoEXT : return "BufferDeviceAddressCreateInfoEXT"; 3297 case StructureType::eValidationFeaturesEXT : return "ValidationFeaturesEXT"; 3298 case StructureType::ePhysicalDevicePresentWaitFeaturesKHR : return "PhysicalDevicePresentWaitFeaturesKHR"; 3299 case StructureType::ePhysicalDeviceCooperativeMatrixFeaturesNV : return "PhysicalDeviceCooperativeMatrixFeaturesNV"; 3300 case StructureType::eCooperativeMatrixPropertiesNV : return "CooperativeMatrixPropertiesNV"; 3301 case StructureType::ePhysicalDeviceCooperativeMatrixPropertiesNV : return "PhysicalDeviceCooperativeMatrixPropertiesNV"; 3302 case StructureType::ePhysicalDeviceCoverageReductionModeFeaturesNV : return "PhysicalDeviceCoverageReductionModeFeaturesNV"; 3303 case StructureType::ePipelineCoverageReductionStateCreateInfoNV : return "PipelineCoverageReductionStateCreateInfoNV"; 3304 case StructureType::eFramebufferMixedSamplesCombinationNV : return "FramebufferMixedSamplesCombinationNV"; 3305 case StructureType::ePhysicalDeviceFragmentShaderInterlockFeaturesEXT : return "PhysicalDeviceFragmentShaderInterlockFeaturesEXT"; 3306 case StructureType::ePhysicalDeviceYcbcrImageArraysFeaturesEXT : return "PhysicalDeviceYcbcrImageArraysFeaturesEXT"; 3307 case StructureType::ePhysicalDeviceProvokingVertexFeaturesEXT : return "PhysicalDeviceProvokingVertexFeaturesEXT"; 3308 case StructureType::ePipelineRasterizationProvokingVertexStateCreateInfoEXT : return "PipelineRasterizationProvokingVertexStateCreateInfoEXT"; 3309 case StructureType::ePhysicalDeviceProvokingVertexPropertiesEXT : return "PhysicalDeviceProvokingVertexPropertiesEXT"; 3310 #if defined( VK_USE_PLATFORM_WIN32_KHR ) 3311 case StructureType::eSurfaceFullScreenExclusiveInfoEXT : return "SurfaceFullScreenExclusiveInfoEXT"; 3312 case StructureType::eSurfaceCapabilitiesFullScreenExclusiveEXT : return "SurfaceCapabilitiesFullScreenExclusiveEXT"; 3313 case StructureType::eSurfaceFullScreenExclusiveWin32InfoEXT : return "SurfaceFullScreenExclusiveWin32InfoEXT"; 3314 #endif /*VK_USE_PLATFORM_WIN32_KHR*/ 3315 case StructureType::eHeadlessSurfaceCreateInfoEXT : return "HeadlessSurfaceCreateInfoEXT"; 3316 case StructureType::ePhysicalDeviceLineRasterizationFeaturesEXT : return "PhysicalDeviceLineRasterizationFeaturesEXT"; 3317 case StructureType::ePipelineRasterizationLineStateCreateInfoEXT : return "PipelineRasterizationLineStateCreateInfoEXT"; 3318 case StructureType::ePhysicalDeviceLineRasterizationPropertiesEXT : return "PhysicalDeviceLineRasterizationPropertiesEXT"; 3319 case StructureType::ePhysicalDeviceShaderAtomicFloatFeaturesEXT : return "PhysicalDeviceShaderAtomicFloatFeaturesEXT"; 3320 case StructureType::ePhysicalDeviceIndexTypeUint8FeaturesEXT : return "PhysicalDeviceIndexTypeUint8FeaturesEXT"; 3321 case StructureType::ePhysicalDeviceExtendedDynamicStateFeaturesEXT : return "PhysicalDeviceExtendedDynamicStateFeaturesEXT"; 3322 case StructureType::ePhysicalDevicePipelineExecutablePropertiesFeaturesKHR : return "PhysicalDevicePipelineExecutablePropertiesFeaturesKHR"; 3323 case StructureType::ePipelineInfoKHR : return "PipelineInfoKHR"; 3324 case StructureType::ePipelineExecutablePropertiesKHR : return "PipelineExecutablePropertiesKHR"; 3325 case StructureType::ePipelineExecutableInfoKHR : return "PipelineExecutableInfoKHR"; 3326 case StructureType::ePipelineExecutableStatisticKHR : return "PipelineExecutableStatisticKHR"; 3327 case StructureType::ePipelineExecutableInternalRepresentationKHR : return "PipelineExecutableInternalRepresentationKHR"; 3328 case StructureType::ePhysicalDeviceHostImageCopyFeaturesEXT : return "PhysicalDeviceHostImageCopyFeaturesEXT"; 3329 case StructureType::ePhysicalDeviceHostImageCopyPropertiesEXT : return "PhysicalDeviceHostImageCopyPropertiesEXT"; 3330 case StructureType::eMemoryToImageCopyEXT : return "MemoryToImageCopyEXT"; 3331 case StructureType::eImageToMemoryCopyEXT : return "ImageToMemoryCopyEXT"; 3332 case StructureType::eCopyImageToMemoryInfoEXT : return "CopyImageToMemoryInfoEXT"; 3333 case StructureType::eCopyMemoryToImageInfoEXT : return "CopyMemoryToImageInfoEXT"; 3334 case StructureType::eHostImageLayoutTransitionInfoEXT : return "HostImageLayoutTransitionInfoEXT"; 3335 case StructureType::eCopyImageToImageInfoEXT : return "CopyImageToImageInfoEXT"; 3336 case StructureType::eSubresourceHostMemcpySizeEXT : return "SubresourceHostMemcpySizeEXT"; 3337 case StructureType::eHostImageCopyDevicePerformanceQueryEXT : return "HostImageCopyDevicePerformanceQueryEXT"; 3338 case StructureType::eMemoryMapInfoKHR : return "MemoryMapInfoKHR"; 3339 case StructureType::eMemoryUnmapInfoKHR : return "MemoryUnmapInfoKHR"; 3340 case StructureType::ePhysicalDeviceShaderAtomicFloat2FeaturesEXT : return "PhysicalDeviceShaderAtomicFloat2FeaturesEXT"; 3341 case StructureType::eSurfacePresentModeEXT : return "SurfacePresentModeEXT"; 3342 case StructureType::eSurfacePresentScalingCapabilitiesEXT : return "SurfacePresentScalingCapabilitiesEXT"; 3343 case StructureType::eSurfacePresentModeCompatibilityEXT : return "SurfacePresentModeCompatibilityEXT"; 3344 case StructureType::ePhysicalDeviceSwapchainMaintenance1FeaturesEXT : return "PhysicalDeviceSwapchainMaintenance1FeaturesEXT"; 3345 case StructureType::eSwapchainPresentFenceInfoEXT : return "SwapchainPresentFenceInfoEXT"; 3346 case StructureType::eSwapchainPresentModesCreateInfoEXT : return "SwapchainPresentModesCreateInfoEXT"; 3347 case StructureType::eSwapchainPresentModeInfoEXT : return "SwapchainPresentModeInfoEXT"; 3348 case StructureType::eSwapchainPresentScalingCreateInfoEXT : return "SwapchainPresentScalingCreateInfoEXT"; 3349 case StructureType::eReleaseSwapchainImagesInfoEXT : return "ReleaseSwapchainImagesInfoEXT"; 3350 case StructureType::ePhysicalDeviceDeviceGeneratedCommandsPropertiesNV : return "PhysicalDeviceDeviceGeneratedCommandsPropertiesNV"; 3351 case StructureType::eGraphicsShaderGroupCreateInfoNV : return "GraphicsShaderGroupCreateInfoNV"; 3352 case StructureType::eGraphicsPipelineShaderGroupsCreateInfoNV : return "GraphicsPipelineShaderGroupsCreateInfoNV"; 3353 case StructureType::eIndirectCommandsLayoutTokenNV : return "IndirectCommandsLayoutTokenNV"; 3354 case StructureType::eIndirectCommandsLayoutCreateInfoNV : return "IndirectCommandsLayoutCreateInfoNV"; 3355 case StructureType::eGeneratedCommandsInfoNV : return "GeneratedCommandsInfoNV"; 3356 case StructureType::eGeneratedCommandsMemoryRequirementsInfoNV : return "GeneratedCommandsMemoryRequirementsInfoNV"; 3357 case StructureType::ePhysicalDeviceDeviceGeneratedCommandsFeaturesNV : return "PhysicalDeviceDeviceGeneratedCommandsFeaturesNV"; 3358 case StructureType::ePhysicalDeviceInheritedViewportScissorFeaturesNV : return "PhysicalDeviceInheritedViewportScissorFeaturesNV"; 3359 case StructureType::eCommandBufferInheritanceViewportScissorInfoNV : return "CommandBufferInheritanceViewportScissorInfoNV"; 3360 case StructureType::ePhysicalDeviceTexelBufferAlignmentFeaturesEXT : return "PhysicalDeviceTexelBufferAlignmentFeaturesEXT"; 3361 case StructureType::eCommandBufferInheritanceRenderPassTransformInfoQCOM : return "CommandBufferInheritanceRenderPassTransformInfoQCOM"; 3362 case StructureType::eRenderPassTransformBeginInfoQCOM : return "RenderPassTransformBeginInfoQCOM"; 3363 case StructureType::ePhysicalDeviceDepthBiasControlFeaturesEXT : return "PhysicalDeviceDepthBiasControlFeaturesEXT"; 3364 case StructureType::eDepthBiasInfoEXT : return "DepthBiasInfoEXT"; 3365 case StructureType::eDepthBiasRepresentationInfoEXT : return "DepthBiasRepresentationInfoEXT"; 3366 case StructureType::ePhysicalDeviceDeviceMemoryReportFeaturesEXT : return "PhysicalDeviceDeviceMemoryReportFeaturesEXT"; 3367 case StructureType::eDeviceDeviceMemoryReportCreateInfoEXT : return "DeviceDeviceMemoryReportCreateInfoEXT"; 3368 case StructureType::eDeviceMemoryReportCallbackDataEXT : return "DeviceMemoryReportCallbackDataEXT"; 3369 case StructureType::ePhysicalDeviceRobustness2FeaturesEXT : return "PhysicalDeviceRobustness2FeaturesEXT"; 3370 case StructureType::ePhysicalDeviceRobustness2PropertiesEXT : return "PhysicalDeviceRobustness2PropertiesEXT"; 3371 case StructureType::eSamplerCustomBorderColorCreateInfoEXT : return "SamplerCustomBorderColorCreateInfoEXT"; 3372 case StructureType::ePhysicalDeviceCustomBorderColorPropertiesEXT : return "PhysicalDeviceCustomBorderColorPropertiesEXT"; 3373 case StructureType::ePhysicalDeviceCustomBorderColorFeaturesEXT : return "PhysicalDeviceCustomBorderColorFeaturesEXT"; 3374 case StructureType::ePipelineLibraryCreateInfoKHR : return "PipelineLibraryCreateInfoKHR"; 3375 case StructureType::ePhysicalDevicePresentBarrierFeaturesNV : return "PhysicalDevicePresentBarrierFeaturesNV"; 3376 case StructureType::eSurfaceCapabilitiesPresentBarrierNV : return "SurfaceCapabilitiesPresentBarrierNV"; 3377 case StructureType::eSwapchainPresentBarrierCreateInfoNV : return "SwapchainPresentBarrierCreateInfoNV"; 3378 case StructureType::ePresentIdKHR : return "PresentIdKHR"; 3379 case StructureType::ePhysicalDevicePresentIdFeaturesKHR : return "PhysicalDevicePresentIdFeaturesKHR"; 3380 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 3381 case StructureType::eVideoEncodeInfoKHR : return "VideoEncodeInfoKHR"; 3382 case StructureType::eVideoEncodeRateControlInfoKHR : return "VideoEncodeRateControlInfoKHR"; 3383 case StructureType::eVideoEncodeRateControlLayerInfoKHR : return "VideoEncodeRateControlLayerInfoKHR"; 3384 case StructureType::eVideoEncodeCapabilitiesKHR : return "VideoEncodeCapabilitiesKHR"; 3385 case StructureType::eVideoEncodeUsageInfoKHR : return "VideoEncodeUsageInfoKHR"; 3386 case StructureType::eQueryPoolVideoEncodeFeedbackCreateInfoKHR : return "QueryPoolVideoEncodeFeedbackCreateInfoKHR"; 3387 case StructureType::ePhysicalDeviceVideoEncodeQualityLevelInfoKHR : return "PhysicalDeviceVideoEncodeQualityLevelInfoKHR"; 3388 case StructureType::eVideoEncodeQualityLevelPropertiesKHR : return "VideoEncodeQualityLevelPropertiesKHR"; 3389 case StructureType::eVideoEncodeQualityLevelInfoKHR : return "VideoEncodeQualityLevelInfoKHR"; 3390 case StructureType::eVideoEncodeSessionParametersGetInfoKHR : return "VideoEncodeSessionParametersGetInfoKHR"; 3391 case StructureType::eVideoEncodeSessionParametersFeedbackInfoKHR : return "VideoEncodeSessionParametersFeedbackInfoKHR"; 3392 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 3393 case StructureType::ePhysicalDeviceDiagnosticsConfigFeaturesNV : return "PhysicalDeviceDiagnosticsConfigFeaturesNV"; 3394 case StructureType::eDeviceDiagnosticsConfigCreateInfoNV : return "DeviceDiagnosticsConfigCreateInfoNV"; 3395 case StructureType::eQueryLowLatencySupportNV : return "QueryLowLatencySupportNV"; 3396 #if defined( VK_USE_PLATFORM_METAL_EXT ) 3397 case StructureType::eExportMetalObjectCreateInfoEXT : return "ExportMetalObjectCreateInfoEXT"; 3398 case StructureType::eExportMetalObjectsInfoEXT : return "ExportMetalObjectsInfoEXT"; 3399 case StructureType::eExportMetalDeviceInfoEXT : return "ExportMetalDeviceInfoEXT"; 3400 case StructureType::eExportMetalCommandQueueInfoEXT : return "ExportMetalCommandQueueInfoEXT"; 3401 case StructureType::eExportMetalBufferInfoEXT : return "ExportMetalBufferInfoEXT"; 3402 case StructureType::eImportMetalBufferInfoEXT : return "ImportMetalBufferInfoEXT"; 3403 case StructureType::eExportMetalTextureInfoEXT : return "ExportMetalTextureInfoEXT"; 3404 case StructureType::eImportMetalTextureInfoEXT : return "ImportMetalTextureInfoEXT"; 3405 case StructureType::eExportMetalIoSurfaceInfoEXT : return "ExportMetalIoSurfaceInfoEXT"; 3406 case StructureType::eImportMetalIoSurfaceInfoEXT : return "ImportMetalIoSurfaceInfoEXT"; 3407 case StructureType::eExportMetalSharedEventInfoEXT : return "ExportMetalSharedEventInfoEXT"; 3408 case StructureType::eImportMetalSharedEventInfoEXT : return "ImportMetalSharedEventInfoEXT"; 3409 #endif /*VK_USE_PLATFORM_METAL_EXT*/ 3410 case StructureType::eQueueFamilyCheckpointProperties2NV : return "QueueFamilyCheckpointProperties2NV"; 3411 case StructureType::eCheckpointData2NV : return "CheckpointData2NV"; 3412 case StructureType::ePhysicalDeviceDescriptorBufferPropertiesEXT : return "PhysicalDeviceDescriptorBufferPropertiesEXT"; 3413 case StructureType::ePhysicalDeviceDescriptorBufferDensityMapPropertiesEXT : return "PhysicalDeviceDescriptorBufferDensityMapPropertiesEXT"; 3414 case StructureType::ePhysicalDeviceDescriptorBufferFeaturesEXT : return "PhysicalDeviceDescriptorBufferFeaturesEXT"; 3415 case StructureType::eDescriptorAddressInfoEXT : return "DescriptorAddressInfoEXT"; 3416 case StructureType::eDescriptorGetInfoEXT : return "DescriptorGetInfoEXT"; 3417 case StructureType::eBufferCaptureDescriptorDataInfoEXT : return "BufferCaptureDescriptorDataInfoEXT"; 3418 case StructureType::eImageCaptureDescriptorDataInfoEXT : return "ImageCaptureDescriptorDataInfoEXT"; 3419 case StructureType::eImageViewCaptureDescriptorDataInfoEXT : return "ImageViewCaptureDescriptorDataInfoEXT"; 3420 case StructureType::eSamplerCaptureDescriptorDataInfoEXT : return "SamplerCaptureDescriptorDataInfoEXT"; 3421 case StructureType::eOpaqueCaptureDescriptorDataCreateInfoEXT : return "OpaqueCaptureDescriptorDataCreateInfoEXT"; 3422 case StructureType::eDescriptorBufferBindingInfoEXT : return "DescriptorBufferBindingInfoEXT"; 3423 case StructureType::eDescriptorBufferBindingPushDescriptorBufferHandleEXT : return "DescriptorBufferBindingPushDescriptorBufferHandleEXT"; 3424 case StructureType::eAccelerationStructureCaptureDescriptorDataInfoEXT : return "AccelerationStructureCaptureDescriptorDataInfoEXT"; 3425 case StructureType::ePhysicalDeviceGraphicsPipelineLibraryFeaturesEXT : return "PhysicalDeviceGraphicsPipelineLibraryFeaturesEXT"; 3426 case StructureType::ePhysicalDeviceGraphicsPipelineLibraryPropertiesEXT : return "PhysicalDeviceGraphicsPipelineLibraryPropertiesEXT"; 3427 case StructureType::eGraphicsPipelineLibraryCreateInfoEXT : return "GraphicsPipelineLibraryCreateInfoEXT"; 3428 case StructureType::ePhysicalDeviceShaderEarlyAndLateFragmentTestsFeaturesAMD : return "PhysicalDeviceShaderEarlyAndLateFragmentTestsFeaturesAMD"; 3429 case StructureType::ePhysicalDeviceFragmentShaderBarycentricFeaturesKHR : return "PhysicalDeviceFragmentShaderBarycentricFeaturesKHR"; 3430 case StructureType::ePhysicalDeviceFragmentShaderBarycentricPropertiesKHR : return "PhysicalDeviceFragmentShaderBarycentricPropertiesKHR"; 3431 case StructureType::ePhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR : return "PhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR"; 3432 case StructureType::ePhysicalDeviceFragmentShadingRateEnumsPropertiesNV : return "PhysicalDeviceFragmentShadingRateEnumsPropertiesNV"; 3433 case StructureType::ePhysicalDeviceFragmentShadingRateEnumsFeaturesNV : return "PhysicalDeviceFragmentShadingRateEnumsFeaturesNV"; 3434 case StructureType::ePipelineFragmentShadingRateEnumStateCreateInfoNV : return "PipelineFragmentShadingRateEnumStateCreateInfoNV"; 3435 case StructureType::eAccelerationStructureGeometryMotionTrianglesDataNV : return "AccelerationStructureGeometryMotionTrianglesDataNV"; 3436 case StructureType::ePhysicalDeviceRayTracingMotionBlurFeaturesNV : return "PhysicalDeviceRayTracingMotionBlurFeaturesNV"; 3437 case StructureType::eAccelerationStructureMotionInfoNV : return "AccelerationStructureMotionInfoNV"; 3438 case StructureType::ePhysicalDeviceMeshShaderFeaturesEXT : return "PhysicalDeviceMeshShaderFeaturesEXT"; 3439 case StructureType::ePhysicalDeviceMeshShaderPropertiesEXT : return "PhysicalDeviceMeshShaderPropertiesEXT"; 3440 case StructureType::ePhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT : return "PhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT"; 3441 case StructureType::ePhysicalDeviceFragmentDensityMap2FeaturesEXT : return "PhysicalDeviceFragmentDensityMap2FeaturesEXT"; 3442 case StructureType::ePhysicalDeviceFragmentDensityMap2PropertiesEXT : return "PhysicalDeviceFragmentDensityMap2PropertiesEXT"; 3443 case StructureType::eCopyCommandTransformInfoQCOM : return "CopyCommandTransformInfoQCOM"; 3444 case StructureType::ePhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR : return "PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR"; 3445 case StructureType::ePhysicalDeviceImageCompressionControlFeaturesEXT : return "PhysicalDeviceImageCompressionControlFeaturesEXT"; 3446 case StructureType::eImageCompressionControlEXT : return "ImageCompressionControlEXT"; 3447 case StructureType::eImageCompressionPropertiesEXT : return "ImageCompressionPropertiesEXT"; 3448 case StructureType::ePhysicalDeviceAttachmentFeedbackLoopLayoutFeaturesEXT : return "PhysicalDeviceAttachmentFeedbackLoopLayoutFeaturesEXT"; 3449 case StructureType::ePhysicalDevice4444FormatsFeaturesEXT : return "PhysicalDevice4444FormatsFeaturesEXT"; 3450 case StructureType::ePhysicalDeviceFaultFeaturesEXT : return "PhysicalDeviceFaultFeaturesEXT"; 3451 case StructureType::eDeviceFaultCountsEXT : return "DeviceFaultCountsEXT"; 3452 case StructureType::eDeviceFaultInfoEXT : return "DeviceFaultInfoEXT"; 3453 case StructureType::ePhysicalDeviceRgba10X6FormatsFeaturesEXT : return "PhysicalDeviceRgba10X6FormatsFeaturesEXT"; 3454 #if defined( VK_USE_PLATFORM_DIRECTFB_EXT ) 3455 case StructureType::eDirectfbSurfaceCreateInfoEXT : return "DirectfbSurfaceCreateInfoEXT"; 3456 #endif /*VK_USE_PLATFORM_DIRECTFB_EXT*/ 3457 case StructureType::ePhysicalDeviceVertexInputDynamicStateFeaturesEXT : return "PhysicalDeviceVertexInputDynamicStateFeaturesEXT"; 3458 case StructureType::eVertexInputBindingDescription2EXT : return "VertexInputBindingDescription2EXT"; 3459 case StructureType::eVertexInputAttributeDescription2EXT : return "VertexInputAttributeDescription2EXT"; 3460 case StructureType::ePhysicalDeviceDrmPropertiesEXT : return "PhysicalDeviceDrmPropertiesEXT"; 3461 case StructureType::ePhysicalDeviceAddressBindingReportFeaturesEXT : return "PhysicalDeviceAddressBindingReportFeaturesEXT"; 3462 case StructureType::eDeviceAddressBindingCallbackDataEXT : return "DeviceAddressBindingCallbackDataEXT"; 3463 case StructureType::ePhysicalDeviceDepthClipControlFeaturesEXT : return "PhysicalDeviceDepthClipControlFeaturesEXT"; 3464 case StructureType::ePipelineViewportDepthClipControlCreateInfoEXT : return "PipelineViewportDepthClipControlCreateInfoEXT"; 3465 case StructureType::ePhysicalDevicePrimitiveTopologyListRestartFeaturesEXT : return "PhysicalDevicePrimitiveTopologyListRestartFeaturesEXT"; 3466 #if defined( VK_USE_PLATFORM_FUCHSIA ) 3467 case StructureType::eImportMemoryZirconHandleInfoFUCHSIA : return "ImportMemoryZirconHandleInfoFUCHSIA"; 3468 case StructureType::eMemoryZirconHandlePropertiesFUCHSIA : return "MemoryZirconHandlePropertiesFUCHSIA"; 3469 case StructureType::eMemoryGetZirconHandleInfoFUCHSIA : return "MemoryGetZirconHandleInfoFUCHSIA"; 3470 case StructureType::eImportSemaphoreZirconHandleInfoFUCHSIA : return "ImportSemaphoreZirconHandleInfoFUCHSIA"; 3471 case StructureType::eSemaphoreGetZirconHandleInfoFUCHSIA : return "SemaphoreGetZirconHandleInfoFUCHSIA"; 3472 case StructureType::eBufferCollectionCreateInfoFUCHSIA : return "BufferCollectionCreateInfoFUCHSIA"; 3473 case StructureType::eImportMemoryBufferCollectionFUCHSIA : return "ImportMemoryBufferCollectionFUCHSIA"; 3474 case StructureType::eBufferCollectionImageCreateInfoFUCHSIA : return "BufferCollectionImageCreateInfoFUCHSIA"; 3475 case StructureType::eBufferCollectionPropertiesFUCHSIA : return "BufferCollectionPropertiesFUCHSIA"; 3476 case StructureType::eBufferConstraintsInfoFUCHSIA : return "BufferConstraintsInfoFUCHSIA"; 3477 case StructureType::eBufferCollectionBufferCreateInfoFUCHSIA : return "BufferCollectionBufferCreateInfoFUCHSIA"; 3478 case StructureType::eImageConstraintsInfoFUCHSIA : return "ImageConstraintsInfoFUCHSIA"; 3479 case StructureType::eImageFormatConstraintsInfoFUCHSIA : return "ImageFormatConstraintsInfoFUCHSIA"; 3480 case StructureType::eSysmemColorSpaceFUCHSIA : return "SysmemColorSpaceFUCHSIA"; 3481 case StructureType::eBufferCollectionConstraintsInfoFUCHSIA : return "BufferCollectionConstraintsInfoFUCHSIA"; 3482 #endif /*VK_USE_PLATFORM_FUCHSIA*/ 3483 case StructureType::eSubpassShadingPipelineCreateInfoHUAWEI : return "SubpassShadingPipelineCreateInfoHUAWEI"; 3484 case StructureType::ePhysicalDeviceSubpassShadingFeaturesHUAWEI : return "PhysicalDeviceSubpassShadingFeaturesHUAWEI"; 3485 case StructureType::ePhysicalDeviceSubpassShadingPropertiesHUAWEI : return "PhysicalDeviceSubpassShadingPropertiesHUAWEI"; 3486 case StructureType::ePhysicalDeviceInvocationMaskFeaturesHUAWEI : return "PhysicalDeviceInvocationMaskFeaturesHUAWEI"; 3487 case StructureType::eMemoryGetRemoteAddressInfoNV : return "MemoryGetRemoteAddressInfoNV"; 3488 case StructureType::ePhysicalDeviceExternalMemoryRdmaFeaturesNV : return "PhysicalDeviceExternalMemoryRdmaFeaturesNV"; 3489 case StructureType::ePipelinePropertiesIdentifierEXT : return "PipelinePropertiesIdentifierEXT"; 3490 case StructureType::ePhysicalDevicePipelinePropertiesFeaturesEXT : return "PhysicalDevicePipelinePropertiesFeaturesEXT"; 3491 case StructureType::ePhysicalDeviceFrameBoundaryFeaturesEXT : return "PhysicalDeviceFrameBoundaryFeaturesEXT"; 3492 case StructureType::eFrameBoundaryEXT : return "FrameBoundaryEXT"; 3493 case StructureType::ePhysicalDeviceMultisampledRenderToSingleSampledFeaturesEXT : return "PhysicalDeviceMultisampledRenderToSingleSampledFeaturesEXT"; 3494 case StructureType::eSubpassResolvePerformanceQueryEXT : return "SubpassResolvePerformanceQueryEXT"; 3495 case StructureType::eMultisampledRenderToSingleSampledInfoEXT : return "MultisampledRenderToSingleSampledInfoEXT"; 3496 case StructureType::ePhysicalDeviceExtendedDynamicState2FeaturesEXT : return "PhysicalDeviceExtendedDynamicState2FeaturesEXT"; 3497 #if defined( VK_USE_PLATFORM_SCREEN_QNX ) 3498 case StructureType::eScreenSurfaceCreateInfoQNX : return "ScreenSurfaceCreateInfoQNX"; 3499 #endif /*VK_USE_PLATFORM_SCREEN_QNX*/ 3500 case StructureType::ePhysicalDeviceColorWriteEnableFeaturesEXT : return "PhysicalDeviceColorWriteEnableFeaturesEXT"; 3501 case StructureType::ePipelineColorWriteCreateInfoEXT : return "PipelineColorWriteCreateInfoEXT"; 3502 case StructureType::ePhysicalDevicePrimitivesGeneratedQueryFeaturesEXT : return "PhysicalDevicePrimitivesGeneratedQueryFeaturesEXT"; 3503 case StructureType::ePhysicalDeviceRayTracingMaintenance1FeaturesKHR : return "PhysicalDeviceRayTracingMaintenance1FeaturesKHR"; 3504 case StructureType::ePhysicalDeviceImageViewMinLodFeaturesEXT : return "PhysicalDeviceImageViewMinLodFeaturesEXT"; 3505 case StructureType::eImageViewMinLodCreateInfoEXT : return "ImageViewMinLodCreateInfoEXT"; 3506 case StructureType::ePhysicalDeviceMultiDrawFeaturesEXT : return "PhysicalDeviceMultiDrawFeaturesEXT"; 3507 case StructureType::ePhysicalDeviceMultiDrawPropertiesEXT : return "PhysicalDeviceMultiDrawPropertiesEXT"; 3508 case StructureType::ePhysicalDeviceImage2DViewOf3DFeaturesEXT : return "PhysicalDeviceImage2DViewOf3DFeaturesEXT"; 3509 case StructureType::ePhysicalDeviceShaderTileImageFeaturesEXT : return "PhysicalDeviceShaderTileImageFeaturesEXT"; 3510 case StructureType::ePhysicalDeviceShaderTileImagePropertiesEXT : return "PhysicalDeviceShaderTileImagePropertiesEXT"; 3511 case StructureType::eMicromapBuildInfoEXT : return "MicromapBuildInfoEXT"; 3512 case StructureType::eMicromapVersionInfoEXT : return "MicromapVersionInfoEXT"; 3513 case StructureType::eCopyMicromapInfoEXT : return "CopyMicromapInfoEXT"; 3514 case StructureType::eCopyMicromapToMemoryInfoEXT : return "CopyMicromapToMemoryInfoEXT"; 3515 case StructureType::eCopyMemoryToMicromapInfoEXT : return "CopyMemoryToMicromapInfoEXT"; 3516 case StructureType::ePhysicalDeviceOpacityMicromapFeaturesEXT : return "PhysicalDeviceOpacityMicromapFeaturesEXT"; 3517 case StructureType::ePhysicalDeviceOpacityMicromapPropertiesEXT : return "PhysicalDeviceOpacityMicromapPropertiesEXT"; 3518 case StructureType::eMicromapCreateInfoEXT : return "MicromapCreateInfoEXT"; 3519 case StructureType::eMicromapBuildSizesInfoEXT : return "MicromapBuildSizesInfoEXT"; 3520 case StructureType::eAccelerationStructureTrianglesOpacityMicromapEXT : return "AccelerationStructureTrianglesOpacityMicromapEXT"; 3521 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 3522 case StructureType::ePhysicalDeviceDisplacementMicromapFeaturesNV : return "PhysicalDeviceDisplacementMicromapFeaturesNV"; 3523 case StructureType::ePhysicalDeviceDisplacementMicromapPropertiesNV : return "PhysicalDeviceDisplacementMicromapPropertiesNV"; 3524 case StructureType::eAccelerationStructureTrianglesDisplacementMicromapNV : return "AccelerationStructureTrianglesDisplacementMicromapNV"; 3525 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 3526 case StructureType::ePhysicalDeviceClusterCullingShaderFeaturesHUAWEI : return "PhysicalDeviceClusterCullingShaderFeaturesHUAWEI"; 3527 case StructureType::ePhysicalDeviceClusterCullingShaderPropertiesHUAWEI : return "PhysicalDeviceClusterCullingShaderPropertiesHUAWEI"; 3528 case StructureType::ePhysicalDeviceBorderColorSwizzleFeaturesEXT : return "PhysicalDeviceBorderColorSwizzleFeaturesEXT"; 3529 case StructureType::eSamplerBorderColorComponentMappingCreateInfoEXT : return "SamplerBorderColorComponentMappingCreateInfoEXT"; 3530 case StructureType::ePhysicalDevicePageableDeviceLocalMemoryFeaturesEXT : return "PhysicalDevicePageableDeviceLocalMemoryFeaturesEXT"; 3531 case StructureType::ePhysicalDeviceShaderCorePropertiesARM : return "PhysicalDeviceShaderCorePropertiesARM"; 3532 case StructureType::ePhysicalDeviceImageSlicedViewOf3DFeaturesEXT : return "PhysicalDeviceImageSlicedViewOf3DFeaturesEXT"; 3533 case StructureType::eImageViewSlicedCreateInfoEXT : return "ImageViewSlicedCreateInfoEXT"; 3534 case StructureType::ePhysicalDeviceDescriptorSetHostMappingFeaturesVALVE : return "PhysicalDeviceDescriptorSetHostMappingFeaturesVALVE"; 3535 case StructureType::eDescriptorSetBindingReferenceVALVE : return "DescriptorSetBindingReferenceVALVE"; 3536 case StructureType::eDescriptorSetLayoutHostMappingInfoVALVE : return "DescriptorSetLayoutHostMappingInfoVALVE"; 3537 case StructureType::ePhysicalDeviceDepthClampZeroOneFeaturesEXT : return "PhysicalDeviceDepthClampZeroOneFeaturesEXT"; 3538 case StructureType::ePhysicalDeviceNonSeamlessCubeMapFeaturesEXT : return "PhysicalDeviceNonSeamlessCubeMapFeaturesEXT"; 3539 case StructureType::ePhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM : return "PhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM"; 3540 case StructureType::ePhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM : return "PhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM"; 3541 case StructureType::eSubpassFragmentDensityMapOffsetEndInfoQCOM : return "SubpassFragmentDensityMapOffsetEndInfoQCOM"; 3542 case StructureType::ePhysicalDeviceCopyMemoryIndirectFeaturesNV : return "PhysicalDeviceCopyMemoryIndirectFeaturesNV"; 3543 case StructureType::ePhysicalDeviceCopyMemoryIndirectPropertiesNV : return "PhysicalDeviceCopyMemoryIndirectPropertiesNV"; 3544 case StructureType::ePhysicalDeviceMemoryDecompressionFeaturesNV : return "PhysicalDeviceMemoryDecompressionFeaturesNV"; 3545 case StructureType::ePhysicalDeviceMemoryDecompressionPropertiesNV : return "PhysicalDeviceMemoryDecompressionPropertiesNV"; 3546 case StructureType::ePhysicalDeviceDeviceGeneratedCommandsComputeFeaturesNV : return "PhysicalDeviceDeviceGeneratedCommandsComputeFeaturesNV"; 3547 case StructureType::eComputePipelineIndirectBufferInfoNV : return "ComputePipelineIndirectBufferInfoNV"; 3548 case StructureType::ePipelineIndirectDeviceAddressInfoNV : return "PipelineIndirectDeviceAddressInfoNV"; 3549 case StructureType::ePhysicalDeviceLinearColorAttachmentFeaturesNV : return "PhysicalDeviceLinearColorAttachmentFeaturesNV"; 3550 case StructureType::ePhysicalDeviceImageCompressionControlSwapchainFeaturesEXT : return "PhysicalDeviceImageCompressionControlSwapchainFeaturesEXT"; 3551 case StructureType::ePhysicalDeviceImageProcessingFeaturesQCOM : return "PhysicalDeviceImageProcessingFeaturesQCOM"; 3552 case StructureType::ePhysicalDeviceImageProcessingPropertiesQCOM : return "PhysicalDeviceImageProcessingPropertiesQCOM"; 3553 case StructureType::eImageViewSampleWeightCreateInfoQCOM : return "ImageViewSampleWeightCreateInfoQCOM"; 3554 case StructureType::ePhysicalDeviceNestedCommandBufferFeaturesEXT : return "PhysicalDeviceNestedCommandBufferFeaturesEXT"; 3555 case StructureType::ePhysicalDeviceNestedCommandBufferPropertiesEXT : return "PhysicalDeviceNestedCommandBufferPropertiesEXT"; 3556 case StructureType::eExternalMemoryAcquireUnmodifiedEXT : return "ExternalMemoryAcquireUnmodifiedEXT"; 3557 case StructureType::ePhysicalDeviceExtendedDynamicState3FeaturesEXT : return "PhysicalDeviceExtendedDynamicState3FeaturesEXT"; 3558 case StructureType::ePhysicalDeviceExtendedDynamicState3PropertiesEXT : return "PhysicalDeviceExtendedDynamicState3PropertiesEXT"; 3559 case StructureType::ePhysicalDeviceSubpassMergeFeedbackFeaturesEXT : return "PhysicalDeviceSubpassMergeFeedbackFeaturesEXT"; 3560 case StructureType::eRenderPassCreationControlEXT : return "RenderPassCreationControlEXT"; 3561 case StructureType::eRenderPassCreationFeedbackCreateInfoEXT : return "RenderPassCreationFeedbackCreateInfoEXT"; 3562 case StructureType::eRenderPassSubpassFeedbackCreateInfoEXT : return "RenderPassSubpassFeedbackCreateInfoEXT"; 3563 case StructureType::eDirectDriverLoadingInfoLUNARG : return "DirectDriverLoadingInfoLUNARG"; 3564 case StructureType::eDirectDriverLoadingListLUNARG : return "DirectDriverLoadingListLUNARG"; 3565 case StructureType::ePhysicalDeviceShaderModuleIdentifierFeaturesEXT : return "PhysicalDeviceShaderModuleIdentifierFeaturesEXT"; 3566 case StructureType::ePhysicalDeviceShaderModuleIdentifierPropertiesEXT : return "PhysicalDeviceShaderModuleIdentifierPropertiesEXT"; 3567 case StructureType::ePipelineShaderStageModuleIdentifierCreateInfoEXT : return "PipelineShaderStageModuleIdentifierCreateInfoEXT"; 3568 case StructureType::eShaderModuleIdentifierEXT : return "ShaderModuleIdentifierEXT"; 3569 case StructureType::ePhysicalDeviceRasterizationOrderAttachmentAccessFeaturesEXT : return "PhysicalDeviceRasterizationOrderAttachmentAccessFeaturesEXT"; 3570 case StructureType::ePhysicalDeviceOpticalFlowFeaturesNV : return "PhysicalDeviceOpticalFlowFeaturesNV"; 3571 case StructureType::ePhysicalDeviceOpticalFlowPropertiesNV : return "PhysicalDeviceOpticalFlowPropertiesNV"; 3572 case StructureType::eOpticalFlowImageFormatInfoNV : return "OpticalFlowImageFormatInfoNV"; 3573 case StructureType::eOpticalFlowImageFormatPropertiesNV : return "OpticalFlowImageFormatPropertiesNV"; 3574 case StructureType::eOpticalFlowSessionCreateInfoNV : return "OpticalFlowSessionCreateInfoNV"; 3575 case StructureType::eOpticalFlowExecuteInfoNV : return "OpticalFlowExecuteInfoNV"; 3576 case StructureType::eOpticalFlowSessionCreatePrivateDataInfoNV : return "OpticalFlowSessionCreatePrivateDataInfoNV"; 3577 case StructureType::ePhysicalDeviceLegacyDitheringFeaturesEXT : return "PhysicalDeviceLegacyDitheringFeaturesEXT"; 3578 case StructureType::ePhysicalDevicePipelineProtectedAccessFeaturesEXT : return "PhysicalDevicePipelineProtectedAccessFeaturesEXT"; 3579 #if defined( VK_USE_PLATFORM_ANDROID_KHR ) 3580 case StructureType::ePhysicalDeviceExternalFormatResolveFeaturesANDROID : return "PhysicalDeviceExternalFormatResolveFeaturesANDROID"; 3581 case StructureType::ePhysicalDeviceExternalFormatResolvePropertiesANDROID : return "PhysicalDeviceExternalFormatResolvePropertiesANDROID"; 3582 case StructureType::eAndroidHardwareBufferFormatResolvePropertiesANDROID : return "AndroidHardwareBufferFormatResolvePropertiesANDROID"; 3583 #endif /*VK_USE_PLATFORM_ANDROID_KHR*/ 3584 case StructureType::ePhysicalDeviceMaintenance5FeaturesKHR : return "PhysicalDeviceMaintenance5FeaturesKHR"; 3585 case StructureType::ePhysicalDeviceMaintenance5PropertiesKHR : return "PhysicalDeviceMaintenance5PropertiesKHR"; 3586 case StructureType::eRenderingAreaInfoKHR : return "RenderingAreaInfoKHR"; 3587 case StructureType::eDeviceImageSubresourceInfoKHR : return "DeviceImageSubresourceInfoKHR"; 3588 case StructureType::eSubresourceLayout2KHR : return "SubresourceLayout2KHR"; 3589 case StructureType::eImageSubresource2KHR : return "ImageSubresource2KHR"; 3590 case StructureType::ePipelineCreateFlags2CreateInfoKHR : return "PipelineCreateFlags2CreateInfoKHR"; 3591 case StructureType::eBufferUsageFlags2CreateInfoKHR : return "BufferUsageFlags2CreateInfoKHR"; 3592 case StructureType::ePhysicalDeviceRayTracingPositionFetchFeaturesKHR : return "PhysicalDeviceRayTracingPositionFetchFeaturesKHR"; 3593 case StructureType::ePhysicalDeviceShaderObjectFeaturesEXT : return "PhysicalDeviceShaderObjectFeaturesEXT"; 3594 case StructureType::ePhysicalDeviceShaderObjectPropertiesEXT : return "PhysicalDeviceShaderObjectPropertiesEXT"; 3595 case StructureType::eShaderCreateInfoEXT : return "ShaderCreateInfoEXT"; 3596 case StructureType::ePhysicalDeviceTilePropertiesFeaturesQCOM : return "PhysicalDeviceTilePropertiesFeaturesQCOM"; 3597 case StructureType::eTilePropertiesQCOM : return "TilePropertiesQCOM"; 3598 case StructureType::ePhysicalDeviceAmigoProfilingFeaturesSEC : return "PhysicalDeviceAmigoProfilingFeaturesSEC"; 3599 case StructureType::eAmigoProfilingSubmitInfoSEC : return "AmigoProfilingSubmitInfoSEC"; 3600 case StructureType::ePhysicalDeviceMultiviewPerViewViewportsFeaturesQCOM : return "PhysicalDeviceMultiviewPerViewViewportsFeaturesQCOM"; 3601 case StructureType::ePhysicalDeviceRayTracingInvocationReorderFeaturesNV : return "PhysicalDeviceRayTracingInvocationReorderFeaturesNV"; 3602 case StructureType::ePhysicalDeviceRayTracingInvocationReorderPropertiesNV : return "PhysicalDeviceRayTracingInvocationReorderPropertiesNV"; 3603 case StructureType::ePhysicalDeviceExtendedSparseAddressSpaceFeaturesNV : return "PhysicalDeviceExtendedSparseAddressSpaceFeaturesNV"; 3604 case StructureType::ePhysicalDeviceExtendedSparseAddressSpacePropertiesNV : return "PhysicalDeviceExtendedSparseAddressSpacePropertiesNV"; 3605 case StructureType::ePhysicalDeviceMutableDescriptorTypeFeaturesEXT : return "PhysicalDeviceMutableDescriptorTypeFeaturesEXT"; 3606 case StructureType::eMutableDescriptorTypeCreateInfoEXT : return "MutableDescriptorTypeCreateInfoEXT"; 3607 case StructureType::ePhysicalDeviceShaderCoreBuiltinsFeaturesARM : return "PhysicalDeviceShaderCoreBuiltinsFeaturesARM"; 3608 case StructureType::ePhysicalDeviceShaderCoreBuiltinsPropertiesARM : return "PhysicalDeviceShaderCoreBuiltinsPropertiesARM"; 3609 case StructureType::ePhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT : return "PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT"; 3610 case StructureType::ePhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT : return "PhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT"; 3611 case StructureType::eLatencySleepModeInfoNV : return "LatencySleepModeInfoNV"; 3612 case StructureType::eLatencySleepInfoNV : return "LatencySleepInfoNV"; 3613 case StructureType::eSetLatencyMarkerInfoNV : return "SetLatencyMarkerInfoNV"; 3614 case StructureType::eGetLatencyMarkerInfoNV : return "GetLatencyMarkerInfoNV"; 3615 case StructureType::eLatencyTimingsFrameReportNV : return "LatencyTimingsFrameReportNV"; 3616 case StructureType::eLatencySubmissionPresentIdNV : return "LatencySubmissionPresentIdNV"; 3617 case StructureType::eOutOfBandQueueTypeInfoNV : return "OutOfBandQueueTypeInfoNV"; 3618 case StructureType::eSwapchainLatencyCreateInfoNV : return "SwapchainLatencyCreateInfoNV"; 3619 case StructureType::eLatencySurfaceCapabilitiesNV : return "LatencySurfaceCapabilitiesNV"; 3620 case StructureType::ePhysicalDeviceCooperativeMatrixFeaturesKHR : return "PhysicalDeviceCooperativeMatrixFeaturesKHR"; 3621 case StructureType::eCooperativeMatrixPropertiesKHR : return "CooperativeMatrixPropertiesKHR"; 3622 case StructureType::ePhysicalDeviceCooperativeMatrixPropertiesKHR : return "PhysicalDeviceCooperativeMatrixPropertiesKHR"; 3623 case StructureType::ePhysicalDeviceMultiviewPerViewRenderAreasFeaturesQCOM : return "PhysicalDeviceMultiviewPerViewRenderAreasFeaturesQCOM"; 3624 case StructureType::eMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM : return "MultiviewPerViewRenderAreasRenderPassBeginInfoQCOM"; 3625 case StructureType::ePhysicalDeviceImageProcessing2FeaturesQCOM : return "PhysicalDeviceImageProcessing2FeaturesQCOM"; 3626 case StructureType::ePhysicalDeviceImageProcessing2PropertiesQCOM : return "PhysicalDeviceImageProcessing2PropertiesQCOM"; 3627 case StructureType::eSamplerBlockMatchWindowCreateInfoQCOM : return "SamplerBlockMatchWindowCreateInfoQCOM"; 3628 case StructureType::eSamplerCubicWeightsCreateInfoQCOM : return "SamplerCubicWeightsCreateInfoQCOM"; 3629 case StructureType::ePhysicalDeviceCubicWeightsFeaturesQCOM : return "PhysicalDeviceCubicWeightsFeaturesQCOM"; 3630 case StructureType::eBlitImageCubicWeightsInfoQCOM : return "BlitImageCubicWeightsInfoQCOM"; 3631 case StructureType::ePhysicalDeviceYcbcrDegammaFeaturesQCOM : return "PhysicalDeviceYcbcrDegammaFeaturesQCOM"; 3632 case StructureType::eSamplerYcbcrConversionYcbcrDegammaCreateInfoQCOM : return "SamplerYcbcrConversionYcbcrDegammaCreateInfoQCOM"; 3633 case StructureType::ePhysicalDeviceCubicClampFeaturesQCOM : return "PhysicalDeviceCubicClampFeaturesQCOM"; 3634 case StructureType::ePhysicalDeviceAttachmentFeedbackLoopDynamicStateFeaturesEXT : return "PhysicalDeviceAttachmentFeedbackLoopDynamicStateFeaturesEXT"; 3635 #if defined( VK_USE_PLATFORM_SCREEN_QNX ) 3636 case StructureType::eScreenBufferPropertiesQNX : return "ScreenBufferPropertiesQNX"; 3637 case StructureType::eScreenBufferFormatPropertiesQNX : return "ScreenBufferFormatPropertiesQNX"; 3638 case StructureType::eImportScreenBufferInfoQNX : return "ImportScreenBufferInfoQNX"; 3639 case StructureType::eExternalFormatQNX : return "ExternalFormatQNX"; 3640 case StructureType::ePhysicalDeviceExternalMemoryScreenBufferFeaturesQNX : return "PhysicalDeviceExternalMemoryScreenBufferFeaturesQNX"; 3641 #endif /*VK_USE_PLATFORM_SCREEN_QNX*/ 3642 case StructureType::ePhysicalDeviceLayeredDriverPropertiesMSFT : return "PhysicalDeviceLayeredDriverPropertiesMSFT"; 3643 case StructureType::ePhysicalDeviceDescriptorPoolOverallocationFeaturesNV : return "PhysicalDeviceDescriptorPoolOverallocationFeaturesNV"; 3644 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 3645 } 3646 3647 } 3648 3649 to_string(PipelineCacheHeaderVersion value)3650 VULKAN_HPP_INLINE std::string to_string( PipelineCacheHeaderVersion value ) 3651 { 3652 switch ( value ) 3653 { 3654 case PipelineCacheHeaderVersion::eOne : return "One"; 3655 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 3656 } 3657 3658 } 3659 3660 to_string(ObjectType value)3661 VULKAN_HPP_INLINE std::string to_string( ObjectType value ) 3662 { 3663 switch ( value ) 3664 { 3665 case ObjectType::eUnknown : return "Unknown"; 3666 case ObjectType::eInstance : return "Instance"; 3667 case ObjectType::ePhysicalDevice : return "PhysicalDevice"; 3668 case ObjectType::eDevice : return "Device"; 3669 case ObjectType::eQueue : return "Queue"; 3670 case ObjectType::eSemaphore : return "Semaphore"; 3671 case ObjectType::eCommandBuffer : return "CommandBuffer"; 3672 case ObjectType::eFence : return "Fence"; 3673 case ObjectType::eDeviceMemory : return "DeviceMemory"; 3674 case ObjectType::eBuffer : return "Buffer"; 3675 case ObjectType::eImage : return "Image"; 3676 case ObjectType::eEvent : return "Event"; 3677 case ObjectType::eQueryPool : return "QueryPool"; 3678 case ObjectType::eBufferView : return "BufferView"; 3679 case ObjectType::eImageView : return "ImageView"; 3680 case ObjectType::eShaderModule : return "ShaderModule"; 3681 case ObjectType::ePipelineCache : return "PipelineCache"; 3682 case ObjectType::ePipelineLayout : return "PipelineLayout"; 3683 case ObjectType::eRenderPass : return "RenderPass"; 3684 case ObjectType::ePipeline : return "Pipeline"; 3685 case ObjectType::eDescriptorSetLayout : return "DescriptorSetLayout"; 3686 case ObjectType::eSampler : return "Sampler"; 3687 case ObjectType::eDescriptorPool : return "DescriptorPool"; 3688 case ObjectType::eDescriptorSet : return "DescriptorSet"; 3689 case ObjectType::eFramebuffer : return "Framebuffer"; 3690 case ObjectType::eCommandPool : return "CommandPool"; 3691 case ObjectType::eSamplerYcbcrConversion : return "SamplerYcbcrConversion"; 3692 case ObjectType::eDescriptorUpdateTemplate : return "DescriptorUpdateTemplate"; 3693 case ObjectType::ePrivateDataSlot : return "PrivateDataSlot"; 3694 case ObjectType::eSurfaceKHR : return "SurfaceKHR"; 3695 case ObjectType::eSwapchainKHR : return "SwapchainKHR"; 3696 case ObjectType::eDisplayKHR : return "DisplayKHR"; 3697 case ObjectType::eDisplayModeKHR : return "DisplayModeKHR"; 3698 case ObjectType::eDebugReportCallbackEXT : return "DebugReportCallbackEXT"; 3699 case ObjectType::eVideoSessionKHR : return "VideoSessionKHR"; 3700 case ObjectType::eVideoSessionParametersKHR : return "VideoSessionParametersKHR"; 3701 case ObjectType::eCuModuleNVX : return "CuModuleNVX"; 3702 case ObjectType::eCuFunctionNVX : return "CuFunctionNVX"; 3703 case ObjectType::eDebugUtilsMessengerEXT : return "DebugUtilsMessengerEXT"; 3704 case ObjectType::eAccelerationStructureKHR : return "AccelerationStructureKHR"; 3705 case ObjectType::eValidationCacheEXT : return "ValidationCacheEXT"; 3706 case ObjectType::eAccelerationStructureNV : return "AccelerationStructureNV"; 3707 case ObjectType::ePerformanceConfigurationINTEL : return "PerformanceConfigurationINTEL"; 3708 case ObjectType::eDeferredOperationKHR : return "DeferredOperationKHR"; 3709 case ObjectType::eIndirectCommandsLayoutNV : return "IndirectCommandsLayoutNV"; 3710 #if defined( VK_USE_PLATFORM_FUCHSIA ) 3711 case ObjectType::eBufferCollectionFUCHSIA : return "BufferCollectionFUCHSIA"; 3712 #endif /*VK_USE_PLATFORM_FUCHSIA*/ 3713 case ObjectType::eMicromapEXT : return "MicromapEXT"; 3714 case ObjectType::eOpticalFlowSessionNV : return "OpticalFlowSessionNV"; 3715 case ObjectType::eShaderEXT : return "ShaderEXT"; 3716 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 3717 } 3718 3719 } 3720 3721 to_string(VendorId value)3722 VULKAN_HPP_INLINE std::string to_string( VendorId value ) 3723 { 3724 switch ( value ) 3725 { 3726 case VendorId::eVIV : return "VIV"; 3727 case VendorId::eVSI : return "VSI"; 3728 case VendorId::eKazan : return "Kazan"; 3729 case VendorId::eCodeplay : return "Codeplay"; 3730 case VendorId::eMESA : return "MESA"; 3731 case VendorId::ePocl : return "Pocl"; 3732 case VendorId::eMobileye : return "Mobileye"; 3733 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 3734 } 3735 3736 } 3737 3738 to_string(Format value)3739 VULKAN_HPP_INLINE std::string to_string( Format value ) 3740 { 3741 switch ( value ) 3742 { 3743 case Format::eUndefined : return "Undefined"; 3744 case Format::eR4G4UnormPack8 : return "R4G4UnormPack8"; 3745 case Format::eR4G4B4A4UnormPack16 : return "R4G4B4A4UnormPack16"; 3746 case Format::eB4G4R4A4UnormPack16 : return "B4G4R4A4UnormPack16"; 3747 case Format::eR5G6B5UnormPack16 : return "R5G6B5UnormPack16"; 3748 case Format::eB5G6R5UnormPack16 : return "B5G6R5UnormPack16"; 3749 case Format::eR5G5B5A1UnormPack16 : return "R5G5B5A1UnormPack16"; 3750 case Format::eB5G5R5A1UnormPack16 : return "B5G5R5A1UnormPack16"; 3751 case Format::eA1R5G5B5UnormPack16 : return "A1R5G5B5UnormPack16"; 3752 case Format::eR8Unorm : return "R8Unorm"; 3753 case Format::eR8Snorm : return "R8Snorm"; 3754 case Format::eR8Uscaled : return "R8Uscaled"; 3755 case Format::eR8Sscaled : return "R8Sscaled"; 3756 case Format::eR8Uint : return "R8Uint"; 3757 case Format::eR8Sint : return "R8Sint"; 3758 case Format::eR8Srgb : return "R8Srgb"; 3759 case Format::eR8G8Unorm : return "R8G8Unorm"; 3760 case Format::eR8G8Snorm : return "R8G8Snorm"; 3761 case Format::eR8G8Uscaled : return "R8G8Uscaled"; 3762 case Format::eR8G8Sscaled : return "R8G8Sscaled"; 3763 case Format::eR8G8Uint : return "R8G8Uint"; 3764 case Format::eR8G8Sint : return "R8G8Sint"; 3765 case Format::eR8G8Srgb : return "R8G8Srgb"; 3766 case Format::eR8G8B8Unorm : return "R8G8B8Unorm"; 3767 case Format::eR8G8B8Snorm : return "R8G8B8Snorm"; 3768 case Format::eR8G8B8Uscaled : return "R8G8B8Uscaled"; 3769 case Format::eR8G8B8Sscaled : return "R8G8B8Sscaled"; 3770 case Format::eR8G8B8Uint : return "R8G8B8Uint"; 3771 case Format::eR8G8B8Sint : return "R8G8B8Sint"; 3772 case Format::eR8G8B8Srgb : return "R8G8B8Srgb"; 3773 case Format::eB8G8R8Unorm : return "B8G8R8Unorm"; 3774 case Format::eB8G8R8Snorm : return "B8G8R8Snorm"; 3775 case Format::eB8G8R8Uscaled : return "B8G8R8Uscaled"; 3776 case Format::eB8G8R8Sscaled : return "B8G8R8Sscaled"; 3777 case Format::eB8G8R8Uint : return "B8G8R8Uint"; 3778 case Format::eB8G8R8Sint : return "B8G8R8Sint"; 3779 case Format::eB8G8R8Srgb : return "B8G8R8Srgb"; 3780 case Format::eR8G8B8A8Unorm : return "R8G8B8A8Unorm"; 3781 case Format::eR8G8B8A8Snorm : return "R8G8B8A8Snorm"; 3782 case Format::eR8G8B8A8Uscaled : return "R8G8B8A8Uscaled"; 3783 case Format::eR8G8B8A8Sscaled : return "R8G8B8A8Sscaled"; 3784 case Format::eR8G8B8A8Uint : return "R8G8B8A8Uint"; 3785 case Format::eR8G8B8A8Sint : return "R8G8B8A8Sint"; 3786 case Format::eR8G8B8A8Srgb : return "R8G8B8A8Srgb"; 3787 case Format::eB8G8R8A8Unorm : return "B8G8R8A8Unorm"; 3788 case Format::eB8G8R8A8Snorm : return "B8G8R8A8Snorm"; 3789 case Format::eB8G8R8A8Uscaled : return "B8G8R8A8Uscaled"; 3790 case Format::eB8G8R8A8Sscaled : return "B8G8R8A8Sscaled"; 3791 case Format::eB8G8R8A8Uint : return "B8G8R8A8Uint"; 3792 case Format::eB8G8R8A8Sint : return "B8G8R8A8Sint"; 3793 case Format::eB8G8R8A8Srgb : return "B8G8R8A8Srgb"; 3794 case Format::eA8B8G8R8UnormPack32 : return "A8B8G8R8UnormPack32"; 3795 case Format::eA8B8G8R8SnormPack32 : return "A8B8G8R8SnormPack32"; 3796 case Format::eA8B8G8R8UscaledPack32 : return "A8B8G8R8UscaledPack32"; 3797 case Format::eA8B8G8R8SscaledPack32 : return "A8B8G8R8SscaledPack32"; 3798 case Format::eA8B8G8R8UintPack32 : return "A8B8G8R8UintPack32"; 3799 case Format::eA8B8G8R8SintPack32 : return "A8B8G8R8SintPack32"; 3800 case Format::eA8B8G8R8SrgbPack32 : return "A8B8G8R8SrgbPack32"; 3801 case Format::eA2R10G10B10UnormPack32 : return "A2R10G10B10UnormPack32"; 3802 case Format::eA2R10G10B10SnormPack32 : return "A2R10G10B10SnormPack32"; 3803 case Format::eA2R10G10B10UscaledPack32 : return "A2R10G10B10UscaledPack32"; 3804 case Format::eA2R10G10B10SscaledPack32 : return "A2R10G10B10SscaledPack32"; 3805 case Format::eA2R10G10B10UintPack32 : return "A2R10G10B10UintPack32"; 3806 case Format::eA2R10G10B10SintPack32 : return "A2R10G10B10SintPack32"; 3807 case Format::eA2B10G10R10UnormPack32 : return "A2B10G10R10UnormPack32"; 3808 case Format::eA2B10G10R10SnormPack32 : return "A2B10G10R10SnormPack32"; 3809 case Format::eA2B10G10R10UscaledPack32 : return "A2B10G10R10UscaledPack32"; 3810 case Format::eA2B10G10R10SscaledPack32 : return "A2B10G10R10SscaledPack32"; 3811 case Format::eA2B10G10R10UintPack32 : return "A2B10G10R10UintPack32"; 3812 case Format::eA2B10G10R10SintPack32 : return "A2B10G10R10SintPack32"; 3813 case Format::eR16Unorm : return "R16Unorm"; 3814 case Format::eR16Snorm : return "R16Snorm"; 3815 case Format::eR16Uscaled : return "R16Uscaled"; 3816 case Format::eR16Sscaled : return "R16Sscaled"; 3817 case Format::eR16Uint : return "R16Uint"; 3818 case Format::eR16Sint : return "R16Sint"; 3819 case Format::eR16Sfloat : return "R16Sfloat"; 3820 case Format::eR16G16Unorm : return "R16G16Unorm"; 3821 case Format::eR16G16Snorm : return "R16G16Snorm"; 3822 case Format::eR16G16Uscaled : return "R16G16Uscaled"; 3823 case Format::eR16G16Sscaled : return "R16G16Sscaled"; 3824 case Format::eR16G16Uint : return "R16G16Uint"; 3825 case Format::eR16G16Sint : return "R16G16Sint"; 3826 case Format::eR16G16Sfloat : return "R16G16Sfloat"; 3827 case Format::eR16G16B16Unorm : return "R16G16B16Unorm"; 3828 case Format::eR16G16B16Snorm : return "R16G16B16Snorm"; 3829 case Format::eR16G16B16Uscaled : return "R16G16B16Uscaled"; 3830 case Format::eR16G16B16Sscaled : return "R16G16B16Sscaled"; 3831 case Format::eR16G16B16Uint : return "R16G16B16Uint"; 3832 case Format::eR16G16B16Sint : return "R16G16B16Sint"; 3833 case Format::eR16G16B16Sfloat : return "R16G16B16Sfloat"; 3834 case Format::eR16G16B16A16Unorm : return "R16G16B16A16Unorm"; 3835 case Format::eR16G16B16A16Snorm : return "R16G16B16A16Snorm"; 3836 case Format::eR16G16B16A16Uscaled : return "R16G16B16A16Uscaled"; 3837 case Format::eR16G16B16A16Sscaled : return "R16G16B16A16Sscaled"; 3838 case Format::eR16G16B16A16Uint : return "R16G16B16A16Uint"; 3839 case Format::eR16G16B16A16Sint : return "R16G16B16A16Sint"; 3840 case Format::eR16G16B16A16Sfloat : return "R16G16B16A16Sfloat"; 3841 case Format::eR32Uint : return "R32Uint"; 3842 case Format::eR32Sint : return "R32Sint"; 3843 case Format::eR32Sfloat : return "R32Sfloat"; 3844 case Format::eR32G32Uint : return "R32G32Uint"; 3845 case Format::eR32G32Sint : return "R32G32Sint"; 3846 case Format::eR32G32Sfloat : return "R32G32Sfloat"; 3847 case Format::eR32G32B32Uint : return "R32G32B32Uint"; 3848 case Format::eR32G32B32Sint : return "R32G32B32Sint"; 3849 case Format::eR32G32B32Sfloat : return "R32G32B32Sfloat"; 3850 case Format::eR32G32B32A32Uint : return "R32G32B32A32Uint"; 3851 case Format::eR32G32B32A32Sint : return "R32G32B32A32Sint"; 3852 case Format::eR32G32B32A32Sfloat : return "R32G32B32A32Sfloat"; 3853 case Format::eR64Uint : return "R64Uint"; 3854 case Format::eR64Sint : return "R64Sint"; 3855 case Format::eR64Sfloat : return "R64Sfloat"; 3856 case Format::eR64G64Uint : return "R64G64Uint"; 3857 case Format::eR64G64Sint : return "R64G64Sint"; 3858 case Format::eR64G64Sfloat : return "R64G64Sfloat"; 3859 case Format::eR64G64B64Uint : return "R64G64B64Uint"; 3860 case Format::eR64G64B64Sint : return "R64G64B64Sint"; 3861 case Format::eR64G64B64Sfloat : return "R64G64B64Sfloat"; 3862 case Format::eR64G64B64A64Uint : return "R64G64B64A64Uint"; 3863 case Format::eR64G64B64A64Sint : return "R64G64B64A64Sint"; 3864 case Format::eR64G64B64A64Sfloat : return "R64G64B64A64Sfloat"; 3865 case Format::eB10G11R11UfloatPack32 : return "B10G11R11UfloatPack32"; 3866 case Format::eE5B9G9R9UfloatPack32 : return "E5B9G9R9UfloatPack32"; 3867 case Format::eD16Unorm : return "D16Unorm"; 3868 case Format::eX8D24UnormPack32 : return "X8D24UnormPack32"; 3869 case Format::eD32Sfloat : return "D32Sfloat"; 3870 case Format::eS8Uint : return "S8Uint"; 3871 case Format::eD16UnormS8Uint : return "D16UnormS8Uint"; 3872 case Format::eD24UnormS8Uint : return "D24UnormS8Uint"; 3873 case Format::eD32SfloatS8Uint : return "D32SfloatS8Uint"; 3874 case Format::eBc1RgbUnormBlock : return "Bc1RgbUnormBlock"; 3875 case Format::eBc1RgbSrgbBlock : return "Bc1RgbSrgbBlock"; 3876 case Format::eBc1RgbaUnormBlock : return "Bc1RgbaUnormBlock"; 3877 case Format::eBc1RgbaSrgbBlock : return "Bc1RgbaSrgbBlock"; 3878 case Format::eBc2UnormBlock : return "Bc2UnormBlock"; 3879 case Format::eBc2SrgbBlock : return "Bc2SrgbBlock"; 3880 case Format::eBc3UnormBlock : return "Bc3UnormBlock"; 3881 case Format::eBc3SrgbBlock : return "Bc3SrgbBlock"; 3882 case Format::eBc4UnormBlock : return "Bc4UnormBlock"; 3883 case Format::eBc4SnormBlock : return "Bc4SnormBlock"; 3884 case Format::eBc5UnormBlock : return "Bc5UnormBlock"; 3885 case Format::eBc5SnormBlock : return "Bc5SnormBlock"; 3886 case Format::eBc6HUfloatBlock : return "Bc6HUfloatBlock"; 3887 case Format::eBc6HSfloatBlock : return "Bc6HSfloatBlock"; 3888 case Format::eBc7UnormBlock : return "Bc7UnormBlock"; 3889 case Format::eBc7SrgbBlock : return "Bc7SrgbBlock"; 3890 case Format::eEtc2R8G8B8UnormBlock : return "Etc2R8G8B8UnormBlock"; 3891 case Format::eEtc2R8G8B8SrgbBlock : return "Etc2R8G8B8SrgbBlock"; 3892 case Format::eEtc2R8G8B8A1UnormBlock : return "Etc2R8G8B8A1UnormBlock"; 3893 case Format::eEtc2R8G8B8A1SrgbBlock : return "Etc2R8G8B8A1SrgbBlock"; 3894 case Format::eEtc2R8G8B8A8UnormBlock : return "Etc2R8G8B8A8UnormBlock"; 3895 case Format::eEtc2R8G8B8A8SrgbBlock : return "Etc2R8G8B8A8SrgbBlock"; 3896 case Format::eEacR11UnormBlock : return "EacR11UnormBlock"; 3897 case Format::eEacR11SnormBlock : return "EacR11SnormBlock"; 3898 case Format::eEacR11G11UnormBlock : return "EacR11G11UnormBlock"; 3899 case Format::eEacR11G11SnormBlock : return "EacR11G11SnormBlock"; 3900 case Format::eAstc4x4UnormBlock : return "Astc4x4UnormBlock"; 3901 case Format::eAstc4x4SrgbBlock : return "Astc4x4SrgbBlock"; 3902 case Format::eAstc5x4UnormBlock : return "Astc5x4UnormBlock"; 3903 case Format::eAstc5x4SrgbBlock : return "Astc5x4SrgbBlock"; 3904 case Format::eAstc5x5UnormBlock : return "Astc5x5UnormBlock"; 3905 case Format::eAstc5x5SrgbBlock : return "Astc5x5SrgbBlock"; 3906 case Format::eAstc6x5UnormBlock : return "Astc6x5UnormBlock"; 3907 case Format::eAstc6x5SrgbBlock : return "Astc6x5SrgbBlock"; 3908 case Format::eAstc6x6UnormBlock : return "Astc6x6UnormBlock"; 3909 case Format::eAstc6x6SrgbBlock : return "Astc6x6SrgbBlock"; 3910 case Format::eAstc8x5UnormBlock : return "Astc8x5UnormBlock"; 3911 case Format::eAstc8x5SrgbBlock : return "Astc8x5SrgbBlock"; 3912 case Format::eAstc8x6UnormBlock : return "Astc8x6UnormBlock"; 3913 case Format::eAstc8x6SrgbBlock : return "Astc8x6SrgbBlock"; 3914 case Format::eAstc8x8UnormBlock : return "Astc8x8UnormBlock"; 3915 case Format::eAstc8x8SrgbBlock : return "Astc8x8SrgbBlock"; 3916 case Format::eAstc10x5UnormBlock : return "Astc10x5UnormBlock"; 3917 case Format::eAstc10x5SrgbBlock : return "Astc10x5SrgbBlock"; 3918 case Format::eAstc10x6UnormBlock : return "Astc10x6UnormBlock"; 3919 case Format::eAstc10x6SrgbBlock : return "Astc10x6SrgbBlock"; 3920 case Format::eAstc10x8UnormBlock : return "Astc10x8UnormBlock"; 3921 case Format::eAstc10x8SrgbBlock : return "Astc10x8SrgbBlock"; 3922 case Format::eAstc10x10UnormBlock : return "Astc10x10UnormBlock"; 3923 case Format::eAstc10x10SrgbBlock : return "Astc10x10SrgbBlock"; 3924 case Format::eAstc12x10UnormBlock : return "Astc12x10UnormBlock"; 3925 case Format::eAstc12x10SrgbBlock : return "Astc12x10SrgbBlock"; 3926 case Format::eAstc12x12UnormBlock : return "Astc12x12UnormBlock"; 3927 case Format::eAstc12x12SrgbBlock : return "Astc12x12SrgbBlock"; 3928 case Format::eG8B8G8R8422Unorm : return "G8B8G8R8422Unorm"; 3929 case Format::eB8G8R8G8422Unorm : return "B8G8R8G8422Unorm"; 3930 case Format::eG8B8R83Plane420Unorm : return "G8B8R83Plane420Unorm"; 3931 case Format::eG8B8R82Plane420Unorm : return "G8B8R82Plane420Unorm"; 3932 case Format::eG8B8R83Plane422Unorm : return "G8B8R83Plane422Unorm"; 3933 case Format::eG8B8R82Plane422Unorm : return "G8B8R82Plane422Unorm"; 3934 case Format::eG8B8R83Plane444Unorm : return "G8B8R83Plane444Unorm"; 3935 case Format::eR10X6UnormPack16 : return "R10X6UnormPack16"; 3936 case Format::eR10X6G10X6Unorm2Pack16 : return "R10X6G10X6Unorm2Pack16"; 3937 case Format::eR10X6G10X6B10X6A10X6Unorm4Pack16 : return "R10X6G10X6B10X6A10X6Unorm4Pack16"; 3938 case Format::eG10X6B10X6G10X6R10X6422Unorm4Pack16 : return "G10X6B10X6G10X6R10X6422Unorm4Pack16"; 3939 case Format::eB10X6G10X6R10X6G10X6422Unorm4Pack16 : return "B10X6G10X6R10X6G10X6422Unorm4Pack16"; 3940 case Format::eG10X6B10X6R10X63Plane420Unorm3Pack16 : return "G10X6B10X6R10X63Plane420Unorm3Pack16"; 3941 case Format::eG10X6B10X6R10X62Plane420Unorm3Pack16 : return "G10X6B10X6R10X62Plane420Unorm3Pack16"; 3942 case Format::eG10X6B10X6R10X63Plane422Unorm3Pack16 : return "G10X6B10X6R10X63Plane422Unorm3Pack16"; 3943 case Format::eG10X6B10X6R10X62Plane422Unorm3Pack16 : return "G10X6B10X6R10X62Plane422Unorm3Pack16"; 3944 case Format::eG10X6B10X6R10X63Plane444Unorm3Pack16 : return "G10X6B10X6R10X63Plane444Unorm3Pack16"; 3945 case Format::eR12X4UnormPack16 : return "R12X4UnormPack16"; 3946 case Format::eR12X4G12X4Unorm2Pack16 : return "R12X4G12X4Unorm2Pack16"; 3947 case Format::eR12X4G12X4B12X4A12X4Unorm4Pack16 : return "R12X4G12X4B12X4A12X4Unorm4Pack16"; 3948 case Format::eG12X4B12X4G12X4R12X4422Unorm4Pack16 : return "G12X4B12X4G12X4R12X4422Unorm4Pack16"; 3949 case Format::eB12X4G12X4R12X4G12X4422Unorm4Pack16 : return "B12X4G12X4R12X4G12X4422Unorm4Pack16"; 3950 case Format::eG12X4B12X4R12X43Plane420Unorm3Pack16 : return "G12X4B12X4R12X43Plane420Unorm3Pack16"; 3951 case Format::eG12X4B12X4R12X42Plane420Unorm3Pack16 : return "G12X4B12X4R12X42Plane420Unorm3Pack16"; 3952 case Format::eG12X4B12X4R12X43Plane422Unorm3Pack16 : return "G12X4B12X4R12X43Plane422Unorm3Pack16"; 3953 case Format::eG12X4B12X4R12X42Plane422Unorm3Pack16 : return "G12X4B12X4R12X42Plane422Unorm3Pack16"; 3954 case Format::eG12X4B12X4R12X43Plane444Unorm3Pack16 : return "G12X4B12X4R12X43Plane444Unorm3Pack16"; 3955 case Format::eG16B16G16R16422Unorm : return "G16B16G16R16422Unorm"; 3956 case Format::eB16G16R16G16422Unorm : return "B16G16R16G16422Unorm"; 3957 case Format::eG16B16R163Plane420Unorm : return "G16B16R163Plane420Unorm"; 3958 case Format::eG16B16R162Plane420Unorm : return "G16B16R162Plane420Unorm"; 3959 case Format::eG16B16R163Plane422Unorm : return "G16B16R163Plane422Unorm"; 3960 case Format::eG16B16R162Plane422Unorm : return "G16B16R162Plane422Unorm"; 3961 case Format::eG16B16R163Plane444Unorm : return "G16B16R163Plane444Unorm"; 3962 case Format::eG8B8R82Plane444Unorm : return "G8B8R82Plane444Unorm"; 3963 case Format::eG10X6B10X6R10X62Plane444Unorm3Pack16 : return "G10X6B10X6R10X62Plane444Unorm3Pack16"; 3964 case Format::eG12X4B12X4R12X42Plane444Unorm3Pack16 : return "G12X4B12X4R12X42Plane444Unorm3Pack16"; 3965 case Format::eG16B16R162Plane444Unorm : return "G16B16R162Plane444Unorm"; 3966 case Format::eA4R4G4B4UnormPack16 : return "A4R4G4B4UnormPack16"; 3967 case Format::eA4B4G4R4UnormPack16 : return "A4B4G4R4UnormPack16"; 3968 case Format::eAstc4x4SfloatBlock : return "Astc4x4SfloatBlock"; 3969 case Format::eAstc5x4SfloatBlock : return "Astc5x4SfloatBlock"; 3970 case Format::eAstc5x5SfloatBlock : return "Astc5x5SfloatBlock"; 3971 case Format::eAstc6x5SfloatBlock : return "Astc6x5SfloatBlock"; 3972 case Format::eAstc6x6SfloatBlock : return "Astc6x6SfloatBlock"; 3973 case Format::eAstc8x5SfloatBlock : return "Astc8x5SfloatBlock"; 3974 case Format::eAstc8x6SfloatBlock : return "Astc8x6SfloatBlock"; 3975 case Format::eAstc8x8SfloatBlock : return "Astc8x8SfloatBlock"; 3976 case Format::eAstc10x5SfloatBlock : return "Astc10x5SfloatBlock"; 3977 case Format::eAstc10x6SfloatBlock : return "Astc10x6SfloatBlock"; 3978 case Format::eAstc10x8SfloatBlock : return "Astc10x8SfloatBlock"; 3979 case Format::eAstc10x10SfloatBlock : return "Astc10x10SfloatBlock"; 3980 case Format::eAstc12x10SfloatBlock : return "Astc12x10SfloatBlock"; 3981 case Format::eAstc12x12SfloatBlock : return "Astc12x12SfloatBlock"; 3982 case Format::ePvrtc12BppUnormBlockIMG : return "Pvrtc12BppUnormBlockIMG"; 3983 case Format::ePvrtc14BppUnormBlockIMG : return "Pvrtc14BppUnormBlockIMG"; 3984 case Format::ePvrtc22BppUnormBlockIMG : return "Pvrtc22BppUnormBlockIMG"; 3985 case Format::ePvrtc24BppUnormBlockIMG : return "Pvrtc24BppUnormBlockIMG"; 3986 case Format::ePvrtc12BppSrgbBlockIMG : return "Pvrtc12BppSrgbBlockIMG"; 3987 case Format::ePvrtc14BppSrgbBlockIMG : return "Pvrtc14BppSrgbBlockIMG"; 3988 case Format::ePvrtc22BppSrgbBlockIMG : return "Pvrtc22BppSrgbBlockIMG"; 3989 case Format::ePvrtc24BppSrgbBlockIMG : return "Pvrtc24BppSrgbBlockIMG"; 3990 case Format::eR16G16S105NV : return "R16G16S105NV"; 3991 case Format::eA1B5G5R5UnormPack16KHR : return "A1B5G5R5UnormPack16KHR"; 3992 case Format::eA8UnormKHR : return "A8UnormKHR"; 3993 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 3994 } 3995 3996 } 3997 3998 to_string(FormatFeatureFlagBits value)3999 VULKAN_HPP_INLINE std::string to_string( FormatFeatureFlagBits value ) 4000 { 4001 switch ( value ) 4002 { 4003 case FormatFeatureFlagBits::eSampledImage : return "SampledImage"; 4004 case FormatFeatureFlagBits::eStorageImage : return "StorageImage"; 4005 case FormatFeatureFlagBits::eStorageImageAtomic : return "StorageImageAtomic"; 4006 case FormatFeatureFlagBits::eUniformTexelBuffer : return "UniformTexelBuffer"; 4007 case FormatFeatureFlagBits::eStorageTexelBuffer : return "StorageTexelBuffer"; 4008 case FormatFeatureFlagBits::eStorageTexelBufferAtomic : return "StorageTexelBufferAtomic"; 4009 case FormatFeatureFlagBits::eVertexBuffer : return "VertexBuffer"; 4010 case FormatFeatureFlagBits::eColorAttachment : return "ColorAttachment"; 4011 case FormatFeatureFlagBits::eColorAttachmentBlend : return "ColorAttachmentBlend"; 4012 case FormatFeatureFlagBits::eDepthStencilAttachment : return "DepthStencilAttachment"; 4013 case FormatFeatureFlagBits::eBlitSrc : return "BlitSrc"; 4014 case FormatFeatureFlagBits::eBlitDst : return "BlitDst"; 4015 case FormatFeatureFlagBits::eSampledImageFilterLinear : return "SampledImageFilterLinear"; 4016 case FormatFeatureFlagBits::eTransferSrc : return "TransferSrc"; 4017 case FormatFeatureFlagBits::eTransferDst : return "TransferDst"; 4018 case FormatFeatureFlagBits::eMidpointChromaSamples : return "MidpointChromaSamples"; 4019 case FormatFeatureFlagBits::eSampledImageYcbcrConversionLinearFilter : return "SampledImageYcbcrConversionLinearFilter"; 4020 case FormatFeatureFlagBits::eSampledImageYcbcrConversionSeparateReconstructionFilter : return "SampledImageYcbcrConversionSeparateReconstructionFilter"; 4021 case FormatFeatureFlagBits::eSampledImageYcbcrConversionChromaReconstructionExplicit : return "SampledImageYcbcrConversionChromaReconstructionExplicit"; 4022 case FormatFeatureFlagBits::eSampledImageYcbcrConversionChromaReconstructionExplicitForceable : return "SampledImageYcbcrConversionChromaReconstructionExplicitForceable"; 4023 case FormatFeatureFlagBits::eDisjoint : return "Disjoint"; 4024 case FormatFeatureFlagBits::eCositedChromaSamples : return "CositedChromaSamples"; 4025 case FormatFeatureFlagBits::eSampledImageFilterMinmax : return "SampledImageFilterMinmax"; 4026 case FormatFeatureFlagBits::eVideoDecodeOutputKHR : return "VideoDecodeOutputKHR"; 4027 case FormatFeatureFlagBits::eVideoDecodeDpbKHR : return "VideoDecodeDpbKHR"; 4028 case FormatFeatureFlagBits::eAccelerationStructureVertexBufferKHR : return "AccelerationStructureVertexBufferKHR"; 4029 case FormatFeatureFlagBits::eSampledImageFilterCubicEXT : return "SampledImageFilterCubicEXT"; 4030 case FormatFeatureFlagBits::eFragmentDensityMapEXT : return "FragmentDensityMapEXT"; 4031 case FormatFeatureFlagBits::eFragmentShadingRateAttachmentKHR : return "FragmentShadingRateAttachmentKHR"; 4032 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 4033 case FormatFeatureFlagBits::eVideoEncodeInputKHR : return "VideoEncodeInputKHR"; 4034 case FormatFeatureFlagBits::eVideoEncodeDpbKHR : return "VideoEncodeDpbKHR"; 4035 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 4036 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4037 } 4038 4039 } 4040 4041 to_string(ImageCreateFlagBits value)4042 VULKAN_HPP_INLINE std::string to_string( ImageCreateFlagBits value ) 4043 { 4044 switch ( value ) 4045 { 4046 case ImageCreateFlagBits::eSparseBinding : return "SparseBinding"; 4047 case ImageCreateFlagBits::eSparseResidency : return "SparseResidency"; 4048 case ImageCreateFlagBits::eSparseAliased : return "SparseAliased"; 4049 case ImageCreateFlagBits::eMutableFormat : return "MutableFormat"; 4050 case ImageCreateFlagBits::eCubeCompatible : return "CubeCompatible"; 4051 case ImageCreateFlagBits::eAlias : return "Alias"; 4052 case ImageCreateFlagBits::eSplitInstanceBindRegions : return "SplitInstanceBindRegions"; 4053 case ImageCreateFlagBits::e2DArrayCompatible : return "2DArrayCompatible"; 4054 case ImageCreateFlagBits::eBlockTexelViewCompatible : return "BlockTexelViewCompatible"; 4055 case ImageCreateFlagBits::eExtendedUsage : return "ExtendedUsage"; 4056 case ImageCreateFlagBits::eProtected : return "Protected"; 4057 case ImageCreateFlagBits::eDisjoint : return "Disjoint"; 4058 case ImageCreateFlagBits::eCornerSampledNV : return "CornerSampledNV"; 4059 case ImageCreateFlagBits::eSampleLocationsCompatibleDepthEXT : return "SampleLocationsCompatibleDepthEXT"; 4060 case ImageCreateFlagBits::eSubsampledEXT : return "SubsampledEXT"; 4061 case ImageCreateFlagBits::eDescriptorBufferCaptureReplayEXT : return "DescriptorBufferCaptureReplayEXT"; 4062 case ImageCreateFlagBits::eMultisampledRenderToSingleSampledEXT : return "MultisampledRenderToSingleSampledEXT"; 4063 case ImageCreateFlagBits::e2DViewCompatibleEXT : return "2DViewCompatibleEXT"; 4064 case ImageCreateFlagBits::eFragmentDensityMapOffsetQCOM : return "FragmentDensityMapOffsetQCOM"; 4065 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4066 } 4067 4068 } 4069 4070 to_string(ImageTiling value)4071 VULKAN_HPP_INLINE std::string to_string( ImageTiling value ) 4072 { 4073 switch ( value ) 4074 { 4075 case ImageTiling::eOptimal : return "Optimal"; 4076 case ImageTiling::eLinear : return "Linear"; 4077 case ImageTiling::eDrmFormatModifierEXT : return "DrmFormatModifierEXT"; 4078 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4079 } 4080 4081 } 4082 4083 to_string(ImageType value)4084 VULKAN_HPP_INLINE std::string to_string( ImageType value ) 4085 { 4086 switch ( value ) 4087 { 4088 case ImageType::e1D : return "1D"; 4089 case ImageType::e2D : return "2D"; 4090 case ImageType::e3D : return "3D"; 4091 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4092 } 4093 4094 } 4095 4096 to_string(ImageUsageFlagBits value)4097 VULKAN_HPP_INLINE std::string to_string( ImageUsageFlagBits value ) 4098 { 4099 switch ( value ) 4100 { 4101 case ImageUsageFlagBits::eTransferSrc : return "TransferSrc"; 4102 case ImageUsageFlagBits::eTransferDst : return "TransferDst"; 4103 case ImageUsageFlagBits::eSampled : return "Sampled"; 4104 case ImageUsageFlagBits::eStorage : return "Storage"; 4105 case ImageUsageFlagBits::eColorAttachment : return "ColorAttachment"; 4106 case ImageUsageFlagBits::eDepthStencilAttachment : return "DepthStencilAttachment"; 4107 case ImageUsageFlagBits::eTransientAttachment : return "TransientAttachment"; 4108 case ImageUsageFlagBits::eInputAttachment : return "InputAttachment"; 4109 case ImageUsageFlagBits::eVideoDecodeDstKHR : return "VideoDecodeDstKHR"; 4110 case ImageUsageFlagBits::eVideoDecodeSrcKHR : return "VideoDecodeSrcKHR"; 4111 case ImageUsageFlagBits::eVideoDecodeDpbKHR : return "VideoDecodeDpbKHR"; 4112 case ImageUsageFlagBits::eFragmentDensityMapEXT : return "FragmentDensityMapEXT"; 4113 case ImageUsageFlagBits::eFragmentShadingRateAttachmentKHR : return "FragmentShadingRateAttachmentKHR"; 4114 case ImageUsageFlagBits::eHostTransferEXT : return "HostTransferEXT"; 4115 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 4116 case ImageUsageFlagBits::eVideoEncodeDstKHR : return "VideoEncodeDstKHR"; 4117 case ImageUsageFlagBits::eVideoEncodeSrcKHR : return "VideoEncodeSrcKHR"; 4118 case ImageUsageFlagBits::eVideoEncodeDpbKHR : return "VideoEncodeDpbKHR"; 4119 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 4120 case ImageUsageFlagBits::eAttachmentFeedbackLoopEXT : return "AttachmentFeedbackLoopEXT"; 4121 case ImageUsageFlagBits::eInvocationMaskHUAWEI : return "InvocationMaskHUAWEI"; 4122 case ImageUsageFlagBits::eSampleWeightQCOM : return "SampleWeightQCOM"; 4123 case ImageUsageFlagBits::eSampleBlockMatchQCOM : return "SampleBlockMatchQCOM"; 4124 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4125 } 4126 4127 } 4128 4129 to_string(InstanceCreateFlagBits value)4130 VULKAN_HPP_INLINE std::string to_string( InstanceCreateFlagBits value ) 4131 { 4132 switch ( value ) 4133 { 4134 case InstanceCreateFlagBits::eEnumeratePortabilityKHR : return "EnumeratePortabilityKHR"; 4135 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4136 } 4137 4138 } 4139 4140 to_string(InternalAllocationType value)4141 VULKAN_HPP_INLINE std::string to_string( InternalAllocationType value ) 4142 { 4143 switch ( value ) 4144 { 4145 case InternalAllocationType::eExecutable : return "Executable"; 4146 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4147 } 4148 4149 } 4150 4151 to_string(MemoryHeapFlagBits value)4152 VULKAN_HPP_INLINE std::string to_string( MemoryHeapFlagBits value ) 4153 { 4154 switch ( value ) 4155 { 4156 case MemoryHeapFlagBits::eDeviceLocal : return "DeviceLocal"; 4157 case MemoryHeapFlagBits::eMultiInstance : return "MultiInstance"; 4158 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4159 } 4160 4161 } 4162 4163 to_string(MemoryPropertyFlagBits value)4164 VULKAN_HPP_INLINE std::string to_string( MemoryPropertyFlagBits value ) 4165 { 4166 switch ( value ) 4167 { 4168 case MemoryPropertyFlagBits::eDeviceLocal : return "DeviceLocal"; 4169 case MemoryPropertyFlagBits::eHostVisible : return "HostVisible"; 4170 case MemoryPropertyFlagBits::eHostCoherent : return "HostCoherent"; 4171 case MemoryPropertyFlagBits::eHostCached : return "HostCached"; 4172 case MemoryPropertyFlagBits::eLazilyAllocated : return "LazilyAllocated"; 4173 case MemoryPropertyFlagBits::eProtected : return "Protected"; 4174 case MemoryPropertyFlagBits::eDeviceCoherentAMD : return "DeviceCoherentAMD"; 4175 case MemoryPropertyFlagBits::eDeviceUncachedAMD : return "DeviceUncachedAMD"; 4176 case MemoryPropertyFlagBits::eRdmaCapableNV : return "RdmaCapableNV"; 4177 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4178 } 4179 4180 } 4181 4182 to_string(PhysicalDeviceType value)4183 VULKAN_HPP_INLINE std::string to_string( PhysicalDeviceType value ) 4184 { 4185 switch ( value ) 4186 { 4187 case PhysicalDeviceType::eOther : return "Other"; 4188 case PhysicalDeviceType::eIntegratedGpu : return "IntegratedGpu"; 4189 case PhysicalDeviceType::eDiscreteGpu : return "DiscreteGpu"; 4190 case PhysicalDeviceType::eVirtualGpu : return "VirtualGpu"; 4191 case PhysicalDeviceType::eCpu : return "Cpu"; 4192 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4193 } 4194 4195 } 4196 4197 to_string(QueueFlagBits value)4198 VULKAN_HPP_INLINE std::string to_string( QueueFlagBits value ) 4199 { 4200 switch ( value ) 4201 { 4202 case QueueFlagBits::eGraphics : return "Graphics"; 4203 case QueueFlagBits::eCompute : return "Compute"; 4204 case QueueFlagBits::eTransfer : return "Transfer"; 4205 case QueueFlagBits::eSparseBinding : return "SparseBinding"; 4206 case QueueFlagBits::eProtected : return "Protected"; 4207 case QueueFlagBits::eVideoDecodeKHR : return "VideoDecodeKHR"; 4208 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 4209 case QueueFlagBits::eVideoEncodeKHR : return "VideoEncodeKHR"; 4210 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 4211 case QueueFlagBits::eOpticalFlowNV : return "OpticalFlowNV"; 4212 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4213 } 4214 4215 } 4216 4217 to_string(SampleCountFlagBits value)4218 VULKAN_HPP_INLINE std::string to_string( SampleCountFlagBits value ) 4219 { 4220 switch ( value ) 4221 { 4222 case SampleCountFlagBits::e1 : return "1"; 4223 case SampleCountFlagBits::e2 : return "2"; 4224 case SampleCountFlagBits::e4 : return "4"; 4225 case SampleCountFlagBits::e8 : return "8"; 4226 case SampleCountFlagBits::e16 : return "16"; 4227 case SampleCountFlagBits::e32 : return "32"; 4228 case SampleCountFlagBits::e64 : return "64"; 4229 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4230 } 4231 4232 } 4233 4234 to_string(SystemAllocationScope value)4235 VULKAN_HPP_INLINE std::string to_string( SystemAllocationScope value ) 4236 { 4237 switch ( value ) 4238 { 4239 case SystemAllocationScope::eCommand : return "Command"; 4240 case SystemAllocationScope::eObject : return "Object"; 4241 case SystemAllocationScope::eCache : return "Cache"; 4242 case SystemAllocationScope::eDevice : return "Device"; 4243 case SystemAllocationScope::eInstance : return "Instance"; 4244 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4245 } 4246 4247 } 4248 4249 to_string(DeviceCreateFlagBits)4250 VULKAN_HPP_INLINE std::string to_string( DeviceCreateFlagBits ) 4251 { 4252 return "(void)"; 4253 } 4254 4255 to_string(DeviceQueueCreateFlagBits value)4256 VULKAN_HPP_INLINE std::string to_string( DeviceQueueCreateFlagBits value ) 4257 { 4258 switch ( value ) 4259 { 4260 case DeviceQueueCreateFlagBits::eProtected : return "Protected"; 4261 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4262 } 4263 4264 } 4265 4266 to_string(PipelineStageFlagBits value)4267 VULKAN_HPP_INLINE std::string to_string( PipelineStageFlagBits value ) 4268 { 4269 switch ( value ) 4270 { 4271 case PipelineStageFlagBits::eTopOfPipe : return "TopOfPipe"; 4272 case PipelineStageFlagBits::eDrawIndirect : return "DrawIndirect"; 4273 case PipelineStageFlagBits::eVertexInput : return "VertexInput"; 4274 case PipelineStageFlagBits::eVertexShader : return "VertexShader"; 4275 case PipelineStageFlagBits::eTessellationControlShader : return "TessellationControlShader"; 4276 case PipelineStageFlagBits::eTessellationEvaluationShader : return "TessellationEvaluationShader"; 4277 case PipelineStageFlagBits::eGeometryShader : return "GeometryShader"; 4278 case PipelineStageFlagBits::eFragmentShader : return "FragmentShader"; 4279 case PipelineStageFlagBits::eEarlyFragmentTests : return "EarlyFragmentTests"; 4280 case PipelineStageFlagBits::eLateFragmentTests : return "LateFragmentTests"; 4281 case PipelineStageFlagBits::eColorAttachmentOutput : return "ColorAttachmentOutput"; 4282 case PipelineStageFlagBits::eComputeShader : return "ComputeShader"; 4283 case PipelineStageFlagBits::eTransfer : return "Transfer"; 4284 case PipelineStageFlagBits::eBottomOfPipe : return "BottomOfPipe"; 4285 case PipelineStageFlagBits::eHost : return "Host"; 4286 case PipelineStageFlagBits::eAllGraphics : return "AllGraphics"; 4287 case PipelineStageFlagBits::eAllCommands : return "AllCommands"; 4288 case PipelineStageFlagBits::eNone : return "None"; 4289 case PipelineStageFlagBits::eTransformFeedbackEXT : return "TransformFeedbackEXT"; 4290 case PipelineStageFlagBits::eConditionalRenderingEXT : return "ConditionalRenderingEXT"; 4291 case PipelineStageFlagBits::eAccelerationStructureBuildKHR : return "AccelerationStructureBuildKHR"; 4292 case PipelineStageFlagBits::eRayTracingShaderKHR : return "RayTracingShaderKHR"; 4293 case PipelineStageFlagBits::eFragmentDensityProcessEXT : return "FragmentDensityProcessEXT"; 4294 case PipelineStageFlagBits::eFragmentShadingRateAttachmentKHR : return "FragmentShadingRateAttachmentKHR"; 4295 case PipelineStageFlagBits::eCommandPreprocessNV : return "CommandPreprocessNV"; 4296 case PipelineStageFlagBits::eTaskShaderEXT : return "TaskShaderEXT"; 4297 case PipelineStageFlagBits::eMeshShaderEXT : return "MeshShaderEXT"; 4298 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4299 } 4300 4301 } 4302 4303 to_string(MemoryMapFlagBits)4304 VULKAN_HPP_INLINE std::string to_string( MemoryMapFlagBits ) 4305 { 4306 return "(void)"; 4307 } 4308 4309 to_string(ImageAspectFlagBits value)4310 VULKAN_HPP_INLINE std::string to_string( ImageAspectFlagBits value ) 4311 { 4312 switch ( value ) 4313 { 4314 case ImageAspectFlagBits::eColor : return "Color"; 4315 case ImageAspectFlagBits::eDepth : return "Depth"; 4316 case ImageAspectFlagBits::eStencil : return "Stencil"; 4317 case ImageAspectFlagBits::eMetadata : return "Metadata"; 4318 case ImageAspectFlagBits::ePlane0 : return "Plane0"; 4319 case ImageAspectFlagBits::ePlane1 : return "Plane1"; 4320 case ImageAspectFlagBits::ePlane2 : return "Plane2"; 4321 case ImageAspectFlagBits::eNone : return "None"; 4322 case ImageAspectFlagBits::eMemoryPlane0EXT : return "MemoryPlane0EXT"; 4323 case ImageAspectFlagBits::eMemoryPlane1EXT : return "MemoryPlane1EXT"; 4324 case ImageAspectFlagBits::eMemoryPlane2EXT : return "MemoryPlane2EXT"; 4325 case ImageAspectFlagBits::eMemoryPlane3EXT : return "MemoryPlane3EXT"; 4326 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4327 } 4328 4329 } 4330 4331 to_string(SparseImageFormatFlagBits value)4332 VULKAN_HPP_INLINE std::string to_string( SparseImageFormatFlagBits value ) 4333 { 4334 switch ( value ) 4335 { 4336 case SparseImageFormatFlagBits::eSingleMiptail : return "SingleMiptail"; 4337 case SparseImageFormatFlagBits::eAlignedMipSize : return "AlignedMipSize"; 4338 case SparseImageFormatFlagBits::eNonstandardBlockSize : return "NonstandardBlockSize"; 4339 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4340 } 4341 4342 } 4343 4344 to_string(SparseMemoryBindFlagBits value)4345 VULKAN_HPP_INLINE std::string to_string( SparseMemoryBindFlagBits value ) 4346 { 4347 switch ( value ) 4348 { 4349 case SparseMemoryBindFlagBits::eMetadata : return "Metadata"; 4350 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4351 } 4352 4353 } 4354 4355 to_string(FenceCreateFlagBits value)4356 VULKAN_HPP_INLINE std::string to_string( FenceCreateFlagBits value ) 4357 { 4358 switch ( value ) 4359 { 4360 case FenceCreateFlagBits::eSignaled : return "Signaled"; 4361 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4362 } 4363 4364 } 4365 4366 to_string(SemaphoreCreateFlagBits)4367 VULKAN_HPP_INLINE std::string to_string( SemaphoreCreateFlagBits ) 4368 { 4369 return "(void)"; 4370 } 4371 4372 to_string(EventCreateFlagBits value)4373 VULKAN_HPP_INLINE std::string to_string( EventCreateFlagBits value ) 4374 { 4375 switch ( value ) 4376 { 4377 case EventCreateFlagBits::eDeviceOnly : return "DeviceOnly"; 4378 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4379 } 4380 4381 } 4382 4383 to_string(QueryPipelineStatisticFlagBits value)4384 VULKAN_HPP_INLINE std::string to_string( QueryPipelineStatisticFlagBits value ) 4385 { 4386 switch ( value ) 4387 { 4388 case QueryPipelineStatisticFlagBits::eInputAssemblyVertices : return "InputAssemblyVertices"; 4389 case QueryPipelineStatisticFlagBits::eInputAssemblyPrimitives : return "InputAssemblyPrimitives"; 4390 case QueryPipelineStatisticFlagBits::eVertexShaderInvocations : return "VertexShaderInvocations"; 4391 case QueryPipelineStatisticFlagBits::eGeometryShaderInvocations : return "GeometryShaderInvocations"; 4392 case QueryPipelineStatisticFlagBits::eGeometryShaderPrimitives : return "GeometryShaderPrimitives"; 4393 case QueryPipelineStatisticFlagBits::eClippingInvocations : return "ClippingInvocations"; 4394 case QueryPipelineStatisticFlagBits::eClippingPrimitives : return "ClippingPrimitives"; 4395 case QueryPipelineStatisticFlagBits::eFragmentShaderInvocations : return "FragmentShaderInvocations"; 4396 case QueryPipelineStatisticFlagBits::eTessellationControlShaderPatches : return "TessellationControlShaderPatches"; 4397 case QueryPipelineStatisticFlagBits::eTessellationEvaluationShaderInvocations : return "TessellationEvaluationShaderInvocations"; 4398 case QueryPipelineStatisticFlagBits::eComputeShaderInvocations : return "ComputeShaderInvocations"; 4399 case QueryPipelineStatisticFlagBits::eTaskShaderInvocationsEXT : return "TaskShaderInvocationsEXT"; 4400 case QueryPipelineStatisticFlagBits::eMeshShaderInvocationsEXT : return "MeshShaderInvocationsEXT"; 4401 case QueryPipelineStatisticFlagBits::eClusterCullingShaderInvocationsHUAWEI : return "ClusterCullingShaderInvocationsHUAWEI"; 4402 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4403 } 4404 4405 } 4406 4407 to_string(QueryResultFlagBits value)4408 VULKAN_HPP_INLINE std::string to_string( QueryResultFlagBits value ) 4409 { 4410 switch ( value ) 4411 { 4412 case QueryResultFlagBits::e64 : return "64"; 4413 case QueryResultFlagBits::eWait : return "Wait"; 4414 case QueryResultFlagBits::eWithAvailability : return "WithAvailability"; 4415 case QueryResultFlagBits::ePartial : return "Partial"; 4416 case QueryResultFlagBits::eWithStatusKHR : return "WithStatusKHR"; 4417 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4418 } 4419 4420 } 4421 4422 to_string(QueryType value)4423 VULKAN_HPP_INLINE std::string to_string( QueryType value ) 4424 { 4425 switch ( value ) 4426 { 4427 case QueryType::eOcclusion : return "Occlusion"; 4428 case QueryType::ePipelineStatistics : return "PipelineStatistics"; 4429 case QueryType::eTimestamp : return "Timestamp"; 4430 case QueryType::eResultStatusOnlyKHR : return "ResultStatusOnlyKHR"; 4431 case QueryType::eTransformFeedbackStreamEXT : return "TransformFeedbackStreamEXT"; 4432 case QueryType::ePerformanceQueryKHR : return "PerformanceQueryKHR"; 4433 case QueryType::eAccelerationStructureCompactedSizeKHR : return "AccelerationStructureCompactedSizeKHR"; 4434 case QueryType::eAccelerationStructureSerializationSizeKHR : return "AccelerationStructureSerializationSizeKHR"; 4435 case QueryType::eAccelerationStructureCompactedSizeNV : return "AccelerationStructureCompactedSizeNV"; 4436 case QueryType::ePerformanceQueryINTEL : return "PerformanceQueryINTEL"; 4437 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 4438 case QueryType::eVideoEncodeFeedbackKHR : return "VideoEncodeFeedbackKHR"; 4439 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 4440 case QueryType::eMeshPrimitivesGeneratedEXT : return "MeshPrimitivesGeneratedEXT"; 4441 case QueryType::ePrimitivesGeneratedEXT : return "PrimitivesGeneratedEXT"; 4442 case QueryType::eAccelerationStructureSerializationBottomLevelPointersKHR : return "AccelerationStructureSerializationBottomLevelPointersKHR"; 4443 case QueryType::eAccelerationStructureSizeKHR : return "AccelerationStructureSizeKHR"; 4444 case QueryType::eMicromapSerializationSizeEXT : return "MicromapSerializationSizeEXT"; 4445 case QueryType::eMicromapCompactedSizeEXT : return "MicromapCompactedSizeEXT"; 4446 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4447 } 4448 4449 } 4450 4451 to_string(QueryPoolCreateFlagBits)4452 VULKAN_HPP_INLINE std::string to_string( QueryPoolCreateFlagBits ) 4453 { 4454 return "(void)"; 4455 } 4456 4457 to_string(BufferCreateFlagBits value)4458 VULKAN_HPP_INLINE std::string to_string( BufferCreateFlagBits value ) 4459 { 4460 switch ( value ) 4461 { 4462 case BufferCreateFlagBits::eSparseBinding : return "SparseBinding"; 4463 case BufferCreateFlagBits::eSparseResidency : return "SparseResidency"; 4464 case BufferCreateFlagBits::eSparseAliased : return "SparseAliased"; 4465 case BufferCreateFlagBits::eProtected : return "Protected"; 4466 case BufferCreateFlagBits::eDeviceAddressCaptureReplay : return "DeviceAddressCaptureReplay"; 4467 case BufferCreateFlagBits::eDescriptorBufferCaptureReplayEXT : return "DescriptorBufferCaptureReplayEXT"; 4468 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4469 } 4470 4471 } 4472 4473 to_string(BufferUsageFlagBits value)4474 VULKAN_HPP_INLINE std::string to_string( BufferUsageFlagBits value ) 4475 { 4476 switch ( value ) 4477 { 4478 case BufferUsageFlagBits::eTransferSrc : return "TransferSrc"; 4479 case BufferUsageFlagBits::eTransferDst : return "TransferDst"; 4480 case BufferUsageFlagBits::eUniformTexelBuffer : return "UniformTexelBuffer"; 4481 case BufferUsageFlagBits::eStorageTexelBuffer : return "StorageTexelBuffer"; 4482 case BufferUsageFlagBits::eUniformBuffer : return "UniformBuffer"; 4483 case BufferUsageFlagBits::eStorageBuffer : return "StorageBuffer"; 4484 case BufferUsageFlagBits::eIndexBuffer : return "IndexBuffer"; 4485 case BufferUsageFlagBits::eVertexBuffer : return "VertexBuffer"; 4486 case BufferUsageFlagBits::eIndirectBuffer : return "IndirectBuffer"; 4487 case BufferUsageFlagBits::eShaderDeviceAddress : return "ShaderDeviceAddress"; 4488 case BufferUsageFlagBits::eVideoDecodeSrcKHR : return "VideoDecodeSrcKHR"; 4489 case BufferUsageFlagBits::eVideoDecodeDstKHR : return "VideoDecodeDstKHR"; 4490 case BufferUsageFlagBits::eTransformFeedbackBufferEXT : return "TransformFeedbackBufferEXT"; 4491 case BufferUsageFlagBits::eTransformFeedbackCounterBufferEXT : return "TransformFeedbackCounterBufferEXT"; 4492 case BufferUsageFlagBits::eConditionalRenderingEXT : return "ConditionalRenderingEXT"; 4493 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 4494 case BufferUsageFlagBits::eExecutionGraphScratchAMDX : return "ExecutionGraphScratchAMDX"; 4495 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 4496 case BufferUsageFlagBits::eAccelerationStructureBuildInputReadOnlyKHR : return "AccelerationStructureBuildInputReadOnlyKHR"; 4497 case BufferUsageFlagBits::eAccelerationStructureStorageKHR : return "AccelerationStructureStorageKHR"; 4498 case BufferUsageFlagBits::eShaderBindingTableKHR : return "ShaderBindingTableKHR"; 4499 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 4500 case BufferUsageFlagBits::eVideoEncodeDstKHR : return "VideoEncodeDstKHR"; 4501 case BufferUsageFlagBits::eVideoEncodeSrcKHR : return "VideoEncodeSrcKHR"; 4502 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 4503 case BufferUsageFlagBits::eSamplerDescriptorBufferEXT : return "SamplerDescriptorBufferEXT"; 4504 case BufferUsageFlagBits::eResourceDescriptorBufferEXT : return "ResourceDescriptorBufferEXT"; 4505 case BufferUsageFlagBits::ePushDescriptorsDescriptorBufferEXT : return "PushDescriptorsDescriptorBufferEXT"; 4506 case BufferUsageFlagBits::eMicromapBuildInputReadOnlyEXT : return "MicromapBuildInputReadOnlyEXT"; 4507 case BufferUsageFlagBits::eMicromapStorageEXT : return "MicromapStorageEXT"; 4508 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4509 } 4510 4511 } 4512 4513 to_string(SharingMode value)4514 VULKAN_HPP_INLINE std::string to_string( SharingMode value ) 4515 { 4516 switch ( value ) 4517 { 4518 case SharingMode::eExclusive : return "Exclusive"; 4519 case SharingMode::eConcurrent : return "Concurrent"; 4520 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4521 } 4522 4523 } 4524 4525 to_string(BufferViewCreateFlagBits)4526 VULKAN_HPP_INLINE std::string to_string( BufferViewCreateFlagBits ) 4527 { 4528 return "(void)"; 4529 } 4530 4531 to_string(ImageLayout value)4532 VULKAN_HPP_INLINE std::string to_string( ImageLayout value ) 4533 { 4534 switch ( value ) 4535 { 4536 case ImageLayout::eUndefined : return "Undefined"; 4537 case ImageLayout::eGeneral : return "General"; 4538 case ImageLayout::eColorAttachmentOptimal : return "ColorAttachmentOptimal"; 4539 case ImageLayout::eDepthStencilAttachmentOptimal : return "DepthStencilAttachmentOptimal"; 4540 case ImageLayout::eDepthStencilReadOnlyOptimal : return "DepthStencilReadOnlyOptimal"; 4541 case ImageLayout::eShaderReadOnlyOptimal : return "ShaderReadOnlyOptimal"; 4542 case ImageLayout::eTransferSrcOptimal : return "TransferSrcOptimal"; 4543 case ImageLayout::eTransferDstOptimal : return "TransferDstOptimal"; 4544 case ImageLayout::ePreinitialized : return "Preinitialized"; 4545 case ImageLayout::eDepthReadOnlyStencilAttachmentOptimal : return "DepthReadOnlyStencilAttachmentOptimal"; 4546 case ImageLayout::eDepthAttachmentStencilReadOnlyOptimal : return "DepthAttachmentStencilReadOnlyOptimal"; 4547 case ImageLayout::eDepthAttachmentOptimal : return "DepthAttachmentOptimal"; 4548 case ImageLayout::eDepthReadOnlyOptimal : return "DepthReadOnlyOptimal"; 4549 case ImageLayout::eStencilAttachmentOptimal : return "StencilAttachmentOptimal"; 4550 case ImageLayout::eStencilReadOnlyOptimal : return "StencilReadOnlyOptimal"; 4551 case ImageLayout::eReadOnlyOptimal : return "ReadOnlyOptimal"; 4552 case ImageLayout::eAttachmentOptimal : return "AttachmentOptimal"; 4553 case ImageLayout::ePresentSrcKHR : return "PresentSrcKHR"; 4554 case ImageLayout::eVideoDecodeDstKHR : return "VideoDecodeDstKHR"; 4555 case ImageLayout::eVideoDecodeSrcKHR : return "VideoDecodeSrcKHR"; 4556 case ImageLayout::eVideoDecodeDpbKHR : return "VideoDecodeDpbKHR"; 4557 case ImageLayout::eSharedPresentKHR : return "SharedPresentKHR"; 4558 case ImageLayout::eFragmentDensityMapOptimalEXT : return "FragmentDensityMapOptimalEXT"; 4559 case ImageLayout::eFragmentShadingRateAttachmentOptimalKHR : return "FragmentShadingRateAttachmentOptimalKHR"; 4560 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 4561 case ImageLayout::eVideoEncodeDstKHR : return "VideoEncodeDstKHR"; 4562 case ImageLayout::eVideoEncodeSrcKHR : return "VideoEncodeSrcKHR"; 4563 case ImageLayout::eVideoEncodeDpbKHR : return "VideoEncodeDpbKHR"; 4564 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 4565 case ImageLayout::eAttachmentFeedbackLoopOptimalEXT : return "AttachmentFeedbackLoopOptimalEXT"; 4566 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4567 } 4568 4569 } 4570 4571 to_string(ComponentSwizzle value)4572 VULKAN_HPP_INLINE std::string to_string( ComponentSwizzle value ) 4573 { 4574 switch ( value ) 4575 { 4576 case ComponentSwizzle::eIdentity : return "Identity"; 4577 case ComponentSwizzle::eZero : return "Zero"; 4578 case ComponentSwizzle::eOne : return "One"; 4579 case ComponentSwizzle::eR : return "R"; 4580 case ComponentSwizzle::eG : return "G"; 4581 case ComponentSwizzle::eB : return "B"; 4582 case ComponentSwizzle::eA : return "A"; 4583 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4584 } 4585 4586 } 4587 4588 to_string(ImageViewCreateFlagBits value)4589 VULKAN_HPP_INLINE std::string to_string( ImageViewCreateFlagBits value ) 4590 { 4591 switch ( value ) 4592 { 4593 case ImageViewCreateFlagBits::eFragmentDensityMapDynamicEXT : return "FragmentDensityMapDynamicEXT"; 4594 case ImageViewCreateFlagBits::eDescriptorBufferCaptureReplayEXT : return "DescriptorBufferCaptureReplayEXT"; 4595 case ImageViewCreateFlagBits::eFragmentDensityMapDeferredEXT : return "FragmentDensityMapDeferredEXT"; 4596 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4597 } 4598 4599 } 4600 4601 to_string(ImageViewType value)4602 VULKAN_HPP_INLINE std::string to_string( ImageViewType value ) 4603 { 4604 switch ( value ) 4605 { 4606 case ImageViewType::e1D : return "1D"; 4607 case ImageViewType::e2D : return "2D"; 4608 case ImageViewType::e3D : return "3D"; 4609 case ImageViewType::eCube : return "Cube"; 4610 case ImageViewType::e1DArray : return "1DArray"; 4611 case ImageViewType::e2DArray : return "2DArray"; 4612 case ImageViewType::eCubeArray : return "CubeArray"; 4613 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4614 } 4615 4616 } 4617 4618 to_string(ShaderModuleCreateFlagBits)4619 VULKAN_HPP_INLINE std::string to_string( ShaderModuleCreateFlagBits ) 4620 { 4621 return "(void)"; 4622 } 4623 4624 to_string(PipelineCacheCreateFlagBits value)4625 VULKAN_HPP_INLINE std::string to_string( PipelineCacheCreateFlagBits value ) 4626 { 4627 switch ( value ) 4628 { 4629 case PipelineCacheCreateFlagBits::eExternallySynchronized : return "ExternallySynchronized"; 4630 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4631 } 4632 4633 } 4634 4635 to_string(BlendFactor value)4636 VULKAN_HPP_INLINE std::string to_string( BlendFactor value ) 4637 { 4638 switch ( value ) 4639 { 4640 case BlendFactor::eZero : return "Zero"; 4641 case BlendFactor::eOne : return "One"; 4642 case BlendFactor::eSrcColor : return "SrcColor"; 4643 case BlendFactor::eOneMinusSrcColor : return "OneMinusSrcColor"; 4644 case BlendFactor::eDstColor : return "DstColor"; 4645 case BlendFactor::eOneMinusDstColor : return "OneMinusDstColor"; 4646 case BlendFactor::eSrcAlpha : return "SrcAlpha"; 4647 case BlendFactor::eOneMinusSrcAlpha : return "OneMinusSrcAlpha"; 4648 case BlendFactor::eDstAlpha : return "DstAlpha"; 4649 case BlendFactor::eOneMinusDstAlpha : return "OneMinusDstAlpha"; 4650 case BlendFactor::eConstantColor : return "ConstantColor"; 4651 case BlendFactor::eOneMinusConstantColor : return "OneMinusConstantColor"; 4652 case BlendFactor::eConstantAlpha : return "ConstantAlpha"; 4653 case BlendFactor::eOneMinusConstantAlpha : return "OneMinusConstantAlpha"; 4654 case BlendFactor::eSrcAlphaSaturate : return "SrcAlphaSaturate"; 4655 case BlendFactor::eSrc1Color : return "Src1Color"; 4656 case BlendFactor::eOneMinusSrc1Color : return "OneMinusSrc1Color"; 4657 case BlendFactor::eSrc1Alpha : return "Src1Alpha"; 4658 case BlendFactor::eOneMinusSrc1Alpha : return "OneMinusSrc1Alpha"; 4659 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4660 } 4661 4662 } 4663 4664 to_string(BlendOp value)4665 VULKAN_HPP_INLINE std::string to_string( BlendOp value ) 4666 { 4667 switch ( value ) 4668 { 4669 case BlendOp::eAdd : return "Add"; 4670 case BlendOp::eSubtract : return "Subtract"; 4671 case BlendOp::eReverseSubtract : return "ReverseSubtract"; 4672 case BlendOp::eMin : return "Min"; 4673 case BlendOp::eMax : return "Max"; 4674 case BlendOp::eZeroEXT : return "ZeroEXT"; 4675 case BlendOp::eSrcEXT : return "SrcEXT"; 4676 case BlendOp::eDstEXT : return "DstEXT"; 4677 case BlendOp::eSrcOverEXT : return "SrcOverEXT"; 4678 case BlendOp::eDstOverEXT : return "DstOverEXT"; 4679 case BlendOp::eSrcInEXT : return "SrcInEXT"; 4680 case BlendOp::eDstInEXT : return "DstInEXT"; 4681 case BlendOp::eSrcOutEXT : return "SrcOutEXT"; 4682 case BlendOp::eDstOutEXT : return "DstOutEXT"; 4683 case BlendOp::eSrcAtopEXT : return "SrcAtopEXT"; 4684 case BlendOp::eDstAtopEXT : return "DstAtopEXT"; 4685 case BlendOp::eXorEXT : return "XorEXT"; 4686 case BlendOp::eMultiplyEXT : return "MultiplyEXT"; 4687 case BlendOp::eScreenEXT : return "ScreenEXT"; 4688 case BlendOp::eOverlayEXT : return "OverlayEXT"; 4689 case BlendOp::eDarkenEXT : return "DarkenEXT"; 4690 case BlendOp::eLightenEXT : return "LightenEXT"; 4691 case BlendOp::eColordodgeEXT : return "ColordodgeEXT"; 4692 case BlendOp::eColorburnEXT : return "ColorburnEXT"; 4693 case BlendOp::eHardlightEXT : return "HardlightEXT"; 4694 case BlendOp::eSoftlightEXT : return "SoftlightEXT"; 4695 case BlendOp::eDifferenceEXT : return "DifferenceEXT"; 4696 case BlendOp::eExclusionEXT : return "ExclusionEXT"; 4697 case BlendOp::eInvertEXT : return "InvertEXT"; 4698 case BlendOp::eInvertRgbEXT : return "InvertRgbEXT"; 4699 case BlendOp::eLineardodgeEXT : return "LineardodgeEXT"; 4700 case BlendOp::eLinearburnEXT : return "LinearburnEXT"; 4701 case BlendOp::eVividlightEXT : return "VividlightEXT"; 4702 case BlendOp::eLinearlightEXT : return "LinearlightEXT"; 4703 case BlendOp::ePinlightEXT : return "PinlightEXT"; 4704 case BlendOp::eHardmixEXT : return "HardmixEXT"; 4705 case BlendOp::eHslHueEXT : return "HslHueEXT"; 4706 case BlendOp::eHslSaturationEXT : return "HslSaturationEXT"; 4707 case BlendOp::eHslColorEXT : return "HslColorEXT"; 4708 case BlendOp::eHslLuminosityEXT : return "HslLuminosityEXT"; 4709 case BlendOp::ePlusEXT : return "PlusEXT"; 4710 case BlendOp::ePlusClampedEXT : return "PlusClampedEXT"; 4711 case BlendOp::ePlusClampedAlphaEXT : return "PlusClampedAlphaEXT"; 4712 case BlendOp::ePlusDarkerEXT : return "PlusDarkerEXT"; 4713 case BlendOp::eMinusEXT : return "MinusEXT"; 4714 case BlendOp::eMinusClampedEXT : return "MinusClampedEXT"; 4715 case BlendOp::eContrastEXT : return "ContrastEXT"; 4716 case BlendOp::eInvertOvgEXT : return "InvertOvgEXT"; 4717 case BlendOp::eRedEXT : return "RedEXT"; 4718 case BlendOp::eGreenEXT : return "GreenEXT"; 4719 case BlendOp::eBlueEXT : return "BlueEXT"; 4720 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4721 } 4722 4723 } 4724 4725 to_string(ColorComponentFlagBits value)4726 VULKAN_HPP_INLINE std::string to_string( ColorComponentFlagBits value ) 4727 { 4728 switch ( value ) 4729 { 4730 case ColorComponentFlagBits::eR : return "R"; 4731 case ColorComponentFlagBits::eG : return "G"; 4732 case ColorComponentFlagBits::eB : return "B"; 4733 case ColorComponentFlagBits::eA : return "A"; 4734 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4735 } 4736 4737 } 4738 4739 to_string(CompareOp value)4740 VULKAN_HPP_INLINE std::string to_string( CompareOp value ) 4741 { 4742 switch ( value ) 4743 { 4744 case CompareOp::eNever : return "Never"; 4745 case CompareOp::eLess : return "Less"; 4746 case CompareOp::eEqual : return "Equal"; 4747 case CompareOp::eLessOrEqual : return "LessOrEqual"; 4748 case CompareOp::eGreater : return "Greater"; 4749 case CompareOp::eNotEqual : return "NotEqual"; 4750 case CompareOp::eGreaterOrEqual : return "GreaterOrEqual"; 4751 case CompareOp::eAlways : return "Always"; 4752 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4753 } 4754 4755 } 4756 4757 to_string(CullModeFlagBits value)4758 VULKAN_HPP_INLINE std::string to_string( CullModeFlagBits value ) 4759 { 4760 switch ( value ) 4761 { 4762 case CullModeFlagBits::eNone : return "None"; 4763 case CullModeFlagBits::eFront : return "Front"; 4764 case CullModeFlagBits::eBack : return "Back"; 4765 case CullModeFlagBits::eFrontAndBack : return "FrontAndBack"; 4766 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4767 } 4768 4769 } 4770 4771 to_string(DynamicState value)4772 VULKAN_HPP_INLINE std::string to_string( DynamicState value ) 4773 { 4774 switch ( value ) 4775 { 4776 case DynamicState::eViewport : return "Viewport"; 4777 case DynamicState::eScissor : return "Scissor"; 4778 case DynamicState::eLineWidth : return "LineWidth"; 4779 case DynamicState::eDepthBias : return "DepthBias"; 4780 case DynamicState::eBlendConstants : return "BlendConstants"; 4781 case DynamicState::eDepthBounds : return "DepthBounds"; 4782 case DynamicState::eStencilCompareMask : return "StencilCompareMask"; 4783 case DynamicState::eStencilWriteMask : return "StencilWriteMask"; 4784 case DynamicState::eStencilReference : return "StencilReference"; 4785 case DynamicState::eCullMode : return "CullMode"; 4786 case DynamicState::eFrontFace : return "FrontFace"; 4787 case DynamicState::ePrimitiveTopology : return "PrimitiveTopology"; 4788 case DynamicState::eViewportWithCount : return "ViewportWithCount"; 4789 case DynamicState::eScissorWithCount : return "ScissorWithCount"; 4790 case DynamicState::eVertexInputBindingStride : return "VertexInputBindingStride"; 4791 case DynamicState::eDepthTestEnable : return "DepthTestEnable"; 4792 case DynamicState::eDepthWriteEnable : return "DepthWriteEnable"; 4793 case DynamicState::eDepthCompareOp : return "DepthCompareOp"; 4794 case DynamicState::eDepthBoundsTestEnable : return "DepthBoundsTestEnable"; 4795 case DynamicState::eStencilTestEnable : return "StencilTestEnable"; 4796 case DynamicState::eStencilOp : return "StencilOp"; 4797 case DynamicState::eRasterizerDiscardEnable : return "RasterizerDiscardEnable"; 4798 case DynamicState::eDepthBiasEnable : return "DepthBiasEnable"; 4799 case DynamicState::ePrimitiveRestartEnable : return "PrimitiveRestartEnable"; 4800 case DynamicState::eViewportWScalingNV : return "ViewportWScalingNV"; 4801 case DynamicState::eDiscardRectangleEXT : return "DiscardRectangleEXT"; 4802 case DynamicState::eDiscardRectangleEnableEXT : return "DiscardRectangleEnableEXT"; 4803 case DynamicState::eDiscardRectangleModeEXT : return "DiscardRectangleModeEXT"; 4804 case DynamicState::eSampleLocationsEXT : return "SampleLocationsEXT"; 4805 case DynamicState::eRayTracingPipelineStackSizeKHR : return "RayTracingPipelineStackSizeKHR"; 4806 case DynamicState::eViewportShadingRatePaletteNV : return "ViewportShadingRatePaletteNV"; 4807 case DynamicState::eViewportCoarseSampleOrderNV : return "ViewportCoarseSampleOrderNV"; 4808 case DynamicState::eExclusiveScissorEnableNV : return "ExclusiveScissorEnableNV"; 4809 case DynamicState::eExclusiveScissorNV : return "ExclusiveScissorNV"; 4810 case DynamicState::eFragmentShadingRateKHR : return "FragmentShadingRateKHR"; 4811 case DynamicState::eLineStippleEXT : return "LineStippleEXT"; 4812 case DynamicState::eVertexInputEXT : return "VertexInputEXT"; 4813 case DynamicState::ePatchControlPointsEXT : return "PatchControlPointsEXT"; 4814 case DynamicState::eLogicOpEXT : return "LogicOpEXT"; 4815 case DynamicState::eColorWriteEnableEXT : return "ColorWriteEnableEXT"; 4816 case DynamicState::eTessellationDomainOriginEXT : return "TessellationDomainOriginEXT"; 4817 case DynamicState::eDepthClampEnableEXT : return "DepthClampEnableEXT"; 4818 case DynamicState::ePolygonModeEXT : return "PolygonModeEXT"; 4819 case DynamicState::eRasterizationSamplesEXT : return "RasterizationSamplesEXT"; 4820 case DynamicState::eSampleMaskEXT : return "SampleMaskEXT"; 4821 case DynamicState::eAlphaToCoverageEnableEXT : return "AlphaToCoverageEnableEXT"; 4822 case DynamicState::eAlphaToOneEnableEXT : return "AlphaToOneEnableEXT"; 4823 case DynamicState::eLogicOpEnableEXT : return "LogicOpEnableEXT"; 4824 case DynamicState::eColorBlendEnableEXT : return "ColorBlendEnableEXT"; 4825 case DynamicState::eColorBlendEquationEXT : return "ColorBlendEquationEXT"; 4826 case DynamicState::eColorWriteMaskEXT : return "ColorWriteMaskEXT"; 4827 case DynamicState::eRasterizationStreamEXT : return "RasterizationStreamEXT"; 4828 case DynamicState::eConservativeRasterizationModeEXT : return "ConservativeRasterizationModeEXT"; 4829 case DynamicState::eExtraPrimitiveOverestimationSizeEXT : return "ExtraPrimitiveOverestimationSizeEXT"; 4830 case DynamicState::eDepthClipEnableEXT : return "DepthClipEnableEXT"; 4831 case DynamicState::eSampleLocationsEnableEXT : return "SampleLocationsEnableEXT"; 4832 case DynamicState::eColorBlendAdvancedEXT : return "ColorBlendAdvancedEXT"; 4833 case DynamicState::eProvokingVertexModeEXT : return "ProvokingVertexModeEXT"; 4834 case DynamicState::eLineRasterizationModeEXT : return "LineRasterizationModeEXT"; 4835 case DynamicState::eLineStippleEnableEXT : return "LineStippleEnableEXT"; 4836 case DynamicState::eDepthClipNegativeOneToOneEXT : return "DepthClipNegativeOneToOneEXT"; 4837 case DynamicState::eViewportWScalingEnableNV : return "ViewportWScalingEnableNV"; 4838 case DynamicState::eViewportSwizzleNV : return "ViewportSwizzleNV"; 4839 case DynamicState::eCoverageToColorEnableNV : return "CoverageToColorEnableNV"; 4840 case DynamicState::eCoverageToColorLocationNV : return "CoverageToColorLocationNV"; 4841 case DynamicState::eCoverageModulationModeNV : return "CoverageModulationModeNV"; 4842 case DynamicState::eCoverageModulationTableEnableNV : return "CoverageModulationTableEnableNV"; 4843 case DynamicState::eCoverageModulationTableNV : return "CoverageModulationTableNV"; 4844 case DynamicState::eShadingRateImageEnableNV : return "ShadingRateImageEnableNV"; 4845 case DynamicState::eRepresentativeFragmentTestEnableNV : return "RepresentativeFragmentTestEnableNV"; 4846 case DynamicState::eCoverageReductionModeNV : return "CoverageReductionModeNV"; 4847 case DynamicState::eAttachmentFeedbackLoopEnableEXT : return "AttachmentFeedbackLoopEnableEXT"; 4848 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4849 } 4850 4851 } 4852 4853 to_string(FrontFace value)4854 VULKAN_HPP_INLINE std::string to_string( FrontFace value ) 4855 { 4856 switch ( value ) 4857 { 4858 case FrontFace::eCounterClockwise : return "CounterClockwise"; 4859 case FrontFace::eClockwise : return "Clockwise"; 4860 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4861 } 4862 4863 } 4864 4865 to_string(LogicOp value)4866 VULKAN_HPP_INLINE std::string to_string( LogicOp value ) 4867 { 4868 switch ( value ) 4869 { 4870 case LogicOp::eClear : return "Clear"; 4871 case LogicOp::eAnd : return "And"; 4872 case LogicOp::eAndReverse : return "AndReverse"; 4873 case LogicOp::eCopy : return "Copy"; 4874 case LogicOp::eAndInverted : return "AndInverted"; 4875 case LogicOp::eNoOp : return "NoOp"; 4876 case LogicOp::eXor : return "Xor"; 4877 case LogicOp::eOr : return "Or"; 4878 case LogicOp::eNor : return "Nor"; 4879 case LogicOp::eEquivalent : return "Equivalent"; 4880 case LogicOp::eInvert : return "Invert"; 4881 case LogicOp::eOrReverse : return "OrReverse"; 4882 case LogicOp::eCopyInverted : return "CopyInverted"; 4883 case LogicOp::eOrInverted : return "OrInverted"; 4884 case LogicOp::eNand : return "Nand"; 4885 case LogicOp::eSet : return "Set"; 4886 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4887 } 4888 4889 } 4890 4891 to_string(PipelineCreateFlagBits value)4892 VULKAN_HPP_INLINE std::string to_string( PipelineCreateFlagBits value ) 4893 { 4894 switch ( value ) 4895 { 4896 case PipelineCreateFlagBits::eDisableOptimization : return "DisableOptimization"; 4897 case PipelineCreateFlagBits::eAllowDerivatives : return "AllowDerivatives"; 4898 case PipelineCreateFlagBits::eDerivative : return "Derivative"; 4899 case PipelineCreateFlagBits::eViewIndexFromDeviceIndex : return "ViewIndexFromDeviceIndex"; 4900 case PipelineCreateFlagBits::eDispatchBase : return "DispatchBase"; 4901 case PipelineCreateFlagBits::eFailOnPipelineCompileRequired : return "FailOnPipelineCompileRequired"; 4902 case PipelineCreateFlagBits::eEarlyReturnOnFailure : return "EarlyReturnOnFailure"; 4903 case PipelineCreateFlagBits::eRenderingFragmentShadingRateAttachmentKHR : return "RenderingFragmentShadingRateAttachmentKHR"; 4904 case PipelineCreateFlagBits::eRenderingFragmentDensityMapAttachmentEXT : return "RenderingFragmentDensityMapAttachmentEXT"; 4905 case PipelineCreateFlagBits::eRayTracingNoNullAnyHitShadersKHR : return "RayTracingNoNullAnyHitShadersKHR"; 4906 case PipelineCreateFlagBits::eRayTracingNoNullClosestHitShadersKHR : return "RayTracingNoNullClosestHitShadersKHR"; 4907 case PipelineCreateFlagBits::eRayTracingNoNullMissShadersKHR : return "RayTracingNoNullMissShadersKHR"; 4908 case PipelineCreateFlagBits::eRayTracingNoNullIntersectionShadersKHR : return "RayTracingNoNullIntersectionShadersKHR"; 4909 case PipelineCreateFlagBits::eRayTracingSkipTrianglesKHR : return "RayTracingSkipTrianglesKHR"; 4910 case PipelineCreateFlagBits::eRayTracingSkipAabbsKHR : return "RayTracingSkipAabbsKHR"; 4911 case PipelineCreateFlagBits::eRayTracingShaderGroupHandleCaptureReplayKHR : return "RayTracingShaderGroupHandleCaptureReplayKHR"; 4912 case PipelineCreateFlagBits::eDeferCompileNV : return "DeferCompileNV"; 4913 case PipelineCreateFlagBits::eCaptureStatisticsKHR : return "CaptureStatisticsKHR"; 4914 case PipelineCreateFlagBits::eCaptureInternalRepresentationsKHR : return "CaptureInternalRepresentationsKHR"; 4915 case PipelineCreateFlagBits::eIndirectBindableNV : return "IndirectBindableNV"; 4916 case PipelineCreateFlagBits::eLibraryKHR : return "LibraryKHR"; 4917 case PipelineCreateFlagBits::eDescriptorBufferEXT : return "DescriptorBufferEXT"; 4918 case PipelineCreateFlagBits::eRetainLinkTimeOptimizationInfoEXT : return "RetainLinkTimeOptimizationInfoEXT"; 4919 case PipelineCreateFlagBits::eLinkTimeOptimizationEXT : return "LinkTimeOptimizationEXT"; 4920 case PipelineCreateFlagBits::eRayTracingAllowMotionNV : return "RayTracingAllowMotionNV"; 4921 case PipelineCreateFlagBits::eColorAttachmentFeedbackLoopEXT : return "ColorAttachmentFeedbackLoopEXT"; 4922 case PipelineCreateFlagBits::eDepthStencilAttachmentFeedbackLoopEXT : return "DepthStencilAttachmentFeedbackLoopEXT"; 4923 case PipelineCreateFlagBits::eRayTracingOpacityMicromapEXT : return "RayTracingOpacityMicromapEXT"; 4924 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 4925 case PipelineCreateFlagBits::eRayTracingDisplacementMicromapNV : return "RayTracingDisplacementMicromapNV"; 4926 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 4927 case PipelineCreateFlagBits::eNoProtectedAccessEXT : return "NoProtectedAccessEXT"; 4928 case PipelineCreateFlagBits::eProtectedAccessOnlyEXT : return "ProtectedAccessOnlyEXT"; 4929 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4930 } 4931 4932 } 4933 4934 to_string(PipelineShaderStageCreateFlagBits value)4935 VULKAN_HPP_INLINE std::string to_string( PipelineShaderStageCreateFlagBits value ) 4936 { 4937 switch ( value ) 4938 { 4939 case PipelineShaderStageCreateFlagBits::eAllowVaryingSubgroupSize : return "AllowVaryingSubgroupSize"; 4940 case PipelineShaderStageCreateFlagBits::eRequireFullSubgroups : return "RequireFullSubgroups"; 4941 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4942 } 4943 4944 } 4945 4946 to_string(PolygonMode value)4947 VULKAN_HPP_INLINE std::string to_string( PolygonMode value ) 4948 { 4949 switch ( value ) 4950 { 4951 case PolygonMode::eFill : return "Fill"; 4952 case PolygonMode::eLine : return "Line"; 4953 case PolygonMode::ePoint : return "Point"; 4954 case PolygonMode::eFillRectangleNV : return "FillRectangleNV"; 4955 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4956 } 4957 4958 } 4959 4960 to_string(PrimitiveTopology value)4961 VULKAN_HPP_INLINE std::string to_string( PrimitiveTopology value ) 4962 { 4963 switch ( value ) 4964 { 4965 case PrimitiveTopology::ePointList : return "PointList"; 4966 case PrimitiveTopology::eLineList : return "LineList"; 4967 case PrimitiveTopology::eLineStrip : return "LineStrip"; 4968 case PrimitiveTopology::eTriangleList : return "TriangleList"; 4969 case PrimitiveTopology::eTriangleStrip : return "TriangleStrip"; 4970 case PrimitiveTopology::eTriangleFan : return "TriangleFan"; 4971 case PrimitiveTopology::eLineListWithAdjacency : return "LineListWithAdjacency"; 4972 case PrimitiveTopology::eLineStripWithAdjacency : return "LineStripWithAdjacency"; 4973 case PrimitiveTopology::eTriangleListWithAdjacency : return "TriangleListWithAdjacency"; 4974 case PrimitiveTopology::eTriangleStripWithAdjacency : return "TriangleStripWithAdjacency"; 4975 case PrimitiveTopology::ePatchList : return "PatchList"; 4976 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 4977 } 4978 4979 } 4980 4981 to_string(ShaderStageFlagBits value)4982 VULKAN_HPP_INLINE std::string to_string( ShaderStageFlagBits value ) 4983 { 4984 switch ( value ) 4985 { 4986 case ShaderStageFlagBits::eVertex : return "Vertex"; 4987 case ShaderStageFlagBits::eTessellationControl : return "TessellationControl"; 4988 case ShaderStageFlagBits::eTessellationEvaluation : return "TessellationEvaluation"; 4989 case ShaderStageFlagBits::eGeometry : return "Geometry"; 4990 case ShaderStageFlagBits::eFragment : return "Fragment"; 4991 case ShaderStageFlagBits::eCompute : return "Compute"; 4992 case ShaderStageFlagBits::eAllGraphics : return "AllGraphics"; 4993 case ShaderStageFlagBits::eAll : return "All"; 4994 case ShaderStageFlagBits::eRaygenKHR : return "RaygenKHR"; 4995 case ShaderStageFlagBits::eAnyHitKHR : return "AnyHitKHR"; 4996 case ShaderStageFlagBits::eClosestHitKHR : return "ClosestHitKHR"; 4997 case ShaderStageFlagBits::eMissKHR : return "MissKHR"; 4998 case ShaderStageFlagBits::eIntersectionKHR : return "IntersectionKHR"; 4999 case ShaderStageFlagBits::eCallableKHR : return "CallableKHR"; 5000 case ShaderStageFlagBits::eTaskEXT : return "TaskEXT"; 5001 case ShaderStageFlagBits::eMeshEXT : return "MeshEXT"; 5002 case ShaderStageFlagBits::eSubpassShadingHUAWEI : return "SubpassShadingHUAWEI"; 5003 case ShaderStageFlagBits::eClusterCullingHUAWEI : return "ClusterCullingHUAWEI"; 5004 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5005 } 5006 5007 } 5008 5009 to_string(StencilOp value)5010 VULKAN_HPP_INLINE std::string to_string( StencilOp value ) 5011 { 5012 switch ( value ) 5013 { 5014 case StencilOp::eKeep : return "Keep"; 5015 case StencilOp::eZero : return "Zero"; 5016 case StencilOp::eReplace : return "Replace"; 5017 case StencilOp::eIncrementAndClamp : return "IncrementAndClamp"; 5018 case StencilOp::eDecrementAndClamp : return "DecrementAndClamp"; 5019 case StencilOp::eInvert : return "Invert"; 5020 case StencilOp::eIncrementAndWrap : return "IncrementAndWrap"; 5021 case StencilOp::eDecrementAndWrap : return "DecrementAndWrap"; 5022 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5023 } 5024 5025 } 5026 5027 to_string(VertexInputRate value)5028 VULKAN_HPP_INLINE std::string to_string( VertexInputRate value ) 5029 { 5030 switch ( value ) 5031 { 5032 case VertexInputRate::eVertex : return "Vertex"; 5033 case VertexInputRate::eInstance : return "Instance"; 5034 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5035 } 5036 5037 } 5038 5039 to_string(PipelineColorBlendStateCreateFlagBits value)5040 VULKAN_HPP_INLINE std::string to_string( PipelineColorBlendStateCreateFlagBits value ) 5041 { 5042 switch ( value ) 5043 { 5044 case PipelineColorBlendStateCreateFlagBits::eRasterizationOrderAttachmentAccessEXT : return "RasterizationOrderAttachmentAccessEXT"; 5045 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5046 } 5047 5048 } 5049 5050 to_string(PipelineDepthStencilStateCreateFlagBits value)5051 VULKAN_HPP_INLINE std::string to_string( PipelineDepthStencilStateCreateFlagBits value ) 5052 { 5053 switch ( value ) 5054 { 5055 case PipelineDepthStencilStateCreateFlagBits::eRasterizationOrderAttachmentDepthAccessEXT : return "RasterizationOrderAttachmentDepthAccessEXT"; 5056 case PipelineDepthStencilStateCreateFlagBits::eRasterizationOrderAttachmentStencilAccessEXT : return "RasterizationOrderAttachmentStencilAccessEXT"; 5057 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5058 } 5059 5060 } 5061 5062 to_string(PipelineDynamicStateCreateFlagBits)5063 VULKAN_HPP_INLINE std::string to_string( PipelineDynamicStateCreateFlagBits ) 5064 { 5065 return "(void)"; 5066 } 5067 5068 to_string(PipelineInputAssemblyStateCreateFlagBits)5069 VULKAN_HPP_INLINE std::string to_string( PipelineInputAssemblyStateCreateFlagBits ) 5070 { 5071 return "(void)"; 5072 } 5073 5074 to_string(PipelineLayoutCreateFlagBits value)5075 VULKAN_HPP_INLINE std::string to_string( PipelineLayoutCreateFlagBits value ) 5076 { 5077 switch ( value ) 5078 { 5079 case PipelineLayoutCreateFlagBits::eIndependentSetsEXT : return "IndependentSetsEXT"; 5080 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5081 } 5082 5083 } 5084 5085 to_string(PipelineMultisampleStateCreateFlagBits)5086 VULKAN_HPP_INLINE std::string to_string( PipelineMultisampleStateCreateFlagBits ) 5087 { 5088 return "(void)"; 5089 } 5090 5091 to_string(PipelineRasterizationStateCreateFlagBits)5092 VULKAN_HPP_INLINE std::string to_string( PipelineRasterizationStateCreateFlagBits ) 5093 { 5094 return "(void)"; 5095 } 5096 5097 to_string(PipelineTessellationStateCreateFlagBits)5098 VULKAN_HPP_INLINE std::string to_string( PipelineTessellationStateCreateFlagBits ) 5099 { 5100 return "(void)"; 5101 } 5102 5103 to_string(PipelineVertexInputStateCreateFlagBits)5104 VULKAN_HPP_INLINE std::string to_string( PipelineVertexInputStateCreateFlagBits ) 5105 { 5106 return "(void)"; 5107 } 5108 5109 to_string(PipelineViewportStateCreateFlagBits)5110 VULKAN_HPP_INLINE std::string to_string( PipelineViewportStateCreateFlagBits ) 5111 { 5112 return "(void)"; 5113 } 5114 5115 to_string(BorderColor value)5116 VULKAN_HPP_INLINE std::string to_string( BorderColor value ) 5117 { 5118 switch ( value ) 5119 { 5120 case BorderColor::eFloatTransparentBlack : return "FloatTransparentBlack"; 5121 case BorderColor::eIntTransparentBlack : return "IntTransparentBlack"; 5122 case BorderColor::eFloatOpaqueBlack : return "FloatOpaqueBlack"; 5123 case BorderColor::eIntOpaqueBlack : return "IntOpaqueBlack"; 5124 case BorderColor::eFloatOpaqueWhite : return "FloatOpaqueWhite"; 5125 case BorderColor::eIntOpaqueWhite : return "IntOpaqueWhite"; 5126 case BorderColor::eFloatCustomEXT : return "FloatCustomEXT"; 5127 case BorderColor::eIntCustomEXT : return "IntCustomEXT"; 5128 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5129 } 5130 5131 } 5132 5133 to_string(Filter value)5134 VULKAN_HPP_INLINE std::string to_string( Filter value ) 5135 { 5136 switch ( value ) 5137 { 5138 case Filter::eNearest : return "Nearest"; 5139 case Filter::eLinear : return "Linear"; 5140 case Filter::eCubicEXT : return "CubicEXT"; 5141 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5142 } 5143 5144 } 5145 5146 to_string(SamplerAddressMode value)5147 VULKAN_HPP_INLINE std::string to_string( SamplerAddressMode value ) 5148 { 5149 switch ( value ) 5150 { 5151 case SamplerAddressMode::eRepeat : return "Repeat"; 5152 case SamplerAddressMode::eMirroredRepeat : return "MirroredRepeat"; 5153 case SamplerAddressMode::eClampToEdge : return "ClampToEdge"; 5154 case SamplerAddressMode::eClampToBorder : return "ClampToBorder"; 5155 case SamplerAddressMode::eMirrorClampToEdge : return "MirrorClampToEdge"; 5156 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5157 } 5158 5159 } 5160 5161 to_string(SamplerCreateFlagBits value)5162 VULKAN_HPP_INLINE std::string to_string( SamplerCreateFlagBits value ) 5163 { 5164 switch ( value ) 5165 { 5166 case SamplerCreateFlagBits::eSubsampledEXT : return "SubsampledEXT"; 5167 case SamplerCreateFlagBits::eSubsampledCoarseReconstructionEXT : return "SubsampledCoarseReconstructionEXT"; 5168 case SamplerCreateFlagBits::eDescriptorBufferCaptureReplayEXT : return "DescriptorBufferCaptureReplayEXT"; 5169 case SamplerCreateFlagBits::eNonSeamlessCubeMapEXT : return "NonSeamlessCubeMapEXT"; 5170 case SamplerCreateFlagBits::eImageProcessingQCOM : return "ImageProcessingQCOM"; 5171 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5172 } 5173 5174 } 5175 5176 to_string(SamplerMipmapMode value)5177 VULKAN_HPP_INLINE std::string to_string( SamplerMipmapMode value ) 5178 { 5179 switch ( value ) 5180 { 5181 case SamplerMipmapMode::eNearest : return "Nearest"; 5182 case SamplerMipmapMode::eLinear : return "Linear"; 5183 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5184 } 5185 5186 } 5187 5188 to_string(DescriptorPoolCreateFlagBits value)5189 VULKAN_HPP_INLINE std::string to_string( DescriptorPoolCreateFlagBits value ) 5190 { 5191 switch ( value ) 5192 { 5193 case DescriptorPoolCreateFlagBits::eFreeDescriptorSet : return "FreeDescriptorSet"; 5194 case DescriptorPoolCreateFlagBits::eUpdateAfterBind : return "UpdateAfterBind"; 5195 case DescriptorPoolCreateFlagBits::eHostOnlyEXT : return "HostOnlyEXT"; 5196 case DescriptorPoolCreateFlagBits::eAllowOverallocationSetsNV : return "AllowOverallocationSetsNV"; 5197 case DescriptorPoolCreateFlagBits::eAllowOverallocationPoolsNV : return "AllowOverallocationPoolsNV"; 5198 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5199 } 5200 5201 } 5202 5203 to_string(DescriptorSetLayoutCreateFlagBits value)5204 VULKAN_HPP_INLINE std::string to_string( DescriptorSetLayoutCreateFlagBits value ) 5205 { 5206 switch ( value ) 5207 { 5208 case DescriptorSetLayoutCreateFlagBits::eUpdateAfterBindPool : return "UpdateAfterBindPool"; 5209 case DescriptorSetLayoutCreateFlagBits::ePushDescriptorKHR : return "PushDescriptorKHR"; 5210 case DescriptorSetLayoutCreateFlagBits::eDescriptorBufferEXT : return "DescriptorBufferEXT"; 5211 case DescriptorSetLayoutCreateFlagBits::eEmbeddedImmutableSamplersEXT : return "EmbeddedImmutableSamplersEXT"; 5212 case DescriptorSetLayoutCreateFlagBits::eIndirectBindableNV : return "IndirectBindableNV"; 5213 case DescriptorSetLayoutCreateFlagBits::eHostOnlyPoolEXT : return "HostOnlyPoolEXT"; 5214 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5215 } 5216 5217 } 5218 5219 to_string(DescriptorType value)5220 VULKAN_HPP_INLINE std::string to_string( DescriptorType value ) 5221 { 5222 switch ( value ) 5223 { 5224 case DescriptorType::eSampler : return "Sampler"; 5225 case DescriptorType::eCombinedImageSampler : return "CombinedImageSampler"; 5226 case DescriptorType::eSampledImage : return "SampledImage"; 5227 case DescriptorType::eStorageImage : return "StorageImage"; 5228 case DescriptorType::eUniformTexelBuffer : return "UniformTexelBuffer"; 5229 case DescriptorType::eStorageTexelBuffer : return "StorageTexelBuffer"; 5230 case DescriptorType::eUniformBuffer : return "UniformBuffer"; 5231 case DescriptorType::eStorageBuffer : return "StorageBuffer"; 5232 case DescriptorType::eUniformBufferDynamic : return "UniformBufferDynamic"; 5233 case DescriptorType::eStorageBufferDynamic : return "StorageBufferDynamic"; 5234 case DescriptorType::eInputAttachment : return "InputAttachment"; 5235 case DescriptorType::eInlineUniformBlock : return "InlineUniformBlock"; 5236 case DescriptorType::eAccelerationStructureKHR : return "AccelerationStructureKHR"; 5237 case DescriptorType::eAccelerationStructureNV : return "AccelerationStructureNV"; 5238 case DescriptorType::eSampleWeightImageQCOM : return "SampleWeightImageQCOM"; 5239 case DescriptorType::eBlockMatchImageQCOM : return "BlockMatchImageQCOM"; 5240 case DescriptorType::eMutableEXT : return "MutableEXT"; 5241 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5242 } 5243 5244 } 5245 5246 to_string(DescriptorPoolResetFlagBits)5247 VULKAN_HPP_INLINE std::string to_string( DescriptorPoolResetFlagBits ) 5248 { 5249 return "(void)"; 5250 } 5251 5252 to_string(AccessFlagBits value)5253 VULKAN_HPP_INLINE std::string to_string( AccessFlagBits value ) 5254 { 5255 switch ( value ) 5256 { 5257 case AccessFlagBits::eIndirectCommandRead : return "IndirectCommandRead"; 5258 case AccessFlagBits::eIndexRead : return "IndexRead"; 5259 case AccessFlagBits::eVertexAttributeRead : return "VertexAttributeRead"; 5260 case AccessFlagBits::eUniformRead : return "UniformRead"; 5261 case AccessFlagBits::eInputAttachmentRead : return "InputAttachmentRead"; 5262 case AccessFlagBits::eShaderRead : return "ShaderRead"; 5263 case AccessFlagBits::eShaderWrite : return "ShaderWrite"; 5264 case AccessFlagBits::eColorAttachmentRead : return "ColorAttachmentRead"; 5265 case AccessFlagBits::eColorAttachmentWrite : return "ColorAttachmentWrite"; 5266 case AccessFlagBits::eDepthStencilAttachmentRead : return "DepthStencilAttachmentRead"; 5267 case AccessFlagBits::eDepthStencilAttachmentWrite : return "DepthStencilAttachmentWrite"; 5268 case AccessFlagBits::eTransferRead : return "TransferRead"; 5269 case AccessFlagBits::eTransferWrite : return "TransferWrite"; 5270 case AccessFlagBits::eHostRead : return "HostRead"; 5271 case AccessFlagBits::eHostWrite : return "HostWrite"; 5272 case AccessFlagBits::eMemoryRead : return "MemoryRead"; 5273 case AccessFlagBits::eMemoryWrite : return "MemoryWrite"; 5274 case AccessFlagBits::eNone : return "None"; 5275 case AccessFlagBits::eTransformFeedbackWriteEXT : return "TransformFeedbackWriteEXT"; 5276 case AccessFlagBits::eTransformFeedbackCounterReadEXT : return "TransformFeedbackCounterReadEXT"; 5277 case AccessFlagBits::eTransformFeedbackCounterWriteEXT : return "TransformFeedbackCounterWriteEXT"; 5278 case AccessFlagBits::eConditionalRenderingReadEXT : return "ConditionalRenderingReadEXT"; 5279 case AccessFlagBits::eColorAttachmentReadNoncoherentEXT : return "ColorAttachmentReadNoncoherentEXT"; 5280 case AccessFlagBits::eAccelerationStructureReadKHR : return "AccelerationStructureReadKHR"; 5281 case AccessFlagBits::eAccelerationStructureWriteKHR : return "AccelerationStructureWriteKHR"; 5282 case AccessFlagBits::eFragmentDensityMapReadEXT : return "FragmentDensityMapReadEXT"; 5283 case AccessFlagBits::eFragmentShadingRateAttachmentReadKHR : return "FragmentShadingRateAttachmentReadKHR"; 5284 case AccessFlagBits::eCommandPreprocessReadNV : return "CommandPreprocessReadNV"; 5285 case AccessFlagBits::eCommandPreprocessWriteNV : return "CommandPreprocessWriteNV"; 5286 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5287 } 5288 5289 } 5290 5291 to_string(AttachmentDescriptionFlagBits value)5292 VULKAN_HPP_INLINE std::string to_string( AttachmentDescriptionFlagBits value ) 5293 { 5294 switch ( value ) 5295 { 5296 case AttachmentDescriptionFlagBits::eMayAlias : return "MayAlias"; 5297 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5298 } 5299 5300 } 5301 5302 to_string(AttachmentLoadOp value)5303 VULKAN_HPP_INLINE std::string to_string( AttachmentLoadOp value ) 5304 { 5305 switch ( value ) 5306 { 5307 case AttachmentLoadOp::eLoad : return "Load"; 5308 case AttachmentLoadOp::eClear : return "Clear"; 5309 case AttachmentLoadOp::eDontCare : return "DontCare"; 5310 case AttachmentLoadOp::eNoneEXT : return "NoneEXT"; 5311 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5312 } 5313 5314 } 5315 5316 to_string(AttachmentStoreOp value)5317 VULKAN_HPP_INLINE std::string to_string( AttachmentStoreOp value ) 5318 { 5319 switch ( value ) 5320 { 5321 case AttachmentStoreOp::eStore : return "Store"; 5322 case AttachmentStoreOp::eDontCare : return "DontCare"; 5323 case AttachmentStoreOp::eNone : return "None"; 5324 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5325 } 5326 5327 } 5328 5329 to_string(DependencyFlagBits value)5330 VULKAN_HPP_INLINE std::string to_string( DependencyFlagBits value ) 5331 { 5332 switch ( value ) 5333 { 5334 case DependencyFlagBits::eByRegion : return "ByRegion"; 5335 case DependencyFlagBits::eDeviceGroup : return "DeviceGroup"; 5336 case DependencyFlagBits::eViewLocal : return "ViewLocal"; 5337 case DependencyFlagBits::eFeedbackLoopEXT : return "FeedbackLoopEXT"; 5338 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5339 } 5340 5341 } 5342 5343 to_string(FramebufferCreateFlagBits value)5344 VULKAN_HPP_INLINE std::string to_string( FramebufferCreateFlagBits value ) 5345 { 5346 switch ( value ) 5347 { 5348 case FramebufferCreateFlagBits::eImageless : return "Imageless"; 5349 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5350 } 5351 5352 } 5353 5354 to_string(PipelineBindPoint value)5355 VULKAN_HPP_INLINE std::string to_string( PipelineBindPoint value ) 5356 { 5357 switch ( value ) 5358 { 5359 case PipelineBindPoint::eGraphics : return "Graphics"; 5360 case PipelineBindPoint::eCompute : return "Compute"; 5361 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 5362 case PipelineBindPoint::eExecutionGraphAMDX : return "ExecutionGraphAMDX"; 5363 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 5364 case PipelineBindPoint::eRayTracingKHR : return "RayTracingKHR"; 5365 case PipelineBindPoint::eSubpassShadingHUAWEI : return "SubpassShadingHUAWEI"; 5366 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5367 } 5368 5369 } 5370 5371 to_string(RenderPassCreateFlagBits value)5372 VULKAN_HPP_INLINE std::string to_string( RenderPassCreateFlagBits value ) 5373 { 5374 switch ( value ) 5375 { 5376 case RenderPassCreateFlagBits::eTransformQCOM : return "TransformQCOM"; 5377 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5378 } 5379 5380 } 5381 5382 to_string(SubpassDescriptionFlagBits value)5383 VULKAN_HPP_INLINE std::string to_string( SubpassDescriptionFlagBits value ) 5384 { 5385 switch ( value ) 5386 { 5387 case SubpassDescriptionFlagBits::ePerViewAttributesNVX : return "PerViewAttributesNVX"; 5388 case SubpassDescriptionFlagBits::ePerViewPositionXOnlyNVX : return "PerViewPositionXOnlyNVX"; 5389 case SubpassDescriptionFlagBits::eFragmentRegionQCOM : return "FragmentRegionQCOM"; 5390 case SubpassDescriptionFlagBits::eShaderResolveQCOM : return "ShaderResolveQCOM"; 5391 case SubpassDescriptionFlagBits::eRasterizationOrderAttachmentColorAccessEXT : return "RasterizationOrderAttachmentColorAccessEXT"; 5392 case SubpassDescriptionFlagBits::eRasterizationOrderAttachmentDepthAccessEXT : return "RasterizationOrderAttachmentDepthAccessEXT"; 5393 case SubpassDescriptionFlagBits::eRasterizationOrderAttachmentStencilAccessEXT : return "RasterizationOrderAttachmentStencilAccessEXT"; 5394 case SubpassDescriptionFlagBits::eEnableLegacyDitheringEXT : return "EnableLegacyDitheringEXT"; 5395 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5396 } 5397 5398 } 5399 5400 to_string(CommandPoolCreateFlagBits value)5401 VULKAN_HPP_INLINE std::string to_string( CommandPoolCreateFlagBits value ) 5402 { 5403 switch ( value ) 5404 { 5405 case CommandPoolCreateFlagBits::eTransient : return "Transient"; 5406 case CommandPoolCreateFlagBits::eResetCommandBuffer : return "ResetCommandBuffer"; 5407 case CommandPoolCreateFlagBits::eProtected : return "Protected"; 5408 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5409 } 5410 5411 } 5412 5413 to_string(CommandPoolResetFlagBits value)5414 VULKAN_HPP_INLINE std::string to_string( CommandPoolResetFlagBits value ) 5415 { 5416 switch ( value ) 5417 { 5418 case CommandPoolResetFlagBits::eReleaseResources : return "ReleaseResources"; 5419 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5420 } 5421 5422 } 5423 5424 to_string(CommandBufferLevel value)5425 VULKAN_HPP_INLINE std::string to_string( CommandBufferLevel value ) 5426 { 5427 switch ( value ) 5428 { 5429 case CommandBufferLevel::ePrimary : return "Primary"; 5430 case CommandBufferLevel::eSecondary : return "Secondary"; 5431 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5432 } 5433 5434 } 5435 5436 to_string(CommandBufferResetFlagBits value)5437 VULKAN_HPP_INLINE std::string to_string( CommandBufferResetFlagBits value ) 5438 { 5439 switch ( value ) 5440 { 5441 case CommandBufferResetFlagBits::eReleaseResources : return "ReleaseResources"; 5442 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5443 } 5444 5445 } 5446 5447 to_string(CommandBufferUsageFlagBits value)5448 VULKAN_HPP_INLINE std::string to_string( CommandBufferUsageFlagBits value ) 5449 { 5450 switch ( value ) 5451 { 5452 case CommandBufferUsageFlagBits::eOneTimeSubmit : return "OneTimeSubmit"; 5453 case CommandBufferUsageFlagBits::eRenderPassContinue : return "RenderPassContinue"; 5454 case CommandBufferUsageFlagBits::eSimultaneousUse : return "SimultaneousUse"; 5455 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5456 } 5457 5458 } 5459 5460 to_string(QueryControlFlagBits value)5461 VULKAN_HPP_INLINE std::string to_string( QueryControlFlagBits value ) 5462 { 5463 switch ( value ) 5464 { 5465 case QueryControlFlagBits::ePrecise : return "Precise"; 5466 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5467 } 5468 5469 } 5470 5471 to_string(IndexType value)5472 VULKAN_HPP_INLINE std::string to_string( IndexType value ) 5473 { 5474 switch ( value ) 5475 { 5476 case IndexType::eUint16 : return "Uint16"; 5477 case IndexType::eUint32 : return "Uint32"; 5478 case IndexType::eNoneKHR : return "NoneKHR"; 5479 case IndexType::eUint8EXT : return "Uint8EXT"; 5480 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5481 } 5482 5483 } 5484 5485 to_string(StencilFaceFlagBits value)5486 VULKAN_HPP_INLINE std::string to_string( StencilFaceFlagBits value ) 5487 { 5488 switch ( value ) 5489 { 5490 case StencilFaceFlagBits::eFront : return "Front"; 5491 case StencilFaceFlagBits::eBack : return "Back"; 5492 case StencilFaceFlagBits::eFrontAndBack : return "FrontAndBack"; 5493 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5494 } 5495 5496 } 5497 5498 to_string(SubpassContents value)5499 VULKAN_HPP_INLINE std::string to_string( SubpassContents value ) 5500 { 5501 switch ( value ) 5502 { 5503 case SubpassContents::eInline : return "Inline"; 5504 case SubpassContents::eSecondaryCommandBuffers : return "SecondaryCommandBuffers"; 5505 case SubpassContents::eInlineAndSecondaryCommandBuffersEXT : return "InlineAndSecondaryCommandBuffersEXT"; 5506 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5507 } 5508 5509 } 5510 5511 //=== VK_VERSION_1_1 === 5512 5513 to_string(SubgroupFeatureFlagBits value)5514 VULKAN_HPP_INLINE std::string to_string( SubgroupFeatureFlagBits value ) 5515 { 5516 switch ( value ) 5517 { 5518 case SubgroupFeatureFlagBits::eBasic : return "Basic"; 5519 case SubgroupFeatureFlagBits::eVote : return "Vote"; 5520 case SubgroupFeatureFlagBits::eArithmetic : return "Arithmetic"; 5521 case SubgroupFeatureFlagBits::eBallot : return "Ballot"; 5522 case SubgroupFeatureFlagBits::eShuffle : return "Shuffle"; 5523 case SubgroupFeatureFlagBits::eShuffleRelative : return "ShuffleRelative"; 5524 case SubgroupFeatureFlagBits::eClustered : return "Clustered"; 5525 case SubgroupFeatureFlagBits::eQuad : return "Quad"; 5526 case SubgroupFeatureFlagBits::ePartitionedNV : return "PartitionedNV"; 5527 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5528 } 5529 5530 } 5531 5532 to_string(PeerMemoryFeatureFlagBits value)5533 VULKAN_HPP_INLINE std::string to_string( PeerMemoryFeatureFlagBits value ) 5534 { 5535 switch ( value ) 5536 { 5537 case PeerMemoryFeatureFlagBits::eCopySrc : return "CopySrc"; 5538 case PeerMemoryFeatureFlagBits::eCopyDst : return "CopyDst"; 5539 case PeerMemoryFeatureFlagBits::eGenericSrc : return "GenericSrc"; 5540 case PeerMemoryFeatureFlagBits::eGenericDst : return "GenericDst"; 5541 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5542 } 5543 5544 } 5545 5546 to_string(MemoryAllocateFlagBits value)5547 VULKAN_HPP_INLINE std::string to_string( MemoryAllocateFlagBits value ) 5548 { 5549 switch ( value ) 5550 { 5551 case MemoryAllocateFlagBits::eDeviceMask : return "DeviceMask"; 5552 case MemoryAllocateFlagBits::eDeviceAddress : return "DeviceAddress"; 5553 case MemoryAllocateFlagBits::eDeviceAddressCaptureReplay : return "DeviceAddressCaptureReplay"; 5554 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5555 } 5556 5557 } 5558 5559 to_string(CommandPoolTrimFlagBits)5560 VULKAN_HPP_INLINE std::string to_string( CommandPoolTrimFlagBits ) 5561 { 5562 return "(void)"; 5563 } 5564 5565 to_string(PointClippingBehavior value)5566 VULKAN_HPP_INLINE std::string to_string( PointClippingBehavior value ) 5567 { 5568 switch ( value ) 5569 { 5570 case PointClippingBehavior::eAllClipPlanes : return "AllClipPlanes"; 5571 case PointClippingBehavior::eUserClipPlanesOnly : return "UserClipPlanesOnly"; 5572 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5573 } 5574 5575 } 5576 5577 to_string(TessellationDomainOrigin value)5578 VULKAN_HPP_INLINE std::string to_string( TessellationDomainOrigin value ) 5579 { 5580 switch ( value ) 5581 { 5582 case TessellationDomainOrigin::eUpperLeft : return "UpperLeft"; 5583 case TessellationDomainOrigin::eLowerLeft : return "LowerLeft"; 5584 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5585 } 5586 5587 } 5588 5589 to_string(SamplerYcbcrModelConversion value)5590 VULKAN_HPP_INLINE std::string to_string( SamplerYcbcrModelConversion value ) 5591 { 5592 switch ( value ) 5593 { 5594 case SamplerYcbcrModelConversion::eRgbIdentity : return "RgbIdentity"; 5595 case SamplerYcbcrModelConversion::eYcbcrIdentity : return "YcbcrIdentity"; 5596 case SamplerYcbcrModelConversion::eYcbcr709 : return "Ycbcr709"; 5597 case SamplerYcbcrModelConversion::eYcbcr601 : return "Ycbcr601"; 5598 case SamplerYcbcrModelConversion::eYcbcr2020 : return "Ycbcr2020"; 5599 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5600 } 5601 5602 } 5603 5604 to_string(SamplerYcbcrRange value)5605 VULKAN_HPP_INLINE std::string to_string( SamplerYcbcrRange value ) 5606 { 5607 switch ( value ) 5608 { 5609 case SamplerYcbcrRange::eItuFull : return "ItuFull"; 5610 case SamplerYcbcrRange::eItuNarrow : return "ItuNarrow"; 5611 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5612 } 5613 5614 } 5615 5616 to_string(ChromaLocation value)5617 VULKAN_HPP_INLINE std::string to_string( ChromaLocation value ) 5618 { 5619 switch ( value ) 5620 { 5621 case ChromaLocation::eCositedEven : return "CositedEven"; 5622 case ChromaLocation::eMidpoint : return "Midpoint"; 5623 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5624 } 5625 5626 } 5627 5628 to_string(DescriptorUpdateTemplateType value)5629 VULKAN_HPP_INLINE std::string to_string( DescriptorUpdateTemplateType value ) 5630 { 5631 switch ( value ) 5632 { 5633 case DescriptorUpdateTemplateType::eDescriptorSet : return "DescriptorSet"; 5634 case DescriptorUpdateTemplateType::ePushDescriptorsKHR : return "PushDescriptorsKHR"; 5635 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5636 } 5637 5638 } 5639 5640 to_string(DescriptorUpdateTemplateCreateFlagBits)5641 VULKAN_HPP_INLINE std::string to_string( DescriptorUpdateTemplateCreateFlagBits ) 5642 { 5643 return "(void)"; 5644 } 5645 5646 to_string(ExternalMemoryHandleTypeFlagBits value)5647 VULKAN_HPP_INLINE std::string to_string( ExternalMemoryHandleTypeFlagBits value ) 5648 { 5649 switch ( value ) 5650 { 5651 case ExternalMemoryHandleTypeFlagBits::eOpaqueFd : return "OpaqueFd"; 5652 case ExternalMemoryHandleTypeFlagBits::eOpaqueWin32 : return "OpaqueWin32"; 5653 case ExternalMemoryHandleTypeFlagBits::eOpaqueWin32Kmt : return "OpaqueWin32Kmt"; 5654 case ExternalMemoryHandleTypeFlagBits::eD3D11Texture : return "D3D11Texture"; 5655 case ExternalMemoryHandleTypeFlagBits::eD3D11TextureKmt : return "D3D11TextureKmt"; 5656 case ExternalMemoryHandleTypeFlagBits::eD3D12Heap : return "D3D12Heap"; 5657 case ExternalMemoryHandleTypeFlagBits::eD3D12Resource : return "D3D12Resource"; 5658 case ExternalMemoryHandleTypeFlagBits::eDmaBufEXT : return "DmaBufEXT"; 5659 #if defined( VK_USE_PLATFORM_ANDROID_KHR ) 5660 case ExternalMemoryHandleTypeFlagBits::eAndroidHardwareBufferANDROID : return "AndroidHardwareBufferANDROID"; 5661 #endif /*VK_USE_PLATFORM_ANDROID_KHR*/ 5662 case ExternalMemoryHandleTypeFlagBits::eHostAllocationEXT : return "HostAllocationEXT"; 5663 case ExternalMemoryHandleTypeFlagBits::eHostMappedForeignMemoryEXT : return "HostMappedForeignMemoryEXT"; 5664 #if defined( VK_USE_PLATFORM_FUCHSIA ) 5665 case ExternalMemoryHandleTypeFlagBits::eZirconVmoFUCHSIA : return "ZirconVmoFUCHSIA"; 5666 #endif /*VK_USE_PLATFORM_FUCHSIA*/ 5667 case ExternalMemoryHandleTypeFlagBits::eRdmaAddressNV : return "RdmaAddressNV"; 5668 #if defined( VK_USE_PLATFORM_SCREEN_QNX ) 5669 case ExternalMemoryHandleTypeFlagBits::eScreenBufferQNX : return "ScreenBufferQNX"; 5670 #endif /*VK_USE_PLATFORM_SCREEN_QNX*/ 5671 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5672 } 5673 5674 } 5675 5676 to_string(ExternalMemoryFeatureFlagBits value)5677 VULKAN_HPP_INLINE std::string to_string( ExternalMemoryFeatureFlagBits value ) 5678 { 5679 switch ( value ) 5680 { 5681 case ExternalMemoryFeatureFlagBits::eDedicatedOnly : return "DedicatedOnly"; 5682 case ExternalMemoryFeatureFlagBits::eExportable : return "Exportable"; 5683 case ExternalMemoryFeatureFlagBits::eImportable : return "Importable"; 5684 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5685 } 5686 5687 } 5688 5689 to_string(ExternalFenceHandleTypeFlagBits value)5690 VULKAN_HPP_INLINE std::string to_string( ExternalFenceHandleTypeFlagBits value ) 5691 { 5692 switch ( value ) 5693 { 5694 case ExternalFenceHandleTypeFlagBits::eOpaqueFd : return "OpaqueFd"; 5695 case ExternalFenceHandleTypeFlagBits::eOpaqueWin32 : return "OpaqueWin32"; 5696 case ExternalFenceHandleTypeFlagBits::eOpaqueWin32Kmt : return "OpaqueWin32Kmt"; 5697 case ExternalFenceHandleTypeFlagBits::eSyncFd : return "SyncFd"; 5698 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5699 } 5700 5701 } 5702 5703 to_string(ExternalFenceFeatureFlagBits value)5704 VULKAN_HPP_INLINE std::string to_string( ExternalFenceFeatureFlagBits value ) 5705 { 5706 switch ( value ) 5707 { 5708 case ExternalFenceFeatureFlagBits::eExportable : return "Exportable"; 5709 case ExternalFenceFeatureFlagBits::eImportable : return "Importable"; 5710 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5711 } 5712 5713 } 5714 5715 to_string(FenceImportFlagBits value)5716 VULKAN_HPP_INLINE std::string to_string( FenceImportFlagBits value ) 5717 { 5718 switch ( value ) 5719 { 5720 case FenceImportFlagBits::eTemporary : return "Temporary"; 5721 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5722 } 5723 5724 } 5725 5726 to_string(SemaphoreImportFlagBits value)5727 VULKAN_HPP_INLINE std::string to_string( SemaphoreImportFlagBits value ) 5728 { 5729 switch ( value ) 5730 { 5731 case SemaphoreImportFlagBits::eTemporary : return "Temporary"; 5732 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5733 } 5734 5735 } 5736 5737 to_string(ExternalSemaphoreHandleTypeFlagBits value)5738 VULKAN_HPP_INLINE std::string to_string( ExternalSemaphoreHandleTypeFlagBits value ) 5739 { 5740 switch ( value ) 5741 { 5742 case ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd : return "OpaqueFd"; 5743 case ExternalSemaphoreHandleTypeFlagBits::eOpaqueWin32 : return "OpaqueWin32"; 5744 case ExternalSemaphoreHandleTypeFlagBits::eOpaqueWin32Kmt : return "OpaqueWin32Kmt"; 5745 case ExternalSemaphoreHandleTypeFlagBits::eD3D12Fence : return "D3D12Fence"; 5746 case ExternalSemaphoreHandleTypeFlagBits::eSyncFd : return "SyncFd"; 5747 #if defined( VK_USE_PLATFORM_FUCHSIA ) 5748 case ExternalSemaphoreHandleTypeFlagBits::eZirconEventFUCHSIA : return "ZirconEventFUCHSIA"; 5749 #endif /*VK_USE_PLATFORM_FUCHSIA*/ 5750 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5751 } 5752 5753 } 5754 5755 to_string(ExternalSemaphoreFeatureFlagBits value)5756 VULKAN_HPP_INLINE std::string to_string( ExternalSemaphoreFeatureFlagBits value ) 5757 { 5758 switch ( value ) 5759 { 5760 case ExternalSemaphoreFeatureFlagBits::eExportable : return "Exportable"; 5761 case ExternalSemaphoreFeatureFlagBits::eImportable : return "Importable"; 5762 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5763 } 5764 5765 } 5766 5767 //=== VK_VERSION_1_2 === 5768 5769 to_string(DriverId value)5770 VULKAN_HPP_INLINE std::string to_string( DriverId value ) 5771 { 5772 switch ( value ) 5773 { 5774 case DriverId::eAmdProprietary : return "AmdProprietary"; 5775 case DriverId::eAmdOpenSource : return "AmdOpenSource"; 5776 case DriverId::eMesaRadv : return "MesaRadv"; 5777 case DriverId::eNvidiaProprietary : return "NvidiaProprietary"; 5778 case DriverId::eIntelProprietaryWindows : return "IntelProprietaryWindows"; 5779 case DriverId::eIntelOpenSourceMESA : return "IntelOpenSourceMESA"; 5780 case DriverId::eImaginationProprietary : return "ImaginationProprietary"; 5781 case DriverId::eQualcommProprietary : return "QualcommProprietary"; 5782 case DriverId::eArmProprietary : return "ArmProprietary"; 5783 case DriverId::eGoogleSwiftshader : return "GoogleSwiftshader"; 5784 case DriverId::eGgpProprietary : return "GgpProprietary"; 5785 case DriverId::eBroadcomProprietary : return "BroadcomProprietary"; 5786 case DriverId::eMesaLlvmpipe : return "MesaLlvmpipe"; 5787 case DriverId::eMoltenvk : return "Moltenvk"; 5788 case DriverId::eCoreaviProprietary : return "CoreaviProprietary"; 5789 case DriverId::eJuiceProprietary : return "JuiceProprietary"; 5790 case DriverId::eVerisiliconProprietary : return "VerisiliconProprietary"; 5791 case DriverId::eMesaTurnip : return "MesaTurnip"; 5792 case DriverId::eMesaV3Dv : return "MesaV3Dv"; 5793 case DriverId::eMesaPanvk : return "MesaPanvk"; 5794 case DriverId::eSamsungProprietary : return "SamsungProprietary"; 5795 case DriverId::eMesaVenus : return "MesaVenus"; 5796 case DriverId::eMesaDozen : return "MesaDozen"; 5797 case DriverId::eMesaNvk : return "MesaNvk"; 5798 case DriverId::eImaginationOpenSourceMESA : return "ImaginationOpenSourceMESA"; 5799 case DriverId::eMesaAgxv : return "MesaAgxv"; 5800 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5801 } 5802 5803 } 5804 5805 to_string(ShaderFloatControlsIndependence value)5806 VULKAN_HPP_INLINE std::string to_string( ShaderFloatControlsIndependence value ) 5807 { 5808 switch ( value ) 5809 { 5810 case ShaderFloatControlsIndependence::e32BitOnly : return "32BitOnly"; 5811 case ShaderFloatControlsIndependence::eAll : return "All"; 5812 case ShaderFloatControlsIndependence::eNone : return "None"; 5813 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5814 } 5815 5816 } 5817 5818 to_string(DescriptorBindingFlagBits value)5819 VULKAN_HPP_INLINE std::string to_string( DescriptorBindingFlagBits value ) 5820 { 5821 switch ( value ) 5822 { 5823 case DescriptorBindingFlagBits::eUpdateAfterBind : return "UpdateAfterBind"; 5824 case DescriptorBindingFlagBits::eUpdateUnusedWhilePending : return "UpdateUnusedWhilePending"; 5825 case DescriptorBindingFlagBits::ePartiallyBound : return "PartiallyBound"; 5826 case DescriptorBindingFlagBits::eVariableDescriptorCount : return "VariableDescriptorCount"; 5827 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5828 } 5829 5830 } 5831 5832 to_string(ResolveModeFlagBits value)5833 VULKAN_HPP_INLINE std::string to_string( ResolveModeFlagBits value ) 5834 { 5835 switch ( value ) 5836 { 5837 case ResolveModeFlagBits::eNone : return "None"; 5838 case ResolveModeFlagBits::eSampleZero : return "SampleZero"; 5839 case ResolveModeFlagBits::eAverage : return "Average"; 5840 case ResolveModeFlagBits::eMin : return "Min"; 5841 case ResolveModeFlagBits::eMax : return "Max"; 5842 #if defined( VK_USE_PLATFORM_ANDROID_KHR ) 5843 case ResolveModeFlagBits::eExternalFormatDownsampleANDROID : return "ExternalFormatDownsampleANDROID"; 5844 #endif /*VK_USE_PLATFORM_ANDROID_KHR*/ 5845 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5846 } 5847 5848 } 5849 5850 to_string(SamplerReductionMode value)5851 VULKAN_HPP_INLINE std::string to_string( SamplerReductionMode value ) 5852 { 5853 switch ( value ) 5854 { 5855 case SamplerReductionMode::eWeightedAverage : return "WeightedAverage"; 5856 case SamplerReductionMode::eMin : return "Min"; 5857 case SamplerReductionMode::eMax : return "Max"; 5858 case SamplerReductionMode::eWeightedAverageRangeclampQCOM : return "WeightedAverageRangeclampQCOM"; 5859 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5860 } 5861 5862 } 5863 5864 to_string(SemaphoreType value)5865 VULKAN_HPP_INLINE std::string to_string( SemaphoreType value ) 5866 { 5867 switch ( value ) 5868 { 5869 case SemaphoreType::eBinary : return "Binary"; 5870 case SemaphoreType::eTimeline : return "Timeline"; 5871 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5872 } 5873 5874 } 5875 5876 to_string(SemaphoreWaitFlagBits value)5877 VULKAN_HPP_INLINE std::string to_string( SemaphoreWaitFlagBits value ) 5878 { 5879 switch ( value ) 5880 { 5881 case SemaphoreWaitFlagBits::eAny : return "Any"; 5882 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5883 } 5884 5885 } 5886 5887 //=== VK_VERSION_1_3 === 5888 5889 to_string(PipelineCreationFeedbackFlagBits value)5890 VULKAN_HPP_INLINE std::string to_string( PipelineCreationFeedbackFlagBits value ) 5891 { 5892 switch ( value ) 5893 { 5894 case PipelineCreationFeedbackFlagBits::eValid : return "Valid"; 5895 case PipelineCreationFeedbackFlagBits::eApplicationPipelineCacheHit : return "ApplicationPipelineCacheHit"; 5896 case PipelineCreationFeedbackFlagBits::eBasePipelineAcceleration : return "BasePipelineAcceleration"; 5897 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5898 } 5899 5900 } 5901 5902 to_string(ToolPurposeFlagBits value)5903 VULKAN_HPP_INLINE std::string to_string( ToolPurposeFlagBits value ) 5904 { 5905 switch ( value ) 5906 { 5907 case ToolPurposeFlagBits::eValidation : return "Validation"; 5908 case ToolPurposeFlagBits::eProfiling : return "Profiling"; 5909 case ToolPurposeFlagBits::eTracing : return "Tracing"; 5910 case ToolPurposeFlagBits::eAdditionalFeatures : return "AdditionalFeatures"; 5911 case ToolPurposeFlagBits::eModifyingFeatures : return "ModifyingFeatures"; 5912 case ToolPurposeFlagBits::eDebugReportingEXT : return "DebugReportingEXT"; 5913 case ToolPurposeFlagBits::eDebugMarkersEXT : return "DebugMarkersEXT"; 5914 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5915 } 5916 5917 } 5918 5919 to_string(PrivateDataSlotCreateFlagBits)5920 VULKAN_HPP_INLINE std::string to_string( PrivateDataSlotCreateFlagBits ) 5921 { 5922 return "(void)"; 5923 } 5924 5925 to_string(PipelineStageFlagBits2 value)5926 VULKAN_HPP_INLINE std::string to_string( PipelineStageFlagBits2 value ) 5927 { 5928 switch ( value ) 5929 { 5930 case PipelineStageFlagBits2::eNone : return "None"; 5931 case PipelineStageFlagBits2::eTopOfPipe : return "TopOfPipe"; 5932 case PipelineStageFlagBits2::eDrawIndirect : return "DrawIndirect"; 5933 case PipelineStageFlagBits2::eVertexInput : return "VertexInput"; 5934 case PipelineStageFlagBits2::eVertexShader : return "VertexShader"; 5935 case PipelineStageFlagBits2::eTessellationControlShader : return "TessellationControlShader"; 5936 case PipelineStageFlagBits2::eTessellationEvaluationShader : return "TessellationEvaluationShader"; 5937 case PipelineStageFlagBits2::eGeometryShader : return "GeometryShader"; 5938 case PipelineStageFlagBits2::eFragmentShader : return "FragmentShader"; 5939 case PipelineStageFlagBits2::eEarlyFragmentTests : return "EarlyFragmentTests"; 5940 case PipelineStageFlagBits2::eLateFragmentTests : return "LateFragmentTests"; 5941 case PipelineStageFlagBits2::eColorAttachmentOutput : return "ColorAttachmentOutput"; 5942 case PipelineStageFlagBits2::eComputeShader : return "ComputeShader"; 5943 case PipelineStageFlagBits2::eAllTransfer : return "AllTransfer"; 5944 case PipelineStageFlagBits2::eBottomOfPipe : return "BottomOfPipe"; 5945 case PipelineStageFlagBits2::eHost : return "Host"; 5946 case PipelineStageFlagBits2::eAllGraphics : return "AllGraphics"; 5947 case PipelineStageFlagBits2::eAllCommands : return "AllCommands"; 5948 case PipelineStageFlagBits2::eCopy : return "Copy"; 5949 case PipelineStageFlagBits2::eResolve : return "Resolve"; 5950 case PipelineStageFlagBits2::eBlit : return "Blit"; 5951 case PipelineStageFlagBits2::eClear : return "Clear"; 5952 case PipelineStageFlagBits2::eIndexInput : return "IndexInput"; 5953 case PipelineStageFlagBits2::eVertexAttributeInput : return "VertexAttributeInput"; 5954 case PipelineStageFlagBits2::ePreRasterizationShaders : return "PreRasterizationShaders"; 5955 case PipelineStageFlagBits2::eVideoDecodeKHR : return "VideoDecodeKHR"; 5956 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 5957 case PipelineStageFlagBits2::eVideoEncodeKHR : return "VideoEncodeKHR"; 5958 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 5959 case PipelineStageFlagBits2::eTransformFeedbackEXT : return "TransformFeedbackEXT"; 5960 case PipelineStageFlagBits2::eConditionalRenderingEXT : return "ConditionalRenderingEXT"; 5961 case PipelineStageFlagBits2::eCommandPreprocessNV : return "CommandPreprocessNV"; 5962 case PipelineStageFlagBits2::eFragmentShadingRateAttachmentKHR : return "FragmentShadingRateAttachmentKHR"; 5963 case PipelineStageFlagBits2::eAccelerationStructureBuildKHR : return "AccelerationStructureBuildKHR"; 5964 case PipelineStageFlagBits2::eRayTracingShaderKHR : return "RayTracingShaderKHR"; 5965 case PipelineStageFlagBits2::eFragmentDensityProcessEXT : return "FragmentDensityProcessEXT"; 5966 case PipelineStageFlagBits2::eTaskShaderEXT : return "TaskShaderEXT"; 5967 case PipelineStageFlagBits2::eMeshShaderEXT : return "MeshShaderEXT"; 5968 case PipelineStageFlagBits2::eSubpassShaderHUAWEI : return "SubpassShaderHUAWEI"; 5969 case PipelineStageFlagBits2::eInvocationMaskHUAWEI : return "InvocationMaskHUAWEI"; 5970 case PipelineStageFlagBits2::eAccelerationStructureCopyKHR : return "AccelerationStructureCopyKHR"; 5971 case PipelineStageFlagBits2::eMicromapBuildEXT : return "MicromapBuildEXT"; 5972 case PipelineStageFlagBits2::eClusterCullingShaderHUAWEI : return "ClusterCullingShaderHUAWEI"; 5973 case PipelineStageFlagBits2::eOpticalFlowNV : return "OpticalFlowNV"; 5974 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 5975 } 5976 5977 } 5978 5979 to_string(AccessFlagBits2 value)5980 VULKAN_HPP_INLINE std::string to_string( AccessFlagBits2 value ) 5981 { 5982 switch ( value ) 5983 { 5984 case AccessFlagBits2::eNone : return "None"; 5985 case AccessFlagBits2::eIndirectCommandRead : return "IndirectCommandRead"; 5986 case AccessFlagBits2::eIndexRead : return "IndexRead"; 5987 case AccessFlagBits2::eVertexAttributeRead : return "VertexAttributeRead"; 5988 case AccessFlagBits2::eUniformRead : return "UniformRead"; 5989 case AccessFlagBits2::eInputAttachmentRead : return "InputAttachmentRead"; 5990 case AccessFlagBits2::eShaderRead : return "ShaderRead"; 5991 case AccessFlagBits2::eShaderWrite : return "ShaderWrite"; 5992 case AccessFlagBits2::eColorAttachmentRead : return "ColorAttachmentRead"; 5993 case AccessFlagBits2::eColorAttachmentWrite : return "ColorAttachmentWrite"; 5994 case AccessFlagBits2::eDepthStencilAttachmentRead : return "DepthStencilAttachmentRead"; 5995 case AccessFlagBits2::eDepthStencilAttachmentWrite : return "DepthStencilAttachmentWrite"; 5996 case AccessFlagBits2::eTransferRead : return "TransferRead"; 5997 case AccessFlagBits2::eTransferWrite : return "TransferWrite"; 5998 case AccessFlagBits2::eHostRead : return "HostRead"; 5999 case AccessFlagBits2::eHostWrite : return "HostWrite"; 6000 case AccessFlagBits2::eMemoryRead : return "MemoryRead"; 6001 case AccessFlagBits2::eMemoryWrite : return "MemoryWrite"; 6002 case AccessFlagBits2::eShaderSampledRead : return "ShaderSampledRead"; 6003 case AccessFlagBits2::eShaderStorageRead : return "ShaderStorageRead"; 6004 case AccessFlagBits2::eShaderStorageWrite : return "ShaderStorageWrite"; 6005 case AccessFlagBits2::eVideoDecodeReadKHR : return "VideoDecodeReadKHR"; 6006 case AccessFlagBits2::eVideoDecodeWriteKHR : return "VideoDecodeWriteKHR"; 6007 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 6008 case AccessFlagBits2::eVideoEncodeReadKHR : return "VideoEncodeReadKHR"; 6009 case AccessFlagBits2::eVideoEncodeWriteKHR : return "VideoEncodeWriteKHR"; 6010 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 6011 case AccessFlagBits2::eTransformFeedbackWriteEXT : return "TransformFeedbackWriteEXT"; 6012 case AccessFlagBits2::eTransformFeedbackCounterReadEXT : return "TransformFeedbackCounterReadEXT"; 6013 case AccessFlagBits2::eTransformFeedbackCounterWriteEXT : return "TransformFeedbackCounterWriteEXT"; 6014 case AccessFlagBits2::eConditionalRenderingReadEXT : return "ConditionalRenderingReadEXT"; 6015 case AccessFlagBits2::eCommandPreprocessReadNV : return "CommandPreprocessReadNV"; 6016 case AccessFlagBits2::eCommandPreprocessWriteNV : return "CommandPreprocessWriteNV"; 6017 case AccessFlagBits2::eFragmentShadingRateAttachmentReadKHR : return "FragmentShadingRateAttachmentReadKHR"; 6018 case AccessFlagBits2::eAccelerationStructureReadKHR : return "AccelerationStructureReadKHR"; 6019 case AccessFlagBits2::eAccelerationStructureWriteKHR : return "AccelerationStructureWriteKHR"; 6020 case AccessFlagBits2::eFragmentDensityMapReadEXT : return "FragmentDensityMapReadEXT"; 6021 case AccessFlagBits2::eColorAttachmentReadNoncoherentEXT : return "ColorAttachmentReadNoncoherentEXT"; 6022 case AccessFlagBits2::eDescriptorBufferReadEXT : return "DescriptorBufferReadEXT"; 6023 case AccessFlagBits2::eInvocationMaskReadHUAWEI : return "InvocationMaskReadHUAWEI"; 6024 case AccessFlagBits2::eShaderBindingTableReadKHR : return "ShaderBindingTableReadKHR"; 6025 case AccessFlagBits2::eMicromapReadEXT : return "MicromapReadEXT"; 6026 case AccessFlagBits2::eMicromapWriteEXT : return "MicromapWriteEXT"; 6027 case AccessFlagBits2::eOpticalFlowReadNV : return "OpticalFlowReadNV"; 6028 case AccessFlagBits2::eOpticalFlowWriteNV : return "OpticalFlowWriteNV"; 6029 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6030 } 6031 6032 } 6033 6034 to_string(SubmitFlagBits value)6035 VULKAN_HPP_INLINE std::string to_string( SubmitFlagBits value ) 6036 { 6037 switch ( value ) 6038 { 6039 case SubmitFlagBits::eProtected : return "Protected"; 6040 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6041 } 6042 6043 } 6044 6045 to_string(RenderingFlagBits value)6046 VULKAN_HPP_INLINE std::string to_string( RenderingFlagBits value ) 6047 { 6048 switch ( value ) 6049 { 6050 case RenderingFlagBits::eContentsSecondaryCommandBuffers : return "ContentsSecondaryCommandBuffers"; 6051 case RenderingFlagBits::eSuspending : return "Suspending"; 6052 case RenderingFlagBits::eResuming : return "Resuming"; 6053 case RenderingFlagBits::eContentsInlineEXT : return "ContentsInlineEXT"; 6054 case RenderingFlagBits::eEnableLegacyDitheringEXT : return "EnableLegacyDitheringEXT"; 6055 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6056 } 6057 6058 } 6059 6060 to_string(FormatFeatureFlagBits2 value)6061 VULKAN_HPP_INLINE std::string to_string( FormatFeatureFlagBits2 value ) 6062 { 6063 switch ( value ) 6064 { 6065 case FormatFeatureFlagBits2::eSampledImage : return "SampledImage"; 6066 case FormatFeatureFlagBits2::eStorageImage : return "StorageImage"; 6067 case FormatFeatureFlagBits2::eStorageImageAtomic : return "StorageImageAtomic"; 6068 case FormatFeatureFlagBits2::eUniformTexelBuffer : return "UniformTexelBuffer"; 6069 case FormatFeatureFlagBits2::eStorageTexelBuffer : return "StorageTexelBuffer"; 6070 case FormatFeatureFlagBits2::eStorageTexelBufferAtomic : return "StorageTexelBufferAtomic"; 6071 case FormatFeatureFlagBits2::eVertexBuffer : return "VertexBuffer"; 6072 case FormatFeatureFlagBits2::eColorAttachment : return "ColorAttachment"; 6073 case FormatFeatureFlagBits2::eColorAttachmentBlend : return "ColorAttachmentBlend"; 6074 case FormatFeatureFlagBits2::eDepthStencilAttachment : return "DepthStencilAttachment"; 6075 case FormatFeatureFlagBits2::eBlitSrc : return "BlitSrc"; 6076 case FormatFeatureFlagBits2::eBlitDst : return "BlitDst"; 6077 case FormatFeatureFlagBits2::eSampledImageFilterLinear : return "SampledImageFilterLinear"; 6078 case FormatFeatureFlagBits2::eSampledImageFilterCubic : return "SampledImageFilterCubic"; 6079 case FormatFeatureFlagBits2::eTransferSrc : return "TransferSrc"; 6080 case FormatFeatureFlagBits2::eTransferDst : return "TransferDst"; 6081 case FormatFeatureFlagBits2::eSampledImageFilterMinmax : return "SampledImageFilterMinmax"; 6082 case FormatFeatureFlagBits2::eMidpointChromaSamples : return "MidpointChromaSamples"; 6083 case FormatFeatureFlagBits2::eSampledImageYcbcrConversionLinearFilter : return "SampledImageYcbcrConversionLinearFilter"; 6084 case FormatFeatureFlagBits2::eSampledImageYcbcrConversionSeparateReconstructionFilter : return "SampledImageYcbcrConversionSeparateReconstructionFilter"; 6085 case FormatFeatureFlagBits2::eSampledImageYcbcrConversionChromaReconstructionExplicit : return "SampledImageYcbcrConversionChromaReconstructionExplicit"; 6086 case FormatFeatureFlagBits2::eSampledImageYcbcrConversionChromaReconstructionExplicitForceable : return "SampledImageYcbcrConversionChromaReconstructionExplicitForceable"; 6087 case FormatFeatureFlagBits2::eDisjoint : return "Disjoint"; 6088 case FormatFeatureFlagBits2::eCositedChromaSamples : return "CositedChromaSamples"; 6089 case FormatFeatureFlagBits2::eStorageReadWithoutFormat : return "StorageReadWithoutFormat"; 6090 case FormatFeatureFlagBits2::eStorageWriteWithoutFormat : return "StorageWriteWithoutFormat"; 6091 case FormatFeatureFlagBits2::eSampledImageDepthComparison : return "SampledImageDepthComparison"; 6092 case FormatFeatureFlagBits2::eVideoDecodeOutputKHR : return "VideoDecodeOutputKHR"; 6093 case FormatFeatureFlagBits2::eVideoDecodeDpbKHR : return "VideoDecodeDpbKHR"; 6094 case FormatFeatureFlagBits2::eAccelerationStructureVertexBufferKHR : return "AccelerationStructureVertexBufferKHR"; 6095 case FormatFeatureFlagBits2::eFragmentDensityMapEXT : return "FragmentDensityMapEXT"; 6096 case FormatFeatureFlagBits2::eFragmentShadingRateAttachmentKHR : return "FragmentShadingRateAttachmentKHR"; 6097 case FormatFeatureFlagBits2::eHostImageTransferEXT : return "HostImageTransferEXT"; 6098 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 6099 case FormatFeatureFlagBits2::eVideoEncodeInputKHR : return "VideoEncodeInputKHR"; 6100 case FormatFeatureFlagBits2::eVideoEncodeDpbKHR : return "VideoEncodeDpbKHR"; 6101 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 6102 case FormatFeatureFlagBits2::eLinearColorAttachmentNV : return "LinearColorAttachmentNV"; 6103 case FormatFeatureFlagBits2::eWeightImageQCOM : return "WeightImageQCOM"; 6104 case FormatFeatureFlagBits2::eWeightSampledImageQCOM : return "WeightSampledImageQCOM"; 6105 case FormatFeatureFlagBits2::eBlockMatchingQCOM : return "BlockMatchingQCOM"; 6106 case FormatFeatureFlagBits2::eBoxFilterSampledQCOM : return "BoxFilterSampledQCOM"; 6107 case FormatFeatureFlagBits2::eOpticalFlowImageNV : return "OpticalFlowImageNV"; 6108 case FormatFeatureFlagBits2::eOpticalFlowVectorNV : return "OpticalFlowVectorNV"; 6109 case FormatFeatureFlagBits2::eOpticalFlowCostNV : return "OpticalFlowCostNV"; 6110 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6111 } 6112 6113 } 6114 6115 //=== VK_KHR_surface === 6116 6117 to_string(SurfaceTransformFlagBitsKHR value)6118 VULKAN_HPP_INLINE std::string to_string( SurfaceTransformFlagBitsKHR value ) 6119 { 6120 switch ( value ) 6121 { 6122 case SurfaceTransformFlagBitsKHR::eIdentity : return "Identity"; 6123 case SurfaceTransformFlagBitsKHR::eRotate90 : return "Rotate90"; 6124 case SurfaceTransformFlagBitsKHR::eRotate180 : return "Rotate180"; 6125 case SurfaceTransformFlagBitsKHR::eRotate270 : return "Rotate270"; 6126 case SurfaceTransformFlagBitsKHR::eHorizontalMirror : return "HorizontalMirror"; 6127 case SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate90 : return "HorizontalMirrorRotate90"; 6128 case SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate180 : return "HorizontalMirrorRotate180"; 6129 case SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate270 : return "HorizontalMirrorRotate270"; 6130 case SurfaceTransformFlagBitsKHR::eInherit : return "Inherit"; 6131 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6132 } 6133 6134 } 6135 6136 to_string(PresentModeKHR value)6137 VULKAN_HPP_INLINE std::string to_string( PresentModeKHR value ) 6138 { 6139 switch ( value ) 6140 { 6141 case PresentModeKHR::eImmediate : return "Immediate"; 6142 case PresentModeKHR::eMailbox : return "Mailbox"; 6143 case PresentModeKHR::eFifo : return "Fifo"; 6144 case PresentModeKHR::eFifoRelaxed : return "FifoRelaxed"; 6145 case PresentModeKHR::eSharedDemandRefresh : return "SharedDemandRefresh"; 6146 case PresentModeKHR::eSharedContinuousRefresh : return "SharedContinuousRefresh"; 6147 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6148 } 6149 6150 } 6151 6152 to_string(ColorSpaceKHR value)6153 VULKAN_HPP_INLINE std::string to_string( ColorSpaceKHR value ) 6154 { 6155 switch ( value ) 6156 { 6157 case ColorSpaceKHR::eSrgbNonlinear : return "SrgbNonlinear"; 6158 case ColorSpaceKHR::eDisplayP3NonlinearEXT : return "DisplayP3NonlinearEXT"; 6159 case ColorSpaceKHR::eExtendedSrgbLinearEXT : return "ExtendedSrgbLinearEXT"; 6160 case ColorSpaceKHR::eDisplayP3LinearEXT : return "DisplayP3LinearEXT"; 6161 case ColorSpaceKHR::eDciP3NonlinearEXT : return "DciP3NonlinearEXT"; 6162 case ColorSpaceKHR::eBt709LinearEXT : return "Bt709LinearEXT"; 6163 case ColorSpaceKHR::eBt709NonlinearEXT : return "Bt709NonlinearEXT"; 6164 case ColorSpaceKHR::eBt2020LinearEXT : return "Bt2020LinearEXT"; 6165 case ColorSpaceKHR::eHdr10St2084EXT : return "Hdr10St2084EXT"; 6166 case ColorSpaceKHR::eDolbyvisionEXT : return "DolbyvisionEXT"; 6167 case ColorSpaceKHR::eHdr10HlgEXT : return "Hdr10HlgEXT"; 6168 case ColorSpaceKHR::eAdobergbLinearEXT : return "AdobergbLinearEXT"; 6169 case ColorSpaceKHR::eAdobergbNonlinearEXT : return "AdobergbNonlinearEXT"; 6170 case ColorSpaceKHR::ePassThroughEXT : return "PassThroughEXT"; 6171 case ColorSpaceKHR::eExtendedSrgbNonlinearEXT : return "ExtendedSrgbNonlinearEXT"; 6172 case ColorSpaceKHR::eDisplayNativeAMD : return "DisplayNativeAMD"; 6173 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6174 } 6175 6176 } 6177 6178 to_string(CompositeAlphaFlagBitsKHR value)6179 VULKAN_HPP_INLINE std::string to_string( CompositeAlphaFlagBitsKHR value ) 6180 { 6181 switch ( value ) 6182 { 6183 case CompositeAlphaFlagBitsKHR::eOpaque : return "Opaque"; 6184 case CompositeAlphaFlagBitsKHR::ePreMultiplied : return "PreMultiplied"; 6185 case CompositeAlphaFlagBitsKHR::ePostMultiplied : return "PostMultiplied"; 6186 case CompositeAlphaFlagBitsKHR::eInherit : return "Inherit"; 6187 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6188 } 6189 6190 } 6191 6192 //=== VK_KHR_swapchain === 6193 6194 to_string(SwapchainCreateFlagBitsKHR value)6195 VULKAN_HPP_INLINE std::string to_string( SwapchainCreateFlagBitsKHR value ) 6196 { 6197 switch ( value ) 6198 { 6199 case SwapchainCreateFlagBitsKHR::eSplitInstanceBindRegions : return "SplitInstanceBindRegions"; 6200 case SwapchainCreateFlagBitsKHR::eProtected : return "Protected"; 6201 case SwapchainCreateFlagBitsKHR::eMutableFormat : return "MutableFormat"; 6202 case SwapchainCreateFlagBitsKHR::eDeferredMemoryAllocationEXT : return "DeferredMemoryAllocationEXT"; 6203 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6204 } 6205 6206 } 6207 6208 to_string(DeviceGroupPresentModeFlagBitsKHR value)6209 VULKAN_HPP_INLINE std::string to_string( DeviceGroupPresentModeFlagBitsKHR value ) 6210 { 6211 switch ( value ) 6212 { 6213 case DeviceGroupPresentModeFlagBitsKHR::eLocal : return "Local"; 6214 case DeviceGroupPresentModeFlagBitsKHR::eRemote : return "Remote"; 6215 case DeviceGroupPresentModeFlagBitsKHR::eSum : return "Sum"; 6216 case DeviceGroupPresentModeFlagBitsKHR::eLocalMultiDevice : return "LocalMultiDevice"; 6217 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6218 } 6219 6220 } 6221 6222 //=== VK_KHR_display === 6223 6224 to_string(DisplayPlaneAlphaFlagBitsKHR value)6225 VULKAN_HPP_INLINE std::string to_string( DisplayPlaneAlphaFlagBitsKHR value ) 6226 { 6227 switch ( value ) 6228 { 6229 case DisplayPlaneAlphaFlagBitsKHR::eOpaque : return "Opaque"; 6230 case DisplayPlaneAlphaFlagBitsKHR::eGlobal : return "Global"; 6231 case DisplayPlaneAlphaFlagBitsKHR::ePerPixel : return "PerPixel"; 6232 case DisplayPlaneAlphaFlagBitsKHR::ePerPixelPremultiplied : return "PerPixelPremultiplied"; 6233 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6234 } 6235 6236 } 6237 6238 to_string(DisplayModeCreateFlagBitsKHR)6239 VULKAN_HPP_INLINE std::string to_string( DisplayModeCreateFlagBitsKHR ) 6240 { 6241 return "(void)"; 6242 } 6243 6244 to_string(DisplaySurfaceCreateFlagBitsKHR)6245 VULKAN_HPP_INLINE std::string to_string( DisplaySurfaceCreateFlagBitsKHR ) 6246 { 6247 return "(void)"; 6248 } 6249 6250 #if defined( VK_USE_PLATFORM_XLIB_KHR ) 6251 //=== VK_KHR_xlib_surface === 6252 6253 to_string(XlibSurfaceCreateFlagBitsKHR)6254 VULKAN_HPP_INLINE std::string to_string( XlibSurfaceCreateFlagBitsKHR ) 6255 { 6256 return "(void)"; 6257 } 6258 #endif /*VK_USE_PLATFORM_XLIB_KHR*/ 6259 6260 #if defined( VK_USE_PLATFORM_XCB_KHR ) 6261 //=== VK_KHR_xcb_surface === 6262 6263 to_string(XcbSurfaceCreateFlagBitsKHR)6264 VULKAN_HPP_INLINE std::string to_string( XcbSurfaceCreateFlagBitsKHR ) 6265 { 6266 return "(void)"; 6267 } 6268 #endif /*VK_USE_PLATFORM_XCB_KHR*/ 6269 6270 #if defined( VK_USE_PLATFORM_WAYLAND_KHR ) 6271 //=== VK_KHR_wayland_surface === 6272 6273 to_string(WaylandSurfaceCreateFlagBitsKHR)6274 VULKAN_HPP_INLINE std::string to_string( WaylandSurfaceCreateFlagBitsKHR ) 6275 { 6276 return "(void)"; 6277 } 6278 #endif /*VK_USE_PLATFORM_WAYLAND_KHR*/ 6279 6280 #if defined( VK_USE_PLATFORM_ANDROID_KHR ) 6281 //=== VK_KHR_android_surface === 6282 6283 to_string(AndroidSurfaceCreateFlagBitsKHR)6284 VULKAN_HPP_INLINE std::string to_string( AndroidSurfaceCreateFlagBitsKHR ) 6285 { 6286 return "(void)"; 6287 } 6288 #endif /*VK_USE_PLATFORM_ANDROID_KHR*/ 6289 6290 #if defined( VK_USE_PLATFORM_WIN32_KHR ) 6291 //=== VK_KHR_win32_surface === 6292 6293 to_string(Win32SurfaceCreateFlagBitsKHR)6294 VULKAN_HPP_INLINE std::string to_string( Win32SurfaceCreateFlagBitsKHR ) 6295 { 6296 return "(void)"; 6297 } 6298 #endif /*VK_USE_PLATFORM_WIN32_KHR*/ 6299 6300 //=== VK_EXT_debug_report === 6301 6302 to_string(DebugReportFlagBitsEXT value)6303 VULKAN_HPP_INLINE std::string to_string( DebugReportFlagBitsEXT value ) 6304 { 6305 switch ( value ) 6306 { 6307 case DebugReportFlagBitsEXT::eInformation : return "Information"; 6308 case DebugReportFlagBitsEXT::eWarning : return "Warning"; 6309 case DebugReportFlagBitsEXT::ePerformanceWarning : return "PerformanceWarning"; 6310 case DebugReportFlagBitsEXT::eError : return "Error"; 6311 case DebugReportFlagBitsEXT::eDebug : return "Debug"; 6312 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6313 } 6314 6315 } 6316 6317 to_string(DebugReportObjectTypeEXT value)6318 VULKAN_HPP_INLINE std::string to_string( DebugReportObjectTypeEXT value ) 6319 { 6320 switch ( value ) 6321 { 6322 case DebugReportObjectTypeEXT::eUnknown : return "Unknown"; 6323 case DebugReportObjectTypeEXT::eInstance : return "Instance"; 6324 case DebugReportObjectTypeEXT::ePhysicalDevice : return "PhysicalDevice"; 6325 case DebugReportObjectTypeEXT::eDevice : return "Device"; 6326 case DebugReportObjectTypeEXT::eQueue : return "Queue"; 6327 case DebugReportObjectTypeEXT::eSemaphore : return "Semaphore"; 6328 case DebugReportObjectTypeEXT::eCommandBuffer : return "CommandBuffer"; 6329 case DebugReportObjectTypeEXT::eFence : return "Fence"; 6330 case DebugReportObjectTypeEXT::eDeviceMemory : return "DeviceMemory"; 6331 case DebugReportObjectTypeEXT::eBuffer : return "Buffer"; 6332 case DebugReportObjectTypeEXT::eImage : return "Image"; 6333 case DebugReportObjectTypeEXT::eEvent : return "Event"; 6334 case DebugReportObjectTypeEXT::eQueryPool : return "QueryPool"; 6335 case DebugReportObjectTypeEXT::eBufferView : return "BufferView"; 6336 case DebugReportObjectTypeEXT::eImageView : return "ImageView"; 6337 case DebugReportObjectTypeEXT::eShaderModule : return "ShaderModule"; 6338 case DebugReportObjectTypeEXT::ePipelineCache : return "PipelineCache"; 6339 case DebugReportObjectTypeEXT::ePipelineLayout : return "PipelineLayout"; 6340 case DebugReportObjectTypeEXT::eRenderPass : return "RenderPass"; 6341 case DebugReportObjectTypeEXT::ePipeline : return "Pipeline"; 6342 case DebugReportObjectTypeEXT::eDescriptorSetLayout : return "DescriptorSetLayout"; 6343 case DebugReportObjectTypeEXT::eSampler : return "Sampler"; 6344 case DebugReportObjectTypeEXT::eDescriptorPool : return "DescriptorPool"; 6345 case DebugReportObjectTypeEXT::eDescriptorSet : return "DescriptorSet"; 6346 case DebugReportObjectTypeEXT::eFramebuffer : return "Framebuffer"; 6347 case DebugReportObjectTypeEXT::eCommandPool : return "CommandPool"; 6348 case DebugReportObjectTypeEXT::eSurfaceKHR : return "SurfaceKHR"; 6349 case DebugReportObjectTypeEXT::eSwapchainKHR : return "SwapchainKHR"; 6350 case DebugReportObjectTypeEXT::eDebugReportCallbackEXT : return "DebugReportCallbackEXT"; 6351 case DebugReportObjectTypeEXT::eDisplayKHR : return "DisplayKHR"; 6352 case DebugReportObjectTypeEXT::eDisplayModeKHR : return "DisplayModeKHR"; 6353 case DebugReportObjectTypeEXT::eValidationCacheEXT : return "ValidationCacheEXT"; 6354 case DebugReportObjectTypeEXT::eSamplerYcbcrConversion : return "SamplerYcbcrConversion"; 6355 case DebugReportObjectTypeEXT::eDescriptorUpdateTemplate : return "DescriptorUpdateTemplate"; 6356 case DebugReportObjectTypeEXT::eCuModuleNVX : return "CuModuleNVX"; 6357 case DebugReportObjectTypeEXT::eCuFunctionNVX : return "CuFunctionNVX"; 6358 case DebugReportObjectTypeEXT::eAccelerationStructureKHR : return "AccelerationStructureKHR"; 6359 case DebugReportObjectTypeEXT::eAccelerationStructureNV : return "AccelerationStructureNV"; 6360 #if defined( VK_USE_PLATFORM_FUCHSIA ) 6361 case DebugReportObjectTypeEXT::eBufferCollectionFUCHSIA : return "BufferCollectionFUCHSIA"; 6362 #endif /*VK_USE_PLATFORM_FUCHSIA*/ 6363 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6364 } 6365 6366 } 6367 6368 //=== VK_AMD_rasterization_order === 6369 6370 to_string(RasterizationOrderAMD value)6371 VULKAN_HPP_INLINE std::string to_string( RasterizationOrderAMD value ) 6372 { 6373 switch ( value ) 6374 { 6375 case RasterizationOrderAMD::eStrict : return "Strict"; 6376 case RasterizationOrderAMD::eRelaxed : return "Relaxed"; 6377 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6378 } 6379 6380 } 6381 6382 //=== VK_KHR_video_queue === 6383 6384 to_string(VideoCodecOperationFlagBitsKHR value)6385 VULKAN_HPP_INLINE std::string to_string( VideoCodecOperationFlagBitsKHR value ) 6386 { 6387 switch ( value ) 6388 { 6389 case VideoCodecOperationFlagBitsKHR::eNone : return "None"; 6390 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 6391 case VideoCodecOperationFlagBitsKHR::eEncodeH264EXT : return "EncodeH264EXT"; 6392 case VideoCodecOperationFlagBitsKHR::eEncodeH265EXT : return "EncodeH265EXT"; 6393 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 6394 case VideoCodecOperationFlagBitsKHR::eDecodeH264 : return "DecodeH264"; 6395 case VideoCodecOperationFlagBitsKHR::eDecodeH265 : return "DecodeH265"; 6396 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6397 } 6398 6399 } 6400 6401 to_string(VideoChromaSubsamplingFlagBitsKHR value)6402 VULKAN_HPP_INLINE std::string to_string( VideoChromaSubsamplingFlagBitsKHR value ) 6403 { 6404 switch ( value ) 6405 { 6406 case VideoChromaSubsamplingFlagBitsKHR::eInvalid : return "Invalid"; 6407 case VideoChromaSubsamplingFlagBitsKHR::eMonochrome : return "Monochrome"; 6408 case VideoChromaSubsamplingFlagBitsKHR::e420 : return "420"; 6409 case VideoChromaSubsamplingFlagBitsKHR::e422 : return "422"; 6410 case VideoChromaSubsamplingFlagBitsKHR::e444 : return "444"; 6411 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6412 } 6413 6414 } 6415 6416 to_string(VideoComponentBitDepthFlagBitsKHR value)6417 VULKAN_HPP_INLINE std::string to_string( VideoComponentBitDepthFlagBitsKHR value ) 6418 { 6419 switch ( value ) 6420 { 6421 case VideoComponentBitDepthFlagBitsKHR::eInvalid : return "Invalid"; 6422 case VideoComponentBitDepthFlagBitsKHR::e8 : return "8"; 6423 case VideoComponentBitDepthFlagBitsKHR::e10 : return "10"; 6424 case VideoComponentBitDepthFlagBitsKHR::e12 : return "12"; 6425 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6426 } 6427 6428 } 6429 6430 to_string(VideoCapabilityFlagBitsKHR value)6431 VULKAN_HPP_INLINE std::string to_string( VideoCapabilityFlagBitsKHR value ) 6432 { 6433 switch ( value ) 6434 { 6435 case VideoCapabilityFlagBitsKHR::eProtectedContent : return "ProtectedContent"; 6436 case VideoCapabilityFlagBitsKHR::eSeparateReferenceImages : return "SeparateReferenceImages"; 6437 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6438 } 6439 6440 } 6441 6442 to_string(VideoSessionCreateFlagBitsKHR value)6443 VULKAN_HPP_INLINE std::string to_string( VideoSessionCreateFlagBitsKHR value ) 6444 { 6445 switch ( value ) 6446 { 6447 case VideoSessionCreateFlagBitsKHR::eProtectedContent : return "ProtectedContent"; 6448 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 6449 case VideoSessionCreateFlagBitsKHR::eAllowEncodeParameterOptimizations : return "AllowEncodeParameterOptimizations"; 6450 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 6451 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6452 } 6453 6454 } 6455 6456 to_string(VideoCodingControlFlagBitsKHR value)6457 VULKAN_HPP_INLINE std::string to_string( VideoCodingControlFlagBitsKHR value ) 6458 { 6459 switch ( value ) 6460 { 6461 case VideoCodingControlFlagBitsKHR::eReset : return "Reset"; 6462 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 6463 case VideoCodingControlFlagBitsKHR::eEncodeRateControl : return "EncodeRateControl"; 6464 case VideoCodingControlFlagBitsKHR::eEncodeQualityLevel : return "EncodeQualityLevel"; 6465 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 6466 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6467 } 6468 6469 } 6470 6471 to_string(QueryResultStatusKHR value)6472 VULKAN_HPP_INLINE std::string to_string( QueryResultStatusKHR value ) 6473 { 6474 switch ( value ) 6475 { 6476 case QueryResultStatusKHR::eError : return "Error"; 6477 case QueryResultStatusKHR::eNotReady : return "NotReady"; 6478 case QueryResultStatusKHR::eComplete : return "Complete"; 6479 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 6480 case QueryResultStatusKHR::eInsufficientBitstreamBufferRange : return "InsufficientBitstreamBufferRange"; 6481 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 6482 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6483 } 6484 6485 } 6486 6487 to_string(VideoSessionParametersCreateFlagBitsKHR)6488 VULKAN_HPP_INLINE std::string to_string( VideoSessionParametersCreateFlagBitsKHR ) 6489 { 6490 return "(void)"; 6491 } 6492 6493 to_string(VideoBeginCodingFlagBitsKHR)6494 VULKAN_HPP_INLINE std::string to_string( VideoBeginCodingFlagBitsKHR ) 6495 { 6496 return "(void)"; 6497 } 6498 6499 to_string(VideoEndCodingFlagBitsKHR)6500 VULKAN_HPP_INLINE std::string to_string( VideoEndCodingFlagBitsKHR ) 6501 { 6502 return "(void)"; 6503 } 6504 6505 //=== VK_KHR_video_decode_queue === 6506 6507 to_string(VideoDecodeCapabilityFlagBitsKHR value)6508 VULKAN_HPP_INLINE std::string to_string( VideoDecodeCapabilityFlagBitsKHR value ) 6509 { 6510 switch ( value ) 6511 { 6512 case VideoDecodeCapabilityFlagBitsKHR::eDpbAndOutputCoincide : return "DpbAndOutputCoincide"; 6513 case VideoDecodeCapabilityFlagBitsKHR::eDpbAndOutputDistinct : return "DpbAndOutputDistinct"; 6514 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6515 } 6516 6517 } 6518 6519 to_string(VideoDecodeUsageFlagBitsKHR value)6520 VULKAN_HPP_INLINE std::string to_string( VideoDecodeUsageFlagBitsKHR value ) 6521 { 6522 switch ( value ) 6523 { 6524 case VideoDecodeUsageFlagBitsKHR::eDefault : return "Default"; 6525 case VideoDecodeUsageFlagBitsKHR::eTranscoding : return "Transcoding"; 6526 case VideoDecodeUsageFlagBitsKHR::eOffline : return "Offline"; 6527 case VideoDecodeUsageFlagBitsKHR::eStreaming : return "Streaming"; 6528 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6529 } 6530 6531 } 6532 6533 to_string(VideoDecodeFlagBitsKHR)6534 VULKAN_HPP_INLINE std::string to_string( VideoDecodeFlagBitsKHR ) 6535 { 6536 return "(void)"; 6537 } 6538 6539 //=== VK_EXT_transform_feedback === 6540 6541 to_string(PipelineRasterizationStateStreamCreateFlagBitsEXT)6542 VULKAN_HPP_INLINE std::string to_string( PipelineRasterizationStateStreamCreateFlagBitsEXT ) 6543 { 6544 return "(void)"; 6545 } 6546 6547 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 6548 //=== VK_EXT_video_encode_h264 === 6549 6550 to_string(VideoEncodeH264CapabilityFlagBitsEXT value)6551 VULKAN_HPP_INLINE std::string to_string( VideoEncodeH264CapabilityFlagBitsEXT value ) 6552 { 6553 switch ( value ) 6554 { 6555 case VideoEncodeH264CapabilityFlagBitsEXT::eHrdCompliance : return "HrdCompliance"; 6556 case VideoEncodeH264CapabilityFlagBitsEXT::ePredictionWeightTableGenerated : return "PredictionWeightTableGenerated"; 6557 case VideoEncodeH264CapabilityFlagBitsEXT::eRowUnalignedSlice : return "RowUnalignedSlice"; 6558 case VideoEncodeH264CapabilityFlagBitsEXT::eDifferentSliceType : return "DifferentSliceType"; 6559 case VideoEncodeH264CapabilityFlagBitsEXT::eBFrameInL0List : return "BFrameInL0List"; 6560 case VideoEncodeH264CapabilityFlagBitsEXT::eBFrameInL1List : return "BFrameInL1List"; 6561 case VideoEncodeH264CapabilityFlagBitsEXT::ePerPictureTypeMinMaxQp : return "PerPictureTypeMinMaxQp"; 6562 case VideoEncodeH264CapabilityFlagBitsEXT::ePerSliceConstantQp : return "PerSliceConstantQp"; 6563 case VideoEncodeH264CapabilityFlagBitsEXT::eGeneratePrefixNalu : return "GeneratePrefixNalu"; 6564 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6565 } 6566 6567 } 6568 6569 to_string(VideoEncodeH264StdFlagBitsEXT value)6570 VULKAN_HPP_INLINE std::string to_string( VideoEncodeH264StdFlagBitsEXT value ) 6571 { 6572 switch ( value ) 6573 { 6574 case VideoEncodeH264StdFlagBitsEXT::eSeparateColorPlaneFlagSet : return "SeparateColorPlaneFlagSet"; 6575 case VideoEncodeH264StdFlagBitsEXT::eQpprimeYZeroTransformBypassFlagSet : return "QpprimeYZeroTransformBypassFlagSet"; 6576 case VideoEncodeH264StdFlagBitsEXT::eScalingMatrixPresentFlagSet : return "ScalingMatrixPresentFlagSet"; 6577 case VideoEncodeH264StdFlagBitsEXT::eChromaQpIndexOffset : return "ChromaQpIndexOffset"; 6578 case VideoEncodeH264StdFlagBitsEXT::eSecondChromaQpIndexOffset : return "SecondChromaQpIndexOffset"; 6579 case VideoEncodeH264StdFlagBitsEXT::ePicInitQpMinus26 : return "PicInitQpMinus26"; 6580 case VideoEncodeH264StdFlagBitsEXT::eWeightedPredFlagSet : return "WeightedPredFlagSet"; 6581 case VideoEncodeH264StdFlagBitsEXT::eWeightedBipredIdcExplicit : return "WeightedBipredIdcExplicit"; 6582 case VideoEncodeH264StdFlagBitsEXT::eWeightedBipredIdcImplicit : return "WeightedBipredIdcImplicit"; 6583 case VideoEncodeH264StdFlagBitsEXT::eTransform8X8ModeFlagSet : return "Transform8X8ModeFlagSet"; 6584 case VideoEncodeH264StdFlagBitsEXT::eDirectSpatialMvPredFlagUnset : return "DirectSpatialMvPredFlagUnset"; 6585 case VideoEncodeH264StdFlagBitsEXT::eEntropyCodingModeFlagUnset : return "EntropyCodingModeFlagUnset"; 6586 case VideoEncodeH264StdFlagBitsEXT::eEntropyCodingModeFlagSet : return "EntropyCodingModeFlagSet"; 6587 case VideoEncodeH264StdFlagBitsEXT::eDirect8X8InferenceFlagUnset : return "Direct8X8InferenceFlagUnset"; 6588 case VideoEncodeH264StdFlagBitsEXT::eConstrainedIntraPredFlagSet : return "ConstrainedIntraPredFlagSet"; 6589 case VideoEncodeH264StdFlagBitsEXT::eDeblockingFilterDisabled : return "DeblockingFilterDisabled"; 6590 case VideoEncodeH264StdFlagBitsEXT::eDeblockingFilterEnabled : return "DeblockingFilterEnabled"; 6591 case VideoEncodeH264StdFlagBitsEXT::eDeblockingFilterPartial : return "DeblockingFilterPartial"; 6592 case VideoEncodeH264StdFlagBitsEXT::eSliceQpDelta : return "SliceQpDelta"; 6593 case VideoEncodeH264StdFlagBitsEXT::eDifferentSliceQpDelta : return "DifferentSliceQpDelta"; 6594 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6595 } 6596 6597 } 6598 6599 to_string(VideoEncodeH264RateControlFlagBitsEXT value)6600 VULKAN_HPP_INLINE std::string to_string( VideoEncodeH264RateControlFlagBitsEXT value ) 6601 { 6602 switch ( value ) 6603 { 6604 case VideoEncodeH264RateControlFlagBitsEXT::eAttemptHrdCompliance : return "AttemptHrdCompliance"; 6605 case VideoEncodeH264RateControlFlagBitsEXT::eRegularGop : return "RegularGop"; 6606 case VideoEncodeH264RateControlFlagBitsEXT::eReferencePatternFlat : return "ReferencePatternFlat"; 6607 case VideoEncodeH264RateControlFlagBitsEXT::eReferencePatternDyadic : return "ReferencePatternDyadic"; 6608 case VideoEncodeH264RateControlFlagBitsEXT::eTemporalLayerPatternDyadic : return "TemporalLayerPatternDyadic"; 6609 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6610 } 6611 6612 } 6613 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 6614 6615 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 6616 //=== VK_EXT_video_encode_h265 === 6617 6618 to_string(VideoEncodeH265CapabilityFlagBitsEXT value)6619 VULKAN_HPP_INLINE std::string to_string( VideoEncodeH265CapabilityFlagBitsEXT value ) 6620 { 6621 switch ( value ) 6622 { 6623 case VideoEncodeH265CapabilityFlagBitsEXT::eHrdCompliance : return "HrdCompliance"; 6624 case VideoEncodeH265CapabilityFlagBitsEXT::ePredictionWeightTableGenerated : return "PredictionWeightTableGenerated"; 6625 case VideoEncodeH265CapabilityFlagBitsEXT::eRowUnalignedSliceSegment : return "RowUnalignedSliceSegment"; 6626 case VideoEncodeH265CapabilityFlagBitsEXT::eDifferentSliceSegmentType : return "DifferentSliceSegmentType"; 6627 case VideoEncodeH265CapabilityFlagBitsEXT::eBFrameInL0List : return "BFrameInL0List"; 6628 case VideoEncodeH265CapabilityFlagBitsEXT::eBFrameInL1List : return "BFrameInL1List"; 6629 case VideoEncodeH265CapabilityFlagBitsEXT::ePerPictureTypeMinMaxQp : return "PerPictureTypeMinMaxQp"; 6630 case VideoEncodeH265CapabilityFlagBitsEXT::ePerSliceSegmentConstantQp : return "PerSliceSegmentConstantQp"; 6631 case VideoEncodeH265CapabilityFlagBitsEXT::eMultipleTilesPerSliceSegment : return "MultipleTilesPerSliceSegment"; 6632 case VideoEncodeH265CapabilityFlagBitsEXT::eMultipleSliceSegmentsPerTile : return "MultipleSliceSegmentsPerTile"; 6633 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6634 } 6635 6636 } 6637 6638 to_string(VideoEncodeH265StdFlagBitsEXT value)6639 VULKAN_HPP_INLINE std::string to_string( VideoEncodeH265StdFlagBitsEXT value ) 6640 { 6641 switch ( value ) 6642 { 6643 case VideoEncodeH265StdFlagBitsEXT::eSeparateColorPlaneFlagSet : return "SeparateColorPlaneFlagSet"; 6644 case VideoEncodeH265StdFlagBitsEXT::eSampleAdaptiveOffsetEnabledFlagSet : return "SampleAdaptiveOffsetEnabledFlagSet"; 6645 case VideoEncodeH265StdFlagBitsEXT::eScalingListDataPresentFlagSet : return "ScalingListDataPresentFlagSet"; 6646 case VideoEncodeH265StdFlagBitsEXT::ePcmEnabledFlagSet : return "PcmEnabledFlagSet"; 6647 case VideoEncodeH265StdFlagBitsEXT::eSpsTemporalMvpEnabledFlagSet : return "SpsTemporalMvpEnabledFlagSet"; 6648 case VideoEncodeH265StdFlagBitsEXT::eInitQpMinus26 : return "InitQpMinus26"; 6649 case VideoEncodeH265StdFlagBitsEXT::eWeightedPredFlagSet : return "WeightedPredFlagSet"; 6650 case VideoEncodeH265StdFlagBitsEXT::eWeightedBipredFlagSet : return "WeightedBipredFlagSet"; 6651 case VideoEncodeH265StdFlagBitsEXT::eLog2ParallelMergeLevelMinus2 : return "Log2ParallelMergeLevelMinus2"; 6652 case VideoEncodeH265StdFlagBitsEXT::eSignDataHidingEnabledFlagSet : return "SignDataHidingEnabledFlagSet"; 6653 case VideoEncodeH265StdFlagBitsEXT::eTransformSkipEnabledFlagSet : return "TransformSkipEnabledFlagSet"; 6654 case VideoEncodeH265StdFlagBitsEXT::eTransformSkipEnabledFlagUnset : return "TransformSkipEnabledFlagUnset"; 6655 case VideoEncodeH265StdFlagBitsEXT::ePpsSliceChromaQpOffsetsPresentFlagSet : return "PpsSliceChromaQpOffsetsPresentFlagSet"; 6656 case VideoEncodeH265StdFlagBitsEXT::eTransquantBypassEnabledFlagSet : return "TransquantBypassEnabledFlagSet"; 6657 case VideoEncodeH265StdFlagBitsEXT::eConstrainedIntraPredFlagSet : return "ConstrainedIntraPredFlagSet"; 6658 case VideoEncodeH265StdFlagBitsEXT::eEntropyCodingSyncEnabledFlagSet : return "EntropyCodingSyncEnabledFlagSet"; 6659 case VideoEncodeH265StdFlagBitsEXT::eDeblockingFilterOverrideEnabledFlagSet : return "DeblockingFilterOverrideEnabledFlagSet"; 6660 case VideoEncodeH265StdFlagBitsEXT::eDependentSliceSegmentsEnabledFlagSet : return "DependentSliceSegmentsEnabledFlagSet"; 6661 case VideoEncodeH265StdFlagBitsEXT::eDependentSliceSegmentFlagSet : return "DependentSliceSegmentFlagSet"; 6662 case VideoEncodeH265StdFlagBitsEXT::eSliceQpDelta : return "SliceQpDelta"; 6663 case VideoEncodeH265StdFlagBitsEXT::eDifferentSliceQpDelta : return "DifferentSliceQpDelta"; 6664 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6665 } 6666 6667 } 6668 6669 to_string(VideoEncodeH265CtbSizeFlagBitsEXT value)6670 VULKAN_HPP_INLINE std::string to_string( VideoEncodeH265CtbSizeFlagBitsEXT value ) 6671 { 6672 switch ( value ) 6673 { 6674 case VideoEncodeH265CtbSizeFlagBitsEXT::e16 : return "16"; 6675 case VideoEncodeH265CtbSizeFlagBitsEXT::e32 : return "32"; 6676 case VideoEncodeH265CtbSizeFlagBitsEXT::e64 : return "64"; 6677 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6678 } 6679 6680 } 6681 6682 to_string(VideoEncodeH265TransformBlockSizeFlagBitsEXT value)6683 VULKAN_HPP_INLINE std::string to_string( VideoEncodeH265TransformBlockSizeFlagBitsEXT value ) 6684 { 6685 switch ( value ) 6686 { 6687 case VideoEncodeH265TransformBlockSizeFlagBitsEXT::e4 : return "4"; 6688 case VideoEncodeH265TransformBlockSizeFlagBitsEXT::e8 : return "8"; 6689 case VideoEncodeH265TransformBlockSizeFlagBitsEXT::e16 : return "16"; 6690 case VideoEncodeH265TransformBlockSizeFlagBitsEXT::e32 : return "32"; 6691 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6692 } 6693 6694 } 6695 6696 to_string(VideoEncodeH265RateControlFlagBitsEXT value)6697 VULKAN_HPP_INLINE std::string to_string( VideoEncodeH265RateControlFlagBitsEXT value ) 6698 { 6699 switch ( value ) 6700 { 6701 case VideoEncodeH265RateControlFlagBitsEXT::eAttemptHrdCompliance : return "AttemptHrdCompliance"; 6702 case VideoEncodeH265RateControlFlagBitsEXT::eRegularGop : return "RegularGop"; 6703 case VideoEncodeH265RateControlFlagBitsEXT::eReferencePatternFlat : return "ReferencePatternFlat"; 6704 case VideoEncodeH265RateControlFlagBitsEXT::eReferencePatternDyadic : return "ReferencePatternDyadic"; 6705 case VideoEncodeH265RateControlFlagBitsEXT::eTemporalSubLayerPatternDyadic : return "TemporalSubLayerPatternDyadic"; 6706 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6707 } 6708 6709 } 6710 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 6711 6712 //=== VK_KHR_video_decode_h264 === 6713 6714 to_string(VideoDecodeH264PictureLayoutFlagBitsKHR value)6715 VULKAN_HPP_INLINE std::string to_string( VideoDecodeH264PictureLayoutFlagBitsKHR value ) 6716 { 6717 switch ( value ) 6718 { 6719 case VideoDecodeH264PictureLayoutFlagBitsKHR::eProgressive : return "Progressive"; 6720 case VideoDecodeH264PictureLayoutFlagBitsKHR::eInterlacedInterleavedLines : return "InterlacedInterleavedLines"; 6721 case VideoDecodeH264PictureLayoutFlagBitsKHR::eInterlacedSeparatePlanes : return "InterlacedSeparatePlanes"; 6722 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6723 } 6724 6725 } 6726 6727 //=== VK_AMD_shader_info === 6728 6729 to_string(ShaderInfoTypeAMD value)6730 VULKAN_HPP_INLINE std::string to_string( ShaderInfoTypeAMD value ) 6731 { 6732 switch ( value ) 6733 { 6734 case ShaderInfoTypeAMD::eStatistics : return "Statistics"; 6735 case ShaderInfoTypeAMD::eBinary : return "Binary"; 6736 case ShaderInfoTypeAMD::eDisassembly : return "Disassembly"; 6737 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6738 } 6739 6740 } 6741 6742 #if defined( VK_USE_PLATFORM_GGP ) 6743 //=== VK_GGP_stream_descriptor_surface === 6744 6745 to_string(StreamDescriptorSurfaceCreateFlagBitsGGP)6746 VULKAN_HPP_INLINE std::string to_string( StreamDescriptorSurfaceCreateFlagBitsGGP ) 6747 { 6748 return "(void)"; 6749 } 6750 #endif /*VK_USE_PLATFORM_GGP*/ 6751 6752 //=== VK_NV_external_memory_capabilities === 6753 6754 to_string(ExternalMemoryHandleTypeFlagBitsNV value)6755 VULKAN_HPP_INLINE std::string to_string( ExternalMemoryHandleTypeFlagBitsNV value ) 6756 { 6757 switch ( value ) 6758 { 6759 case ExternalMemoryHandleTypeFlagBitsNV::eOpaqueWin32 : return "OpaqueWin32"; 6760 case ExternalMemoryHandleTypeFlagBitsNV::eOpaqueWin32Kmt : return "OpaqueWin32Kmt"; 6761 case ExternalMemoryHandleTypeFlagBitsNV::eD3D11Image : return "D3D11Image"; 6762 case ExternalMemoryHandleTypeFlagBitsNV::eD3D11ImageKmt : return "D3D11ImageKmt"; 6763 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6764 } 6765 6766 } 6767 6768 to_string(ExternalMemoryFeatureFlagBitsNV value)6769 VULKAN_HPP_INLINE std::string to_string( ExternalMemoryFeatureFlagBitsNV value ) 6770 { 6771 switch ( value ) 6772 { 6773 case ExternalMemoryFeatureFlagBitsNV::eDedicatedOnly : return "DedicatedOnly"; 6774 case ExternalMemoryFeatureFlagBitsNV::eExportable : return "Exportable"; 6775 case ExternalMemoryFeatureFlagBitsNV::eImportable : return "Importable"; 6776 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6777 } 6778 6779 } 6780 6781 //=== VK_EXT_validation_flags === 6782 6783 to_string(ValidationCheckEXT value)6784 VULKAN_HPP_INLINE std::string to_string( ValidationCheckEXT value ) 6785 { 6786 switch ( value ) 6787 { 6788 case ValidationCheckEXT::eAll : return "All"; 6789 case ValidationCheckEXT::eShaders : return "Shaders"; 6790 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6791 } 6792 6793 } 6794 6795 #if defined( VK_USE_PLATFORM_VI_NN ) 6796 //=== VK_NN_vi_surface === 6797 6798 to_string(ViSurfaceCreateFlagBitsNN)6799 VULKAN_HPP_INLINE std::string to_string( ViSurfaceCreateFlagBitsNN ) 6800 { 6801 return "(void)"; 6802 } 6803 #endif /*VK_USE_PLATFORM_VI_NN*/ 6804 6805 //=== VK_EXT_pipeline_robustness === 6806 6807 to_string(PipelineRobustnessBufferBehaviorEXT value)6808 VULKAN_HPP_INLINE std::string to_string( PipelineRobustnessBufferBehaviorEXT value ) 6809 { 6810 switch ( value ) 6811 { 6812 case PipelineRobustnessBufferBehaviorEXT::eDeviceDefault : return "DeviceDefault"; 6813 case PipelineRobustnessBufferBehaviorEXT::eDisabled : return "Disabled"; 6814 case PipelineRobustnessBufferBehaviorEXT::eRobustBufferAccess : return "RobustBufferAccess"; 6815 case PipelineRobustnessBufferBehaviorEXT::eRobustBufferAccess2 : return "RobustBufferAccess2"; 6816 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6817 } 6818 6819 } 6820 6821 to_string(PipelineRobustnessImageBehaviorEXT value)6822 VULKAN_HPP_INLINE std::string to_string( PipelineRobustnessImageBehaviorEXT value ) 6823 { 6824 switch ( value ) 6825 { 6826 case PipelineRobustnessImageBehaviorEXT::eDeviceDefault : return "DeviceDefault"; 6827 case PipelineRobustnessImageBehaviorEXT::eDisabled : return "Disabled"; 6828 case PipelineRobustnessImageBehaviorEXT::eRobustImageAccess : return "RobustImageAccess"; 6829 case PipelineRobustnessImageBehaviorEXT::eRobustImageAccess2 : return "RobustImageAccess2"; 6830 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6831 } 6832 6833 } 6834 6835 //=== VK_EXT_conditional_rendering === 6836 6837 to_string(ConditionalRenderingFlagBitsEXT value)6838 VULKAN_HPP_INLINE std::string to_string( ConditionalRenderingFlagBitsEXT value ) 6839 { 6840 switch ( value ) 6841 { 6842 case ConditionalRenderingFlagBitsEXT::eInverted : return "Inverted"; 6843 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6844 } 6845 6846 } 6847 6848 //=== VK_EXT_display_surface_counter === 6849 6850 to_string(SurfaceCounterFlagBitsEXT value)6851 VULKAN_HPP_INLINE std::string to_string( SurfaceCounterFlagBitsEXT value ) 6852 { 6853 switch ( value ) 6854 { 6855 case SurfaceCounterFlagBitsEXT::eVblank : return "Vblank"; 6856 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6857 } 6858 6859 } 6860 6861 //=== VK_EXT_display_control === 6862 6863 to_string(DisplayPowerStateEXT value)6864 VULKAN_HPP_INLINE std::string to_string( DisplayPowerStateEXT value ) 6865 { 6866 switch ( value ) 6867 { 6868 case DisplayPowerStateEXT::eOff : return "Off"; 6869 case DisplayPowerStateEXT::eSuspend : return "Suspend"; 6870 case DisplayPowerStateEXT::eOn : return "On"; 6871 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6872 } 6873 6874 } 6875 6876 to_string(DeviceEventTypeEXT value)6877 VULKAN_HPP_INLINE std::string to_string( DeviceEventTypeEXT value ) 6878 { 6879 switch ( value ) 6880 { 6881 case DeviceEventTypeEXT::eDisplayHotplug : return "DisplayHotplug"; 6882 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6883 } 6884 6885 } 6886 6887 to_string(DisplayEventTypeEXT value)6888 VULKAN_HPP_INLINE std::string to_string( DisplayEventTypeEXT value ) 6889 { 6890 switch ( value ) 6891 { 6892 case DisplayEventTypeEXT::eFirstPixelOut : return "FirstPixelOut"; 6893 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6894 } 6895 6896 } 6897 6898 //=== VK_NV_viewport_swizzle === 6899 6900 to_string(ViewportCoordinateSwizzleNV value)6901 VULKAN_HPP_INLINE std::string to_string( ViewportCoordinateSwizzleNV value ) 6902 { 6903 switch ( value ) 6904 { 6905 case ViewportCoordinateSwizzleNV::ePositiveX : return "PositiveX"; 6906 case ViewportCoordinateSwizzleNV::eNegativeX : return "NegativeX"; 6907 case ViewportCoordinateSwizzleNV::ePositiveY : return "PositiveY"; 6908 case ViewportCoordinateSwizzleNV::eNegativeY : return "NegativeY"; 6909 case ViewportCoordinateSwizzleNV::ePositiveZ : return "PositiveZ"; 6910 case ViewportCoordinateSwizzleNV::eNegativeZ : return "NegativeZ"; 6911 case ViewportCoordinateSwizzleNV::ePositiveW : return "PositiveW"; 6912 case ViewportCoordinateSwizzleNV::eNegativeW : return "NegativeW"; 6913 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6914 } 6915 6916 } 6917 6918 to_string(PipelineViewportSwizzleStateCreateFlagBitsNV)6919 VULKAN_HPP_INLINE std::string to_string( PipelineViewportSwizzleStateCreateFlagBitsNV ) 6920 { 6921 return "(void)"; 6922 } 6923 6924 //=== VK_EXT_discard_rectangles === 6925 6926 to_string(DiscardRectangleModeEXT value)6927 VULKAN_HPP_INLINE std::string to_string( DiscardRectangleModeEXT value ) 6928 { 6929 switch ( value ) 6930 { 6931 case DiscardRectangleModeEXT::eInclusive : return "Inclusive"; 6932 case DiscardRectangleModeEXT::eExclusive : return "Exclusive"; 6933 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6934 } 6935 6936 } 6937 6938 to_string(PipelineDiscardRectangleStateCreateFlagBitsEXT)6939 VULKAN_HPP_INLINE std::string to_string( PipelineDiscardRectangleStateCreateFlagBitsEXT ) 6940 { 6941 return "(void)"; 6942 } 6943 6944 //=== VK_EXT_conservative_rasterization === 6945 6946 to_string(ConservativeRasterizationModeEXT value)6947 VULKAN_HPP_INLINE std::string to_string( ConservativeRasterizationModeEXT value ) 6948 { 6949 switch ( value ) 6950 { 6951 case ConservativeRasterizationModeEXT::eDisabled : return "Disabled"; 6952 case ConservativeRasterizationModeEXT::eOverestimate : return "Overestimate"; 6953 case ConservativeRasterizationModeEXT::eUnderestimate : return "Underestimate"; 6954 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6955 } 6956 6957 } 6958 6959 to_string(PipelineRasterizationConservativeStateCreateFlagBitsEXT)6960 VULKAN_HPP_INLINE std::string to_string( PipelineRasterizationConservativeStateCreateFlagBitsEXT ) 6961 { 6962 return "(void)"; 6963 } 6964 6965 //=== VK_EXT_depth_clip_enable === 6966 6967 to_string(PipelineRasterizationDepthClipStateCreateFlagBitsEXT)6968 VULKAN_HPP_INLINE std::string to_string( PipelineRasterizationDepthClipStateCreateFlagBitsEXT ) 6969 { 6970 return "(void)"; 6971 } 6972 6973 //=== VK_KHR_performance_query === 6974 6975 to_string(PerformanceCounterDescriptionFlagBitsKHR value)6976 VULKAN_HPP_INLINE std::string to_string( PerformanceCounterDescriptionFlagBitsKHR value ) 6977 { 6978 switch ( value ) 6979 { 6980 case PerformanceCounterDescriptionFlagBitsKHR::ePerformanceImpacting : return "PerformanceImpacting"; 6981 case PerformanceCounterDescriptionFlagBitsKHR::eConcurrentlyImpacted : return "ConcurrentlyImpacted"; 6982 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6983 } 6984 6985 } 6986 6987 to_string(PerformanceCounterScopeKHR value)6988 VULKAN_HPP_INLINE std::string to_string( PerformanceCounterScopeKHR value ) 6989 { 6990 switch ( value ) 6991 { 6992 case PerformanceCounterScopeKHR::eCommandBuffer : return "CommandBuffer"; 6993 case PerformanceCounterScopeKHR::eRenderPass : return "RenderPass"; 6994 case PerformanceCounterScopeKHR::eCommand : return "Command"; 6995 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 6996 } 6997 6998 } 6999 7000 to_string(PerformanceCounterStorageKHR value)7001 VULKAN_HPP_INLINE std::string to_string( PerformanceCounterStorageKHR value ) 7002 { 7003 switch ( value ) 7004 { 7005 case PerformanceCounterStorageKHR::eInt32 : return "Int32"; 7006 case PerformanceCounterStorageKHR::eInt64 : return "Int64"; 7007 case PerformanceCounterStorageKHR::eUint32 : return "Uint32"; 7008 case PerformanceCounterStorageKHR::eUint64 : return "Uint64"; 7009 case PerformanceCounterStorageKHR::eFloat32 : return "Float32"; 7010 case PerformanceCounterStorageKHR::eFloat64 : return "Float64"; 7011 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7012 } 7013 7014 } 7015 7016 to_string(PerformanceCounterUnitKHR value)7017 VULKAN_HPP_INLINE std::string to_string( PerformanceCounterUnitKHR value ) 7018 { 7019 switch ( value ) 7020 { 7021 case PerformanceCounterUnitKHR::eGeneric : return "Generic"; 7022 case PerformanceCounterUnitKHR::ePercentage : return "Percentage"; 7023 case PerformanceCounterUnitKHR::eNanoseconds : return "Nanoseconds"; 7024 case PerformanceCounterUnitKHR::eBytes : return "Bytes"; 7025 case PerformanceCounterUnitKHR::eBytesPerSecond : return "BytesPerSecond"; 7026 case PerformanceCounterUnitKHR::eKelvin : return "Kelvin"; 7027 case PerformanceCounterUnitKHR::eWatts : return "Watts"; 7028 case PerformanceCounterUnitKHR::eVolts : return "Volts"; 7029 case PerformanceCounterUnitKHR::eAmps : return "Amps"; 7030 case PerformanceCounterUnitKHR::eHertz : return "Hertz"; 7031 case PerformanceCounterUnitKHR::eCycles : return "Cycles"; 7032 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7033 } 7034 7035 } 7036 7037 to_string(AcquireProfilingLockFlagBitsKHR)7038 VULKAN_HPP_INLINE std::string to_string( AcquireProfilingLockFlagBitsKHR ) 7039 { 7040 return "(void)"; 7041 } 7042 7043 #if defined( VK_USE_PLATFORM_IOS_MVK ) 7044 //=== VK_MVK_ios_surface === 7045 7046 to_string(IOSSurfaceCreateFlagBitsMVK)7047 VULKAN_HPP_INLINE std::string to_string( IOSSurfaceCreateFlagBitsMVK ) 7048 { 7049 return "(void)"; 7050 } 7051 #endif /*VK_USE_PLATFORM_IOS_MVK*/ 7052 7053 #if defined( VK_USE_PLATFORM_MACOS_MVK ) 7054 //=== VK_MVK_macos_surface === 7055 7056 to_string(MacOSSurfaceCreateFlagBitsMVK)7057 VULKAN_HPP_INLINE std::string to_string( MacOSSurfaceCreateFlagBitsMVK ) 7058 { 7059 return "(void)"; 7060 } 7061 #endif /*VK_USE_PLATFORM_MACOS_MVK*/ 7062 7063 //=== VK_EXT_debug_utils === 7064 7065 to_string(DebugUtilsMessageSeverityFlagBitsEXT value)7066 VULKAN_HPP_INLINE std::string to_string( DebugUtilsMessageSeverityFlagBitsEXT value ) 7067 { 7068 switch ( value ) 7069 { 7070 case DebugUtilsMessageSeverityFlagBitsEXT::eVerbose : return "Verbose"; 7071 case DebugUtilsMessageSeverityFlagBitsEXT::eInfo : return "Info"; 7072 case DebugUtilsMessageSeverityFlagBitsEXT::eWarning : return "Warning"; 7073 case DebugUtilsMessageSeverityFlagBitsEXT::eError : return "Error"; 7074 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7075 } 7076 7077 } 7078 7079 to_string(DebugUtilsMessageTypeFlagBitsEXT value)7080 VULKAN_HPP_INLINE std::string to_string( DebugUtilsMessageTypeFlagBitsEXT value ) 7081 { 7082 switch ( value ) 7083 { 7084 case DebugUtilsMessageTypeFlagBitsEXT::eGeneral : return "General"; 7085 case DebugUtilsMessageTypeFlagBitsEXT::eValidation : return "Validation"; 7086 case DebugUtilsMessageTypeFlagBitsEXT::ePerformance : return "Performance"; 7087 case DebugUtilsMessageTypeFlagBitsEXT::eDeviceAddressBinding : return "DeviceAddressBinding"; 7088 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7089 } 7090 7091 } 7092 7093 to_string(DebugUtilsMessengerCallbackDataFlagBitsEXT)7094 VULKAN_HPP_INLINE std::string to_string( DebugUtilsMessengerCallbackDataFlagBitsEXT ) 7095 { 7096 return "(void)"; 7097 } 7098 7099 to_string(DebugUtilsMessengerCreateFlagBitsEXT)7100 VULKAN_HPP_INLINE std::string to_string( DebugUtilsMessengerCreateFlagBitsEXT ) 7101 { 7102 return "(void)"; 7103 } 7104 7105 //=== VK_EXT_blend_operation_advanced === 7106 7107 to_string(BlendOverlapEXT value)7108 VULKAN_HPP_INLINE std::string to_string( BlendOverlapEXT value ) 7109 { 7110 switch ( value ) 7111 { 7112 case BlendOverlapEXT::eUncorrelated : return "Uncorrelated"; 7113 case BlendOverlapEXT::eDisjoint : return "Disjoint"; 7114 case BlendOverlapEXT::eConjoint : return "Conjoint"; 7115 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7116 } 7117 7118 } 7119 7120 //=== VK_NV_fragment_coverage_to_color === 7121 7122 to_string(PipelineCoverageToColorStateCreateFlagBitsNV)7123 VULKAN_HPP_INLINE std::string to_string( PipelineCoverageToColorStateCreateFlagBitsNV ) 7124 { 7125 return "(void)"; 7126 } 7127 7128 //=== VK_KHR_acceleration_structure === 7129 7130 to_string(AccelerationStructureTypeKHR value)7131 VULKAN_HPP_INLINE std::string to_string( AccelerationStructureTypeKHR value ) 7132 { 7133 switch ( value ) 7134 { 7135 case AccelerationStructureTypeKHR::eTopLevel : return "TopLevel"; 7136 case AccelerationStructureTypeKHR::eBottomLevel : return "BottomLevel"; 7137 case AccelerationStructureTypeKHR::eGeneric : return "Generic"; 7138 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7139 } 7140 7141 } 7142 7143 to_string(AccelerationStructureBuildTypeKHR value)7144 VULKAN_HPP_INLINE std::string to_string( AccelerationStructureBuildTypeKHR value ) 7145 { 7146 switch ( value ) 7147 { 7148 case AccelerationStructureBuildTypeKHR::eHost : return "Host"; 7149 case AccelerationStructureBuildTypeKHR::eDevice : return "Device"; 7150 case AccelerationStructureBuildTypeKHR::eHostOrDevice : return "HostOrDevice"; 7151 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7152 } 7153 7154 } 7155 7156 to_string(GeometryFlagBitsKHR value)7157 VULKAN_HPP_INLINE std::string to_string( GeometryFlagBitsKHR value ) 7158 { 7159 switch ( value ) 7160 { 7161 case GeometryFlagBitsKHR::eOpaque : return "Opaque"; 7162 case GeometryFlagBitsKHR::eNoDuplicateAnyHitInvocation : return "NoDuplicateAnyHitInvocation"; 7163 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7164 } 7165 7166 } 7167 7168 to_string(GeometryInstanceFlagBitsKHR value)7169 VULKAN_HPP_INLINE std::string to_string( GeometryInstanceFlagBitsKHR value ) 7170 { 7171 switch ( value ) 7172 { 7173 case GeometryInstanceFlagBitsKHR::eTriangleFacingCullDisable : return "TriangleFacingCullDisable"; 7174 case GeometryInstanceFlagBitsKHR::eTriangleFlipFacing : return "TriangleFlipFacing"; 7175 case GeometryInstanceFlagBitsKHR::eForceOpaque : return "ForceOpaque"; 7176 case GeometryInstanceFlagBitsKHR::eForceNoOpaque : return "ForceNoOpaque"; 7177 case GeometryInstanceFlagBitsKHR::eForceOpacityMicromap2StateEXT : return "ForceOpacityMicromap2StateEXT"; 7178 case GeometryInstanceFlagBitsKHR::eDisableOpacityMicromapsEXT : return "DisableOpacityMicromapsEXT"; 7179 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7180 } 7181 7182 } 7183 7184 to_string(BuildAccelerationStructureFlagBitsKHR value)7185 VULKAN_HPP_INLINE std::string to_string( BuildAccelerationStructureFlagBitsKHR value ) 7186 { 7187 switch ( value ) 7188 { 7189 case BuildAccelerationStructureFlagBitsKHR::eAllowUpdate : return "AllowUpdate"; 7190 case BuildAccelerationStructureFlagBitsKHR::eAllowCompaction : return "AllowCompaction"; 7191 case BuildAccelerationStructureFlagBitsKHR::ePreferFastTrace : return "PreferFastTrace"; 7192 case BuildAccelerationStructureFlagBitsKHR::ePreferFastBuild : return "PreferFastBuild"; 7193 case BuildAccelerationStructureFlagBitsKHR::eLowMemory : return "LowMemory"; 7194 case BuildAccelerationStructureFlagBitsKHR::eMotionNV : return "MotionNV"; 7195 case BuildAccelerationStructureFlagBitsKHR::eAllowOpacityMicromapUpdateEXT : return "AllowOpacityMicromapUpdateEXT"; 7196 case BuildAccelerationStructureFlagBitsKHR::eAllowDisableOpacityMicromapsEXT : return "AllowDisableOpacityMicromapsEXT"; 7197 case BuildAccelerationStructureFlagBitsKHR::eAllowOpacityMicromapDataUpdateEXT : return "AllowOpacityMicromapDataUpdateEXT"; 7198 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 7199 case BuildAccelerationStructureFlagBitsKHR::eAllowDisplacementMicromapUpdateNV : return "AllowDisplacementMicromapUpdateNV"; 7200 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 7201 case BuildAccelerationStructureFlagBitsKHR::eAllowDataAccess : return "AllowDataAccess"; 7202 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7203 } 7204 7205 } 7206 7207 to_string(CopyAccelerationStructureModeKHR value)7208 VULKAN_HPP_INLINE std::string to_string( CopyAccelerationStructureModeKHR value ) 7209 { 7210 switch ( value ) 7211 { 7212 case CopyAccelerationStructureModeKHR::eClone : return "Clone"; 7213 case CopyAccelerationStructureModeKHR::eCompact : return "Compact"; 7214 case CopyAccelerationStructureModeKHR::eSerialize : return "Serialize"; 7215 case CopyAccelerationStructureModeKHR::eDeserialize : return "Deserialize"; 7216 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7217 } 7218 7219 } 7220 7221 to_string(GeometryTypeKHR value)7222 VULKAN_HPP_INLINE std::string to_string( GeometryTypeKHR value ) 7223 { 7224 switch ( value ) 7225 { 7226 case GeometryTypeKHR::eTriangles : return "Triangles"; 7227 case GeometryTypeKHR::eAabbs : return "Aabbs"; 7228 case GeometryTypeKHR::eInstances : return "Instances"; 7229 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7230 } 7231 7232 } 7233 7234 to_string(AccelerationStructureCompatibilityKHR value)7235 VULKAN_HPP_INLINE std::string to_string( AccelerationStructureCompatibilityKHR value ) 7236 { 7237 switch ( value ) 7238 { 7239 case AccelerationStructureCompatibilityKHR::eCompatible : return "Compatible"; 7240 case AccelerationStructureCompatibilityKHR::eIncompatible : return "Incompatible"; 7241 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7242 } 7243 7244 } 7245 7246 to_string(AccelerationStructureCreateFlagBitsKHR value)7247 VULKAN_HPP_INLINE std::string to_string( AccelerationStructureCreateFlagBitsKHR value ) 7248 { 7249 switch ( value ) 7250 { 7251 case AccelerationStructureCreateFlagBitsKHR::eDeviceAddressCaptureReplay : return "DeviceAddressCaptureReplay"; 7252 case AccelerationStructureCreateFlagBitsKHR::eDescriptorBufferCaptureReplayEXT : return "DescriptorBufferCaptureReplayEXT"; 7253 case AccelerationStructureCreateFlagBitsKHR::eMotionNV : return "MotionNV"; 7254 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7255 } 7256 7257 } 7258 7259 to_string(BuildAccelerationStructureModeKHR value)7260 VULKAN_HPP_INLINE std::string to_string( BuildAccelerationStructureModeKHR value ) 7261 { 7262 switch ( value ) 7263 { 7264 case BuildAccelerationStructureModeKHR::eBuild : return "Build"; 7265 case BuildAccelerationStructureModeKHR::eUpdate : return "Update"; 7266 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7267 } 7268 7269 } 7270 7271 //=== VK_KHR_ray_tracing_pipeline === 7272 7273 to_string(RayTracingShaderGroupTypeKHR value)7274 VULKAN_HPP_INLINE std::string to_string( RayTracingShaderGroupTypeKHR value ) 7275 { 7276 switch ( value ) 7277 { 7278 case RayTracingShaderGroupTypeKHR::eGeneral : return "General"; 7279 case RayTracingShaderGroupTypeKHR::eTrianglesHitGroup : return "TrianglesHitGroup"; 7280 case RayTracingShaderGroupTypeKHR::eProceduralHitGroup : return "ProceduralHitGroup"; 7281 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7282 } 7283 7284 } 7285 7286 to_string(ShaderGroupShaderKHR value)7287 VULKAN_HPP_INLINE std::string to_string( ShaderGroupShaderKHR value ) 7288 { 7289 switch ( value ) 7290 { 7291 case ShaderGroupShaderKHR::eGeneral : return "General"; 7292 case ShaderGroupShaderKHR::eClosestHit : return "ClosestHit"; 7293 case ShaderGroupShaderKHR::eAnyHit : return "AnyHit"; 7294 case ShaderGroupShaderKHR::eIntersection : return "Intersection"; 7295 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7296 } 7297 7298 } 7299 7300 //=== VK_NV_framebuffer_mixed_samples === 7301 7302 to_string(CoverageModulationModeNV value)7303 VULKAN_HPP_INLINE std::string to_string( CoverageModulationModeNV value ) 7304 { 7305 switch ( value ) 7306 { 7307 case CoverageModulationModeNV::eNone : return "None"; 7308 case CoverageModulationModeNV::eRgb : return "Rgb"; 7309 case CoverageModulationModeNV::eAlpha : return "Alpha"; 7310 case CoverageModulationModeNV::eRgba : return "Rgba"; 7311 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7312 } 7313 7314 } 7315 7316 to_string(PipelineCoverageModulationStateCreateFlagBitsNV)7317 VULKAN_HPP_INLINE std::string to_string( PipelineCoverageModulationStateCreateFlagBitsNV ) 7318 { 7319 return "(void)"; 7320 } 7321 7322 //=== VK_EXT_validation_cache === 7323 7324 to_string(ValidationCacheHeaderVersionEXT value)7325 VULKAN_HPP_INLINE std::string to_string( ValidationCacheHeaderVersionEXT value ) 7326 { 7327 switch ( value ) 7328 { 7329 case ValidationCacheHeaderVersionEXT::eOne : return "One"; 7330 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7331 } 7332 7333 } 7334 7335 to_string(ValidationCacheCreateFlagBitsEXT)7336 VULKAN_HPP_INLINE std::string to_string( ValidationCacheCreateFlagBitsEXT ) 7337 { 7338 return "(void)"; 7339 } 7340 7341 //=== VK_NV_shading_rate_image === 7342 7343 to_string(ShadingRatePaletteEntryNV value)7344 VULKAN_HPP_INLINE std::string to_string( ShadingRatePaletteEntryNV value ) 7345 { 7346 switch ( value ) 7347 { 7348 case ShadingRatePaletteEntryNV::eNoInvocations : return "NoInvocations"; 7349 case ShadingRatePaletteEntryNV::e16InvocationsPerPixel : return "16InvocationsPerPixel"; 7350 case ShadingRatePaletteEntryNV::e8InvocationsPerPixel : return "8InvocationsPerPixel"; 7351 case ShadingRatePaletteEntryNV::e4InvocationsPerPixel : return "4InvocationsPerPixel"; 7352 case ShadingRatePaletteEntryNV::e2InvocationsPerPixel : return "2InvocationsPerPixel"; 7353 case ShadingRatePaletteEntryNV::e1InvocationPerPixel : return "1InvocationPerPixel"; 7354 case ShadingRatePaletteEntryNV::e1InvocationPer2X1Pixels : return "1InvocationPer2X1Pixels"; 7355 case ShadingRatePaletteEntryNV::e1InvocationPer1X2Pixels : return "1InvocationPer1X2Pixels"; 7356 case ShadingRatePaletteEntryNV::e1InvocationPer2X2Pixels : return "1InvocationPer2X2Pixels"; 7357 case ShadingRatePaletteEntryNV::e1InvocationPer4X2Pixels : return "1InvocationPer4X2Pixels"; 7358 case ShadingRatePaletteEntryNV::e1InvocationPer2X4Pixels : return "1InvocationPer2X4Pixels"; 7359 case ShadingRatePaletteEntryNV::e1InvocationPer4X4Pixels : return "1InvocationPer4X4Pixels"; 7360 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7361 } 7362 7363 } 7364 7365 to_string(CoarseSampleOrderTypeNV value)7366 VULKAN_HPP_INLINE std::string to_string( CoarseSampleOrderTypeNV value ) 7367 { 7368 switch ( value ) 7369 { 7370 case CoarseSampleOrderTypeNV::eDefault : return "Default"; 7371 case CoarseSampleOrderTypeNV::eCustom : return "Custom"; 7372 case CoarseSampleOrderTypeNV::ePixelMajor : return "PixelMajor"; 7373 case CoarseSampleOrderTypeNV::eSampleMajor : return "SampleMajor"; 7374 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7375 } 7376 7377 } 7378 7379 //=== VK_NV_ray_tracing === 7380 7381 to_string(AccelerationStructureMemoryRequirementsTypeNV value)7382 VULKAN_HPP_INLINE std::string to_string( AccelerationStructureMemoryRequirementsTypeNV value ) 7383 { 7384 switch ( value ) 7385 { 7386 case AccelerationStructureMemoryRequirementsTypeNV::eObject : return "Object"; 7387 case AccelerationStructureMemoryRequirementsTypeNV::eBuildScratch : return "BuildScratch"; 7388 case AccelerationStructureMemoryRequirementsTypeNV::eUpdateScratch : return "UpdateScratch"; 7389 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7390 } 7391 7392 } 7393 7394 //=== VK_AMD_pipeline_compiler_control === 7395 7396 to_string(PipelineCompilerControlFlagBitsAMD)7397 VULKAN_HPP_INLINE std::string to_string( PipelineCompilerControlFlagBitsAMD ) 7398 { 7399 return "(void)"; 7400 } 7401 7402 //=== VK_EXT_calibrated_timestamps === 7403 7404 to_string(TimeDomainEXT value)7405 VULKAN_HPP_INLINE std::string to_string( TimeDomainEXT value ) 7406 { 7407 switch ( value ) 7408 { 7409 case TimeDomainEXT::eDevice : return "Device"; 7410 case TimeDomainEXT::eClockMonotonic : return "ClockMonotonic"; 7411 case TimeDomainEXT::eClockMonotonicRaw : return "ClockMonotonicRaw"; 7412 case TimeDomainEXT::eQueryPerformanceCounter : return "QueryPerformanceCounter"; 7413 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7414 } 7415 7416 } 7417 7418 //=== VK_KHR_global_priority === 7419 7420 to_string(QueueGlobalPriorityKHR value)7421 VULKAN_HPP_INLINE std::string to_string( QueueGlobalPriorityKHR value ) 7422 { 7423 switch ( value ) 7424 { 7425 case QueueGlobalPriorityKHR::eLow : return "Low"; 7426 case QueueGlobalPriorityKHR::eMedium : return "Medium"; 7427 case QueueGlobalPriorityKHR::eHigh : return "High"; 7428 case QueueGlobalPriorityKHR::eRealtime : return "Realtime"; 7429 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7430 } 7431 7432 } 7433 7434 //=== VK_AMD_memory_overallocation_behavior === 7435 7436 to_string(MemoryOverallocationBehaviorAMD value)7437 VULKAN_HPP_INLINE std::string to_string( MemoryOverallocationBehaviorAMD value ) 7438 { 7439 switch ( value ) 7440 { 7441 case MemoryOverallocationBehaviorAMD::eDefault : return "Default"; 7442 case MemoryOverallocationBehaviorAMD::eAllowed : return "Allowed"; 7443 case MemoryOverallocationBehaviorAMD::eDisallowed : return "Disallowed"; 7444 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7445 } 7446 7447 } 7448 7449 //=== VK_INTEL_performance_query === 7450 7451 to_string(PerformanceConfigurationTypeINTEL value)7452 VULKAN_HPP_INLINE std::string to_string( PerformanceConfigurationTypeINTEL value ) 7453 { 7454 switch ( value ) 7455 { 7456 case PerformanceConfigurationTypeINTEL::eCommandQueueMetricsDiscoveryActivated : return "CommandQueueMetricsDiscoveryActivated"; 7457 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7458 } 7459 7460 } 7461 7462 to_string(QueryPoolSamplingModeINTEL value)7463 VULKAN_HPP_INLINE std::string to_string( QueryPoolSamplingModeINTEL value ) 7464 { 7465 switch ( value ) 7466 { 7467 case QueryPoolSamplingModeINTEL::eManual : return "Manual"; 7468 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7469 } 7470 7471 } 7472 7473 to_string(PerformanceOverrideTypeINTEL value)7474 VULKAN_HPP_INLINE std::string to_string( PerformanceOverrideTypeINTEL value ) 7475 { 7476 switch ( value ) 7477 { 7478 case PerformanceOverrideTypeINTEL::eNullHardware : return "NullHardware"; 7479 case PerformanceOverrideTypeINTEL::eFlushGpuCaches : return "FlushGpuCaches"; 7480 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7481 } 7482 7483 } 7484 7485 to_string(PerformanceParameterTypeINTEL value)7486 VULKAN_HPP_INLINE std::string to_string( PerformanceParameterTypeINTEL value ) 7487 { 7488 switch ( value ) 7489 { 7490 case PerformanceParameterTypeINTEL::eHwCountersSupported : return "HwCountersSupported"; 7491 case PerformanceParameterTypeINTEL::eStreamMarkerValidBits : return "StreamMarkerValidBits"; 7492 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7493 } 7494 7495 } 7496 7497 to_string(PerformanceValueTypeINTEL value)7498 VULKAN_HPP_INLINE std::string to_string( PerformanceValueTypeINTEL value ) 7499 { 7500 switch ( value ) 7501 { 7502 case PerformanceValueTypeINTEL::eUint32 : return "Uint32"; 7503 case PerformanceValueTypeINTEL::eUint64 : return "Uint64"; 7504 case PerformanceValueTypeINTEL::eFloat : return "Float"; 7505 case PerformanceValueTypeINTEL::eBool : return "Bool"; 7506 case PerformanceValueTypeINTEL::eString : return "String"; 7507 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7508 } 7509 7510 } 7511 7512 #if defined( VK_USE_PLATFORM_FUCHSIA ) 7513 //=== VK_FUCHSIA_imagepipe_surface === 7514 7515 to_string(ImagePipeSurfaceCreateFlagBitsFUCHSIA)7516 VULKAN_HPP_INLINE std::string to_string( ImagePipeSurfaceCreateFlagBitsFUCHSIA ) 7517 { 7518 return "(void)"; 7519 } 7520 #endif /*VK_USE_PLATFORM_FUCHSIA*/ 7521 7522 #if defined( VK_USE_PLATFORM_METAL_EXT ) 7523 //=== VK_EXT_metal_surface === 7524 7525 to_string(MetalSurfaceCreateFlagBitsEXT)7526 VULKAN_HPP_INLINE std::string to_string( MetalSurfaceCreateFlagBitsEXT ) 7527 { 7528 return "(void)"; 7529 } 7530 #endif /*VK_USE_PLATFORM_METAL_EXT*/ 7531 7532 //=== VK_KHR_fragment_shading_rate === 7533 7534 to_string(FragmentShadingRateCombinerOpKHR value)7535 VULKAN_HPP_INLINE std::string to_string( FragmentShadingRateCombinerOpKHR value ) 7536 { 7537 switch ( value ) 7538 { 7539 case FragmentShadingRateCombinerOpKHR::eKeep : return "Keep"; 7540 case FragmentShadingRateCombinerOpKHR::eReplace : return "Replace"; 7541 case FragmentShadingRateCombinerOpKHR::eMin : return "Min"; 7542 case FragmentShadingRateCombinerOpKHR::eMax : return "Max"; 7543 case FragmentShadingRateCombinerOpKHR::eMul : return "Mul"; 7544 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7545 } 7546 7547 } 7548 7549 //=== VK_AMD_shader_core_properties2 === 7550 7551 to_string(ShaderCorePropertiesFlagBitsAMD)7552 VULKAN_HPP_INLINE std::string to_string( ShaderCorePropertiesFlagBitsAMD ) 7553 { 7554 return "(void)"; 7555 } 7556 7557 //=== VK_EXT_validation_features === 7558 7559 to_string(ValidationFeatureEnableEXT value)7560 VULKAN_HPP_INLINE std::string to_string( ValidationFeatureEnableEXT value ) 7561 { 7562 switch ( value ) 7563 { 7564 case ValidationFeatureEnableEXT::eGpuAssisted : return "GpuAssisted"; 7565 case ValidationFeatureEnableEXT::eGpuAssistedReserveBindingSlot : return "GpuAssistedReserveBindingSlot"; 7566 case ValidationFeatureEnableEXT::eBestPractices : return "BestPractices"; 7567 case ValidationFeatureEnableEXT::eDebugPrintf : return "DebugPrintf"; 7568 case ValidationFeatureEnableEXT::eSynchronizationValidation : return "SynchronizationValidation"; 7569 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7570 } 7571 7572 } 7573 7574 to_string(ValidationFeatureDisableEXT value)7575 VULKAN_HPP_INLINE std::string to_string( ValidationFeatureDisableEXT value ) 7576 { 7577 switch ( value ) 7578 { 7579 case ValidationFeatureDisableEXT::eAll : return "All"; 7580 case ValidationFeatureDisableEXT::eShaders : return "Shaders"; 7581 case ValidationFeatureDisableEXT::eThreadSafety : return "ThreadSafety"; 7582 case ValidationFeatureDisableEXT::eApiParameters : return "ApiParameters"; 7583 case ValidationFeatureDisableEXT::eObjectLifetimes : return "ObjectLifetimes"; 7584 case ValidationFeatureDisableEXT::eCoreChecks : return "CoreChecks"; 7585 case ValidationFeatureDisableEXT::eUniqueHandles : return "UniqueHandles"; 7586 case ValidationFeatureDisableEXT::eShaderValidationCache : return "ShaderValidationCache"; 7587 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7588 } 7589 7590 } 7591 7592 //=== VK_NV_coverage_reduction_mode === 7593 7594 to_string(CoverageReductionModeNV value)7595 VULKAN_HPP_INLINE std::string to_string( CoverageReductionModeNV value ) 7596 { 7597 switch ( value ) 7598 { 7599 case CoverageReductionModeNV::eMerge : return "Merge"; 7600 case CoverageReductionModeNV::eTruncate : return "Truncate"; 7601 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7602 } 7603 7604 } 7605 7606 to_string(PipelineCoverageReductionStateCreateFlagBitsNV)7607 VULKAN_HPP_INLINE std::string to_string( PipelineCoverageReductionStateCreateFlagBitsNV ) 7608 { 7609 return "(void)"; 7610 } 7611 7612 //=== VK_EXT_provoking_vertex === 7613 7614 to_string(ProvokingVertexModeEXT value)7615 VULKAN_HPP_INLINE std::string to_string( ProvokingVertexModeEXT value ) 7616 { 7617 switch ( value ) 7618 { 7619 case ProvokingVertexModeEXT::eFirstVertex : return "FirstVertex"; 7620 case ProvokingVertexModeEXT::eLastVertex : return "LastVertex"; 7621 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7622 } 7623 7624 } 7625 7626 #if defined( VK_USE_PLATFORM_WIN32_KHR ) 7627 //=== VK_EXT_full_screen_exclusive === 7628 7629 to_string(FullScreenExclusiveEXT value)7630 VULKAN_HPP_INLINE std::string to_string( FullScreenExclusiveEXT value ) 7631 { 7632 switch ( value ) 7633 { 7634 case FullScreenExclusiveEXT::eDefault : return "Default"; 7635 case FullScreenExclusiveEXT::eAllowed : return "Allowed"; 7636 case FullScreenExclusiveEXT::eDisallowed : return "Disallowed"; 7637 case FullScreenExclusiveEXT::eApplicationControlled : return "ApplicationControlled"; 7638 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7639 } 7640 7641 } 7642 #endif /*VK_USE_PLATFORM_WIN32_KHR*/ 7643 7644 //=== VK_EXT_headless_surface === 7645 7646 to_string(HeadlessSurfaceCreateFlagBitsEXT)7647 VULKAN_HPP_INLINE std::string to_string( HeadlessSurfaceCreateFlagBitsEXT ) 7648 { 7649 return "(void)"; 7650 } 7651 7652 //=== VK_EXT_line_rasterization === 7653 7654 to_string(LineRasterizationModeEXT value)7655 VULKAN_HPP_INLINE std::string to_string( LineRasterizationModeEXT value ) 7656 { 7657 switch ( value ) 7658 { 7659 case LineRasterizationModeEXT::eDefault : return "Default"; 7660 case LineRasterizationModeEXT::eRectangular : return "Rectangular"; 7661 case LineRasterizationModeEXT::eBresenham : return "Bresenham"; 7662 case LineRasterizationModeEXT::eRectangularSmooth : return "RectangularSmooth"; 7663 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7664 } 7665 7666 } 7667 7668 //=== VK_KHR_pipeline_executable_properties === 7669 7670 to_string(PipelineExecutableStatisticFormatKHR value)7671 VULKAN_HPP_INLINE std::string to_string( PipelineExecutableStatisticFormatKHR value ) 7672 { 7673 switch ( value ) 7674 { 7675 case PipelineExecutableStatisticFormatKHR::eBool32 : return "Bool32"; 7676 case PipelineExecutableStatisticFormatKHR::eInt64 : return "Int64"; 7677 case PipelineExecutableStatisticFormatKHR::eUint64 : return "Uint64"; 7678 case PipelineExecutableStatisticFormatKHR::eFloat64 : return "Float64"; 7679 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7680 } 7681 7682 } 7683 7684 //=== VK_EXT_host_image_copy === 7685 7686 to_string(HostImageCopyFlagBitsEXT value)7687 VULKAN_HPP_INLINE std::string to_string( HostImageCopyFlagBitsEXT value ) 7688 { 7689 switch ( value ) 7690 { 7691 case HostImageCopyFlagBitsEXT::eMemcpy : return "Memcpy"; 7692 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7693 } 7694 7695 } 7696 7697 //=== VK_KHR_map_memory2 === 7698 7699 to_string(MemoryUnmapFlagBitsKHR)7700 VULKAN_HPP_INLINE std::string to_string( MemoryUnmapFlagBitsKHR ) 7701 { 7702 return "(void)"; 7703 } 7704 7705 //=== VK_EXT_surface_maintenance1 === 7706 7707 to_string(PresentScalingFlagBitsEXT value)7708 VULKAN_HPP_INLINE std::string to_string( PresentScalingFlagBitsEXT value ) 7709 { 7710 switch ( value ) 7711 { 7712 case PresentScalingFlagBitsEXT::eOneToOne : return "OneToOne"; 7713 case PresentScalingFlagBitsEXT::eAspectRatioStretch : return "AspectRatioStretch"; 7714 case PresentScalingFlagBitsEXT::eStretch : return "Stretch"; 7715 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7716 } 7717 7718 } 7719 7720 to_string(PresentGravityFlagBitsEXT value)7721 VULKAN_HPP_INLINE std::string to_string( PresentGravityFlagBitsEXT value ) 7722 { 7723 switch ( value ) 7724 { 7725 case PresentGravityFlagBitsEXT::eMin : return "Min"; 7726 case PresentGravityFlagBitsEXT::eMax : return "Max"; 7727 case PresentGravityFlagBitsEXT::eCentered : return "Centered"; 7728 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7729 } 7730 7731 } 7732 7733 //=== VK_NV_device_generated_commands === 7734 7735 to_string(IndirectStateFlagBitsNV value)7736 VULKAN_HPP_INLINE std::string to_string( IndirectStateFlagBitsNV value ) 7737 { 7738 switch ( value ) 7739 { 7740 case IndirectStateFlagBitsNV::eFlagFrontface : return "FlagFrontface"; 7741 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7742 } 7743 7744 } 7745 7746 to_string(IndirectCommandsTokenTypeNV value)7747 VULKAN_HPP_INLINE std::string to_string( IndirectCommandsTokenTypeNV value ) 7748 { 7749 switch ( value ) 7750 { 7751 case IndirectCommandsTokenTypeNV::eShaderGroup : return "ShaderGroup"; 7752 case IndirectCommandsTokenTypeNV::eStateFlags : return "StateFlags"; 7753 case IndirectCommandsTokenTypeNV::eIndexBuffer : return "IndexBuffer"; 7754 case IndirectCommandsTokenTypeNV::eVertexBuffer : return "VertexBuffer"; 7755 case IndirectCommandsTokenTypeNV::ePushConstant : return "PushConstant"; 7756 case IndirectCommandsTokenTypeNV::eDrawIndexed : return "DrawIndexed"; 7757 case IndirectCommandsTokenTypeNV::eDraw : return "Draw"; 7758 case IndirectCommandsTokenTypeNV::eDrawTasks : return "DrawTasks"; 7759 case IndirectCommandsTokenTypeNV::eDrawMeshTasks : return "DrawMeshTasks"; 7760 case IndirectCommandsTokenTypeNV::ePipeline : return "Pipeline"; 7761 case IndirectCommandsTokenTypeNV::eDispatch : return "Dispatch"; 7762 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7763 } 7764 7765 } 7766 7767 to_string(IndirectCommandsLayoutUsageFlagBitsNV value)7768 VULKAN_HPP_INLINE std::string to_string( IndirectCommandsLayoutUsageFlagBitsNV value ) 7769 { 7770 switch ( value ) 7771 { 7772 case IndirectCommandsLayoutUsageFlagBitsNV::eExplicitPreprocess : return "ExplicitPreprocess"; 7773 case IndirectCommandsLayoutUsageFlagBitsNV::eIndexedSequences : return "IndexedSequences"; 7774 case IndirectCommandsLayoutUsageFlagBitsNV::eUnorderedSequences : return "UnorderedSequences"; 7775 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7776 } 7777 7778 } 7779 7780 //=== VK_EXT_depth_bias_control === 7781 7782 to_string(DepthBiasRepresentationEXT value)7783 VULKAN_HPP_INLINE std::string to_string( DepthBiasRepresentationEXT value ) 7784 { 7785 switch ( value ) 7786 { 7787 case DepthBiasRepresentationEXT::eLeastRepresentableValueFormat : return "LeastRepresentableValueFormat"; 7788 case DepthBiasRepresentationEXT::eLeastRepresentableValueForceUnorm : return "LeastRepresentableValueForceUnorm"; 7789 case DepthBiasRepresentationEXT::eFloat : return "Float"; 7790 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7791 } 7792 7793 } 7794 7795 //=== VK_EXT_device_memory_report === 7796 7797 to_string(DeviceMemoryReportEventTypeEXT value)7798 VULKAN_HPP_INLINE std::string to_string( DeviceMemoryReportEventTypeEXT value ) 7799 { 7800 switch ( value ) 7801 { 7802 case DeviceMemoryReportEventTypeEXT::eAllocate : return "Allocate"; 7803 case DeviceMemoryReportEventTypeEXT::eFree : return "Free"; 7804 case DeviceMemoryReportEventTypeEXT::eImport : return "Import"; 7805 case DeviceMemoryReportEventTypeEXT::eUnimport : return "Unimport"; 7806 case DeviceMemoryReportEventTypeEXT::eAllocationFailed : return "AllocationFailed"; 7807 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7808 } 7809 7810 } 7811 7812 to_string(DeviceMemoryReportFlagBitsEXT)7813 VULKAN_HPP_INLINE std::string to_string( DeviceMemoryReportFlagBitsEXT ) 7814 { 7815 return "(void)"; 7816 } 7817 7818 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 7819 //=== VK_KHR_video_encode_queue === 7820 7821 to_string(VideoEncodeCapabilityFlagBitsKHR value)7822 VULKAN_HPP_INLINE std::string to_string( VideoEncodeCapabilityFlagBitsKHR value ) 7823 { 7824 switch ( value ) 7825 { 7826 case VideoEncodeCapabilityFlagBitsKHR::ePrecedingExternallyEncodedBytes : return "PrecedingExternallyEncodedBytes"; 7827 case VideoEncodeCapabilityFlagBitsKHR::eInsufficientstreamBufferRangeDetectionBit : return "InsufficientstreamBufferRangeDetectionBit"; 7828 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7829 } 7830 7831 } 7832 7833 to_string(VideoEncodeFeedbackFlagBitsKHR value)7834 VULKAN_HPP_INLINE std::string to_string( VideoEncodeFeedbackFlagBitsKHR value ) 7835 { 7836 switch ( value ) 7837 { 7838 case VideoEncodeFeedbackFlagBitsKHR::estreamBufferOffsetBit : return "streamBufferOffsetBit"; 7839 case VideoEncodeFeedbackFlagBitsKHR::estreamBytesWrittenBit : return "streamBytesWrittenBit"; 7840 case VideoEncodeFeedbackFlagBitsKHR::estreamHasOverridesBit : return "streamHasOverridesBit"; 7841 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7842 } 7843 7844 } 7845 7846 to_string(VideoEncodeUsageFlagBitsKHR value)7847 VULKAN_HPP_INLINE std::string to_string( VideoEncodeUsageFlagBitsKHR value ) 7848 { 7849 switch ( value ) 7850 { 7851 case VideoEncodeUsageFlagBitsKHR::eDefault : return "Default"; 7852 case VideoEncodeUsageFlagBitsKHR::eTranscoding : return "Transcoding"; 7853 case VideoEncodeUsageFlagBitsKHR::eStreaming : return "Streaming"; 7854 case VideoEncodeUsageFlagBitsKHR::eRecording : return "Recording"; 7855 case VideoEncodeUsageFlagBitsKHR::eConferencing : return "Conferencing"; 7856 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7857 } 7858 7859 } 7860 7861 to_string(VideoEncodeContentFlagBitsKHR value)7862 VULKAN_HPP_INLINE std::string to_string( VideoEncodeContentFlagBitsKHR value ) 7863 { 7864 switch ( value ) 7865 { 7866 case VideoEncodeContentFlagBitsKHR::eDefault : return "Default"; 7867 case VideoEncodeContentFlagBitsKHR::eCamera : return "Camera"; 7868 case VideoEncodeContentFlagBitsKHR::eDesktop : return "Desktop"; 7869 case VideoEncodeContentFlagBitsKHR::eRendered : return "Rendered"; 7870 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7871 } 7872 7873 } 7874 7875 to_string(VideoEncodeTuningModeKHR value)7876 VULKAN_HPP_INLINE std::string to_string( VideoEncodeTuningModeKHR value ) 7877 { 7878 switch ( value ) 7879 { 7880 case VideoEncodeTuningModeKHR::eDefault : return "Default"; 7881 case VideoEncodeTuningModeKHR::eHighQuality : return "HighQuality"; 7882 case VideoEncodeTuningModeKHR::eLowLatency : return "LowLatency"; 7883 case VideoEncodeTuningModeKHR::eUltraLowLatency : return "UltraLowLatency"; 7884 case VideoEncodeTuningModeKHR::eLossless : return "Lossless"; 7885 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7886 } 7887 7888 } 7889 7890 to_string(VideoEncodeRateControlModeFlagBitsKHR value)7891 VULKAN_HPP_INLINE std::string to_string( VideoEncodeRateControlModeFlagBitsKHR value ) 7892 { 7893 switch ( value ) 7894 { 7895 case VideoEncodeRateControlModeFlagBitsKHR::eDefault : return "Default"; 7896 case VideoEncodeRateControlModeFlagBitsKHR::eDisabled : return "Disabled"; 7897 case VideoEncodeRateControlModeFlagBitsKHR::eCbr : return "Cbr"; 7898 case VideoEncodeRateControlModeFlagBitsKHR::eVbr : return "Vbr"; 7899 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7900 } 7901 7902 } 7903 7904 to_string(VideoEncodeFlagBitsKHR)7905 VULKAN_HPP_INLINE std::string to_string( VideoEncodeFlagBitsKHR ) 7906 { 7907 return "(void)"; 7908 } 7909 7910 to_string(VideoEncodeRateControlFlagBitsKHR)7911 VULKAN_HPP_INLINE std::string to_string( VideoEncodeRateControlFlagBitsKHR ) 7912 { 7913 return "(void)"; 7914 } 7915 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 7916 7917 //=== VK_NV_device_diagnostics_config === 7918 7919 to_string(DeviceDiagnosticsConfigFlagBitsNV value)7920 VULKAN_HPP_INLINE std::string to_string( DeviceDiagnosticsConfigFlagBitsNV value ) 7921 { 7922 switch ( value ) 7923 { 7924 case DeviceDiagnosticsConfigFlagBitsNV::eEnableShaderDebugInfo : return "EnableShaderDebugInfo"; 7925 case DeviceDiagnosticsConfigFlagBitsNV::eEnableResourceTracking : return "EnableResourceTracking"; 7926 case DeviceDiagnosticsConfigFlagBitsNV::eEnableAutomaticCheckpoints : return "EnableAutomaticCheckpoints"; 7927 case DeviceDiagnosticsConfigFlagBitsNV::eEnableShaderErrorReporting : return "EnableShaderErrorReporting"; 7928 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7929 } 7930 7931 } 7932 7933 #if defined( VK_USE_PLATFORM_METAL_EXT ) 7934 //=== VK_EXT_metal_objects === 7935 7936 to_string(ExportMetalObjectTypeFlagBitsEXT value)7937 VULKAN_HPP_INLINE std::string to_string( ExportMetalObjectTypeFlagBitsEXT value ) 7938 { 7939 switch ( value ) 7940 { 7941 case ExportMetalObjectTypeFlagBitsEXT::eMetalDevice : return "MetalDevice"; 7942 case ExportMetalObjectTypeFlagBitsEXT::eMetalCommandQueue : return "MetalCommandQueue"; 7943 case ExportMetalObjectTypeFlagBitsEXT::eMetalBuffer : return "MetalBuffer"; 7944 case ExportMetalObjectTypeFlagBitsEXT::eMetalTexture : return "MetalTexture"; 7945 case ExportMetalObjectTypeFlagBitsEXT::eMetalIosurface : return "MetalIosurface"; 7946 case ExportMetalObjectTypeFlagBitsEXT::eMetalSharedEvent : return "MetalSharedEvent"; 7947 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7948 } 7949 7950 } 7951 #endif /*VK_USE_PLATFORM_METAL_EXT*/ 7952 7953 //=== VK_EXT_graphics_pipeline_library === 7954 7955 to_string(GraphicsPipelineLibraryFlagBitsEXT value)7956 VULKAN_HPP_INLINE std::string to_string( GraphicsPipelineLibraryFlagBitsEXT value ) 7957 { 7958 switch ( value ) 7959 { 7960 case GraphicsPipelineLibraryFlagBitsEXT::eVertexInputInterface : return "VertexInputInterface"; 7961 case GraphicsPipelineLibraryFlagBitsEXT::ePreRasterizationShaders : return "PreRasterizationShaders"; 7962 case GraphicsPipelineLibraryFlagBitsEXT::eFragmentShader : return "FragmentShader"; 7963 case GraphicsPipelineLibraryFlagBitsEXT::eFragmentOutputInterface : return "FragmentOutputInterface"; 7964 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7965 } 7966 7967 } 7968 7969 //=== VK_NV_fragment_shading_rate_enums === 7970 7971 to_string(FragmentShadingRateNV value)7972 VULKAN_HPP_INLINE std::string to_string( FragmentShadingRateNV value ) 7973 { 7974 switch ( value ) 7975 { 7976 case FragmentShadingRateNV::e1InvocationPerPixel : return "1InvocationPerPixel"; 7977 case FragmentShadingRateNV::e1InvocationPer1X2Pixels : return "1InvocationPer1X2Pixels"; 7978 case FragmentShadingRateNV::e1InvocationPer2X1Pixels : return "1InvocationPer2X1Pixels"; 7979 case FragmentShadingRateNV::e1InvocationPer2X2Pixels : return "1InvocationPer2X2Pixels"; 7980 case FragmentShadingRateNV::e1InvocationPer2X4Pixels : return "1InvocationPer2X4Pixels"; 7981 case FragmentShadingRateNV::e1InvocationPer4X2Pixels : return "1InvocationPer4X2Pixels"; 7982 case FragmentShadingRateNV::e1InvocationPer4X4Pixels : return "1InvocationPer4X4Pixels"; 7983 case FragmentShadingRateNV::e2InvocationsPerPixel : return "2InvocationsPerPixel"; 7984 case FragmentShadingRateNV::e4InvocationsPerPixel : return "4InvocationsPerPixel"; 7985 case FragmentShadingRateNV::e8InvocationsPerPixel : return "8InvocationsPerPixel"; 7986 case FragmentShadingRateNV::e16InvocationsPerPixel : return "16InvocationsPerPixel"; 7987 case FragmentShadingRateNV::eNoInvocations : return "NoInvocations"; 7988 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 7989 } 7990 7991 } 7992 7993 to_string(FragmentShadingRateTypeNV value)7994 VULKAN_HPP_INLINE std::string to_string( FragmentShadingRateTypeNV value ) 7995 { 7996 switch ( value ) 7997 { 7998 case FragmentShadingRateTypeNV::eFragmentSize : return "FragmentSize"; 7999 case FragmentShadingRateTypeNV::eEnums : return "Enums"; 8000 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8001 } 8002 8003 } 8004 8005 //=== VK_NV_ray_tracing_motion_blur === 8006 8007 to_string(AccelerationStructureMotionInstanceTypeNV value)8008 VULKAN_HPP_INLINE std::string to_string( AccelerationStructureMotionInstanceTypeNV value ) 8009 { 8010 switch ( value ) 8011 { 8012 case AccelerationStructureMotionInstanceTypeNV::eStatic : return "Static"; 8013 case AccelerationStructureMotionInstanceTypeNV::eMatrixMotion : return "MatrixMotion"; 8014 case AccelerationStructureMotionInstanceTypeNV::eSrtMotion : return "SrtMotion"; 8015 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8016 } 8017 8018 } 8019 8020 to_string(AccelerationStructureMotionInfoFlagBitsNV)8021 VULKAN_HPP_INLINE std::string to_string( AccelerationStructureMotionInfoFlagBitsNV ) 8022 { 8023 return "(void)"; 8024 } 8025 8026 to_string(AccelerationStructureMotionInstanceFlagBitsNV)8027 VULKAN_HPP_INLINE std::string to_string( AccelerationStructureMotionInstanceFlagBitsNV ) 8028 { 8029 return "(void)"; 8030 } 8031 8032 //=== VK_EXT_image_compression_control === 8033 8034 to_string(ImageCompressionFlagBitsEXT value)8035 VULKAN_HPP_INLINE std::string to_string( ImageCompressionFlagBitsEXT value ) 8036 { 8037 switch ( value ) 8038 { 8039 case ImageCompressionFlagBitsEXT::eDefault : return "Default"; 8040 case ImageCompressionFlagBitsEXT::eFixedRateDefault : return "FixedRateDefault"; 8041 case ImageCompressionFlagBitsEXT::eFixedRateExplicit : return "FixedRateExplicit"; 8042 case ImageCompressionFlagBitsEXT::eDisabled : return "Disabled"; 8043 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8044 } 8045 8046 } 8047 8048 to_string(ImageCompressionFixedRateFlagBitsEXT value)8049 VULKAN_HPP_INLINE std::string to_string( ImageCompressionFixedRateFlagBitsEXT value ) 8050 { 8051 switch ( value ) 8052 { 8053 case ImageCompressionFixedRateFlagBitsEXT::eNone : return "None"; 8054 case ImageCompressionFixedRateFlagBitsEXT::e1Bpc : return "1Bpc"; 8055 case ImageCompressionFixedRateFlagBitsEXT::e2Bpc : return "2Bpc"; 8056 case ImageCompressionFixedRateFlagBitsEXT::e3Bpc : return "3Bpc"; 8057 case ImageCompressionFixedRateFlagBitsEXT::e4Bpc : return "4Bpc"; 8058 case ImageCompressionFixedRateFlagBitsEXT::e5Bpc : return "5Bpc"; 8059 case ImageCompressionFixedRateFlagBitsEXT::e6Bpc : return "6Bpc"; 8060 case ImageCompressionFixedRateFlagBitsEXT::e7Bpc : return "7Bpc"; 8061 case ImageCompressionFixedRateFlagBitsEXT::e8Bpc : return "8Bpc"; 8062 case ImageCompressionFixedRateFlagBitsEXT::e9Bpc : return "9Bpc"; 8063 case ImageCompressionFixedRateFlagBitsEXT::e10Bpc : return "10Bpc"; 8064 case ImageCompressionFixedRateFlagBitsEXT::e11Bpc : return "11Bpc"; 8065 case ImageCompressionFixedRateFlagBitsEXT::e12Bpc : return "12Bpc"; 8066 case ImageCompressionFixedRateFlagBitsEXT::e13Bpc : return "13Bpc"; 8067 case ImageCompressionFixedRateFlagBitsEXT::e14Bpc : return "14Bpc"; 8068 case ImageCompressionFixedRateFlagBitsEXT::e15Bpc : return "15Bpc"; 8069 case ImageCompressionFixedRateFlagBitsEXT::e16Bpc : return "16Bpc"; 8070 case ImageCompressionFixedRateFlagBitsEXT::e17Bpc : return "17Bpc"; 8071 case ImageCompressionFixedRateFlagBitsEXT::e18Bpc : return "18Bpc"; 8072 case ImageCompressionFixedRateFlagBitsEXT::e19Bpc : return "19Bpc"; 8073 case ImageCompressionFixedRateFlagBitsEXT::e20Bpc : return "20Bpc"; 8074 case ImageCompressionFixedRateFlagBitsEXT::e21Bpc : return "21Bpc"; 8075 case ImageCompressionFixedRateFlagBitsEXT::e22Bpc : return "22Bpc"; 8076 case ImageCompressionFixedRateFlagBitsEXT::e23Bpc : return "23Bpc"; 8077 case ImageCompressionFixedRateFlagBitsEXT::e24Bpc : return "24Bpc"; 8078 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8079 } 8080 8081 } 8082 8083 //=== VK_EXT_device_fault === 8084 8085 to_string(DeviceFaultAddressTypeEXT value)8086 VULKAN_HPP_INLINE std::string to_string( DeviceFaultAddressTypeEXT value ) 8087 { 8088 switch ( value ) 8089 { 8090 case DeviceFaultAddressTypeEXT::eNone : return "None"; 8091 case DeviceFaultAddressTypeEXT::eReadInvalid : return "ReadInvalid"; 8092 case DeviceFaultAddressTypeEXT::eWriteInvalid : return "WriteInvalid"; 8093 case DeviceFaultAddressTypeEXT::eExecuteInvalid : return "ExecuteInvalid"; 8094 case DeviceFaultAddressTypeEXT::eInstructionPointerUnknown : return "InstructionPointerUnknown"; 8095 case DeviceFaultAddressTypeEXT::eInstructionPointerInvalid : return "InstructionPointerInvalid"; 8096 case DeviceFaultAddressTypeEXT::eInstructionPointerFault : return "InstructionPointerFault"; 8097 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8098 } 8099 8100 } 8101 8102 to_string(DeviceFaultVendorBinaryHeaderVersionEXT value)8103 VULKAN_HPP_INLINE std::string to_string( DeviceFaultVendorBinaryHeaderVersionEXT value ) 8104 { 8105 switch ( value ) 8106 { 8107 case DeviceFaultVendorBinaryHeaderVersionEXT::eOne : return "One"; 8108 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8109 } 8110 8111 } 8112 8113 #if defined( VK_USE_PLATFORM_DIRECTFB_EXT ) 8114 //=== VK_EXT_directfb_surface === 8115 8116 to_string(DirectFBSurfaceCreateFlagBitsEXT)8117 VULKAN_HPP_INLINE std::string to_string( DirectFBSurfaceCreateFlagBitsEXT ) 8118 { 8119 return "(void)"; 8120 } 8121 #endif /*VK_USE_PLATFORM_DIRECTFB_EXT*/ 8122 8123 //=== VK_EXT_device_address_binding_report === 8124 8125 to_string(DeviceAddressBindingFlagBitsEXT value)8126 VULKAN_HPP_INLINE std::string to_string( DeviceAddressBindingFlagBitsEXT value ) 8127 { 8128 switch ( value ) 8129 { 8130 case DeviceAddressBindingFlagBitsEXT::eInternalObject : return "InternalObject"; 8131 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8132 } 8133 8134 } 8135 8136 to_string(DeviceAddressBindingTypeEXT value)8137 VULKAN_HPP_INLINE std::string to_string( DeviceAddressBindingTypeEXT value ) 8138 { 8139 switch ( value ) 8140 { 8141 case DeviceAddressBindingTypeEXT::eBind : return "Bind"; 8142 case DeviceAddressBindingTypeEXT::eUnbind : return "Unbind"; 8143 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8144 } 8145 8146 } 8147 8148 #if defined( VK_USE_PLATFORM_FUCHSIA ) 8149 //=== VK_FUCHSIA_buffer_collection === 8150 8151 to_string(ImageConstraintsInfoFlagBitsFUCHSIA value)8152 VULKAN_HPP_INLINE std::string to_string( ImageConstraintsInfoFlagBitsFUCHSIA value ) 8153 { 8154 switch ( value ) 8155 { 8156 case ImageConstraintsInfoFlagBitsFUCHSIA::eCpuReadRarely : return "CpuReadRarely"; 8157 case ImageConstraintsInfoFlagBitsFUCHSIA::eCpuReadOften : return "CpuReadOften"; 8158 case ImageConstraintsInfoFlagBitsFUCHSIA::eCpuWriteRarely : return "CpuWriteRarely"; 8159 case ImageConstraintsInfoFlagBitsFUCHSIA::eCpuWriteOften : return "CpuWriteOften"; 8160 case ImageConstraintsInfoFlagBitsFUCHSIA::eProtectedOptional : return "ProtectedOptional"; 8161 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8162 } 8163 8164 } 8165 8166 to_string(ImageFormatConstraintsFlagBitsFUCHSIA)8167 VULKAN_HPP_INLINE std::string to_string( ImageFormatConstraintsFlagBitsFUCHSIA ) 8168 { 8169 return "(void)"; 8170 } 8171 #endif /*VK_USE_PLATFORM_FUCHSIA*/ 8172 8173 //=== VK_EXT_frame_boundary === 8174 8175 to_string(FrameBoundaryFlagBitsEXT value)8176 VULKAN_HPP_INLINE std::string to_string( FrameBoundaryFlagBitsEXT value ) 8177 { 8178 switch ( value ) 8179 { 8180 case FrameBoundaryFlagBitsEXT::eFrameEnd : return "FrameEnd"; 8181 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8182 } 8183 8184 } 8185 8186 #if defined( VK_USE_PLATFORM_SCREEN_QNX ) 8187 //=== VK_QNX_screen_surface === 8188 8189 to_string(ScreenSurfaceCreateFlagBitsQNX)8190 VULKAN_HPP_INLINE std::string to_string( ScreenSurfaceCreateFlagBitsQNX ) 8191 { 8192 return "(void)"; 8193 } 8194 #endif /*VK_USE_PLATFORM_SCREEN_QNX*/ 8195 8196 //=== VK_EXT_opacity_micromap === 8197 8198 to_string(MicromapTypeEXT value)8199 VULKAN_HPP_INLINE std::string to_string( MicromapTypeEXT value ) 8200 { 8201 switch ( value ) 8202 { 8203 case MicromapTypeEXT::eOpacityMicromap : return "OpacityMicromap"; 8204 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 8205 case MicromapTypeEXT::eDisplacementMicromapNV : return "DisplacementMicromapNV"; 8206 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 8207 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8208 } 8209 8210 } 8211 8212 to_string(BuildMicromapFlagBitsEXT value)8213 VULKAN_HPP_INLINE std::string to_string( BuildMicromapFlagBitsEXT value ) 8214 { 8215 switch ( value ) 8216 { 8217 case BuildMicromapFlagBitsEXT::ePreferFastTrace : return "PreferFastTrace"; 8218 case BuildMicromapFlagBitsEXT::ePreferFastBuild : return "PreferFastBuild"; 8219 case BuildMicromapFlagBitsEXT::eAllowCompaction : return "AllowCompaction"; 8220 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8221 } 8222 8223 } 8224 8225 to_string(CopyMicromapModeEXT value)8226 VULKAN_HPP_INLINE std::string to_string( CopyMicromapModeEXT value ) 8227 { 8228 switch ( value ) 8229 { 8230 case CopyMicromapModeEXT::eClone : return "Clone"; 8231 case CopyMicromapModeEXT::eSerialize : return "Serialize"; 8232 case CopyMicromapModeEXT::eDeserialize : return "Deserialize"; 8233 case CopyMicromapModeEXT::eCompact : return "Compact"; 8234 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8235 } 8236 8237 } 8238 8239 to_string(MicromapCreateFlagBitsEXT value)8240 VULKAN_HPP_INLINE std::string to_string( MicromapCreateFlagBitsEXT value ) 8241 { 8242 switch ( value ) 8243 { 8244 case MicromapCreateFlagBitsEXT::eDeviceAddressCaptureReplay : return "DeviceAddressCaptureReplay"; 8245 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8246 } 8247 8248 } 8249 8250 to_string(BuildMicromapModeEXT value)8251 VULKAN_HPP_INLINE std::string to_string( BuildMicromapModeEXT value ) 8252 { 8253 switch ( value ) 8254 { 8255 case BuildMicromapModeEXT::eBuild : return "Build"; 8256 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8257 } 8258 8259 } 8260 8261 to_string(OpacityMicromapFormatEXT value)8262 VULKAN_HPP_INLINE std::string to_string( OpacityMicromapFormatEXT value ) 8263 { 8264 switch ( value ) 8265 { 8266 case OpacityMicromapFormatEXT::e2State : return "2State"; 8267 case OpacityMicromapFormatEXT::e4State : return "4State"; 8268 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8269 } 8270 8271 } 8272 8273 to_string(OpacityMicromapSpecialIndexEXT value)8274 VULKAN_HPP_INLINE std::string to_string( OpacityMicromapSpecialIndexEXT value ) 8275 { 8276 switch ( value ) 8277 { 8278 case OpacityMicromapSpecialIndexEXT::eFullyTransparent : return "FullyTransparent"; 8279 case OpacityMicromapSpecialIndexEXT::eFullyOpaque : return "FullyOpaque"; 8280 case OpacityMicromapSpecialIndexEXT::eFullyUnknownTransparent : return "FullyUnknownTransparent"; 8281 case OpacityMicromapSpecialIndexEXT::eFullyUnknownOpaque : return "FullyUnknownOpaque"; 8282 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8283 } 8284 8285 } 8286 8287 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 8288 //=== VK_NV_displacement_micromap === 8289 8290 to_string(DisplacementMicromapFormatNV value)8291 VULKAN_HPP_INLINE std::string to_string( DisplacementMicromapFormatNV value ) 8292 { 8293 switch ( value ) 8294 { 8295 case DisplacementMicromapFormatNV::e64Triangles64Bytes : return "64Triangles64Bytes"; 8296 case DisplacementMicromapFormatNV::e256Triangles128Bytes : return "256Triangles128Bytes"; 8297 case DisplacementMicromapFormatNV::e1024Triangles128Bytes : return "1024Triangles128Bytes"; 8298 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8299 } 8300 8301 } 8302 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 8303 8304 //=== VK_NV_memory_decompression === 8305 8306 to_string(MemoryDecompressionMethodFlagBitsNV value)8307 VULKAN_HPP_INLINE std::string to_string( MemoryDecompressionMethodFlagBitsNV value ) 8308 { 8309 switch ( value ) 8310 { 8311 case MemoryDecompressionMethodFlagBitsNV::eGdeflate10 : return "Gdeflate10"; 8312 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8313 } 8314 8315 } 8316 8317 //=== VK_EXT_subpass_merge_feedback === 8318 8319 to_string(SubpassMergeStatusEXT value)8320 VULKAN_HPP_INLINE std::string to_string( SubpassMergeStatusEXT value ) 8321 { 8322 switch ( value ) 8323 { 8324 case SubpassMergeStatusEXT::eMerged : return "Merged"; 8325 case SubpassMergeStatusEXT::eDisallowed : return "Disallowed"; 8326 case SubpassMergeStatusEXT::eNotMergedSideEffects : return "NotMergedSideEffects"; 8327 case SubpassMergeStatusEXT::eNotMergedSamplesMismatch : return "NotMergedSamplesMismatch"; 8328 case SubpassMergeStatusEXT::eNotMergedViewsMismatch : return "NotMergedViewsMismatch"; 8329 case SubpassMergeStatusEXT::eNotMergedAliasing : return "NotMergedAliasing"; 8330 case SubpassMergeStatusEXT::eNotMergedDependencies : return "NotMergedDependencies"; 8331 case SubpassMergeStatusEXT::eNotMergedIncompatibleInputAttachment : return "NotMergedIncompatibleInputAttachment"; 8332 case SubpassMergeStatusEXT::eNotMergedTooManyAttachments : return "NotMergedTooManyAttachments"; 8333 case SubpassMergeStatusEXT::eNotMergedInsufficientStorage : return "NotMergedInsufficientStorage"; 8334 case SubpassMergeStatusEXT::eNotMergedDepthStencilCount : return "NotMergedDepthStencilCount"; 8335 case SubpassMergeStatusEXT::eNotMergedResolveAttachmentReuse : return "NotMergedResolveAttachmentReuse"; 8336 case SubpassMergeStatusEXT::eNotMergedSingleSubpass : return "NotMergedSingleSubpass"; 8337 case SubpassMergeStatusEXT::eNotMergedUnspecified : return "NotMergedUnspecified"; 8338 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8339 } 8340 8341 } 8342 8343 //=== VK_LUNARG_direct_driver_loading === 8344 8345 to_string(DirectDriverLoadingModeLUNARG value)8346 VULKAN_HPP_INLINE std::string to_string( DirectDriverLoadingModeLUNARG value ) 8347 { 8348 switch ( value ) 8349 { 8350 case DirectDriverLoadingModeLUNARG::eExclusive : return "Exclusive"; 8351 case DirectDriverLoadingModeLUNARG::eInclusive : return "Inclusive"; 8352 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8353 } 8354 8355 } 8356 8357 to_string(DirectDriverLoadingFlagBitsLUNARG)8358 VULKAN_HPP_INLINE std::string to_string( DirectDriverLoadingFlagBitsLUNARG ) 8359 { 8360 return "(void)"; 8361 } 8362 8363 //=== VK_NV_optical_flow === 8364 8365 to_string(OpticalFlowUsageFlagBitsNV value)8366 VULKAN_HPP_INLINE std::string to_string( OpticalFlowUsageFlagBitsNV value ) 8367 { 8368 switch ( value ) 8369 { 8370 case OpticalFlowUsageFlagBitsNV::eUnknown : return "Unknown"; 8371 case OpticalFlowUsageFlagBitsNV::eInput : return "Input"; 8372 case OpticalFlowUsageFlagBitsNV::eOutput : return "Output"; 8373 case OpticalFlowUsageFlagBitsNV::eHint : return "Hint"; 8374 case OpticalFlowUsageFlagBitsNV::eCost : return "Cost"; 8375 case OpticalFlowUsageFlagBitsNV::eGlobalFlow : return "GlobalFlow"; 8376 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8377 } 8378 8379 } 8380 8381 to_string(OpticalFlowGridSizeFlagBitsNV value)8382 VULKAN_HPP_INLINE std::string to_string( OpticalFlowGridSizeFlagBitsNV value ) 8383 { 8384 switch ( value ) 8385 { 8386 case OpticalFlowGridSizeFlagBitsNV::eUnknown : return "Unknown"; 8387 case OpticalFlowGridSizeFlagBitsNV::e1X1 : return "1X1"; 8388 case OpticalFlowGridSizeFlagBitsNV::e2X2 : return "2X2"; 8389 case OpticalFlowGridSizeFlagBitsNV::e4X4 : return "4X4"; 8390 case OpticalFlowGridSizeFlagBitsNV::e8X8 : return "8X8"; 8391 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8392 } 8393 8394 } 8395 8396 to_string(OpticalFlowPerformanceLevelNV value)8397 VULKAN_HPP_INLINE std::string to_string( OpticalFlowPerformanceLevelNV value ) 8398 { 8399 switch ( value ) 8400 { 8401 case OpticalFlowPerformanceLevelNV::eUnknown : return "Unknown"; 8402 case OpticalFlowPerformanceLevelNV::eSlow : return "Slow"; 8403 case OpticalFlowPerformanceLevelNV::eMedium : return "Medium"; 8404 case OpticalFlowPerformanceLevelNV::eFast : return "Fast"; 8405 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8406 } 8407 8408 } 8409 8410 to_string(OpticalFlowSessionBindingPointNV value)8411 VULKAN_HPP_INLINE std::string to_string( OpticalFlowSessionBindingPointNV value ) 8412 { 8413 switch ( value ) 8414 { 8415 case OpticalFlowSessionBindingPointNV::eUnknown : return "Unknown"; 8416 case OpticalFlowSessionBindingPointNV::eInput : return "Input"; 8417 case OpticalFlowSessionBindingPointNV::eReference : return "Reference"; 8418 case OpticalFlowSessionBindingPointNV::eHint : return "Hint"; 8419 case OpticalFlowSessionBindingPointNV::eFlowVector : return "FlowVector"; 8420 case OpticalFlowSessionBindingPointNV::eBackwardFlowVector : return "BackwardFlowVector"; 8421 case OpticalFlowSessionBindingPointNV::eCost : return "Cost"; 8422 case OpticalFlowSessionBindingPointNV::eBackwardCost : return "BackwardCost"; 8423 case OpticalFlowSessionBindingPointNV::eGlobalFlow : return "GlobalFlow"; 8424 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8425 } 8426 8427 } 8428 8429 to_string(OpticalFlowSessionCreateFlagBitsNV value)8430 VULKAN_HPP_INLINE std::string to_string( OpticalFlowSessionCreateFlagBitsNV value ) 8431 { 8432 switch ( value ) 8433 { 8434 case OpticalFlowSessionCreateFlagBitsNV::eEnableHint : return "EnableHint"; 8435 case OpticalFlowSessionCreateFlagBitsNV::eEnableCost : return "EnableCost"; 8436 case OpticalFlowSessionCreateFlagBitsNV::eEnableGlobalFlow : return "EnableGlobalFlow"; 8437 case OpticalFlowSessionCreateFlagBitsNV::eAllowRegions : return "AllowRegions"; 8438 case OpticalFlowSessionCreateFlagBitsNV::eBothDirections : return "BothDirections"; 8439 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8440 } 8441 8442 } 8443 8444 to_string(OpticalFlowExecuteFlagBitsNV value)8445 VULKAN_HPP_INLINE std::string to_string( OpticalFlowExecuteFlagBitsNV value ) 8446 { 8447 switch ( value ) 8448 { 8449 case OpticalFlowExecuteFlagBitsNV::eDisableTemporalHints : return "DisableTemporalHints"; 8450 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8451 } 8452 8453 } 8454 8455 //=== VK_KHR_maintenance5 === 8456 8457 to_string(PipelineCreateFlagBits2KHR value)8458 VULKAN_HPP_INLINE std::string to_string( PipelineCreateFlagBits2KHR value ) 8459 { 8460 switch ( value ) 8461 { 8462 case PipelineCreateFlagBits2KHR::eDisableOptimization : return "DisableOptimization"; 8463 case PipelineCreateFlagBits2KHR::eAllowDerivatives : return "AllowDerivatives"; 8464 case PipelineCreateFlagBits2KHR::eDerivative : return "Derivative"; 8465 case PipelineCreateFlagBits2KHR::eViewIndexFromDeviceIndex : return "ViewIndexFromDeviceIndex"; 8466 case PipelineCreateFlagBits2KHR::eDispatchBase : return "DispatchBase"; 8467 case PipelineCreateFlagBits2KHR::eDeferCompileNV : return "DeferCompileNV"; 8468 case PipelineCreateFlagBits2KHR::eCaptureStatistics : return "CaptureStatistics"; 8469 case PipelineCreateFlagBits2KHR::eCaptureInternalRepresentations : return "CaptureInternalRepresentations"; 8470 case PipelineCreateFlagBits2KHR::eFailOnPipelineCompileRequired : return "FailOnPipelineCompileRequired"; 8471 case PipelineCreateFlagBits2KHR::eEarlyReturnOnFailure : return "EarlyReturnOnFailure"; 8472 case PipelineCreateFlagBits2KHR::eLinkTimeOptimizationEXT : return "LinkTimeOptimizationEXT"; 8473 case PipelineCreateFlagBits2KHR::eRetainLinkTimeOptimizationInfoEXT : return "RetainLinkTimeOptimizationInfoEXT"; 8474 case PipelineCreateFlagBits2KHR::eLibrary : return "Library"; 8475 case PipelineCreateFlagBits2KHR::eRayTracingSkipTriangles : return "RayTracingSkipTriangles"; 8476 case PipelineCreateFlagBits2KHR::eRayTracingSkipAabbs : return "RayTracingSkipAabbs"; 8477 case PipelineCreateFlagBits2KHR::eRayTracingNoNullAnyHitShaders : return "RayTracingNoNullAnyHitShaders"; 8478 case PipelineCreateFlagBits2KHR::eRayTracingNoNullClosestHitShaders : return "RayTracingNoNullClosestHitShaders"; 8479 case PipelineCreateFlagBits2KHR::eRayTracingNoNullMissShaders : return "RayTracingNoNullMissShaders"; 8480 case PipelineCreateFlagBits2KHR::eRayTracingNoNullIntersectionShaders : return "RayTracingNoNullIntersectionShaders"; 8481 case PipelineCreateFlagBits2KHR::eRayTracingShaderGroupHandleCaptureReplay : return "RayTracingShaderGroupHandleCaptureReplay"; 8482 case PipelineCreateFlagBits2KHR::eIndirectBindableNV : return "IndirectBindableNV"; 8483 case PipelineCreateFlagBits2KHR::eRayTracingAllowMotionNV : return "RayTracingAllowMotionNV"; 8484 case PipelineCreateFlagBits2KHR::eRenderingFragmentShadingRateAttachment : return "RenderingFragmentShadingRateAttachment"; 8485 case PipelineCreateFlagBits2KHR::eRenderingFragmentDensityMapAttachmentEXT : return "RenderingFragmentDensityMapAttachmentEXT"; 8486 case PipelineCreateFlagBits2KHR::eRayTracingOpacityMicromapEXT : return "RayTracingOpacityMicromapEXT"; 8487 case PipelineCreateFlagBits2KHR::eColorAttachmentFeedbackLoopEXT : return "ColorAttachmentFeedbackLoopEXT"; 8488 case PipelineCreateFlagBits2KHR::eDepthStencilAttachmentFeedbackLoopEXT : return "DepthStencilAttachmentFeedbackLoopEXT"; 8489 case PipelineCreateFlagBits2KHR::eNoProtectedAccessEXT : return "NoProtectedAccessEXT"; 8490 case PipelineCreateFlagBits2KHR::eProtectedAccessOnlyEXT : return "ProtectedAccessOnlyEXT"; 8491 case PipelineCreateFlagBits2KHR::eRayTracingDisplacementMicromapNV : return "RayTracingDisplacementMicromapNV"; 8492 case PipelineCreateFlagBits2KHR::eDescriptorBufferEXT : return "DescriptorBufferEXT"; 8493 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8494 } 8495 8496 } 8497 8498 to_string(BufferUsageFlagBits2KHR value)8499 VULKAN_HPP_INLINE std::string to_string( BufferUsageFlagBits2KHR value ) 8500 { 8501 switch ( value ) 8502 { 8503 case BufferUsageFlagBits2KHR::eTransferSrc : return "TransferSrc"; 8504 case BufferUsageFlagBits2KHR::eTransferDst : return "TransferDst"; 8505 case BufferUsageFlagBits2KHR::eUniformTexelBuffer : return "UniformTexelBuffer"; 8506 case BufferUsageFlagBits2KHR::eStorageTexelBuffer : return "StorageTexelBuffer"; 8507 case BufferUsageFlagBits2KHR::eUniformBuffer : return "UniformBuffer"; 8508 case BufferUsageFlagBits2KHR::eStorageBuffer : return "StorageBuffer"; 8509 case BufferUsageFlagBits2KHR::eIndexBuffer : return "IndexBuffer"; 8510 case BufferUsageFlagBits2KHR::eVertexBuffer : return "VertexBuffer"; 8511 case BufferUsageFlagBits2KHR::eIndirectBuffer : return "IndirectBuffer"; 8512 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 8513 case BufferUsageFlagBits2KHR::eExecutionGraphScratchAMDX : return "ExecutionGraphScratchAMDX"; 8514 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 8515 case BufferUsageFlagBits2KHR::eConditionalRenderingEXT : return "ConditionalRenderingEXT"; 8516 case BufferUsageFlagBits2KHR::eShaderBindingTable : return "ShaderBindingTable"; 8517 case BufferUsageFlagBits2KHR::eTransformFeedbackBufferEXT : return "TransformFeedbackBufferEXT"; 8518 case BufferUsageFlagBits2KHR::eTransformFeedbackCounterBufferEXT : return "TransformFeedbackCounterBufferEXT"; 8519 case BufferUsageFlagBits2KHR::eVideoDecodeSrc : return "VideoDecodeSrc"; 8520 case BufferUsageFlagBits2KHR::eVideoDecodeDst : return "VideoDecodeDst"; 8521 #if defined( VK_ENABLE_BETA_EXTENSIONS ) 8522 case BufferUsageFlagBits2KHR::eVideoEncodeDst : return "VideoEncodeDst"; 8523 case BufferUsageFlagBits2KHR::eVideoEncodeSrc : return "VideoEncodeSrc"; 8524 #endif /*VK_ENABLE_BETA_EXTENSIONS*/ 8525 case BufferUsageFlagBits2KHR::eShaderDeviceAddress : return "ShaderDeviceAddress"; 8526 case BufferUsageFlagBits2KHR::eAccelerationStructureBuildInputReadOnly : return "AccelerationStructureBuildInputReadOnly"; 8527 case BufferUsageFlagBits2KHR::eAccelerationStructureStorage : return "AccelerationStructureStorage"; 8528 case BufferUsageFlagBits2KHR::eSamplerDescriptorBufferEXT : return "SamplerDescriptorBufferEXT"; 8529 case BufferUsageFlagBits2KHR::eResourceDescriptorBufferEXT : return "ResourceDescriptorBufferEXT"; 8530 case BufferUsageFlagBits2KHR::ePushDescriptorsDescriptorBufferEXT : return "PushDescriptorsDescriptorBufferEXT"; 8531 case BufferUsageFlagBits2KHR::eMicromapBuildInputReadOnlyEXT : return "MicromapBuildInputReadOnlyEXT"; 8532 case BufferUsageFlagBits2KHR::eMicromapStorageEXT : return "MicromapStorageEXT"; 8533 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8534 } 8535 8536 } 8537 8538 //=== VK_EXT_shader_object === 8539 8540 to_string(ShaderCreateFlagBitsEXT value)8541 VULKAN_HPP_INLINE std::string to_string( ShaderCreateFlagBitsEXT value ) 8542 { 8543 switch ( value ) 8544 { 8545 case ShaderCreateFlagBitsEXT::eLinkStage : return "LinkStage"; 8546 case ShaderCreateFlagBitsEXT::eAllowVaryingSubgroupSize : return "AllowVaryingSubgroupSize"; 8547 case ShaderCreateFlagBitsEXT::eRequireFullSubgroups : return "RequireFullSubgroups"; 8548 case ShaderCreateFlagBitsEXT::eNoTaskShader : return "NoTaskShader"; 8549 case ShaderCreateFlagBitsEXT::eDispatchBase : return "DispatchBase"; 8550 case ShaderCreateFlagBitsEXT::eFragmentShadingRateAttachment : return "FragmentShadingRateAttachment"; 8551 case ShaderCreateFlagBitsEXT::eFragmentDensityMapAttachment : return "FragmentDensityMapAttachment"; 8552 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8553 } 8554 8555 } 8556 8557 to_string(ShaderCodeTypeEXT value)8558 VULKAN_HPP_INLINE std::string to_string( ShaderCodeTypeEXT value ) 8559 { 8560 switch ( value ) 8561 { 8562 case ShaderCodeTypeEXT::eBinary : return "Binary"; 8563 case ShaderCodeTypeEXT::eSpirv : return "Spirv"; 8564 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8565 } 8566 8567 } 8568 8569 //=== VK_NV_ray_tracing_invocation_reorder === 8570 8571 to_string(RayTracingInvocationReorderModeNV value)8572 VULKAN_HPP_INLINE std::string to_string( RayTracingInvocationReorderModeNV value ) 8573 { 8574 switch ( value ) 8575 { 8576 case RayTracingInvocationReorderModeNV::eNone : return "None"; 8577 case RayTracingInvocationReorderModeNV::eReorder : return "Reorder"; 8578 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8579 } 8580 8581 } 8582 8583 //=== VK_NV_low_latency2 === 8584 8585 to_string(LatencyMarkerNV value)8586 VULKAN_HPP_INLINE std::string to_string( LatencyMarkerNV value ) 8587 { 8588 switch ( value ) 8589 { 8590 case LatencyMarkerNV::eSimulationStart : return "SimulationStart"; 8591 case LatencyMarkerNV::eSimulationEnd : return "SimulationEnd"; 8592 case LatencyMarkerNV::eRendersubmitStart : return "RendersubmitStart"; 8593 case LatencyMarkerNV::eRendersubmitEnd : return "RendersubmitEnd"; 8594 case LatencyMarkerNV::ePresentStart : return "PresentStart"; 8595 case LatencyMarkerNV::ePresentEnd : return "PresentEnd"; 8596 case LatencyMarkerNV::eInputSample : return "InputSample"; 8597 case LatencyMarkerNV::eTriggerFlash : return "TriggerFlash"; 8598 case LatencyMarkerNV::eOutOfBandRendersubmitStart : return "OutOfBandRendersubmitStart"; 8599 case LatencyMarkerNV::eOutOfBandRendersubmitEnd : return "OutOfBandRendersubmitEnd"; 8600 case LatencyMarkerNV::eOutOfBandPresentStart : return "OutOfBandPresentStart"; 8601 case LatencyMarkerNV::eOutOfBandPresentEnd : return "OutOfBandPresentEnd"; 8602 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8603 } 8604 8605 } 8606 8607 to_string(OutOfBandQueueTypeNV value)8608 VULKAN_HPP_INLINE std::string to_string( OutOfBandQueueTypeNV value ) 8609 { 8610 switch ( value ) 8611 { 8612 case OutOfBandQueueTypeNV::eRender : return "Render"; 8613 case OutOfBandQueueTypeNV::ePresent : return "Present"; 8614 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8615 } 8616 8617 } 8618 8619 //=== VK_KHR_cooperative_matrix === 8620 8621 to_string(ScopeKHR value)8622 VULKAN_HPP_INLINE std::string to_string( ScopeKHR value ) 8623 { 8624 switch ( value ) 8625 { 8626 case ScopeKHR::eDevice : return "Device"; 8627 case ScopeKHR::eWorkgroup : return "Workgroup"; 8628 case ScopeKHR::eSubgroup : return "Subgroup"; 8629 case ScopeKHR::eQueueFamily : return "QueueFamily"; 8630 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8631 } 8632 8633 } 8634 8635 to_string(ComponentTypeKHR value)8636 VULKAN_HPP_INLINE std::string to_string( ComponentTypeKHR value ) 8637 { 8638 switch ( value ) 8639 { 8640 case ComponentTypeKHR::eFloat16 : return "Float16"; 8641 case ComponentTypeKHR::eFloat32 : return "Float32"; 8642 case ComponentTypeKHR::eFloat64 : return "Float64"; 8643 case ComponentTypeKHR::eSint8 : return "Sint8"; 8644 case ComponentTypeKHR::eSint16 : return "Sint16"; 8645 case ComponentTypeKHR::eSint32 : return "Sint32"; 8646 case ComponentTypeKHR::eSint64 : return "Sint64"; 8647 case ComponentTypeKHR::eUint8 : return "Uint8"; 8648 case ComponentTypeKHR::eUint16 : return "Uint16"; 8649 case ComponentTypeKHR::eUint32 : return "Uint32"; 8650 case ComponentTypeKHR::eUint64 : return "Uint64"; 8651 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8652 } 8653 8654 } 8655 8656 //=== VK_QCOM_image_processing2 === 8657 8658 to_string(BlockMatchWindowCompareModeQCOM value)8659 VULKAN_HPP_INLINE std::string to_string( BlockMatchWindowCompareModeQCOM value ) 8660 { 8661 switch ( value ) 8662 { 8663 case BlockMatchWindowCompareModeQCOM::eMin : return "Min"; 8664 case BlockMatchWindowCompareModeQCOM::eMax : return "Max"; 8665 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8666 } 8667 8668 } 8669 8670 //=== VK_QCOM_filter_cubic_weights === 8671 8672 to_string(CubicFilterWeightsQCOM value)8673 VULKAN_HPP_INLINE std::string to_string( CubicFilterWeightsQCOM value ) 8674 { 8675 switch ( value ) 8676 { 8677 case CubicFilterWeightsQCOM::eCatmullRom : return "CatmullRom"; 8678 case CubicFilterWeightsQCOM::eZeroTangentCardinal : return "ZeroTangentCardinal"; 8679 case CubicFilterWeightsQCOM::eBSpline : return "BSpline"; 8680 case CubicFilterWeightsQCOM::eMitchellNetravali : return "MitchellNetravali"; 8681 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8682 } 8683 8684 } 8685 8686 //=== VK_MSFT_layered_driver === 8687 8688 to_string(LayeredDriverUnderlyingApiMSFT value)8689 VULKAN_HPP_INLINE std::string to_string( LayeredDriverUnderlyingApiMSFT value ) 8690 { 8691 switch ( value ) 8692 { 8693 case LayeredDriverUnderlyingApiMSFT::eNone : return "None"; 8694 case LayeredDriverUnderlyingApiMSFT::eD3D12 : return "D3D12"; 8695 default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )"; 8696 } 8697 8698 } 8699 8700 8701 } // namespace VULKAN_HPP_NAMESPACE 8702 #endif 8703