1 /* Autogenerated file -- do not edit 2 * generated by gen_enum_to_str.py 3 * 4 * Copyright © 2017 Intel Corporation 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 7 * of this software and associated documentation files (the "Software"), to deal 8 * in the Software without restriction, including without limitation the rights 9 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 * copies of the Software, and to permit persons to whom the Software is 11 * furnished to do so, subject to the following conditions: 12 * 13 * The above copyright notice and this permission notice shall be included in 14 * all copies or substantial portions of the Software. 15 * 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 22 * SOFTWARE. 23 */ 24 25 #include <string.h> 26 #include <vulkan/vulkan.h> 27 #include <vulkan/vk_android_native_buffer.h> 28 #include <vulkan/vk_layer.h> 29 #include "util/macros.h" 30 #include "vk_enum_to_str.h" 31 32 33 #ifdef VK_ENABLE_BETA_EXTENSIONS 34 const char * vk_AccelerationStructureBuildTypeKHR_to_str(VkAccelerationStructureBuildTypeKHR input)35 vk_AccelerationStructureBuildTypeKHR_to_str(VkAccelerationStructureBuildTypeKHR input) 36 { 37 #pragma GCC diagnostic push 38 #pragma GCC diagnostic ignored "-Wswitch" 39 switch(input) { 40 case 0: 41 return "VK_ACCELERATION_STRUCTURE_BUILD_TYPE_HOST_KHR"; 42 case 1: 43 return "VK_ACCELERATION_STRUCTURE_BUILD_TYPE_DEVICE_KHR"; 44 case 2: 45 return "VK_ACCELERATION_STRUCTURE_BUILD_TYPE_HOST_OR_DEVICE_KHR"; 46 } 47 #pragma GCC diagnostic pop 48 unreachable("Undefined enum value."); 49 } 50 51 #endif 52 53 #ifdef VK_ENABLE_BETA_EXTENSIONS 54 const char * vk_AccelerationStructureMemoryRequirementsTypeKHR_to_str(VkAccelerationStructureMemoryRequirementsTypeKHR input)55 vk_AccelerationStructureMemoryRequirementsTypeKHR_to_str(VkAccelerationStructureMemoryRequirementsTypeKHR input) 56 { 57 #pragma GCC diagnostic push 58 #pragma GCC diagnostic ignored "-Wswitch" 59 switch(input) { 60 case 0: 61 return "VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_OBJECT_NV"; 62 case 1: 63 return "VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_BUILD_SCRATCH_NV"; 64 case 2: 65 return "VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_UPDATE_SCRATCH_NV"; 66 } 67 #pragma GCC diagnostic pop 68 unreachable("Undefined enum value."); 69 } 70 71 #endif 72 73 #ifdef VK_ENABLE_BETA_EXTENSIONS 74 const char * vk_AccelerationStructureTypeKHR_to_str(VkAccelerationStructureTypeKHR input)75 vk_AccelerationStructureTypeKHR_to_str(VkAccelerationStructureTypeKHR input) 76 { 77 #pragma GCC diagnostic push 78 #pragma GCC diagnostic ignored "-Wswitch" 79 switch(input) { 80 case 0: 81 return "VK_ACCELERATION_STRUCTURE_TYPE_TOP_LEVEL_NV"; 82 case 1: 83 return "VK_ACCELERATION_STRUCTURE_TYPE_BOTTOM_LEVEL_NV"; 84 } 85 #pragma GCC diagnostic pop 86 unreachable("Undefined enum value."); 87 } 88 89 #endif 90 91 const char * vk_AttachmentLoadOp_to_str(VkAttachmentLoadOp input)92 vk_AttachmentLoadOp_to_str(VkAttachmentLoadOp input) 93 { 94 #pragma GCC diagnostic push 95 #pragma GCC diagnostic ignored "-Wswitch" 96 switch(input) { 97 case 0: 98 return "VK_ATTACHMENT_LOAD_OP_LOAD"; 99 case 1: 100 return "VK_ATTACHMENT_LOAD_OP_CLEAR"; 101 case 2: 102 return "VK_ATTACHMENT_LOAD_OP_DONT_CARE"; 103 } 104 #pragma GCC diagnostic pop 105 unreachable("Undefined enum value."); 106 } 107 108 109 const char * vk_AttachmentStoreOp_to_str(VkAttachmentStoreOp input)110 vk_AttachmentStoreOp_to_str(VkAttachmentStoreOp input) 111 { 112 #pragma GCC diagnostic push 113 #pragma GCC diagnostic ignored "-Wswitch" 114 switch(input) { 115 case 0: 116 return "VK_ATTACHMENT_STORE_OP_STORE"; 117 case 1: 118 return "VK_ATTACHMENT_STORE_OP_DONT_CARE"; 119 case 1000301000: 120 return "VK_ATTACHMENT_STORE_OP_NONE_QCOM"; 121 } 122 #pragma GCC diagnostic pop 123 unreachable("Undefined enum value."); 124 } 125 126 127 const char * vk_BlendFactor_to_str(VkBlendFactor input)128 vk_BlendFactor_to_str(VkBlendFactor input) 129 { 130 #pragma GCC diagnostic push 131 #pragma GCC diagnostic ignored "-Wswitch" 132 switch(input) { 133 case 0: 134 return "VK_BLEND_FACTOR_ZERO"; 135 case 1: 136 return "VK_BLEND_FACTOR_ONE"; 137 case 2: 138 return "VK_BLEND_FACTOR_SRC_COLOR"; 139 case 3: 140 return "VK_BLEND_FACTOR_ONE_MINUS_SRC_COLOR"; 141 case 4: 142 return "VK_BLEND_FACTOR_DST_COLOR"; 143 case 5: 144 return "VK_BLEND_FACTOR_ONE_MINUS_DST_COLOR"; 145 case 6: 146 return "VK_BLEND_FACTOR_SRC_ALPHA"; 147 case 7: 148 return "VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA"; 149 case 8: 150 return "VK_BLEND_FACTOR_DST_ALPHA"; 151 case 9: 152 return "VK_BLEND_FACTOR_ONE_MINUS_DST_ALPHA"; 153 case 10: 154 return "VK_BLEND_FACTOR_CONSTANT_COLOR"; 155 case 11: 156 return "VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR"; 157 case 12: 158 return "VK_BLEND_FACTOR_CONSTANT_ALPHA"; 159 case 13: 160 return "VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA"; 161 case 14: 162 return "VK_BLEND_FACTOR_SRC_ALPHA_SATURATE"; 163 case 15: 164 return "VK_BLEND_FACTOR_SRC1_COLOR"; 165 case 16: 166 return "VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR"; 167 case 17: 168 return "VK_BLEND_FACTOR_SRC1_ALPHA"; 169 case 18: 170 return "VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA"; 171 } 172 #pragma GCC diagnostic pop 173 unreachable("Undefined enum value."); 174 } 175 176 177 const char * vk_BlendOp_to_str(VkBlendOp input)178 vk_BlendOp_to_str(VkBlendOp input) 179 { 180 #pragma GCC diagnostic push 181 #pragma GCC diagnostic ignored "-Wswitch" 182 switch(input) { 183 case 0: 184 return "VK_BLEND_OP_ADD"; 185 case 1: 186 return "VK_BLEND_OP_SUBTRACT"; 187 case 2: 188 return "VK_BLEND_OP_REVERSE_SUBTRACT"; 189 case 3: 190 return "VK_BLEND_OP_MIN"; 191 case 4: 192 return "VK_BLEND_OP_MAX"; 193 case 1000148000: 194 return "VK_BLEND_OP_ZERO_EXT"; 195 case 1000148001: 196 return "VK_BLEND_OP_SRC_EXT"; 197 case 1000148002: 198 return "VK_BLEND_OP_DST_EXT"; 199 case 1000148003: 200 return "VK_BLEND_OP_SRC_OVER_EXT"; 201 case 1000148004: 202 return "VK_BLEND_OP_DST_OVER_EXT"; 203 case 1000148005: 204 return "VK_BLEND_OP_SRC_IN_EXT"; 205 case 1000148006: 206 return "VK_BLEND_OP_DST_IN_EXT"; 207 case 1000148007: 208 return "VK_BLEND_OP_SRC_OUT_EXT"; 209 case 1000148008: 210 return "VK_BLEND_OP_DST_OUT_EXT"; 211 case 1000148009: 212 return "VK_BLEND_OP_SRC_ATOP_EXT"; 213 case 1000148010: 214 return "VK_BLEND_OP_DST_ATOP_EXT"; 215 case 1000148011: 216 return "VK_BLEND_OP_XOR_EXT"; 217 case 1000148012: 218 return "VK_BLEND_OP_MULTIPLY_EXT"; 219 case 1000148013: 220 return "VK_BLEND_OP_SCREEN_EXT"; 221 case 1000148014: 222 return "VK_BLEND_OP_OVERLAY_EXT"; 223 case 1000148015: 224 return "VK_BLEND_OP_DARKEN_EXT"; 225 case 1000148016: 226 return "VK_BLEND_OP_LIGHTEN_EXT"; 227 case 1000148017: 228 return "VK_BLEND_OP_COLORDODGE_EXT"; 229 case 1000148018: 230 return "VK_BLEND_OP_COLORBURN_EXT"; 231 case 1000148019: 232 return "VK_BLEND_OP_HARDLIGHT_EXT"; 233 case 1000148020: 234 return "VK_BLEND_OP_SOFTLIGHT_EXT"; 235 case 1000148021: 236 return "VK_BLEND_OP_DIFFERENCE_EXT"; 237 case 1000148022: 238 return "VK_BLEND_OP_EXCLUSION_EXT"; 239 case 1000148023: 240 return "VK_BLEND_OP_INVERT_EXT"; 241 case 1000148024: 242 return "VK_BLEND_OP_INVERT_RGB_EXT"; 243 case 1000148025: 244 return "VK_BLEND_OP_LINEARDODGE_EXT"; 245 case 1000148026: 246 return "VK_BLEND_OP_LINEARBURN_EXT"; 247 case 1000148027: 248 return "VK_BLEND_OP_VIVIDLIGHT_EXT"; 249 case 1000148028: 250 return "VK_BLEND_OP_LINEARLIGHT_EXT"; 251 case 1000148029: 252 return "VK_BLEND_OP_PINLIGHT_EXT"; 253 case 1000148030: 254 return "VK_BLEND_OP_HARDMIX_EXT"; 255 case 1000148031: 256 return "VK_BLEND_OP_HSL_HUE_EXT"; 257 case 1000148032: 258 return "VK_BLEND_OP_HSL_SATURATION_EXT"; 259 case 1000148033: 260 return "VK_BLEND_OP_HSL_COLOR_EXT"; 261 case 1000148034: 262 return "VK_BLEND_OP_HSL_LUMINOSITY_EXT"; 263 case 1000148035: 264 return "VK_BLEND_OP_PLUS_EXT"; 265 case 1000148036: 266 return "VK_BLEND_OP_PLUS_CLAMPED_EXT"; 267 case 1000148037: 268 return "VK_BLEND_OP_PLUS_CLAMPED_ALPHA_EXT"; 269 case 1000148038: 270 return "VK_BLEND_OP_PLUS_DARKER_EXT"; 271 case 1000148039: 272 return "VK_BLEND_OP_MINUS_EXT"; 273 case 1000148040: 274 return "VK_BLEND_OP_MINUS_CLAMPED_EXT"; 275 case 1000148041: 276 return "VK_BLEND_OP_CONTRAST_EXT"; 277 case 1000148042: 278 return "VK_BLEND_OP_INVERT_OVG_EXT"; 279 case 1000148043: 280 return "VK_BLEND_OP_RED_EXT"; 281 case 1000148044: 282 return "VK_BLEND_OP_GREEN_EXT"; 283 case 1000148045: 284 return "VK_BLEND_OP_BLUE_EXT"; 285 } 286 #pragma GCC diagnostic pop 287 unreachable("Undefined enum value."); 288 } 289 290 291 const char * vk_BlendOverlapEXT_to_str(VkBlendOverlapEXT input)292 vk_BlendOverlapEXT_to_str(VkBlendOverlapEXT input) 293 { 294 #pragma GCC diagnostic push 295 #pragma GCC diagnostic ignored "-Wswitch" 296 switch(input) { 297 case 0: 298 return "VK_BLEND_OVERLAP_UNCORRELATED_EXT"; 299 case 1: 300 return "VK_BLEND_OVERLAP_DISJOINT_EXT"; 301 case 2: 302 return "VK_BLEND_OVERLAP_CONJOINT_EXT"; 303 } 304 #pragma GCC diagnostic pop 305 unreachable("Undefined enum value."); 306 } 307 308 309 const char * vk_BorderColor_to_str(VkBorderColor input)310 vk_BorderColor_to_str(VkBorderColor input) 311 { 312 #pragma GCC diagnostic push 313 #pragma GCC diagnostic ignored "-Wswitch" 314 switch(input) { 315 case 0: 316 return "VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK"; 317 case 1: 318 return "VK_BORDER_COLOR_INT_TRANSPARENT_BLACK"; 319 case 2: 320 return "VK_BORDER_COLOR_FLOAT_OPAQUE_BLACK"; 321 case 3: 322 return "VK_BORDER_COLOR_INT_OPAQUE_BLACK"; 323 case 4: 324 return "VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE"; 325 case 5: 326 return "VK_BORDER_COLOR_INT_OPAQUE_WHITE"; 327 case 1000287003: 328 return "VK_BORDER_COLOR_FLOAT_CUSTOM_EXT"; 329 case 1000287004: 330 return "VK_BORDER_COLOR_INT_CUSTOM_EXT"; 331 } 332 #pragma GCC diagnostic pop 333 unreachable("Undefined enum value."); 334 } 335 336 337 const char * vk_ChromaLocation_to_str(VkChromaLocation input)338 vk_ChromaLocation_to_str(VkChromaLocation input) 339 { 340 #pragma GCC diagnostic push 341 #pragma GCC diagnostic ignored "-Wswitch" 342 switch(input) { 343 case 0: 344 return "VK_CHROMA_LOCATION_COSITED_EVEN"; 345 case 1: 346 return "VK_CHROMA_LOCATION_MIDPOINT"; 347 } 348 #pragma GCC diagnostic pop 349 unreachable("Undefined enum value."); 350 } 351 352 353 const char * vk_CoarseSampleOrderTypeNV_to_str(VkCoarseSampleOrderTypeNV input)354 vk_CoarseSampleOrderTypeNV_to_str(VkCoarseSampleOrderTypeNV input) 355 { 356 #pragma GCC diagnostic push 357 #pragma GCC diagnostic ignored "-Wswitch" 358 switch(input) { 359 case 0: 360 return "VK_COARSE_SAMPLE_ORDER_TYPE_DEFAULT_NV"; 361 case 1: 362 return "VK_COARSE_SAMPLE_ORDER_TYPE_CUSTOM_NV"; 363 case 2: 364 return "VK_COARSE_SAMPLE_ORDER_TYPE_PIXEL_MAJOR_NV"; 365 case 3: 366 return "VK_COARSE_SAMPLE_ORDER_TYPE_SAMPLE_MAJOR_NV"; 367 } 368 #pragma GCC diagnostic pop 369 unreachable("Undefined enum value."); 370 } 371 372 373 const char * vk_ColorSpaceKHR_to_str(VkColorSpaceKHR input)374 vk_ColorSpaceKHR_to_str(VkColorSpaceKHR input) 375 { 376 #pragma GCC diagnostic push 377 #pragma GCC diagnostic ignored "-Wswitch" 378 switch(input) { 379 case 0: 380 return "VK_COLORSPACE_SRGB_NONLINEAR_KHR"; 381 case 1000104001: 382 return "VK_COLOR_SPACE_DISPLAY_P3_NONLINEAR_EXT"; 383 case 1000104002: 384 return "VK_COLOR_SPACE_EXTENDED_SRGB_LINEAR_EXT"; 385 case 1000104003: 386 return "VK_COLOR_SPACE_DCI_P3_LINEAR_EXT"; 387 case 1000104004: 388 return "VK_COLOR_SPACE_DCI_P3_NONLINEAR_EXT"; 389 case 1000104005: 390 return "VK_COLOR_SPACE_BT709_LINEAR_EXT"; 391 case 1000104006: 392 return "VK_COLOR_SPACE_BT709_NONLINEAR_EXT"; 393 case 1000104007: 394 return "VK_COLOR_SPACE_BT2020_LINEAR_EXT"; 395 case 1000104008: 396 return "VK_COLOR_SPACE_HDR10_ST2084_EXT"; 397 case 1000104009: 398 return "VK_COLOR_SPACE_DOLBYVISION_EXT"; 399 case 1000104010: 400 return "VK_COLOR_SPACE_HDR10_HLG_EXT"; 401 case 1000104011: 402 return "VK_COLOR_SPACE_ADOBERGB_LINEAR_EXT"; 403 case 1000104012: 404 return "VK_COLOR_SPACE_ADOBERGB_NONLINEAR_EXT"; 405 case 1000104013: 406 return "VK_COLOR_SPACE_PASS_THROUGH_EXT"; 407 case 1000104014: 408 return "VK_COLOR_SPACE_EXTENDED_SRGB_NONLINEAR_EXT"; 409 case 1000213000: 410 return "VK_COLOR_SPACE_DISPLAY_NATIVE_AMD"; 411 } 412 #pragma GCC diagnostic pop 413 unreachable("Undefined enum value."); 414 } 415 416 417 const char * vk_CommandBufferLevel_to_str(VkCommandBufferLevel input)418 vk_CommandBufferLevel_to_str(VkCommandBufferLevel input) 419 { 420 #pragma GCC diagnostic push 421 #pragma GCC diagnostic ignored "-Wswitch" 422 switch(input) { 423 case 0: 424 return "VK_COMMAND_BUFFER_LEVEL_PRIMARY"; 425 case 1: 426 return "VK_COMMAND_BUFFER_LEVEL_SECONDARY"; 427 } 428 #pragma GCC diagnostic pop 429 unreachable("Undefined enum value."); 430 } 431 432 433 const char * vk_CompareOp_to_str(VkCompareOp input)434 vk_CompareOp_to_str(VkCompareOp input) 435 { 436 #pragma GCC diagnostic push 437 #pragma GCC diagnostic ignored "-Wswitch" 438 switch(input) { 439 case 0: 440 return "VK_COMPARE_OP_NEVER"; 441 case 1: 442 return "VK_COMPARE_OP_LESS"; 443 case 2: 444 return "VK_COMPARE_OP_EQUAL"; 445 case 3: 446 return "VK_COMPARE_OP_LESS_OR_EQUAL"; 447 case 4: 448 return "VK_COMPARE_OP_GREATER"; 449 case 5: 450 return "VK_COMPARE_OP_NOT_EQUAL"; 451 case 6: 452 return "VK_COMPARE_OP_GREATER_OR_EQUAL"; 453 case 7: 454 return "VK_COMPARE_OP_ALWAYS"; 455 } 456 #pragma GCC diagnostic pop 457 unreachable("Undefined enum value."); 458 } 459 460 461 const char * vk_ComponentSwizzle_to_str(VkComponentSwizzle input)462 vk_ComponentSwizzle_to_str(VkComponentSwizzle input) 463 { 464 #pragma GCC diagnostic push 465 #pragma GCC diagnostic ignored "-Wswitch" 466 switch(input) { 467 case 0: 468 return "VK_COMPONENT_SWIZZLE_IDENTITY"; 469 case 1: 470 return "VK_COMPONENT_SWIZZLE_ZERO"; 471 case 2: 472 return "VK_COMPONENT_SWIZZLE_ONE"; 473 case 3: 474 return "VK_COMPONENT_SWIZZLE_R"; 475 case 4: 476 return "VK_COMPONENT_SWIZZLE_G"; 477 case 5: 478 return "VK_COMPONENT_SWIZZLE_B"; 479 case 6: 480 return "VK_COMPONENT_SWIZZLE_A"; 481 } 482 #pragma GCC diagnostic pop 483 unreachable("Undefined enum value."); 484 } 485 486 487 const char * vk_ComponentTypeNV_to_str(VkComponentTypeNV input)488 vk_ComponentTypeNV_to_str(VkComponentTypeNV input) 489 { 490 #pragma GCC diagnostic push 491 #pragma GCC diagnostic ignored "-Wswitch" 492 switch(input) { 493 case 0: 494 return "VK_COMPONENT_TYPE_FLOAT16_NV"; 495 case 1: 496 return "VK_COMPONENT_TYPE_FLOAT32_NV"; 497 case 2: 498 return "VK_COMPONENT_TYPE_FLOAT64_NV"; 499 case 3: 500 return "VK_COMPONENT_TYPE_SINT8_NV"; 501 case 4: 502 return "VK_COMPONENT_TYPE_SINT16_NV"; 503 case 5: 504 return "VK_COMPONENT_TYPE_SINT32_NV"; 505 case 6: 506 return "VK_COMPONENT_TYPE_SINT64_NV"; 507 case 7: 508 return "VK_COMPONENT_TYPE_UINT8_NV"; 509 case 8: 510 return "VK_COMPONENT_TYPE_UINT16_NV"; 511 case 9: 512 return "VK_COMPONENT_TYPE_UINT32_NV"; 513 case 10: 514 return "VK_COMPONENT_TYPE_UINT64_NV"; 515 } 516 #pragma GCC diagnostic pop 517 unreachable("Undefined enum value."); 518 } 519 520 521 const char * vk_ConservativeRasterizationModeEXT_to_str(VkConservativeRasterizationModeEXT input)522 vk_ConservativeRasterizationModeEXT_to_str(VkConservativeRasterizationModeEXT input) 523 { 524 #pragma GCC diagnostic push 525 #pragma GCC diagnostic ignored "-Wswitch" 526 switch(input) { 527 case 0: 528 return "VK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT"; 529 case 1: 530 return "VK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT"; 531 case 2: 532 return "VK_CONSERVATIVE_RASTERIZATION_MODE_UNDERESTIMATE_EXT"; 533 } 534 #pragma GCC diagnostic pop 535 unreachable("Undefined enum value."); 536 } 537 538 539 #ifdef VK_ENABLE_BETA_EXTENSIONS 540 const char * vk_CopyAccelerationStructureModeKHR_to_str(VkCopyAccelerationStructureModeKHR input)541 vk_CopyAccelerationStructureModeKHR_to_str(VkCopyAccelerationStructureModeKHR input) 542 { 543 #pragma GCC diagnostic push 544 #pragma GCC diagnostic ignored "-Wswitch" 545 switch(input) { 546 case 0: 547 return "VK_COPY_ACCELERATION_STRUCTURE_MODE_CLONE_NV"; 548 case 1: 549 return "VK_COPY_ACCELERATION_STRUCTURE_MODE_COMPACT_NV"; 550 case 2: 551 return "VK_COPY_ACCELERATION_STRUCTURE_MODE_SERIALIZE_KHR"; 552 case 3: 553 return "VK_COPY_ACCELERATION_STRUCTURE_MODE_DESERIALIZE_KHR"; 554 } 555 #pragma GCC diagnostic pop 556 unreachable("Undefined enum value."); 557 } 558 559 #endif 560 561 const char * vk_CoverageModulationModeNV_to_str(VkCoverageModulationModeNV input)562 vk_CoverageModulationModeNV_to_str(VkCoverageModulationModeNV input) 563 { 564 #pragma GCC diagnostic push 565 #pragma GCC diagnostic ignored "-Wswitch" 566 switch(input) { 567 case 0: 568 return "VK_COVERAGE_MODULATION_MODE_NONE_NV"; 569 case 1: 570 return "VK_COVERAGE_MODULATION_MODE_RGB_NV"; 571 case 2: 572 return "VK_COVERAGE_MODULATION_MODE_ALPHA_NV"; 573 case 3: 574 return "VK_COVERAGE_MODULATION_MODE_RGBA_NV"; 575 } 576 #pragma GCC diagnostic pop 577 unreachable("Undefined enum value."); 578 } 579 580 581 const char * vk_CoverageReductionModeNV_to_str(VkCoverageReductionModeNV input)582 vk_CoverageReductionModeNV_to_str(VkCoverageReductionModeNV input) 583 { 584 #pragma GCC diagnostic push 585 #pragma GCC diagnostic ignored "-Wswitch" 586 switch(input) { 587 case 0: 588 return "VK_COVERAGE_REDUCTION_MODE_MERGE_NV"; 589 case 1: 590 return "VK_COVERAGE_REDUCTION_MODE_TRUNCATE_NV"; 591 } 592 #pragma GCC diagnostic pop 593 unreachable("Undefined enum value."); 594 } 595 596 597 const char * vk_DebugReportObjectTypeEXT_to_str(VkDebugReportObjectTypeEXT input)598 vk_DebugReportObjectTypeEXT_to_str(VkDebugReportObjectTypeEXT input) 599 { 600 #pragma GCC diagnostic push 601 #pragma GCC diagnostic ignored "-Wswitch" 602 switch(input) { 603 case 0: 604 return "VK_DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT"; 605 case 1: 606 return "VK_DEBUG_REPORT_OBJECT_TYPE_INSTANCE_EXT"; 607 case 2: 608 return "VK_DEBUG_REPORT_OBJECT_TYPE_PHYSICAL_DEVICE_EXT"; 609 case 3: 610 return "VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT"; 611 case 4: 612 return "VK_DEBUG_REPORT_OBJECT_TYPE_QUEUE_EXT"; 613 case 5: 614 return "VK_DEBUG_REPORT_OBJECT_TYPE_SEMAPHORE_EXT"; 615 case 6: 616 return "VK_DEBUG_REPORT_OBJECT_TYPE_COMMAND_BUFFER_EXT"; 617 case 7: 618 return "VK_DEBUG_REPORT_OBJECT_TYPE_FENCE_EXT"; 619 case 8: 620 return "VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_MEMORY_EXT"; 621 case 9: 622 return "VK_DEBUG_REPORT_OBJECT_TYPE_BUFFER_EXT"; 623 case 10: 624 return "VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_EXT"; 625 case 11: 626 return "VK_DEBUG_REPORT_OBJECT_TYPE_EVENT_EXT"; 627 case 12: 628 return "VK_DEBUG_REPORT_OBJECT_TYPE_QUERY_POOL_EXT"; 629 case 13: 630 return "VK_DEBUG_REPORT_OBJECT_TYPE_BUFFER_VIEW_EXT"; 631 case 14: 632 return "VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_VIEW_EXT"; 633 case 15: 634 return "VK_DEBUG_REPORT_OBJECT_TYPE_SHADER_MODULE_EXT"; 635 case 16: 636 return "VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_CACHE_EXT"; 637 case 17: 638 return "VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_LAYOUT_EXT"; 639 case 18: 640 return "VK_DEBUG_REPORT_OBJECT_TYPE_RENDER_PASS_EXT"; 641 case 19: 642 return "VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_EXT"; 643 case 20: 644 return "VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT_EXT"; 645 case 21: 646 return "VK_DEBUG_REPORT_OBJECT_TYPE_SAMPLER_EXT"; 647 case 22: 648 return "VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_POOL_EXT"; 649 case 23: 650 return "VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_EXT"; 651 case 24: 652 return "VK_DEBUG_REPORT_OBJECT_TYPE_FRAMEBUFFER_EXT"; 653 case 25: 654 return "VK_DEBUG_REPORT_OBJECT_TYPE_COMMAND_POOL_EXT"; 655 case 26: 656 return "VK_DEBUG_REPORT_OBJECT_TYPE_SURFACE_KHR_EXT"; 657 case 27: 658 return "VK_DEBUG_REPORT_OBJECT_TYPE_SWAPCHAIN_KHR_EXT"; 659 case 28: 660 return "VK_DEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_EXT"; 661 case 29: 662 return "VK_DEBUG_REPORT_OBJECT_TYPE_DISPLAY_KHR_EXT"; 663 case 30: 664 return "VK_DEBUG_REPORT_OBJECT_TYPE_DISPLAY_MODE_KHR_EXT"; 665 case 33: 666 return "VK_DEBUG_REPORT_OBJECT_TYPE_VALIDATION_CACHE_EXT"; 667 case 1000085000: 668 return "VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_EXT"; 669 case 1000156000: 670 return "VK_DEBUG_REPORT_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_EXT"; 671 case 1000165000: 672 return "VK_DEBUG_REPORT_OBJECT_TYPE_ACCELERATION_STRUCTURE_NV_EXT"; 673 } 674 #pragma GCC diagnostic pop 675 unreachable("Undefined enum value."); 676 } 677 678 679 const char * vk_DescriptorType_to_str(VkDescriptorType input)680 vk_DescriptorType_to_str(VkDescriptorType input) 681 { 682 #pragma GCC diagnostic push 683 #pragma GCC diagnostic ignored "-Wswitch" 684 switch(input) { 685 case 0: 686 return "VK_DESCRIPTOR_TYPE_SAMPLER"; 687 case 1: 688 return "VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER"; 689 case 2: 690 return "VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE"; 691 case 3: 692 return "VK_DESCRIPTOR_TYPE_STORAGE_IMAGE"; 693 case 4: 694 return "VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER"; 695 case 5: 696 return "VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER"; 697 case 6: 698 return "VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER"; 699 case 7: 700 return "VK_DESCRIPTOR_TYPE_STORAGE_BUFFER"; 701 case 8: 702 return "VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC"; 703 case 9: 704 return "VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC"; 705 case 10: 706 return "VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT"; 707 case 1000138000: 708 return "VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT"; 709 case 1000165000: 710 return "VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_NV"; 711 } 712 #pragma GCC diagnostic pop 713 unreachable("Undefined enum value."); 714 } 715 716 717 const char * vk_DescriptorUpdateTemplateType_to_str(VkDescriptorUpdateTemplateType input)718 vk_DescriptorUpdateTemplateType_to_str(VkDescriptorUpdateTemplateType input) 719 { 720 #pragma GCC diagnostic push 721 #pragma GCC diagnostic ignored "-Wswitch" 722 switch(input) { 723 case 0: 724 return "VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET"; 725 case 1: 726 return "VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR"; 727 } 728 #pragma GCC diagnostic pop 729 unreachable("Undefined enum value."); 730 } 731 732 733 const char * vk_DeviceEventTypeEXT_to_str(VkDeviceEventTypeEXT input)734 vk_DeviceEventTypeEXT_to_str(VkDeviceEventTypeEXT input) 735 { 736 #pragma GCC diagnostic push 737 #pragma GCC diagnostic ignored "-Wswitch" 738 switch(input) { 739 case 0: 740 return "VK_DEVICE_EVENT_TYPE_DISPLAY_HOTPLUG_EXT"; 741 } 742 #pragma GCC diagnostic pop 743 unreachable("Undefined enum value."); 744 } 745 746 747 const char * vk_DeviceMemoryReportEventTypeEXT_to_str(VkDeviceMemoryReportEventTypeEXT input)748 vk_DeviceMemoryReportEventTypeEXT_to_str(VkDeviceMemoryReportEventTypeEXT input) 749 { 750 #pragma GCC diagnostic push 751 #pragma GCC diagnostic ignored "-Wswitch" 752 switch(input) { 753 case 0: 754 return "VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_ALLOCATE_EXT"; 755 case 1: 756 return "VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_FREE_EXT"; 757 case 2: 758 return "VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_IMPORT_EXT"; 759 case 3: 760 return "VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_UNIMPORT_EXT"; 761 case 4: 762 return "VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_ALLOCATION_FAILED_EXT"; 763 } 764 #pragma GCC diagnostic pop 765 unreachable("Undefined enum value."); 766 } 767 768 769 const char * vk_DiscardRectangleModeEXT_to_str(VkDiscardRectangleModeEXT input)770 vk_DiscardRectangleModeEXT_to_str(VkDiscardRectangleModeEXT input) 771 { 772 #pragma GCC diagnostic push 773 #pragma GCC diagnostic ignored "-Wswitch" 774 switch(input) { 775 case 0: 776 return "VK_DISCARD_RECTANGLE_MODE_INCLUSIVE_EXT"; 777 case 1: 778 return "VK_DISCARD_RECTANGLE_MODE_EXCLUSIVE_EXT"; 779 } 780 #pragma GCC diagnostic pop 781 unreachable("Undefined enum value."); 782 } 783 784 785 const char * vk_DisplayEventTypeEXT_to_str(VkDisplayEventTypeEXT input)786 vk_DisplayEventTypeEXT_to_str(VkDisplayEventTypeEXT input) 787 { 788 #pragma GCC diagnostic push 789 #pragma GCC diagnostic ignored "-Wswitch" 790 switch(input) { 791 case 0: 792 return "VK_DISPLAY_EVENT_TYPE_FIRST_PIXEL_OUT_EXT"; 793 } 794 #pragma GCC diagnostic pop 795 unreachable("Undefined enum value."); 796 } 797 798 799 const char * vk_DisplayPowerStateEXT_to_str(VkDisplayPowerStateEXT input)800 vk_DisplayPowerStateEXT_to_str(VkDisplayPowerStateEXT input) 801 { 802 #pragma GCC diagnostic push 803 #pragma GCC diagnostic ignored "-Wswitch" 804 switch(input) { 805 case 0: 806 return "VK_DISPLAY_POWER_STATE_OFF_EXT"; 807 case 1: 808 return "VK_DISPLAY_POWER_STATE_SUSPEND_EXT"; 809 case 2: 810 return "VK_DISPLAY_POWER_STATE_ON_EXT"; 811 } 812 #pragma GCC diagnostic pop 813 unreachable("Undefined enum value."); 814 } 815 816 817 const char * vk_DriverId_to_str(VkDriverId input)818 vk_DriverId_to_str(VkDriverId input) 819 { 820 #pragma GCC diagnostic push 821 #pragma GCC diagnostic ignored "-Wswitch" 822 switch(input) { 823 case 1: 824 return "VK_DRIVER_ID_AMD_PROPRIETARY"; 825 case 2: 826 return "VK_DRIVER_ID_AMD_OPEN_SOURCE"; 827 case 3: 828 return "VK_DRIVER_ID_MESA_RADV"; 829 case 4: 830 return "VK_DRIVER_ID_NVIDIA_PROPRIETARY"; 831 case 5: 832 return "VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS"; 833 case 6: 834 return "VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA"; 835 case 7: 836 return "VK_DRIVER_ID_IMAGINATION_PROPRIETARY"; 837 case 8: 838 return "VK_DRIVER_ID_QUALCOMM_PROPRIETARY"; 839 case 9: 840 return "VK_DRIVER_ID_ARM_PROPRIETARY"; 841 case 10: 842 return "VK_DRIVER_ID_GOOGLE_SWIFTSHADER"; 843 case 11: 844 return "VK_DRIVER_ID_GGP_PROPRIETARY"; 845 case 12: 846 return "VK_DRIVER_ID_BROADCOM_PROPRIETARY"; 847 case 13: 848 return "VK_DRIVER_ID_MESA_LLVMPIPE"; 849 case 14: 850 return "VK_DRIVER_ID_MOLTENVK"; 851 } 852 #pragma GCC diagnostic pop 853 unreachable("Undefined enum value."); 854 } 855 856 857 const char * vk_DynamicState_to_str(VkDynamicState input)858 vk_DynamicState_to_str(VkDynamicState input) 859 { 860 #pragma GCC diagnostic push 861 #pragma GCC diagnostic ignored "-Wswitch" 862 switch(input) { 863 case 0: 864 return "VK_DYNAMIC_STATE_VIEWPORT"; 865 case 1: 866 return "VK_DYNAMIC_STATE_SCISSOR"; 867 case 2: 868 return "VK_DYNAMIC_STATE_LINE_WIDTH"; 869 case 3: 870 return "VK_DYNAMIC_STATE_DEPTH_BIAS"; 871 case 4: 872 return "VK_DYNAMIC_STATE_BLEND_CONSTANTS"; 873 case 5: 874 return "VK_DYNAMIC_STATE_DEPTH_BOUNDS"; 875 case 6: 876 return "VK_DYNAMIC_STATE_STENCIL_COMPARE_MASK"; 877 case 7: 878 return "VK_DYNAMIC_STATE_STENCIL_WRITE_MASK"; 879 case 8: 880 return "VK_DYNAMIC_STATE_STENCIL_REFERENCE"; 881 case 1000087000: 882 return "VK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NV"; 883 case 1000099000: 884 return "VK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXT"; 885 case 1000143000: 886 return "VK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT"; 887 case 1000164004: 888 return "VK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NV"; 889 case 1000164006: 890 return "VK_DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NV"; 891 case 1000205001: 892 return "VK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NV"; 893 case 1000226000: 894 return "VK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHR"; 895 case 1000259000: 896 return "VK_DYNAMIC_STATE_LINE_STIPPLE_EXT"; 897 case 1000267000: 898 return "VK_DYNAMIC_STATE_CULL_MODE_EXT"; 899 case 1000267001: 900 return "VK_DYNAMIC_STATE_FRONT_FACE_EXT"; 901 case 1000267002: 902 return "VK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGY_EXT"; 903 case 1000267003: 904 return "VK_DYNAMIC_STATE_VIEWPORT_WITH_COUNT_EXT"; 905 case 1000267004: 906 return "VK_DYNAMIC_STATE_SCISSOR_WITH_COUNT_EXT"; 907 case 1000267005: 908 return "VK_DYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDE_EXT"; 909 case 1000267006: 910 return "VK_DYNAMIC_STATE_DEPTH_TEST_ENABLE_EXT"; 911 case 1000267007: 912 return "VK_DYNAMIC_STATE_DEPTH_WRITE_ENABLE_EXT"; 913 case 1000267008: 914 return "VK_DYNAMIC_STATE_DEPTH_COMPARE_OP_EXT"; 915 case 1000267009: 916 return "VK_DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLE_EXT"; 917 case 1000267010: 918 return "VK_DYNAMIC_STATE_STENCIL_TEST_ENABLE_EXT"; 919 case 1000267011: 920 return "VK_DYNAMIC_STATE_STENCIL_OP_EXT"; 921 } 922 #pragma GCC diagnostic pop 923 unreachable("Undefined enum value."); 924 } 925 926 927 const char * vk_Filter_to_str(VkFilter input)928 vk_Filter_to_str(VkFilter input) 929 { 930 #pragma GCC diagnostic push 931 #pragma GCC diagnostic ignored "-Wswitch" 932 switch(input) { 933 case 0: 934 return "VK_FILTER_NEAREST"; 935 case 1: 936 return "VK_FILTER_LINEAR"; 937 case 1000015000: 938 return "VK_FILTER_CUBIC_IMG"; 939 } 940 #pragma GCC diagnostic pop 941 unreachable("Undefined enum value."); 942 } 943 944 945 const char * vk_Format_to_str(VkFormat input)946 vk_Format_to_str(VkFormat input) 947 { 948 #pragma GCC diagnostic push 949 #pragma GCC diagnostic ignored "-Wswitch" 950 switch(input) { 951 case 0: 952 return "VK_FORMAT_UNDEFINED"; 953 case 1: 954 return "VK_FORMAT_R4G4_UNORM_PACK8"; 955 case 2: 956 return "VK_FORMAT_R4G4B4A4_UNORM_PACK16"; 957 case 3: 958 return "VK_FORMAT_B4G4R4A4_UNORM_PACK16"; 959 case 4: 960 return "VK_FORMAT_R5G6B5_UNORM_PACK16"; 961 case 5: 962 return "VK_FORMAT_B5G6R5_UNORM_PACK16"; 963 case 6: 964 return "VK_FORMAT_R5G5B5A1_UNORM_PACK16"; 965 case 7: 966 return "VK_FORMAT_B5G5R5A1_UNORM_PACK16"; 967 case 8: 968 return "VK_FORMAT_A1R5G5B5_UNORM_PACK16"; 969 case 9: 970 return "VK_FORMAT_R8_UNORM"; 971 case 10: 972 return "VK_FORMAT_R8_SNORM"; 973 case 11: 974 return "VK_FORMAT_R8_USCALED"; 975 case 12: 976 return "VK_FORMAT_R8_SSCALED"; 977 case 13: 978 return "VK_FORMAT_R8_UINT"; 979 case 14: 980 return "VK_FORMAT_R8_SINT"; 981 case 15: 982 return "VK_FORMAT_R8_SRGB"; 983 case 16: 984 return "VK_FORMAT_R8G8_UNORM"; 985 case 17: 986 return "VK_FORMAT_R8G8_SNORM"; 987 case 18: 988 return "VK_FORMAT_R8G8_USCALED"; 989 case 19: 990 return "VK_FORMAT_R8G8_SSCALED"; 991 case 20: 992 return "VK_FORMAT_R8G8_UINT"; 993 case 21: 994 return "VK_FORMAT_R8G8_SINT"; 995 case 22: 996 return "VK_FORMAT_R8G8_SRGB"; 997 case 23: 998 return "VK_FORMAT_R8G8B8_UNORM"; 999 case 24: 1000 return "VK_FORMAT_R8G8B8_SNORM"; 1001 case 25: 1002 return "VK_FORMAT_R8G8B8_USCALED"; 1003 case 26: 1004 return "VK_FORMAT_R8G8B8_SSCALED"; 1005 case 27: 1006 return "VK_FORMAT_R8G8B8_UINT"; 1007 case 28: 1008 return "VK_FORMAT_R8G8B8_SINT"; 1009 case 29: 1010 return "VK_FORMAT_R8G8B8_SRGB"; 1011 case 30: 1012 return "VK_FORMAT_B8G8R8_UNORM"; 1013 case 31: 1014 return "VK_FORMAT_B8G8R8_SNORM"; 1015 case 32: 1016 return "VK_FORMAT_B8G8R8_USCALED"; 1017 case 33: 1018 return "VK_FORMAT_B8G8R8_SSCALED"; 1019 case 34: 1020 return "VK_FORMAT_B8G8R8_UINT"; 1021 case 35: 1022 return "VK_FORMAT_B8G8R8_SINT"; 1023 case 36: 1024 return "VK_FORMAT_B8G8R8_SRGB"; 1025 case 37: 1026 return "VK_FORMAT_R8G8B8A8_UNORM"; 1027 case 38: 1028 return "VK_FORMAT_R8G8B8A8_SNORM"; 1029 case 39: 1030 return "VK_FORMAT_R8G8B8A8_USCALED"; 1031 case 40: 1032 return "VK_FORMAT_R8G8B8A8_SSCALED"; 1033 case 41: 1034 return "VK_FORMAT_R8G8B8A8_UINT"; 1035 case 42: 1036 return "VK_FORMAT_R8G8B8A8_SINT"; 1037 case 43: 1038 return "VK_FORMAT_R8G8B8A8_SRGB"; 1039 case 44: 1040 return "VK_FORMAT_B8G8R8A8_UNORM"; 1041 case 45: 1042 return "VK_FORMAT_B8G8R8A8_SNORM"; 1043 case 46: 1044 return "VK_FORMAT_B8G8R8A8_USCALED"; 1045 case 47: 1046 return "VK_FORMAT_B8G8R8A8_SSCALED"; 1047 case 48: 1048 return "VK_FORMAT_B8G8R8A8_UINT"; 1049 case 49: 1050 return "VK_FORMAT_B8G8R8A8_SINT"; 1051 case 50: 1052 return "VK_FORMAT_B8G8R8A8_SRGB"; 1053 case 51: 1054 return "VK_FORMAT_A8B8G8R8_UNORM_PACK32"; 1055 case 52: 1056 return "VK_FORMAT_A8B8G8R8_SNORM_PACK32"; 1057 case 53: 1058 return "VK_FORMAT_A8B8G8R8_USCALED_PACK32"; 1059 case 54: 1060 return "VK_FORMAT_A8B8G8R8_SSCALED_PACK32"; 1061 case 55: 1062 return "VK_FORMAT_A8B8G8R8_UINT_PACK32"; 1063 case 56: 1064 return "VK_FORMAT_A8B8G8R8_SINT_PACK32"; 1065 case 57: 1066 return "VK_FORMAT_A8B8G8R8_SRGB_PACK32"; 1067 case 58: 1068 return "VK_FORMAT_A2R10G10B10_UNORM_PACK32"; 1069 case 59: 1070 return "VK_FORMAT_A2R10G10B10_SNORM_PACK32"; 1071 case 60: 1072 return "VK_FORMAT_A2R10G10B10_USCALED_PACK32"; 1073 case 61: 1074 return "VK_FORMAT_A2R10G10B10_SSCALED_PACK32"; 1075 case 62: 1076 return "VK_FORMAT_A2R10G10B10_UINT_PACK32"; 1077 case 63: 1078 return "VK_FORMAT_A2R10G10B10_SINT_PACK32"; 1079 case 64: 1080 return "VK_FORMAT_A2B10G10R10_UNORM_PACK32"; 1081 case 65: 1082 return "VK_FORMAT_A2B10G10R10_SNORM_PACK32"; 1083 case 66: 1084 return "VK_FORMAT_A2B10G10R10_USCALED_PACK32"; 1085 case 67: 1086 return "VK_FORMAT_A2B10G10R10_SSCALED_PACK32"; 1087 case 68: 1088 return "VK_FORMAT_A2B10G10R10_UINT_PACK32"; 1089 case 69: 1090 return "VK_FORMAT_A2B10G10R10_SINT_PACK32"; 1091 case 70: 1092 return "VK_FORMAT_R16_UNORM"; 1093 case 71: 1094 return "VK_FORMAT_R16_SNORM"; 1095 case 72: 1096 return "VK_FORMAT_R16_USCALED"; 1097 case 73: 1098 return "VK_FORMAT_R16_SSCALED"; 1099 case 74: 1100 return "VK_FORMAT_R16_UINT"; 1101 case 75: 1102 return "VK_FORMAT_R16_SINT"; 1103 case 76: 1104 return "VK_FORMAT_R16_SFLOAT"; 1105 case 77: 1106 return "VK_FORMAT_R16G16_UNORM"; 1107 case 78: 1108 return "VK_FORMAT_R16G16_SNORM"; 1109 case 79: 1110 return "VK_FORMAT_R16G16_USCALED"; 1111 case 80: 1112 return "VK_FORMAT_R16G16_SSCALED"; 1113 case 81: 1114 return "VK_FORMAT_R16G16_UINT"; 1115 case 82: 1116 return "VK_FORMAT_R16G16_SINT"; 1117 case 83: 1118 return "VK_FORMAT_R16G16_SFLOAT"; 1119 case 84: 1120 return "VK_FORMAT_R16G16B16_UNORM"; 1121 case 85: 1122 return "VK_FORMAT_R16G16B16_SNORM"; 1123 case 86: 1124 return "VK_FORMAT_R16G16B16_USCALED"; 1125 case 87: 1126 return "VK_FORMAT_R16G16B16_SSCALED"; 1127 case 88: 1128 return "VK_FORMAT_R16G16B16_UINT"; 1129 case 89: 1130 return "VK_FORMAT_R16G16B16_SINT"; 1131 case 90: 1132 return "VK_FORMAT_R16G16B16_SFLOAT"; 1133 case 91: 1134 return "VK_FORMAT_R16G16B16A16_UNORM"; 1135 case 92: 1136 return "VK_FORMAT_R16G16B16A16_SNORM"; 1137 case 93: 1138 return "VK_FORMAT_R16G16B16A16_USCALED"; 1139 case 94: 1140 return "VK_FORMAT_R16G16B16A16_SSCALED"; 1141 case 95: 1142 return "VK_FORMAT_R16G16B16A16_UINT"; 1143 case 96: 1144 return "VK_FORMAT_R16G16B16A16_SINT"; 1145 case 97: 1146 return "VK_FORMAT_R16G16B16A16_SFLOAT"; 1147 case 98: 1148 return "VK_FORMAT_R32_UINT"; 1149 case 99: 1150 return "VK_FORMAT_R32_SINT"; 1151 case 100: 1152 return "VK_FORMAT_R32_SFLOAT"; 1153 case 101: 1154 return "VK_FORMAT_R32G32_UINT"; 1155 case 102: 1156 return "VK_FORMAT_R32G32_SINT"; 1157 case 103: 1158 return "VK_FORMAT_R32G32_SFLOAT"; 1159 case 104: 1160 return "VK_FORMAT_R32G32B32_UINT"; 1161 case 105: 1162 return "VK_FORMAT_R32G32B32_SINT"; 1163 case 106: 1164 return "VK_FORMAT_R32G32B32_SFLOAT"; 1165 case 107: 1166 return "VK_FORMAT_R32G32B32A32_UINT"; 1167 case 108: 1168 return "VK_FORMAT_R32G32B32A32_SINT"; 1169 case 109: 1170 return "VK_FORMAT_R32G32B32A32_SFLOAT"; 1171 case 110: 1172 return "VK_FORMAT_R64_UINT"; 1173 case 111: 1174 return "VK_FORMAT_R64_SINT"; 1175 case 112: 1176 return "VK_FORMAT_R64_SFLOAT"; 1177 case 113: 1178 return "VK_FORMAT_R64G64_UINT"; 1179 case 114: 1180 return "VK_FORMAT_R64G64_SINT"; 1181 case 115: 1182 return "VK_FORMAT_R64G64_SFLOAT"; 1183 case 116: 1184 return "VK_FORMAT_R64G64B64_UINT"; 1185 case 117: 1186 return "VK_FORMAT_R64G64B64_SINT"; 1187 case 118: 1188 return "VK_FORMAT_R64G64B64_SFLOAT"; 1189 case 119: 1190 return "VK_FORMAT_R64G64B64A64_UINT"; 1191 case 120: 1192 return "VK_FORMAT_R64G64B64A64_SINT"; 1193 case 121: 1194 return "VK_FORMAT_R64G64B64A64_SFLOAT"; 1195 case 122: 1196 return "VK_FORMAT_B10G11R11_UFLOAT_PACK32"; 1197 case 123: 1198 return "VK_FORMAT_E5B9G9R9_UFLOAT_PACK32"; 1199 case 124: 1200 return "VK_FORMAT_D16_UNORM"; 1201 case 125: 1202 return "VK_FORMAT_X8_D24_UNORM_PACK32"; 1203 case 126: 1204 return "VK_FORMAT_D32_SFLOAT"; 1205 case 127: 1206 return "VK_FORMAT_S8_UINT"; 1207 case 128: 1208 return "VK_FORMAT_D16_UNORM_S8_UINT"; 1209 case 129: 1210 return "VK_FORMAT_D24_UNORM_S8_UINT"; 1211 case 130: 1212 return "VK_FORMAT_D32_SFLOAT_S8_UINT"; 1213 case 131: 1214 return "VK_FORMAT_BC1_RGB_UNORM_BLOCK"; 1215 case 132: 1216 return "VK_FORMAT_BC1_RGB_SRGB_BLOCK"; 1217 case 133: 1218 return "VK_FORMAT_BC1_RGBA_UNORM_BLOCK"; 1219 case 134: 1220 return "VK_FORMAT_BC1_RGBA_SRGB_BLOCK"; 1221 case 135: 1222 return "VK_FORMAT_BC2_UNORM_BLOCK"; 1223 case 136: 1224 return "VK_FORMAT_BC2_SRGB_BLOCK"; 1225 case 137: 1226 return "VK_FORMAT_BC3_UNORM_BLOCK"; 1227 case 138: 1228 return "VK_FORMAT_BC3_SRGB_BLOCK"; 1229 case 139: 1230 return "VK_FORMAT_BC4_UNORM_BLOCK"; 1231 case 140: 1232 return "VK_FORMAT_BC4_SNORM_BLOCK"; 1233 case 141: 1234 return "VK_FORMAT_BC5_UNORM_BLOCK"; 1235 case 142: 1236 return "VK_FORMAT_BC5_SNORM_BLOCK"; 1237 case 143: 1238 return "VK_FORMAT_BC6H_UFLOAT_BLOCK"; 1239 case 144: 1240 return "VK_FORMAT_BC6H_SFLOAT_BLOCK"; 1241 case 145: 1242 return "VK_FORMAT_BC7_UNORM_BLOCK"; 1243 case 146: 1244 return "VK_FORMAT_BC7_SRGB_BLOCK"; 1245 case 147: 1246 return "VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK"; 1247 case 148: 1248 return "VK_FORMAT_ETC2_R8G8B8_SRGB_BLOCK"; 1249 case 149: 1250 return "VK_FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK"; 1251 case 150: 1252 return "VK_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK"; 1253 case 151: 1254 return "VK_FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK"; 1255 case 152: 1256 return "VK_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK"; 1257 case 153: 1258 return "VK_FORMAT_EAC_R11_UNORM_BLOCK"; 1259 case 154: 1260 return "VK_FORMAT_EAC_R11_SNORM_BLOCK"; 1261 case 155: 1262 return "VK_FORMAT_EAC_R11G11_UNORM_BLOCK"; 1263 case 156: 1264 return "VK_FORMAT_EAC_R11G11_SNORM_BLOCK"; 1265 case 157: 1266 return "VK_FORMAT_ASTC_4x4_UNORM_BLOCK"; 1267 case 158: 1268 return "VK_FORMAT_ASTC_4x4_SRGB_BLOCK"; 1269 case 159: 1270 return "VK_FORMAT_ASTC_5x4_UNORM_BLOCK"; 1271 case 160: 1272 return "VK_FORMAT_ASTC_5x4_SRGB_BLOCK"; 1273 case 161: 1274 return "VK_FORMAT_ASTC_5x5_UNORM_BLOCK"; 1275 case 162: 1276 return "VK_FORMAT_ASTC_5x5_SRGB_BLOCK"; 1277 case 163: 1278 return "VK_FORMAT_ASTC_6x5_UNORM_BLOCK"; 1279 case 164: 1280 return "VK_FORMAT_ASTC_6x5_SRGB_BLOCK"; 1281 case 165: 1282 return "VK_FORMAT_ASTC_6x6_UNORM_BLOCK"; 1283 case 166: 1284 return "VK_FORMAT_ASTC_6x6_SRGB_BLOCK"; 1285 case 167: 1286 return "VK_FORMAT_ASTC_8x5_UNORM_BLOCK"; 1287 case 168: 1288 return "VK_FORMAT_ASTC_8x5_SRGB_BLOCK"; 1289 case 169: 1290 return "VK_FORMAT_ASTC_8x6_UNORM_BLOCK"; 1291 case 170: 1292 return "VK_FORMAT_ASTC_8x6_SRGB_BLOCK"; 1293 case 171: 1294 return "VK_FORMAT_ASTC_8x8_UNORM_BLOCK"; 1295 case 172: 1296 return "VK_FORMAT_ASTC_8x8_SRGB_BLOCK"; 1297 case 173: 1298 return "VK_FORMAT_ASTC_10x5_UNORM_BLOCK"; 1299 case 174: 1300 return "VK_FORMAT_ASTC_10x5_SRGB_BLOCK"; 1301 case 175: 1302 return "VK_FORMAT_ASTC_10x6_UNORM_BLOCK"; 1303 case 176: 1304 return "VK_FORMAT_ASTC_10x6_SRGB_BLOCK"; 1305 case 177: 1306 return "VK_FORMAT_ASTC_10x8_UNORM_BLOCK"; 1307 case 178: 1308 return "VK_FORMAT_ASTC_10x8_SRGB_BLOCK"; 1309 case 179: 1310 return "VK_FORMAT_ASTC_10x10_UNORM_BLOCK"; 1311 case 180: 1312 return "VK_FORMAT_ASTC_10x10_SRGB_BLOCK"; 1313 case 181: 1314 return "VK_FORMAT_ASTC_12x10_UNORM_BLOCK"; 1315 case 182: 1316 return "VK_FORMAT_ASTC_12x10_SRGB_BLOCK"; 1317 case 183: 1318 return "VK_FORMAT_ASTC_12x12_UNORM_BLOCK"; 1319 case 184: 1320 return "VK_FORMAT_ASTC_12x12_SRGB_BLOCK"; 1321 case 1000054000: 1322 return "VK_FORMAT_PVRTC1_2BPP_UNORM_BLOCK_IMG"; 1323 case 1000054001: 1324 return "VK_FORMAT_PVRTC1_4BPP_UNORM_BLOCK_IMG"; 1325 case 1000054002: 1326 return "VK_FORMAT_PVRTC2_2BPP_UNORM_BLOCK_IMG"; 1327 case 1000054003: 1328 return "VK_FORMAT_PVRTC2_4BPP_UNORM_BLOCK_IMG"; 1329 case 1000054004: 1330 return "VK_FORMAT_PVRTC1_2BPP_SRGB_BLOCK_IMG"; 1331 case 1000054005: 1332 return "VK_FORMAT_PVRTC1_4BPP_SRGB_BLOCK_IMG"; 1333 case 1000054006: 1334 return "VK_FORMAT_PVRTC2_2BPP_SRGB_BLOCK_IMG"; 1335 case 1000054007: 1336 return "VK_FORMAT_PVRTC2_4BPP_SRGB_BLOCK_IMG"; 1337 case 1000066000: 1338 return "VK_FORMAT_ASTC_4x4_SFLOAT_BLOCK_EXT"; 1339 case 1000066001: 1340 return "VK_FORMAT_ASTC_5x4_SFLOAT_BLOCK_EXT"; 1341 case 1000066002: 1342 return "VK_FORMAT_ASTC_5x5_SFLOAT_BLOCK_EXT"; 1343 case 1000066003: 1344 return "VK_FORMAT_ASTC_6x5_SFLOAT_BLOCK_EXT"; 1345 case 1000066004: 1346 return "VK_FORMAT_ASTC_6x6_SFLOAT_BLOCK_EXT"; 1347 case 1000066005: 1348 return "VK_FORMAT_ASTC_8x5_SFLOAT_BLOCK_EXT"; 1349 case 1000066006: 1350 return "VK_FORMAT_ASTC_8x6_SFLOAT_BLOCK_EXT"; 1351 case 1000066007: 1352 return "VK_FORMAT_ASTC_8x8_SFLOAT_BLOCK_EXT"; 1353 case 1000066008: 1354 return "VK_FORMAT_ASTC_10x5_SFLOAT_BLOCK_EXT"; 1355 case 1000066009: 1356 return "VK_FORMAT_ASTC_10x6_SFLOAT_BLOCK_EXT"; 1357 case 1000066010: 1358 return "VK_FORMAT_ASTC_10x8_SFLOAT_BLOCK_EXT"; 1359 case 1000066011: 1360 return "VK_FORMAT_ASTC_10x10_SFLOAT_BLOCK_EXT"; 1361 case 1000066012: 1362 return "VK_FORMAT_ASTC_12x10_SFLOAT_BLOCK_EXT"; 1363 case 1000066013: 1364 return "VK_FORMAT_ASTC_12x12_SFLOAT_BLOCK_EXT"; 1365 case 1000156000: 1366 return "VK_FORMAT_G8B8G8R8_422_UNORM"; 1367 case 1000156001: 1368 return "VK_FORMAT_B8G8R8G8_422_UNORM"; 1369 case 1000156002: 1370 return "VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM"; 1371 case 1000156003: 1372 return "VK_FORMAT_G8_B8R8_2PLANE_420_UNORM"; 1373 case 1000156004: 1374 return "VK_FORMAT_G8_B8_R8_3PLANE_422_UNORM"; 1375 case 1000156005: 1376 return "VK_FORMAT_G8_B8R8_2PLANE_422_UNORM"; 1377 case 1000156006: 1378 return "VK_FORMAT_G8_B8_R8_3PLANE_444_UNORM"; 1379 case 1000156007: 1380 return "VK_FORMAT_R10X6_UNORM_PACK16"; 1381 case 1000156008: 1382 return "VK_FORMAT_R10X6G10X6_UNORM_2PACK16"; 1383 case 1000156009: 1384 return "VK_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16"; 1385 case 1000156010: 1386 return "VK_FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16"; 1387 case 1000156011: 1388 return "VK_FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16"; 1389 case 1000156012: 1390 return "VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16"; 1391 case 1000156013: 1392 return "VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16"; 1393 case 1000156014: 1394 return "VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16"; 1395 case 1000156015: 1396 return "VK_FORMAT_G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16"; 1397 case 1000156016: 1398 return "VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16"; 1399 case 1000156017: 1400 return "VK_FORMAT_R12X4_UNORM_PACK16"; 1401 case 1000156018: 1402 return "VK_FORMAT_R12X4G12X4_UNORM_2PACK16"; 1403 case 1000156019: 1404 return "VK_FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16"; 1405 case 1000156020: 1406 return "VK_FORMAT_G12X4B12X4G12X4R12X4_422_UNORM_4PACK16"; 1407 case 1000156021: 1408 return "VK_FORMAT_B12X4G12X4R12X4G12X4_422_UNORM_4PACK16"; 1409 case 1000156022: 1410 return "VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16"; 1411 case 1000156023: 1412 return "VK_FORMAT_G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16"; 1413 case 1000156024: 1414 return "VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16"; 1415 case 1000156025: 1416 return "VK_FORMAT_G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16"; 1417 case 1000156026: 1418 return "VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16"; 1419 case 1000156027: 1420 return "VK_FORMAT_G16B16G16R16_422_UNORM"; 1421 case 1000156028: 1422 return "VK_FORMAT_B16G16R16G16_422_UNORM"; 1423 case 1000156029: 1424 return "VK_FORMAT_G16_B16_R16_3PLANE_420_UNORM"; 1425 case 1000156030: 1426 return "VK_FORMAT_G16_B16R16_2PLANE_420_UNORM"; 1427 case 1000156031: 1428 return "VK_FORMAT_G16_B16_R16_3PLANE_422_UNORM"; 1429 case 1000156032: 1430 return "VK_FORMAT_G16_B16R16_2PLANE_422_UNORM"; 1431 case 1000156033: 1432 return "VK_FORMAT_G16_B16_R16_3PLANE_444_UNORM"; 1433 case 1000340000: 1434 return "VK_FORMAT_A4R4G4B4_UNORM_PACK16_EXT"; 1435 case 1000340001: 1436 return "VK_FORMAT_A4B4G4R4_UNORM_PACK16_EXT"; 1437 } 1438 #pragma GCC diagnostic pop 1439 unreachable("Undefined enum value."); 1440 } 1441 1442 1443 const char * vk_FragmentShadingRateCombinerOpKHR_to_str(VkFragmentShadingRateCombinerOpKHR input)1444 vk_FragmentShadingRateCombinerOpKHR_to_str(VkFragmentShadingRateCombinerOpKHR input) 1445 { 1446 #pragma GCC diagnostic push 1447 #pragma GCC diagnostic ignored "-Wswitch" 1448 switch(input) { 1449 case 0: 1450 return "VK_FRAGMENT_SHADING_RATE_COMBINER_OP_KEEP_KHR"; 1451 case 1: 1452 return "VK_FRAGMENT_SHADING_RATE_COMBINER_OP_REPLACE_KHR"; 1453 case 2: 1454 return "VK_FRAGMENT_SHADING_RATE_COMBINER_OP_MIN_KHR"; 1455 case 3: 1456 return "VK_FRAGMENT_SHADING_RATE_COMBINER_OP_MAX_KHR"; 1457 case 4: 1458 return "VK_FRAGMENT_SHADING_RATE_COMBINER_OP_MUL_KHR"; 1459 } 1460 #pragma GCC diagnostic pop 1461 unreachable("Undefined enum value."); 1462 } 1463 1464 1465 const char * vk_FrontFace_to_str(VkFrontFace input)1466 vk_FrontFace_to_str(VkFrontFace input) 1467 { 1468 #pragma GCC diagnostic push 1469 #pragma GCC diagnostic ignored "-Wswitch" 1470 switch(input) { 1471 case 0: 1472 return "VK_FRONT_FACE_COUNTER_CLOCKWISE"; 1473 case 1: 1474 return "VK_FRONT_FACE_CLOCKWISE"; 1475 } 1476 #pragma GCC diagnostic pop 1477 unreachable("Undefined enum value."); 1478 } 1479 1480 1481 #ifdef VK_USE_PLATFORM_WIN32_KHR 1482 const char * vk_FullScreenExclusiveEXT_to_str(VkFullScreenExclusiveEXT input)1483 vk_FullScreenExclusiveEXT_to_str(VkFullScreenExclusiveEXT input) 1484 { 1485 #pragma GCC diagnostic push 1486 #pragma GCC diagnostic ignored "-Wswitch" 1487 switch(input) { 1488 case 0: 1489 return "VK_FULL_SCREEN_EXCLUSIVE_DEFAULT_EXT"; 1490 case 1: 1491 return "VK_FULL_SCREEN_EXCLUSIVE_ALLOWED_EXT"; 1492 case 2: 1493 return "VK_FULL_SCREEN_EXCLUSIVE_DISALLOWED_EXT"; 1494 case 3: 1495 return "VK_FULL_SCREEN_EXCLUSIVE_APPLICATION_CONTROLLED_EXT"; 1496 } 1497 #pragma GCC diagnostic pop 1498 unreachable("Undefined enum value."); 1499 } 1500 1501 #endif 1502 1503 #ifdef VK_ENABLE_BETA_EXTENSIONS 1504 const char * vk_GeometryTypeKHR_to_str(VkGeometryTypeKHR input)1505 vk_GeometryTypeKHR_to_str(VkGeometryTypeKHR input) 1506 { 1507 #pragma GCC diagnostic push 1508 #pragma GCC diagnostic ignored "-Wswitch" 1509 switch(input) { 1510 case 0: 1511 return "VK_GEOMETRY_TYPE_TRIANGLES_NV"; 1512 case 1: 1513 return "VK_GEOMETRY_TYPE_AABBS_NV"; 1514 case 1000150000: 1515 return "VK_GEOMETRY_TYPE_INSTANCES_KHR"; 1516 } 1517 #pragma GCC diagnostic pop 1518 unreachable("Undefined enum value."); 1519 } 1520 1521 #endif 1522 1523 const char * vk_ImageLayout_to_str(VkImageLayout input)1524 vk_ImageLayout_to_str(VkImageLayout input) 1525 { 1526 #pragma GCC diagnostic push 1527 #pragma GCC diagnostic ignored "-Wswitch" 1528 switch(input) { 1529 case 0: 1530 return "VK_IMAGE_LAYOUT_UNDEFINED"; 1531 case 1: 1532 return "VK_IMAGE_LAYOUT_GENERAL"; 1533 case 2: 1534 return "VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL"; 1535 case 3: 1536 return "VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL"; 1537 case 4: 1538 return "VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL"; 1539 case 5: 1540 return "VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL"; 1541 case 6: 1542 return "VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL"; 1543 case 7: 1544 return "VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL"; 1545 case 8: 1546 return "VK_IMAGE_LAYOUT_PREINITIALIZED"; 1547 case 1000001002: 1548 return "VK_IMAGE_LAYOUT_PRESENT_SRC_KHR"; 1549 case 1000111000: 1550 return "VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR"; 1551 case 1000117000: 1552 return "VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL"; 1553 case 1000117001: 1554 return "VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL"; 1555 case 1000164003: 1556 return "VK_IMAGE_LAYOUT_SHADING_RATE_OPTIMAL_NV"; 1557 case 1000218000: 1558 return "VK_IMAGE_LAYOUT_FRAGMENT_DENSITY_MAP_OPTIMAL_EXT"; 1559 case 1000241000: 1560 return "VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMAL"; 1561 case 1000241001: 1562 return "VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL"; 1563 case 1000241002: 1564 return "VK_IMAGE_LAYOUT_STENCIL_ATTACHMENT_OPTIMAL"; 1565 case 1000241003: 1566 return "VK_IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL"; 1567 } 1568 #pragma GCC diagnostic pop 1569 unreachable("Undefined enum value."); 1570 } 1571 1572 1573 const char * vk_ImageTiling_to_str(VkImageTiling input)1574 vk_ImageTiling_to_str(VkImageTiling input) 1575 { 1576 #pragma GCC diagnostic push 1577 #pragma GCC diagnostic ignored "-Wswitch" 1578 switch(input) { 1579 case 0: 1580 return "VK_IMAGE_TILING_OPTIMAL"; 1581 case 1: 1582 return "VK_IMAGE_TILING_LINEAR"; 1583 case 1000158000: 1584 return "VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT"; 1585 } 1586 #pragma GCC diagnostic pop 1587 unreachable("Undefined enum value."); 1588 } 1589 1590 1591 const char * vk_ImageType_to_str(VkImageType input)1592 vk_ImageType_to_str(VkImageType input) 1593 { 1594 #pragma GCC diagnostic push 1595 #pragma GCC diagnostic ignored "-Wswitch" 1596 switch(input) { 1597 case 0: 1598 return "VK_IMAGE_TYPE_1D"; 1599 case 1: 1600 return "VK_IMAGE_TYPE_2D"; 1601 case 2: 1602 return "VK_IMAGE_TYPE_3D"; 1603 } 1604 #pragma GCC diagnostic pop 1605 unreachable("Undefined enum value."); 1606 } 1607 1608 1609 const char * vk_ImageViewType_to_str(VkImageViewType input)1610 vk_ImageViewType_to_str(VkImageViewType input) 1611 { 1612 #pragma GCC diagnostic push 1613 #pragma GCC diagnostic ignored "-Wswitch" 1614 switch(input) { 1615 case 0: 1616 return "VK_IMAGE_VIEW_TYPE_1D"; 1617 case 1: 1618 return "VK_IMAGE_VIEW_TYPE_2D"; 1619 case 2: 1620 return "VK_IMAGE_VIEW_TYPE_3D"; 1621 case 3: 1622 return "VK_IMAGE_VIEW_TYPE_CUBE"; 1623 case 4: 1624 return "VK_IMAGE_VIEW_TYPE_1D_ARRAY"; 1625 case 5: 1626 return "VK_IMAGE_VIEW_TYPE_2D_ARRAY"; 1627 case 6: 1628 return "VK_IMAGE_VIEW_TYPE_CUBE_ARRAY"; 1629 } 1630 #pragma GCC diagnostic pop 1631 unreachable("Undefined enum value."); 1632 } 1633 1634 1635 const char * vk_IndexType_to_str(VkIndexType input)1636 vk_IndexType_to_str(VkIndexType input) 1637 { 1638 #pragma GCC diagnostic push 1639 #pragma GCC diagnostic ignored "-Wswitch" 1640 switch(input) { 1641 case 0: 1642 return "VK_INDEX_TYPE_UINT16"; 1643 case 1: 1644 return "VK_INDEX_TYPE_UINT32"; 1645 case 1000165000: 1646 return "VK_INDEX_TYPE_NONE_NV"; 1647 case 1000265000: 1648 return "VK_INDEX_TYPE_UINT8_EXT"; 1649 } 1650 #pragma GCC diagnostic pop 1651 unreachable("Undefined enum value."); 1652 } 1653 1654 1655 const char * vk_IndirectCommandsTokenTypeNV_to_str(VkIndirectCommandsTokenTypeNV input)1656 vk_IndirectCommandsTokenTypeNV_to_str(VkIndirectCommandsTokenTypeNV input) 1657 { 1658 #pragma GCC diagnostic push 1659 #pragma GCC diagnostic ignored "-Wswitch" 1660 switch(input) { 1661 case 0: 1662 return "VK_INDIRECT_COMMANDS_TOKEN_TYPE_SHADER_GROUP_NV"; 1663 case 1: 1664 return "VK_INDIRECT_COMMANDS_TOKEN_TYPE_STATE_FLAGS_NV"; 1665 case 2: 1666 return "VK_INDIRECT_COMMANDS_TOKEN_TYPE_INDEX_BUFFER_NV"; 1667 case 3: 1668 return "VK_INDIRECT_COMMANDS_TOKEN_TYPE_VERTEX_BUFFER_NV"; 1669 case 4: 1670 return "VK_INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_CONSTANT_NV"; 1671 case 5: 1672 return "VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_INDEXED_NV"; 1673 case 6: 1674 return "VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_NV"; 1675 case 7: 1676 return "VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_TASKS_NV"; 1677 } 1678 #pragma GCC diagnostic pop 1679 unreachable("Undefined enum value."); 1680 } 1681 1682 1683 const char * vk_InternalAllocationType_to_str(VkInternalAllocationType input)1684 vk_InternalAllocationType_to_str(VkInternalAllocationType input) 1685 { 1686 #pragma GCC diagnostic push 1687 #pragma GCC diagnostic ignored "-Wswitch" 1688 switch(input) { 1689 case 0: 1690 return "VK_INTERNAL_ALLOCATION_TYPE_EXECUTABLE"; 1691 } 1692 #pragma GCC diagnostic pop 1693 unreachable("Undefined enum value."); 1694 } 1695 1696 1697 const char * vk_LineRasterizationModeEXT_to_str(VkLineRasterizationModeEXT input)1698 vk_LineRasterizationModeEXT_to_str(VkLineRasterizationModeEXT input) 1699 { 1700 #pragma GCC diagnostic push 1701 #pragma GCC diagnostic ignored "-Wswitch" 1702 switch(input) { 1703 case 0: 1704 return "VK_LINE_RASTERIZATION_MODE_DEFAULT_EXT"; 1705 case 1: 1706 return "VK_LINE_RASTERIZATION_MODE_RECTANGULAR_EXT"; 1707 case 2: 1708 return "VK_LINE_RASTERIZATION_MODE_BRESENHAM_EXT"; 1709 case 3: 1710 return "VK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_EXT"; 1711 } 1712 #pragma GCC diagnostic pop 1713 unreachable("Undefined enum value."); 1714 } 1715 1716 1717 const char * vk_LogicOp_to_str(VkLogicOp input)1718 vk_LogicOp_to_str(VkLogicOp input) 1719 { 1720 #pragma GCC diagnostic push 1721 #pragma GCC diagnostic ignored "-Wswitch" 1722 switch(input) { 1723 case 0: 1724 return "VK_LOGIC_OP_CLEAR"; 1725 case 1: 1726 return "VK_LOGIC_OP_AND"; 1727 case 2: 1728 return "VK_LOGIC_OP_AND_REVERSE"; 1729 case 3: 1730 return "VK_LOGIC_OP_COPY"; 1731 case 4: 1732 return "VK_LOGIC_OP_AND_INVERTED"; 1733 case 5: 1734 return "VK_LOGIC_OP_NO_OP"; 1735 case 6: 1736 return "VK_LOGIC_OP_XOR"; 1737 case 7: 1738 return "VK_LOGIC_OP_OR"; 1739 case 8: 1740 return "VK_LOGIC_OP_NOR"; 1741 case 9: 1742 return "VK_LOGIC_OP_EQUIVALENT"; 1743 case 10: 1744 return "VK_LOGIC_OP_INVERT"; 1745 case 11: 1746 return "VK_LOGIC_OP_OR_REVERSE"; 1747 case 12: 1748 return "VK_LOGIC_OP_COPY_INVERTED"; 1749 case 13: 1750 return "VK_LOGIC_OP_OR_INVERTED"; 1751 case 14: 1752 return "VK_LOGIC_OP_NAND"; 1753 case 15: 1754 return "VK_LOGIC_OP_SET"; 1755 } 1756 #pragma GCC diagnostic pop 1757 unreachable("Undefined enum value."); 1758 } 1759 1760 1761 const char * vk_MemoryOverallocationBehaviorAMD_to_str(VkMemoryOverallocationBehaviorAMD input)1762 vk_MemoryOverallocationBehaviorAMD_to_str(VkMemoryOverallocationBehaviorAMD input) 1763 { 1764 #pragma GCC diagnostic push 1765 #pragma GCC diagnostic ignored "-Wswitch" 1766 switch(input) { 1767 case 0: 1768 return "VK_MEMORY_OVERALLOCATION_BEHAVIOR_DEFAULT_AMD"; 1769 case 1: 1770 return "VK_MEMORY_OVERALLOCATION_BEHAVIOR_ALLOWED_AMD"; 1771 case 2: 1772 return "VK_MEMORY_OVERALLOCATION_BEHAVIOR_DISALLOWED_AMD"; 1773 } 1774 #pragma GCC diagnostic pop 1775 unreachable("Undefined enum value."); 1776 } 1777 1778 1779 const char * vk_ObjectType_to_str(VkObjectType input)1780 vk_ObjectType_to_str(VkObjectType input) 1781 { 1782 #pragma GCC diagnostic push 1783 #pragma GCC diagnostic ignored "-Wswitch" 1784 switch(input) { 1785 case 0: 1786 return "VK_OBJECT_TYPE_UNKNOWN"; 1787 case 1: 1788 return "VK_OBJECT_TYPE_INSTANCE"; 1789 case 2: 1790 return "VK_OBJECT_TYPE_PHYSICAL_DEVICE"; 1791 case 3: 1792 return "VK_OBJECT_TYPE_DEVICE"; 1793 case 4: 1794 return "VK_OBJECT_TYPE_QUEUE"; 1795 case 5: 1796 return "VK_OBJECT_TYPE_SEMAPHORE"; 1797 case 6: 1798 return "VK_OBJECT_TYPE_COMMAND_BUFFER"; 1799 case 7: 1800 return "VK_OBJECT_TYPE_FENCE"; 1801 case 8: 1802 return "VK_OBJECT_TYPE_DEVICE_MEMORY"; 1803 case 9: 1804 return "VK_OBJECT_TYPE_BUFFER"; 1805 case 10: 1806 return "VK_OBJECT_TYPE_IMAGE"; 1807 case 11: 1808 return "VK_OBJECT_TYPE_EVENT"; 1809 case 12: 1810 return "VK_OBJECT_TYPE_QUERY_POOL"; 1811 case 13: 1812 return "VK_OBJECT_TYPE_BUFFER_VIEW"; 1813 case 14: 1814 return "VK_OBJECT_TYPE_IMAGE_VIEW"; 1815 case 15: 1816 return "VK_OBJECT_TYPE_SHADER_MODULE"; 1817 case 16: 1818 return "VK_OBJECT_TYPE_PIPELINE_CACHE"; 1819 case 17: 1820 return "VK_OBJECT_TYPE_PIPELINE_LAYOUT"; 1821 case 18: 1822 return "VK_OBJECT_TYPE_RENDER_PASS"; 1823 case 19: 1824 return "VK_OBJECT_TYPE_PIPELINE"; 1825 case 20: 1826 return "VK_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT"; 1827 case 21: 1828 return "VK_OBJECT_TYPE_SAMPLER"; 1829 case 22: 1830 return "VK_OBJECT_TYPE_DESCRIPTOR_POOL"; 1831 case 23: 1832 return "VK_OBJECT_TYPE_DESCRIPTOR_SET"; 1833 case 24: 1834 return "VK_OBJECT_TYPE_FRAMEBUFFER"; 1835 case 25: 1836 return "VK_OBJECT_TYPE_COMMAND_POOL"; 1837 case 1000000000: 1838 return "VK_OBJECT_TYPE_SURFACE_KHR"; 1839 case 1000001000: 1840 return "VK_OBJECT_TYPE_SWAPCHAIN_KHR"; 1841 case 1000002000: 1842 return "VK_OBJECT_TYPE_DISPLAY_KHR"; 1843 case 1000002001: 1844 return "VK_OBJECT_TYPE_DISPLAY_MODE_KHR"; 1845 case 1000011000: 1846 return "VK_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT"; 1847 case 1000085000: 1848 return "VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE"; 1849 case 1000128000: 1850 return "VK_OBJECT_TYPE_DEBUG_UTILS_MESSENGER_EXT"; 1851 case 1000156000: 1852 return "VK_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION"; 1853 case 1000160000: 1854 return "VK_OBJECT_TYPE_VALIDATION_CACHE_EXT"; 1855 case 1000165000: 1856 return "VK_OBJECT_TYPE_ACCELERATION_STRUCTURE_NV"; 1857 case 1000210000: 1858 return "VK_OBJECT_TYPE_PERFORMANCE_CONFIGURATION_INTEL"; 1859 case 1000268000: 1860 return "VK_OBJECT_TYPE_DEFERRED_OPERATION_KHR"; 1861 case 1000277000: 1862 return "VK_OBJECT_TYPE_INDIRECT_COMMANDS_LAYOUT_NV"; 1863 case 1000295000: 1864 return "VK_OBJECT_TYPE_PRIVATE_DATA_SLOT_EXT"; 1865 } 1866 #pragma GCC diagnostic pop 1867 unreachable("Undefined enum value."); 1868 } 1869 1870 1871 const char * vk_PerformanceConfigurationTypeINTEL_to_str(VkPerformanceConfigurationTypeINTEL input)1872 vk_PerformanceConfigurationTypeINTEL_to_str(VkPerformanceConfigurationTypeINTEL input) 1873 { 1874 #pragma GCC diagnostic push 1875 #pragma GCC diagnostic ignored "-Wswitch" 1876 switch(input) { 1877 case 0: 1878 return "VK_PERFORMANCE_CONFIGURATION_TYPE_COMMAND_QUEUE_METRICS_DISCOVERY_ACTIVATED_INTEL"; 1879 } 1880 #pragma GCC diagnostic pop 1881 unreachable("Undefined enum value."); 1882 } 1883 1884 1885 const char * vk_PerformanceCounterScopeKHR_to_str(VkPerformanceCounterScopeKHR input)1886 vk_PerformanceCounterScopeKHR_to_str(VkPerformanceCounterScopeKHR input) 1887 { 1888 #pragma GCC diagnostic push 1889 #pragma GCC diagnostic ignored "-Wswitch" 1890 switch(input) { 1891 case 0: 1892 return "VK_QUERY_SCOPE_COMMAND_BUFFER_KHR"; 1893 case 1: 1894 return "VK_QUERY_SCOPE_RENDER_PASS_KHR"; 1895 case 2: 1896 return "VK_QUERY_SCOPE_COMMAND_KHR"; 1897 } 1898 #pragma GCC diagnostic pop 1899 unreachable("Undefined enum value."); 1900 } 1901 1902 1903 const char * vk_PerformanceCounterStorageKHR_to_str(VkPerformanceCounterStorageKHR input)1904 vk_PerformanceCounterStorageKHR_to_str(VkPerformanceCounterStorageKHR input) 1905 { 1906 #pragma GCC diagnostic push 1907 #pragma GCC diagnostic ignored "-Wswitch" 1908 switch(input) { 1909 case 0: 1910 return "VK_PERFORMANCE_COUNTER_STORAGE_INT32_KHR"; 1911 case 1: 1912 return "VK_PERFORMANCE_COUNTER_STORAGE_INT64_KHR"; 1913 case 2: 1914 return "VK_PERFORMANCE_COUNTER_STORAGE_UINT32_KHR"; 1915 case 3: 1916 return "VK_PERFORMANCE_COUNTER_STORAGE_UINT64_KHR"; 1917 case 4: 1918 return "VK_PERFORMANCE_COUNTER_STORAGE_FLOAT32_KHR"; 1919 case 5: 1920 return "VK_PERFORMANCE_COUNTER_STORAGE_FLOAT64_KHR"; 1921 } 1922 #pragma GCC diagnostic pop 1923 unreachable("Undefined enum value."); 1924 } 1925 1926 1927 const char * vk_PerformanceCounterUnitKHR_to_str(VkPerformanceCounterUnitKHR input)1928 vk_PerformanceCounterUnitKHR_to_str(VkPerformanceCounterUnitKHR input) 1929 { 1930 #pragma GCC diagnostic push 1931 #pragma GCC diagnostic ignored "-Wswitch" 1932 switch(input) { 1933 case 0: 1934 return "VK_PERFORMANCE_COUNTER_UNIT_GENERIC_KHR"; 1935 case 1: 1936 return "VK_PERFORMANCE_COUNTER_UNIT_PERCENTAGE_KHR"; 1937 case 2: 1938 return "VK_PERFORMANCE_COUNTER_UNIT_NANOSECONDS_KHR"; 1939 case 3: 1940 return "VK_PERFORMANCE_COUNTER_UNIT_BYTES_KHR"; 1941 case 4: 1942 return "VK_PERFORMANCE_COUNTER_UNIT_BYTES_PER_SECOND_KHR"; 1943 case 5: 1944 return "VK_PERFORMANCE_COUNTER_UNIT_KELVIN_KHR"; 1945 case 6: 1946 return "VK_PERFORMANCE_COUNTER_UNIT_WATTS_KHR"; 1947 case 7: 1948 return "VK_PERFORMANCE_COUNTER_UNIT_VOLTS_KHR"; 1949 case 8: 1950 return "VK_PERFORMANCE_COUNTER_UNIT_AMPS_KHR"; 1951 case 9: 1952 return "VK_PERFORMANCE_COUNTER_UNIT_HERTZ_KHR"; 1953 case 10: 1954 return "VK_PERFORMANCE_COUNTER_UNIT_CYCLES_KHR"; 1955 } 1956 #pragma GCC diagnostic pop 1957 unreachable("Undefined enum value."); 1958 } 1959 1960 1961 const char * vk_PerformanceOverrideTypeINTEL_to_str(VkPerformanceOverrideTypeINTEL input)1962 vk_PerformanceOverrideTypeINTEL_to_str(VkPerformanceOverrideTypeINTEL input) 1963 { 1964 #pragma GCC diagnostic push 1965 #pragma GCC diagnostic ignored "-Wswitch" 1966 switch(input) { 1967 case 0: 1968 return "VK_PERFORMANCE_OVERRIDE_TYPE_NULL_HARDWARE_INTEL"; 1969 case 1: 1970 return "VK_PERFORMANCE_OVERRIDE_TYPE_FLUSH_GPU_CACHES_INTEL"; 1971 } 1972 #pragma GCC diagnostic pop 1973 unreachable("Undefined enum value."); 1974 } 1975 1976 1977 const char * vk_PerformanceParameterTypeINTEL_to_str(VkPerformanceParameterTypeINTEL input)1978 vk_PerformanceParameterTypeINTEL_to_str(VkPerformanceParameterTypeINTEL input) 1979 { 1980 #pragma GCC diagnostic push 1981 #pragma GCC diagnostic ignored "-Wswitch" 1982 switch(input) { 1983 case 0: 1984 return "VK_PERFORMANCE_PARAMETER_TYPE_HW_COUNTERS_SUPPORTED_INTEL"; 1985 case 1: 1986 return "VK_PERFORMANCE_PARAMETER_TYPE_STREAM_MARKER_VALID_BITS_INTEL"; 1987 } 1988 #pragma GCC diagnostic pop 1989 unreachable("Undefined enum value."); 1990 } 1991 1992 1993 const char * vk_PerformanceValueTypeINTEL_to_str(VkPerformanceValueTypeINTEL input)1994 vk_PerformanceValueTypeINTEL_to_str(VkPerformanceValueTypeINTEL input) 1995 { 1996 #pragma GCC diagnostic push 1997 #pragma GCC diagnostic ignored "-Wswitch" 1998 switch(input) { 1999 case 0: 2000 return "VK_PERFORMANCE_VALUE_TYPE_UINT32_INTEL"; 2001 case 1: 2002 return "VK_PERFORMANCE_VALUE_TYPE_UINT64_INTEL"; 2003 case 2: 2004 return "VK_PERFORMANCE_VALUE_TYPE_FLOAT_INTEL"; 2005 case 3: 2006 return "VK_PERFORMANCE_VALUE_TYPE_BOOL_INTEL"; 2007 case 4: 2008 return "VK_PERFORMANCE_VALUE_TYPE_STRING_INTEL"; 2009 } 2010 #pragma GCC diagnostic pop 2011 unreachable("Undefined enum value."); 2012 } 2013 2014 2015 const char * vk_PhysicalDeviceType_to_str(VkPhysicalDeviceType input)2016 vk_PhysicalDeviceType_to_str(VkPhysicalDeviceType input) 2017 { 2018 #pragma GCC diagnostic push 2019 #pragma GCC diagnostic ignored "-Wswitch" 2020 switch(input) { 2021 case 0: 2022 return "VK_PHYSICAL_DEVICE_TYPE_OTHER"; 2023 case 1: 2024 return "VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU"; 2025 case 2: 2026 return "VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU"; 2027 case 3: 2028 return "VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU"; 2029 case 4: 2030 return "VK_PHYSICAL_DEVICE_TYPE_CPU"; 2031 } 2032 #pragma GCC diagnostic pop 2033 unreachable("Undefined enum value."); 2034 } 2035 2036 2037 const char * vk_PipelineBindPoint_to_str(VkPipelineBindPoint input)2038 vk_PipelineBindPoint_to_str(VkPipelineBindPoint input) 2039 { 2040 #pragma GCC diagnostic push 2041 #pragma GCC diagnostic ignored "-Wswitch" 2042 switch(input) { 2043 case 0: 2044 return "VK_PIPELINE_BIND_POINT_GRAPHICS"; 2045 case 1: 2046 return "VK_PIPELINE_BIND_POINT_COMPUTE"; 2047 case 1000165000: 2048 return "VK_PIPELINE_BIND_POINT_RAY_TRACING_NV"; 2049 } 2050 #pragma GCC diagnostic pop 2051 unreachable("Undefined enum value."); 2052 } 2053 2054 2055 const char * vk_PipelineCacheHeaderVersion_to_str(VkPipelineCacheHeaderVersion input)2056 vk_PipelineCacheHeaderVersion_to_str(VkPipelineCacheHeaderVersion input) 2057 { 2058 #pragma GCC diagnostic push 2059 #pragma GCC diagnostic ignored "-Wswitch" 2060 switch(input) { 2061 case 1: 2062 return "VK_PIPELINE_CACHE_HEADER_VERSION_ONE"; 2063 } 2064 #pragma GCC diagnostic pop 2065 unreachable("Undefined enum value."); 2066 } 2067 2068 2069 const char * vk_PipelineExecutableStatisticFormatKHR_to_str(VkPipelineExecutableStatisticFormatKHR input)2070 vk_PipelineExecutableStatisticFormatKHR_to_str(VkPipelineExecutableStatisticFormatKHR input) 2071 { 2072 #pragma GCC diagnostic push 2073 #pragma GCC diagnostic ignored "-Wswitch" 2074 switch(input) { 2075 case 0: 2076 return "VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_BOOL32_KHR"; 2077 case 1: 2078 return "VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_INT64_KHR"; 2079 case 2: 2080 return "VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR"; 2081 case 3: 2082 return "VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_FLOAT64_KHR"; 2083 } 2084 #pragma GCC diagnostic pop 2085 unreachable("Undefined enum value."); 2086 } 2087 2088 2089 const char * vk_PointClippingBehavior_to_str(VkPointClippingBehavior input)2090 vk_PointClippingBehavior_to_str(VkPointClippingBehavior input) 2091 { 2092 #pragma GCC diagnostic push 2093 #pragma GCC diagnostic ignored "-Wswitch" 2094 switch(input) { 2095 case 0: 2096 return "VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES"; 2097 case 1: 2098 return "VK_POINT_CLIPPING_BEHAVIOR_USER_CLIP_PLANES_ONLY"; 2099 } 2100 #pragma GCC diagnostic pop 2101 unreachable("Undefined enum value."); 2102 } 2103 2104 2105 const char * vk_PolygonMode_to_str(VkPolygonMode input)2106 vk_PolygonMode_to_str(VkPolygonMode input) 2107 { 2108 #pragma GCC diagnostic push 2109 #pragma GCC diagnostic ignored "-Wswitch" 2110 switch(input) { 2111 case 0: 2112 return "VK_POLYGON_MODE_FILL"; 2113 case 1: 2114 return "VK_POLYGON_MODE_LINE"; 2115 case 2: 2116 return "VK_POLYGON_MODE_POINT"; 2117 case 1000153000: 2118 return "VK_POLYGON_MODE_FILL_RECTANGLE_NV"; 2119 } 2120 #pragma GCC diagnostic pop 2121 unreachable("Undefined enum value."); 2122 } 2123 2124 2125 const char * vk_PresentModeKHR_to_str(VkPresentModeKHR input)2126 vk_PresentModeKHR_to_str(VkPresentModeKHR input) 2127 { 2128 #pragma GCC diagnostic push 2129 #pragma GCC diagnostic ignored "-Wswitch" 2130 switch(input) { 2131 case 0: 2132 return "VK_PRESENT_MODE_IMMEDIATE_KHR"; 2133 case 1: 2134 return "VK_PRESENT_MODE_MAILBOX_KHR"; 2135 case 2: 2136 return "VK_PRESENT_MODE_FIFO_KHR"; 2137 case 3: 2138 return "VK_PRESENT_MODE_FIFO_RELAXED_KHR"; 2139 case 1000111000: 2140 return "VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR"; 2141 case 1000111001: 2142 return "VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR"; 2143 } 2144 #pragma GCC diagnostic pop 2145 unreachable("Undefined enum value."); 2146 } 2147 2148 2149 const char * vk_PrimitiveTopology_to_str(VkPrimitiveTopology input)2150 vk_PrimitiveTopology_to_str(VkPrimitiveTopology input) 2151 { 2152 #pragma GCC diagnostic push 2153 #pragma GCC diagnostic ignored "-Wswitch" 2154 switch(input) { 2155 case 0: 2156 return "VK_PRIMITIVE_TOPOLOGY_POINT_LIST"; 2157 case 1: 2158 return "VK_PRIMITIVE_TOPOLOGY_LINE_LIST"; 2159 case 2: 2160 return "VK_PRIMITIVE_TOPOLOGY_LINE_STRIP"; 2161 case 3: 2162 return "VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST"; 2163 case 4: 2164 return "VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP"; 2165 case 5: 2166 return "VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN"; 2167 case 6: 2168 return "VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY"; 2169 case 7: 2170 return "VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY"; 2171 case 8: 2172 return "VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY"; 2173 case 9: 2174 return "VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY"; 2175 case 10: 2176 return "VK_PRIMITIVE_TOPOLOGY_PATCH_LIST"; 2177 } 2178 #pragma GCC diagnostic pop 2179 unreachable("Undefined enum value."); 2180 } 2181 2182 2183 const char * vk_QueryPoolSamplingModeINTEL_to_str(VkQueryPoolSamplingModeINTEL input)2184 vk_QueryPoolSamplingModeINTEL_to_str(VkQueryPoolSamplingModeINTEL input) 2185 { 2186 #pragma GCC diagnostic push 2187 #pragma GCC diagnostic ignored "-Wswitch" 2188 switch(input) { 2189 case 0: 2190 return "VK_QUERY_POOL_SAMPLING_MODE_MANUAL_INTEL"; 2191 } 2192 #pragma GCC diagnostic pop 2193 unreachable("Undefined enum value."); 2194 } 2195 2196 2197 const char * vk_QueryType_to_str(VkQueryType input)2198 vk_QueryType_to_str(VkQueryType input) 2199 { 2200 #pragma GCC diagnostic push 2201 #pragma GCC diagnostic ignored "-Wswitch" 2202 switch(input) { 2203 case 0: 2204 return "VK_QUERY_TYPE_OCCLUSION"; 2205 case 1: 2206 return "VK_QUERY_TYPE_PIPELINE_STATISTICS"; 2207 case 2: 2208 return "VK_QUERY_TYPE_TIMESTAMP"; 2209 case 1000028004: 2210 return "VK_QUERY_TYPE_TRANSFORM_FEEDBACK_STREAM_EXT"; 2211 case 1000116000: 2212 return "VK_QUERY_TYPE_PERFORMANCE_QUERY_KHR"; 2213 case 1000150000: 2214 return "VK_QUERY_TYPE_ACCELERATION_STRUCTURE_SERIALIZATION_SIZE_KHR"; 2215 case 1000165000: 2216 return "VK_QUERY_TYPE_ACCELERATION_STRUCTURE_COMPACTED_SIZE_NV"; 2217 case 1000210000: 2218 return "VK_QUERY_TYPE_PERFORMANCE_QUERY_INTEL"; 2219 } 2220 #pragma GCC diagnostic pop 2221 unreachable("Undefined enum value."); 2222 } 2223 2224 2225 const char * vk_QueueGlobalPriorityEXT_to_str(VkQueueGlobalPriorityEXT input)2226 vk_QueueGlobalPriorityEXT_to_str(VkQueueGlobalPriorityEXT input) 2227 { 2228 #pragma GCC diagnostic push 2229 #pragma GCC diagnostic ignored "-Wswitch" 2230 switch(input) { 2231 case 128: 2232 return "VK_QUEUE_GLOBAL_PRIORITY_LOW_EXT"; 2233 case 256: 2234 return "VK_QUEUE_GLOBAL_PRIORITY_MEDIUM_EXT"; 2235 case 512: 2236 return "VK_QUEUE_GLOBAL_PRIORITY_HIGH_EXT"; 2237 case 1024: 2238 return "VK_QUEUE_GLOBAL_PRIORITY_REALTIME_EXT"; 2239 } 2240 #pragma GCC diagnostic pop 2241 unreachable("Undefined enum value."); 2242 } 2243 2244 2245 const char * vk_RasterizationOrderAMD_to_str(VkRasterizationOrderAMD input)2246 vk_RasterizationOrderAMD_to_str(VkRasterizationOrderAMD input) 2247 { 2248 #pragma GCC diagnostic push 2249 #pragma GCC diagnostic ignored "-Wswitch" 2250 switch(input) { 2251 case 0: 2252 return "VK_RASTERIZATION_ORDER_STRICT_AMD"; 2253 case 1: 2254 return "VK_RASTERIZATION_ORDER_RELAXED_AMD"; 2255 } 2256 #pragma GCC diagnostic pop 2257 unreachable("Undefined enum value."); 2258 } 2259 2260 2261 #ifdef VK_ENABLE_BETA_EXTENSIONS 2262 const char * vk_RayTracingShaderGroupTypeKHR_to_str(VkRayTracingShaderGroupTypeKHR input)2263 vk_RayTracingShaderGroupTypeKHR_to_str(VkRayTracingShaderGroupTypeKHR input) 2264 { 2265 #pragma GCC diagnostic push 2266 #pragma GCC diagnostic ignored "-Wswitch" 2267 switch(input) { 2268 case 0: 2269 return "VK_RAY_TRACING_SHADER_GROUP_TYPE_GENERAL_NV"; 2270 case 1: 2271 return "VK_RAY_TRACING_SHADER_GROUP_TYPE_TRIANGLES_HIT_GROUP_NV"; 2272 case 2: 2273 return "VK_RAY_TRACING_SHADER_GROUP_TYPE_PROCEDURAL_HIT_GROUP_NV"; 2274 } 2275 #pragma GCC diagnostic pop 2276 unreachable("Undefined enum value."); 2277 } 2278 2279 #endif 2280 2281 const char * vk_Result_to_str(VkResult input)2282 vk_Result_to_str(VkResult input) 2283 { 2284 #pragma GCC diagnostic push 2285 #pragma GCC diagnostic ignored "-Wswitch" 2286 switch(input) { 2287 case -1000257000: 2288 return "VK_ERROR_INVALID_DEVICE_ADDRESS_EXT"; 2289 case -1000255000: 2290 return "VK_ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT"; 2291 case -1000174001: 2292 return "VK_ERROR_NOT_PERMITTED_EXT"; 2293 case -1000161000: 2294 return "VK_ERROR_FRAGMENTATION"; 2295 case -1000158000: 2296 return "VK_ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT"; 2297 case -1000150000: 2298 return "VK_ERROR_INCOMPATIBLE_VERSION_KHR"; 2299 case -1000072003: 2300 return "VK_ERROR_INVALID_EXTERNAL_HANDLE"; 2301 case -1000069000: 2302 return "VK_ERROR_OUT_OF_POOL_MEMORY"; 2303 case -1000012000: 2304 return "VK_ERROR_INVALID_SHADER_NV"; 2305 case -1000011001: 2306 return "VK_ERROR_VALIDATION_FAILED_EXT"; 2307 case -1000003001: 2308 return "VK_ERROR_INCOMPATIBLE_DISPLAY_KHR"; 2309 case -1000001004: 2310 return "VK_ERROR_OUT_OF_DATE_KHR"; 2311 case -1000000001: 2312 return "VK_ERROR_NATIVE_WINDOW_IN_USE_KHR"; 2313 case -1000000000: 2314 return "VK_ERROR_SURFACE_LOST_KHR"; 2315 case -13: 2316 return "VK_ERROR_UNKNOWN"; 2317 case -12: 2318 return "VK_ERROR_FRAGMENTED_POOL"; 2319 case -11: 2320 return "VK_ERROR_FORMAT_NOT_SUPPORTED"; 2321 case -10: 2322 return "VK_ERROR_TOO_MANY_OBJECTS"; 2323 case -9: 2324 return "VK_ERROR_INCOMPATIBLE_DRIVER"; 2325 case -8: 2326 return "VK_ERROR_FEATURE_NOT_PRESENT"; 2327 case -7: 2328 return "VK_ERROR_EXTENSION_NOT_PRESENT"; 2329 case -6: 2330 return "VK_ERROR_LAYER_NOT_PRESENT"; 2331 case -5: 2332 return "VK_ERROR_MEMORY_MAP_FAILED"; 2333 case -4: 2334 return "VK_ERROR_DEVICE_LOST"; 2335 case -3: 2336 return "VK_ERROR_INITIALIZATION_FAILED"; 2337 case -2: 2338 return "VK_ERROR_OUT_OF_DEVICE_MEMORY"; 2339 case -1: 2340 return "VK_ERROR_OUT_OF_HOST_MEMORY"; 2341 case 0: 2342 return "VK_SUCCESS"; 2343 case 1: 2344 return "VK_NOT_READY"; 2345 case 2: 2346 return "VK_TIMEOUT"; 2347 case 3: 2348 return "VK_EVENT_SET"; 2349 case 4: 2350 return "VK_EVENT_RESET"; 2351 case 5: 2352 return "VK_INCOMPLETE"; 2353 case 1000001003: 2354 return "VK_SUBOPTIMAL_KHR"; 2355 case 1000268000: 2356 return "VK_THREAD_IDLE_KHR"; 2357 case 1000268001: 2358 return "VK_THREAD_DONE_KHR"; 2359 case 1000268002: 2360 return "VK_OPERATION_DEFERRED_KHR"; 2361 case 1000268003: 2362 return "VK_OPERATION_NOT_DEFERRED_KHR"; 2363 case 1000297000: 2364 return "VK_PIPELINE_COMPILE_REQUIRED_EXT"; 2365 } 2366 #pragma GCC diagnostic pop 2367 unreachable("Undefined enum value."); 2368 } 2369 2370 2371 const char * vk_SamplerAddressMode_to_str(VkSamplerAddressMode input)2372 vk_SamplerAddressMode_to_str(VkSamplerAddressMode input) 2373 { 2374 #pragma GCC diagnostic push 2375 #pragma GCC diagnostic ignored "-Wswitch" 2376 switch(input) { 2377 case 0: 2378 return "VK_SAMPLER_ADDRESS_MODE_REPEAT"; 2379 case 1: 2380 return "VK_SAMPLER_ADDRESS_MODE_MIRRORED_REPEAT"; 2381 case 2: 2382 return "VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE"; 2383 case 3: 2384 return "VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER"; 2385 case 4: 2386 return "VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE"; 2387 } 2388 #pragma GCC diagnostic pop 2389 unreachable("Undefined enum value."); 2390 } 2391 2392 2393 const char * vk_SamplerMipmapMode_to_str(VkSamplerMipmapMode input)2394 vk_SamplerMipmapMode_to_str(VkSamplerMipmapMode input) 2395 { 2396 #pragma GCC diagnostic push 2397 #pragma GCC diagnostic ignored "-Wswitch" 2398 switch(input) { 2399 case 0: 2400 return "VK_SAMPLER_MIPMAP_MODE_NEAREST"; 2401 case 1: 2402 return "VK_SAMPLER_MIPMAP_MODE_LINEAR"; 2403 } 2404 #pragma GCC diagnostic pop 2405 unreachable("Undefined enum value."); 2406 } 2407 2408 2409 const char * vk_SamplerReductionMode_to_str(VkSamplerReductionMode input)2410 vk_SamplerReductionMode_to_str(VkSamplerReductionMode input) 2411 { 2412 #pragma GCC diagnostic push 2413 #pragma GCC diagnostic ignored "-Wswitch" 2414 switch(input) { 2415 case 0: 2416 return "VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE"; 2417 case 1: 2418 return "VK_SAMPLER_REDUCTION_MODE_MIN"; 2419 case 2: 2420 return "VK_SAMPLER_REDUCTION_MODE_MAX"; 2421 } 2422 #pragma GCC diagnostic pop 2423 unreachable("Undefined enum value."); 2424 } 2425 2426 2427 const char * vk_SamplerYcbcrModelConversion_to_str(VkSamplerYcbcrModelConversion input)2428 vk_SamplerYcbcrModelConversion_to_str(VkSamplerYcbcrModelConversion input) 2429 { 2430 #pragma GCC diagnostic push 2431 #pragma GCC diagnostic ignored "-Wswitch" 2432 switch(input) { 2433 case 0: 2434 return "VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY"; 2435 case 1: 2436 return "VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_IDENTITY"; 2437 case 2: 2438 return "VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_709"; 2439 case 3: 2440 return "VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_601"; 2441 case 4: 2442 return "VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_2020"; 2443 } 2444 #pragma GCC diagnostic pop 2445 unreachable("Undefined enum value."); 2446 } 2447 2448 2449 const char * vk_SamplerYcbcrRange_to_str(VkSamplerYcbcrRange input)2450 vk_SamplerYcbcrRange_to_str(VkSamplerYcbcrRange input) 2451 { 2452 #pragma GCC diagnostic push 2453 #pragma GCC diagnostic ignored "-Wswitch" 2454 switch(input) { 2455 case 0: 2456 return "VK_SAMPLER_YCBCR_RANGE_ITU_FULL"; 2457 case 1: 2458 return "VK_SAMPLER_YCBCR_RANGE_ITU_NARROW"; 2459 } 2460 #pragma GCC diagnostic pop 2461 unreachable("Undefined enum value."); 2462 } 2463 2464 2465 const char * vk_ScopeNV_to_str(VkScopeNV input)2466 vk_ScopeNV_to_str(VkScopeNV input) 2467 { 2468 #pragma GCC diagnostic push 2469 #pragma GCC diagnostic ignored "-Wswitch" 2470 switch(input) { 2471 case 1: 2472 return "VK_SCOPE_DEVICE_NV"; 2473 case 2: 2474 return "VK_SCOPE_WORKGROUP_NV"; 2475 case 3: 2476 return "VK_SCOPE_SUBGROUP_NV"; 2477 case 5: 2478 return "VK_SCOPE_QUEUE_FAMILY_NV"; 2479 } 2480 #pragma GCC diagnostic pop 2481 unreachable("Undefined enum value."); 2482 } 2483 2484 2485 const char * vk_SemaphoreType_to_str(VkSemaphoreType input)2486 vk_SemaphoreType_to_str(VkSemaphoreType input) 2487 { 2488 #pragma GCC diagnostic push 2489 #pragma GCC diagnostic ignored "-Wswitch" 2490 switch(input) { 2491 case 0: 2492 return "VK_SEMAPHORE_TYPE_BINARY"; 2493 case 1: 2494 return "VK_SEMAPHORE_TYPE_TIMELINE"; 2495 } 2496 #pragma GCC diagnostic pop 2497 unreachable("Undefined enum value."); 2498 } 2499 2500 2501 const char * vk_ShaderFloatControlsIndependence_to_str(VkShaderFloatControlsIndependence input)2502 vk_ShaderFloatControlsIndependence_to_str(VkShaderFloatControlsIndependence input) 2503 { 2504 #pragma GCC diagnostic push 2505 #pragma GCC diagnostic ignored "-Wswitch" 2506 switch(input) { 2507 case 0: 2508 return "VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_32_BIT_ONLY"; 2509 case 1: 2510 return "VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_ALL"; 2511 case 2: 2512 return "VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_NONE"; 2513 } 2514 #pragma GCC diagnostic pop 2515 unreachable("Undefined enum value."); 2516 } 2517 2518 2519 const char * vk_ShaderInfoTypeAMD_to_str(VkShaderInfoTypeAMD input)2520 vk_ShaderInfoTypeAMD_to_str(VkShaderInfoTypeAMD input) 2521 { 2522 #pragma GCC diagnostic push 2523 #pragma GCC diagnostic ignored "-Wswitch" 2524 switch(input) { 2525 case 0: 2526 return "VK_SHADER_INFO_TYPE_STATISTICS_AMD"; 2527 case 1: 2528 return "VK_SHADER_INFO_TYPE_BINARY_AMD"; 2529 case 2: 2530 return "VK_SHADER_INFO_TYPE_DISASSEMBLY_AMD"; 2531 } 2532 #pragma GCC diagnostic pop 2533 unreachable("Undefined enum value."); 2534 } 2535 2536 2537 const char * vk_ShadingRatePaletteEntryNV_to_str(VkShadingRatePaletteEntryNV input)2538 vk_ShadingRatePaletteEntryNV_to_str(VkShadingRatePaletteEntryNV input) 2539 { 2540 #pragma GCC diagnostic push 2541 #pragma GCC diagnostic ignored "-Wswitch" 2542 switch(input) { 2543 case 0: 2544 return "VK_SHADING_RATE_PALETTE_ENTRY_NO_INVOCATIONS_NV"; 2545 case 1: 2546 return "VK_SHADING_RATE_PALETTE_ENTRY_16_INVOCATIONS_PER_PIXEL_NV"; 2547 case 2: 2548 return "VK_SHADING_RATE_PALETTE_ENTRY_8_INVOCATIONS_PER_PIXEL_NV"; 2549 case 3: 2550 return "VK_SHADING_RATE_PALETTE_ENTRY_4_INVOCATIONS_PER_PIXEL_NV"; 2551 case 4: 2552 return "VK_SHADING_RATE_PALETTE_ENTRY_2_INVOCATIONS_PER_PIXEL_NV"; 2553 case 5: 2554 return "VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_PIXEL_NV"; 2555 case 6: 2556 return "VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X1_PIXELS_NV"; 2557 case 7: 2558 return "VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_1X2_PIXELS_NV"; 2559 case 8: 2560 return "VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X2_PIXELS_NV"; 2561 case 9: 2562 return "VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_4X2_PIXELS_NV"; 2563 case 10: 2564 return "VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X4_PIXELS_NV"; 2565 case 11: 2566 return "VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_4X4_PIXELS_NV"; 2567 } 2568 #pragma GCC diagnostic pop 2569 unreachable("Undefined enum value."); 2570 } 2571 2572 2573 const char * vk_SharingMode_to_str(VkSharingMode input)2574 vk_SharingMode_to_str(VkSharingMode input) 2575 { 2576 #pragma GCC diagnostic push 2577 #pragma GCC diagnostic ignored "-Wswitch" 2578 switch(input) { 2579 case 0: 2580 return "VK_SHARING_MODE_EXCLUSIVE"; 2581 case 1: 2582 return "VK_SHARING_MODE_CONCURRENT"; 2583 } 2584 #pragma GCC diagnostic pop 2585 unreachable("Undefined enum value."); 2586 } 2587 2588 2589 const char * vk_StencilOp_to_str(VkStencilOp input)2590 vk_StencilOp_to_str(VkStencilOp input) 2591 { 2592 #pragma GCC diagnostic push 2593 #pragma GCC diagnostic ignored "-Wswitch" 2594 switch(input) { 2595 case 0: 2596 return "VK_STENCIL_OP_KEEP"; 2597 case 1: 2598 return "VK_STENCIL_OP_ZERO"; 2599 case 2: 2600 return "VK_STENCIL_OP_REPLACE"; 2601 case 3: 2602 return "VK_STENCIL_OP_INCREMENT_AND_CLAMP"; 2603 case 4: 2604 return "VK_STENCIL_OP_DECREMENT_AND_CLAMP"; 2605 case 5: 2606 return "VK_STENCIL_OP_INVERT"; 2607 case 6: 2608 return "VK_STENCIL_OP_INCREMENT_AND_WRAP"; 2609 case 7: 2610 return "VK_STENCIL_OP_DECREMENT_AND_WRAP"; 2611 } 2612 #pragma GCC diagnostic pop 2613 unreachable("Undefined enum value."); 2614 } 2615 2616 2617 const char * vk_StructureType_to_str(VkStructureType input)2618 vk_StructureType_to_str(VkStructureType input) 2619 { 2620 #pragma GCC diagnostic push 2621 #pragma GCC diagnostic ignored "-Wswitch" 2622 switch(input) { 2623 case 0: 2624 return "VK_STRUCTURE_TYPE_APPLICATION_INFO"; 2625 case 1: 2626 return "VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO"; 2627 case 2: 2628 return "VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO"; 2629 case 3: 2630 return "VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO"; 2631 case 4: 2632 return "VK_STRUCTURE_TYPE_SUBMIT_INFO"; 2633 case 5: 2634 return "VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO"; 2635 case 6: 2636 return "VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE"; 2637 case 7: 2638 return "VK_STRUCTURE_TYPE_BIND_SPARSE_INFO"; 2639 case 8: 2640 return "VK_STRUCTURE_TYPE_FENCE_CREATE_INFO"; 2641 case 9: 2642 return "VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO"; 2643 case 10: 2644 return "VK_STRUCTURE_TYPE_EVENT_CREATE_INFO"; 2645 case 11: 2646 return "VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO"; 2647 case 12: 2648 return "VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO"; 2649 case 13: 2650 return "VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO"; 2651 case 14: 2652 return "VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO"; 2653 case 15: 2654 return "VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO"; 2655 case 16: 2656 return "VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO"; 2657 case 17: 2658 return "VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO"; 2659 case 18: 2660 return "VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO"; 2661 case 19: 2662 return "VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO"; 2663 case 20: 2664 return "VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO"; 2665 case 21: 2666 return "VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO"; 2667 case 22: 2668 return "VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO"; 2669 case 23: 2670 return "VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO"; 2671 case 24: 2672 return "VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO"; 2673 case 25: 2674 return "VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO"; 2675 case 26: 2676 return "VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO"; 2677 case 27: 2678 return "VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO"; 2679 case 28: 2680 return "VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO"; 2681 case 29: 2682 return "VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO"; 2683 case 30: 2684 return "VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO"; 2685 case 31: 2686 return "VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO"; 2687 case 32: 2688 return "VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO"; 2689 case 33: 2690 return "VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO"; 2691 case 34: 2692 return "VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO"; 2693 case 35: 2694 return "VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET"; 2695 case 36: 2696 return "VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET"; 2697 case 37: 2698 return "VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO"; 2699 case 38: 2700 return "VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO"; 2701 case 39: 2702 return "VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO"; 2703 case 40: 2704 return "VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO"; 2705 case 41: 2706 return "VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO"; 2707 case 42: 2708 return "VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO"; 2709 case 43: 2710 return "VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO"; 2711 case 44: 2712 return "VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER"; 2713 case 45: 2714 return "VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER"; 2715 case 46: 2716 return "VK_STRUCTURE_TYPE_MEMORY_BARRIER"; 2717 case 47: 2718 return "VK_STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO"; 2719 case 48: 2720 return "VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO"; 2721 case 49: 2722 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_FEATURES"; 2723 case 50: 2724 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_PROPERTIES"; 2725 case 51: 2726 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_FEATURES"; 2727 case 52: 2728 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_PROPERTIES"; 2729 case 1000001000: 2730 return "VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR"; 2731 case 1000001001: 2732 return "VK_STRUCTURE_TYPE_PRESENT_INFO_KHR"; 2733 case 1000002000: 2734 return "VK_STRUCTURE_TYPE_DISPLAY_MODE_CREATE_INFO_KHR"; 2735 case 1000002001: 2736 return "VK_STRUCTURE_TYPE_DISPLAY_SURFACE_CREATE_INFO_KHR"; 2737 case 1000003000: 2738 return "VK_STRUCTURE_TYPE_DISPLAY_PRESENT_INFO_KHR"; 2739 case 1000004000: 2740 return "VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR"; 2741 case 1000005000: 2742 return "VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR"; 2743 case 1000006000: 2744 return "VK_STRUCTURE_TYPE_WAYLAND_SURFACE_CREATE_INFO_KHR"; 2745 case 1000008000: 2746 return "VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR"; 2747 case 1000009000: 2748 return "VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR"; 2749 case 1000011000: 2750 return "VK_STRUCTURE_TYPE_DEBUG_REPORT_CREATE_INFO_EXT"; 2751 case 1000018000: 2752 return "VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMD"; 2753 case 1000022000: 2754 return "VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_NAME_INFO_EXT"; 2755 case 1000022001: 2756 return "VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_TAG_INFO_EXT"; 2757 case 1000022002: 2758 return "VK_STRUCTURE_TYPE_DEBUG_MARKER_MARKER_INFO_EXT"; 2759 case 1000026000: 2760 return "VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV"; 2761 case 1000026001: 2762 return "VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_BUFFER_CREATE_INFO_NV"; 2763 case 1000026002: 2764 return "VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV"; 2765 case 1000028000: 2766 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_FEATURES_EXT"; 2767 case 1000028001: 2768 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_PROPERTIES_EXT"; 2769 case 1000028002: 2770 return "VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_STREAM_CREATE_INFO_EXT"; 2771 case 1000030000: 2772 return "VK_STRUCTURE_TYPE_IMAGE_VIEW_HANDLE_INFO_NVX"; 2773 case 1000030001: 2774 return "VK_STRUCTURE_TYPE_IMAGE_VIEW_ADDRESS_PROPERTIES_NVX"; 2775 case 1000041000: 2776 return "VK_STRUCTURE_TYPE_TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMD"; 2777 case 1000049000: 2778 return "VK_STRUCTURE_TYPE_STREAM_DESCRIPTOR_SURFACE_CREATE_INFO_GGP"; 2779 case 1000050000: 2780 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CORNER_SAMPLED_IMAGE_FEATURES_NV"; 2781 case 1000053000: 2782 return "VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO"; 2783 case 1000053001: 2784 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES"; 2785 case 1000053002: 2786 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES"; 2787 case 1000056000: 2788 return "VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO_NV"; 2789 case 1000056001: 2790 return "VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO_NV"; 2791 case 1000057000: 2792 return "VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_NV"; 2793 case 1000057001: 2794 return "VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_NV"; 2795 case 1000058000: 2796 return "VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_NV"; 2797 case 1000059000: 2798 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2"; 2799 case 1000059001: 2800 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2"; 2801 case 1000059002: 2802 return "VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2"; 2803 case 1000059003: 2804 return "VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2"; 2805 case 1000059004: 2806 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2"; 2807 case 1000059005: 2808 return "VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2"; 2809 case 1000059006: 2810 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2"; 2811 case 1000059007: 2812 return "VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2"; 2813 case 1000059008: 2814 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2"; 2815 case 1000060000: 2816 return "VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO"; 2817 case 1000060003: 2818 return "VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO"; 2819 case 1000060004: 2820 return "VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO"; 2821 case 1000060005: 2822 return "VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO"; 2823 case 1000060006: 2824 return "VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO"; 2825 case 1000060007: 2826 return "VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_CAPABILITIES_KHR"; 2827 case 1000060008: 2828 return "VK_STRUCTURE_TYPE_IMAGE_SWAPCHAIN_CREATE_INFO_KHR"; 2829 case 1000060009: 2830 return "VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_SWAPCHAIN_INFO_KHR"; 2831 case 1000060010: 2832 return "VK_STRUCTURE_TYPE_ACQUIRE_NEXT_IMAGE_INFO_KHR"; 2833 case 1000060011: 2834 return "VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_INFO_KHR"; 2835 case 1000060012: 2836 return "VK_STRUCTURE_TYPE_DEVICE_GROUP_SWAPCHAIN_CREATE_INFO_KHR"; 2837 case 1000060013: 2838 return "VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO"; 2839 case 1000060014: 2840 return "VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO"; 2841 case 1000061000: 2842 return "VK_STRUCTURE_TYPE_VALIDATION_FLAGS_EXT"; 2843 case 1000062000: 2844 return "VK_STRUCTURE_TYPE_VI_SURFACE_CREATE_INFO_NN"; 2845 case 1000063000: 2846 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETER_FEATURES"; 2847 case 1000066000: 2848 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_HDR_FEATURES_EXT"; 2849 case 1000067000: 2850 return "VK_STRUCTURE_TYPE_IMAGE_VIEW_ASTC_DECODE_MODE_EXT"; 2851 case 1000067001: 2852 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ASTC_DECODE_FEATURES_EXT"; 2853 case 1000070000: 2854 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GROUP_PROPERTIES"; 2855 case 1000070001: 2856 return "VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO"; 2857 case 1000071000: 2858 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO"; 2859 case 1000071001: 2860 return "VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES"; 2861 case 1000071002: 2862 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO"; 2863 case 1000071003: 2864 return "VK_STRUCTURE_TYPE_EXTERNAL_BUFFER_PROPERTIES"; 2865 case 1000071004: 2866 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES"; 2867 case 1000072000: 2868 return "VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO"; 2869 case 1000072001: 2870 return "VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO"; 2871 case 1000072002: 2872 return "VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO"; 2873 case 1000073000: 2874 return "VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR"; 2875 case 1000073001: 2876 return "VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_KHR"; 2877 case 1000073002: 2878 return "VK_STRUCTURE_TYPE_MEMORY_WIN32_HANDLE_PROPERTIES_KHR"; 2879 case 1000073003: 2880 return "VK_STRUCTURE_TYPE_MEMORY_GET_WIN32_HANDLE_INFO_KHR"; 2881 case 1000074000: 2882 return "VK_STRUCTURE_TYPE_IMPORT_MEMORY_FD_INFO_KHR"; 2883 case 1000074001: 2884 return "VK_STRUCTURE_TYPE_MEMORY_FD_PROPERTIES_KHR"; 2885 case 1000074002: 2886 return "VK_STRUCTURE_TYPE_MEMORY_GET_FD_INFO_KHR"; 2887 case 1000075000: 2888 return "VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_KHR"; 2889 case 1000076000: 2890 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO"; 2891 case 1000076001: 2892 return "VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES"; 2893 case 1000077000: 2894 return "VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO"; 2895 case 1000078000: 2896 return "VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR"; 2897 case 1000078001: 2898 return "VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR"; 2899 case 1000078002: 2900 return "VK_STRUCTURE_TYPE_D3D12_FENCE_SUBMIT_INFO_KHR"; 2901 case 1000078003: 2902 return "VK_STRUCTURE_TYPE_SEMAPHORE_GET_WIN32_HANDLE_INFO_KHR"; 2903 case 1000079000: 2904 return "VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_FD_INFO_KHR"; 2905 case 1000079001: 2906 return "VK_STRUCTURE_TYPE_SEMAPHORE_GET_FD_INFO_KHR"; 2907 case 1000080000: 2908 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_DESCRIPTOR_PROPERTIES_KHR"; 2909 case 1000081000: 2910 return "VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_CONDITIONAL_RENDERING_INFO_EXT"; 2911 case 1000081001: 2912 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONDITIONAL_RENDERING_FEATURES_EXT"; 2913 case 1000081002: 2914 return "VK_STRUCTURE_TYPE_CONDITIONAL_RENDERING_BEGIN_INFO_EXT"; 2915 case 1000082000: 2916 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT16_INT8_FEATURES_KHR"; 2917 case 1000083000: 2918 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES"; 2919 case 1000084000: 2920 return "VK_STRUCTURE_TYPE_PRESENT_REGIONS_KHR"; 2921 case 1000085000: 2922 return "VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO"; 2923 case 1000087000: 2924 return "VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_W_SCALING_STATE_CREATE_INFO_NV"; 2925 case 1000090000: 2926 return "VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES2_EXT"; 2927 case 1000091000: 2928 return "VK_STRUCTURE_TYPE_DISPLAY_POWER_INFO_EXT"; 2929 case 1000091001: 2930 return "VK_STRUCTURE_TYPE_DEVICE_EVENT_INFO_EXT"; 2931 case 1000091002: 2932 return "VK_STRUCTURE_TYPE_DISPLAY_EVENT_INFO_EXT"; 2933 case 1000091003: 2934 return "VK_STRUCTURE_TYPE_SWAPCHAIN_COUNTER_CREATE_INFO_EXT"; 2935 case 1000092000: 2936 return "VK_STRUCTURE_TYPE_PRESENT_TIMES_INFO_GOOGLE"; 2937 case 1000094000: 2938 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES"; 2939 case 1000097000: 2940 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_ATTRIBUTES_PROPERTIES_NVX"; 2941 case 1000098000: 2942 return "VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV"; 2943 case 1000099000: 2944 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DISCARD_RECTANGLE_PROPERTIES_EXT"; 2945 case 1000099001: 2946 return "VK_STRUCTURE_TYPE_PIPELINE_DISCARD_RECTANGLE_STATE_CREATE_INFO_EXT"; 2947 case 1000101000: 2948 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONSERVATIVE_RASTERIZATION_PROPERTIES_EXT"; 2949 case 1000101001: 2950 return "VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_CONSERVATIVE_STATE_CREATE_INFO_EXT"; 2951 case 1000102000: 2952 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_ENABLE_FEATURES_EXT"; 2953 case 1000102001: 2954 return "VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_DEPTH_CLIP_STATE_CREATE_INFO_EXT"; 2955 case 1000105000: 2956 return "VK_STRUCTURE_TYPE_HDR_METADATA_EXT"; 2957 case 1000108000: 2958 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGELESS_FRAMEBUFFER_FEATURES"; 2959 case 1000108001: 2960 return "VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENTS_CREATE_INFO"; 2961 case 1000108002: 2962 return "VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENT_IMAGE_INFO"; 2963 case 1000108003: 2964 return "VK_STRUCTURE_TYPE_RENDER_PASS_ATTACHMENT_BEGIN_INFO"; 2965 case 1000109000: 2966 return "VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_2"; 2967 case 1000109001: 2968 return "VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_2"; 2969 case 1000109002: 2970 return "VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_2"; 2971 case 1000109003: 2972 return "VK_STRUCTURE_TYPE_SUBPASS_DEPENDENCY_2"; 2973 case 1000109004: 2974 return "VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO_2"; 2975 case 1000109005: 2976 return "VK_STRUCTURE_TYPE_SUBPASS_BEGIN_INFO"; 2977 case 1000109006: 2978 return "VK_STRUCTURE_TYPE_SUBPASS_END_INFO"; 2979 case 1000111000: 2980 return "VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_KHR"; 2981 case 1000112000: 2982 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO"; 2983 case 1000112001: 2984 return "VK_STRUCTURE_TYPE_EXTERNAL_FENCE_PROPERTIES"; 2985 case 1000113000: 2986 return "VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO"; 2987 case 1000114000: 2988 return "VK_STRUCTURE_TYPE_IMPORT_FENCE_WIN32_HANDLE_INFO_KHR"; 2989 case 1000114001: 2990 return "VK_STRUCTURE_TYPE_EXPORT_FENCE_WIN32_HANDLE_INFO_KHR"; 2991 case 1000114002: 2992 return "VK_STRUCTURE_TYPE_FENCE_GET_WIN32_HANDLE_INFO_KHR"; 2993 case 1000115000: 2994 return "VK_STRUCTURE_TYPE_IMPORT_FENCE_FD_INFO_KHR"; 2995 case 1000115001: 2996 return "VK_STRUCTURE_TYPE_FENCE_GET_FD_INFO_KHR"; 2997 case 1000116000: 2998 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PERFORMANCE_QUERY_FEATURES_KHR"; 2999 case 1000116001: 3000 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PERFORMANCE_QUERY_PROPERTIES_KHR"; 3001 case 1000116002: 3002 return "VK_STRUCTURE_TYPE_QUERY_POOL_PERFORMANCE_CREATE_INFO_KHR"; 3003 case 1000116003: 3004 return "VK_STRUCTURE_TYPE_PERFORMANCE_QUERY_SUBMIT_INFO_KHR"; 3005 case 1000116004: 3006 return "VK_STRUCTURE_TYPE_ACQUIRE_PROFILING_LOCK_INFO_KHR"; 3007 case 1000116005: 3008 return "VK_STRUCTURE_TYPE_PERFORMANCE_COUNTER_KHR"; 3009 case 1000116006: 3010 return "VK_STRUCTURE_TYPE_PERFORMANCE_COUNTER_DESCRIPTION_KHR"; 3011 case 1000117000: 3012 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES"; 3013 case 1000117001: 3014 return "VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO"; 3015 case 1000117002: 3016 return "VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO"; 3017 case 1000117003: 3018 return "VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO"; 3019 case 1000119000: 3020 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SURFACE_INFO_2_KHR"; 3021 case 1000119001: 3022 return "VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_KHR"; 3023 case 1000119002: 3024 return "VK_STRUCTURE_TYPE_SURFACE_FORMAT_2_KHR"; 3025 case 1000120000: 3026 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES"; 3027 case 1000121000: 3028 return "VK_STRUCTURE_TYPE_DISPLAY_PROPERTIES_2_KHR"; 3029 case 1000121001: 3030 return "VK_STRUCTURE_TYPE_DISPLAY_PLANE_PROPERTIES_2_KHR"; 3031 case 1000121002: 3032 return "VK_STRUCTURE_TYPE_DISPLAY_MODE_PROPERTIES_2_KHR"; 3033 case 1000121003: 3034 return "VK_STRUCTURE_TYPE_DISPLAY_PLANE_INFO_2_KHR"; 3035 case 1000121004: 3036 return "VK_STRUCTURE_TYPE_DISPLAY_PLANE_CAPABILITIES_2_KHR"; 3037 case 1000122000: 3038 return "VK_STRUCTURE_TYPE_IOS_SURFACE_CREATE_INFO_MVK"; 3039 case 1000123000: 3040 return "VK_STRUCTURE_TYPE_MACOS_SURFACE_CREATE_INFO_MVK"; 3041 case 1000127000: 3042 return "VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS"; 3043 case 1000127001: 3044 return "VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO"; 3045 case 1000128000: 3046 return "VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_NAME_INFO_EXT"; 3047 case 1000128001: 3048 return "VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_TAG_INFO_EXT"; 3049 case 1000128002: 3050 return "VK_STRUCTURE_TYPE_DEBUG_UTILS_LABEL_EXT"; 3051 case 1000128003: 3052 return "VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CALLBACK_DATA_EXT"; 3053 case 1000128004: 3054 return "VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT"; 3055 case 1000129000: 3056 return "VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_USAGE_ANDROID"; 3057 case 1000129001: 3058 return "VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_PROPERTIES_ANDROID"; 3059 case 1000129002: 3060 return "VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_ANDROID"; 3061 case 1000129003: 3062 return "VK_STRUCTURE_TYPE_IMPORT_ANDROID_HARDWARE_BUFFER_INFO_ANDROID"; 3063 case 1000129004: 3064 return "VK_STRUCTURE_TYPE_MEMORY_GET_ANDROID_HARDWARE_BUFFER_INFO_ANDROID"; 3065 case 1000129005: 3066 return "VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_ANDROID"; 3067 case 1000130000: 3068 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES"; 3069 case 1000130001: 3070 return "VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO"; 3071 case 1000138000: 3072 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_FEATURES_EXT"; 3073 case 1000138001: 3074 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_PROPERTIES_EXT"; 3075 case 1000138002: 3076 return "VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_INLINE_UNIFORM_BLOCK_EXT"; 3077 case 1000138003: 3078 return "VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_INLINE_UNIFORM_BLOCK_CREATE_INFO_EXT"; 3079 case 1000143000: 3080 return "VK_STRUCTURE_TYPE_SAMPLE_LOCATIONS_INFO_EXT"; 3081 case 1000143001: 3082 return "VK_STRUCTURE_TYPE_RENDER_PASS_SAMPLE_LOCATIONS_BEGIN_INFO_EXT"; 3083 case 1000143002: 3084 return "VK_STRUCTURE_TYPE_PIPELINE_SAMPLE_LOCATIONS_STATE_CREATE_INFO_EXT"; 3085 case 1000143003: 3086 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLE_LOCATIONS_PROPERTIES_EXT"; 3087 case 1000143004: 3088 return "VK_STRUCTURE_TYPE_MULTISAMPLE_PROPERTIES_EXT"; 3089 case 1000145000: 3090 return "VK_STRUCTURE_TYPE_PROTECTED_SUBMIT_INFO"; 3091 case 1000145001: 3092 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES"; 3093 case 1000145002: 3094 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES"; 3095 case 1000145003: 3096 return "VK_STRUCTURE_TYPE_DEVICE_QUEUE_INFO_2"; 3097 case 1000146000: 3098 return "VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2"; 3099 case 1000146001: 3100 return "VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2"; 3101 case 1000146002: 3102 return "VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2"; 3103 case 1000146003: 3104 return "VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2"; 3105 case 1000146004: 3106 return "VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2"; 3107 case 1000147000: 3108 return "VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO"; 3109 case 1000148000: 3110 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_FEATURES_EXT"; 3111 case 1000148001: 3112 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_PROPERTIES_EXT"; 3113 case 1000148002: 3114 return "VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_ADVANCED_STATE_CREATE_INFO_EXT"; 3115 case 1000149000: 3116 return "VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV"; 3117 case 1000150000: 3118 return "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_BUILD_GEOMETRY_INFO_KHR"; 3119 case 1000150001: 3120 return "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_CREATE_GEOMETRY_TYPE_INFO_KHR"; 3121 case 1000150002: 3122 return "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_DEVICE_ADDRESS_INFO_KHR"; 3123 case 1000150003: 3124 return "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_AABBS_DATA_KHR"; 3125 case 1000150004: 3126 return "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_INSTANCES_DATA_KHR"; 3127 case 1000150005: 3128 return "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_TRIANGLES_DATA_KHR"; 3129 case 1000150006: 3130 return "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_KHR"; 3131 case 1000150008: 3132 return "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_INFO_KHR"; 3133 case 1000150009: 3134 return "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_VERSION_KHR"; 3135 case 1000150010: 3136 return "VK_STRUCTURE_TYPE_COPY_ACCELERATION_STRUCTURE_INFO_KHR"; 3137 case 1000150011: 3138 return "VK_STRUCTURE_TYPE_COPY_ACCELERATION_STRUCTURE_TO_MEMORY_INFO_KHR"; 3139 case 1000150012: 3140 return "VK_STRUCTURE_TYPE_COPY_MEMORY_TO_ACCELERATION_STRUCTURE_INFO_KHR"; 3141 case 1000150013: 3142 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_FEATURES_KHR"; 3143 case 1000150014: 3144 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PROPERTIES_KHR"; 3145 case 1000150015: 3146 return "VK_STRUCTURE_TYPE_RAY_TRACING_PIPELINE_CREATE_INFO_KHR"; 3147 case 1000150016: 3148 return "VK_STRUCTURE_TYPE_RAY_TRACING_SHADER_GROUP_CREATE_INFO_KHR"; 3149 case 1000150017: 3150 return "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_CREATE_INFO_KHR"; 3151 case 1000150018: 3152 return "VK_STRUCTURE_TYPE_RAY_TRACING_PIPELINE_INTERFACE_CREATE_INFO_KHR"; 3153 case 1000152000: 3154 return "VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_MODULATION_STATE_CREATE_INFO_NV"; 3155 case 1000154000: 3156 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SM_BUILTINS_FEATURES_NV"; 3157 case 1000154001: 3158 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SM_BUILTINS_PROPERTIES_NV"; 3159 case 1000156000: 3160 return "VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO"; 3161 case 1000156001: 3162 return "VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO"; 3163 case 1000156002: 3164 return "VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO"; 3165 case 1000156003: 3166 return "VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO"; 3167 case 1000156004: 3168 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES"; 3169 case 1000156005: 3170 return "VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES"; 3171 case 1000157000: 3172 return "VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO"; 3173 case 1000157001: 3174 return "VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO"; 3175 case 1000158000: 3176 return "VK_STRUCTURE_TYPE_DRM_FORMAT_MODIFIER_PROPERTIES_LIST_EXT"; 3177 case 1000158002: 3178 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_DRM_FORMAT_MODIFIER_INFO_EXT"; 3179 case 1000158003: 3180 return "VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_LIST_CREATE_INFO_EXT"; 3181 case 1000158004: 3182 return "VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_EXPLICIT_CREATE_INFO_EXT"; 3183 case 1000158005: 3184 return "VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_PROPERTIES_EXT"; 3185 case 1000160000: 3186 return "VK_STRUCTURE_TYPE_VALIDATION_CACHE_CREATE_INFO_EXT"; 3187 case 1000160001: 3188 return "VK_STRUCTURE_TYPE_SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXT"; 3189 case 1000161000: 3190 return "VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO"; 3191 case 1000161001: 3192 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES"; 3193 case 1000161002: 3194 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_PROPERTIES"; 3195 case 1000161003: 3196 return "VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO"; 3197 case 1000161004: 3198 return "VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT"; 3199 case 1000163000: 3200 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PORTABILITY_SUBSET_FEATURES_KHR"; 3201 case 1000163001: 3202 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PORTABILITY_SUBSET_PROPERTIES_KHR"; 3203 case 1000164000: 3204 return "VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SHADING_RATE_IMAGE_STATE_CREATE_INFO_NV"; 3205 case 1000164001: 3206 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_FEATURES_NV"; 3207 case 1000164002: 3208 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_PROPERTIES_NV"; 3209 case 1000164005: 3210 return "VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_COARSE_SAMPLE_ORDER_STATE_CREATE_INFO_NV"; 3211 case 1000165000: 3212 return "VK_STRUCTURE_TYPE_RAY_TRACING_PIPELINE_CREATE_INFO_NV"; 3213 case 1000165001: 3214 return "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_CREATE_INFO_NV"; 3215 case 1000165003: 3216 return "VK_STRUCTURE_TYPE_GEOMETRY_NV"; 3217 case 1000165004: 3218 return "VK_STRUCTURE_TYPE_GEOMETRY_TRIANGLES_NV"; 3219 case 1000165005: 3220 return "VK_STRUCTURE_TYPE_GEOMETRY_AABB_NV"; 3221 case 1000165006: 3222 return "VK_STRUCTURE_TYPE_BIND_ACCELERATION_STRUCTURE_MEMORY_INFO_NV"; 3223 case 1000165007: 3224 return "VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_NV"; 3225 case 1000165008: 3226 return "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_INFO_NV"; 3227 case 1000165009: 3228 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PROPERTIES_NV"; 3229 case 1000165011: 3230 return "VK_STRUCTURE_TYPE_RAY_TRACING_SHADER_GROUP_CREATE_INFO_NV"; 3231 case 1000165012: 3232 return "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_INFO_NV"; 3233 case 1000166000: 3234 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_REPRESENTATIVE_FRAGMENT_TEST_FEATURES_NV"; 3235 case 1000166001: 3236 return "VK_STRUCTURE_TYPE_PIPELINE_REPRESENTATIVE_FRAGMENT_TEST_STATE_CREATE_INFO_NV"; 3237 case 1000168000: 3238 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES"; 3239 case 1000168001: 3240 return "VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_SUPPORT"; 3241 case 1000170000: 3242 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_VIEW_IMAGE_FORMAT_INFO_EXT"; 3243 case 1000170001: 3244 return "VK_STRUCTURE_TYPE_FILTER_CUBIC_IMAGE_VIEW_IMAGE_FORMAT_PROPERTIES_EXT"; 3245 case 1000174000: 3246 return "VK_STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_EXT"; 3247 case 1000175000: 3248 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_EXTENDED_TYPES_FEATURES"; 3249 case 1000177000: 3250 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES"; 3251 case 1000178000: 3252 return "VK_STRUCTURE_TYPE_IMPORT_MEMORY_HOST_POINTER_INFO_EXT"; 3253 case 1000178001: 3254 return "VK_STRUCTURE_TYPE_MEMORY_HOST_POINTER_PROPERTIES_EXT"; 3255 case 1000178002: 3256 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_HOST_PROPERTIES_EXT"; 3257 case 1000180000: 3258 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURES"; 3259 case 1000181000: 3260 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CLOCK_FEATURES_KHR"; 3261 case 1000183000: 3262 return "VK_STRUCTURE_TYPE_PIPELINE_COMPILER_CONTROL_CREATE_INFO_AMD"; 3263 case 1000184000: 3264 return "VK_STRUCTURE_TYPE_CALIBRATED_TIMESTAMP_INFO_EXT"; 3265 case 1000185000: 3266 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_AMD"; 3267 case 1000189000: 3268 return "VK_STRUCTURE_TYPE_DEVICE_MEMORY_OVERALLOCATION_CREATE_INFO_AMD"; 3269 case 1000190000: 3270 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_EXT"; 3271 case 1000190001: 3272 return "VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_EXT"; 3273 case 1000190002: 3274 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_EXT"; 3275 case 1000191000: 3276 return "VK_STRUCTURE_TYPE_PRESENT_FRAME_TOKEN_GGP"; 3277 case 1000192000: 3278 return "VK_STRUCTURE_TYPE_PIPELINE_CREATION_FEEDBACK_CREATE_INFO_EXT"; 3279 case 1000196000: 3280 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIES"; 3281 case 1000197000: 3282 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIES"; 3283 case 1000199000: 3284 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_STENCIL_RESOLVE_PROPERTIES"; 3285 case 1000199001: 3286 return "VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_DEPTH_STENCIL_RESOLVE"; 3287 case 1000201000: 3288 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_FEATURES_NV"; 3289 case 1000202000: 3290 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_FEATURES_NV"; 3291 case 1000202001: 3292 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_PROPERTIES_NV"; 3293 case 1000203000: 3294 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_FEATURES_NV"; 3295 case 1000204000: 3296 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_IMAGE_FOOTPRINT_FEATURES_NV"; 3297 case 1000205000: 3298 return "VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_EXCLUSIVE_SCISSOR_STATE_CREATE_INFO_NV"; 3299 case 1000205002: 3300 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXCLUSIVE_SCISSOR_FEATURES_NV"; 3301 case 1000206000: 3302 return "VK_STRUCTURE_TYPE_CHECKPOINT_DATA_NV"; 3303 case 1000206001: 3304 return "VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_NV"; 3305 case 1000207000: 3306 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_FEATURES"; 3307 case 1000207001: 3308 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_PROPERTIES"; 3309 case 1000207002: 3310 return "VK_STRUCTURE_TYPE_SEMAPHORE_TYPE_CREATE_INFO"; 3311 case 1000207003: 3312 return "VK_STRUCTURE_TYPE_TIMELINE_SEMAPHORE_SUBMIT_INFO"; 3313 case 1000207004: 3314 return "VK_STRUCTURE_TYPE_SEMAPHORE_WAIT_INFO"; 3315 case 1000207005: 3316 return "VK_STRUCTURE_TYPE_SEMAPHORE_SIGNAL_INFO"; 3317 case 1000209000: 3318 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_FUNCTIONS_2_FEATURES_INTEL"; 3319 case 1000210000: 3320 return "VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO_INTEL"; 3321 case 1000210001: 3322 return "VK_STRUCTURE_TYPE_INITIALIZE_PERFORMANCE_API_INFO_INTEL"; 3323 case 1000210002: 3324 return "VK_STRUCTURE_TYPE_PERFORMANCE_MARKER_INFO_INTEL"; 3325 case 1000210003: 3326 return "VK_STRUCTURE_TYPE_PERFORMANCE_STREAM_MARKER_INFO_INTEL"; 3327 case 1000210004: 3328 return "VK_STRUCTURE_TYPE_PERFORMANCE_OVERRIDE_INFO_INTEL"; 3329 case 1000210005: 3330 return "VK_STRUCTURE_TYPE_PERFORMANCE_CONFIGURATION_ACQUIRE_INFO_INTEL"; 3331 case 1000211000: 3332 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_MEMORY_MODEL_FEATURES"; 3333 case 1000212000: 3334 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PCI_BUS_INFO_PROPERTIES_EXT"; 3335 case 1000213000: 3336 return "VK_STRUCTURE_TYPE_DISPLAY_NATIVE_HDR_SURFACE_CAPABILITIES_AMD"; 3337 case 1000213001: 3338 return "VK_STRUCTURE_TYPE_SWAPCHAIN_DISPLAY_NATIVE_HDR_CREATE_INFO_AMD"; 3339 case 1000214000: 3340 return "VK_STRUCTURE_TYPE_IMAGEPIPE_SURFACE_CREATE_INFO_FUCHSIA"; 3341 case 1000215000: 3342 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_TERMINATE_INVOCATION_FEATURES_KHR"; 3343 case 1000217000: 3344 return "VK_STRUCTURE_TYPE_METAL_SURFACE_CREATE_INFO_EXT"; 3345 case 1000218000: 3346 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_FEATURES_EXT"; 3347 case 1000218001: 3348 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_PROPERTIES_EXT"; 3349 case 1000218002: 3350 return "VK_STRUCTURE_TYPE_RENDER_PASS_FRAGMENT_DENSITY_MAP_CREATE_INFO_EXT"; 3351 case 1000221000: 3352 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURES"; 3353 case 1000225000: 3354 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_PROPERTIES_EXT"; 3355 case 1000225001: 3356 return "VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_REQUIRED_SUBGROUP_SIZE_CREATE_INFO_EXT"; 3357 case 1000225002: 3358 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_FEATURES_EXT"; 3359 case 1000226000: 3360 return "VK_STRUCTURE_TYPE_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR"; 3361 case 1000226001: 3362 return "VK_STRUCTURE_TYPE_PIPELINE_FRAGMENT_SHADING_RATE_STATE_CREATE_INFO_KHR"; 3363 case 1000226002: 3364 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_PROPERTIES_KHR"; 3365 case 1000226003: 3366 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_FEATURES_KHR"; 3367 case 1000226004: 3368 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_KHR"; 3369 case 1000227000: 3370 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_2_AMD"; 3371 case 1000229000: 3372 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COHERENT_MEMORY_FEATURES_AMD"; 3373 case 1000234000: 3374 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_IMAGE_ATOMIC_INT64_FEATURES_EXT"; 3375 case 1000237000: 3376 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_BUDGET_PROPERTIES_EXT"; 3377 case 1000238000: 3378 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PRIORITY_FEATURES_EXT"; 3379 case 1000238001: 3380 return "VK_STRUCTURE_TYPE_MEMORY_PRIORITY_ALLOCATE_INFO_EXT"; 3381 case 1000239000: 3382 return "VK_STRUCTURE_TYPE_SURFACE_PROTECTED_CAPABILITIES_KHR"; 3383 case 1000240000: 3384 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEDICATED_ALLOCATION_IMAGE_ALIASING_FEATURES_NV"; 3385 case 1000241000: 3386 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SEPARATE_DEPTH_STENCIL_LAYOUTS_FEATURES"; 3387 case 1000241001: 3388 return "VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_STENCIL_LAYOUT"; 3389 case 1000241002: 3390 return "VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_STENCIL_LAYOUT"; 3391 case 1000244000: 3392 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_ADDRESS_FEATURES_EXT"; 3393 case 1000244001: 3394 return "VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO"; 3395 case 1000244002: 3396 return "VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_CREATE_INFO_EXT"; 3397 case 1000245000: 3398 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TOOL_PROPERTIES_EXT"; 3399 case 1000246000: 3400 return "VK_STRUCTURE_TYPE_IMAGE_STENCIL_USAGE_CREATE_INFO"; 3401 case 1000247000: 3402 return "VK_STRUCTURE_TYPE_VALIDATION_FEATURES_EXT"; 3403 case 1000249000: 3404 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_FEATURES_NV"; 3405 case 1000249001: 3406 return "VK_STRUCTURE_TYPE_COOPERATIVE_MATRIX_PROPERTIES_NV"; 3407 case 1000249002: 3408 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_PROPERTIES_NV"; 3409 case 1000250000: 3410 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COVERAGE_REDUCTION_MODE_FEATURES_NV"; 3411 case 1000250001: 3412 return "VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_REDUCTION_STATE_CREATE_INFO_NV"; 3413 case 1000250002: 3414 return "VK_STRUCTURE_TYPE_FRAMEBUFFER_MIXED_SAMPLES_COMBINATION_NV"; 3415 case 1000251000: 3416 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_INTERLOCK_FEATURES_EXT"; 3417 case 1000252000: 3418 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_YCBCR_IMAGE_ARRAYS_FEATURES_EXT"; 3419 case 1000253000: 3420 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES"; 3421 case 1000255000: 3422 return "VK_STRUCTURE_TYPE_SURFACE_FULL_SCREEN_EXCLUSIVE_INFO_EXT"; 3423 case 1000255001: 3424 return "VK_STRUCTURE_TYPE_SURFACE_FULL_SCREEN_EXCLUSIVE_WIN32_INFO_EXT"; 3425 case 1000255002: 3426 return "VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_FULL_SCREEN_EXCLUSIVE_EXT"; 3427 case 1000256000: 3428 return "VK_STRUCTURE_TYPE_HEADLESS_SURFACE_CREATE_INFO_EXT"; 3429 case 1000257000: 3430 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES"; 3431 case 1000257002: 3432 return "VK_STRUCTURE_TYPE_BUFFER_OPAQUE_CAPTURE_ADDRESS_CREATE_INFO"; 3433 case 1000257003: 3434 return "VK_STRUCTURE_TYPE_MEMORY_OPAQUE_CAPTURE_ADDRESS_ALLOCATE_INFO"; 3435 case 1000257004: 3436 return "VK_STRUCTURE_TYPE_DEVICE_MEMORY_OPAQUE_CAPTURE_ADDRESS_INFO"; 3437 case 1000259000: 3438 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_EXT"; 3439 case 1000259001: 3440 return "VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_LINE_STATE_CREATE_INFO_EXT"; 3441 case 1000259002: 3442 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_PROPERTIES_EXT"; 3443 case 1000260000: 3444 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT_FEATURES_EXT"; 3445 case 1000261000: 3446 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES"; 3447 case 1000265000: 3448 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INDEX_TYPE_UINT8_FEATURES_EXT"; 3449 case 1000267000: 3450 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_FEATURES_EXT"; 3451 case 1000268000: 3452 return "VK_STRUCTURE_TYPE_DEFERRED_OPERATION_INFO_KHR"; 3453 case 1000269000: 3454 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_EXECUTABLE_PROPERTIES_FEATURES_KHR"; 3455 case 1000269001: 3456 return "VK_STRUCTURE_TYPE_PIPELINE_INFO_KHR"; 3457 case 1000269002: 3458 return "VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_PROPERTIES_KHR"; 3459 case 1000269003: 3460 return "VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_INFO_KHR"; 3461 case 1000269004: 3462 return "VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_STATISTIC_KHR"; 3463 case 1000269005: 3464 return "VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_INTERNAL_REPRESENTATION_KHR"; 3465 case 1000276000: 3466 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DEMOTE_TO_HELPER_INVOCATION_FEATURES_EXT"; 3467 case 1000277000: 3468 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_PROPERTIES_NV"; 3469 case 1000277001: 3470 return "VK_STRUCTURE_TYPE_GRAPHICS_SHADER_GROUP_CREATE_INFO_NV"; 3471 case 1000277002: 3472 return "VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_SHADER_GROUPS_CREATE_INFO_NV"; 3473 case 1000277003: 3474 return "VK_STRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_TOKEN_NV"; 3475 case 1000277004: 3476 return "VK_STRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_CREATE_INFO_NV"; 3477 case 1000277005: 3478 return "VK_STRUCTURE_TYPE_GENERATED_COMMANDS_INFO_NV"; 3479 case 1000277006: 3480 return "VK_STRUCTURE_TYPE_GENERATED_COMMANDS_MEMORY_REQUIREMENTS_INFO_NV"; 3481 case 1000277007: 3482 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_FEATURES_NV"; 3483 case 1000281000: 3484 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_FEATURES_EXT"; 3485 case 1000281001: 3486 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_PROPERTIES_EXT"; 3487 case 1000282000: 3488 return "VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_RENDER_PASS_TRANSFORM_INFO_QCOM"; 3489 case 1000282001: 3490 return "VK_STRUCTURE_TYPE_RENDER_PASS_TRANSFORM_BEGIN_INFO_QCOM"; 3491 case 1000284000: 3492 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_MEMORY_REPORT_FEATURES_EXT"; 3493 case 1000284001: 3494 return "VK_STRUCTURE_TYPE_DEVICE_DEVICE_MEMORY_REPORT_CREATE_INFO_EXT"; 3495 case 1000284002: 3496 return "VK_STRUCTURE_TYPE_DEVICE_MEMORY_REPORT_CALLBACK_DATA_EXT"; 3497 case 1000286000: 3498 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ROBUSTNESS_2_FEATURES_EXT"; 3499 case 1000286001: 3500 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ROBUSTNESS_2_PROPERTIES_EXT"; 3501 case 1000287000: 3502 return "VK_STRUCTURE_TYPE_SAMPLER_CUSTOM_BORDER_COLOR_CREATE_INFO_EXT"; 3503 case 1000287001: 3504 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUSTOM_BORDER_COLOR_PROPERTIES_EXT"; 3505 case 1000287002: 3506 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUSTOM_BORDER_COLOR_FEATURES_EXT"; 3507 case 1000290000: 3508 return "VK_STRUCTURE_TYPE_PIPELINE_LIBRARY_CREATE_INFO_KHR"; 3509 case 1000295000: 3510 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIVATE_DATA_FEATURES_EXT"; 3511 case 1000295001: 3512 return "VK_STRUCTURE_TYPE_DEVICE_PRIVATE_DATA_CREATE_INFO_EXT"; 3513 case 1000295002: 3514 return "VK_STRUCTURE_TYPE_PRIVATE_DATA_SLOT_CREATE_INFO_EXT"; 3515 case 1000297000: 3516 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_CREATION_CACHE_CONTROL_FEATURES_EXT"; 3517 case 1000300000: 3518 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DIAGNOSTICS_CONFIG_FEATURES_NV"; 3519 case 1000300001: 3520 return "VK_STRUCTURE_TYPE_DEVICE_DIAGNOSTICS_CONFIG_CREATE_INFO_NV"; 3521 case 1000332000: 3522 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_2_FEATURES_EXT"; 3523 case 1000332001: 3524 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_2_PROPERTIES_EXT"; 3525 case 1000335000: 3526 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ROBUSTNESS_FEATURES_EXT"; 3527 case 1000337000: 3528 return "VK_STRUCTURE_TYPE_COPY_BUFFER_INFO_2_KHR"; 3529 case 1000337001: 3530 return "VK_STRUCTURE_TYPE_COPY_IMAGE_INFO_2_KHR"; 3531 case 1000337002: 3532 return "VK_STRUCTURE_TYPE_COPY_BUFFER_TO_IMAGE_INFO_2_KHR"; 3533 case 1000337003: 3534 return "VK_STRUCTURE_TYPE_COPY_IMAGE_TO_BUFFER_INFO_2_KHR"; 3535 case 1000337004: 3536 return "VK_STRUCTURE_TYPE_BLIT_IMAGE_INFO_2_KHR"; 3537 case 1000337005: 3538 return "VK_STRUCTURE_TYPE_RESOLVE_IMAGE_INFO_2_KHR"; 3539 case 1000337006: 3540 return "VK_STRUCTURE_TYPE_BUFFER_COPY_2_KHR"; 3541 case 1000337007: 3542 return "VK_STRUCTURE_TYPE_IMAGE_COPY_2_KHR"; 3543 case 1000337008: 3544 return "VK_STRUCTURE_TYPE_IMAGE_BLIT_2_KHR"; 3545 case 1000337009: 3546 return "VK_STRUCTURE_TYPE_BUFFER_IMAGE_COPY_2_KHR"; 3547 case 1000337010: 3548 return "VK_STRUCTURE_TYPE_IMAGE_RESOLVE_2_KHR"; 3549 case 1000340000: 3550 return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_4444_FORMATS_FEATURES_EXT"; 3551 case 1000346000: 3552 return "VK_STRUCTURE_TYPE_DIRECTFB_SURFACE_CREATE_INFO_EXT"; 3553 } 3554 #pragma GCC diagnostic pop 3555 unreachable("Undefined enum value."); 3556 } 3557 3558 3559 const char * vk_SubpassContents_to_str(VkSubpassContents input)3560 vk_SubpassContents_to_str(VkSubpassContents input) 3561 { 3562 #pragma GCC diagnostic push 3563 #pragma GCC diagnostic ignored "-Wswitch" 3564 switch(input) { 3565 case 0: 3566 return "VK_SUBPASS_CONTENTS_INLINE"; 3567 case 1: 3568 return "VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS"; 3569 } 3570 #pragma GCC diagnostic pop 3571 unreachable("Undefined enum value."); 3572 } 3573 3574 3575 const char * vk_SystemAllocationScope_to_str(VkSystemAllocationScope input)3576 vk_SystemAllocationScope_to_str(VkSystemAllocationScope input) 3577 { 3578 #pragma GCC diagnostic push 3579 #pragma GCC diagnostic ignored "-Wswitch" 3580 switch(input) { 3581 case 0: 3582 return "VK_SYSTEM_ALLOCATION_SCOPE_COMMAND"; 3583 case 1: 3584 return "VK_SYSTEM_ALLOCATION_SCOPE_OBJECT"; 3585 case 2: 3586 return "VK_SYSTEM_ALLOCATION_SCOPE_CACHE"; 3587 case 3: 3588 return "VK_SYSTEM_ALLOCATION_SCOPE_DEVICE"; 3589 case 4: 3590 return "VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE"; 3591 } 3592 #pragma GCC diagnostic pop 3593 unreachable("Undefined enum value."); 3594 } 3595 3596 3597 const char * vk_TessellationDomainOrigin_to_str(VkTessellationDomainOrigin input)3598 vk_TessellationDomainOrigin_to_str(VkTessellationDomainOrigin input) 3599 { 3600 #pragma GCC diagnostic push 3601 #pragma GCC diagnostic ignored "-Wswitch" 3602 switch(input) { 3603 case 0: 3604 return "VK_TESSELLATION_DOMAIN_ORIGIN_UPPER_LEFT"; 3605 case 1: 3606 return "VK_TESSELLATION_DOMAIN_ORIGIN_LOWER_LEFT"; 3607 } 3608 #pragma GCC diagnostic pop 3609 unreachable("Undefined enum value."); 3610 } 3611 3612 3613 const char * vk_TimeDomainEXT_to_str(VkTimeDomainEXT input)3614 vk_TimeDomainEXT_to_str(VkTimeDomainEXT input) 3615 { 3616 #pragma GCC diagnostic push 3617 #pragma GCC diagnostic ignored "-Wswitch" 3618 switch(input) { 3619 case 0: 3620 return "VK_TIME_DOMAIN_DEVICE_EXT"; 3621 case 1: 3622 return "VK_TIME_DOMAIN_CLOCK_MONOTONIC_EXT"; 3623 case 2: 3624 return "VK_TIME_DOMAIN_CLOCK_MONOTONIC_RAW_EXT"; 3625 case 3: 3626 return "VK_TIME_DOMAIN_QUERY_PERFORMANCE_COUNTER_EXT"; 3627 } 3628 #pragma GCC diagnostic pop 3629 unreachable("Undefined enum value."); 3630 } 3631 3632 3633 const char * vk_ValidationCacheHeaderVersionEXT_to_str(VkValidationCacheHeaderVersionEXT input)3634 vk_ValidationCacheHeaderVersionEXT_to_str(VkValidationCacheHeaderVersionEXT input) 3635 { 3636 #pragma GCC diagnostic push 3637 #pragma GCC diagnostic ignored "-Wswitch" 3638 switch(input) { 3639 case 1: 3640 return "VK_VALIDATION_CACHE_HEADER_VERSION_ONE_EXT"; 3641 } 3642 #pragma GCC diagnostic pop 3643 unreachable("Undefined enum value."); 3644 } 3645 3646 3647 const char * vk_ValidationCheckEXT_to_str(VkValidationCheckEXT input)3648 vk_ValidationCheckEXT_to_str(VkValidationCheckEXT input) 3649 { 3650 #pragma GCC diagnostic push 3651 #pragma GCC diagnostic ignored "-Wswitch" 3652 switch(input) { 3653 case 0: 3654 return "VK_VALIDATION_CHECK_ALL_EXT"; 3655 case 1: 3656 return "VK_VALIDATION_CHECK_SHADERS_EXT"; 3657 } 3658 #pragma GCC diagnostic pop 3659 unreachable("Undefined enum value."); 3660 } 3661 3662 3663 const char * vk_ValidationFeatureDisableEXT_to_str(VkValidationFeatureDisableEXT input)3664 vk_ValidationFeatureDisableEXT_to_str(VkValidationFeatureDisableEXT input) 3665 { 3666 #pragma GCC diagnostic push 3667 #pragma GCC diagnostic ignored "-Wswitch" 3668 switch(input) { 3669 case 0: 3670 return "VK_VALIDATION_FEATURE_DISABLE_ALL_EXT"; 3671 case 1: 3672 return "VK_VALIDATION_FEATURE_DISABLE_SHADERS_EXT"; 3673 case 2: 3674 return "VK_VALIDATION_FEATURE_DISABLE_THREAD_SAFETY_EXT"; 3675 case 3: 3676 return "VK_VALIDATION_FEATURE_DISABLE_API_PARAMETERS_EXT"; 3677 case 4: 3678 return "VK_VALIDATION_FEATURE_DISABLE_OBJECT_LIFETIMES_EXT"; 3679 case 5: 3680 return "VK_VALIDATION_FEATURE_DISABLE_CORE_CHECKS_EXT"; 3681 case 6: 3682 return "VK_VALIDATION_FEATURE_DISABLE_UNIQUE_HANDLES_EXT"; 3683 } 3684 #pragma GCC diagnostic pop 3685 unreachable("Undefined enum value."); 3686 } 3687 3688 3689 const char * vk_ValidationFeatureEnableEXT_to_str(VkValidationFeatureEnableEXT input)3690 vk_ValidationFeatureEnableEXT_to_str(VkValidationFeatureEnableEXT input) 3691 { 3692 #pragma GCC diagnostic push 3693 #pragma GCC diagnostic ignored "-Wswitch" 3694 switch(input) { 3695 case 0: 3696 return "VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_EXT"; 3697 case 1: 3698 return "VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_RESERVE_BINDING_SLOT_EXT"; 3699 case 2: 3700 return "VK_VALIDATION_FEATURE_ENABLE_BEST_PRACTICES_EXT"; 3701 case 3: 3702 return "VK_VALIDATION_FEATURE_ENABLE_DEBUG_PRINTF_EXT"; 3703 case 4: 3704 return "VK_VALIDATION_FEATURE_ENABLE_SYNCHRONIZATION_VALIDATION_EXT"; 3705 } 3706 #pragma GCC diagnostic pop 3707 unreachable("Undefined enum value."); 3708 } 3709 3710 3711 const char * vk_VendorId_to_str(VkVendorId input)3712 vk_VendorId_to_str(VkVendorId input) 3713 { 3714 #pragma GCC diagnostic push 3715 #pragma GCC diagnostic ignored "-Wswitch" 3716 switch(input) { 3717 case 65537: 3718 return "VK_VENDOR_ID_VIV"; 3719 case 65538: 3720 return "VK_VENDOR_ID_VSI"; 3721 case 65539: 3722 return "VK_VENDOR_ID_KAZAN"; 3723 case 65540: 3724 return "VK_VENDOR_ID_CODEPLAY"; 3725 case 65541: 3726 return "VK_VENDOR_ID_MESA"; 3727 } 3728 #pragma GCC diagnostic pop 3729 unreachable("Undefined enum value."); 3730 } 3731 3732 3733 const char * vk_VertexInputRate_to_str(VkVertexInputRate input)3734 vk_VertexInputRate_to_str(VkVertexInputRate input) 3735 { 3736 #pragma GCC diagnostic push 3737 #pragma GCC diagnostic ignored "-Wswitch" 3738 switch(input) { 3739 case 0: 3740 return "VK_VERTEX_INPUT_RATE_VERTEX"; 3741 case 1: 3742 return "VK_VERTEX_INPUT_RATE_INSTANCE"; 3743 } 3744 #pragma GCC diagnostic pop 3745 unreachable("Undefined enum value."); 3746 } 3747 3748 3749 const char * vk_ViewportCoordinateSwizzleNV_to_str(VkViewportCoordinateSwizzleNV input)3750 vk_ViewportCoordinateSwizzleNV_to_str(VkViewportCoordinateSwizzleNV input) 3751 { 3752 #pragma GCC diagnostic push 3753 #pragma GCC diagnostic ignored "-Wswitch" 3754 switch(input) { 3755 case 0: 3756 return "VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_X_NV"; 3757 case 1: 3758 return "VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_X_NV"; 3759 case 2: 3760 return "VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_Y_NV"; 3761 case 3: 3762 return "VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_Y_NV"; 3763 case 4: 3764 return "VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_Z_NV"; 3765 case 5: 3766 return "VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_Z_NV"; 3767 case 6: 3768 return "VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_W_NV"; 3769 case 7: 3770 return "VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_W_NV"; 3771 } 3772 #pragma GCC diagnostic pop 3773 unreachable("Undefined enum value."); 3774 } 3775 3776 vk_structure_type_size(const struct VkBaseInStructure * item)3777 size_t vk_structure_type_size(const struct VkBaseInStructure *item) 3778 { 3779 #pragma GCC diagnostic push 3780 #pragma GCC diagnostic ignored "-Wswitch" 3781 switch(item->sType) { 3782 #ifdef VK_ENABLE_BETA_EXTENSIONS 3783 case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_BUILD_GEOMETRY_INFO_KHR: return sizeof(VkAccelerationStructureBuildGeometryInfoKHR); 3784 #endif 3785 #ifdef VK_ENABLE_BETA_EXTENSIONS 3786 case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_CREATE_GEOMETRY_TYPE_INFO_KHR: return sizeof(VkAccelerationStructureCreateGeometryTypeInfoKHR); 3787 #endif 3788 #ifdef VK_ENABLE_BETA_EXTENSIONS 3789 case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_CREATE_INFO_KHR: return sizeof(VkAccelerationStructureCreateInfoKHR); 3790 #endif 3791 case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_CREATE_INFO_NV: return sizeof(VkAccelerationStructureCreateInfoNV); 3792 #ifdef VK_ENABLE_BETA_EXTENSIONS 3793 case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_DEVICE_ADDRESS_INFO_KHR: return sizeof(VkAccelerationStructureDeviceAddressInfoKHR); 3794 #endif 3795 #ifdef VK_ENABLE_BETA_EXTENSIONS 3796 case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_AABBS_DATA_KHR: return sizeof(VkAccelerationStructureGeometryAabbsDataKHR); 3797 #endif 3798 #ifdef VK_ENABLE_BETA_EXTENSIONS 3799 case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_INSTANCES_DATA_KHR: return sizeof(VkAccelerationStructureGeometryInstancesDataKHR); 3800 #endif 3801 #ifdef VK_ENABLE_BETA_EXTENSIONS 3802 case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_KHR: return sizeof(VkAccelerationStructureGeometryKHR); 3803 #endif 3804 #ifdef VK_ENABLE_BETA_EXTENSIONS 3805 case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_TRIANGLES_DATA_KHR: return sizeof(VkAccelerationStructureGeometryTrianglesDataKHR); 3806 #endif 3807 case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_INFO_NV: return sizeof(VkAccelerationStructureInfoNV); 3808 #ifdef VK_ENABLE_BETA_EXTENSIONS 3809 case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_INFO_KHR: return sizeof(VkAccelerationStructureMemoryRequirementsInfoKHR); 3810 #endif 3811 case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_INFO_NV: return sizeof(VkAccelerationStructureMemoryRequirementsInfoNV); 3812 #ifdef VK_ENABLE_BETA_EXTENSIONS 3813 case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_VERSION_KHR: return sizeof(VkAccelerationStructureVersionKHR); 3814 #endif 3815 case VK_STRUCTURE_TYPE_ACQUIRE_NEXT_IMAGE_INFO_KHR: return sizeof(VkAcquireNextImageInfoKHR); 3816 case VK_STRUCTURE_TYPE_ACQUIRE_PROFILING_LOCK_INFO_KHR: return sizeof(VkAcquireProfilingLockInfoKHR); 3817 #ifdef VK_USE_PLATFORM_ANDROID_KHR 3818 case VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_ANDROID: return sizeof(VkAndroidHardwareBufferFormatPropertiesANDROID); 3819 #endif 3820 #ifdef VK_USE_PLATFORM_ANDROID_KHR 3821 case VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_PROPERTIES_ANDROID: return sizeof(VkAndroidHardwareBufferPropertiesANDROID); 3822 #endif 3823 #ifdef VK_USE_PLATFORM_ANDROID_KHR 3824 case VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_USAGE_ANDROID: return sizeof(VkAndroidHardwareBufferUsageANDROID); 3825 #endif 3826 #ifdef VK_USE_PLATFORM_ANDROID_KHR 3827 case VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR: return sizeof(VkAndroidSurfaceCreateInfoKHR); 3828 #endif 3829 case VK_STRUCTURE_TYPE_APPLICATION_INFO: return sizeof(VkApplicationInfo); 3830 case VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_2: return sizeof(VkAttachmentDescription2); 3831 case VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_STENCIL_LAYOUT: return sizeof(VkAttachmentDescriptionStencilLayout); 3832 case VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_2: return sizeof(VkAttachmentReference2); 3833 case VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_STENCIL_LAYOUT: return sizeof(VkAttachmentReferenceStencilLayout); 3834 #ifdef VK_ENABLE_BETA_EXTENSIONS 3835 case VK_STRUCTURE_TYPE_BIND_ACCELERATION_STRUCTURE_MEMORY_INFO_KHR: return sizeof(VkBindAccelerationStructureMemoryInfoKHR); 3836 #endif 3837 case VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO: return sizeof(VkBindBufferMemoryDeviceGroupInfo); 3838 case VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO: return sizeof(VkBindBufferMemoryInfo); 3839 case VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO: return sizeof(VkBindImageMemoryDeviceGroupInfo); 3840 case VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO: return sizeof(VkBindImageMemoryInfo); 3841 case VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_SWAPCHAIN_INFO_KHR: return sizeof(VkBindImageMemorySwapchainInfoKHR); 3842 case VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO: return sizeof(VkBindImagePlaneMemoryInfo); 3843 case VK_STRUCTURE_TYPE_BIND_SPARSE_INFO: return sizeof(VkBindSparseInfo); 3844 case VK_STRUCTURE_TYPE_BLIT_IMAGE_INFO_2_KHR: return sizeof(VkBlitImageInfo2KHR); 3845 case VK_STRUCTURE_TYPE_BUFFER_COPY_2_KHR: return sizeof(VkBufferCopy2KHR); 3846 case VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO: return sizeof(VkBufferCreateInfo); 3847 case VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_CREATE_INFO_EXT: return sizeof(VkBufferDeviceAddressCreateInfoEXT); 3848 case VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO: return sizeof(VkBufferDeviceAddressInfo); 3849 case VK_STRUCTURE_TYPE_BUFFER_IMAGE_COPY_2_KHR: return sizeof(VkBufferImageCopy2KHR); 3850 case VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER: return sizeof(VkBufferMemoryBarrier); 3851 case VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2: return sizeof(VkBufferMemoryRequirementsInfo2); 3852 case VK_STRUCTURE_TYPE_BUFFER_OPAQUE_CAPTURE_ADDRESS_CREATE_INFO: return sizeof(VkBufferOpaqueCaptureAddressCreateInfo); 3853 case VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO: return sizeof(VkBufferViewCreateInfo); 3854 case VK_STRUCTURE_TYPE_CALIBRATED_TIMESTAMP_INFO_EXT: return sizeof(VkCalibratedTimestampInfoEXT); 3855 case VK_STRUCTURE_TYPE_CHECKPOINT_DATA_NV: return sizeof(VkCheckpointDataNV); 3856 case VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO: return sizeof(VkCommandBufferAllocateInfo); 3857 case VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO: return sizeof(VkCommandBufferBeginInfo); 3858 case VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_CONDITIONAL_RENDERING_INFO_EXT: return sizeof(VkCommandBufferInheritanceConditionalRenderingInfoEXT); 3859 case VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO: return sizeof(VkCommandBufferInheritanceInfo); 3860 case VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_RENDER_PASS_TRANSFORM_INFO_QCOM: return sizeof(VkCommandBufferInheritanceRenderPassTransformInfoQCOM); 3861 case VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO: return sizeof(VkCommandPoolCreateInfo); 3862 case VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO: return sizeof(VkComputePipelineCreateInfo); 3863 case VK_STRUCTURE_TYPE_CONDITIONAL_RENDERING_BEGIN_INFO_EXT: return sizeof(VkConditionalRenderingBeginInfoEXT); 3864 case VK_STRUCTURE_TYPE_COOPERATIVE_MATRIX_PROPERTIES_NV: return sizeof(VkCooperativeMatrixPropertiesNV); 3865 #ifdef VK_ENABLE_BETA_EXTENSIONS 3866 case VK_STRUCTURE_TYPE_COPY_ACCELERATION_STRUCTURE_INFO_KHR: return sizeof(VkCopyAccelerationStructureInfoKHR); 3867 #endif 3868 #ifdef VK_ENABLE_BETA_EXTENSIONS 3869 case VK_STRUCTURE_TYPE_COPY_ACCELERATION_STRUCTURE_TO_MEMORY_INFO_KHR: return sizeof(VkCopyAccelerationStructureToMemoryInfoKHR); 3870 #endif 3871 case VK_STRUCTURE_TYPE_COPY_BUFFER_INFO_2_KHR: return sizeof(VkCopyBufferInfo2KHR); 3872 case VK_STRUCTURE_TYPE_COPY_BUFFER_TO_IMAGE_INFO_2_KHR: return sizeof(VkCopyBufferToImageInfo2KHR); 3873 case VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET: return sizeof(VkCopyDescriptorSet); 3874 case VK_STRUCTURE_TYPE_COPY_IMAGE_INFO_2_KHR: return sizeof(VkCopyImageInfo2KHR); 3875 case VK_STRUCTURE_TYPE_COPY_IMAGE_TO_BUFFER_INFO_2_KHR: return sizeof(VkCopyImageToBufferInfo2KHR); 3876 #ifdef VK_ENABLE_BETA_EXTENSIONS 3877 case VK_STRUCTURE_TYPE_COPY_MEMORY_TO_ACCELERATION_STRUCTURE_INFO_KHR: return sizeof(VkCopyMemoryToAccelerationStructureInfoKHR); 3878 #endif 3879 #ifdef VK_USE_PLATFORM_WIN32_KHR 3880 case VK_STRUCTURE_TYPE_D3D12_FENCE_SUBMIT_INFO_KHR: return sizeof(VkD3D12FenceSubmitInfoKHR); 3881 #endif 3882 case VK_STRUCTURE_TYPE_DEBUG_MARKER_MARKER_INFO_EXT: return sizeof(VkDebugMarkerMarkerInfoEXT); 3883 case VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_NAME_INFO_EXT: return sizeof(VkDebugMarkerObjectNameInfoEXT); 3884 case VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_TAG_INFO_EXT: return sizeof(VkDebugMarkerObjectTagInfoEXT); 3885 case VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT: return sizeof(VkDebugReportCallbackCreateInfoEXT); 3886 case VK_STRUCTURE_TYPE_DEBUG_UTILS_LABEL_EXT: return sizeof(VkDebugUtilsLabelEXT); 3887 case VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CALLBACK_DATA_EXT: return sizeof(VkDebugUtilsMessengerCallbackDataEXT); 3888 case VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT: return sizeof(VkDebugUtilsMessengerCreateInfoEXT); 3889 case VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_NAME_INFO_EXT: return sizeof(VkDebugUtilsObjectNameInfoEXT); 3890 case VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_TAG_INFO_EXT: return sizeof(VkDebugUtilsObjectTagInfoEXT); 3891 case VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_BUFFER_CREATE_INFO_NV: return sizeof(VkDedicatedAllocationBufferCreateInfoNV); 3892 case VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV: return sizeof(VkDedicatedAllocationImageCreateInfoNV); 3893 case VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV: return sizeof(VkDedicatedAllocationMemoryAllocateInfoNV); 3894 #ifdef VK_ENABLE_BETA_EXTENSIONS 3895 case VK_STRUCTURE_TYPE_DEFERRED_OPERATION_INFO_KHR: return sizeof(VkDeferredOperationInfoKHR); 3896 #endif 3897 case VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO: return sizeof(VkDescriptorPoolCreateInfo); 3898 case VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_INLINE_UNIFORM_BLOCK_CREATE_INFO_EXT: return sizeof(VkDescriptorPoolInlineUniformBlockCreateInfoEXT); 3899 case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO: return sizeof(VkDescriptorSetAllocateInfo); 3900 case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO: return sizeof(VkDescriptorSetLayoutBindingFlagsCreateInfo); 3901 case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO: return sizeof(VkDescriptorSetLayoutCreateInfo); 3902 case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_SUPPORT: return sizeof(VkDescriptorSetLayoutSupport); 3903 case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO: return sizeof(VkDescriptorSetVariableDescriptorCountAllocateInfo); 3904 case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT: return sizeof(VkDescriptorSetVariableDescriptorCountLayoutSupport); 3905 case VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO: return sizeof(VkDescriptorUpdateTemplateCreateInfo); 3906 case VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO: return sizeof(VkDeviceCreateInfo); 3907 case VK_STRUCTURE_TYPE_DEVICE_DEVICE_MEMORY_REPORT_CREATE_INFO_EXT: return sizeof(VkDeviceDeviceMemoryReportCreateInfoEXT); 3908 case VK_STRUCTURE_TYPE_DEVICE_DIAGNOSTICS_CONFIG_CREATE_INFO_NV: return sizeof(VkDeviceDiagnosticsConfigCreateInfoNV); 3909 case VK_STRUCTURE_TYPE_DEVICE_EVENT_INFO_EXT: return sizeof(VkDeviceEventInfoEXT); 3910 case VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO: return sizeof(VkDeviceGroupBindSparseInfo); 3911 case VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO: return sizeof(VkDeviceGroupCommandBufferBeginInfo); 3912 case VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO: return sizeof(VkDeviceGroupDeviceCreateInfo); 3913 case VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_CAPABILITIES_KHR: return sizeof(VkDeviceGroupPresentCapabilitiesKHR); 3914 case VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_INFO_KHR: return sizeof(VkDeviceGroupPresentInfoKHR); 3915 case VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO: return sizeof(VkDeviceGroupRenderPassBeginInfo); 3916 case VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO: return sizeof(VkDeviceGroupSubmitInfo); 3917 case VK_STRUCTURE_TYPE_DEVICE_GROUP_SWAPCHAIN_CREATE_INFO_KHR: return sizeof(VkDeviceGroupSwapchainCreateInfoKHR); 3918 case VK_STRUCTURE_TYPE_DEVICE_MEMORY_OPAQUE_CAPTURE_ADDRESS_INFO: return sizeof(VkDeviceMemoryOpaqueCaptureAddressInfo); 3919 case VK_STRUCTURE_TYPE_DEVICE_MEMORY_OVERALLOCATION_CREATE_INFO_AMD: return sizeof(VkDeviceMemoryOverallocationCreateInfoAMD); 3920 case VK_STRUCTURE_TYPE_DEVICE_MEMORY_REPORT_CALLBACK_DATA_EXT: return sizeof(VkDeviceMemoryReportCallbackDataEXT); 3921 case VK_STRUCTURE_TYPE_DEVICE_PRIVATE_DATA_CREATE_INFO_EXT: return sizeof(VkDevicePrivateDataCreateInfoEXT); 3922 case VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO: return sizeof(VkDeviceQueueCreateInfo); 3923 case VK_STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_EXT: return sizeof(VkDeviceQueueGlobalPriorityCreateInfoEXT); 3924 case VK_STRUCTURE_TYPE_DEVICE_QUEUE_INFO_2: return sizeof(VkDeviceQueueInfo2); 3925 #ifdef VK_USE_PLATFORM_DIRECTFB_EXT 3926 case VK_STRUCTURE_TYPE_DIRECTFB_SURFACE_CREATE_INFO_EXT: return sizeof(VkDirectFBSurfaceCreateInfoEXT); 3927 #endif 3928 case VK_STRUCTURE_TYPE_DISPLAY_EVENT_INFO_EXT: return sizeof(VkDisplayEventInfoEXT); 3929 case VK_STRUCTURE_TYPE_DISPLAY_MODE_CREATE_INFO_KHR: return sizeof(VkDisplayModeCreateInfoKHR); 3930 case VK_STRUCTURE_TYPE_DISPLAY_MODE_PROPERTIES_2_KHR: return sizeof(VkDisplayModeProperties2KHR); 3931 case VK_STRUCTURE_TYPE_DISPLAY_NATIVE_HDR_SURFACE_CAPABILITIES_AMD: return sizeof(VkDisplayNativeHdrSurfaceCapabilitiesAMD); 3932 case VK_STRUCTURE_TYPE_DISPLAY_PLANE_CAPABILITIES_2_KHR: return sizeof(VkDisplayPlaneCapabilities2KHR); 3933 case VK_STRUCTURE_TYPE_DISPLAY_PLANE_INFO_2_KHR: return sizeof(VkDisplayPlaneInfo2KHR); 3934 case VK_STRUCTURE_TYPE_DISPLAY_PLANE_PROPERTIES_2_KHR: return sizeof(VkDisplayPlaneProperties2KHR); 3935 case VK_STRUCTURE_TYPE_DISPLAY_POWER_INFO_EXT: return sizeof(VkDisplayPowerInfoEXT); 3936 case VK_STRUCTURE_TYPE_DISPLAY_PRESENT_INFO_KHR: return sizeof(VkDisplayPresentInfoKHR); 3937 case VK_STRUCTURE_TYPE_DISPLAY_PROPERTIES_2_KHR: return sizeof(VkDisplayProperties2KHR); 3938 case VK_STRUCTURE_TYPE_DISPLAY_SURFACE_CREATE_INFO_KHR: return sizeof(VkDisplaySurfaceCreateInfoKHR); 3939 case VK_STRUCTURE_TYPE_DRM_FORMAT_MODIFIER_PROPERTIES_LIST_EXT: return sizeof(VkDrmFormatModifierPropertiesListEXT); 3940 case VK_STRUCTURE_TYPE_EVENT_CREATE_INFO: return sizeof(VkEventCreateInfo); 3941 case VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO: return sizeof(VkExportFenceCreateInfo); 3942 #ifdef VK_USE_PLATFORM_WIN32_KHR 3943 case VK_STRUCTURE_TYPE_EXPORT_FENCE_WIN32_HANDLE_INFO_KHR: return sizeof(VkExportFenceWin32HandleInfoKHR); 3944 #endif 3945 case VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO: return sizeof(VkExportMemoryAllocateInfo); 3946 case VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO_NV: return sizeof(VkExportMemoryAllocateInfoNV); 3947 #ifdef VK_USE_PLATFORM_WIN32_KHR 3948 case VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_KHR: return sizeof(VkExportMemoryWin32HandleInfoKHR); 3949 #endif 3950 #ifdef VK_USE_PLATFORM_WIN32_KHR 3951 case VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_NV: return sizeof(VkExportMemoryWin32HandleInfoNV); 3952 #endif 3953 case VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO: return sizeof(VkExportSemaphoreCreateInfo); 3954 #ifdef VK_USE_PLATFORM_WIN32_KHR 3955 case VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR: return sizeof(VkExportSemaphoreWin32HandleInfoKHR); 3956 #endif 3957 case VK_STRUCTURE_TYPE_EXTERNAL_BUFFER_PROPERTIES: return sizeof(VkExternalBufferProperties); 3958 case VK_STRUCTURE_TYPE_EXTERNAL_FENCE_PROPERTIES: return sizeof(VkExternalFenceProperties); 3959 #ifdef VK_USE_PLATFORM_ANDROID_KHR 3960 case VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_ANDROID: return sizeof(VkExternalFormatANDROID); 3961 #endif 3962 case VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES: return sizeof(VkExternalImageFormatProperties); 3963 case VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO: return sizeof(VkExternalMemoryBufferCreateInfo); 3964 case VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO: return sizeof(VkExternalMemoryImageCreateInfo); 3965 case VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO_NV: return sizeof(VkExternalMemoryImageCreateInfoNV); 3966 case VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES: return sizeof(VkExternalSemaphoreProperties); 3967 case VK_STRUCTURE_TYPE_FENCE_CREATE_INFO: return sizeof(VkFenceCreateInfo); 3968 case VK_STRUCTURE_TYPE_FENCE_GET_FD_INFO_KHR: return sizeof(VkFenceGetFdInfoKHR); 3969 #ifdef VK_USE_PLATFORM_WIN32_KHR 3970 case VK_STRUCTURE_TYPE_FENCE_GET_WIN32_HANDLE_INFO_KHR: return sizeof(VkFenceGetWin32HandleInfoKHR); 3971 #endif 3972 case VK_STRUCTURE_TYPE_FILTER_CUBIC_IMAGE_VIEW_IMAGE_FORMAT_PROPERTIES_EXT: return sizeof(VkFilterCubicImageViewImageFormatPropertiesEXT); 3973 case VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2: return sizeof(VkFormatProperties2); 3974 case VK_STRUCTURE_TYPE_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR: return sizeof(VkFragmentShadingRateAttachmentInfoKHR); 3975 case VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENT_IMAGE_INFO: return sizeof(VkFramebufferAttachmentImageInfo); 3976 case VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENTS_CREATE_INFO: return sizeof(VkFramebufferAttachmentsCreateInfo); 3977 case VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO: return sizeof(VkFramebufferCreateInfo); 3978 case VK_STRUCTURE_TYPE_FRAMEBUFFER_MIXED_SAMPLES_COMBINATION_NV: return sizeof(VkFramebufferMixedSamplesCombinationNV); 3979 case VK_STRUCTURE_TYPE_GENERATED_COMMANDS_INFO_NV: return sizeof(VkGeneratedCommandsInfoNV); 3980 case VK_STRUCTURE_TYPE_GENERATED_COMMANDS_MEMORY_REQUIREMENTS_INFO_NV: return sizeof(VkGeneratedCommandsMemoryRequirementsInfoNV); 3981 case VK_STRUCTURE_TYPE_GEOMETRY_AABB_NV: return sizeof(VkGeometryAABBNV); 3982 case VK_STRUCTURE_TYPE_GEOMETRY_NV: return sizeof(VkGeometryNV); 3983 case VK_STRUCTURE_TYPE_GEOMETRY_TRIANGLES_NV: return sizeof(VkGeometryTrianglesNV); 3984 case VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO: return sizeof(VkGraphicsPipelineCreateInfo); 3985 case VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_SHADER_GROUPS_CREATE_INFO_NV: return sizeof(VkGraphicsPipelineShaderGroupsCreateInfoNV); 3986 case VK_STRUCTURE_TYPE_GRAPHICS_SHADER_GROUP_CREATE_INFO_NV: return sizeof(VkGraphicsShaderGroupCreateInfoNV); 3987 case VK_STRUCTURE_TYPE_HDR_METADATA_EXT: return sizeof(VkHdrMetadataEXT); 3988 case VK_STRUCTURE_TYPE_HEADLESS_SURFACE_CREATE_INFO_EXT: return sizeof(VkHeadlessSurfaceCreateInfoEXT); 3989 #ifdef VK_USE_PLATFORM_IOS_MVK 3990 case VK_STRUCTURE_TYPE_IOS_SURFACE_CREATE_INFO_MVK: return sizeof(VkIOSSurfaceCreateInfoMVK); 3991 #endif 3992 case VK_STRUCTURE_TYPE_IMAGE_BLIT_2_KHR: return sizeof(VkImageBlit2KHR); 3993 case VK_STRUCTURE_TYPE_IMAGE_COPY_2_KHR: return sizeof(VkImageCopy2KHR); 3994 case VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO: return sizeof(VkImageCreateInfo); 3995 case VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_EXPLICIT_CREATE_INFO_EXT: return sizeof(VkImageDrmFormatModifierExplicitCreateInfoEXT); 3996 case VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_LIST_CREATE_INFO_EXT: return sizeof(VkImageDrmFormatModifierListCreateInfoEXT); 3997 case VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_PROPERTIES_EXT: return sizeof(VkImageDrmFormatModifierPropertiesEXT); 3998 case VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO: return sizeof(VkImageFormatListCreateInfo); 3999 case VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2: return sizeof(VkImageFormatProperties2); 4000 case VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER: return sizeof(VkImageMemoryBarrier); 4001 case VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2: return sizeof(VkImageMemoryRequirementsInfo2); 4002 #ifdef VK_USE_PLATFORM_FUCHSIA 4003 case VK_STRUCTURE_TYPE_IMAGEPIPE_SURFACE_CREATE_INFO_FUCHSIA: return sizeof(VkImagePipeSurfaceCreateInfoFUCHSIA); 4004 #endif 4005 case VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO: return sizeof(VkImagePlaneMemoryRequirementsInfo); 4006 case VK_STRUCTURE_TYPE_IMAGE_RESOLVE_2_KHR: return sizeof(VkImageResolve2KHR); 4007 case VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2: return sizeof(VkImageSparseMemoryRequirementsInfo2); 4008 case VK_STRUCTURE_TYPE_IMAGE_STENCIL_USAGE_CREATE_INFO: return sizeof(VkImageStencilUsageCreateInfo); 4009 case VK_STRUCTURE_TYPE_IMAGE_SWAPCHAIN_CREATE_INFO_KHR: return sizeof(VkImageSwapchainCreateInfoKHR); 4010 case VK_STRUCTURE_TYPE_IMAGE_VIEW_ASTC_DECODE_MODE_EXT: return sizeof(VkImageViewASTCDecodeModeEXT); 4011 case VK_STRUCTURE_TYPE_IMAGE_VIEW_ADDRESS_PROPERTIES_NVX: return sizeof(VkImageViewAddressPropertiesNVX); 4012 case VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO: return sizeof(VkImageViewCreateInfo); 4013 case VK_STRUCTURE_TYPE_IMAGE_VIEW_HANDLE_INFO_NVX: return sizeof(VkImageViewHandleInfoNVX); 4014 case VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO: return sizeof(VkImageViewUsageCreateInfo); 4015 #ifdef VK_USE_PLATFORM_ANDROID_KHR 4016 case VK_STRUCTURE_TYPE_IMPORT_ANDROID_HARDWARE_BUFFER_INFO_ANDROID: return sizeof(VkImportAndroidHardwareBufferInfoANDROID); 4017 #endif 4018 case VK_STRUCTURE_TYPE_IMPORT_FENCE_FD_INFO_KHR: return sizeof(VkImportFenceFdInfoKHR); 4019 #ifdef VK_USE_PLATFORM_WIN32_KHR 4020 case VK_STRUCTURE_TYPE_IMPORT_FENCE_WIN32_HANDLE_INFO_KHR: return sizeof(VkImportFenceWin32HandleInfoKHR); 4021 #endif 4022 case VK_STRUCTURE_TYPE_IMPORT_MEMORY_FD_INFO_KHR: return sizeof(VkImportMemoryFdInfoKHR); 4023 case VK_STRUCTURE_TYPE_IMPORT_MEMORY_HOST_POINTER_INFO_EXT: return sizeof(VkImportMemoryHostPointerInfoEXT); 4024 #ifdef VK_USE_PLATFORM_WIN32_KHR 4025 case VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR: return sizeof(VkImportMemoryWin32HandleInfoKHR); 4026 #endif 4027 #ifdef VK_USE_PLATFORM_WIN32_KHR 4028 case VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_NV: return sizeof(VkImportMemoryWin32HandleInfoNV); 4029 #endif 4030 case VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_FD_INFO_KHR: return sizeof(VkImportSemaphoreFdInfoKHR); 4031 #ifdef VK_USE_PLATFORM_WIN32_KHR 4032 case VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR: return sizeof(VkImportSemaphoreWin32HandleInfoKHR); 4033 #endif 4034 case VK_STRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_CREATE_INFO_NV: return sizeof(VkIndirectCommandsLayoutCreateInfoNV); 4035 case VK_STRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_TOKEN_NV: return sizeof(VkIndirectCommandsLayoutTokenNV); 4036 case VK_STRUCTURE_TYPE_INITIALIZE_PERFORMANCE_API_INFO_INTEL: return sizeof(VkInitializePerformanceApiInfoINTEL); 4037 case VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO: return sizeof(VkInstanceCreateInfo); 4038 #ifdef VK_USE_PLATFORM_MACOS_MVK 4039 case VK_STRUCTURE_TYPE_MACOS_SURFACE_CREATE_INFO_MVK: return sizeof(VkMacOSSurfaceCreateInfoMVK); 4040 #endif 4041 case VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE: return sizeof(VkMappedMemoryRange); 4042 case VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO: return sizeof(VkMemoryAllocateFlagsInfo); 4043 case VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO: return sizeof(VkMemoryAllocateInfo); 4044 case VK_STRUCTURE_TYPE_MEMORY_BARRIER: return sizeof(VkMemoryBarrier); 4045 case VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO: return sizeof(VkMemoryDedicatedAllocateInfo); 4046 case VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS: return sizeof(VkMemoryDedicatedRequirements); 4047 case VK_STRUCTURE_TYPE_MEMORY_FD_PROPERTIES_KHR: return sizeof(VkMemoryFdPropertiesKHR); 4048 #ifdef VK_USE_PLATFORM_ANDROID_KHR 4049 case VK_STRUCTURE_TYPE_MEMORY_GET_ANDROID_HARDWARE_BUFFER_INFO_ANDROID: return sizeof(VkMemoryGetAndroidHardwareBufferInfoANDROID); 4050 #endif 4051 case VK_STRUCTURE_TYPE_MEMORY_GET_FD_INFO_KHR: return sizeof(VkMemoryGetFdInfoKHR); 4052 #ifdef VK_USE_PLATFORM_WIN32_KHR 4053 case VK_STRUCTURE_TYPE_MEMORY_GET_WIN32_HANDLE_INFO_KHR: return sizeof(VkMemoryGetWin32HandleInfoKHR); 4054 #endif 4055 case VK_STRUCTURE_TYPE_MEMORY_HOST_POINTER_PROPERTIES_EXT: return sizeof(VkMemoryHostPointerPropertiesEXT); 4056 case VK_STRUCTURE_TYPE_MEMORY_OPAQUE_CAPTURE_ADDRESS_ALLOCATE_INFO: return sizeof(VkMemoryOpaqueCaptureAddressAllocateInfo); 4057 case VK_STRUCTURE_TYPE_MEMORY_PRIORITY_ALLOCATE_INFO_EXT: return sizeof(VkMemoryPriorityAllocateInfoEXT); 4058 case VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2: return sizeof(VkMemoryRequirements2); 4059 #ifdef VK_USE_PLATFORM_WIN32_KHR 4060 case VK_STRUCTURE_TYPE_MEMORY_WIN32_HANDLE_PROPERTIES_KHR: return sizeof(VkMemoryWin32HandlePropertiesKHR); 4061 #endif 4062 #ifdef VK_USE_PLATFORM_METAL_EXT 4063 case VK_STRUCTURE_TYPE_METAL_SURFACE_CREATE_INFO_EXT: return sizeof(VkMetalSurfaceCreateInfoEXT); 4064 #endif 4065 case VK_STRUCTURE_TYPE_MULTISAMPLE_PROPERTIES_EXT: return sizeof(VkMultisamplePropertiesEXT); 4066 case VK_STRUCTURE_TYPE_NATIVE_BUFFER_ANDROID: return sizeof(VkNativeBufferANDROID); 4067 case VK_STRUCTURE_TYPE_PERFORMANCE_CONFIGURATION_ACQUIRE_INFO_INTEL: return sizeof(VkPerformanceConfigurationAcquireInfoINTEL); 4068 case VK_STRUCTURE_TYPE_PERFORMANCE_COUNTER_DESCRIPTION_KHR: return sizeof(VkPerformanceCounterDescriptionKHR); 4069 case VK_STRUCTURE_TYPE_PERFORMANCE_COUNTER_KHR: return sizeof(VkPerformanceCounterKHR); 4070 case VK_STRUCTURE_TYPE_PERFORMANCE_MARKER_INFO_INTEL: return sizeof(VkPerformanceMarkerInfoINTEL); 4071 case VK_STRUCTURE_TYPE_PERFORMANCE_OVERRIDE_INFO_INTEL: return sizeof(VkPerformanceOverrideInfoINTEL); 4072 case VK_STRUCTURE_TYPE_PERFORMANCE_QUERY_SUBMIT_INFO_KHR: return sizeof(VkPerformanceQuerySubmitInfoKHR); 4073 case VK_STRUCTURE_TYPE_PERFORMANCE_STREAM_MARKER_INFO_INTEL: return sizeof(VkPerformanceStreamMarkerInfoINTEL); 4074 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES: return sizeof(VkPhysicalDevice16BitStorageFeatures); 4075 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_4444_FORMATS_FEATURES_EXT: return sizeof(VkPhysicalDevice4444FormatsFeaturesEXT); 4076 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES: return sizeof(VkPhysicalDevice8BitStorageFeatures); 4077 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ASTC_DECODE_FEATURES_EXT: return sizeof(VkPhysicalDeviceASTCDecodeFeaturesEXT); 4078 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_FEATURES_EXT: return sizeof(VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT); 4079 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_PROPERTIES_EXT: return sizeof(VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT); 4080 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES: return sizeof(VkPhysicalDeviceBufferDeviceAddressFeatures); 4081 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES_EXT: return sizeof(VkPhysicalDeviceBufferDeviceAddressFeaturesEXT); 4082 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COHERENT_MEMORY_FEATURES_AMD: return sizeof(VkPhysicalDeviceCoherentMemoryFeaturesAMD); 4083 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_FEATURES_NV: return sizeof(VkPhysicalDeviceComputeShaderDerivativesFeaturesNV); 4084 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONDITIONAL_RENDERING_FEATURES_EXT: return sizeof(VkPhysicalDeviceConditionalRenderingFeaturesEXT); 4085 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONSERVATIVE_RASTERIZATION_PROPERTIES_EXT: return sizeof(VkPhysicalDeviceConservativeRasterizationPropertiesEXT); 4086 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_FEATURES_NV: return sizeof(VkPhysicalDeviceCooperativeMatrixFeaturesNV); 4087 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_PROPERTIES_NV: return sizeof(VkPhysicalDeviceCooperativeMatrixPropertiesNV); 4088 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CORNER_SAMPLED_IMAGE_FEATURES_NV: return sizeof(VkPhysicalDeviceCornerSampledImageFeaturesNV); 4089 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COVERAGE_REDUCTION_MODE_FEATURES_NV: return sizeof(VkPhysicalDeviceCoverageReductionModeFeaturesNV); 4090 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUSTOM_BORDER_COLOR_FEATURES_EXT: return sizeof(VkPhysicalDeviceCustomBorderColorFeaturesEXT); 4091 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUSTOM_BORDER_COLOR_PROPERTIES_EXT: return sizeof(VkPhysicalDeviceCustomBorderColorPropertiesEXT); 4092 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEDICATED_ALLOCATION_IMAGE_ALIASING_FEATURES_NV: return sizeof(VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV); 4093 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_ENABLE_FEATURES_EXT: return sizeof(VkPhysicalDeviceDepthClipEnableFeaturesEXT); 4094 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_STENCIL_RESOLVE_PROPERTIES: return sizeof(VkPhysicalDeviceDepthStencilResolveProperties); 4095 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES: return sizeof(VkPhysicalDeviceDescriptorIndexingFeatures); 4096 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_PROPERTIES: return sizeof(VkPhysicalDeviceDescriptorIndexingProperties); 4097 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_FEATURES_NV: return sizeof(VkPhysicalDeviceDeviceGeneratedCommandsFeaturesNV); 4098 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_PROPERTIES_NV: return sizeof(VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV); 4099 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_MEMORY_REPORT_FEATURES_EXT: return sizeof(VkPhysicalDeviceDeviceMemoryReportFeaturesEXT); 4100 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DIAGNOSTICS_CONFIG_FEATURES_NV: return sizeof(VkPhysicalDeviceDiagnosticsConfigFeaturesNV); 4101 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DISCARD_RECTANGLE_PROPERTIES_EXT: return sizeof(VkPhysicalDeviceDiscardRectanglePropertiesEXT); 4102 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIES: return sizeof(VkPhysicalDeviceDriverProperties); 4103 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXCLUSIVE_SCISSOR_FEATURES_NV: return sizeof(VkPhysicalDeviceExclusiveScissorFeaturesNV); 4104 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_FEATURES_EXT: return sizeof(VkPhysicalDeviceExtendedDynamicStateFeaturesEXT); 4105 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO: return sizeof(VkPhysicalDeviceExternalBufferInfo); 4106 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO: return sizeof(VkPhysicalDeviceExternalFenceInfo); 4107 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO: return sizeof(VkPhysicalDeviceExternalImageFormatInfo); 4108 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_HOST_PROPERTIES_EXT: return sizeof(VkPhysicalDeviceExternalMemoryHostPropertiesEXT); 4109 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO: return sizeof(VkPhysicalDeviceExternalSemaphoreInfo); 4110 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2: return sizeof(VkPhysicalDeviceFeatures2); 4111 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIES: return sizeof(VkPhysicalDeviceFloatControlsProperties); 4112 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_2_FEATURES_EXT: return sizeof(VkPhysicalDeviceFragmentDensityMap2FeaturesEXT); 4113 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_2_PROPERTIES_EXT: return sizeof(VkPhysicalDeviceFragmentDensityMap2PropertiesEXT); 4114 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_FEATURES_EXT: return sizeof(VkPhysicalDeviceFragmentDensityMapFeaturesEXT); 4115 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_PROPERTIES_EXT: return sizeof(VkPhysicalDeviceFragmentDensityMapPropertiesEXT); 4116 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_FEATURES_NV: return sizeof(VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV); 4117 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_INTERLOCK_FEATURES_EXT: return sizeof(VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT); 4118 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_FEATURES_KHR: return sizeof(VkPhysicalDeviceFragmentShadingRateFeaturesKHR); 4119 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_KHR: return sizeof(VkPhysicalDeviceFragmentShadingRateKHR); 4120 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_PROPERTIES_KHR: return sizeof(VkPhysicalDeviceFragmentShadingRatePropertiesKHR); 4121 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GROUP_PROPERTIES: return sizeof(VkPhysicalDeviceGroupProperties); 4122 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES: return sizeof(VkPhysicalDeviceHostQueryResetFeatures); 4123 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES: return sizeof(VkPhysicalDeviceIDProperties); 4124 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_DRM_FORMAT_MODIFIER_INFO_EXT: return sizeof(VkPhysicalDeviceImageDrmFormatModifierInfoEXT); 4125 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2: return sizeof(VkPhysicalDeviceImageFormatInfo2); 4126 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ROBUSTNESS_FEATURES_EXT: return sizeof(VkPhysicalDeviceImageRobustnessFeaturesEXT); 4127 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_VIEW_IMAGE_FORMAT_INFO_EXT: return sizeof(VkPhysicalDeviceImageViewImageFormatInfoEXT); 4128 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGELESS_FRAMEBUFFER_FEATURES: return sizeof(VkPhysicalDeviceImagelessFramebufferFeatures); 4129 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INDEX_TYPE_UINT8_FEATURES_EXT: return sizeof(VkPhysicalDeviceIndexTypeUint8FeaturesEXT); 4130 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_FEATURES_EXT: return sizeof(VkPhysicalDeviceInlineUniformBlockFeaturesEXT); 4131 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_PROPERTIES_EXT: return sizeof(VkPhysicalDeviceInlineUniformBlockPropertiesEXT); 4132 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_EXT: return sizeof(VkPhysicalDeviceLineRasterizationFeaturesEXT); 4133 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_PROPERTIES_EXT: return sizeof(VkPhysicalDeviceLineRasterizationPropertiesEXT); 4134 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES: return sizeof(VkPhysicalDeviceMaintenance3Properties); 4135 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_BUDGET_PROPERTIES_EXT: return sizeof(VkPhysicalDeviceMemoryBudgetPropertiesEXT); 4136 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PRIORITY_FEATURES_EXT: return sizeof(VkPhysicalDeviceMemoryPriorityFeaturesEXT); 4137 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2: return sizeof(VkPhysicalDeviceMemoryProperties2); 4138 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_FEATURES_NV: return sizeof(VkPhysicalDeviceMeshShaderFeaturesNV); 4139 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_PROPERTIES_NV: return sizeof(VkPhysicalDeviceMeshShaderPropertiesNV); 4140 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES: return sizeof(VkPhysicalDeviceMultiviewFeatures); 4141 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_ATTRIBUTES_PROPERTIES_NVX: return sizeof(VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX); 4142 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES: return sizeof(VkPhysicalDeviceMultiviewProperties); 4143 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PCI_BUS_INFO_PROPERTIES_EXT: return sizeof(VkPhysicalDevicePCIBusInfoPropertiesEXT); 4144 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PERFORMANCE_QUERY_FEATURES_KHR: return sizeof(VkPhysicalDevicePerformanceQueryFeaturesKHR); 4145 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PERFORMANCE_QUERY_PROPERTIES_KHR: return sizeof(VkPhysicalDevicePerformanceQueryPropertiesKHR); 4146 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_CREATION_CACHE_CONTROL_FEATURES_EXT: return sizeof(VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT); 4147 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_EXECUTABLE_PROPERTIES_FEATURES_KHR: return sizeof(VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR); 4148 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES: return sizeof(VkPhysicalDevicePointClippingProperties); 4149 #ifdef VK_ENABLE_BETA_EXTENSIONS 4150 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PORTABILITY_SUBSET_FEATURES_KHR: return sizeof(VkPhysicalDevicePortabilitySubsetFeaturesKHR); 4151 #endif 4152 #ifdef VK_ENABLE_BETA_EXTENSIONS 4153 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PORTABILITY_SUBSET_PROPERTIES_KHR: return sizeof(VkPhysicalDevicePortabilitySubsetPropertiesKHR); 4154 #endif 4155 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENTATION_PROPERTIES_ANDROID: return sizeof(VkPhysicalDevicePresentationPropertiesANDROID); 4156 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIVATE_DATA_FEATURES_EXT: return sizeof(VkPhysicalDevicePrivateDataFeaturesEXT); 4157 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2: return sizeof(VkPhysicalDeviceProperties2); 4158 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES: return sizeof(VkPhysicalDeviceProtectedMemoryFeatures); 4159 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES: return sizeof(VkPhysicalDeviceProtectedMemoryProperties); 4160 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_DESCRIPTOR_PROPERTIES_KHR: return sizeof(VkPhysicalDevicePushDescriptorPropertiesKHR); 4161 #ifdef VK_ENABLE_BETA_EXTENSIONS 4162 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_FEATURES_KHR: return sizeof(VkPhysicalDeviceRayTracingFeaturesKHR); 4163 #endif 4164 #ifdef VK_ENABLE_BETA_EXTENSIONS 4165 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PROPERTIES_KHR: return sizeof(VkPhysicalDeviceRayTracingPropertiesKHR); 4166 #endif 4167 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PROPERTIES_NV: return sizeof(VkPhysicalDeviceRayTracingPropertiesNV); 4168 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_REPRESENTATIVE_FRAGMENT_TEST_FEATURES_NV: return sizeof(VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV); 4169 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ROBUSTNESS_2_FEATURES_EXT: return sizeof(VkPhysicalDeviceRobustness2FeaturesEXT); 4170 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ROBUSTNESS_2_PROPERTIES_EXT: return sizeof(VkPhysicalDeviceRobustness2PropertiesEXT); 4171 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLE_LOCATIONS_PROPERTIES_EXT: return sizeof(VkPhysicalDeviceSampleLocationsPropertiesEXT); 4172 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES: return sizeof(VkPhysicalDeviceSamplerFilterMinmaxProperties); 4173 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES: return sizeof(VkPhysicalDeviceSamplerYcbcrConversionFeatures); 4174 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURES: return sizeof(VkPhysicalDeviceScalarBlockLayoutFeatures); 4175 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SEPARATE_DEPTH_STENCIL_LAYOUTS_FEATURES: return sizeof(VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures); 4176 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT_FEATURES_EXT: return sizeof(VkPhysicalDeviceShaderAtomicFloatFeaturesEXT); 4177 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURES: return sizeof(VkPhysicalDeviceShaderAtomicInt64Features); 4178 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CLOCK_FEATURES_KHR: return sizeof(VkPhysicalDeviceShaderClockFeaturesKHR); 4179 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_2_AMD: return sizeof(VkPhysicalDeviceShaderCoreProperties2AMD); 4180 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_AMD: return sizeof(VkPhysicalDeviceShaderCorePropertiesAMD); 4181 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DEMOTE_TO_HELPER_INVOCATION_FEATURES_EXT: return sizeof(VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT); 4182 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETERS_FEATURES: return sizeof(VkPhysicalDeviceShaderDrawParametersFeatures); 4183 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT16_INT8_FEATURES: return sizeof(VkPhysicalDeviceShaderFloat16Int8Features); 4184 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_IMAGE_ATOMIC_INT64_FEATURES_EXT: return sizeof(VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT); 4185 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_IMAGE_FOOTPRINT_FEATURES_NV: return sizeof(VkPhysicalDeviceShaderImageFootprintFeaturesNV); 4186 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_FUNCTIONS_2_FEATURES_INTEL: return sizeof(VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL); 4187 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SM_BUILTINS_FEATURES_NV: return sizeof(VkPhysicalDeviceShaderSMBuiltinsFeaturesNV); 4188 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SM_BUILTINS_PROPERTIES_NV: return sizeof(VkPhysicalDeviceShaderSMBuiltinsPropertiesNV); 4189 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_EXTENDED_TYPES_FEATURES: return sizeof(VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures); 4190 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_TERMINATE_INVOCATION_FEATURES_KHR: return sizeof(VkPhysicalDeviceShaderTerminateInvocationFeaturesKHR); 4191 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_FEATURES_NV: return sizeof(VkPhysicalDeviceShadingRateImageFeaturesNV); 4192 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_PROPERTIES_NV: return sizeof(VkPhysicalDeviceShadingRateImagePropertiesNV); 4193 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2: return sizeof(VkPhysicalDeviceSparseImageFormatInfo2); 4194 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES: return sizeof(VkPhysicalDeviceSubgroupProperties); 4195 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_FEATURES_EXT: return sizeof(VkPhysicalDeviceSubgroupSizeControlFeaturesEXT); 4196 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_PROPERTIES_EXT: return sizeof(VkPhysicalDeviceSubgroupSizeControlPropertiesEXT); 4197 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SURFACE_INFO_2_KHR: return sizeof(VkPhysicalDeviceSurfaceInfo2KHR); 4198 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_FEATURES_EXT: return sizeof(VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT); 4199 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_PROPERTIES_EXT: return sizeof(VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT); 4200 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_HDR_FEATURES_EXT: return sizeof(VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT); 4201 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_FEATURES: return sizeof(VkPhysicalDeviceTimelineSemaphoreFeatures); 4202 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_PROPERTIES: return sizeof(VkPhysicalDeviceTimelineSemaphoreProperties); 4203 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TOOL_PROPERTIES_EXT: return sizeof(VkPhysicalDeviceToolPropertiesEXT); 4204 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_FEATURES_EXT: return sizeof(VkPhysicalDeviceTransformFeedbackFeaturesEXT); 4205 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_PROPERTIES_EXT: return sizeof(VkPhysicalDeviceTransformFeedbackPropertiesEXT); 4206 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES: return sizeof(VkPhysicalDeviceUniformBufferStandardLayoutFeatures); 4207 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES: return sizeof(VkPhysicalDeviceVariablePointersFeatures); 4208 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_EXT: return sizeof(VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT); 4209 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_EXT: return sizeof(VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT); 4210 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_FEATURES: return sizeof(VkPhysicalDeviceVulkan11Features); 4211 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_PROPERTIES: return sizeof(VkPhysicalDeviceVulkan11Properties); 4212 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_FEATURES: return sizeof(VkPhysicalDeviceVulkan12Features); 4213 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_PROPERTIES: return sizeof(VkPhysicalDeviceVulkan12Properties); 4214 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_MEMORY_MODEL_FEATURES: return sizeof(VkPhysicalDeviceVulkanMemoryModelFeatures); 4215 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_YCBCR_IMAGE_ARRAYS_FEATURES_EXT: return sizeof(VkPhysicalDeviceYcbcrImageArraysFeaturesEXT); 4216 case VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO: return sizeof(VkPipelineCacheCreateInfo); 4217 case VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_ADVANCED_STATE_CREATE_INFO_EXT: return sizeof(VkPipelineColorBlendAdvancedStateCreateInfoEXT); 4218 case VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO: return sizeof(VkPipelineColorBlendStateCreateInfo); 4219 case VK_STRUCTURE_TYPE_PIPELINE_COMPILER_CONTROL_CREATE_INFO_AMD: return sizeof(VkPipelineCompilerControlCreateInfoAMD); 4220 case VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_MODULATION_STATE_CREATE_INFO_NV: return sizeof(VkPipelineCoverageModulationStateCreateInfoNV); 4221 case VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_REDUCTION_STATE_CREATE_INFO_NV: return sizeof(VkPipelineCoverageReductionStateCreateInfoNV); 4222 case VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV: return sizeof(VkPipelineCoverageToColorStateCreateInfoNV); 4223 case VK_STRUCTURE_TYPE_PIPELINE_CREATION_FEEDBACK_CREATE_INFO_EXT: return sizeof(VkPipelineCreationFeedbackCreateInfoEXT); 4224 case VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO: return sizeof(VkPipelineDepthStencilStateCreateInfo); 4225 case VK_STRUCTURE_TYPE_PIPELINE_DISCARD_RECTANGLE_STATE_CREATE_INFO_EXT: return sizeof(VkPipelineDiscardRectangleStateCreateInfoEXT); 4226 case VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO: return sizeof(VkPipelineDynamicStateCreateInfo); 4227 case VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_INFO_KHR: return sizeof(VkPipelineExecutableInfoKHR); 4228 case VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_INTERNAL_REPRESENTATION_KHR: return sizeof(VkPipelineExecutableInternalRepresentationKHR); 4229 case VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_PROPERTIES_KHR: return sizeof(VkPipelineExecutablePropertiesKHR); 4230 case VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_STATISTIC_KHR: return sizeof(VkPipelineExecutableStatisticKHR); 4231 case VK_STRUCTURE_TYPE_PIPELINE_FRAGMENT_SHADING_RATE_STATE_CREATE_INFO_KHR: return sizeof(VkPipelineFragmentShadingRateStateCreateInfoKHR); 4232 case VK_STRUCTURE_TYPE_PIPELINE_INFO_KHR: return sizeof(VkPipelineInfoKHR); 4233 case VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO: return sizeof(VkPipelineInputAssemblyStateCreateInfo); 4234 case VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO: return sizeof(VkPipelineLayoutCreateInfo); 4235 #ifdef VK_ENABLE_BETA_EXTENSIONS 4236 case VK_STRUCTURE_TYPE_PIPELINE_LIBRARY_CREATE_INFO_KHR: return sizeof(VkPipelineLibraryCreateInfoKHR); 4237 #endif 4238 case VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO: return sizeof(VkPipelineMultisampleStateCreateInfo); 4239 case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_CONSERVATIVE_STATE_CREATE_INFO_EXT: return sizeof(VkPipelineRasterizationConservativeStateCreateInfoEXT); 4240 case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_DEPTH_CLIP_STATE_CREATE_INFO_EXT: return sizeof(VkPipelineRasterizationDepthClipStateCreateInfoEXT); 4241 case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_LINE_STATE_CREATE_INFO_EXT: return sizeof(VkPipelineRasterizationLineStateCreateInfoEXT); 4242 case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO: return sizeof(VkPipelineRasterizationStateCreateInfo); 4243 case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMD: return sizeof(VkPipelineRasterizationStateRasterizationOrderAMD); 4244 case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_STREAM_CREATE_INFO_EXT: return sizeof(VkPipelineRasterizationStateStreamCreateInfoEXT); 4245 case VK_STRUCTURE_TYPE_PIPELINE_REPRESENTATIVE_FRAGMENT_TEST_STATE_CREATE_INFO_NV: return sizeof(VkPipelineRepresentativeFragmentTestStateCreateInfoNV); 4246 case VK_STRUCTURE_TYPE_PIPELINE_SAMPLE_LOCATIONS_STATE_CREATE_INFO_EXT: return sizeof(VkPipelineSampleLocationsStateCreateInfoEXT); 4247 case VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO: return sizeof(VkPipelineShaderStageCreateInfo); 4248 case VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_REQUIRED_SUBGROUP_SIZE_CREATE_INFO_EXT: return sizeof(VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT); 4249 case VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO: return sizeof(VkPipelineTessellationDomainOriginStateCreateInfo); 4250 case VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO: return sizeof(VkPipelineTessellationStateCreateInfo); 4251 case VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_EXT: return sizeof(VkPipelineVertexInputDivisorStateCreateInfoEXT); 4252 case VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO: return sizeof(VkPipelineVertexInputStateCreateInfo); 4253 case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_COARSE_SAMPLE_ORDER_STATE_CREATE_INFO_NV: return sizeof(VkPipelineViewportCoarseSampleOrderStateCreateInfoNV); 4254 case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_EXCLUSIVE_SCISSOR_STATE_CREATE_INFO_NV: return sizeof(VkPipelineViewportExclusiveScissorStateCreateInfoNV); 4255 case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SHADING_RATE_IMAGE_STATE_CREATE_INFO_NV: return sizeof(VkPipelineViewportShadingRateImageStateCreateInfoNV); 4256 case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO: return sizeof(VkPipelineViewportStateCreateInfo); 4257 case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV: return sizeof(VkPipelineViewportSwizzleStateCreateInfoNV); 4258 case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_W_SCALING_STATE_CREATE_INFO_NV: return sizeof(VkPipelineViewportWScalingStateCreateInfoNV); 4259 #ifdef VK_USE_PLATFORM_GGP 4260 case VK_STRUCTURE_TYPE_PRESENT_FRAME_TOKEN_GGP: return sizeof(VkPresentFrameTokenGGP); 4261 #endif 4262 case VK_STRUCTURE_TYPE_PRESENT_INFO_KHR: return sizeof(VkPresentInfoKHR); 4263 case VK_STRUCTURE_TYPE_PRESENT_REGIONS_KHR: return sizeof(VkPresentRegionsKHR); 4264 case VK_STRUCTURE_TYPE_PRESENT_TIMES_INFO_GOOGLE: return sizeof(VkPresentTimesInfoGOOGLE); 4265 case VK_STRUCTURE_TYPE_PRIVATE_DATA_SLOT_CREATE_INFO_EXT: return sizeof(VkPrivateDataSlotCreateInfoEXT); 4266 case VK_STRUCTURE_TYPE_PROTECTED_SUBMIT_INFO: return sizeof(VkProtectedSubmitInfo); 4267 case VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO: return sizeof(VkQueryPoolCreateInfo); 4268 case VK_STRUCTURE_TYPE_QUERY_POOL_PERFORMANCE_CREATE_INFO_KHR: return sizeof(VkQueryPoolPerformanceCreateInfoKHR); 4269 case VK_STRUCTURE_TYPE_QUERY_POOL_PERFORMANCE_QUERY_CREATE_INFO_INTEL: return sizeof(VkQueryPoolPerformanceQueryCreateInfoINTEL); 4270 case VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_NV: return sizeof(VkQueueFamilyCheckpointPropertiesNV); 4271 case VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2: return sizeof(VkQueueFamilyProperties2); 4272 #ifdef VK_ENABLE_BETA_EXTENSIONS 4273 case VK_STRUCTURE_TYPE_RAY_TRACING_PIPELINE_CREATE_INFO_KHR: return sizeof(VkRayTracingPipelineCreateInfoKHR); 4274 #endif 4275 case VK_STRUCTURE_TYPE_RAY_TRACING_PIPELINE_CREATE_INFO_NV: return sizeof(VkRayTracingPipelineCreateInfoNV); 4276 #ifdef VK_ENABLE_BETA_EXTENSIONS 4277 case VK_STRUCTURE_TYPE_RAY_TRACING_PIPELINE_INTERFACE_CREATE_INFO_KHR: return sizeof(VkRayTracingPipelineInterfaceCreateInfoKHR); 4278 #endif 4279 #ifdef VK_ENABLE_BETA_EXTENSIONS 4280 case VK_STRUCTURE_TYPE_RAY_TRACING_SHADER_GROUP_CREATE_INFO_KHR: return sizeof(VkRayTracingShaderGroupCreateInfoKHR); 4281 #endif 4282 case VK_STRUCTURE_TYPE_RAY_TRACING_SHADER_GROUP_CREATE_INFO_NV: return sizeof(VkRayTracingShaderGroupCreateInfoNV); 4283 case VK_STRUCTURE_TYPE_RENDER_PASS_ATTACHMENT_BEGIN_INFO: return sizeof(VkRenderPassAttachmentBeginInfo); 4284 case VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO: return sizeof(VkRenderPassBeginInfo); 4285 case VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO: return sizeof(VkRenderPassCreateInfo); 4286 case VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO_2: return sizeof(VkRenderPassCreateInfo2); 4287 case VK_STRUCTURE_TYPE_RENDER_PASS_FRAGMENT_DENSITY_MAP_CREATE_INFO_EXT: return sizeof(VkRenderPassFragmentDensityMapCreateInfoEXT); 4288 case VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO: return sizeof(VkRenderPassInputAttachmentAspectCreateInfo); 4289 case VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO: return sizeof(VkRenderPassMultiviewCreateInfo); 4290 case VK_STRUCTURE_TYPE_RENDER_PASS_SAMPLE_LOCATIONS_BEGIN_INFO_EXT: return sizeof(VkRenderPassSampleLocationsBeginInfoEXT); 4291 case VK_STRUCTURE_TYPE_RENDER_PASS_TRANSFORM_BEGIN_INFO_QCOM: return sizeof(VkRenderPassTransformBeginInfoQCOM); 4292 case VK_STRUCTURE_TYPE_RESOLVE_IMAGE_INFO_2_KHR: return sizeof(VkResolveImageInfo2KHR); 4293 case VK_STRUCTURE_TYPE_SAMPLE_LOCATIONS_INFO_EXT: return sizeof(VkSampleLocationsInfoEXT); 4294 case VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO: return sizeof(VkSamplerCreateInfo); 4295 case VK_STRUCTURE_TYPE_SAMPLER_CUSTOM_BORDER_COLOR_CREATE_INFO_EXT: return sizeof(VkSamplerCustomBorderColorCreateInfoEXT); 4296 case VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO: return sizeof(VkSamplerReductionModeCreateInfo); 4297 case VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO: return sizeof(VkSamplerYcbcrConversionCreateInfo); 4298 case VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES: return sizeof(VkSamplerYcbcrConversionImageFormatProperties); 4299 case VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO: return sizeof(VkSamplerYcbcrConversionInfo); 4300 case VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO: return sizeof(VkSemaphoreCreateInfo); 4301 case VK_STRUCTURE_TYPE_SEMAPHORE_GET_FD_INFO_KHR: return sizeof(VkSemaphoreGetFdInfoKHR); 4302 #ifdef VK_USE_PLATFORM_WIN32_KHR 4303 case VK_STRUCTURE_TYPE_SEMAPHORE_GET_WIN32_HANDLE_INFO_KHR: return sizeof(VkSemaphoreGetWin32HandleInfoKHR); 4304 #endif 4305 case VK_STRUCTURE_TYPE_SEMAPHORE_SIGNAL_INFO: return sizeof(VkSemaphoreSignalInfo); 4306 case VK_STRUCTURE_TYPE_SEMAPHORE_TYPE_CREATE_INFO: return sizeof(VkSemaphoreTypeCreateInfo); 4307 case VK_STRUCTURE_TYPE_SEMAPHORE_WAIT_INFO: return sizeof(VkSemaphoreWaitInfo); 4308 case VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO: return sizeof(VkShaderModuleCreateInfo); 4309 case VK_STRUCTURE_TYPE_SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXT: return sizeof(VkShaderModuleValidationCacheCreateInfoEXT); 4310 case VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_KHR: return sizeof(VkSharedPresentSurfaceCapabilitiesKHR); 4311 case VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2: return sizeof(VkSparseImageFormatProperties2); 4312 case VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2: return sizeof(VkSparseImageMemoryRequirements2); 4313 #ifdef VK_USE_PLATFORM_GGP 4314 case VK_STRUCTURE_TYPE_STREAM_DESCRIPTOR_SURFACE_CREATE_INFO_GGP: return sizeof(VkStreamDescriptorSurfaceCreateInfoGGP); 4315 #endif 4316 case VK_STRUCTURE_TYPE_SUBMIT_INFO: return sizeof(VkSubmitInfo); 4317 case VK_STRUCTURE_TYPE_SUBPASS_BEGIN_INFO: return sizeof(VkSubpassBeginInfo); 4318 case VK_STRUCTURE_TYPE_SUBPASS_DEPENDENCY_2: return sizeof(VkSubpassDependency2); 4319 case VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_2: return sizeof(VkSubpassDescription2); 4320 case VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_DEPTH_STENCIL_RESOLVE: return sizeof(VkSubpassDescriptionDepthStencilResolve); 4321 case VK_STRUCTURE_TYPE_SUBPASS_END_INFO: return sizeof(VkSubpassEndInfo); 4322 case VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_EXT: return sizeof(VkSurfaceCapabilities2EXT); 4323 case VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_KHR: return sizeof(VkSurfaceCapabilities2KHR); 4324 #ifdef VK_USE_PLATFORM_WIN32_KHR 4325 case VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_FULL_SCREEN_EXCLUSIVE_EXT: return sizeof(VkSurfaceCapabilitiesFullScreenExclusiveEXT); 4326 #endif 4327 case VK_STRUCTURE_TYPE_SURFACE_FORMAT_2_KHR: return sizeof(VkSurfaceFormat2KHR); 4328 #ifdef VK_USE_PLATFORM_WIN32_KHR 4329 case VK_STRUCTURE_TYPE_SURFACE_FULL_SCREEN_EXCLUSIVE_INFO_EXT: return sizeof(VkSurfaceFullScreenExclusiveInfoEXT); 4330 #endif 4331 #ifdef VK_USE_PLATFORM_WIN32_KHR 4332 case VK_STRUCTURE_TYPE_SURFACE_FULL_SCREEN_EXCLUSIVE_WIN32_INFO_EXT: return sizeof(VkSurfaceFullScreenExclusiveWin32InfoEXT); 4333 #endif 4334 case VK_STRUCTURE_TYPE_SURFACE_PROTECTED_CAPABILITIES_KHR: return sizeof(VkSurfaceProtectedCapabilitiesKHR); 4335 case VK_STRUCTURE_TYPE_SWAPCHAIN_COUNTER_CREATE_INFO_EXT: return sizeof(VkSwapchainCounterCreateInfoEXT); 4336 case VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR: return sizeof(VkSwapchainCreateInfoKHR); 4337 case VK_STRUCTURE_TYPE_SWAPCHAIN_DISPLAY_NATIVE_HDR_CREATE_INFO_AMD: return sizeof(VkSwapchainDisplayNativeHdrCreateInfoAMD); 4338 case VK_STRUCTURE_TYPE_SWAPCHAIN_IMAGE_CREATE_INFO_ANDROID: return sizeof(VkSwapchainImageCreateInfoANDROID); 4339 case VK_STRUCTURE_TYPE_TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMD: return sizeof(VkTextureLODGatherFormatPropertiesAMD); 4340 case VK_STRUCTURE_TYPE_TIMELINE_SEMAPHORE_SUBMIT_INFO: return sizeof(VkTimelineSemaphoreSubmitInfo); 4341 case VK_STRUCTURE_TYPE_VALIDATION_CACHE_CREATE_INFO_EXT: return sizeof(VkValidationCacheCreateInfoEXT); 4342 case VK_STRUCTURE_TYPE_VALIDATION_FEATURES_EXT: return sizeof(VkValidationFeaturesEXT); 4343 case VK_STRUCTURE_TYPE_VALIDATION_FLAGS_EXT: return sizeof(VkValidationFlagsEXT); 4344 #ifdef VK_USE_PLATFORM_VI_NN 4345 case VK_STRUCTURE_TYPE_VI_SURFACE_CREATE_INFO_NN: return sizeof(VkViSurfaceCreateInfoNN); 4346 #endif 4347 #ifdef VK_USE_PLATFORM_WAYLAND_KHR 4348 case VK_STRUCTURE_TYPE_WAYLAND_SURFACE_CREATE_INFO_KHR: return sizeof(VkWaylandSurfaceCreateInfoKHR); 4349 #endif 4350 #ifdef VK_USE_PLATFORM_WIN32_KHR 4351 case VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_KHR: return sizeof(VkWin32KeyedMutexAcquireReleaseInfoKHR); 4352 #endif 4353 #ifdef VK_USE_PLATFORM_WIN32_KHR 4354 case VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_NV: return sizeof(VkWin32KeyedMutexAcquireReleaseInfoNV); 4355 #endif 4356 #ifdef VK_USE_PLATFORM_WIN32_KHR 4357 case VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR: return sizeof(VkWin32SurfaceCreateInfoKHR); 4358 #endif 4359 case VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET: return sizeof(VkWriteDescriptorSet); 4360 #ifdef VK_ENABLE_BETA_EXTENSIONS 4361 case VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_KHR: return sizeof(VkWriteDescriptorSetAccelerationStructureKHR); 4362 #endif 4363 case VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_INLINE_UNIFORM_BLOCK_EXT: return sizeof(VkWriteDescriptorSetInlineUniformBlockEXT); 4364 #ifdef VK_USE_PLATFORM_XCB_KHR 4365 case VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR: return sizeof(VkXcbSurfaceCreateInfoKHR); 4366 #endif 4367 #ifdef VK_USE_PLATFORM_XLIB_KHR 4368 case VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR: return sizeof(VkXlibSurfaceCreateInfoKHR); 4369 #endif 4370 case VK_STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO: return sizeof(VkLayerInstanceCreateInfo); 4371 case VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO: return sizeof(VkLayerDeviceCreateInfo); 4372 } 4373 #pragma GCC diagnostic pop 4374 unreachable("Undefined struct type."); 4375 } 4376 vk_load_instance_commands(VkInstance instance,PFN_vkGetInstanceProcAddr gpa,struct vk_instance_dispatch_table * table)4377 void vk_load_instance_commands(VkInstance instance, 4378 PFN_vkGetInstanceProcAddr gpa, 4379 struct vk_instance_dispatch_table *table) 4380 { 4381 memset(table, 0, sizeof(*table)); 4382 table->GetInstanceProcAddr = gpa; 4383 #ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT 4384 table->AcquireXlibDisplayEXT = (PFN_vkAcquireXlibDisplayEXT) gpa(instance, "vkAcquireXlibDisplayEXT"); 4385 #endif 4386 #ifdef VK_USE_PLATFORM_ANDROID_KHR 4387 table->CreateAndroidSurfaceKHR = (PFN_vkCreateAndroidSurfaceKHR) gpa(instance, "vkCreateAndroidSurfaceKHR"); 4388 #endif 4389 table->CreateDebugReportCallbackEXT = (PFN_vkCreateDebugReportCallbackEXT) gpa(instance, "vkCreateDebugReportCallbackEXT"); 4390 table->CreateDebugUtilsMessengerEXT = (PFN_vkCreateDebugUtilsMessengerEXT) gpa(instance, "vkCreateDebugUtilsMessengerEXT"); 4391 table->CreateDevice = (PFN_vkCreateDevice) gpa(instance, "vkCreateDevice"); 4392 #ifdef VK_USE_PLATFORM_DIRECTFB_EXT 4393 table->CreateDirectFBSurfaceEXT = (PFN_vkCreateDirectFBSurfaceEXT) gpa(instance, "vkCreateDirectFBSurfaceEXT"); 4394 #endif 4395 table->CreateDisplayModeKHR = (PFN_vkCreateDisplayModeKHR) gpa(instance, "vkCreateDisplayModeKHR"); 4396 table->CreateDisplayPlaneSurfaceKHR = (PFN_vkCreateDisplayPlaneSurfaceKHR) gpa(instance, "vkCreateDisplayPlaneSurfaceKHR"); 4397 table->CreateHeadlessSurfaceEXT = (PFN_vkCreateHeadlessSurfaceEXT) gpa(instance, "vkCreateHeadlessSurfaceEXT"); 4398 #ifdef VK_USE_PLATFORM_IOS_MVK 4399 table->CreateIOSSurfaceMVK = (PFN_vkCreateIOSSurfaceMVK) gpa(instance, "vkCreateIOSSurfaceMVK"); 4400 #endif 4401 #ifdef VK_USE_PLATFORM_FUCHSIA 4402 table->CreateImagePipeSurfaceFUCHSIA = (PFN_vkCreateImagePipeSurfaceFUCHSIA) gpa(instance, "vkCreateImagePipeSurfaceFUCHSIA"); 4403 #endif 4404 table->CreateInstance = (PFN_vkCreateInstance) gpa(instance, "vkCreateInstance"); 4405 #ifdef VK_USE_PLATFORM_MACOS_MVK 4406 table->CreateMacOSSurfaceMVK = (PFN_vkCreateMacOSSurfaceMVK) gpa(instance, "vkCreateMacOSSurfaceMVK"); 4407 #endif 4408 #ifdef VK_USE_PLATFORM_METAL_EXT 4409 table->CreateMetalSurfaceEXT = (PFN_vkCreateMetalSurfaceEXT) gpa(instance, "vkCreateMetalSurfaceEXT"); 4410 #endif 4411 #ifdef VK_USE_PLATFORM_GGP 4412 table->CreateStreamDescriptorSurfaceGGP = (PFN_vkCreateStreamDescriptorSurfaceGGP) gpa(instance, "vkCreateStreamDescriptorSurfaceGGP"); 4413 #endif 4414 #ifdef VK_USE_PLATFORM_VI_NN 4415 table->CreateViSurfaceNN = (PFN_vkCreateViSurfaceNN) gpa(instance, "vkCreateViSurfaceNN"); 4416 #endif 4417 #ifdef VK_USE_PLATFORM_WAYLAND_KHR 4418 table->CreateWaylandSurfaceKHR = (PFN_vkCreateWaylandSurfaceKHR) gpa(instance, "vkCreateWaylandSurfaceKHR"); 4419 #endif 4420 #ifdef VK_USE_PLATFORM_WIN32_KHR 4421 table->CreateWin32SurfaceKHR = (PFN_vkCreateWin32SurfaceKHR) gpa(instance, "vkCreateWin32SurfaceKHR"); 4422 #endif 4423 #ifdef VK_USE_PLATFORM_XCB_KHR 4424 table->CreateXcbSurfaceKHR = (PFN_vkCreateXcbSurfaceKHR) gpa(instance, "vkCreateXcbSurfaceKHR"); 4425 #endif 4426 #ifdef VK_USE_PLATFORM_XLIB_KHR 4427 table->CreateXlibSurfaceKHR = (PFN_vkCreateXlibSurfaceKHR) gpa(instance, "vkCreateXlibSurfaceKHR"); 4428 #endif 4429 table->DebugReportMessageEXT = (PFN_vkDebugReportMessageEXT) gpa(instance, "vkDebugReportMessageEXT"); 4430 table->DestroyDebugReportCallbackEXT = (PFN_vkDestroyDebugReportCallbackEXT) gpa(instance, "vkDestroyDebugReportCallbackEXT"); 4431 table->DestroyDebugUtilsMessengerEXT = (PFN_vkDestroyDebugUtilsMessengerEXT) gpa(instance, "vkDestroyDebugUtilsMessengerEXT"); 4432 table->DestroyInstance = (PFN_vkDestroyInstance) gpa(instance, "vkDestroyInstance"); 4433 table->DestroySurfaceKHR = (PFN_vkDestroySurfaceKHR) gpa(instance, "vkDestroySurfaceKHR"); 4434 table->EnumerateDeviceExtensionProperties = (PFN_vkEnumerateDeviceExtensionProperties) gpa(instance, "vkEnumerateDeviceExtensionProperties"); 4435 table->EnumerateDeviceLayerProperties = (PFN_vkEnumerateDeviceLayerProperties) gpa(instance, "vkEnumerateDeviceLayerProperties"); 4436 table->EnumerateInstanceExtensionProperties = (PFN_vkEnumerateInstanceExtensionProperties) gpa(instance, "vkEnumerateInstanceExtensionProperties"); 4437 table->EnumerateInstanceLayerProperties = (PFN_vkEnumerateInstanceLayerProperties) gpa(instance, "vkEnumerateInstanceLayerProperties"); 4438 table->EnumerateInstanceVersion = (PFN_vkEnumerateInstanceVersion) gpa(instance, "vkEnumerateInstanceVersion"); 4439 table->EnumeratePhysicalDeviceGroups = (PFN_vkEnumeratePhysicalDeviceGroups) gpa(instance, "vkEnumeratePhysicalDeviceGroups"); 4440 table->EnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR = (PFN_vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR) gpa(instance, "vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR"); 4441 table->EnumeratePhysicalDevices = (PFN_vkEnumeratePhysicalDevices) gpa(instance, "vkEnumeratePhysicalDevices"); 4442 table->GetDisplayModeProperties2KHR = (PFN_vkGetDisplayModeProperties2KHR) gpa(instance, "vkGetDisplayModeProperties2KHR"); 4443 table->GetDisplayModePropertiesKHR = (PFN_vkGetDisplayModePropertiesKHR) gpa(instance, "vkGetDisplayModePropertiesKHR"); 4444 table->GetDisplayPlaneCapabilities2KHR = (PFN_vkGetDisplayPlaneCapabilities2KHR) gpa(instance, "vkGetDisplayPlaneCapabilities2KHR"); 4445 table->GetDisplayPlaneCapabilitiesKHR = (PFN_vkGetDisplayPlaneCapabilitiesKHR) gpa(instance, "vkGetDisplayPlaneCapabilitiesKHR"); 4446 table->GetDisplayPlaneSupportedDisplaysKHR = (PFN_vkGetDisplayPlaneSupportedDisplaysKHR) gpa(instance, "vkGetDisplayPlaneSupportedDisplaysKHR"); 4447 table->GetPhysicalDeviceCalibrateableTimeDomainsEXT = (PFN_vkGetPhysicalDeviceCalibrateableTimeDomainsEXT) gpa(instance, "vkGetPhysicalDeviceCalibrateableTimeDomainsEXT"); 4448 table->GetPhysicalDeviceCooperativeMatrixPropertiesNV = (PFN_vkGetPhysicalDeviceCooperativeMatrixPropertiesNV) gpa(instance, "vkGetPhysicalDeviceCooperativeMatrixPropertiesNV"); 4449 #ifdef VK_USE_PLATFORM_DIRECTFB_EXT 4450 table->GetPhysicalDeviceDirectFBPresentationSupportEXT = (PFN_vkGetPhysicalDeviceDirectFBPresentationSupportEXT) gpa(instance, "vkGetPhysicalDeviceDirectFBPresentationSupportEXT"); 4451 #endif 4452 table->GetPhysicalDeviceDisplayPlaneProperties2KHR = (PFN_vkGetPhysicalDeviceDisplayPlaneProperties2KHR) gpa(instance, "vkGetPhysicalDeviceDisplayPlaneProperties2KHR"); 4453 table->GetPhysicalDeviceDisplayPlanePropertiesKHR = (PFN_vkGetPhysicalDeviceDisplayPlanePropertiesKHR) gpa(instance, "vkGetPhysicalDeviceDisplayPlanePropertiesKHR"); 4454 table->GetPhysicalDeviceDisplayProperties2KHR = (PFN_vkGetPhysicalDeviceDisplayProperties2KHR) gpa(instance, "vkGetPhysicalDeviceDisplayProperties2KHR"); 4455 table->GetPhysicalDeviceDisplayPropertiesKHR = (PFN_vkGetPhysicalDeviceDisplayPropertiesKHR) gpa(instance, "vkGetPhysicalDeviceDisplayPropertiesKHR"); 4456 table->GetPhysicalDeviceExternalBufferProperties = (PFN_vkGetPhysicalDeviceExternalBufferProperties) gpa(instance, "vkGetPhysicalDeviceExternalBufferProperties"); 4457 table->GetPhysicalDeviceExternalFenceProperties = (PFN_vkGetPhysicalDeviceExternalFenceProperties) gpa(instance, "vkGetPhysicalDeviceExternalFenceProperties"); 4458 table->GetPhysicalDeviceExternalImageFormatPropertiesNV = (PFN_vkGetPhysicalDeviceExternalImageFormatPropertiesNV) gpa(instance, "vkGetPhysicalDeviceExternalImageFormatPropertiesNV"); 4459 table->GetPhysicalDeviceExternalSemaphoreProperties = (PFN_vkGetPhysicalDeviceExternalSemaphoreProperties) gpa(instance, "vkGetPhysicalDeviceExternalSemaphoreProperties"); 4460 table->GetPhysicalDeviceFeatures = (PFN_vkGetPhysicalDeviceFeatures) gpa(instance, "vkGetPhysicalDeviceFeatures"); 4461 table->GetPhysicalDeviceFeatures2 = (PFN_vkGetPhysicalDeviceFeatures2) gpa(instance, "vkGetPhysicalDeviceFeatures2"); 4462 table->GetPhysicalDeviceFormatProperties = (PFN_vkGetPhysicalDeviceFormatProperties) gpa(instance, "vkGetPhysicalDeviceFormatProperties"); 4463 table->GetPhysicalDeviceFormatProperties2 = (PFN_vkGetPhysicalDeviceFormatProperties2) gpa(instance, "vkGetPhysicalDeviceFormatProperties2"); 4464 table->GetPhysicalDeviceFragmentShadingRatesKHR = (PFN_vkGetPhysicalDeviceFragmentShadingRatesKHR) gpa(instance, "vkGetPhysicalDeviceFragmentShadingRatesKHR"); 4465 table->GetPhysicalDeviceImageFormatProperties = (PFN_vkGetPhysicalDeviceImageFormatProperties) gpa(instance, "vkGetPhysicalDeviceImageFormatProperties"); 4466 table->GetPhysicalDeviceImageFormatProperties2 = (PFN_vkGetPhysicalDeviceImageFormatProperties2) gpa(instance, "vkGetPhysicalDeviceImageFormatProperties2"); 4467 table->GetPhysicalDeviceMemoryProperties = (PFN_vkGetPhysicalDeviceMemoryProperties) gpa(instance, "vkGetPhysicalDeviceMemoryProperties"); 4468 table->GetPhysicalDeviceMemoryProperties2 = (PFN_vkGetPhysicalDeviceMemoryProperties2) gpa(instance, "vkGetPhysicalDeviceMemoryProperties2"); 4469 table->GetPhysicalDeviceMultisamplePropertiesEXT = (PFN_vkGetPhysicalDeviceMultisamplePropertiesEXT) gpa(instance, "vkGetPhysicalDeviceMultisamplePropertiesEXT"); 4470 table->GetPhysicalDevicePresentRectanglesKHR = (PFN_vkGetPhysicalDevicePresentRectanglesKHR) gpa(instance, "vkGetPhysicalDevicePresentRectanglesKHR"); 4471 table->GetPhysicalDeviceProperties = (PFN_vkGetPhysicalDeviceProperties) gpa(instance, "vkGetPhysicalDeviceProperties"); 4472 table->GetPhysicalDeviceProperties2 = (PFN_vkGetPhysicalDeviceProperties2) gpa(instance, "vkGetPhysicalDeviceProperties2"); 4473 table->GetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR = (PFN_vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR) gpa(instance, "vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR"); 4474 table->GetPhysicalDeviceQueueFamilyProperties = (PFN_vkGetPhysicalDeviceQueueFamilyProperties) gpa(instance, "vkGetPhysicalDeviceQueueFamilyProperties"); 4475 table->GetPhysicalDeviceQueueFamilyProperties2 = (PFN_vkGetPhysicalDeviceQueueFamilyProperties2) gpa(instance, "vkGetPhysicalDeviceQueueFamilyProperties2"); 4476 table->GetPhysicalDeviceSparseImageFormatProperties = (PFN_vkGetPhysicalDeviceSparseImageFormatProperties) gpa(instance, "vkGetPhysicalDeviceSparseImageFormatProperties"); 4477 table->GetPhysicalDeviceSparseImageFormatProperties2 = (PFN_vkGetPhysicalDeviceSparseImageFormatProperties2) gpa(instance, "vkGetPhysicalDeviceSparseImageFormatProperties2"); 4478 table->GetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV = (PFN_vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV) gpa(instance, "vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV"); 4479 table->GetPhysicalDeviceSurfaceCapabilities2EXT = (PFN_vkGetPhysicalDeviceSurfaceCapabilities2EXT) gpa(instance, "vkGetPhysicalDeviceSurfaceCapabilities2EXT"); 4480 table->GetPhysicalDeviceSurfaceCapabilities2KHR = (PFN_vkGetPhysicalDeviceSurfaceCapabilities2KHR) gpa(instance, "vkGetPhysicalDeviceSurfaceCapabilities2KHR"); 4481 table->GetPhysicalDeviceSurfaceCapabilitiesKHR = (PFN_vkGetPhysicalDeviceSurfaceCapabilitiesKHR) gpa(instance, "vkGetPhysicalDeviceSurfaceCapabilitiesKHR"); 4482 table->GetPhysicalDeviceSurfaceFormats2KHR = (PFN_vkGetPhysicalDeviceSurfaceFormats2KHR) gpa(instance, "vkGetPhysicalDeviceSurfaceFormats2KHR"); 4483 table->GetPhysicalDeviceSurfaceFormatsKHR = (PFN_vkGetPhysicalDeviceSurfaceFormatsKHR) gpa(instance, "vkGetPhysicalDeviceSurfaceFormatsKHR"); 4484 #ifdef VK_USE_PLATFORM_WIN32_KHR 4485 table->GetPhysicalDeviceSurfacePresentModes2EXT = (PFN_vkGetPhysicalDeviceSurfacePresentModes2EXT) gpa(instance, "vkGetPhysicalDeviceSurfacePresentModes2EXT"); 4486 #endif 4487 table->GetPhysicalDeviceSurfacePresentModesKHR = (PFN_vkGetPhysicalDeviceSurfacePresentModesKHR) gpa(instance, "vkGetPhysicalDeviceSurfacePresentModesKHR"); 4488 table->GetPhysicalDeviceSurfaceSupportKHR = (PFN_vkGetPhysicalDeviceSurfaceSupportKHR) gpa(instance, "vkGetPhysicalDeviceSurfaceSupportKHR"); 4489 table->GetPhysicalDeviceToolPropertiesEXT = (PFN_vkGetPhysicalDeviceToolPropertiesEXT) gpa(instance, "vkGetPhysicalDeviceToolPropertiesEXT"); 4490 #ifdef VK_USE_PLATFORM_WAYLAND_KHR 4491 table->GetPhysicalDeviceWaylandPresentationSupportKHR = (PFN_vkGetPhysicalDeviceWaylandPresentationSupportKHR) gpa(instance, "vkGetPhysicalDeviceWaylandPresentationSupportKHR"); 4492 #endif 4493 #ifdef VK_USE_PLATFORM_WIN32_KHR 4494 table->GetPhysicalDeviceWin32PresentationSupportKHR = (PFN_vkGetPhysicalDeviceWin32PresentationSupportKHR) gpa(instance, "vkGetPhysicalDeviceWin32PresentationSupportKHR"); 4495 #endif 4496 #ifdef VK_USE_PLATFORM_XCB_KHR 4497 table->GetPhysicalDeviceXcbPresentationSupportKHR = (PFN_vkGetPhysicalDeviceXcbPresentationSupportKHR) gpa(instance, "vkGetPhysicalDeviceXcbPresentationSupportKHR"); 4498 #endif 4499 #ifdef VK_USE_PLATFORM_XLIB_KHR 4500 table->GetPhysicalDeviceXlibPresentationSupportKHR = (PFN_vkGetPhysicalDeviceXlibPresentationSupportKHR) gpa(instance, "vkGetPhysicalDeviceXlibPresentationSupportKHR"); 4501 #endif 4502 #ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT 4503 table->GetRandROutputDisplayEXT = (PFN_vkGetRandROutputDisplayEXT) gpa(instance, "vkGetRandROutputDisplayEXT"); 4504 #endif 4505 table->ReleaseDisplayEXT = (PFN_vkReleaseDisplayEXT) gpa(instance, "vkReleaseDisplayEXT"); 4506 table->SubmitDebugUtilsMessageEXT = (PFN_vkSubmitDebugUtilsMessageEXT) gpa(instance, "vkSubmitDebugUtilsMessageEXT"); 4507 } 4508 vk_load_device_commands(VkDevice device,PFN_vkGetDeviceProcAddr gpa,struct vk_device_dispatch_table * table)4509 void vk_load_device_commands(VkDevice device, 4510 PFN_vkGetDeviceProcAddr gpa, 4511 struct vk_device_dispatch_table *table) 4512 { 4513 memset(table, 0, sizeof(*table)); 4514 table->GetDeviceProcAddr = gpa; 4515 #ifdef VK_USE_PLATFORM_WIN32_KHR 4516 table->AcquireFullScreenExclusiveModeEXT = (PFN_vkAcquireFullScreenExclusiveModeEXT) gpa(device, "vkAcquireFullScreenExclusiveModeEXT"); 4517 #endif 4518 table->AcquireImageANDROID = (PFN_vkAcquireImageANDROID) gpa(device, "vkAcquireImageANDROID"); 4519 table->AcquireNextImage2KHR = (PFN_vkAcquireNextImage2KHR) gpa(device, "vkAcquireNextImage2KHR"); 4520 table->AcquireNextImageKHR = (PFN_vkAcquireNextImageKHR) gpa(device, "vkAcquireNextImageKHR"); 4521 table->AcquirePerformanceConfigurationINTEL = (PFN_vkAcquirePerformanceConfigurationINTEL) gpa(device, "vkAcquirePerformanceConfigurationINTEL"); 4522 table->AcquireProfilingLockKHR = (PFN_vkAcquireProfilingLockKHR) gpa(device, "vkAcquireProfilingLockKHR"); 4523 table->AllocateCommandBuffers = (PFN_vkAllocateCommandBuffers) gpa(device, "vkAllocateCommandBuffers"); 4524 table->AllocateDescriptorSets = (PFN_vkAllocateDescriptorSets) gpa(device, "vkAllocateDescriptorSets"); 4525 table->AllocateMemory = (PFN_vkAllocateMemory) gpa(device, "vkAllocateMemory"); 4526 table->BeginCommandBuffer = (PFN_vkBeginCommandBuffer) gpa(device, "vkBeginCommandBuffer"); 4527 #ifdef VK_ENABLE_BETA_EXTENSIONS 4528 table->BindAccelerationStructureMemoryKHR = (PFN_vkBindAccelerationStructureMemoryKHR) gpa(device, "vkBindAccelerationStructureMemoryKHR"); 4529 #endif 4530 table->BindBufferMemory = (PFN_vkBindBufferMemory) gpa(device, "vkBindBufferMemory"); 4531 table->BindBufferMemory2 = (PFN_vkBindBufferMemory2) gpa(device, "vkBindBufferMemory2"); 4532 table->BindImageMemory = (PFN_vkBindImageMemory) gpa(device, "vkBindImageMemory"); 4533 table->BindImageMemory2 = (PFN_vkBindImageMemory2) gpa(device, "vkBindImageMemory2"); 4534 #ifdef VK_ENABLE_BETA_EXTENSIONS 4535 table->BuildAccelerationStructureKHR = (PFN_vkBuildAccelerationStructureKHR) gpa(device, "vkBuildAccelerationStructureKHR"); 4536 #endif 4537 table->CmdBeginConditionalRenderingEXT = (PFN_vkCmdBeginConditionalRenderingEXT) gpa(device, "vkCmdBeginConditionalRenderingEXT"); 4538 table->CmdBeginDebugUtilsLabelEXT = (PFN_vkCmdBeginDebugUtilsLabelEXT) gpa(device, "vkCmdBeginDebugUtilsLabelEXT"); 4539 table->CmdBeginQuery = (PFN_vkCmdBeginQuery) gpa(device, "vkCmdBeginQuery"); 4540 table->CmdBeginQueryIndexedEXT = (PFN_vkCmdBeginQueryIndexedEXT) gpa(device, "vkCmdBeginQueryIndexedEXT"); 4541 table->CmdBeginRenderPass = (PFN_vkCmdBeginRenderPass) gpa(device, "vkCmdBeginRenderPass"); 4542 table->CmdBeginRenderPass2 = (PFN_vkCmdBeginRenderPass2) gpa(device, "vkCmdBeginRenderPass2"); 4543 table->CmdBeginTransformFeedbackEXT = (PFN_vkCmdBeginTransformFeedbackEXT) gpa(device, "vkCmdBeginTransformFeedbackEXT"); 4544 table->CmdBindDescriptorSets = (PFN_vkCmdBindDescriptorSets) gpa(device, "vkCmdBindDescriptorSets"); 4545 table->CmdBindIndexBuffer = (PFN_vkCmdBindIndexBuffer) gpa(device, "vkCmdBindIndexBuffer"); 4546 table->CmdBindPipeline = (PFN_vkCmdBindPipeline) gpa(device, "vkCmdBindPipeline"); 4547 table->CmdBindPipelineShaderGroupNV = (PFN_vkCmdBindPipelineShaderGroupNV) gpa(device, "vkCmdBindPipelineShaderGroupNV"); 4548 table->CmdBindShadingRateImageNV = (PFN_vkCmdBindShadingRateImageNV) gpa(device, "vkCmdBindShadingRateImageNV"); 4549 table->CmdBindTransformFeedbackBuffersEXT = (PFN_vkCmdBindTransformFeedbackBuffersEXT) gpa(device, "vkCmdBindTransformFeedbackBuffersEXT"); 4550 table->CmdBindVertexBuffers = (PFN_vkCmdBindVertexBuffers) gpa(device, "vkCmdBindVertexBuffers"); 4551 table->CmdBindVertexBuffers2EXT = (PFN_vkCmdBindVertexBuffers2EXT) gpa(device, "vkCmdBindVertexBuffers2EXT"); 4552 table->CmdBlitImage = (PFN_vkCmdBlitImage) gpa(device, "vkCmdBlitImage"); 4553 table->CmdBlitImage2KHR = (PFN_vkCmdBlitImage2KHR) gpa(device, "vkCmdBlitImage2KHR"); 4554 #ifdef VK_ENABLE_BETA_EXTENSIONS 4555 table->CmdBuildAccelerationStructureIndirectKHR = (PFN_vkCmdBuildAccelerationStructureIndirectKHR) gpa(device, "vkCmdBuildAccelerationStructureIndirectKHR"); 4556 #endif 4557 #ifdef VK_ENABLE_BETA_EXTENSIONS 4558 table->CmdBuildAccelerationStructureKHR = (PFN_vkCmdBuildAccelerationStructureKHR) gpa(device, "vkCmdBuildAccelerationStructureKHR"); 4559 #endif 4560 table->CmdBuildAccelerationStructureNV = (PFN_vkCmdBuildAccelerationStructureNV) gpa(device, "vkCmdBuildAccelerationStructureNV"); 4561 table->CmdClearAttachments = (PFN_vkCmdClearAttachments) gpa(device, "vkCmdClearAttachments"); 4562 table->CmdClearColorImage = (PFN_vkCmdClearColorImage) gpa(device, "vkCmdClearColorImage"); 4563 table->CmdClearDepthStencilImage = (PFN_vkCmdClearDepthStencilImage) gpa(device, "vkCmdClearDepthStencilImage"); 4564 #ifdef VK_ENABLE_BETA_EXTENSIONS 4565 table->CmdCopyAccelerationStructureKHR = (PFN_vkCmdCopyAccelerationStructureKHR) gpa(device, "vkCmdCopyAccelerationStructureKHR"); 4566 #endif 4567 table->CmdCopyAccelerationStructureNV = (PFN_vkCmdCopyAccelerationStructureNV) gpa(device, "vkCmdCopyAccelerationStructureNV"); 4568 #ifdef VK_ENABLE_BETA_EXTENSIONS 4569 table->CmdCopyAccelerationStructureToMemoryKHR = (PFN_vkCmdCopyAccelerationStructureToMemoryKHR) gpa(device, "vkCmdCopyAccelerationStructureToMemoryKHR"); 4570 #endif 4571 table->CmdCopyBuffer = (PFN_vkCmdCopyBuffer) gpa(device, "vkCmdCopyBuffer"); 4572 table->CmdCopyBuffer2KHR = (PFN_vkCmdCopyBuffer2KHR) gpa(device, "vkCmdCopyBuffer2KHR"); 4573 table->CmdCopyBufferToImage = (PFN_vkCmdCopyBufferToImage) gpa(device, "vkCmdCopyBufferToImage"); 4574 table->CmdCopyBufferToImage2KHR = (PFN_vkCmdCopyBufferToImage2KHR) gpa(device, "vkCmdCopyBufferToImage2KHR"); 4575 table->CmdCopyImage = (PFN_vkCmdCopyImage) gpa(device, "vkCmdCopyImage"); 4576 table->CmdCopyImage2KHR = (PFN_vkCmdCopyImage2KHR) gpa(device, "vkCmdCopyImage2KHR"); 4577 table->CmdCopyImageToBuffer = (PFN_vkCmdCopyImageToBuffer) gpa(device, "vkCmdCopyImageToBuffer"); 4578 table->CmdCopyImageToBuffer2KHR = (PFN_vkCmdCopyImageToBuffer2KHR) gpa(device, "vkCmdCopyImageToBuffer2KHR"); 4579 #ifdef VK_ENABLE_BETA_EXTENSIONS 4580 table->CmdCopyMemoryToAccelerationStructureKHR = (PFN_vkCmdCopyMemoryToAccelerationStructureKHR) gpa(device, "vkCmdCopyMemoryToAccelerationStructureKHR"); 4581 #endif 4582 table->CmdCopyQueryPoolResults = (PFN_vkCmdCopyQueryPoolResults) gpa(device, "vkCmdCopyQueryPoolResults"); 4583 table->CmdDebugMarkerBeginEXT = (PFN_vkCmdDebugMarkerBeginEXT) gpa(device, "vkCmdDebugMarkerBeginEXT"); 4584 table->CmdDebugMarkerEndEXT = (PFN_vkCmdDebugMarkerEndEXT) gpa(device, "vkCmdDebugMarkerEndEXT"); 4585 table->CmdDebugMarkerInsertEXT = (PFN_vkCmdDebugMarkerInsertEXT) gpa(device, "vkCmdDebugMarkerInsertEXT"); 4586 table->CmdDispatch = (PFN_vkCmdDispatch) gpa(device, "vkCmdDispatch"); 4587 table->CmdDispatchBase = (PFN_vkCmdDispatchBase) gpa(device, "vkCmdDispatchBase"); 4588 table->CmdDispatchIndirect = (PFN_vkCmdDispatchIndirect) gpa(device, "vkCmdDispatchIndirect"); 4589 table->CmdDraw = (PFN_vkCmdDraw) gpa(device, "vkCmdDraw"); 4590 table->CmdDrawIndexed = (PFN_vkCmdDrawIndexed) gpa(device, "vkCmdDrawIndexed"); 4591 table->CmdDrawIndexedIndirect = (PFN_vkCmdDrawIndexedIndirect) gpa(device, "vkCmdDrawIndexedIndirect"); 4592 table->CmdDrawIndexedIndirectCount = (PFN_vkCmdDrawIndexedIndirectCount) gpa(device, "vkCmdDrawIndexedIndirectCount"); 4593 table->CmdDrawIndirect = (PFN_vkCmdDrawIndirect) gpa(device, "vkCmdDrawIndirect"); 4594 table->CmdDrawIndirectByteCountEXT = (PFN_vkCmdDrawIndirectByteCountEXT) gpa(device, "vkCmdDrawIndirectByteCountEXT"); 4595 table->CmdDrawIndirectCount = (PFN_vkCmdDrawIndirectCount) gpa(device, "vkCmdDrawIndirectCount"); 4596 table->CmdDrawMeshTasksIndirectCountNV = (PFN_vkCmdDrawMeshTasksIndirectCountNV) gpa(device, "vkCmdDrawMeshTasksIndirectCountNV"); 4597 table->CmdDrawMeshTasksIndirectNV = (PFN_vkCmdDrawMeshTasksIndirectNV) gpa(device, "vkCmdDrawMeshTasksIndirectNV"); 4598 table->CmdDrawMeshTasksNV = (PFN_vkCmdDrawMeshTasksNV) gpa(device, "vkCmdDrawMeshTasksNV"); 4599 table->CmdEndConditionalRenderingEXT = (PFN_vkCmdEndConditionalRenderingEXT) gpa(device, "vkCmdEndConditionalRenderingEXT"); 4600 table->CmdEndDebugUtilsLabelEXT = (PFN_vkCmdEndDebugUtilsLabelEXT) gpa(device, "vkCmdEndDebugUtilsLabelEXT"); 4601 table->CmdEndQuery = (PFN_vkCmdEndQuery) gpa(device, "vkCmdEndQuery"); 4602 table->CmdEndQueryIndexedEXT = (PFN_vkCmdEndQueryIndexedEXT) gpa(device, "vkCmdEndQueryIndexedEXT"); 4603 table->CmdEndRenderPass = (PFN_vkCmdEndRenderPass) gpa(device, "vkCmdEndRenderPass"); 4604 table->CmdEndRenderPass2 = (PFN_vkCmdEndRenderPass2) gpa(device, "vkCmdEndRenderPass2"); 4605 table->CmdEndTransformFeedbackEXT = (PFN_vkCmdEndTransformFeedbackEXT) gpa(device, "vkCmdEndTransformFeedbackEXT"); 4606 table->CmdExecuteCommands = (PFN_vkCmdExecuteCommands) gpa(device, "vkCmdExecuteCommands"); 4607 table->CmdExecuteGeneratedCommandsNV = (PFN_vkCmdExecuteGeneratedCommandsNV) gpa(device, "vkCmdExecuteGeneratedCommandsNV"); 4608 table->CmdFillBuffer = (PFN_vkCmdFillBuffer) gpa(device, "vkCmdFillBuffer"); 4609 table->CmdInsertDebugUtilsLabelEXT = (PFN_vkCmdInsertDebugUtilsLabelEXT) gpa(device, "vkCmdInsertDebugUtilsLabelEXT"); 4610 table->CmdNextSubpass = (PFN_vkCmdNextSubpass) gpa(device, "vkCmdNextSubpass"); 4611 table->CmdNextSubpass2 = (PFN_vkCmdNextSubpass2) gpa(device, "vkCmdNextSubpass2"); 4612 table->CmdPipelineBarrier = (PFN_vkCmdPipelineBarrier) gpa(device, "vkCmdPipelineBarrier"); 4613 table->CmdPreprocessGeneratedCommandsNV = (PFN_vkCmdPreprocessGeneratedCommandsNV) gpa(device, "vkCmdPreprocessGeneratedCommandsNV"); 4614 table->CmdPushConstants = (PFN_vkCmdPushConstants) gpa(device, "vkCmdPushConstants"); 4615 table->CmdPushDescriptorSetKHR = (PFN_vkCmdPushDescriptorSetKHR) gpa(device, "vkCmdPushDescriptorSetKHR"); 4616 table->CmdPushDescriptorSetWithTemplateKHR = (PFN_vkCmdPushDescriptorSetWithTemplateKHR) gpa(device, "vkCmdPushDescriptorSetWithTemplateKHR"); 4617 table->CmdResetEvent = (PFN_vkCmdResetEvent) gpa(device, "vkCmdResetEvent"); 4618 table->CmdResetQueryPool = (PFN_vkCmdResetQueryPool) gpa(device, "vkCmdResetQueryPool"); 4619 table->CmdResolveImage = (PFN_vkCmdResolveImage) gpa(device, "vkCmdResolveImage"); 4620 table->CmdResolveImage2KHR = (PFN_vkCmdResolveImage2KHR) gpa(device, "vkCmdResolveImage2KHR"); 4621 table->CmdSetBlendConstants = (PFN_vkCmdSetBlendConstants) gpa(device, "vkCmdSetBlendConstants"); 4622 table->CmdSetCheckpointNV = (PFN_vkCmdSetCheckpointNV) gpa(device, "vkCmdSetCheckpointNV"); 4623 table->CmdSetCoarseSampleOrderNV = (PFN_vkCmdSetCoarseSampleOrderNV) gpa(device, "vkCmdSetCoarseSampleOrderNV"); 4624 table->CmdSetCullModeEXT = (PFN_vkCmdSetCullModeEXT) gpa(device, "vkCmdSetCullModeEXT"); 4625 table->CmdSetDepthBias = (PFN_vkCmdSetDepthBias) gpa(device, "vkCmdSetDepthBias"); 4626 table->CmdSetDepthBounds = (PFN_vkCmdSetDepthBounds) gpa(device, "vkCmdSetDepthBounds"); 4627 table->CmdSetDepthBoundsTestEnableEXT = (PFN_vkCmdSetDepthBoundsTestEnableEXT) gpa(device, "vkCmdSetDepthBoundsTestEnableEXT"); 4628 table->CmdSetDepthCompareOpEXT = (PFN_vkCmdSetDepthCompareOpEXT) gpa(device, "vkCmdSetDepthCompareOpEXT"); 4629 table->CmdSetDepthTestEnableEXT = (PFN_vkCmdSetDepthTestEnableEXT) gpa(device, "vkCmdSetDepthTestEnableEXT"); 4630 table->CmdSetDepthWriteEnableEXT = (PFN_vkCmdSetDepthWriteEnableEXT) gpa(device, "vkCmdSetDepthWriteEnableEXT"); 4631 table->CmdSetDeviceMask = (PFN_vkCmdSetDeviceMask) gpa(device, "vkCmdSetDeviceMask"); 4632 table->CmdSetDiscardRectangleEXT = (PFN_vkCmdSetDiscardRectangleEXT) gpa(device, "vkCmdSetDiscardRectangleEXT"); 4633 table->CmdSetEvent = (PFN_vkCmdSetEvent) gpa(device, "vkCmdSetEvent"); 4634 table->CmdSetExclusiveScissorNV = (PFN_vkCmdSetExclusiveScissorNV) gpa(device, "vkCmdSetExclusiveScissorNV"); 4635 table->CmdSetFragmentShadingRateKHR = (PFN_vkCmdSetFragmentShadingRateKHR) gpa(device, "vkCmdSetFragmentShadingRateKHR"); 4636 table->CmdSetFrontFaceEXT = (PFN_vkCmdSetFrontFaceEXT) gpa(device, "vkCmdSetFrontFaceEXT"); 4637 table->CmdSetLineStippleEXT = (PFN_vkCmdSetLineStippleEXT) gpa(device, "vkCmdSetLineStippleEXT"); 4638 table->CmdSetLineWidth = (PFN_vkCmdSetLineWidth) gpa(device, "vkCmdSetLineWidth"); 4639 table->CmdSetPerformanceMarkerINTEL = (PFN_vkCmdSetPerformanceMarkerINTEL) gpa(device, "vkCmdSetPerformanceMarkerINTEL"); 4640 table->CmdSetPerformanceOverrideINTEL = (PFN_vkCmdSetPerformanceOverrideINTEL) gpa(device, "vkCmdSetPerformanceOverrideINTEL"); 4641 table->CmdSetPerformanceStreamMarkerINTEL = (PFN_vkCmdSetPerformanceStreamMarkerINTEL) gpa(device, "vkCmdSetPerformanceStreamMarkerINTEL"); 4642 table->CmdSetPrimitiveTopologyEXT = (PFN_vkCmdSetPrimitiveTopologyEXT) gpa(device, "vkCmdSetPrimitiveTopologyEXT"); 4643 table->CmdSetSampleLocationsEXT = (PFN_vkCmdSetSampleLocationsEXT) gpa(device, "vkCmdSetSampleLocationsEXT"); 4644 table->CmdSetScissor = (PFN_vkCmdSetScissor) gpa(device, "vkCmdSetScissor"); 4645 table->CmdSetScissorWithCountEXT = (PFN_vkCmdSetScissorWithCountEXT) gpa(device, "vkCmdSetScissorWithCountEXT"); 4646 table->CmdSetStencilCompareMask = (PFN_vkCmdSetStencilCompareMask) gpa(device, "vkCmdSetStencilCompareMask"); 4647 table->CmdSetStencilOpEXT = (PFN_vkCmdSetStencilOpEXT) gpa(device, "vkCmdSetStencilOpEXT"); 4648 table->CmdSetStencilReference = (PFN_vkCmdSetStencilReference) gpa(device, "vkCmdSetStencilReference"); 4649 table->CmdSetStencilTestEnableEXT = (PFN_vkCmdSetStencilTestEnableEXT) gpa(device, "vkCmdSetStencilTestEnableEXT"); 4650 table->CmdSetStencilWriteMask = (PFN_vkCmdSetStencilWriteMask) gpa(device, "vkCmdSetStencilWriteMask"); 4651 table->CmdSetViewport = (PFN_vkCmdSetViewport) gpa(device, "vkCmdSetViewport"); 4652 table->CmdSetViewportShadingRatePaletteNV = (PFN_vkCmdSetViewportShadingRatePaletteNV) gpa(device, "vkCmdSetViewportShadingRatePaletteNV"); 4653 table->CmdSetViewportWScalingNV = (PFN_vkCmdSetViewportWScalingNV) gpa(device, "vkCmdSetViewportWScalingNV"); 4654 table->CmdSetViewportWithCountEXT = (PFN_vkCmdSetViewportWithCountEXT) gpa(device, "vkCmdSetViewportWithCountEXT"); 4655 #ifdef VK_ENABLE_BETA_EXTENSIONS 4656 table->CmdTraceRaysIndirectKHR = (PFN_vkCmdTraceRaysIndirectKHR) gpa(device, "vkCmdTraceRaysIndirectKHR"); 4657 #endif 4658 #ifdef VK_ENABLE_BETA_EXTENSIONS 4659 table->CmdTraceRaysKHR = (PFN_vkCmdTraceRaysKHR) gpa(device, "vkCmdTraceRaysKHR"); 4660 #endif 4661 table->CmdTraceRaysNV = (PFN_vkCmdTraceRaysNV) gpa(device, "vkCmdTraceRaysNV"); 4662 table->CmdUpdateBuffer = (PFN_vkCmdUpdateBuffer) gpa(device, "vkCmdUpdateBuffer"); 4663 table->CmdWaitEvents = (PFN_vkCmdWaitEvents) gpa(device, "vkCmdWaitEvents"); 4664 #ifdef VK_ENABLE_BETA_EXTENSIONS 4665 table->CmdWriteAccelerationStructuresPropertiesKHR = (PFN_vkCmdWriteAccelerationStructuresPropertiesKHR) gpa(device, "vkCmdWriteAccelerationStructuresPropertiesKHR"); 4666 #endif 4667 table->CmdWriteBufferMarkerAMD = (PFN_vkCmdWriteBufferMarkerAMD) gpa(device, "vkCmdWriteBufferMarkerAMD"); 4668 table->CmdWriteTimestamp = (PFN_vkCmdWriteTimestamp) gpa(device, "vkCmdWriteTimestamp"); 4669 table->CompileDeferredNV = (PFN_vkCompileDeferredNV) gpa(device, "vkCompileDeferredNV"); 4670 #ifdef VK_ENABLE_BETA_EXTENSIONS 4671 table->CopyAccelerationStructureKHR = (PFN_vkCopyAccelerationStructureKHR) gpa(device, "vkCopyAccelerationStructureKHR"); 4672 #endif 4673 #ifdef VK_ENABLE_BETA_EXTENSIONS 4674 table->CopyAccelerationStructureToMemoryKHR = (PFN_vkCopyAccelerationStructureToMemoryKHR) gpa(device, "vkCopyAccelerationStructureToMemoryKHR"); 4675 #endif 4676 #ifdef VK_ENABLE_BETA_EXTENSIONS 4677 table->CopyMemoryToAccelerationStructureKHR = (PFN_vkCopyMemoryToAccelerationStructureKHR) gpa(device, "vkCopyMemoryToAccelerationStructureKHR"); 4678 #endif 4679 #ifdef VK_ENABLE_BETA_EXTENSIONS 4680 table->CreateAccelerationStructureKHR = (PFN_vkCreateAccelerationStructureKHR) gpa(device, "vkCreateAccelerationStructureKHR"); 4681 #endif 4682 table->CreateAccelerationStructureNV = (PFN_vkCreateAccelerationStructureNV) gpa(device, "vkCreateAccelerationStructureNV"); 4683 table->CreateBuffer = (PFN_vkCreateBuffer) gpa(device, "vkCreateBuffer"); 4684 table->CreateBufferView = (PFN_vkCreateBufferView) gpa(device, "vkCreateBufferView"); 4685 table->CreateCommandPool = (PFN_vkCreateCommandPool) gpa(device, "vkCreateCommandPool"); 4686 table->CreateComputePipelines = (PFN_vkCreateComputePipelines) gpa(device, "vkCreateComputePipelines"); 4687 #ifdef VK_ENABLE_BETA_EXTENSIONS 4688 table->CreateDeferredOperationKHR = (PFN_vkCreateDeferredOperationKHR) gpa(device, "vkCreateDeferredOperationKHR"); 4689 #endif 4690 table->CreateDescriptorPool = (PFN_vkCreateDescriptorPool) gpa(device, "vkCreateDescriptorPool"); 4691 table->CreateDescriptorSetLayout = (PFN_vkCreateDescriptorSetLayout) gpa(device, "vkCreateDescriptorSetLayout"); 4692 table->CreateDescriptorUpdateTemplate = (PFN_vkCreateDescriptorUpdateTemplate) gpa(device, "vkCreateDescriptorUpdateTemplate"); 4693 table->CreateEvent = (PFN_vkCreateEvent) gpa(device, "vkCreateEvent"); 4694 table->CreateFence = (PFN_vkCreateFence) gpa(device, "vkCreateFence"); 4695 table->CreateFramebuffer = (PFN_vkCreateFramebuffer) gpa(device, "vkCreateFramebuffer"); 4696 table->CreateGraphicsPipelines = (PFN_vkCreateGraphicsPipelines) gpa(device, "vkCreateGraphicsPipelines"); 4697 table->CreateImage = (PFN_vkCreateImage) gpa(device, "vkCreateImage"); 4698 table->CreateImageView = (PFN_vkCreateImageView) gpa(device, "vkCreateImageView"); 4699 table->CreateIndirectCommandsLayoutNV = (PFN_vkCreateIndirectCommandsLayoutNV) gpa(device, "vkCreateIndirectCommandsLayoutNV"); 4700 table->CreatePipelineCache = (PFN_vkCreatePipelineCache) gpa(device, "vkCreatePipelineCache"); 4701 table->CreatePipelineLayout = (PFN_vkCreatePipelineLayout) gpa(device, "vkCreatePipelineLayout"); 4702 table->CreatePrivateDataSlotEXT = (PFN_vkCreatePrivateDataSlotEXT) gpa(device, "vkCreatePrivateDataSlotEXT"); 4703 table->CreateQueryPool = (PFN_vkCreateQueryPool) gpa(device, "vkCreateQueryPool"); 4704 #ifdef VK_ENABLE_BETA_EXTENSIONS 4705 table->CreateRayTracingPipelinesKHR = (PFN_vkCreateRayTracingPipelinesKHR) gpa(device, "vkCreateRayTracingPipelinesKHR"); 4706 #endif 4707 table->CreateRayTracingPipelinesNV = (PFN_vkCreateRayTracingPipelinesNV) gpa(device, "vkCreateRayTracingPipelinesNV"); 4708 table->CreateRenderPass = (PFN_vkCreateRenderPass) gpa(device, "vkCreateRenderPass"); 4709 table->CreateRenderPass2 = (PFN_vkCreateRenderPass2) gpa(device, "vkCreateRenderPass2"); 4710 table->CreateSampler = (PFN_vkCreateSampler) gpa(device, "vkCreateSampler"); 4711 table->CreateSamplerYcbcrConversion = (PFN_vkCreateSamplerYcbcrConversion) gpa(device, "vkCreateSamplerYcbcrConversion"); 4712 table->CreateSemaphore = (PFN_vkCreateSemaphore) gpa(device, "vkCreateSemaphore"); 4713 table->CreateShaderModule = (PFN_vkCreateShaderModule) gpa(device, "vkCreateShaderModule"); 4714 table->CreateSharedSwapchainsKHR = (PFN_vkCreateSharedSwapchainsKHR) gpa(device, "vkCreateSharedSwapchainsKHR"); 4715 table->CreateSwapchainKHR = (PFN_vkCreateSwapchainKHR) gpa(device, "vkCreateSwapchainKHR"); 4716 table->CreateValidationCacheEXT = (PFN_vkCreateValidationCacheEXT) gpa(device, "vkCreateValidationCacheEXT"); 4717 table->DebugMarkerSetObjectNameEXT = (PFN_vkDebugMarkerSetObjectNameEXT) gpa(device, "vkDebugMarkerSetObjectNameEXT"); 4718 table->DebugMarkerSetObjectTagEXT = (PFN_vkDebugMarkerSetObjectTagEXT) gpa(device, "vkDebugMarkerSetObjectTagEXT"); 4719 #ifdef VK_ENABLE_BETA_EXTENSIONS 4720 table->DeferredOperationJoinKHR = (PFN_vkDeferredOperationJoinKHR) gpa(device, "vkDeferredOperationJoinKHR"); 4721 #endif 4722 #ifdef VK_ENABLE_BETA_EXTENSIONS 4723 table->DestroyAccelerationStructureKHR = (PFN_vkDestroyAccelerationStructureKHR) gpa(device, "vkDestroyAccelerationStructureKHR"); 4724 #endif 4725 table->DestroyBuffer = (PFN_vkDestroyBuffer) gpa(device, "vkDestroyBuffer"); 4726 table->DestroyBufferView = (PFN_vkDestroyBufferView) gpa(device, "vkDestroyBufferView"); 4727 table->DestroyCommandPool = (PFN_vkDestroyCommandPool) gpa(device, "vkDestroyCommandPool"); 4728 #ifdef VK_ENABLE_BETA_EXTENSIONS 4729 table->DestroyDeferredOperationKHR = (PFN_vkDestroyDeferredOperationKHR) gpa(device, "vkDestroyDeferredOperationKHR"); 4730 #endif 4731 table->DestroyDescriptorPool = (PFN_vkDestroyDescriptorPool) gpa(device, "vkDestroyDescriptorPool"); 4732 table->DestroyDescriptorSetLayout = (PFN_vkDestroyDescriptorSetLayout) gpa(device, "vkDestroyDescriptorSetLayout"); 4733 table->DestroyDescriptorUpdateTemplate = (PFN_vkDestroyDescriptorUpdateTemplate) gpa(device, "vkDestroyDescriptorUpdateTemplate"); 4734 table->DestroyDevice = (PFN_vkDestroyDevice) gpa(device, "vkDestroyDevice"); 4735 table->DestroyEvent = (PFN_vkDestroyEvent) gpa(device, "vkDestroyEvent"); 4736 table->DestroyFence = (PFN_vkDestroyFence) gpa(device, "vkDestroyFence"); 4737 table->DestroyFramebuffer = (PFN_vkDestroyFramebuffer) gpa(device, "vkDestroyFramebuffer"); 4738 table->DestroyImage = (PFN_vkDestroyImage) gpa(device, "vkDestroyImage"); 4739 table->DestroyImageView = (PFN_vkDestroyImageView) gpa(device, "vkDestroyImageView"); 4740 table->DestroyIndirectCommandsLayoutNV = (PFN_vkDestroyIndirectCommandsLayoutNV) gpa(device, "vkDestroyIndirectCommandsLayoutNV"); 4741 table->DestroyPipeline = (PFN_vkDestroyPipeline) gpa(device, "vkDestroyPipeline"); 4742 table->DestroyPipelineCache = (PFN_vkDestroyPipelineCache) gpa(device, "vkDestroyPipelineCache"); 4743 table->DestroyPipelineLayout = (PFN_vkDestroyPipelineLayout) gpa(device, "vkDestroyPipelineLayout"); 4744 table->DestroyPrivateDataSlotEXT = (PFN_vkDestroyPrivateDataSlotEXT) gpa(device, "vkDestroyPrivateDataSlotEXT"); 4745 table->DestroyQueryPool = (PFN_vkDestroyQueryPool) gpa(device, "vkDestroyQueryPool"); 4746 table->DestroyRenderPass = (PFN_vkDestroyRenderPass) gpa(device, "vkDestroyRenderPass"); 4747 table->DestroySampler = (PFN_vkDestroySampler) gpa(device, "vkDestroySampler"); 4748 table->DestroySamplerYcbcrConversion = (PFN_vkDestroySamplerYcbcrConversion) gpa(device, "vkDestroySamplerYcbcrConversion"); 4749 table->DestroySemaphore = (PFN_vkDestroySemaphore) gpa(device, "vkDestroySemaphore"); 4750 table->DestroyShaderModule = (PFN_vkDestroyShaderModule) gpa(device, "vkDestroyShaderModule"); 4751 table->DestroySwapchainKHR = (PFN_vkDestroySwapchainKHR) gpa(device, "vkDestroySwapchainKHR"); 4752 table->DestroyValidationCacheEXT = (PFN_vkDestroyValidationCacheEXT) gpa(device, "vkDestroyValidationCacheEXT"); 4753 table->DeviceWaitIdle = (PFN_vkDeviceWaitIdle) gpa(device, "vkDeviceWaitIdle"); 4754 table->DisplayPowerControlEXT = (PFN_vkDisplayPowerControlEXT) gpa(device, "vkDisplayPowerControlEXT"); 4755 table->EndCommandBuffer = (PFN_vkEndCommandBuffer) gpa(device, "vkEndCommandBuffer"); 4756 table->FlushMappedMemoryRanges = (PFN_vkFlushMappedMemoryRanges) gpa(device, "vkFlushMappedMemoryRanges"); 4757 table->FreeCommandBuffers = (PFN_vkFreeCommandBuffers) gpa(device, "vkFreeCommandBuffers"); 4758 table->FreeDescriptorSets = (PFN_vkFreeDescriptorSets) gpa(device, "vkFreeDescriptorSets"); 4759 table->FreeMemory = (PFN_vkFreeMemory) gpa(device, "vkFreeMemory"); 4760 #ifdef VK_ENABLE_BETA_EXTENSIONS 4761 table->GetAccelerationStructureDeviceAddressKHR = (PFN_vkGetAccelerationStructureDeviceAddressKHR) gpa(device, "vkGetAccelerationStructureDeviceAddressKHR"); 4762 #endif 4763 table->GetAccelerationStructureHandleNV = (PFN_vkGetAccelerationStructureHandleNV) gpa(device, "vkGetAccelerationStructureHandleNV"); 4764 #ifdef VK_ENABLE_BETA_EXTENSIONS 4765 table->GetAccelerationStructureMemoryRequirementsKHR = (PFN_vkGetAccelerationStructureMemoryRequirementsKHR) gpa(device, "vkGetAccelerationStructureMemoryRequirementsKHR"); 4766 #endif 4767 table->GetAccelerationStructureMemoryRequirementsNV = (PFN_vkGetAccelerationStructureMemoryRequirementsNV) gpa(device, "vkGetAccelerationStructureMemoryRequirementsNV"); 4768 #ifdef VK_USE_PLATFORM_ANDROID_KHR 4769 table->GetAndroidHardwareBufferPropertiesANDROID = (PFN_vkGetAndroidHardwareBufferPropertiesANDROID) gpa(device, "vkGetAndroidHardwareBufferPropertiesANDROID"); 4770 #endif 4771 table->GetBufferDeviceAddress = (PFN_vkGetBufferDeviceAddress) gpa(device, "vkGetBufferDeviceAddress"); 4772 table->GetBufferMemoryRequirements = (PFN_vkGetBufferMemoryRequirements) gpa(device, "vkGetBufferMemoryRequirements"); 4773 table->GetBufferMemoryRequirements2 = (PFN_vkGetBufferMemoryRequirements2) gpa(device, "vkGetBufferMemoryRequirements2"); 4774 table->GetBufferOpaqueCaptureAddress = (PFN_vkGetBufferOpaqueCaptureAddress) gpa(device, "vkGetBufferOpaqueCaptureAddress"); 4775 table->GetCalibratedTimestampsEXT = (PFN_vkGetCalibratedTimestampsEXT) gpa(device, "vkGetCalibratedTimestampsEXT"); 4776 #ifdef VK_ENABLE_BETA_EXTENSIONS 4777 table->GetDeferredOperationMaxConcurrencyKHR = (PFN_vkGetDeferredOperationMaxConcurrencyKHR) gpa(device, "vkGetDeferredOperationMaxConcurrencyKHR"); 4778 #endif 4779 #ifdef VK_ENABLE_BETA_EXTENSIONS 4780 table->GetDeferredOperationResultKHR = (PFN_vkGetDeferredOperationResultKHR) gpa(device, "vkGetDeferredOperationResultKHR"); 4781 #endif 4782 table->GetDescriptorSetLayoutSupport = (PFN_vkGetDescriptorSetLayoutSupport) gpa(device, "vkGetDescriptorSetLayoutSupport"); 4783 #ifdef VK_ENABLE_BETA_EXTENSIONS 4784 table->GetDeviceAccelerationStructureCompatibilityKHR = (PFN_vkGetDeviceAccelerationStructureCompatibilityKHR) gpa(device, "vkGetDeviceAccelerationStructureCompatibilityKHR"); 4785 #endif 4786 table->GetDeviceGroupPeerMemoryFeatures = (PFN_vkGetDeviceGroupPeerMemoryFeatures) gpa(device, "vkGetDeviceGroupPeerMemoryFeatures"); 4787 table->GetDeviceGroupPresentCapabilitiesKHR = (PFN_vkGetDeviceGroupPresentCapabilitiesKHR) gpa(device, "vkGetDeviceGroupPresentCapabilitiesKHR"); 4788 #ifdef VK_USE_PLATFORM_WIN32_KHR 4789 table->GetDeviceGroupSurfacePresentModes2EXT = (PFN_vkGetDeviceGroupSurfacePresentModes2EXT) gpa(device, "vkGetDeviceGroupSurfacePresentModes2EXT"); 4790 #endif 4791 table->GetDeviceGroupSurfacePresentModesKHR = (PFN_vkGetDeviceGroupSurfacePresentModesKHR) gpa(device, "vkGetDeviceGroupSurfacePresentModesKHR"); 4792 table->GetDeviceMemoryCommitment = (PFN_vkGetDeviceMemoryCommitment) gpa(device, "vkGetDeviceMemoryCommitment"); 4793 table->GetDeviceMemoryOpaqueCaptureAddress = (PFN_vkGetDeviceMemoryOpaqueCaptureAddress) gpa(device, "vkGetDeviceMemoryOpaqueCaptureAddress"); 4794 table->GetDeviceQueue = (PFN_vkGetDeviceQueue) gpa(device, "vkGetDeviceQueue"); 4795 table->GetDeviceQueue2 = (PFN_vkGetDeviceQueue2) gpa(device, "vkGetDeviceQueue2"); 4796 table->GetEventStatus = (PFN_vkGetEventStatus) gpa(device, "vkGetEventStatus"); 4797 table->GetFenceFdKHR = (PFN_vkGetFenceFdKHR) gpa(device, "vkGetFenceFdKHR"); 4798 table->GetFenceStatus = (PFN_vkGetFenceStatus) gpa(device, "vkGetFenceStatus"); 4799 #ifdef VK_USE_PLATFORM_WIN32_KHR 4800 table->GetFenceWin32HandleKHR = (PFN_vkGetFenceWin32HandleKHR) gpa(device, "vkGetFenceWin32HandleKHR"); 4801 #endif 4802 table->GetGeneratedCommandsMemoryRequirementsNV = (PFN_vkGetGeneratedCommandsMemoryRequirementsNV) gpa(device, "vkGetGeneratedCommandsMemoryRequirementsNV"); 4803 table->GetImageDrmFormatModifierPropertiesEXT = (PFN_vkGetImageDrmFormatModifierPropertiesEXT) gpa(device, "vkGetImageDrmFormatModifierPropertiesEXT"); 4804 table->GetImageMemoryRequirements = (PFN_vkGetImageMemoryRequirements) gpa(device, "vkGetImageMemoryRequirements"); 4805 table->GetImageMemoryRequirements2 = (PFN_vkGetImageMemoryRequirements2) gpa(device, "vkGetImageMemoryRequirements2"); 4806 table->GetImageSparseMemoryRequirements = (PFN_vkGetImageSparseMemoryRequirements) gpa(device, "vkGetImageSparseMemoryRequirements"); 4807 table->GetImageSparseMemoryRequirements2 = (PFN_vkGetImageSparseMemoryRequirements2) gpa(device, "vkGetImageSparseMemoryRequirements2"); 4808 table->GetImageSubresourceLayout = (PFN_vkGetImageSubresourceLayout) gpa(device, "vkGetImageSubresourceLayout"); 4809 table->GetImageViewAddressNVX = (PFN_vkGetImageViewAddressNVX) gpa(device, "vkGetImageViewAddressNVX"); 4810 table->GetImageViewHandleNVX = (PFN_vkGetImageViewHandleNVX) gpa(device, "vkGetImageViewHandleNVX"); 4811 #ifdef VK_USE_PLATFORM_ANDROID_KHR 4812 table->GetMemoryAndroidHardwareBufferANDROID = (PFN_vkGetMemoryAndroidHardwareBufferANDROID) gpa(device, "vkGetMemoryAndroidHardwareBufferANDROID"); 4813 #endif 4814 table->GetMemoryFdKHR = (PFN_vkGetMemoryFdKHR) gpa(device, "vkGetMemoryFdKHR"); 4815 table->GetMemoryFdPropertiesKHR = (PFN_vkGetMemoryFdPropertiesKHR) gpa(device, "vkGetMemoryFdPropertiesKHR"); 4816 table->GetMemoryHostPointerPropertiesEXT = (PFN_vkGetMemoryHostPointerPropertiesEXT) gpa(device, "vkGetMemoryHostPointerPropertiesEXT"); 4817 #ifdef VK_USE_PLATFORM_WIN32_KHR 4818 table->GetMemoryWin32HandleKHR = (PFN_vkGetMemoryWin32HandleKHR) gpa(device, "vkGetMemoryWin32HandleKHR"); 4819 #endif 4820 #ifdef VK_USE_PLATFORM_WIN32_KHR 4821 table->GetMemoryWin32HandleNV = (PFN_vkGetMemoryWin32HandleNV) gpa(device, "vkGetMemoryWin32HandleNV"); 4822 #endif 4823 #ifdef VK_USE_PLATFORM_WIN32_KHR 4824 table->GetMemoryWin32HandlePropertiesKHR = (PFN_vkGetMemoryWin32HandlePropertiesKHR) gpa(device, "vkGetMemoryWin32HandlePropertiesKHR"); 4825 #endif 4826 table->GetPastPresentationTimingGOOGLE = (PFN_vkGetPastPresentationTimingGOOGLE) gpa(device, "vkGetPastPresentationTimingGOOGLE"); 4827 table->GetPerformanceParameterINTEL = (PFN_vkGetPerformanceParameterINTEL) gpa(device, "vkGetPerformanceParameterINTEL"); 4828 table->GetPipelineCacheData = (PFN_vkGetPipelineCacheData) gpa(device, "vkGetPipelineCacheData"); 4829 table->GetPipelineExecutableInternalRepresentationsKHR = (PFN_vkGetPipelineExecutableInternalRepresentationsKHR) gpa(device, "vkGetPipelineExecutableInternalRepresentationsKHR"); 4830 table->GetPipelineExecutablePropertiesKHR = (PFN_vkGetPipelineExecutablePropertiesKHR) gpa(device, "vkGetPipelineExecutablePropertiesKHR"); 4831 table->GetPipelineExecutableStatisticsKHR = (PFN_vkGetPipelineExecutableStatisticsKHR) gpa(device, "vkGetPipelineExecutableStatisticsKHR"); 4832 table->GetPrivateDataEXT = (PFN_vkGetPrivateDataEXT) gpa(device, "vkGetPrivateDataEXT"); 4833 table->GetQueryPoolResults = (PFN_vkGetQueryPoolResults) gpa(device, "vkGetQueryPoolResults"); 4834 table->GetQueueCheckpointDataNV = (PFN_vkGetQueueCheckpointDataNV) gpa(device, "vkGetQueueCheckpointDataNV"); 4835 #ifdef VK_ENABLE_BETA_EXTENSIONS 4836 table->GetRayTracingCaptureReplayShaderGroupHandlesKHR = (PFN_vkGetRayTracingCaptureReplayShaderGroupHandlesKHR) gpa(device, "vkGetRayTracingCaptureReplayShaderGroupHandlesKHR"); 4837 #endif 4838 #ifdef VK_ENABLE_BETA_EXTENSIONS 4839 table->GetRayTracingShaderGroupHandlesKHR = (PFN_vkGetRayTracingShaderGroupHandlesKHR) gpa(device, "vkGetRayTracingShaderGroupHandlesKHR"); 4840 #endif 4841 table->GetRefreshCycleDurationGOOGLE = (PFN_vkGetRefreshCycleDurationGOOGLE) gpa(device, "vkGetRefreshCycleDurationGOOGLE"); 4842 table->GetRenderAreaGranularity = (PFN_vkGetRenderAreaGranularity) gpa(device, "vkGetRenderAreaGranularity"); 4843 table->GetSemaphoreCounterValue = (PFN_vkGetSemaphoreCounterValue) gpa(device, "vkGetSemaphoreCounterValue"); 4844 table->GetSemaphoreFdKHR = (PFN_vkGetSemaphoreFdKHR) gpa(device, "vkGetSemaphoreFdKHR"); 4845 #ifdef VK_USE_PLATFORM_WIN32_KHR 4846 table->GetSemaphoreWin32HandleKHR = (PFN_vkGetSemaphoreWin32HandleKHR) gpa(device, "vkGetSemaphoreWin32HandleKHR"); 4847 #endif 4848 table->GetShaderInfoAMD = (PFN_vkGetShaderInfoAMD) gpa(device, "vkGetShaderInfoAMD"); 4849 table->GetSwapchainCounterEXT = (PFN_vkGetSwapchainCounterEXT) gpa(device, "vkGetSwapchainCounterEXT"); 4850 table->GetSwapchainGrallocUsage2ANDROID = (PFN_vkGetSwapchainGrallocUsage2ANDROID) gpa(device, "vkGetSwapchainGrallocUsage2ANDROID"); 4851 table->GetSwapchainGrallocUsageANDROID = (PFN_vkGetSwapchainGrallocUsageANDROID) gpa(device, "vkGetSwapchainGrallocUsageANDROID"); 4852 table->GetSwapchainImagesKHR = (PFN_vkGetSwapchainImagesKHR) gpa(device, "vkGetSwapchainImagesKHR"); 4853 table->GetSwapchainStatusKHR = (PFN_vkGetSwapchainStatusKHR) gpa(device, "vkGetSwapchainStatusKHR"); 4854 table->GetValidationCacheDataEXT = (PFN_vkGetValidationCacheDataEXT) gpa(device, "vkGetValidationCacheDataEXT"); 4855 table->ImportFenceFdKHR = (PFN_vkImportFenceFdKHR) gpa(device, "vkImportFenceFdKHR"); 4856 #ifdef VK_USE_PLATFORM_WIN32_KHR 4857 table->ImportFenceWin32HandleKHR = (PFN_vkImportFenceWin32HandleKHR) gpa(device, "vkImportFenceWin32HandleKHR"); 4858 #endif 4859 table->ImportSemaphoreFdKHR = (PFN_vkImportSemaphoreFdKHR) gpa(device, "vkImportSemaphoreFdKHR"); 4860 #ifdef VK_USE_PLATFORM_WIN32_KHR 4861 table->ImportSemaphoreWin32HandleKHR = (PFN_vkImportSemaphoreWin32HandleKHR) gpa(device, "vkImportSemaphoreWin32HandleKHR"); 4862 #endif 4863 table->InitializePerformanceApiINTEL = (PFN_vkInitializePerformanceApiINTEL) gpa(device, "vkInitializePerformanceApiINTEL"); 4864 table->InvalidateMappedMemoryRanges = (PFN_vkInvalidateMappedMemoryRanges) gpa(device, "vkInvalidateMappedMemoryRanges"); 4865 table->MapMemory = (PFN_vkMapMemory) gpa(device, "vkMapMemory"); 4866 table->MergePipelineCaches = (PFN_vkMergePipelineCaches) gpa(device, "vkMergePipelineCaches"); 4867 table->MergeValidationCachesEXT = (PFN_vkMergeValidationCachesEXT) gpa(device, "vkMergeValidationCachesEXT"); 4868 table->QueueBeginDebugUtilsLabelEXT = (PFN_vkQueueBeginDebugUtilsLabelEXT) gpa(device, "vkQueueBeginDebugUtilsLabelEXT"); 4869 table->QueueBindSparse = (PFN_vkQueueBindSparse) gpa(device, "vkQueueBindSparse"); 4870 table->QueueEndDebugUtilsLabelEXT = (PFN_vkQueueEndDebugUtilsLabelEXT) gpa(device, "vkQueueEndDebugUtilsLabelEXT"); 4871 table->QueueInsertDebugUtilsLabelEXT = (PFN_vkQueueInsertDebugUtilsLabelEXT) gpa(device, "vkQueueInsertDebugUtilsLabelEXT"); 4872 table->QueuePresentKHR = (PFN_vkQueuePresentKHR) gpa(device, "vkQueuePresentKHR"); 4873 table->QueueSetPerformanceConfigurationINTEL = (PFN_vkQueueSetPerformanceConfigurationINTEL) gpa(device, "vkQueueSetPerformanceConfigurationINTEL"); 4874 table->QueueSignalReleaseImageANDROID = (PFN_vkQueueSignalReleaseImageANDROID) gpa(device, "vkQueueSignalReleaseImageANDROID"); 4875 table->QueueSubmit = (PFN_vkQueueSubmit) gpa(device, "vkQueueSubmit"); 4876 table->QueueWaitIdle = (PFN_vkQueueWaitIdle) gpa(device, "vkQueueWaitIdle"); 4877 table->RegisterDeviceEventEXT = (PFN_vkRegisterDeviceEventEXT) gpa(device, "vkRegisterDeviceEventEXT"); 4878 table->RegisterDisplayEventEXT = (PFN_vkRegisterDisplayEventEXT) gpa(device, "vkRegisterDisplayEventEXT"); 4879 #ifdef VK_USE_PLATFORM_WIN32_KHR 4880 table->ReleaseFullScreenExclusiveModeEXT = (PFN_vkReleaseFullScreenExclusiveModeEXT) gpa(device, "vkReleaseFullScreenExclusiveModeEXT"); 4881 #endif 4882 table->ReleasePerformanceConfigurationINTEL = (PFN_vkReleasePerformanceConfigurationINTEL) gpa(device, "vkReleasePerformanceConfigurationINTEL"); 4883 table->ReleaseProfilingLockKHR = (PFN_vkReleaseProfilingLockKHR) gpa(device, "vkReleaseProfilingLockKHR"); 4884 table->ResetCommandBuffer = (PFN_vkResetCommandBuffer) gpa(device, "vkResetCommandBuffer"); 4885 table->ResetCommandPool = (PFN_vkResetCommandPool) gpa(device, "vkResetCommandPool"); 4886 table->ResetDescriptorPool = (PFN_vkResetDescriptorPool) gpa(device, "vkResetDescriptorPool"); 4887 table->ResetEvent = (PFN_vkResetEvent) gpa(device, "vkResetEvent"); 4888 table->ResetFences = (PFN_vkResetFences) gpa(device, "vkResetFences"); 4889 table->ResetQueryPool = (PFN_vkResetQueryPool) gpa(device, "vkResetQueryPool"); 4890 table->SetDebugUtilsObjectNameEXT = (PFN_vkSetDebugUtilsObjectNameEXT) gpa(device, "vkSetDebugUtilsObjectNameEXT"); 4891 table->SetDebugUtilsObjectTagEXT = (PFN_vkSetDebugUtilsObjectTagEXT) gpa(device, "vkSetDebugUtilsObjectTagEXT"); 4892 table->SetEvent = (PFN_vkSetEvent) gpa(device, "vkSetEvent"); 4893 table->SetHdrMetadataEXT = (PFN_vkSetHdrMetadataEXT) gpa(device, "vkSetHdrMetadataEXT"); 4894 table->SetLocalDimmingAMD = (PFN_vkSetLocalDimmingAMD) gpa(device, "vkSetLocalDimmingAMD"); 4895 table->SetPrivateDataEXT = (PFN_vkSetPrivateDataEXT) gpa(device, "vkSetPrivateDataEXT"); 4896 table->SignalSemaphore = (PFN_vkSignalSemaphore) gpa(device, "vkSignalSemaphore"); 4897 table->TrimCommandPool = (PFN_vkTrimCommandPool) gpa(device, "vkTrimCommandPool"); 4898 table->UninitializePerformanceApiINTEL = (PFN_vkUninitializePerformanceApiINTEL) gpa(device, "vkUninitializePerformanceApiINTEL"); 4899 table->UnmapMemory = (PFN_vkUnmapMemory) gpa(device, "vkUnmapMemory"); 4900 table->UpdateDescriptorSetWithTemplate = (PFN_vkUpdateDescriptorSetWithTemplate) gpa(device, "vkUpdateDescriptorSetWithTemplate"); 4901 table->UpdateDescriptorSets = (PFN_vkUpdateDescriptorSets) gpa(device, "vkUpdateDescriptorSets"); 4902 table->WaitForFences = (PFN_vkWaitForFences) gpa(device, "vkWaitForFences"); 4903 table->WaitSemaphores = (PFN_vkWaitSemaphores) gpa(device, "vkWaitSemaphores"); 4904 #ifdef VK_ENABLE_BETA_EXTENSIONS 4905 table->WriteAccelerationStructuresPropertiesKHR = (PFN_vkWriteAccelerationStructuresPropertiesKHR) gpa(device, "vkWriteAccelerationStructuresPropertiesKHR"); 4906 #endif 4907 } 4908