summaryrefslogtreecommitdiff
path: root/lib/mesa/src/vulkan/util
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2020-08-26 06:03:18 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2020-08-26 06:03:18 +0000
commitaf5e8f5366b05c3d4f8521f318c143a5c5dc3ea9 (patch)
treec5691445908b1beca9facf0e5e3c5d7f35f74228 /lib/mesa/src/vulkan/util
parent27c93456b58343162f7c4ad20ca6bea0c9a91646 (diff)
Merge Mesa 20.1.6
Diffstat (limited to 'lib/mesa/src/vulkan/util')
-rw-r--r--lib/mesa/src/vulkan/util/gen_enum_to_str.py26
-rw-r--r--lib/mesa/src/vulkan/util/vk_enum_to_str.c4235
-rw-r--r--lib/mesa/src/vulkan/util/vk_enum_to_str.h726
3 files changed, 22 insertions, 4965 deletions
diff --git a/lib/mesa/src/vulkan/util/gen_enum_to_str.py b/lib/mesa/src/vulkan/util/gen_enum_to_str.py
index b65bc7f7e..ebaf2a1a0 100644
--- a/lib/mesa/src/vulkan/util/gen_enum_to_str.py
+++ b/lib/mesa/src/vulkan/util/gen_enum_to_str.py
@@ -25,7 +25,7 @@ from __future__ import print_function
import argparse
import os
import textwrap
-import xml.etree.cElementTree as et
+import xml.etree.ElementTree as et
from mako.template import Template
@@ -258,10 +258,23 @@ class VkEnum(object):
self.values = values or dict()
self.name_to_value = dict()
self.guard = None
+ self.name_to_alias_list = {}
def add_value(self, name, value=None,
- extnum=None, offset=None,
+ extnum=None, offset=None, alias=None,
error=False):
+ if alias is not None:
+ assert value is None and offset is None
+ if alias not in self.name_to_value:
+ # We don't have this alias yet. Just record the alias and
+ # we'll deal with it later.
+ alias_list = self.name_to_alias_list.get(alias, [])
+ alias_list.append(name);
+ return
+
+ # Use the value from the alias
+ value = self.name_to_value[alias]
+
assert value is not None or extnum is not None
if value is None:
value = 1000000000 + (extnum - 1) * 1000 + offset
@@ -274,14 +287,19 @@ class VkEnum(object):
elif len(self.values[value]) > len(name):
self.values[value] = name
+ # Now that the value has been fully added, resolve aliases, if any.
+ if name in self.name_to_alias_list:
+ for alias in self.name_to_alias_list[name]:
+ add_value(alias, value)
+ del self.name_to_alias_list[name]
+
def add_value_from_xml(self, elem, extension=None):
self.extension = extension
if 'value' in elem.attrib:
self.add_value(elem.attrib['name'],
value=int(elem.attrib['value'], base=0))
elif 'alias' in elem.attrib:
- self.add_value(elem.attrib['name'],
- value=self.name_to_value[elem.attrib['alias']])
+ self.add_value(elem.attrib['name'], alias=elem.attrib['alias'])
else:
error = 'dir' in elem.attrib and elem.attrib['dir'] == '-'
if 'extnumber' in elem.attrib:
diff --git a/lib/mesa/src/vulkan/util/vk_enum_to_str.c b/lib/mesa/src/vulkan/util/vk_enum_to_str.c
deleted file mode 100644
index 1d129655e..000000000
--- a/lib/mesa/src/vulkan/util/vk_enum_to_str.c
+++ /dev/null
@@ -1,4235 +0,0 @@
- /* Autogenerated file -- do not edit
- * generated by gen_enum_to_str.py
- *
- * Copyright © 2017 Intel Corporation
-*
-* Permission is hereby granted, free of charge, to any person obtaining a copy
-* of this software and associated documentation files (the "Software"), to deal
-* in the Software without restriction, including without limitation the rights
-* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-* copies of the Software, and to permit persons to whom the Software is
-* furnished to do so, subject to the following conditions:
-*
-* The above copyright notice and this permission notice shall be included in
-* all copies or substantial portions of the Software.
-*
-* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-* SOFTWARE.
- */
-
- #include <string.h>
- #include <vulkan/vulkan.h>
- #include <vulkan/vk_android_native_buffer.h>
- #include "util/macros.h"
- #include "vk_enum_to_str.h"
-
-
- const char *
- vk_AccelerationStructureMemoryRequirementsTypeNV_to_str(VkAccelerationStructureMemoryRequirementsTypeNV input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_OBJECT_NV";
- case 1:
- return "VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_BUILD_SCRATCH_NV";
- case 2:
- return "VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_UPDATE_SCRATCH_NV";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_AccelerationStructureTypeNV_to_str(VkAccelerationStructureTypeNV input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_ACCELERATION_STRUCTURE_TYPE_TOP_LEVEL_NV";
- case 1:
- return "VK_ACCELERATION_STRUCTURE_TYPE_BOTTOM_LEVEL_NV";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_AttachmentLoadOp_to_str(VkAttachmentLoadOp input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_ATTACHMENT_LOAD_OP_LOAD";
- case 1:
- return "VK_ATTACHMENT_LOAD_OP_CLEAR";
- case 2:
- return "VK_ATTACHMENT_LOAD_OP_DONT_CARE";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_AttachmentStoreOp_to_str(VkAttachmentStoreOp input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_ATTACHMENT_STORE_OP_STORE";
- case 1:
- return "VK_ATTACHMENT_STORE_OP_DONT_CARE";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_BlendFactor_to_str(VkBlendFactor input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_BLEND_FACTOR_ZERO";
- case 1:
- return "VK_BLEND_FACTOR_ONE";
- case 2:
- return "VK_BLEND_FACTOR_SRC_COLOR";
- case 3:
- return "VK_BLEND_FACTOR_ONE_MINUS_SRC_COLOR";
- case 4:
- return "VK_BLEND_FACTOR_DST_COLOR";
- case 5:
- return "VK_BLEND_FACTOR_ONE_MINUS_DST_COLOR";
- case 6:
- return "VK_BLEND_FACTOR_SRC_ALPHA";
- case 7:
- return "VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA";
- case 8:
- return "VK_BLEND_FACTOR_DST_ALPHA";
- case 9:
- return "VK_BLEND_FACTOR_ONE_MINUS_DST_ALPHA";
- case 10:
- return "VK_BLEND_FACTOR_CONSTANT_COLOR";
- case 11:
- return "VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR";
- case 12:
- return "VK_BLEND_FACTOR_CONSTANT_ALPHA";
- case 13:
- return "VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA";
- case 14:
- return "VK_BLEND_FACTOR_SRC_ALPHA_SATURATE";
- case 15:
- return "VK_BLEND_FACTOR_SRC1_COLOR";
- case 16:
- return "VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR";
- case 17:
- return "VK_BLEND_FACTOR_SRC1_ALPHA";
- case 18:
- return "VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_BlendOp_to_str(VkBlendOp input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_BLEND_OP_ADD";
- case 1:
- return "VK_BLEND_OP_SUBTRACT";
- case 2:
- return "VK_BLEND_OP_REVERSE_SUBTRACT";
- case 3:
- return "VK_BLEND_OP_MIN";
- case 4:
- return "VK_BLEND_OP_MAX";
- case 1000148000:
- return "VK_BLEND_OP_ZERO_EXT";
- case 1000148001:
- return "VK_BLEND_OP_SRC_EXT";
- case 1000148002:
- return "VK_BLEND_OP_DST_EXT";
- case 1000148003:
- return "VK_BLEND_OP_SRC_OVER_EXT";
- case 1000148004:
- return "VK_BLEND_OP_DST_OVER_EXT";
- case 1000148005:
- return "VK_BLEND_OP_SRC_IN_EXT";
- case 1000148006:
- return "VK_BLEND_OP_DST_IN_EXT";
- case 1000148007:
- return "VK_BLEND_OP_SRC_OUT_EXT";
- case 1000148008:
- return "VK_BLEND_OP_DST_OUT_EXT";
- case 1000148009:
- return "VK_BLEND_OP_SRC_ATOP_EXT";
- case 1000148010:
- return "VK_BLEND_OP_DST_ATOP_EXT";
- case 1000148011:
- return "VK_BLEND_OP_XOR_EXT";
- case 1000148012:
- return "VK_BLEND_OP_MULTIPLY_EXT";
- case 1000148013:
- return "VK_BLEND_OP_SCREEN_EXT";
- case 1000148014:
- return "VK_BLEND_OP_OVERLAY_EXT";
- case 1000148015:
- return "VK_BLEND_OP_DARKEN_EXT";
- case 1000148016:
- return "VK_BLEND_OP_LIGHTEN_EXT";
- case 1000148017:
- return "VK_BLEND_OP_COLORDODGE_EXT";
- case 1000148018:
- return "VK_BLEND_OP_COLORBURN_EXT";
- case 1000148019:
- return "VK_BLEND_OP_HARDLIGHT_EXT";
- case 1000148020:
- return "VK_BLEND_OP_SOFTLIGHT_EXT";
- case 1000148021:
- return "VK_BLEND_OP_DIFFERENCE_EXT";
- case 1000148022:
- return "VK_BLEND_OP_EXCLUSION_EXT";
- case 1000148023:
- return "VK_BLEND_OP_INVERT_EXT";
- case 1000148024:
- return "VK_BLEND_OP_INVERT_RGB_EXT";
- case 1000148025:
- return "VK_BLEND_OP_LINEARDODGE_EXT";
- case 1000148026:
- return "VK_BLEND_OP_LINEARBURN_EXT";
- case 1000148027:
- return "VK_BLEND_OP_VIVIDLIGHT_EXT";
- case 1000148028:
- return "VK_BLEND_OP_LINEARLIGHT_EXT";
- case 1000148029:
- return "VK_BLEND_OP_PINLIGHT_EXT";
- case 1000148030:
- return "VK_BLEND_OP_HARDMIX_EXT";
- case 1000148031:
- return "VK_BLEND_OP_HSL_HUE_EXT";
- case 1000148032:
- return "VK_BLEND_OP_HSL_SATURATION_EXT";
- case 1000148033:
- return "VK_BLEND_OP_HSL_COLOR_EXT";
- case 1000148034:
- return "VK_BLEND_OP_HSL_LUMINOSITY_EXT";
- case 1000148035:
- return "VK_BLEND_OP_PLUS_EXT";
- case 1000148036:
- return "VK_BLEND_OP_PLUS_CLAMPED_EXT";
- case 1000148037:
- return "VK_BLEND_OP_PLUS_CLAMPED_ALPHA_EXT";
- case 1000148038:
- return "VK_BLEND_OP_PLUS_DARKER_EXT";
- case 1000148039:
- return "VK_BLEND_OP_MINUS_EXT";
- case 1000148040:
- return "VK_BLEND_OP_MINUS_CLAMPED_EXT";
- case 1000148041:
- return "VK_BLEND_OP_CONTRAST_EXT";
- case 1000148042:
- return "VK_BLEND_OP_INVERT_OVG_EXT";
- case 1000148043:
- return "VK_BLEND_OP_RED_EXT";
- case 1000148044:
- return "VK_BLEND_OP_GREEN_EXT";
- case 1000148045:
- return "VK_BLEND_OP_BLUE_EXT";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_BlendOverlapEXT_to_str(VkBlendOverlapEXT input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_BLEND_OVERLAP_UNCORRELATED_EXT";
- case 1:
- return "VK_BLEND_OVERLAP_DISJOINT_EXT";
- case 2:
- return "VK_BLEND_OVERLAP_CONJOINT_EXT";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_BorderColor_to_str(VkBorderColor input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK";
- case 1:
- return "VK_BORDER_COLOR_INT_TRANSPARENT_BLACK";
- case 2:
- return "VK_BORDER_COLOR_FLOAT_OPAQUE_BLACK";
- case 3:
- return "VK_BORDER_COLOR_INT_OPAQUE_BLACK";
- case 4:
- return "VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE";
- case 5:
- return "VK_BORDER_COLOR_INT_OPAQUE_WHITE";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_ChromaLocation_to_str(VkChromaLocation input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_CHROMA_LOCATION_COSITED_EVEN";
- case 1:
- return "VK_CHROMA_LOCATION_MIDPOINT";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_CoarseSampleOrderTypeNV_to_str(VkCoarseSampleOrderTypeNV input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_COARSE_SAMPLE_ORDER_TYPE_DEFAULT_NV";
- case 1:
- return "VK_COARSE_SAMPLE_ORDER_TYPE_CUSTOM_NV";
- case 2:
- return "VK_COARSE_SAMPLE_ORDER_TYPE_PIXEL_MAJOR_NV";
- case 3:
- return "VK_COARSE_SAMPLE_ORDER_TYPE_SAMPLE_MAJOR_NV";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_ColorSpaceKHR_to_str(VkColorSpaceKHR input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_COLORSPACE_SRGB_NONLINEAR_KHR";
- case 1000104001:
- return "VK_COLOR_SPACE_DISPLAY_P3_NONLINEAR_EXT";
- case 1000104002:
- return "VK_COLOR_SPACE_EXTENDED_SRGB_LINEAR_EXT";
- case 1000104003:
- return "VK_COLOR_SPACE_DCI_P3_LINEAR_EXT";
- case 1000104004:
- return "VK_COLOR_SPACE_DCI_P3_NONLINEAR_EXT";
- case 1000104005:
- return "VK_COLOR_SPACE_BT709_LINEAR_EXT";
- case 1000104006:
- return "VK_COLOR_SPACE_BT709_NONLINEAR_EXT";
- case 1000104007:
- return "VK_COLOR_SPACE_BT2020_LINEAR_EXT";
- case 1000104008:
- return "VK_COLOR_SPACE_HDR10_ST2084_EXT";
- case 1000104009:
- return "VK_COLOR_SPACE_DOLBYVISION_EXT";
- case 1000104010:
- return "VK_COLOR_SPACE_HDR10_HLG_EXT";
- case 1000104011:
- return "VK_COLOR_SPACE_ADOBERGB_LINEAR_EXT";
- case 1000104012:
- return "VK_COLOR_SPACE_ADOBERGB_NONLINEAR_EXT";
- case 1000104013:
- return "VK_COLOR_SPACE_PASS_THROUGH_EXT";
- case 1000104014:
- return "VK_COLOR_SPACE_EXTENDED_SRGB_NONLINEAR_EXT";
- case 1000213000:
- return "VK_COLOR_SPACE_DISPLAY_NATIVE_AMD";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_CommandBufferLevel_to_str(VkCommandBufferLevel input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_COMMAND_BUFFER_LEVEL_PRIMARY";
- case 1:
- return "VK_COMMAND_BUFFER_LEVEL_SECONDARY";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_CompareOp_to_str(VkCompareOp input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_COMPARE_OP_NEVER";
- case 1:
- return "VK_COMPARE_OP_LESS";
- case 2:
- return "VK_COMPARE_OP_EQUAL";
- case 3:
- return "VK_COMPARE_OP_LESS_OR_EQUAL";
- case 4:
- return "VK_COMPARE_OP_GREATER";
- case 5:
- return "VK_COMPARE_OP_NOT_EQUAL";
- case 6:
- return "VK_COMPARE_OP_GREATER_OR_EQUAL";
- case 7:
- return "VK_COMPARE_OP_ALWAYS";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_ComponentSwizzle_to_str(VkComponentSwizzle input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_COMPONENT_SWIZZLE_IDENTITY";
- case 1:
- return "VK_COMPONENT_SWIZZLE_ZERO";
- case 2:
- return "VK_COMPONENT_SWIZZLE_ONE";
- case 3:
- return "VK_COMPONENT_SWIZZLE_R";
- case 4:
- return "VK_COMPONENT_SWIZZLE_G";
- case 5:
- return "VK_COMPONENT_SWIZZLE_B";
- case 6:
- return "VK_COMPONENT_SWIZZLE_A";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_ComponentTypeNV_to_str(VkComponentTypeNV input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_COMPONENT_TYPE_FLOAT16_NV";
- case 1:
- return "VK_COMPONENT_TYPE_FLOAT32_NV";
- case 2:
- return "VK_COMPONENT_TYPE_FLOAT64_NV";
- case 3:
- return "VK_COMPONENT_TYPE_SINT8_NV";
- case 4:
- return "VK_COMPONENT_TYPE_SINT16_NV";
- case 5:
- return "VK_COMPONENT_TYPE_SINT32_NV";
- case 6:
- return "VK_COMPONENT_TYPE_SINT64_NV";
- case 7:
- return "VK_COMPONENT_TYPE_UINT8_NV";
- case 8:
- return "VK_COMPONENT_TYPE_UINT16_NV";
- case 9:
- return "VK_COMPONENT_TYPE_UINT32_NV";
- case 10:
- return "VK_COMPONENT_TYPE_UINT64_NV";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_ConservativeRasterizationModeEXT_to_str(VkConservativeRasterizationModeEXT input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT";
- case 1:
- return "VK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT";
- case 2:
- return "VK_CONSERVATIVE_RASTERIZATION_MODE_UNDERESTIMATE_EXT";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_CopyAccelerationStructureModeNV_to_str(VkCopyAccelerationStructureModeNV input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_COPY_ACCELERATION_STRUCTURE_MODE_CLONE_NV";
- case 1:
- return "VK_COPY_ACCELERATION_STRUCTURE_MODE_COMPACT_NV";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_CoverageModulationModeNV_to_str(VkCoverageModulationModeNV input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_COVERAGE_MODULATION_MODE_NONE_NV";
- case 1:
- return "VK_COVERAGE_MODULATION_MODE_RGB_NV";
- case 2:
- return "VK_COVERAGE_MODULATION_MODE_ALPHA_NV";
- case 3:
- return "VK_COVERAGE_MODULATION_MODE_RGBA_NV";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_CoverageReductionModeNV_to_str(VkCoverageReductionModeNV input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_COVERAGE_REDUCTION_MODE_MERGE_NV";
- case 1:
- return "VK_COVERAGE_REDUCTION_MODE_TRUNCATE_NV";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_DebugReportObjectTypeEXT_to_str(VkDebugReportObjectTypeEXT input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT";
- case 1:
- return "VK_DEBUG_REPORT_OBJECT_TYPE_INSTANCE_EXT";
- case 2:
- return "VK_DEBUG_REPORT_OBJECT_TYPE_PHYSICAL_DEVICE_EXT";
- case 3:
- return "VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT";
- case 4:
- return "VK_DEBUG_REPORT_OBJECT_TYPE_QUEUE_EXT";
- case 5:
- return "VK_DEBUG_REPORT_OBJECT_TYPE_SEMAPHORE_EXT";
- case 6:
- return "VK_DEBUG_REPORT_OBJECT_TYPE_COMMAND_BUFFER_EXT";
- case 7:
- return "VK_DEBUG_REPORT_OBJECT_TYPE_FENCE_EXT";
- case 8:
- return "VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_MEMORY_EXT";
- case 9:
- return "VK_DEBUG_REPORT_OBJECT_TYPE_BUFFER_EXT";
- case 10:
- return "VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_EXT";
- case 11:
- return "VK_DEBUG_REPORT_OBJECT_TYPE_EVENT_EXT";
- case 12:
- return "VK_DEBUG_REPORT_OBJECT_TYPE_QUERY_POOL_EXT";
- case 13:
- return "VK_DEBUG_REPORT_OBJECT_TYPE_BUFFER_VIEW_EXT";
- case 14:
- return "VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_VIEW_EXT";
- case 15:
- return "VK_DEBUG_REPORT_OBJECT_TYPE_SHADER_MODULE_EXT";
- case 16:
- return "VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_CACHE_EXT";
- case 17:
- return "VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_LAYOUT_EXT";
- case 18:
- return "VK_DEBUG_REPORT_OBJECT_TYPE_RENDER_PASS_EXT";
- case 19:
- return "VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_EXT";
- case 20:
- return "VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT_EXT";
- case 21:
- return "VK_DEBUG_REPORT_OBJECT_TYPE_SAMPLER_EXT";
- case 22:
- return "VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_POOL_EXT";
- case 23:
- return "VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_EXT";
- case 24:
- return "VK_DEBUG_REPORT_OBJECT_TYPE_FRAMEBUFFER_EXT";
- case 25:
- return "VK_DEBUG_REPORT_OBJECT_TYPE_COMMAND_POOL_EXT";
- case 26:
- return "VK_DEBUG_REPORT_OBJECT_TYPE_SURFACE_KHR_EXT";
- case 27:
- return "VK_DEBUG_REPORT_OBJECT_TYPE_SWAPCHAIN_KHR_EXT";
- case 28:
- return "VK_DEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_EXT";
- case 29:
- return "VK_DEBUG_REPORT_OBJECT_TYPE_DISPLAY_KHR_EXT";
- case 30:
- return "VK_DEBUG_REPORT_OBJECT_TYPE_DISPLAY_MODE_KHR_EXT";
- case 31:
- return "VK_DEBUG_REPORT_OBJECT_TYPE_OBJECT_TABLE_NVX_EXT";
- case 32:
- return "VK_DEBUG_REPORT_OBJECT_TYPE_INDIRECT_COMMANDS_LAYOUT_NVX_EXT";
- case 33:
- return "VK_DEBUG_REPORT_OBJECT_TYPE_VALIDATION_CACHE_EXT";
- case 1000085000:
- return "VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_EXT";
- case 1000156000:
- return "VK_DEBUG_REPORT_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_EXT";
- case 1000165000:
- return "VK_DEBUG_REPORT_OBJECT_TYPE_ACCELERATION_STRUCTURE_NV_EXT";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_DescriptorType_to_str(VkDescriptorType input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_DESCRIPTOR_TYPE_SAMPLER";
- case 1:
- return "VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER";
- case 2:
- return "VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE";
- case 3:
- return "VK_DESCRIPTOR_TYPE_STORAGE_IMAGE";
- case 4:
- return "VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER";
- case 5:
- return "VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER";
- case 6:
- return "VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER";
- case 7:
- return "VK_DESCRIPTOR_TYPE_STORAGE_BUFFER";
- case 8:
- return "VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC";
- case 9:
- return "VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC";
- case 10:
- return "VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT";
- case 1000138000:
- return "VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT";
- case 1000165000:
- return "VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_NV";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_DescriptorUpdateTemplateType_to_str(VkDescriptorUpdateTemplateType input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET";
- case 1:
- return "VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_DeviceEventTypeEXT_to_str(VkDeviceEventTypeEXT input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_DEVICE_EVENT_TYPE_DISPLAY_HOTPLUG_EXT";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_DiscardRectangleModeEXT_to_str(VkDiscardRectangleModeEXT input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_DISCARD_RECTANGLE_MODE_INCLUSIVE_EXT";
- case 1:
- return "VK_DISCARD_RECTANGLE_MODE_EXCLUSIVE_EXT";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_DisplayEventTypeEXT_to_str(VkDisplayEventTypeEXT input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_DISPLAY_EVENT_TYPE_FIRST_PIXEL_OUT_EXT";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_DisplayPowerStateEXT_to_str(VkDisplayPowerStateEXT input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_DISPLAY_POWER_STATE_OFF_EXT";
- case 1:
- return "VK_DISPLAY_POWER_STATE_SUSPEND_EXT";
- case 2:
- return "VK_DISPLAY_POWER_STATE_ON_EXT";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_DriverIdKHR_to_str(VkDriverIdKHR input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 1:
- return "VK_DRIVER_ID_AMD_PROPRIETARY_KHR";
- case 2:
- return "VK_DRIVER_ID_AMD_OPEN_SOURCE_KHR";
- case 3:
- return "VK_DRIVER_ID_MESA_RADV_KHR";
- case 4:
- return "VK_DRIVER_ID_NVIDIA_PROPRIETARY_KHR";
- case 5:
- return "VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS_KHR";
- case 6:
- return "VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA_KHR";
- case 7:
- return "VK_DRIVER_ID_IMAGINATION_PROPRIETARY_KHR";
- case 8:
- return "VK_DRIVER_ID_QUALCOMM_PROPRIETARY_KHR";
- case 9:
- return "VK_DRIVER_ID_ARM_PROPRIETARY_KHR";
- case 10:
- return "VK_DRIVER_ID_GOOGLE_SWIFTSHADER_KHR";
- case 11:
- return "VK_DRIVER_ID_GGP_PROPRIETARY_KHR";
- case 12:
- return "VK_DRIVER_ID_BROADCOM_PROPRIETARY_KHR";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_DynamicState_to_str(VkDynamicState input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_DYNAMIC_STATE_VIEWPORT";
- case 1:
- return "VK_DYNAMIC_STATE_SCISSOR";
- case 2:
- return "VK_DYNAMIC_STATE_LINE_WIDTH";
- case 3:
- return "VK_DYNAMIC_STATE_DEPTH_BIAS";
- case 4:
- return "VK_DYNAMIC_STATE_BLEND_CONSTANTS";
- case 5:
- return "VK_DYNAMIC_STATE_DEPTH_BOUNDS";
- case 6:
- return "VK_DYNAMIC_STATE_STENCIL_COMPARE_MASK";
- case 7:
- return "VK_DYNAMIC_STATE_STENCIL_WRITE_MASK";
- case 8:
- return "VK_DYNAMIC_STATE_STENCIL_REFERENCE";
- case 1000087000:
- return "VK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NV";
- case 1000099000:
- return "VK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXT";
- case 1000143000:
- return "VK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT";
- case 1000164004:
- return "VK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NV";
- case 1000164006:
- return "VK_DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NV";
- case 1000205001:
- return "VK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NV";
- case 1000259000:
- return "VK_DYNAMIC_STATE_LINE_STIPPLE_EXT";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_Filter_to_str(VkFilter input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_FILTER_NEAREST";
- case 1:
- return "VK_FILTER_LINEAR";
- case 1000015000:
- return "VK_FILTER_CUBIC_IMG";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_Format_to_str(VkFormat input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_FORMAT_UNDEFINED";
- case 1:
- return "VK_FORMAT_R4G4_UNORM_PACK8";
- case 2:
- return "VK_FORMAT_R4G4B4A4_UNORM_PACK16";
- case 3:
- return "VK_FORMAT_B4G4R4A4_UNORM_PACK16";
- case 4:
- return "VK_FORMAT_R5G6B5_UNORM_PACK16";
- case 5:
- return "VK_FORMAT_B5G6R5_UNORM_PACK16";
- case 6:
- return "VK_FORMAT_R5G5B5A1_UNORM_PACK16";
- case 7:
- return "VK_FORMAT_B5G5R5A1_UNORM_PACK16";
- case 8:
- return "VK_FORMAT_A1R5G5B5_UNORM_PACK16";
- case 9:
- return "VK_FORMAT_R8_UNORM";
- case 10:
- return "VK_FORMAT_R8_SNORM";
- case 11:
- return "VK_FORMAT_R8_USCALED";
- case 12:
- return "VK_FORMAT_R8_SSCALED";
- case 13:
- return "VK_FORMAT_R8_UINT";
- case 14:
- return "VK_FORMAT_R8_SINT";
- case 15:
- return "VK_FORMAT_R8_SRGB";
- case 16:
- return "VK_FORMAT_R8G8_UNORM";
- case 17:
- return "VK_FORMAT_R8G8_SNORM";
- case 18:
- return "VK_FORMAT_R8G8_USCALED";
- case 19:
- return "VK_FORMAT_R8G8_SSCALED";
- case 20:
- return "VK_FORMAT_R8G8_UINT";
- case 21:
- return "VK_FORMAT_R8G8_SINT";
- case 22:
- return "VK_FORMAT_R8G8_SRGB";
- case 23:
- return "VK_FORMAT_R8G8B8_UNORM";
- case 24:
- return "VK_FORMAT_R8G8B8_SNORM";
- case 25:
- return "VK_FORMAT_R8G8B8_USCALED";
- case 26:
- return "VK_FORMAT_R8G8B8_SSCALED";
- case 27:
- return "VK_FORMAT_R8G8B8_UINT";
- case 28:
- return "VK_FORMAT_R8G8B8_SINT";
- case 29:
- return "VK_FORMAT_R8G8B8_SRGB";
- case 30:
- return "VK_FORMAT_B8G8R8_UNORM";
- case 31:
- return "VK_FORMAT_B8G8R8_SNORM";
- case 32:
- return "VK_FORMAT_B8G8R8_USCALED";
- case 33:
- return "VK_FORMAT_B8G8R8_SSCALED";
- case 34:
- return "VK_FORMAT_B8G8R8_UINT";
- case 35:
- return "VK_FORMAT_B8G8R8_SINT";
- case 36:
- return "VK_FORMAT_B8G8R8_SRGB";
- case 37:
- return "VK_FORMAT_R8G8B8A8_UNORM";
- case 38:
- return "VK_FORMAT_R8G8B8A8_SNORM";
- case 39:
- return "VK_FORMAT_R8G8B8A8_USCALED";
- case 40:
- return "VK_FORMAT_R8G8B8A8_SSCALED";
- case 41:
- return "VK_FORMAT_R8G8B8A8_UINT";
- case 42:
- return "VK_FORMAT_R8G8B8A8_SINT";
- case 43:
- return "VK_FORMAT_R8G8B8A8_SRGB";
- case 44:
- return "VK_FORMAT_B8G8R8A8_UNORM";
- case 45:
- return "VK_FORMAT_B8G8R8A8_SNORM";
- case 46:
- return "VK_FORMAT_B8G8R8A8_USCALED";
- case 47:
- return "VK_FORMAT_B8G8R8A8_SSCALED";
- case 48:
- return "VK_FORMAT_B8G8R8A8_UINT";
- case 49:
- return "VK_FORMAT_B8G8R8A8_SINT";
- case 50:
- return "VK_FORMAT_B8G8R8A8_SRGB";
- case 51:
- return "VK_FORMAT_A8B8G8R8_UNORM_PACK32";
- case 52:
- return "VK_FORMAT_A8B8G8R8_SNORM_PACK32";
- case 53:
- return "VK_FORMAT_A8B8G8R8_USCALED_PACK32";
- case 54:
- return "VK_FORMAT_A8B8G8R8_SSCALED_PACK32";
- case 55:
- return "VK_FORMAT_A8B8G8R8_UINT_PACK32";
- case 56:
- return "VK_FORMAT_A8B8G8R8_SINT_PACK32";
- case 57:
- return "VK_FORMAT_A8B8G8R8_SRGB_PACK32";
- case 58:
- return "VK_FORMAT_A2R10G10B10_UNORM_PACK32";
- case 59:
- return "VK_FORMAT_A2R10G10B10_SNORM_PACK32";
- case 60:
- return "VK_FORMAT_A2R10G10B10_USCALED_PACK32";
- case 61:
- return "VK_FORMAT_A2R10G10B10_SSCALED_PACK32";
- case 62:
- return "VK_FORMAT_A2R10G10B10_UINT_PACK32";
- case 63:
- return "VK_FORMAT_A2R10G10B10_SINT_PACK32";
- case 64:
- return "VK_FORMAT_A2B10G10R10_UNORM_PACK32";
- case 65:
- return "VK_FORMAT_A2B10G10R10_SNORM_PACK32";
- case 66:
- return "VK_FORMAT_A2B10G10R10_USCALED_PACK32";
- case 67:
- return "VK_FORMAT_A2B10G10R10_SSCALED_PACK32";
- case 68:
- return "VK_FORMAT_A2B10G10R10_UINT_PACK32";
- case 69:
- return "VK_FORMAT_A2B10G10R10_SINT_PACK32";
- case 70:
- return "VK_FORMAT_R16_UNORM";
- case 71:
- return "VK_FORMAT_R16_SNORM";
- case 72:
- return "VK_FORMAT_R16_USCALED";
- case 73:
- return "VK_FORMAT_R16_SSCALED";
- case 74:
- return "VK_FORMAT_R16_UINT";
- case 75:
- return "VK_FORMAT_R16_SINT";
- case 76:
- return "VK_FORMAT_R16_SFLOAT";
- case 77:
- return "VK_FORMAT_R16G16_UNORM";
- case 78:
- return "VK_FORMAT_R16G16_SNORM";
- case 79:
- return "VK_FORMAT_R16G16_USCALED";
- case 80:
- return "VK_FORMAT_R16G16_SSCALED";
- case 81:
- return "VK_FORMAT_R16G16_UINT";
- case 82:
- return "VK_FORMAT_R16G16_SINT";
- case 83:
- return "VK_FORMAT_R16G16_SFLOAT";
- case 84:
- return "VK_FORMAT_R16G16B16_UNORM";
- case 85:
- return "VK_FORMAT_R16G16B16_SNORM";
- case 86:
- return "VK_FORMAT_R16G16B16_USCALED";
- case 87:
- return "VK_FORMAT_R16G16B16_SSCALED";
- case 88:
- return "VK_FORMAT_R16G16B16_UINT";
- case 89:
- return "VK_FORMAT_R16G16B16_SINT";
- case 90:
- return "VK_FORMAT_R16G16B16_SFLOAT";
- case 91:
- return "VK_FORMAT_R16G16B16A16_UNORM";
- case 92:
- return "VK_FORMAT_R16G16B16A16_SNORM";
- case 93:
- return "VK_FORMAT_R16G16B16A16_USCALED";
- case 94:
- return "VK_FORMAT_R16G16B16A16_SSCALED";
- case 95:
- return "VK_FORMAT_R16G16B16A16_UINT";
- case 96:
- return "VK_FORMAT_R16G16B16A16_SINT";
- case 97:
- return "VK_FORMAT_R16G16B16A16_SFLOAT";
- case 98:
- return "VK_FORMAT_R32_UINT";
- case 99:
- return "VK_FORMAT_R32_SINT";
- case 100:
- return "VK_FORMAT_R32_SFLOAT";
- case 101:
- return "VK_FORMAT_R32G32_UINT";
- case 102:
- return "VK_FORMAT_R32G32_SINT";
- case 103:
- return "VK_FORMAT_R32G32_SFLOAT";
- case 104:
- return "VK_FORMAT_R32G32B32_UINT";
- case 105:
- return "VK_FORMAT_R32G32B32_SINT";
- case 106:
- return "VK_FORMAT_R32G32B32_SFLOAT";
- case 107:
- return "VK_FORMAT_R32G32B32A32_UINT";
- case 108:
- return "VK_FORMAT_R32G32B32A32_SINT";
- case 109:
- return "VK_FORMAT_R32G32B32A32_SFLOAT";
- case 110:
- return "VK_FORMAT_R64_UINT";
- case 111:
- return "VK_FORMAT_R64_SINT";
- case 112:
- return "VK_FORMAT_R64_SFLOAT";
- case 113:
- return "VK_FORMAT_R64G64_UINT";
- case 114:
- return "VK_FORMAT_R64G64_SINT";
- case 115:
- return "VK_FORMAT_R64G64_SFLOAT";
- case 116:
- return "VK_FORMAT_R64G64B64_UINT";
- case 117:
- return "VK_FORMAT_R64G64B64_SINT";
- case 118:
- return "VK_FORMAT_R64G64B64_SFLOAT";
- case 119:
- return "VK_FORMAT_R64G64B64A64_UINT";
- case 120:
- return "VK_FORMAT_R64G64B64A64_SINT";
- case 121:
- return "VK_FORMAT_R64G64B64A64_SFLOAT";
- case 122:
- return "VK_FORMAT_B10G11R11_UFLOAT_PACK32";
- case 123:
- return "VK_FORMAT_E5B9G9R9_UFLOAT_PACK32";
- case 124:
- return "VK_FORMAT_D16_UNORM";
- case 125:
- return "VK_FORMAT_X8_D24_UNORM_PACK32";
- case 126:
- return "VK_FORMAT_D32_SFLOAT";
- case 127:
- return "VK_FORMAT_S8_UINT";
- case 128:
- return "VK_FORMAT_D16_UNORM_S8_UINT";
- case 129:
- return "VK_FORMAT_D24_UNORM_S8_UINT";
- case 130:
- return "VK_FORMAT_D32_SFLOAT_S8_UINT";
- case 131:
- return "VK_FORMAT_BC1_RGB_UNORM_BLOCK";
- case 132:
- return "VK_FORMAT_BC1_RGB_SRGB_BLOCK";
- case 133:
- return "VK_FORMAT_BC1_RGBA_UNORM_BLOCK";
- case 134:
- return "VK_FORMAT_BC1_RGBA_SRGB_BLOCK";
- case 135:
- return "VK_FORMAT_BC2_UNORM_BLOCK";
- case 136:
- return "VK_FORMAT_BC2_SRGB_BLOCK";
- case 137:
- return "VK_FORMAT_BC3_UNORM_BLOCK";
- case 138:
- return "VK_FORMAT_BC3_SRGB_BLOCK";
- case 139:
- return "VK_FORMAT_BC4_UNORM_BLOCK";
- case 140:
- return "VK_FORMAT_BC4_SNORM_BLOCK";
- case 141:
- return "VK_FORMAT_BC5_UNORM_BLOCK";
- case 142:
- return "VK_FORMAT_BC5_SNORM_BLOCK";
- case 143:
- return "VK_FORMAT_BC6H_UFLOAT_BLOCK";
- case 144:
- return "VK_FORMAT_BC6H_SFLOAT_BLOCK";
- case 145:
- return "VK_FORMAT_BC7_UNORM_BLOCK";
- case 146:
- return "VK_FORMAT_BC7_SRGB_BLOCK";
- case 147:
- return "VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK";
- case 148:
- return "VK_FORMAT_ETC2_R8G8B8_SRGB_BLOCK";
- case 149:
- return "VK_FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK";
- case 150:
- return "VK_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK";
- case 151:
- return "VK_FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK";
- case 152:
- return "VK_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK";
- case 153:
- return "VK_FORMAT_EAC_R11_UNORM_BLOCK";
- case 154:
- return "VK_FORMAT_EAC_R11_SNORM_BLOCK";
- case 155:
- return "VK_FORMAT_EAC_R11G11_UNORM_BLOCK";
- case 156:
- return "VK_FORMAT_EAC_R11G11_SNORM_BLOCK";
- case 157:
- return "VK_FORMAT_ASTC_4x4_UNORM_BLOCK";
- case 158:
- return "VK_FORMAT_ASTC_4x4_SRGB_BLOCK";
- case 159:
- return "VK_FORMAT_ASTC_5x4_UNORM_BLOCK";
- case 160:
- return "VK_FORMAT_ASTC_5x4_SRGB_BLOCK";
- case 161:
- return "VK_FORMAT_ASTC_5x5_UNORM_BLOCK";
- case 162:
- return "VK_FORMAT_ASTC_5x5_SRGB_BLOCK";
- case 163:
- return "VK_FORMAT_ASTC_6x5_UNORM_BLOCK";
- case 164:
- return "VK_FORMAT_ASTC_6x5_SRGB_BLOCK";
- case 165:
- return "VK_FORMAT_ASTC_6x6_UNORM_BLOCK";
- case 166:
- return "VK_FORMAT_ASTC_6x6_SRGB_BLOCK";
- case 167:
- return "VK_FORMAT_ASTC_8x5_UNORM_BLOCK";
- case 168:
- return "VK_FORMAT_ASTC_8x5_SRGB_BLOCK";
- case 169:
- return "VK_FORMAT_ASTC_8x6_UNORM_BLOCK";
- case 170:
- return "VK_FORMAT_ASTC_8x6_SRGB_BLOCK";
- case 171:
- return "VK_FORMAT_ASTC_8x8_UNORM_BLOCK";
- case 172:
- return "VK_FORMAT_ASTC_8x8_SRGB_BLOCK";
- case 173:
- return "VK_FORMAT_ASTC_10x5_UNORM_BLOCK";
- case 174:
- return "VK_FORMAT_ASTC_10x5_SRGB_BLOCK";
- case 175:
- return "VK_FORMAT_ASTC_10x6_UNORM_BLOCK";
- case 176:
- return "VK_FORMAT_ASTC_10x6_SRGB_BLOCK";
- case 177:
- return "VK_FORMAT_ASTC_10x8_UNORM_BLOCK";
- case 178:
- return "VK_FORMAT_ASTC_10x8_SRGB_BLOCK";
- case 179:
- return "VK_FORMAT_ASTC_10x10_UNORM_BLOCK";
- case 180:
- return "VK_FORMAT_ASTC_10x10_SRGB_BLOCK";
- case 181:
- return "VK_FORMAT_ASTC_12x10_UNORM_BLOCK";
- case 182:
- return "VK_FORMAT_ASTC_12x10_SRGB_BLOCK";
- case 183:
- return "VK_FORMAT_ASTC_12x12_UNORM_BLOCK";
- case 184:
- return "VK_FORMAT_ASTC_12x12_SRGB_BLOCK";
- case 1000054000:
- return "VK_FORMAT_PVRTC1_2BPP_UNORM_BLOCK_IMG";
- case 1000054001:
- return "VK_FORMAT_PVRTC1_4BPP_UNORM_BLOCK_IMG";
- case 1000054002:
- return "VK_FORMAT_PVRTC2_2BPP_UNORM_BLOCK_IMG";
- case 1000054003:
- return "VK_FORMAT_PVRTC2_4BPP_UNORM_BLOCK_IMG";
- case 1000054004:
- return "VK_FORMAT_PVRTC1_2BPP_SRGB_BLOCK_IMG";
- case 1000054005:
- return "VK_FORMAT_PVRTC1_4BPP_SRGB_BLOCK_IMG";
- case 1000054006:
- return "VK_FORMAT_PVRTC2_2BPP_SRGB_BLOCK_IMG";
- case 1000054007:
- return "VK_FORMAT_PVRTC2_4BPP_SRGB_BLOCK_IMG";
- case 1000066000:
- return "VK_FORMAT_ASTC_4x4_SFLOAT_BLOCK_EXT";
- case 1000066001:
- return "VK_FORMAT_ASTC_5x4_SFLOAT_BLOCK_EXT";
- case 1000066002:
- return "VK_FORMAT_ASTC_5x5_SFLOAT_BLOCK_EXT";
- case 1000066003:
- return "VK_FORMAT_ASTC_6x5_SFLOAT_BLOCK_EXT";
- case 1000066004:
- return "VK_FORMAT_ASTC_6x6_SFLOAT_BLOCK_EXT";
- case 1000066005:
- return "VK_FORMAT_ASTC_8x5_SFLOAT_BLOCK_EXT";
- case 1000066006:
- return "VK_FORMAT_ASTC_8x6_SFLOAT_BLOCK_EXT";
- case 1000066007:
- return "VK_FORMAT_ASTC_8x8_SFLOAT_BLOCK_EXT";
- case 1000066008:
- return "VK_FORMAT_ASTC_10x5_SFLOAT_BLOCK_EXT";
- case 1000066009:
- return "VK_FORMAT_ASTC_10x6_SFLOAT_BLOCK_EXT";
- case 1000066010:
- return "VK_FORMAT_ASTC_10x8_SFLOAT_BLOCK_EXT";
- case 1000066011:
- return "VK_FORMAT_ASTC_10x10_SFLOAT_BLOCK_EXT";
- case 1000066012:
- return "VK_FORMAT_ASTC_12x10_SFLOAT_BLOCK_EXT";
- case 1000066013:
- return "VK_FORMAT_ASTC_12x12_SFLOAT_BLOCK_EXT";
- case 1000156000:
- return "VK_FORMAT_G8B8G8R8_422_UNORM";
- case 1000156001:
- return "VK_FORMAT_B8G8R8G8_422_UNORM";
- case 1000156002:
- return "VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM";
- case 1000156003:
- return "VK_FORMAT_G8_B8R8_2PLANE_420_UNORM";
- case 1000156004:
- return "VK_FORMAT_G8_B8_R8_3PLANE_422_UNORM";
- case 1000156005:
- return "VK_FORMAT_G8_B8R8_2PLANE_422_UNORM";
- case 1000156006:
- return "VK_FORMAT_G8_B8_R8_3PLANE_444_UNORM";
- case 1000156007:
- return "VK_FORMAT_R10X6_UNORM_PACK16";
- case 1000156008:
- return "VK_FORMAT_R10X6G10X6_UNORM_2PACK16";
- case 1000156009:
- return "VK_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16";
- case 1000156010:
- return "VK_FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16";
- case 1000156011:
- return "VK_FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16";
- case 1000156012:
- return "VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16";
- case 1000156013:
- return "VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16";
- case 1000156014:
- return "VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16";
- case 1000156015:
- return "VK_FORMAT_G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16";
- case 1000156016:
- return "VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16";
- case 1000156017:
- return "VK_FORMAT_R12X4_UNORM_PACK16";
- case 1000156018:
- return "VK_FORMAT_R12X4G12X4_UNORM_2PACK16";
- case 1000156019:
- return "VK_FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16";
- case 1000156020:
- return "VK_FORMAT_G12X4B12X4G12X4R12X4_422_UNORM_4PACK16";
- case 1000156021:
- return "VK_FORMAT_B12X4G12X4R12X4G12X4_422_UNORM_4PACK16";
- case 1000156022:
- return "VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16";
- case 1000156023:
- return "VK_FORMAT_G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16";
- case 1000156024:
- return "VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16";
- case 1000156025:
- return "VK_FORMAT_G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16";
- case 1000156026:
- return "VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16";
- case 1000156027:
- return "VK_FORMAT_G16B16G16R16_422_UNORM";
- case 1000156028:
- return "VK_FORMAT_B16G16R16G16_422_UNORM";
- case 1000156029:
- return "VK_FORMAT_G16_B16_R16_3PLANE_420_UNORM";
- case 1000156030:
- return "VK_FORMAT_G16_B16R16_2PLANE_420_UNORM";
- case 1000156031:
- return "VK_FORMAT_G16_B16_R16_3PLANE_422_UNORM";
- case 1000156032:
- return "VK_FORMAT_G16_B16R16_2PLANE_422_UNORM";
- case 1000156033:
- return "VK_FORMAT_G16_B16_R16_3PLANE_444_UNORM";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_FrontFace_to_str(VkFrontFace input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_FRONT_FACE_COUNTER_CLOCKWISE";
- case 1:
- return "VK_FRONT_FACE_CLOCKWISE";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
-#ifdef VK_USE_PLATFORM_WIN32_KHR
- const char *
- vk_FullScreenExclusiveEXT_to_str(VkFullScreenExclusiveEXT input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_FULL_SCREEN_EXCLUSIVE_DEFAULT_EXT";
- case 1:
- return "VK_FULL_SCREEN_EXCLUSIVE_ALLOWED_EXT";
- case 2:
- return "VK_FULL_SCREEN_EXCLUSIVE_DISALLOWED_EXT";
- case 3:
- return "VK_FULL_SCREEN_EXCLUSIVE_APPLICATION_CONTROLLED_EXT";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-#endif
-
- const char *
- vk_GeometryTypeNV_to_str(VkGeometryTypeNV input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_GEOMETRY_TYPE_TRIANGLES_NV";
- case 1:
- return "VK_GEOMETRY_TYPE_AABBS_NV";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_ImageLayout_to_str(VkImageLayout input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_IMAGE_LAYOUT_UNDEFINED";
- case 1:
- return "VK_IMAGE_LAYOUT_GENERAL";
- case 2:
- return "VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL";
- case 3:
- return "VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL";
- case 4:
- return "VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL";
- case 5:
- return "VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL";
- case 6:
- return "VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL";
- case 7:
- return "VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL";
- case 8:
- return "VK_IMAGE_LAYOUT_PREINITIALIZED";
- case 1000001002:
- return "VK_IMAGE_LAYOUT_PRESENT_SRC_KHR";
- case 1000111000:
- return "VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR";
- case 1000117000:
- return "VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL";
- case 1000117001:
- return "VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL";
- case 1000164003:
- return "VK_IMAGE_LAYOUT_SHADING_RATE_OPTIMAL_NV";
- case 1000218000:
- return "VK_IMAGE_LAYOUT_FRAGMENT_DENSITY_MAP_OPTIMAL_EXT";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_ImageTiling_to_str(VkImageTiling input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_IMAGE_TILING_OPTIMAL";
- case 1:
- return "VK_IMAGE_TILING_LINEAR";
- case 1000158000:
- return "VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_ImageType_to_str(VkImageType input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_IMAGE_TYPE_1D";
- case 1:
- return "VK_IMAGE_TYPE_2D";
- case 2:
- return "VK_IMAGE_TYPE_3D";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_ImageViewType_to_str(VkImageViewType input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_IMAGE_VIEW_TYPE_1D";
- case 1:
- return "VK_IMAGE_VIEW_TYPE_2D";
- case 2:
- return "VK_IMAGE_VIEW_TYPE_3D";
- case 3:
- return "VK_IMAGE_VIEW_TYPE_CUBE";
- case 4:
- return "VK_IMAGE_VIEW_TYPE_1D_ARRAY";
- case 5:
- return "VK_IMAGE_VIEW_TYPE_2D_ARRAY";
- case 6:
- return "VK_IMAGE_VIEW_TYPE_CUBE_ARRAY";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_IndexType_to_str(VkIndexType input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_INDEX_TYPE_UINT16";
- case 1:
- return "VK_INDEX_TYPE_UINT32";
- case 1000165000:
- return "VK_INDEX_TYPE_NONE_NV";
- case 1000265000:
- return "VK_INDEX_TYPE_UINT8_EXT";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_IndirectCommandsTokenTypeNVX_to_str(VkIndirectCommandsTokenTypeNVX input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_INDIRECT_COMMANDS_TOKEN_TYPE_PIPELINE_NVX";
- case 1:
- return "VK_INDIRECT_COMMANDS_TOKEN_TYPE_DESCRIPTOR_SET_NVX";
- case 2:
- return "VK_INDIRECT_COMMANDS_TOKEN_TYPE_INDEX_BUFFER_NVX";
- case 3:
- return "VK_INDIRECT_COMMANDS_TOKEN_TYPE_VERTEX_BUFFER_NVX";
- case 4:
- return "VK_INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_CONSTANT_NVX";
- case 5:
- return "VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_INDEXED_NVX";
- case 6:
- return "VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_NVX";
- case 7:
- return "VK_INDIRECT_COMMANDS_TOKEN_TYPE_DISPATCH_NVX";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_InternalAllocationType_to_str(VkInternalAllocationType input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_INTERNAL_ALLOCATION_TYPE_EXECUTABLE";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_LineRasterizationModeEXT_to_str(VkLineRasterizationModeEXT input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_LINE_RASTERIZATION_MODE_DEFAULT_EXT";
- case 1:
- return "VK_LINE_RASTERIZATION_MODE_RECTANGULAR_EXT";
- case 2:
- return "VK_LINE_RASTERIZATION_MODE_BRESENHAM_EXT";
- case 3:
- return "VK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_EXT";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_LogicOp_to_str(VkLogicOp input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_LOGIC_OP_CLEAR";
- case 1:
- return "VK_LOGIC_OP_AND";
- case 2:
- return "VK_LOGIC_OP_AND_REVERSE";
- case 3:
- return "VK_LOGIC_OP_COPY";
- case 4:
- return "VK_LOGIC_OP_AND_INVERTED";
- case 5:
- return "VK_LOGIC_OP_NO_OP";
- case 6:
- return "VK_LOGIC_OP_XOR";
- case 7:
- return "VK_LOGIC_OP_OR";
- case 8:
- return "VK_LOGIC_OP_NOR";
- case 9:
- return "VK_LOGIC_OP_EQUIVALENT";
- case 10:
- return "VK_LOGIC_OP_INVERT";
- case 11:
- return "VK_LOGIC_OP_OR_REVERSE";
- case 12:
- return "VK_LOGIC_OP_COPY_INVERTED";
- case 13:
- return "VK_LOGIC_OP_OR_INVERTED";
- case 14:
- return "VK_LOGIC_OP_NAND";
- case 15:
- return "VK_LOGIC_OP_SET";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_MemoryOverallocationBehaviorAMD_to_str(VkMemoryOverallocationBehaviorAMD input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_MEMORY_OVERALLOCATION_BEHAVIOR_DEFAULT_AMD";
- case 1:
- return "VK_MEMORY_OVERALLOCATION_BEHAVIOR_ALLOWED_AMD";
- case 2:
- return "VK_MEMORY_OVERALLOCATION_BEHAVIOR_DISALLOWED_AMD";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_ObjectEntryTypeNVX_to_str(VkObjectEntryTypeNVX input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_OBJECT_ENTRY_TYPE_DESCRIPTOR_SET_NVX";
- case 1:
- return "VK_OBJECT_ENTRY_TYPE_PIPELINE_NVX";
- case 2:
- return "VK_OBJECT_ENTRY_TYPE_INDEX_BUFFER_NVX";
- case 3:
- return "VK_OBJECT_ENTRY_TYPE_VERTEX_BUFFER_NVX";
- case 4:
- return "VK_OBJECT_ENTRY_TYPE_PUSH_CONSTANT_NVX";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_ObjectType_to_str(VkObjectType input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_OBJECT_TYPE_UNKNOWN";
- case 1:
- return "VK_OBJECT_TYPE_INSTANCE";
- case 2:
- return "VK_OBJECT_TYPE_PHYSICAL_DEVICE";
- case 3:
- return "VK_OBJECT_TYPE_DEVICE";
- case 4:
- return "VK_OBJECT_TYPE_QUEUE";
- case 5:
- return "VK_OBJECT_TYPE_SEMAPHORE";
- case 6:
- return "VK_OBJECT_TYPE_COMMAND_BUFFER";
- case 7:
- return "VK_OBJECT_TYPE_FENCE";
- case 8:
- return "VK_OBJECT_TYPE_DEVICE_MEMORY";
- case 9:
- return "VK_OBJECT_TYPE_BUFFER";
- case 10:
- return "VK_OBJECT_TYPE_IMAGE";
- case 11:
- return "VK_OBJECT_TYPE_EVENT";
- case 12:
- return "VK_OBJECT_TYPE_QUERY_POOL";
- case 13:
- return "VK_OBJECT_TYPE_BUFFER_VIEW";
- case 14:
- return "VK_OBJECT_TYPE_IMAGE_VIEW";
- case 15:
- return "VK_OBJECT_TYPE_SHADER_MODULE";
- case 16:
- return "VK_OBJECT_TYPE_PIPELINE_CACHE";
- case 17:
- return "VK_OBJECT_TYPE_PIPELINE_LAYOUT";
- case 18:
- return "VK_OBJECT_TYPE_RENDER_PASS";
- case 19:
- return "VK_OBJECT_TYPE_PIPELINE";
- case 20:
- return "VK_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT";
- case 21:
- return "VK_OBJECT_TYPE_SAMPLER";
- case 22:
- return "VK_OBJECT_TYPE_DESCRIPTOR_POOL";
- case 23:
- return "VK_OBJECT_TYPE_DESCRIPTOR_SET";
- case 24:
- return "VK_OBJECT_TYPE_FRAMEBUFFER";
- case 25:
- return "VK_OBJECT_TYPE_COMMAND_POOL";
- case 1000000000:
- return "VK_OBJECT_TYPE_SURFACE_KHR";
- case 1000001000:
- return "VK_OBJECT_TYPE_SWAPCHAIN_KHR";
- case 1000002000:
- return "VK_OBJECT_TYPE_DISPLAY_KHR";
- case 1000002001:
- return "VK_OBJECT_TYPE_DISPLAY_MODE_KHR";
- case 1000011000:
- return "VK_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT";
- case 1000085000:
- return "VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE";
- case 1000086000:
- return "VK_OBJECT_TYPE_OBJECT_TABLE_NVX";
- case 1000086001:
- return "VK_OBJECT_TYPE_INDIRECT_COMMANDS_LAYOUT_NVX";
- case 1000128000:
- return "VK_OBJECT_TYPE_DEBUG_UTILS_MESSENGER_EXT";
- case 1000156000:
- return "VK_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION";
- case 1000160000:
- return "VK_OBJECT_TYPE_VALIDATION_CACHE_EXT";
- case 1000165000:
- return "VK_OBJECT_TYPE_ACCELERATION_STRUCTURE_NV";
- case 1000210000:
- return "VK_OBJECT_TYPE_PERFORMANCE_CONFIGURATION_INTEL";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_PerformanceConfigurationTypeINTEL_to_str(VkPerformanceConfigurationTypeINTEL input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_PERFORMANCE_CONFIGURATION_TYPE_COMMAND_QUEUE_METRICS_DISCOVERY_ACTIVATED_INTEL";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_PerformanceOverrideTypeINTEL_to_str(VkPerformanceOverrideTypeINTEL input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_PERFORMANCE_OVERRIDE_TYPE_NULL_HARDWARE_INTEL";
- case 1:
- return "VK_PERFORMANCE_OVERRIDE_TYPE_FLUSH_GPU_CACHES_INTEL";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_PerformanceParameterTypeINTEL_to_str(VkPerformanceParameterTypeINTEL input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_PERFORMANCE_PARAMETER_TYPE_HW_COUNTERS_SUPPORTED_INTEL";
- case 1:
- return "VK_PERFORMANCE_PARAMETER_TYPE_STREAM_MARKER_VALID_BITS_INTEL";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_PerformanceValueTypeINTEL_to_str(VkPerformanceValueTypeINTEL input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_PERFORMANCE_VALUE_TYPE_UINT32_INTEL";
- case 1:
- return "VK_PERFORMANCE_VALUE_TYPE_UINT64_INTEL";
- case 2:
- return "VK_PERFORMANCE_VALUE_TYPE_FLOAT_INTEL";
- case 3:
- return "VK_PERFORMANCE_VALUE_TYPE_BOOL_INTEL";
- case 4:
- return "VK_PERFORMANCE_VALUE_TYPE_STRING_INTEL";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_PhysicalDeviceType_to_str(VkPhysicalDeviceType input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_PHYSICAL_DEVICE_TYPE_OTHER";
- case 1:
- return "VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU";
- case 2:
- return "VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU";
- case 3:
- return "VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU";
- case 4:
- return "VK_PHYSICAL_DEVICE_TYPE_CPU";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_PipelineBindPoint_to_str(VkPipelineBindPoint input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_PIPELINE_BIND_POINT_GRAPHICS";
- case 1:
- return "VK_PIPELINE_BIND_POINT_COMPUTE";
- case 1000165000:
- return "VK_PIPELINE_BIND_POINT_RAY_TRACING_NV";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_PipelineCacheHeaderVersion_to_str(VkPipelineCacheHeaderVersion input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 1:
- return "VK_PIPELINE_CACHE_HEADER_VERSION_ONE";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_PipelineExecutableStatisticFormatKHR_to_str(VkPipelineExecutableStatisticFormatKHR input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_BOOL32_KHR";
- case 1:
- return "VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_INT64_KHR";
- case 2:
- return "VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR";
- case 3:
- return "VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_FLOAT64_KHR";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_PointClippingBehavior_to_str(VkPointClippingBehavior input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES";
- case 1:
- return "VK_POINT_CLIPPING_BEHAVIOR_USER_CLIP_PLANES_ONLY";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_PolygonMode_to_str(VkPolygonMode input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_POLYGON_MODE_FILL";
- case 1:
- return "VK_POLYGON_MODE_LINE";
- case 2:
- return "VK_POLYGON_MODE_POINT";
- case 1000153000:
- return "VK_POLYGON_MODE_FILL_RECTANGLE_NV";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_PresentModeKHR_to_str(VkPresentModeKHR input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_PRESENT_MODE_IMMEDIATE_KHR";
- case 1:
- return "VK_PRESENT_MODE_MAILBOX_KHR";
- case 2:
- return "VK_PRESENT_MODE_FIFO_KHR";
- case 3:
- return "VK_PRESENT_MODE_FIFO_RELAXED_KHR";
- case 1000111000:
- return "VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR";
- case 1000111001:
- return "VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_PrimitiveTopology_to_str(VkPrimitiveTopology input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_PRIMITIVE_TOPOLOGY_POINT_LIST";
- case 1:
- return "VK_PRIMITIVE_TOPOLOGY_LINE_LIST";
- case 2:
- return "VK_PRIMITIVE_TOPOLOGY_LINE_STRIP";
- case 3:
- return "VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST";
- case 4:
- return "VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP";
- case 5:
- return "VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN";
- case 6:
- return "VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY";
- case 7:
- return "VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY";
- case 8:
- return "VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY";
- case 9:
- return "VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY";
- case 10:
- return "VK_PRIMITIVE_TOPOLOGY_PATCH_LIST";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_QueryPoolSamplingModeINTEL_to_str(VkQueryPoolSamplingModeINTEL input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_QUERY_POOL_SAMPLING_MODE_MANUAL_INTEL";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_QueryType_to_str(VkQueryType input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_QUERY_TYPE_OCCLUSION";
- case 1:
- return "VK_QUERY_TYPE_PIPELINE_STATISTICS";
- case 2:
- return "VK_QUERY_TYPE_TIMESTAMP";
- case 1000028004:
- return "VK_QUERY_TYPE_TRANSFORM_FEEDBACK_STREAM_EXT";
- case 1000165000:
- return "VK_QUERY_TYPE_ACCELERATION_STRUCTURE_COMPACTED_SIZE_NV";
- case 1000210000:
- return "VK_QUERY_TYPE_PERFORMANCE_QUERY_INTEL";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_QueueGlobalPriorityEXT_to_str(VkQueueGlobalPriorityEXT input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 128:
- return "VK_QUEUE_GLOBAL_PRIORITY_LOW_EXT";
- case 256:
- return "VK_QUEUE_GLOBAL_PRIORITY_MEDIUM_EXT";
- case 512:
- return "VK_QUEUE_GLOBAL_PRIORITY_HIGH_EXT";
- case 1024:
- return "VK_QUEUE_GLOBAL_PRIORITY_REALTIME_EXT";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_RasterizationOrderAMD_to_str(VkRasterizationOrderAMD input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_RASTERIZATION_ORDER_STRICT_AMD";
- case 1:
- return "VK_RASTERIZATION_ORDER_RELAXED_AMD";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_RayTracingShaderGroupTypeNV_to_str(VkRayTracingShaderGroupTypeNV input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_RAY_TRACING_SHADER_GROUP_TYPE_GENERAL_NV";
- case 1:
- return "VK_RAY_TRACING_SHADER_GROUP_TYPE_TRIANGLES_HIT_GROUP_NV";
- case 2:
- return "VK_RAY_TRACING_SHADER_GROUP_TYPE_PROCEDURAL_HIT_GROUP_NV";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_Result_to_str(VkResult input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case -1000255000:
- return "VK_ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT";
- case -1000244000:
- return "VK_ERROR_INVALID_DEVICE_ADDRESS_EXT";
- case -1000174001:
- return "VK_ERROR_NOT_PERMITTED_EXT";
- case -1000161000:
- return "VK_ERROR_FRAGMENTATION_EXT";
- case -1000158000:
- return "VK_ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT";
- case -1000072003:
- return "VK_ERROR_INVALID_EXTERNAL_HANDLE";
- case -1000069000:
- return "VK_ERROR_OUT_OF_POOL_MEMORY";
- case -1000012000:
- return "VK_ERROR_INVALID_SHADER_NV";
- case -1000011001:
- return "VK_ERROR_VALIDATION_FAILED_EXT";
- case -1000003001:
- return "VK_ERROR_INCOMPATIBLE_DISPLAY_KHR";
- case -1000001004:
- return "VK_ERROR_OUT_OF_DATE_KHR";
- case -1000000001:
- return "VK_ERROR_NATIVE_WINDOW_IN_USE_KHR";
- case -1000000000:
- return "VK_ERROR_SURFACE_LOST_KHR";
- case -12:
- return "VK_ERROR_FRAGMENTED_POOL";
- case -11:
- return "VK_ERROR_FORMAT_NOT_SUPPORTED";
- case -10:
- return "VK_ERROR_TOO_MANY_OBJECTS";
- case -9:
- return "VK_ERROR_INCOMPATIBLE_DRIVER";
- case -8:
- return "VK_ERROR_FEATURE_NOT_PRESENT";
- case -7:
- return "VK_ERROR_EXTENSION_NOT_PRESENT";
- case -6:
- return "VK_ERROR_LAYER_NOT_PRESENT";
- case -5:
- return "VK_ERROR_MEMORY_MAP_FAILED";
- case -4:
- return "VK_ERROR_DEVICE_LOST";
- case -3:
- return "VK_ERROR_INITIALIZATION_FAILED";
- case -2:
- return "VK_ERROR_OUT_OF_DEVICE_MEMORY";
- case -1:
- return "VK_ERROR_OUT_OF_HOST_MEMORY";
- case 0:
- return "VK_SUCCESS";
- case 1:
- return "VK_NOT_READY";
- case 2:
- return "VK_TIMEOUT";
- case 3:
- return "VK_EVENT_SET";
- case 4:
- return "VK_EVENT_RESET";
- case 5:
- return "VK_INCOMPLETE";
- case 1000001003:
- return "VK_SUBOPTIMAL_KHR";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_SamplerAddressMode_to_str(VkSamplerAddressMode input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_SAMPLER_ADDRESS_MODE_REPEAT";
- case 1:
- return "VK_SAMPLER_ADDRESS_MODE_MIRRORED_REPEAT";
- case 2:
- return "VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE";
- case 3:
- return "VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER";
- case 4:
- return "VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_SamplerMipmapMode_to_str(VkSamplerMipmapMode input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_SAMPLER_MIPMAP_MODE_NEAREST";
- case 1:
- return "VK_SAMPLER_MIPMAP_MODE_LINEAR";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_SamplerReductionModeEXT_to_str(VkSamplerReductionModeEXT input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_EXT";
- case 1:
- return "VK_SAMPLER_REDUCTION_MODE_MIN_EXT";
- case 2:
- return "VK_SAMPLER_REDUCTION_MODE_MAX_EXT";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_SamplerYcbcrModelConversion_to_str(VkSamplerYcbcrModelConversion input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY";
- case 1:
- return "VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_IDENTITY";
- case 2:
- return "VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_709";
- case 3:
- return "VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_601";
- case 4:
- return "VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_2020";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_SamplerYcbcrRange_to_str(VkSamplerYcbcrRange input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_SAMPLER_YCBCR_RANGE_ITU_FULL";
- case 1:
- return "VK_SAMPLER_YCBCR_RANGE_ITU_NARROW";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_ScopeNV_to_str(VkScopeNV input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 1:
- return "VK_SCOPE_DEVICE_NV";
- case 2:
- return "VK_SCOPE_WORKGROUP_NV";
- case 3:
- return "VK_SCOPE_SUBGROUP_NV";
- case 5:
- return "VK_SCOPE_QUEUE_FAMILY_NV";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_ShaderFloatControlsIndependenceKHR_to_str(VkShaderFloatControlsIndependenceKHR input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_32_BIT_ONLY_KHR";
- case 1:
- return "VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_ALL_KHR";
- case 2:
- return "VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_NONE_KHR";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_ShaderInfoTypeAMD_to_str(VkShaderInfoTypeAMD input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_SHADER_INFO_TYPE_STATISTICS_AMD";
- case 1:
- return "VK_SHADER_INFO_TYPE_BINARY_AMD";
- case 2:
- return "VK_SHADER_INFO_TYPE_DISASSEMBLY_AMD";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_ShadingRatePaletteEntryNV_to_str(VkShadingRatePaletteEntryNV input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_SHADING_RATE_PALETTE_ENTRY_NO_INVOCATIONS_NV";
- case 1:
- return "VK_SHADING_RATE_PALETTE_ENTRY_16_INVOCATIONS_PER_PIXEL_NV";
- case 2:
- return "VK_SHADING_RATE_PALETTE_ENTRY_8_INVOCATIONS_PER_PIXEL_NV";
- case 3:
- return "VK_SHADING_RATE_PALETTE_ENTRY_4_INVOCATIONS_PER_PIXEL_NV";
- case 4:
- return "VK_SHADING_RATE_PALETTE_ENTRY_2_INVOCATIONS_PER_PIXEL_NV";
- case 5:
- return "VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_PIXEL_NV";
- case 6:
- return "VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X1_PIXELS_NV";
- case 7:
- return "VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_1X2_PIXELS_NV";
- case 8:
- return "VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X2_PIXELS_NV";
- case 9:
- return "VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_4X2_PIXELS_NV";
- case 10:
- return "VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X4_PIXELS_NV";
- case 11:
- return "VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_4X4_PIXELS_NV";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_SharingMode_to_str(VkSharingMode input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_SHARING_MODE_EXCLUSIVE";
- case 1:
- return "VK_SHARING_MODE_CONCURRENT";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_StencilOp_to_str(VkStencilOp input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_STENCIL_OP_KEEP";
- case 1:
- return "VK_STENCIL_OP_ZERO";
- case 2:
- return "VK_STENCIL_OP_REPLACE";
- case 3:
- return "VK_STENCIL_OP_INCREMENT_AND_CLAMP";
- case 4:
- return "VK_STENCIL_OP_DECREMENT_AND_CLAMP";
- case 5:
- return "VK_STENCIL_OP_INVERT";
- case 6:
- return "VK_STENCIL_OP_INCREMENT_AND_WRAP";
- case 7:
- return "VK_STENCIL_OP_DECREMENT_AND_WRAP";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_StructureType_to_str(VkStructureType input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_STRUCTURE_TYPE_APPLICATION_INFO";
- case 1:
- return "VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO";
- case 2:
- return "VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO";
- case 3:
- return "VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO";
- case 4:
- return "VK_STRUCTURE_TYPE_SUBMIT_INFO";
- case 5:
- return "VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO";
- case 6:
- return "VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE";
- case 7:
- return "VK_STRUCTURE_TYPE_BIND_SPARSE_INFO";
- case 8:
- return "VK_STRUCTURE_TYPE_FENCE_CREATE_INFO";
- case 9:
- return "VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO";
- case 10:
- return "VK_STRUCTURE_TYPE_EVENT_CREATE_INFO";
- case 11:
- return "VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO";
- case 12:
- return "VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO";
- case 13:
- return "VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO";
- case 14:
- return "VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO";
- case 15:
- return "VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO";
- case 16:
- return "VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO";
- case 17:
- return "VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO";
- case 18:
- return "VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO";
- case 19:
- return "VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO";
- case 20:
- return "VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO";
- case 21:
- return "VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO";
- case 22:
- return "VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO";
- case 23:
- return "VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO";
- case 24:
- return "VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO";
- case 25:
- return "VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO";
- case 26:
- return "VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO";
- case 27:
- return "VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO";
- case 28:
- return "VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO";
- case 29:
- return "VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO";
- case 30:
- return "VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO";
- case 31:
- return "VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO";
- case 32:
- return "VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO";
- case 33:
- return "VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO";
- case 34:
- return "VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO";
- case 35:
- return "VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET";
- case 36:
- return "VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET";
- case 37:
- return "VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO";
- case 38:
- return "VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO";
- case 39:
- return "VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO";
- case 40:
- return "VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO";
- case 41:
- return "VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO";
- case 42:
- return "VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO";
- case 43:
- return "VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO";
- case 44:
- return "VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER";
- case 45:
- return "VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER";
- case 46:
- return "VK_STRUCTURE_TYPE_MEMORY_BARRIER";
- case 47:
- return "VK_STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO";
- case 48:
- return "VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO";
- case 1000001000:
- return "VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR";
- case 1000001001:
- return "VK_STRUCTURE_TYPE_PRESENT_INFO_KHR";
- case 1000002000:
- return "VK_STRUCTURE_TYPE_DISPLAY_MODE_CREATE_INFO_KHR";
- case 1000002001:
- return "VK_STRUCTURE_TYPE_DISPLAY_SURFACE_CREATE_INFO_KHR";
- case 1000003000:
- return "VK_STRUCTURE_TYPE_DISPLAY_PRESENT_INFO_KHR";
- case 1000004000:
- return "VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR";
- case 1000005000:
- return "VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR";
- case 1000006000:
- return "VK_STRUCTURE_TYPE_WAYLAND_SURFACE_CREATE_INFO_KHR";
- case 1000008000:
- return "VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR";
- case 1000009000:
- return "VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR";
- case 1000011000:
- return "VK_STRUCTURE_TYPE_DEBUG_REPORT_CREATE_INFO_EXT";
- case 1000018000:
- return "VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMD";
- case 1000022000:
- return "VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_NAME_INFO_EXT";
- case 1000022001:
- return "VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_TAG_INFO_EXT";
- case 1000022002:
- return "VK_STRUCTURE_TYPE_DEBUG_MARKER_MARKER_INFO_EXT";
- case 1000026000:
- return "VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV";
- case 1000026001:
- return "VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_BUFFER_CREATE_INFO_NV";
- case 1000026002:
- return "VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV";
- case 1000028000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_FEATURES_EXT";
- case 1000028001:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_PROPERTIES_EXT";
- case 1000028002:
- return "VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_STREAM_CREATE_INFO_EXT";
- case 1000030000:
- return "VK_STRUCTURE_TYPE_IMAGE_VIEW_HANDLE_INFO_NVX";
- case 1000041000:
- return "VK_STRUCTURE_TYPE_TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMD";
- case 1000049000:
- return "VK_STRUCTURE_TYPE_STREAM_DESCRIPTOR_SURFACE_CREATE_INFO_GGP";
- case 1000050000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CORNER_SAMPLED_IMAGE_FEATURES_NV";
- case 1000053000:
- return "VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO";
- case 1000053001:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES";
- case 1000053002:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES";
- case 1000056000:
- return "VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO_NV";
- case 1000056001:
- return "VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO_NV";
- case 1000057000:
- return "VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_NV";
- case 1000057001:
- return "VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_NV";
- case 1000058000:
- return "VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_NV";
- case 1000059000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2";
- case 1000059001:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2";
- case 1000059002:
- return "VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2";
- case 1000059003:
- return "VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2";
- case 1000059004:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2";
- case 1000059005:
- return "VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2";
- case 1000059006:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2";
- case 1000059007:
- return "VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2";
- case 1000059008:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2";
- case 1000060000:
- return "VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO";
- case 1000060003:
- return "VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO";
- case 1000060004:
- return "VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO";
- case 1000060005:
- return "VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO";
- case 1000060006:
- return "VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO";
- case 1000060007:
- return "VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_CAPABILITIES_KHR";
- case 1000060008:
- return "VK_STRUCTURE_TYPE_IMAGE_SWAPCHAIN_CREATE_INFO_KHR";
- case 1000060009:
- return "VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_SWAPCHAIN_INFO_KHR";
- case 1000060010:
- return "VK_STRUCTURE_TYPE_ACQUIRE_NEXT_IMAGE_INFO_KHR";
- case 1000060011:
- return "VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_INFO_KHR";
- case 1000060012:
- return "VK_STRUCTURE_TYPE_DEVICE_GROUP_SWAPCHAIN_CREATE_INFO_KHR";
- case 1000060013:
- return "VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO";
- case 1000060014:
- return "VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO";
- case 1000061000:
- return "VK_STRUCTURE_TYPE_VALIDATION_FLAGS_EXT";
- case 1000062000:
- return "VK_STRUCTURE_TYPE_VI_SURFACE_CREATE_INFO_NN";
- case 1000063000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETER_FEATURES";
- case 1000066000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_HDR_FEATURES_EXT";
- case 1000067000:
- return "VK_STRUCTURE_TYPE_IMAGE_VIEW_ASTC_DECODE_MODE_EXT";
- case 1000067001:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ASTC_DECODE_FEATURES_EXT";
- case 1000070000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GROUP_PROPERTIES";
- case 1000070001:
- return "VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO";
- case 1000071000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO";
- case 1000071001:
- return "VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES";
- case 1000071002:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO";
- case 1000071003:
- return "VK_STRUCTURE_TYPE_EXTERNAL_BUFFER_PROPERTIES";
- case 1000071004:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES";
- case 1000072000:
- return "VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO";
- case 1000072001:
- return "VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO";
- case 1000072002:
- return "VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO";
- case 1000073000:
- return "VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR";
- case 1000073001:
- return "VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_KHR";
- case 1000073002:
- return "VK_STRUCTURE_TYPE_MEMORY_WIN32_HANDLE_PROPERTIES_KHR";
- case 1000073003:
- return "VK_STRUCTURE_TYPE_MEMORY_GET_WIN32_HANDLE_INFO_KHR";
- case 1000074000:
- return "VK_STRUCTURE_TYPE_IMPORT_MEMORY_FD_INFO_KHR";
- case 1000074001:
- return "VK_STRUCTURE_TYPE_MEMORY_FD_PROPERTIES_KHR";
- case 1000074002:
- return "VK_STRUCTURE_TYPE_MEMORY_GET_FD_INFO_KHR";
- case 1000075000:
- return "VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_KHR";
- case 1000076000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO";
- case 1000076001:
- return "VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES";
- case 1000077000:
- return "VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO";
- case 1000078000:
- return "VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR";
- case 1000078001:
- return "VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR";
- case 1000078002:
- return "VK_STRUCTURE_TYPE_D3D12_FENCE_SUBMIT_INFO_KHR";
- case 1000078003:
- return "VK_STRUCTURE_TYPE_SEMAPHORE_GET_WIN32_HANDLE_INFO_KHR";
- case 1000079000:
- return "VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_FD_INFO_KHR";
- case 1000079001:
- return "VK_STRUCTURE_TYPE_SEMAPHORE_GET_FD_INFO_KHR";
- case 1000080000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_DESCRIPTOR_PROPERTIES_KHR";
- case 1000081000:
- return "VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_CONDITIONAL_RENDERING_INFO_EXT";
- case 1000081001:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONDITIONAL_RENDERING_FEATURES_EXT";
- case 1000081002:
- return "VK_STRUCTURE_TYPE_CONDITIONAL_RENDERING_BEGIN_INFO_EXT";
- case 1000082000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT16_INT8_FEATURES_KHR";
- case 1000083000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES";
- case 1000084000:
- return "VK_STRUCTURE_TYPE_PRESENT_REGIONS_KHR";
- case 1000085000:
- return "VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO";
- case 1000086000:
- return "VK_STRUCTURE_TYPE_OBJECT_TABLE_CREATE_INFO_NVX";
- case 1000086001:
- return "VK_STRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_CREATE_INFO_NVX";
- case 1000086002:
- return "VK_STRUCTURE_TYPE_CMD_PROCESS_COMMANDS_INFO_NVX";
- case 1000086003:
- return "VK_STRUCTURE_TYPE_CMD_RESERVE_SPACE_FOR_COMMANDS_INFO_NVX";
- case 1000086004:
- return "VK_STRUCTURE_TYPE_DEVICE_GENERATED_COMMANDS_LIMITS_NVX";
- case 1000086005:
- return "VK_STRUCTURE_TYPE_DEVICE_GENERATED_COMMANDS_FEATURES_NVX";
- case 1000087000:
- return "VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_W_SCALING_STATE_CREATE_INFO_NV";
- case 1000090000:
- return "VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES2_EXT";
- case 1000091000:
- return "VK_STRUCTURE_TYPE_DISPLAY_POWER_INFO_EXT";
- case 1000091001:
- return "VK_STRUCTURE_TYPE_DEVICE_EVENT_INFO_EXT";
- case 1000091002:
- return "VK_STRUCTURE_TYPE_DISPLAY_EVENT_INFO_EXT";
- case 1000091003:
- return "VK_STRUCTURE_TYPE_SWAPCHAIN_COUNTER_CREATE_INFO_EXT";
- case 1000092000:
- return "VK_STRUCTURE_TYPE_PRESENT_TIMES_INFO_GOOGLE";
- case 1000094000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES";
- case 1000097000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_ATTRIBUTES_PROPERTIES_NVX";
- case 1000098000:
- return "VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV";
- case 1000099000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DISCARD_RECTANGLE_PROPERTIES_EXT";
- case 1000099001:
- return "VK_STRUCTURE_TYPE_PIPELINE_DISCARD_RECTANGLE_STATE_CREATE_INFO_EXT";
- case 1000101000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONSERVATIVE_RASTERIZATION_PROPERTIES_EXT";
- case 1000101001:
- return "VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_CONSERVATIVE_STATE_CREATE_INFO_EXT";
- case 1000102000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_ENABLE_FEATURES_EXT";
- case 1000102001:
- return "VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_DEPTH_CLIP_STATE_CREATE_INFO_EXT";
- case 1000105000:
- return "VK_STRUCTURE_TYPE_HDR_METADATA_EXT";
- case 1000108000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGELESS_FRAMEBUFFER_FEATURES_KHR";
- case 1000108001:
- return "VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENTS_CREATE_INFO_KHR";
- case 1000108002:
- return "VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENT_IMAGE_INFO_KHR";
- case 1000108003:
- return "VK_STRUCTURE_TYPE_RENDER_PASS_ATTACHMENT_BEGIN_INFO_KHR";
- case 1000109000:
- return "VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_2_KHR";
- case 1000109001:
- return "VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_2_KHR";
- case 1000109002:
- return "VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_2_KHR";
- case 1000109003:
- return "VK_STRUCTURE_TYPE_SUBPASS_DEPENDENCY_2_KHR";
- case 1000109004:
- return "VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO_2_KHR";
- case 1000109005:
- return "VK_STRUCTURE_TYPE_SUBPASS_BEGIN_INFO_KHR";
- case 1000109006:
- return "VK_STRUCTURE_TYPE_SUBPASS_END_INFO_KHR";
- case 1000111000:
- return "VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_KHR";
- case 1000112000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO";
- case 1000112001:
- return "VK_STRUCTURE_TYPE_EXTERNAL_FENCE_PROPERTIES";
- case 1000113000:
- return "VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO";
- case 1000114000:
- return "VK_STRUCTURE_TYPE_IMPORT_FENCE_WIN32_HANDLE_INFO_KHR";
- case 1000114001:
- return "VK_STRUCTURE_TYPE_EXPORT_FENCE_WIN32_HANDLE_INFO_KHR";
- case 1000114002:
- return "VK_STRUCTURE_TYPE_FENCE_GET_WIN32_HANDLE_INFO_KHR";
- case 1000115000:
- return "VK_STRUCTURE_TYPE_IMPORT_FENCE_FD_INFO_KHR";
- case 1000115001:
- return "VK_STRUCTURE_TYPE_FENCE_GET_FD_INFO_KHR";
- case 1000117000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES";
- case 1000117001:
- return "VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO";
- case 1000117002:
- return "VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO";
- case 1000117003:
- return "VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO";
- case 1000119000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SURFACE_INFO_2_KHR";
- case 1000119001:
- return "VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_KHR";
- case 1000119002:
- return "VK_STRUCTURE_TYPE_SURFACE_FORMAT_2_KHR";
- case 1000120000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES";
- case 1000121000:
- return "VK_STRUCTURE_TYPE_DISPLAY_PROPERTIES_2_KHR";
- case 1000121001:
- return "VK_STRUCTURE_TYPE_DISPLAY_PLANE_PROPERTIES_2_KHR";
- case 1000121002:
- return "VK_STRUCTURE_TYPE_DISPLAY_MODE_PROPERTIES_2_KHR";
- case 1000121003:
- return "VK_STRUCTURE_TYPE_DISPLAY_PLANE_INFO_2_KHR";
- case 1000121004:
- return "VK_STRUCTURE_TYPE_DISPLAY_PLANE_CAPABILITIES_2_KHR";
- case 1000122000:
- return "VK_STRUCTURE_TYPE_IOS_SURFACE_CREATE_INFO_MVK";
- case 1000123000:
- return "VK_STRUCTURE_TYPE_MACOS_SURFACE_CREATE_INFO_MVK";
- case 1000127000:
- return "VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS";
- case 1000127001:
- return "VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO";
- case 1000128000:
- return "VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_NAME_INFO_EXT";
- case 1000128001:
- return "VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_TAG_INFO_EXT";
- case 1000128002:
- return "VK_STRUCTURE_TYPE_DEBUG_UTILS_LABEL_EXT";
- case 1000128003:
- return "VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CALLBACK_DATA_EXT";
- case 1000128004:
- return "VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT";
- case 1000129000:
- return "VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_USAGE_ANDROID";
- case 1000129001:
- return "VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_PROPERTIES_ANDROID";
- case 1000129002:
- return "VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_ANDROID";
- case 1000129003:
- return "VK_STRUCTURE_TYPE_IMPORT_ANDROID_HARDWARE_BUFFER_INFO_ANDROID";
- case 1000129004:
- return "VK_STRUCTURE_TYPE_MEMORY_GET_ANDROID_HARDWARE_BUFFER_INFO_ANDROID";
- case 1000129005:
- return "VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_ANDROID";
- case 1000130000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES_EXT";
- case 1000130001:
- return "VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO_EXT";
- case 1000138000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_FEATURES_EXT";
- case 1000138001:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_PROPERTIES_EXT";
- case 1000138002:
- return "VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_INLINE_UNIFORM_BLOCK_EXT";
- case 1000138003:
- return "VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_INLINE_UNIFORM_BLOCK_CREATE_INFO_EXT";
- case 1000143000:
- return "VK_STRUCTURE_TYPE_SAMPLE_LOCATIONS_INFO_EXT";
- case 1000143001:
- return "VK_STRUCTURE_TYPE_RENDER_PASS_SAMPLE_LOCATIONS_BEGIN_INFO_EXT";
- case 1000143002:
- return "VK_STRUCTURE_TYPE_PIPELINE_SAMPLE_LOCATIONS_STATE_CREATE_INFO_EXT";
- case 1000143003:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLE_LOCATIONS_PROPERTIES_EXT";
- case 1000143004:
- return "VK_STRUCTURE_TYPE_MULTISAMPLE_PROPERTIES_EXT";
- case 1000145000:
- return "VK_STRUCTURE_TYPE_PROTECTED_SUBMIT_INFO";
- case 1000145001:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES";
- case 1000145002:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES";
- case 1000145003:
- return "VK_STRUCTURE_TYPE_DEVICE_QUEUE_INFO_2";
- case 1000146000:
- return "VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2";
- case 1000146001:
- return "VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2";
- case 1000146002:
- return "VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2";
- case 1000146003:
- return "VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2";
- case 1000146004:
- return "VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2";
- case 1000147000:
- return "VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO_KHR";
- case 1000148000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_FEATURES_EXT";
- case 1000148001:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_PROPERTIES_EXT";
- case 1000148002:
- return "VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_ADVANCED_STATE_CREATE_INFO_EXT";
- case 1000149000:
- return "VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV";
- case 1000152000:
- return "VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_MODULATION_STATE_CREATE_INFO_NV";
- case 1000154000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SM_BUILTINS_FEATURES_NV";
- case 1000154001:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SM_BUILTINS_PROPERTIES_NV";
- case 1000156000:
- return "VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO";
- case 1000156001:
- return "VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO";
- case 1000156002:
- return "VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO";
- case 1000156003:
- return "VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO";
- case 1000156004:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES";
- case 1000156005:
- return "VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES";
- case 1000157000:
- return "VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO";
- case 1000157001:
- return "VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO";
- case 1000158000:
- return "VK_STRUCTURE_TYPE_DRM_FORMAT_MODIFIER_PROPERTIES_LIST_EXT";
- case 1000158001:
- return "VK_STRUCTURE_TYPE_DRM_FORMAT_MODIFIER_PROPERTIES_EXT";
- case 1000158002:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_DRM_FORMAT_MODIFIER_INFO_EXT";
- case 1000158003:
- return "VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_LIST_CREATE_INFO_EXT";
- case 1000158004:
- return "VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_EXPLICIT_CREATE_INFO_EXT";
- case 1000158005:
- return "VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_PROPERTIES_EXT";
- case 1000160000:
- return "VK_STRUCTURE_TYPE_VALIDATION_CACHE_CREATE_INFO_EXT";
- case 1000160001:
- return "VK_STRUCTURE_TYPE_SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXT";
- case 1000161000:
- return "VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO_EXT";
- case 1000161001:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES_EXT";
- case 1000161002:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_PROPERTIES_EXT";
- case 1000161003:
- return "VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO_EXT";
- case 1000161004:
- return "VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT_EXT";
- case 1000164000:
- return "VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SHADING_RATE_IMAGE_STATE_CREATE_INFO_NV";
- case 1000164001:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_FEATURES_NV";
- case 1000164002:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_PROPERTIES_NV";
- case 1000164005:
- return "VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_COARSE_SAMPLE_ORDER_STATE_CREATE_INFO_NV";
- case 1000165000:
- return "VK_STRUCTURE_TYPE_RAY_TRACING_PIPELINE_CREATE_INFO_NV";
- case 1000165001:
- return "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_CREATE_INFO_NV";
- case 1000165003:
- return "VK_STRUCTURE_TYPE_GEOMETRY_NV";
- case 1000165004:
- return "VK_STRUCTURE_TYPE_GEOMETRY_TRIANGLES_NV";
- case 1000165005:
- return "VK_STRUCTURE_TYPE_GEOMETRY_AABB_NV";
- case 1000165006:
- return "VK_STRUCTURE_TYPE_BIND_ACCELERATION_STRUCTURE_MEMORY_INFO_NV";
- case 1000165007:
- return "VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_NV";
- case 1000165008:
- return "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_INFO_NV";
- case 1000165009:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PROPERTIES_NV";
- case 1000165011:
- return "VK_STRUCTURE_TYPE_RAY_TRACING_SHADER_GROUP_CREATE_INFO_NV";
- case 1000165012:
- return "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_INFO_NV";
- case 1000166000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_REPRESENTATIVE_FRAGMENT_TEST_FEATURES_NV";
- case 1000166001:
- return "VK_STRUCTURE_TYPE_PIPELINE_REPRESENTATIVE_FRAGMENT_TEST_STATE_CREATE_INFO_NV";
- case 1000168000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES";
- case 1000168001:
- return "VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_SUPPORT";
- case 1000170000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_VIEW_IMAGE_FORMAT_INFO_EXT";
- case 1000170001:
- return "VK_STRUCTURE_TYPE_FILTER_CUBIC_IMAGE_VIEW_IMAGE_FORMAT_PROPERTIES_EXT";
- case 1000174000:
- return "VK_STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_EXT";
- case 1000177000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES_KHR";
- case 1000178000:
- return "VK_STRUCTURE_TYPE_IMPORT_MEMORY_HOST_POINTER_INFO_EXT";
- case 1000178001:
- return "VK_STRUCTURE_TYPE_MEMORY_HOST_POINTER_PROPERTIES_EXT";
- case 1000178002:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_HOST_PROPERTIES_EXT";
- case 1000180000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURES_KHR";
- case 1000183000:
- return "VK_STRUCTURE_TYPE_PIPELINE_COMPILER_CONTROL_CREATE_INFO_AMD";
- case 1000184000:
- return "VK_STRUCTURE_TYPE_CALIBRATED_TIMESTAMP_INFO_EXT";
- case 1000185000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_AMD";
- case 1000189000:
- return "VK_STRUCTURE_TYPE_DEVICE_MEMORY_OVERALLOCATION_CREATE_INFO_AMD";
- case 1000190000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_EXT";
- case 1000190001:
- return "VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_EXT";
- case 1000190002:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_EXT";
- case 1000191000:
- return "VK_STRUCTURE_TYPE_PRESENT_FRAME_TOKEN_GGP";
- case 1000192000:
- return "VK_STRUCTURE_TYPE_PIPELINE_CREATION_FEEDBACK_CREATE_INFO_EXT";
- case 1000196000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIES_KHR";
- case 1000197000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIES_KHR";
- case 1000199000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_STENCIL_RESOLVE_PROPERTIES_KHR";
- case 1000199001:
- return "VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_DEPTH_STENCIL_RESOLVE_KHR";
- case 1000201000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_FEATURES_NV";
- case 1000202000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_FEATURES_NV";
- case 1000202001:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_PROPERTIES_NV";
- case 1000203000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_FEATURES_NV";
- case 1000204000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_IMAGE_FOOTPRINT_FEATURES_NV";
- case 1000205000:
- return "VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_EXCLUSIVE_SCISSOR_STATE_CREATE_INFO_NV";
- case 1000205002:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXCLUSIVE_SCISSOR_FEATURES_NV";
- case 1000206000:
- return "VK_STRUCTURE_TYPE_CHECKPOINT_DATA_NV";
- case 1000206001:
- return "VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_NV";
- case 1000209000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_FUNCTIONS_2_FEATURES_INTEL";
- case 1000210000:
- return "VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO_INTEL";
- case 1000210001:
- return "VK_STRUCTURE_TYPE_INITIALIZE_PERFORMANCE_API_INFO_INTEL";
- case 1000210002:
- return "VK_STRUCTURE_TYPE_PERFORMANCE_MARKER_INFO_INTEL";
- case 1000210003:
- return "VK_STRUCTURE_TYPE_PERFORMANCE_STREAM_MARKER_INFO_INTEL";
- case 1000210004:
- return "VK_STRUCTURE_TYPE_PERFORMANCE_OVERRIDE_INFO_INTEL";
- case 1000210005:
- return "VK_STRUCTURE_TYPE_PERFORMANCE_CONFIGURATION_ACQUIRE_INFO_INTEL";
- case 1000211000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_MEMORY_MODEL_FEATURES_KHR";
- case 1000212000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PCI_BUS_INFO_PROPERTIES_EXT";
- case 1000213000:
- return "VK_STRUCTURE_TYPE_DISPLAY_NATIVE_HDR_SURFACE_CAPABILITIES_AMD";
- case 1000213001:
- return "VK_STRUCTURE_TYPE_SWAPCHAIN_DISPLAY_NATIVE_HDR_CREATE_INFO_AMD";
- case 1000214000:
- return "VK_STRUCTURE_TYPE_IMAGEPIPE_SURFACE_CREATE_INFO_FUCHSIA";
- case 1000217000:
- return "VK_STRUCTURE_TYPE_METAL_SURFACE_CREATE_INFO_EXT";
- case 1000218000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_FEATURES_EXT";
- case 1000218001:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_PROPERTIES_EXT";
- case 1000218002:
- return "VK_STRUCTURE_TYPE_RENDER_PASS_FRAGMENT_DENSITY_MAP_CREATE_INFO_EXT";
- case 1000221000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURES_EXT";
- case 1000225000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_PROPERTIES_EXT";
- case 1000225001:
- return "VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_REQUIRED_SUBGROUP_SIZE_CREATE_INFO_EXT";
- case 1000225002:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_FEATURES_EXT";
- case 1000227000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_2_AMD";
- case 1000237000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_BUDGET_PROPERTIES_EXT";
- case 1000238000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PRIORITY_FEATURES_EXT";
- case 1000238001:
- return "VK_STRUCTURE_TYPE_MEMORY_PRIORITY_ALLOCATE_INFO_EXT";
- case 1000239000:
- return "VK_STRUCTURE_TYPE_SURFACE_PROTECTED_CAPABILITIES_KHR";
- case 1000240000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEDICATED_ALLOCATION_IMAGE_ALIASING_FEATURES_NV";
- case 1000244000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_ADDRESS_FEATURES_EXT";
- case 1000244001:
- return "VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO_EXT";
- case 1000244002:
- return "VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_CREATE_INFO_EXT";
- case 1000246000:
- return "VK_STRUCTURE_TYPE_IMAGE_STENCIL_USAGE_CREATE_INFO_EXT";
- case 1000247000:
- return "VK_STRUCTURE_TYPE_VALIDATION_FEATURES_EXT";
- case 1000249000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_FEATURES_NV";
- case 1000249001:
- return "VK_STRUCTURE_TYPE_COOPERATIVE_MATRIX_PROPERTIES_NV";
- case 1000249002:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_PROPERTIES_NV";
- case 1000250000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COVERAGE_REDUCTION_MODE_FEATURES_NV";
- case 1000250001:
- return "VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_REDUCTION_STATE_CREATE_INFO_NV";
- case 1000250002:
- return "VK_STRUCTURE_TYPE_FRAMEBUFFER_MIXED_SAMPLES_COMBINATION_NV";
- case 1000251000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_INTERLOCK_FEATURES_EXT";
- case 1000252000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_YCBCR_IMAGE_ARRAYS_FEATURES_EXT";
- case 1000253000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES_KHR";
- case 1000255000:
- return "VK_STRUCTURE_TYPE_SURFACE_FULL_SCREEN_EXCLUSIVE_INFO_EXT";
- case 1000255001:
- return "VK_STRUCTURE_TYPE_SURFACE_FULL_SCREEN_EXCLUSIVE_WIN32_INFO_EXT";
- case 1000255002:
- return "VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_FULL_SCREEN_EXCLUSIVE_EXT";
- case 1000256000:
- return "VK_STRUCTURE_TYPE_HEADLESS_SURFACE_CREATE_INFO_EXT";
- case 1000259000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_EXT";
- case 1000259001:
- return "VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_LINE_STATE_CREATE_INFO_EXT";
- case 1000259002:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_PROPERTIES_EXT";
- case 1000261000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES_EXT";
- case 1000265000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INDEX_TYPE_UINT8_FEATURES_EXT";
- case 1000269000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_EXECUTABLE_PROPERTIES_FEATURES_KHR";
- case 1000269001:
- return "VK_STRUCTURE_TYPE_PIPELINE_INFO_KHR";
- case 1000269002:
- return "VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_PROPERTIES_KHR";
- case 1000269003:
- return "VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_INFO_KHR";
- case 1000269004:
- return "VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_STATISTIC_KHR";
- case 1000269005:
- return "VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_INTERNAL_REPRESENTATION_KHR";
- case 1000276000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DEMOTE_TO_HELPER_INVOCATION_FEATURES_EXT";
- case 1000281000:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_FEATURES_EXT";
- case 1000281001:
- return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_PROPERTIES_EXT";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_SubpassContents_to_str(VkSubpassContents input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_SUBPASS_CONTENTS_INLINE";
- case 1:
- return "VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_SystemAllocationScope_to_str(VkSystemAllocationScope input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_SYSTEM_ALLOCATION_SCOPE_COMMAND";
- case 1:
- return "VK_SYSTEM_ALLOCATION_SCOPE_OBJECT";
- case 2:
- return "VK_SYSTEM_ALLOCATION_SCOPE_CACHE";
- case 3:
- return "VK_SYSTEM_ALLOCATION_SCOPE_DEVICE";
- case 4:
- return "VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_TessellationDomainOrigin_to_str(VkTessellationDomainOrigin input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_TESSELLATION_DOMAIN_ORIGIN_UPPER_LEFT";
- case 1:
- return "VK_TESSELLATION_DOMAIN_ORIGIN_LOWER_LEFT";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_TimeDomainEXT_to_str(VkTimeDomainEXT input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_TIME_DOMAIN_DEVICE_EXT";
- case 1:
- return "VK_TIME_DOMAIN_CLOCK_MONOTONIC_EXT";
- case 2:
- return "VK_TIME_DOMAIN_CLOCK_MONOTONIC_RAW_EXT";
- case 3:
- return "VK_TIME_DOMAIN_QUERY_PERFORMANCE_COUNTER_EXT";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_ValidationCacheHeaderVersionEXT_to_str(VkValidationCacheHeaderVersionEXT input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 1:
- return "VK_VALIDATION_CACHE_HEADER_VERSION_ONE_EXT";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_ValidationCheckEXT_to_str(VkValidationCheckEXT input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_VALIDATION_CHECK_ALL_EXT";
- case 1:
- return "VK_VALIDATION_CHECK_SHADERS_EXT";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_ValidationFeatureDisableEXT_to_str(VkValidationFeatureDisableEXT input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_VALIDATION_FEATURE_DISABLE_ALL_EXT";
- case 1:
- return "VK_VALIDATION_FEATURE_DISABLE_SHADERS_EXT";
- case 2:
- return "VK_VALIDATION_FEATURE_DISABLE_THREAD_SAFETY_EXT";
- case 3:
- return "VK_VALIDATION_FEATURE_DISABLE_API_PARAMETERS_EXT";
- case 4:
- return "VK_VALIDATION_FEATURE_DISABLE_OBJECT_LIFETIMES_EXT";
- case 5:
- return "VK_VALIDATION_FEATURE_DISABLE_CORE_CHECKS_EXT";
- case 6:
- return "VK_VALIDATION_FEATURE_DISABLE_UNIQUE_HANDLES_EXT";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_ValidationFeatureEnableEXT_to_str(VkValidationFeatureEnableEXT input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_EXT";
- case 1:
- return "VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_RESERVE_BINDING_SLOT_EXT";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_VendorId_to_str(VkVendorId input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 65537:
- return "VK_VENDOR_ID_VIV";
- case 65538:
- return "VK_VENDOR_ID_VSI";
- case 65539:
- return "VK_VENDOR_ID_KAZAN";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_VertexInputRate_to_str(VkVertexInputRate input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_VERTEX_INPUT_RATE_VERTEX";
- case 1:
- return "VK_VERTEX_INPUT_RATE_INSTANCE";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- const char *
- vk_ViewportCoordinateSwizzleNV_to_str(VkViewportCoordinateSwizzleNV input)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(input) {
- case 0:
- return "VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_X_NV";
- case 1:
- return "VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_X_NV";
- case 2:
- return "VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_Y_NV";
- case 3:
- return "VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_Y_NV";
- case 4:
- return "VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_Z_NV";
- case 5:
- return "VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_Z_NV";
- case 6:
- return "VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_W_NV";
- case 7:
- return "VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_W_NV";
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined enum value.");
- }
-
-
- size_t vk_structure_type_size(const struct VkBaseInStructure *item)
- {
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wswitch"
- switch(item->sType) {
- case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_CREATE_INFO_NV: return sizeof(VkAccelerationStructureCreateInfoNV);
- case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_INFO_NV: return sizeof(VkAccelerationStructureInfoNV);
- case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_INFO_NV: return sizeof(VkAccelerationStructureMemoryRequirementsInfoNV);
- case VK_STRUCTURE_TYPE_ACQUIRE_NEXT_IMAGE_INFO_KHR: return sizeof(VkAcquireNextImageInfoKHR);
- #ifdef VK_USE_PLATFORM_ANDROID_KHR
- case VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_ANDROID: return sizeof(VkAndroidHardwareBufferFormatPropertiesANDROID);
- #endif
- #ifdef VK_USE_PLATFORM_ANDROID_KHR
- case VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_PROPERTIES_ANDROID: return sizeof(VkAndroidHardwareBufferPropertiesANDROID);
- #endif
- #ifdef VK_USE_PLATFORM_ANDROID_KHR
- case VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_USAGE_ANDROID: return sizeof(VkAndroidHardwareBufferUsageANDROID);
- #endif
- #ifdef VK_USE_PLATFORM_ANDROID_KHR
- case VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR: return sizeof(VkAndroidSurfaceCreateInfoKHR);
- #endif
- case VK_STRUCTURE_TYPE_APPLICATION_INFO: return sizeof(VkApplicationInfo);
- case VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_2_KHR: return sizeof(VkAttachmentDescription2KHR);
- case VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_2_KHR: return sizeof(VkAttachmentReference2KHR);
- case VK_STRUCTURE_TYPE_BIND_ACCELERATION_STRUCTURE_MEMORY_INFO_NV: return sizeof(VkBindAccelerationStructureMemoryInfoNV);
- case VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO: return sizeof(VkBindBufferMemoryDeviceGroupInfo);
- case VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO: return sizeof(VkBindBufferMemoryInfo);
- case VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO: return sizeof(VkBindImageMemoryDeviceGroupInfo);
- case VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO: return sizeof(VkBindImageMemoryInfo);
- case VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_SWAPCHAIN_INFO_KHR: return sizeof(VkBindImageMemorySwapchainInfoKHR);
- case VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO: return sizeof(VkBindImagePlaneMemoryInfo);
- case VK_STRUCTURE_TYPE_BIND_SPARSE_INFO: return sizeof(VkBindSparseInfo);
- case VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO: return sizeof(VkBufferCreateInfo);
- case VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_CREATE_INFO_EXT: return sizeof(VkBufferDeviceAddressCreateInfoEXT);
- case VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO_EXT: return sizeof(VkBufferDeviceAddressInfoEXT);
- case VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER: return sizeof(VkBufferMemoryBarrier);
- case VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2: return sizeof(VkBufferMemoryRequirementsInfo2);
- case VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO: return sizeof(VkBufferViewCreateInfo);
- case VK_STRUCTURE_TYPE_CALIBRATED_TIMESTAMP_INFO_EXT: return sizeof(VkCalibratedTimestampInfoEXT);
- case VK_STRUCTURE_TYPE_CHECKPOINT_DATA_NV: return sizeof(VkCheckpointDataNV);
- case VK_STRUCTURE_TYPE_CMD_PROCESS_COMMANDS_INFO_NVX: return sizeof(VkCmdProcessCommandsInfoNVX);
- case VK_STRUCTURE_TYPE_CMD_RESERVE_SPACE_FOR_COMMANDS_INFO_NVX: return sizeof(VkCmdReserveSpaceForCommandsInfoNVX);
- case VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO: return sizeof(VkCommandBufferAllocateInfo);
- case VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO: return sizeof(VkCommandBufferBeginInfo);
- case VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_CONDITIONAL_RENDERING_INFO_EXT: return sizeof(VkCommandBufferInheritanceConditionalRenderingInfoEXT);
- case VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO: return sizeof(VkCommandBufferInheritanceInfo);
- case VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO: return sizeof(VkCommandPoolCreateInfo);
- case VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO: return sizeof(VkComputePipelineCreateInfo);
- case VK_STRUCTURE_TYPE_CONDITIONAL_RENDERING_BEGIN_INFO_EXT: return sizeof(VkConditionalRenderingBeginInfoEXT);
- case VK_STRUCTURE_TYPE_COOPERATIVE_MATRIX_PROPERTIES_NV: return sizeof(VkCooperativeMatrixPropertiesNV);
- case VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET: return sizeof(VkCopyDescriptorSet);
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- case VK_STRUCTURE_TYPE_D3D12_FENCE_SUBMIT_INFO_KHR: return sizeof(VkD3D12FenceSubmitInfoKHR);
- #endif
- case VK_STRUCTURE_TYPE_DEBUG_MARKER_MARKER_INFO_EXT: return sizeof(VkDebugMarkerMarkerInfoEXT);
- case VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_NAME_INFO_EXT: return sizeof(VkDebugMarkerObjectNameInfoEXT);
- case VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_TAG_INFO_EXT: return sizeof(VkDebugMarkerObjectTagInfoEXT);
- case VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT: return sizeof(VkDebugReportCallbackCreateInfoEXT);
- case VK_STRUCTURE_TYPE_DEBUG_UTILS_LABEL_EXT: return sizeof(VkDebugUtilsLabelEXT);
- case VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CALLBACK_DATA_EXT: return sizeof(VkDebugUtilsMessengerCallbackDataEXT);
- case VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT: return sizeof(VkDebugUtilsMessengerCreateInfoEXT);
- case VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_NAME_INFO_EXT: return sizeof(VkDebugUtilsObjectNameInfoEXT);
- case VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_TAG_INFO_EXT: return sizeof(VkDebugUtilsObjectTagInfoEXT);
- case VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_BUFFER_CREATE_INFO_NV: return sizeof(VkDedicatedAllocationBufferCreateInfoNV);
- case VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV: return sizeof(VkDedicatedAllocationImageCreateInfoNV);
- case VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV: return sizeof(VkDedicatedAllocationMemoryAllocateInfoNV);
- case VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO: return sizeof(VkDescriptorPoolCreateInfo);
- case VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_INLINE_UNIFORM_BLOCK_CREATE_INFO_EXT: return sizeof(VkDescriptorPoolInlineUniformBlockCreateInfoEXT);
- case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO: return sizeof(VkDescriptorSetAllocateInfo);
- case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO_EXT: return sizeof(VkDescriptorSetLayoutBindingFlagsCreateInfoEXT);
- case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO: return sizeof(VkDescriptorSetLayoutCreateInfo);
- case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_SUPPORT: return sizeof(VkDescriptorSetLayoutSupport);
- case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO_EXT: return sizeof(VkDescriptorSetVariableDescriptorCountAllocateInfoEXT);
- case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT_EXT: return sizeof(VkDescriptorSetVariableDescriptorCountLayoutSupportEXT);
- case VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO: return sizeof(VkDescriptorUpdateTemplateCreateInfo);
- case VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO: return sizeof(VkDeviceCreateInfo);
- case VK_STRUCTURE_TYPE_DEVICE_EVENT_INFO_EXT: return sizeof(VkDeviceEventInfoEXT);
- case VK_STRUCTURE_TYPE_DEVICE_GENERATED_COMMANDS_FEATURES_NVX: return sizeof(VkDeviceGeneratedCommandsFeaturesNVX);
- case VK_STRUCTURE_TYPE_DEVICE_GENERATED_COMMANDS_LIMITS_NVX: return sizeof(VkDeviceGeneratedCommandsLimitsNVX);
- case VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO: return sizeof(VkDeviceGroupBindSparseInfo);
- case VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO: return sizeof(VkDeviceGroupCommandBufferBeginInfo);
- case VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO: return sizeof(VkDeviceGroupDeviceCreateInfo);
- case VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_CAPABILITIES_KHR: return sizeof(VkDeviceGroupPresentCapabilitiesKHR);
- case VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_INFO_KHR: return sizeof(VkDeviceGroupPresentInfoKHR);
- case VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO: return sizeof(VkDeviceGroupRenderPassBeginInfo);
- case VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO: return sizeof(VkDeviceGroupSubmitInfo);
- case VK_STRUCTURE_TYPE_DEVICE_GROUP_SWAPCHAIN_CREATE_INFO_KHR: return sizeof(VkDeviceGroupSwapchainCreateInfoKHR);
- case VK_STRUCTURE_TYPE_DEVICE_MEMORY_OVERALLOCATION_CREATE_INFO_AMD: return sizeof(VkDeviceMemoryOverallocationCreateInfoAMD);
- case VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO: return sizeof(VkDeviceQueueCreateInfo);
- case VK_STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_EXT: return sizeof(VkDeviceQueueGlobalPriorityCreateInfoEXT);
- case VK_STRUCTURE_TYPE_DEVICE_QUEUE_INFO_2: return sizeof(VkDeviceQueueInfo2);
- case VK_STRUCTURE_TYPE_DISPLAY_EVENT_INFO_EXT: return sizeof(VkDisplayEventInfoEXT);
- case VK_STRUCTURE_TYPE_DISPLAY_MODE_CREATE_INFO_KHR: return sizeof(VkDisplayModeCreateInfoKHR);
- case VK_STRUCTURE_TYPE_DISPLAY_MODE_PROPERTIES_2_KHR: return sizeof(VkDisplayModeProperties2KHR);
- case VK_STRUCTURE_TYPE_DISPLAY_NATIVE_HDR_SURFACE_CAPABILITIES_AMD: return sizeof(VkDisplayNativeHdrSurfaceCapabilitiesAMD);
- case VK_STRUCTURE_TYPE_DISPLAY_PLANE_CAPABILITIES_2_KHR: return sizeof(VkDisplayPlaneCapabilities2KHR);
- case VK_STRUCTURE_TYPE_DISPLAY_PLANE_INFO_2_KHR: return sizeof(VkDisplayPlaneInfo2KHR);
- case VK_STRUCTURE_TYPE_DISPLAY_PLANE_PROPERTIES_2_KHR: return sizeof(VkDisplayPlaneProperties2KHR);
- case VK_STRUCTURE_TYPE_DISPLAY_POWER_INFO_EXT: return sizeof(VkDisplayPowerInfoEXT);
- case VK_STRUCTURE_TYPE_DISPLAY_PRESENT_INFO_KHR: return sizeof(VkDisplayPresentInfoKHR);
- case VK_STRUCTURE_TYPE_DISPLAY_PROPERTIES_2_KHR: return sizeof(VkDisplayProperties2KHR);
- case VK_STRUCTURE_TYPE_DISPLAY_SURFACE_CREATE_INFO_KHR: return sizeof(VkDisplaySurfaceCreateInfoKHR);
- case VK_STRUCTURE_TYPE_DRM_FORMAT_MODIFIER_PROPERTIES_LIST_EXT: return sizeof(VkDrmFormatModifierPropertiesListEXT);
- case VK_STRUCTURE_TYPE_EVENT_CREATE_INFO: return sizeof(VkEventCreateInfo);
- case VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO: return sizeof(VkExportFenceCreateInfo);
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- case VK_STRUCTURE_TYPE_EXPORT_FENCE_WIN32_HANDLE_INFO_KHR: return sizeof(VkExportFenceWin32HandleInfoKHR);
- #endif
- case VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO: return sizeof(VkExportMemoryAllocateInfo);
- case VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO_NV: return sizeof(VkExportMemoryAllocateInfoNV);
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- case VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_KHR: return sizeof(VkExportMemoryWin32HandleInfoKHR);
- #endif
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- case VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_NV: return sizeof(VkExportMemoryWin32HandleInfoNV);
- #endif
- case VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO: return sizeof(VkExportSemaphoreCreateInfo);
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- case VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR: return sizeof(VkExportSemaphoreWin32HandleInfoKHR);
- #endif
- case VK_STRUCTURE_TYPE_EXTERNAL_BUFFER_PROPERTIES: return sizeof(VkExternalBufferProperties);
- case VK_STRUCTURE_TYPE_EXTERNAL_FENCE_PROPERTIES: return sizeof(VkExternalFenceProperties);
- #ifdef VK_USE_PLATFORM_ANDROID_KHR
- case VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_ANDROID: return sizeof(VkExternalFormatANDROID);
- #endif
- case VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES: return sizeof(VkExternalImageFormatProperties);
- case VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO: return sizeof(VkExternalMemoryBufferCreateInfo);
- case VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO: return sizeof(VkExternalMemoryImageCreateInfo);
- case VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO_NV: return sizeof(VkExternalMemoryImageCreateInfoNV);
- case VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES: return sizeof(VkExternalSemaphoreProperties);
- case VK_STRUCTURE_TYPE_FENCE_CREATE_INFO: return sizeof(VkFenceCreateInfo);
- case VK_STRUCTURE_TYPE_FENCE_GET_FD_INFO_KHR: return sizeof(VkFenceGetFdInfoKHR);
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- case VK_STRUCTURE_TYPE_FENCE_GET_WIN32_HANDLE_INFO_KHR: return sizeof(VkFenceGetWin32HandleInfoKHR);
- #endif
- case VK_STRUCTURE_TYPE_FILTER_CUBIC_IMAGE_VIEW_IMAGE_FORMAT_PROPERTIES_EXT: return sizeof(VkFilterCubicImageViewImageFormatPropertiesEXT);
- case VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2: return sizeof(VkFormatProperties2);
- case VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENT_IMAGE_INFO_KHR: return sizeof(VkFramebufferAttachmentImageInfoKHR);
- case VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENTS_CREATE_INFO_KHR: return sizeof(VkFramebufferAttachmentsCreateInfoKHR);
- case VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO: return sizeof(VkFramebufferCreateInfo);
- case VK_STRUCTURE_TYPE_FRAMEBUFFER_MIXED_SAMPLES_COMBINATION_NV: return sizeof(VkFramebufferMixedSamplesCombinationNV);
- case VK_STRUCTURE_TYPE_GEOMETRY_AABB_NV: return sizeof(VkGeometryAABBNV);
- case VK_STRUCTURE_TYPE_GEOMETRY_NV: return sizeof(VkGeometryNV);
- case VK_STRUCTURE_TYPE_GEOMETRY_TRIANGLES_NV: return sizeof(VkGeometryTrianglesNV);
- case VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO: return sizeof(VkGraphicsPipelineCreateInfo);
- case VK_STRUCTURE_TYPE_HDR_METADATA_EXT: return sizeof(VkHdrMetadataEXT);
- case VK_STRUCTURE_TYPE_HEADLESS_SURFACE_CREATE_INFO_EXT: return sizeof(VkHeadlessSurfaceCreateInfoEXT);
- #ifdef VK_USE_PLATFORM_IOS_MVK
- case VK_STRUCTURE_TYPE_IOS_SURFACE_CREATE_INFO_MVK: return sizeof(VkIOSSurfaceCreateInfoMVK);
- #endif
- case VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO: return sizeof(VkImageCreateInfo);
- case VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_EXPLICIT_CREATE_INFO_EXT: return sizeof(VkImageDrmFormatModifierExplicitCreateInfoEXT);
- case VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_LIST_CREATE_INFO_EXT: return sizeof(VkImageDrmFormatModifierListCreateInfoEXT);
- case VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_PROPERTIES_EXT: return sizeof(VkImageDrmFormatModifierPropertiesEXT);
- case VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO_KHR: return sizeof(VkImageFormatListCreateInfoKHR);
- case VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2: return sizeof(VkImageFormatProperties2);
- case VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER: return sizeof(VkImageMemoryBarrier);
- case VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2: return sizeof(VkImageMemoryRequirementsInfo2);
- #ifdef VK_USE_PLATFORM_FUCHSIA
- case VK_STRUCTURE_TYPE_IMAGEPIPE_SURFACE_CREATE_INFO_FUCHSIA: return sizeof(VkImagePipeSurfaceCreateInfoFUCHSIA);
- #endif
- case VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO: return sizeof(VkImagePlaneMemoryRequirementsInfo);
- case VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2: return sizeof(VkImageSparseMemoryRequirementsInfo2);
- case VK_STRUCTURE_TYPE_IMAGE_STENCIL_USAGE_CREATE_INFO_EXT: return sizeof(VkImageStencilUsageCreateInfoEXT);
- case VK_STRUCTURE_TYPE_IMAGE_SWAPCHAIN_CREATE_INFO_KHR: return sizeof(VkImageSwapchainCreateInfoKHR);
- case VK_STRUCTURE_TYPE_IMAGE_VIEW_ASTC_DECODE_MODE_EXT: return sizeof(VkImageViewASTCDecodeModeEXT);
- case VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO: return sizeof(VkImageViewCreateInfo);
- case VK_STRUCTURE_TYPE_IMAGE_VIEW_HANDLE_INFO_NVX: return sizeof(VkImageViewHandleInfoNVX);
- case VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO: return sizeof(VkImageViewUsageCreateInfo);
- #ifdef VK_USE_PLATFORM_ANDROID_KHR
- case VK_STRUCTURE_TYPE_IMPORT_ANDROID_HARDWARE_BUFFER_INFO_ANDROID: return sizeof(VkImportAndroidHardwareBufferInfoANDROID);
- #endif
- case VK_STRUCTURE_TYPE_IMPORT_FENCE_FD_INFO_KHR: return sizeof(VkImportFenceFdInfoKHR);
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- case VK_STRUCTURE_TYPE_IMPORT_FENCE_WIN32_HANDLE_INFO_KHR: return sizeof(VkImportFenceWin32HandleInfoKHR);
- #endif
- case VK_STRUCTURE_TYPE_IMPORT_MEMORY_FD_INFO_KHR: return sizeof(VkImportMemoryFdInfoKHR);
- case VK_STRUCTURE_TYPE_IMPORT_MEMORY_HOST_POINTER_INFO_EXT: return sizeof(VkImportMemoryHostPointerInfoEXT);
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- case VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR: return sizeof(VkImportMemoryWin32HandleInfoKHR);
- #endif
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- case VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_NV: return sizeof(VkImportMemoryWin32HandleInfoNV);
- #endif
- case VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_FD_INFO_KHR: return sizeof(VkImportSemaphoreFdInfoKHR);
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- case VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR: return sizeof(VkImportSemaphoreWin32HandleInfoKHR);
- #endif
- case VK_STRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_CREATE_INFO_NVX: return sizeof(VkIndirectCommandsLayoutCreateInfoNVX);
- case VK_STRUCTURE_TYPE_INITIALIZE_PERFORMANCE_API_INFO_INTEL: return sizeof(VkInitializePerformanceApiInfoINTEL);
- case VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO: return sizeof(VkInstanceCreateInfo);
- #ifdef VK_USE_PLATFORM_MACOS_MVK
- case VK_STRUCTURE_TYPE_MACOS_SURFACE_CREATE_INFO_MVK: return sizeof(VkMacOSSurfaceCreateInfoMVK);
- #endif
- case VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE: return sizeof(VkMappedMemoryRange);
- case VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO: return sizeof(VkMemoryAllocateFlagsInfo);
- case VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO: return sizeof(VkMemoryAllocateInfo);
- case VK_STRUCTURE_TYPE_MEMORY_BARRIER: return sizeof(VkMemoryBarrier);
- case VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO: return sizeof(VkMemoryDedicatedAllocateInfo);
- case VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS: return sizeof(VkMemoryDedicatedRequirements);
- case VK_STRUCTURE_TYPE_MEMORY_FD_PROPERTIES_KHR: return sizeof(VkMemoryFdPropertiesKHR);
- #ifdef VK_USE_PLATFORM_ANDROID_KHR
- case VK_STRUCTURE_TYPE_MEMORY_GET_ANDROID_HARDWARE_BUFFER_INFO_ANDROID: return sizeof(VkMemoryGetAndroidHardwareBufferInfoANDROID);
- #endif
- case VK_STRUCTURE_TYPE_MEMORY_GET_FD_INFO_KHR: return sizeof(VkMemoryGetFdInfoKHR);
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- case VK_STRUCTURE_TYPE_MEMORY_GET_WIN32_HANDLE_INFO_KHR: return sizeof(VkMemoryGetWin32HandleInfoKHR);
- #endif
- case VK_STRUCTURE_TYPE_MEMORY_HOST_POINTER_PROPERTIES_EXT: return sizeof(VkMemoryHostPointerPropertiesEXT);
- case VK_STRUCTURE_TYPE_MEMORY_PRIORITY_ALLOCATE_INFO_EXT: return sizeof(VkMemoryPriorityAllocateInfoEXT);
- case VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2: return sizeof(VkMemoryRequirements2);
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- case VK_STRUCTURE_TYPE_MEMORY_WIN32_HANDLE_PROPERTIES_KHR: return sizeof(VkMemoryWin32HandlePropertiesKHR);
- #endif
- #ifdef VK_USE_PLATFORM_METAL_EXT
- case VK_STRUCTURE_TYPE_METAL_SURFACE_CREATE_INFO_EXT: return sizeof(VkMetalSurfaceCreateInfoEXT);
- #endif
- case VK_STRUCTURE_TYPE_MULTISAMPLE_PROPERTIES_EXT: return sizeof(VkMultisamplePropertiesEXT);
- case VK_STRUCTURE_TYPE_NATIVE_BUFFER_ANDROID: return sizeof(VkNativeBufferANDROID);
- case VK_STRUCTURE_TYPE_OBJECT_TABLE_CREATE_INFO_NVX: return sizeof(VkObjectTableCreateInfoNVX);
- case VK_STRUCTURE_TYPE_PERFORMANCE_CONFIGURATION_ACQUIRE_INFO_INTEL: return sizeof(VkPerformanceConfigurationAcquireInfoINTEL);
- case VK_STRUCTURE_TYPE_PERFORMANCE_MARKER_INFO_INTEL: return sizeof(VkPerformanceMarkerInfoINTEL);
- case VK_STRUCTURE_TYPE_PERFORMANCE_OVERRIDE_INFO_INTEL: return sizeof(VkPerformanceOverrideInfoINTEL);
- case VK_STRUCTURE_TYPE_PERFORMANCE_STREAM_MARKER_INFO_INTEL: return sizeof(VkPerformanceStreamMarkerInfoINTEL);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES: return sizeof(VkPhysicalDevice16BitStorageFeatures);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES_KHR: return sizeof(VkPhysicalDevice8BitStorageFeaturesKHR);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ASTC_DECODE_FEATURES_EXT: return sizeof(VkPhysicalDeviceASTCDecodeFeaturesEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_FEATURES_EXT: return sizeof(VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_PROPERTIES_EXT: return sizeof(VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES_EXT: return sizeof(VkPhysicalDeviceBufferDeviceAddressFeaturesEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_FEATURES_NV: return sizeof(VkPhysicalDeviceComputeShaderDerivativesFeaturesNV);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONDITIONAL_RENDERING_FEATURES_EXT: return sizeof(VkPhysicalDeviceConditionalRenderingFeaturesEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONSERVATIVE_RASTERIZATION_PROPERTIES_EXT: return sizeof(VkPhysicalDeviceConservativeRasterizationPropertiesEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_FEATURES_NV: return sizeof(VkPhysicalDeviceCooperativeMatrixFeaturesNV);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_PROPERTIES_NV: return sizeof(VkPhysicalDeviceCooperativeMatrixPropertiesNV);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CORNER_SAMPLED_IMAGE_FEATURES_NV: return sizeof(VkPhysicalDeviceCornerSampledImageFeaturesNV);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COVERAGE_REDUCTION_MODE_FEATURES_NV: return sizeof(VkPhysicalDeviceCoverageReductionModeFeaturesNV);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEDICATED_ALLOCATION_IMAGE_ALIASING_FEATURES_NV: return sizeof(VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_ENABLE_FEATURES_EXT: return sizeof(VkPhysicalDeviceDepthClipEnableFeaturesEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_STENCIL_RESOLVE_PROPERTIES_KHR: return sizeof(VkPhysicalDeviceDepthStencilResolvePropertiesKHR);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES_EXT: return sizeof(VkPhysicalDeviceDescriptorIndexingFeaturesEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_PROPERTIES_EXT: return sizeof(VkPhysicalDeviceDescriptorIndexingPropertiesEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DISCARD_RECTANGLE_PROPERTIES_EXT: return sizeof(VkPhysicalDeviceDiscardRectanglePropertiesEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIES_KHR: return sizeof(VkPhysicalDeviceDriverPropertiesKHR);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXCLUSIVE_SCISSOR_FEATURES_NV: return sizeof(VkPhysicalDeviceExclusiveScissorFeaturesNV);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO: return sizeof(VkPhysicalDeviceExternalBufferInfo);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO: return sizeof(VkPhysicalDeviceExternalFenceInfo);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO: return sizeof(VkPhysicalDeviceExternalImageFormatInfo);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_HOST_PROPERTIES_EXT: return sizeof(VkPhysicalDeviceExternalMemoryHostPropertiesEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO: return sizeof(VkPhysicalDeviceExternalSemaphoreInfo);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2: return sizeof(VkPhysicalDeviceFeatures2);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIES_KHR: return sizeof(VkPhysicalDeviceFloatControlsPropertiesKHR);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_FEATURES_EXT: return sizeof(VkPhysicalDeviceFragmentDensityMapFeaturesEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_PROPERTIES_EXT: return sizeof(VkPhysicalDeviceFragmentDensityMapPropertiesEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_FEATURES_NV: return sizeof(VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_INTERLOCK_FEATURES_EXT: return sizeof(VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GROUP_PROPERTIES: return sizeof(VkPhysicalDeviceGroupProperties);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES_EXT: return sizeof(VkPhysicalDeviceHostQueryResetFeaturesEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES: return sizeof(VkPhysicalDeviceIDProperties);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_DRM_FORMAT_MODIFIER_INFO_EXT: return sizeof(VkPhysicalDeviceImageDrmFormatModifierInfoEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2: return sizeof(VkPhysicalDeviceImageFormatInfo2);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_VIEW_IMAGE_FORMAT_INFO_EXT: return sizeof(VkPhysicalDeviceImageViewImageFormatInfoEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGELESS_FRAMEBUFFER_FEATURES_KHR: return sizeof(VkPhysicalDeviceImagelessFramebufferFeaturesKHR);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INDEX_TYPE_UINT8_FEATURES_EXT: return sizeof(VkPhysicalDeviceIndexTypeUint8FeaturesEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_FEATURES_EXT: return sizeof(VkPhysicalDeviceInlineUniformBlockFeaturesEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_PROPERTIES_EXT: return sizeof(VkPhysicalDeviceInlineUniformBlockPropertiesEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_EXT: return sizeof(VkPhysicalDeviceLineRasterizationFeaturesEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_PROPERTIES_EXT: return sizeof(VkPhysicalDeviceLineRasterizationPropertiesEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES: return sizeof(VkPhysicalDeviceMaintenance3Properties);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_BUDGET_PROPERTIES_EXT: return sizeof(VkPhysicalDeviceMemoryBudgetPropertiesEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PRIORITY_FEATURES_EXT: return sizeof(VkPhysicalDeviceMemoryPriorityFeaturesEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2: return sizeof(VkPhysicalDeviceMemoryProperties2);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_FEATURES_NV: return sizeof(VkPhysicalDeviceMeshShaderFeaturesNV);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_PROPERTIES_NV: return sizeof(VkPhysicalDeviceMeshShaderPropertiesNV);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES: return sizeof(VkPhysicalDeviceMultiviewFeatures);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_ATTRIBUTES_PROPERTIES_NVX: return sizeof(VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES: return sizeof(VkPhysicalDeviceMultiviewProperties);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PCI_BUS_INFO_PROPERTIES_EXT: return sizeof(VkPhysicalDevicePCIBusInfoPropertiesEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_EXECUTABLE_PROPERTIES_FEATURES_KHR: return sizeof(VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES: return sizeof(VkPhysicalDevicePointClippingProperties);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENTATION_PROPERTIES_ANDROID: return sizeof(VkPhysicalDevicePresentationPropertiesANDROID);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2: return sizeof(VkPhysicalDeviceProperties2);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES: return sizeof(VkPhysicalDeviceProtectedMemoryFeatures);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES: return sizeof(VkPhysicalDeviceProtectedMemoryProperties);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_DESCRIPTOR_PROPERTIES_KHR: return sizeof(VkPhysicalDevicePushDescriptorPropertiesKHR);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PROPERTIES_NV: return sizeof(VkPhysicalDeviceRayTracingPropertiesNV);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_REPRESENTATIVE_FRAGMENT_TEST_FEATURES_NV: return sizeof(VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLE_LOCATIONS_PROPERTIES_EXT: return sizeof(VkPhysicalDeviceSampleLocationsPropertiesEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES_EXT: return sizeof(VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES: return sizeof(VkPhysicalDeviceSamplerYcbcrConversionFeatures);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURES_EXT: return sizeof(VkPhysicalDeviceScalarBlockLayoutFeaturesEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURES_KHR: return sizeof(VkPhysicalDeviceShaderAtomicInt64FeaturesKHR);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_2_AMD: return sizeof(VkPhysicalDeviceShaderCoreProperties2AMD);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_AMD: return sizeof(VkPhysicalDeviceShaderCorePropertiesAMD);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DEMOTE_TO_HELPER_INVOCATION_FEATURES_EXT: return sizeof(VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETERS_FEATURES: return sizeof(VkPhysicalDeviceShaderDrawParametersFeatures);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT16_INT8_FEATURES_KHR: return sizeof(VkPhysicalDeviceShaderFloat16Int8FeaturesKHR);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_IMAGE_FOOTPRINT_FEATURES_NV: return sizeof(VkPhysicalDeviceShaderImageFootprintFeaturesNV);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_FUNCTIONS_2_FEATURES_INTEL: return sizeof(VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SM_BUILTINS_FEATURES_NV: return sizeof(VkPhysicalDeviceShaderSMBuiltinsFeaturesNV);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SM_BUILTINS_PROPERTIES_NV: return sizeof(VkPhysicalDeviceShaderSMBuiltinsPropertiesNV);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_FEATURES_NV: return sizeof(VkPhysicalDeviceShadingRateImageFeaturesNV);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_PROPERTIES_NV: return sizeof(VkPhysicalDeviceShadingRateImagePropertiesNV);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2: return sizeof(VkPhysicalDeviceSparseImageFormatInfo2);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES: return sizeof(VkPhysicalDeviceSubgroupProperties);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_FEATURES_EXT: return sizeof(VkPhysicalDeviceSubgroupSizeControlFeaturesEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_PROPERTIES_EXT: return sizeof(VkPhysicalDeviceSubgroupSizeControlPropertiesEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SURFACE_INFO_2_KHR: return sizeof(VkPhysicalDeviceSurfaceInfo2KHR);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_FEATURES_EXT: return sizeof(VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_PROPERTIES_EXT: return sizeof(VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_HDR_FEATURES_EXT: return sizeof(VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_FEATURES_EXT: return sizeof(VkPhysicalDeviceTransformFeedbackFeaturesEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_PROPERTIES_EXT: return sizeof(VkPhysicalDeviceTransformFeedbackPropertiesEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES_KHR: return sizeof(VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES: return sizeof(VkPhysicalDeviceVariablePointersFeatures);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_EXT: return sizeof(VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_EXT: return sizeof(VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_MEMORY_MODEL_FEATURES_KHR: return sizeof(VkPhysicalDeviceVulkanMemoryModelFeaturesKHR);
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_YCBCR_IMAGE_ARRAYS_FEATURES_EXT: return sizeof(VkPhysicalDeviceYcbcrImageArraysFeaturesEXT);
- case VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO: return sizeof(VkPipelineCacheCreateInfo);
- case VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_ADVANCED_STATE_CREATE_INFO_EXT: return sizeof(VkPipelineColorBlendAdvancedStateCreateInfoEXT);
- case VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO: return sizeof(VkPipelineColorBlendStateCreateInfo);
- case VK_STRUCTURE_TYPE_PIPELINE_COMPILER_CONTROL_CREATE_INFO_AMD: return sizeof(VkPipelineCompilerControlCreateInfoAMD);
- case VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_MODULATION_STATE_CREATE_INFO_NV: return sizeof(VkPipelineCoverageModulationStateCreateInfoNV);
- case VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_REDUCTION_STATE_CREATE_INFO_NV: return sizeof(VkPipelineCoverageReductionStateCreateInfoNV);
- case VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV: return sizeof(VkPipelineCoverageToColorStateCreateInfoNV);
- case VK_STRUCTURE_TYPE_PIPELINE_CREATION_FEEDBACK_CREATE_INFO_EXT: return sizeof(VkPipelineCreationFeedbackCreateInfoEXT);
- case VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO: return sizeof(VkPipelineDepthStencilStateCreateInfo);
- case VK_STRUCTURE_TYPE_PIPELINE_DISCARD_RECTANGLE_STATE_CREATE_INFO_EXT: return sizeof(VkPipelineDiscardRectangleStateCreateInfoEXT);
- case VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO: return sizeof(VkPipelineDynamicStateCreateInfo);
- case VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_INFO_KHR: return sizeof(VkPipelineExecutableInfoKHR);
- case VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_INTERNAL_REPRESENTATION_KHR: return sizeof(VkPipelineExecutableInternalRepresentationKHR);
- case VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_PROPERTIES_KHR: return sizeof(VkPipelineExecutablePropertiesKHR);
- case VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_STATISTIC_KHR: return sizeof(VkPipelineExecutableStatisticKHR);
- case VK_STRUCTURE_TYPE_PIPELINE_INFO_KHR: return sizeof(VkPipelineInfoKHR);
- case VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO: return sizeof(VkPipelineInputAssemblyStateCreateInfo);
- case VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO: return sizeof(VkPipelineLayoutCreateInfo);
- case VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO: return sizeof(VkPipelineMultisampleStateCreateInfo);
- case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_CONSERVATIVE_STATE_CREATE_INFO_EXT: return sizeof(VkPipelineRasterizationConservativeStateCreateInfoEXT);
- case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_DEPTH_CLIP_STATE_CREATE_INFO_EXT: return sizeof(VkPipelineRasterizationDepthClipStateCreateInfoEXT);
- case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_LINE_STATE_CREATE_INFO_EXT: return sizeof(VkPipelineRasterizationLineStateCreateInfoEXT);
- case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO: return sizeof(VkPipelineRasterizationStateCreateInfo);
- case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMD: return sizeof(VkPipelineRasterizationStateRasterizationOrderAMD);
- case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_STREAM_CREATE_INFO_EXT: return sizeof(VkPipelineRasterizationStateStreamCreateInfoEXT);
- case VK_STRUCTURE_TYPE_PIPELINE_REPRESENTATIVE_FRAGMENT_TEST_STATE_CREATE_INFO_NV: return sizeof(VkPipelineRepresentativeFragmentTestStateCreateInfoNV);
- case VK_STRUCTURE_TYPE_PIPELINE_SAMPLE_LOCATIONS_STATE_CREATE_INFO_EXT: return sizeof(VkPipelineSampleLocationsStateCreateInfoEXT);
- case VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO: return sizeof(VkPipelineShaderStageCreateInfo);
- case VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_REQUIRED_SUBGROUP_SIZE_CREATE_INFO_EXT: return sizeof(VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT);
- case VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO: return sizeof(VkPipelineTessellationDomainOriginStateCreateInfo);
- case VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO: return sizeof(VkPipelineTessellationStateCreateInfo);
- case VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_EXT: return sizeof(VkPipelineVertexInputDivisorStateCreateInfoEXT);
- case VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO: return sizeof(VkPipelineVertexInputStateCreateInfo);
- case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_COARSE_SAMPLE_ORDER_STATE_CREATE_INFO_NV: return sizeof(VkPipelineViewportCoarseSampleOrderStateCreateInfoNV);
- case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_EXCLUSIVE_SCISSOR_STATE_CREATE_INFO_NV: return sizeof(VkPipelineViewportExclusiveScissorStateCreateInfoNV);
- case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SHADING_RATE_IMAGE_STATE_CREATE_INFO_NV: return sizeof(VkPipelineViewportShadingRateImageStateCreateInfoNV);
- case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO: return sizeof(VkPipelineViewportStateCreateInfo);
- case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV: return sizeof(VkPipelineViewportSwizzleStateCreateInfoNV);
- case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_W_SCALING_STATE_CREATE_INFO_NV: return sizeof(VkPipelineViewportWScalingStateCreateInfoNV);
- #ifdef VK_USE_PLATFORM_GGP
- case VK_STRUCTURE_TYPE_PRESENT_FRAME_TOKEN_GGP: return sizeof(VkPresentFrameTokenGGP);
- #endif
- case VK_STRUCTURE_TYPE_PRESENT_INFO_KHR: return sizeof(VkPresentInfoKHR);
- case VK_STRUCTURE_TYPE_PRESENT_REGIONS_KHR: return sizeof(VkPresentRegionsKHR);
- case VK_STRUCTURE_TYPE_PRESENT_TIMES_INFO_GOOGLE: return sizeof(VkPresentTimesInfoGOOGLE);
- case VK_STRUCTURE_TYPE_PROTECTED_SUBMIT_INFO: return sizeof(VkProtectedSubmitInfo);
- case VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO: return sizeof(VkQueryPoolCreateInfo);
- case VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO_INTEL: return sizeof(VkQueryPoolCreateInfoINTEL);
- case VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_NV: return sizeof(VkQueueFamilyCheckpointPropertiesNV);
- case VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2: return sizeof(VkQueueFamilyProperties2);
- case VK_STRUCTURE_TYPE_RAY_TRACING_PIPELINE_CREATE_INFO_NV: return sizeof(VkRayTracingPipelineCreateInfoNV);
- case VK_STRUCTURE_TYPE_RAY_TRACING_SHADER_GROUP_CREATE_INFO_NV: return sizeof(VkRayTracingShaderGroupCreateInfoNV);
- case VK_STRUCTURE_TYPE_RENDER_PASS_ATTACHMENT_BEGIN_INFO_KHR: return sizeof(VkRenderPassAttachmentBeginInfoKHR);
- case VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO: return sizeof(VkRenderPassBeginInfo);
- case VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO: return sizeof(VkRenderPassCreateInfo);
- case VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO_2_KHR: return sizeof(VkRenderPassCreateInfo2KHR);
- case VK_STRUCTURE_TYPE_RENDER_PASS_FRAGMENT_DENSITY_MAP_CREATE_INFO_EXT: return sizeof(VkRenderPassFragmentDensityMapCreateInfoEXT);
- case VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO: return sizeof(VkRenderPassInputAttachmentAspectCreateInfo);
- case VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO: return sizeof(VkRenderPassMultiviewCreateInfo);
- case VK_STRUCTURE_TYPE_RENDER_PASS_SAMPLE_LOCATIONS_BEGIN_INFO_EXT: return sizeof(VkRenderPassSampleLocationsBeginInfoEXT);
- case VK_STRUCTURE_TYPE_SAMPLE_LOCATIONS_INFO_EXT: return sizeof(VkSampleLocationsInfoEXT);
- case VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO: return sizeof(VkSamplerCreateInfo);
- case VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO_EXT: return sizeof(VkSamplerReductionModeCreateInfoEXT);
- case VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO: return sizeof(VkSamplerYcbcrConversionCreateInfo);
- case VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES: return sizeof(VkSamplerYcbcrConversionImageFormatProperties);
- case VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO: return sizeof(VkSamplerYcbcrConversionInfo);
- case VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO: return sizeof(VkSemaphoreCreateInfo);
- case VK_STRUCTURE_TYPE_SEMAPHORE_GET_FD_INFO_KHR: return sizeof(VkSemaphoreGetFdInfoKHR);
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- case VK_STRUCTURE_TYPE_SEMAPHORE_GET_WIN32_HANDLE_INFO_KHR: return sizeof(VkSemaphoreGetWin32HandleInfoKHR);
- #endif
- case VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO: return sizeof(VkShaderModuleCreateInfo);
- case VK_STRUCTURE_TYPE_SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXT: return sizeof(VkShaderModuleValidationCacheCreateInfoEXT);
- case VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_KHR: return sizeof(VkSharedPresentSurfaceCapabilitiesKHR);
- case VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2: return sizeof(VkSparseImageFormatProperties2);
- case VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2: return sizeof(VkSparseImageMemoryRequirements2);
- #ifdef VK_USE_PLATFORM_GGP
- case VK_STRUCTURE_TYPE_STREAM_DESCRIPTOR_SURFACE_CREATE_INFO_GGP: return sizeof(VkStreamDescriptorSurfaceCreateInfoGGP);
- #endif
- case VK_STRUCTURE_TYPE_SUBMIT_INFO: return sizeof(VkSubmitInfo);
- case VK_STRUCTURE_TYPE_SUBPASS_BEGIN_INFO_KHR: return sizeof(VkSubpassBeginInfoKHR);
- case VK_STRUCTURE_TYPE_SUBPASS_DEPENDENCY_2_KHR: return sizeof(VkSubpassDependency2KHR);
- case VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_2_KHR: return sizeof(VkSubpassDescription2KHR);
- case VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_DEPTH_STENCIL_RESOLVE_KHR: return sizeof(VkSubpassDescriptionDepthStencilResolveKHR);
- case VK_STRUCTURE_TYPE_SUBPASS_END_INFO_KHR: return sizeof(VkSubpassEndInfoKHR);
- case VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_EXT: return sizeof(VkSurfaceCapabilities2EXT);
- case VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_KHR: return sizeof(VkSurfaceCapabilities2KHR);
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- case VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_FULL_SCREEN_EXCLUSIVE_EXT: return sizeof(VkSurfaceCapabilitiesFullScreenExclusiveEXT);
- #endif
- case VK_STRUCTURE_TYPE_SURFACE_FORMAT_2_KHR: return sizeof(VkSurfaceFormat2KHR);
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- case VK_STRUCTURE_TYPE_SURFACE_FULL_SCREEN_EXCLUSIVE_INFO_EXT: return sizeof(VkSurfaceFullScreenExclusiveInfoEXT);
- #endif
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- case VK_STRUCTURE_TYPE_SURFACE_FULL_SCREEN_EXCLUSIVE_WIN32_INFO_EXT: return sizeof(VkSurfaceFullScreenExclusiveWin32InfoEXT);
- #endif
- case VK_STRUCTURE_TYPE_SURFACE_PROTECTED_CAPABILITIES_KHR: return sizeof(VkSurfaceProtectedCapabilitiesKHR);
- case VK_STRUCTURE_TYPE_SWAPCHAIN_COUNTER_CREATE_INFO_EXT: return sizeof(VkSwapchainCounterCreateInfoEXT);
- case VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR: return sizeof(VkSwapchainCreateInfoKHR);
- case VK_STRUCTURE_TYPE_SWAPCHAIN_DISPLAY_NATIVE_HDR_CREATE_INFO_AMD: return sizeof(VkSwapchainDisplayNativeHdrCreateInfoAMD);
- case VK_STRUCTURE_TYPE_SWAPCHAIN_IMAGE_CREATE_INFO_ANDROID: return sizeof(VkSwapchainImageCreateInfoANDROID);
- case VK_STRUCTURE_TYPE_TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMD: return sizeof(VkTextureLODGatherFormatPropertiesAMD);
- case VK_STRUCTURE_TYPE_VALIDATION_CACHE_CREATE_INFO_EXT: return sizeof(VkValidationCacheCreateInfoEXT);
- case VK_STRUCTURE_TYPE_VALIDATION_FEATURES_EXT: return sizeof(VkValidationFeaturesEXT);
- case VK_STRUCTURE_TYPE_VALIDATION_FLAGS_EXT: return sizeof(VkValidationFlagsEXT);
- #ifdef VK_USE_PLATFORM_VI_NN
- case VK_STRUCTURE_TYPE_VI_SURFACE_CREATE_INFO_NN: return sizeof(VkViSurfaceCreateInfoNN);
- #endif
- #ifdef VK_USE_PLATFORM_WAYLAND_KHR
- case VK_STRUCTURE_TYPE_WAYLAND_SURFACE_CREATE_INFO_KHR: return sizeof(VkWaylandSurfaceCreateInfoKHR);
- #endif
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- case VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_KHR: return sizeof(VkWin32KeyedMutexAcquireReleaseInfoKHR);
- #endif
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- case VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_NV: return sizeof(VkWin32KeyedMutexAcquireReleaseInfoNV);
- #endif
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- case VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR: return sizeof(VkWin32SurfaceCreateInfoKHR);
- #endif
- case VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET: return sizeof(VkWriteDescriptorSet);
- case VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_NV: return sizeof(VkWriteDescriptorSetAccelerationStructureNV);
- case VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_INLINE_UNIFORM_BLOCK_EXT: return sizeof(VkWriteDescriptorSetInlineUniformBlockEXT);
- #ifdef VK_USE_PLATFORM_XCB_KHR
- case VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR: return sizeof(VkXcbSurfaceCreateInfoKHR);
- #endif
- #ifdef VK_USE_PLATFORM_XLIB_KHR
- case VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR: return sizeof(VkXlibSurfaceCreateInfoKHR);
- #endif
- }
- #pragma GCC diagnostic pop
- unreachable("Undefined struct type.");
- }
-
- void vk_load_instance_commands(VkInstance instance,
- PFN_vkGetInstanceProcAddr gpa,
- struct vk_instance_dispatch_table *table)
- {
- memset(table, 0, sizeof(*table));
- table->GetInstanceProcAddr = gpa;
- #ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT
- table->AcquireXlibDisplayEXT = (PFN_vkAcquireXlibDisplayEXT) gpa(instance, "vkAcquireXlibDisplayEXT");
- #endif
- #ifdef VK_USE_PLATFORM_ANDROID_KHR
- table->CreateAndroidSurfaceKHR = (PFN_vkCreateAndroidSurfaceKHR) gpa(instance, "vkCreateAndroidSurfaceKHR");
- #endif
- table->CreateDebugReportCallbackEXT = (PFN_vkCreateDebugReportCallbackEXT) gpa(instance, "vkCreateDebugReportCallbackEXT");
- table->CreateDebugUtilsMessengerEXT = (PFN_vkCreateDebugUtilsMessengerEXT) gpa(instance, "vkCreateDebugUtilsMessengerEXT");
- table->CreateDevice = (PFN_vkCreateDevice) gpa(instance, "vkCreateDevice");
- table->CreateDisplayModeKHR = (PFN_vkCreateDisplayModeKHR) gpa(instance, "vkCreateDisplayModeKHR");
- table->CreateDisplayPlaneSurfaceKHR = (PFN_vkCreateDisplayPlaneSurfaceKHR) gpa(instance, "vkCreateDisplayPlaneSurfaceKHR");
- table->CreateHeadlessSurfaceEXT = (PFN_vkCreateHeadlessSurfaceEXT) gpa(instance, "vkCreateHeadlessSurfaceEXT");
- #ifdef VK_USE_PLATFORM_IOS_MVK
- table->CreateIOSSurfaceMVK = (PFN_vkCreateIOSSurfaceMVK) gpa(instance, "vkCreateIOSSurfaceMVK");
- #endif
- #ifdef VK_USE_PLATFORM_FUCHSIA
- table->CreateImagePipeSurfaceFUCHSIA = (PFN_vkCreateImagePipeSurfaceFUCHSIA) gpa(instance, "vkCreateImagePipeSurfaceFUCHSIA");
- #endif
- table->CreateInstance = (PFN_vkCreateInstance) gpa(instance, "vkCreateInstance");
- #ifdef VK_USE_PLATFORM_MACOS_MVK
- table->CreateMacOSSurfaceMVK = (PFN_vkCreateMacOSSurfaceMVK) gpa(instance, "vkCreateMacOSSurfaceMVK");
- #endif
- #ifdef VK_USE_PLATFORM_METAL_EXT
- table->CreateMetalSurfaceEXT = (PFN_vkCreateMetalSurfaceEXT) gpa(instance, "vkCreateMetalSurfaceEXT");
- #endif
- #ifdef VK_USE_PLATFORM_GGP
- table->CreateStreamDescriptorSurfaceGGP = (PFN_vkCreateStreamDescriptorSurfaceGGP) gpa(instance, "vkCreateStreamDescriptorSurfaceGGP");
- #endif
- #ifdef VK_USE_PLATFORM_VI_NN
- table->CreateViSurfaceNN = (PFN_vkCreateViSurfaceNN) gpa(instance, "vkCreateViSurfaceNN");
- #endif
- #ifdef VK_USE_PLATFORM_WAYLAND_KHR
- table->CreateWaylandSurfaceKHR = (PFN_vkCreateWaylandSurfaceKHR) gpa(instance, "vkCreateWaylandSurfaceKHR");
- #endif
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- table->CreateWin32SurfaceKHR = (PFN_vkCreateWin32SurfaceKHR) gpa(instance, "vkCreateWin32SurfaceKHR");
- #endif
- #ifdef VK_USE_PLATFORM_XCB_KHR
- table->CreateXcbSurfaceKHR = (PFN_vkCreateXcbSurfaceKHR) gpa(instance, "vkCreateXcbSurfaceKHR");
- #endif
- #ifdef VK_USE_PLATFORM_XLIB_KHR
- table->CreateXlibSurfaceKHR = (PFN_vkCreateXlibSurfaceKHR) gpa(instance, "vkCreateXlibSurfaceKHR");
- #endif
- table->DebugReportMessageEXT = (PFN_vkDebugReportMessageEXT) gpa(instance, "vkDebugReportMessageEXT");
- table->DestroyDebugReportCallbackEXT = (PFN_vkDestroyDebugReportCallbackEXT) gpa(instance, "vkDestroyDebugReportCallbackEXT");
- table->DestroyDebugUtilsMessengerEXT = (PFN_vkDestroyDebugUtilsMessengerEXT) gpa(instance, "vkDestroyDebugUtilsMessengerEXT");
- table->DestroyInstance = (PFN_vkDestroyInstance) gpa(instance, "vkDestroyInstance");
- table->DestroySurfaceKHR = (PFN_vkDestroySurfaceKHR) gpa(instance, "vkDestroySurfaceKHR");
- table->EnumerateDeviceExtensionProperties = (PFN_vkEnumerateDeviceExtensionProperties) gpa(instance, "vkEnumerateDeviceExtensionProperties");
- table->EnumerateDeviceLayerProperties = (PFN_vkEnumerateDeviceLayerProperties) gpa(instance, "vkEnumerateDeviceLayerProperties");
- table->EnumerateInstanceExtensionProperties = (PFN_vkEnumerateInstanceExtensionProperties) gpa(instance, "vkEnumerateInstanceExtensionProperties");
- table->EnumerateInstanceLayerProperties = (PFN_vkEnumerateInstanceLayerProperties) gpa(instance, "vkEnumerateInstanceLayerProperties");
- table->EnumerateInstanceVersion = (PFN_vkEnumerateInstanceVersion) gpa(instance, "vkEnumerateInstanceVersion");
- table->EnumeratePhysicalDeviceGroups = (PFN_vkEnumeratePhysicalDeviceGroups) gpa(instance, "vkEnumeratePhysicalDeviceGroups");
- table->EnumeratePhysicalDevices = (PFN_vkEnumeratePhysicalDevices) gpa(instance, "vkEnumeratePhysicalDevices");
- table->GetDisplayModeProperties2KHR = (PFN_vkGetDisplayModeProperties2KHR) gpa(instance, "vkGetDisplayModeProperties2KHR");
- table->GetDisplayModePropertiesKHR = (PFN_vkGetDisplayModePropertiesKHR) gpa(instance, "vkGetDisplayModePropertiesKHR");
- table->GetDisplayPlaneCapabilities2KHR = (PFN_vkGetDisplayPlaneCapabilities2KHR) gpa(instance, "vkGetDisplayPlaneCapabilities2KHR");
- table->GetDisplayPlaneCapabilitiesKHR = (PFN_vkGetDisplayPlaneCapabilitiesKHR) gpa(instance, "vkGetDisplayPlaneCapabilitiesKHR");
- table->GetDisplayPlaneSupportedDisplaysKHR = (PFN_vkGetDisplayPlaneSupportedDisplaysKHR) gpa(instance, "vkGetDisplayPlaneSupportedDisplaysKHR");
- table->GetPhysicalDeviceCalibrateableTimeDomainsEXT = (PFN_vkGetPhysicalDeviceCalibrateableTimeDomainsEXT) gpa(instance, "vkGetPhysicalDeviceCalibrateableTimeDomainsEXT");
- table->GetPhysicalDeviceCooperativeMatrixPropertiesNV = (PFN_vkGetPhysicalDeviceCooperativeMatrixPropertiesNV) gpa(instance, "vkGetPhysicalDeviceCooperativeMatrixPropertiesNV");
- table->GetPhysicalDeviceDisplayPlaneProperties2KHR = (PFN_vkGetPhysicalDeviceDisplayPlaneProperties2KHR) gpa(instance, "vkGetPhysicalDeviceDisplayPlaneProperties2KHR");
- table->GetPhysicalDeviceDisplayPlanePropertiesKHR = (PFN_vkGetPhysicalDeviceDisplayPlanePropertiesKHR) gpa(instance, "vkGetPhysicalDeviceDisplayPlanePropertiesKHR");
- table->GetPhysicalDeviceDisplayProperties2KHR = (PFN_vkGetPhysicalDeviceDisplayProperties2KHR) gpa(instance, "vkGetPhysicalDeviceDisplayProperties2KHR");
- table->GetPhysicalDeviceDisplayPropertiesKHR = (PFN_vkGetPhysicalDeviceDisplayPropertiesKHR) gpa(instance, "vkGetPhysicalDeviceDisplayPropertiesKHR");
- table->GetPhysicalDeviceExternalBufferProperties = (PFN_vkGetPhysicalDeviceExternalBufferProperties) gpa(instance, "vkGetPhysicalDeviceExternalBufferProperties");
- table->GetPhysicalDeviceExternalFenceProperties = (PFN_vkGetPhysicalDeviceExternalFenceProperties) gpa(instance, "vkGetPhysicalDeviceExternalFenceProperties");
- table->GetPhysicalDeviceExternalImageFormatPropertiesNV = (PFN_vkGetPhysicalDeviceExternalImageFormatPropertiesNV) gpa(instance, "vkGetPhysicalDeviceExternalImageFormatPropertiesNV");
- table->GetPhysicalDeviceExternalSemaphoreProperties = (PFN_vkGetPhysicalDeviceExternalSemaphoreProperties) gpa(instance, "vkGetPhysicalDeviceExternalSemaphoreProperties");
- table->GetPhysicalDeviceFeatures = (PFN_vkGetPhysicalDeviceFeatures) gpa(instance, "vkGetPhysicalDeviceFeatures");
- table->GetPhysicalDeviceFeatures2 = (PFN_vkGetPhysicalDeviceFeatures2) gpa(instance, "vkGetPhysicalDeviceFeatures2");
- table->GetPhysicalDeviceFormatProperties = (PFN_vkGetPhysicalDeviceFormatProperties) gpa(instance, "vkGetPhysicalDeviceFormatProperties");
- table->GetPhysicalDeviceFormatProperties2 = (PFN_vkGetPhysicalDeviceFormatProperties2) gpa(instance, "vkGetPhysicalDeviceFormatProperties2");
- table->GetPhysicalDeviceGeneratedCommandsPropertiesNVX = (PFN_vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX) gpa(instance, "vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX");
- table->GetPhysicalDeviceImageFormatProperties = (PFN_vkGetPhysicalDeviceImageFormatProperties) gpa(instance, "vkGetPhysicalDeviceImageFormatProperties");
- table->GetPhysicalDeviceImageFormatProperties2 = (PFN_vkGetPhysicalDeviceImageFormatProperties2) gpa(instance, "vkGetPhysicalDeviceImageFormatProperties2");
- table->GetPhysicalDeviceMemoryProperties = (PFN_vkGetPhysicalDeviceMemoryProperties) gpa(instance, "vkGetPhysicalDeviceMemoryProperties");
- table->GetPhysicalDeviceMemoryProperties2 = (PFN_vkGetPhysicalDeviceMemoryProperties2) gpa(instance, "vkGetPhysicalDeviceMemoryProperties2");
- table->GetPhysicalDeviceMultisamplePropertiesEXT = (PFN_vkGetPhysicalDeviceMultisamplePropertiesEXT) gpa(instance, "vkGetPhysicalDeviceMultisamplePropertiesEXT");
- table->GetPhysicalDevicePresentRectanglesKHR = (PFN_vkGetPhysicalDevicePresentRectanglesKHR) gpa(instance, "vkGetPhysicalDevicePresentRectanglesKHR");
- table->GetPhysicalDeviceProperties = (PFN_vkGetPhysicalDeviceProperties) gpa(instance, "vkGetPhysicalDeviceProperties");
- table->GetPhysicalDeviceProperties2 = (PFN_vkGetPhysicalDeviceProperties2) gpa(instance, "vkGetPhysicalDeviceProperties2");
- table->GetPhysicalDeviceQueueFamilyProperties = (PFN_vkGetPhysicalDeviceQueueFamilyProperties) gpa(instance, "vkGetPhysicalDeviceQueueFamilyProperties");
- table->GetPhysicalDeviceQueueFamilyProperties2 = (PFN_vkGetPhysicalDeviceQueueFamilyProperties2) gpa(instance, "vkGetPhysicalDeviceQueueFamilyProperties2");
- table->GetPhysicalDeviceSparseImageFormatProperties = (PFN_vkGetPhysicalDeviceSparseImageFormatProperties) gpa(instance, "vkGetPhysicalDeviceSparseImageFormatProperties");
- table->GetPhysicalDeviceSparseImageFormatProperties2 = (PFN_vkGetPhysicalDeviceSparseImageFormatProperties2) gpa(instance, "vkGetPhysicalDeviceSparseImageFormatProperties2");
- table->GetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV = (PFN_vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV) gpa(instance, "vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV");
- table->GetPhysicalDeviceSurfaceCapabilities2EXT = (PFN_vkGetPhysicalDeviceSurfaceCapabilities2EXT) gpa(instance, "vkGetPhysicalDeviceSurfaceCapabilities2EXT");
- table->GetPhysicalDeviceSurfaceCapabilities2KHR = (PFN_vkGetPhysicalDeviceSurfaceCapabilities2KHR) gpa(instance, "vkGetPhysicalDeviceSurfaceCapabilities2KHR");
- table->GetPhysicalDeviceSurfaceCapabilitiesKHR = (PFN_vkGetPhysicalDeviceSurfaceCapabilitiesKHR) gpa(instance, "vkGetPhysicalDeviceSurfaceCapabilitiesKHR");
- table->GetPhysicalDeviceSurfaceFormats2KHR = (PFN_vkGetPhysicalDeviceSurfaceFormats2KHR) gpa(instance, "vkGetPhysicalDeviceSurfaceFormats2KHR");
- table->GetPhysicalDeviceSurfaceFormatsKHR = (PFN_vkGetPhysicalDeviceSurfaceFormatsKHR) gpa(instance, "vkGetPhysicalDeviceSurfaceFormatsKHR");
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- table->GetPhysicalDeviceSurfacePresentModes2EXT = (PFN_vkGetPhysicalDeviceSurfacePresentModes2EXT) gpa(instance, "vkGetPhysicalDeviceSurfacePresentModes2EXT");
- #endif
- table->GetPhysicalDeviceSurfacePresentModesKHR = (PFN_vkGetPhysicalDeviceSurfacePresentModesKHR) gpa(instance, "vkGetPhysicalDeviceSurfacePresentModesKHR");
- table->GetPhysicalDeviceSurfaceSupportKHR = (PFN_vkGetPhysicalDeviceSurfaceSupportKHR) gpa(instance, "vkGetPhysicalDeviceSurfaceSupportKHR");
- #ifdef VK_USE_PLATFORM_WAYLAND_KHR
- table->GetPhysicalDeviceWaylandPresentationSupportKHR = (PFN_vkGetPhysicalDeviceWaylandPresentationSupportKHR) gpa(instance, "vkGetPhysicalDeviceWaylandPresentationSupportKHR");
- #endif
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- table->GetPhysicalDeviceWin32PresentationSupportKHR = (PFN_vkGetPhysicalDeviceWin32PresentationSupportKHR) gpa(instance, "vkGetPhysicalDeviceWin32PresentationSupportKHR");
- #endif
- #ifdef VK_USE_PLATFORM_XCB_KHR
- table->GetPhysicalDeviceXcbPresentationSupportKHR = (PFN_vkGetPhysicalDeviceXcbPresentationSupportKHR) gpa(instance, "vkGetPhysicalDeviceXcbPresentationSupportKHR");
- #endif
- #ifdef VK_USE_PLATFORM_XLIB_KHR
- table->GetPhysicalDeviceXlibPresentationSupportKHR = (PFN_vkGetPhysicalDeviceXlibPresentationSupportKHR) gpa(instance, "vkGetPhysicalDeviceXlibPresentationSupportKHR");
- #endif
- #ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT
- table->GetRandROutputDisplayEXT = (PFN_vkGetRandROutputDisplayEXT) gpa(instance, "vkGetRandROutputDisplayEXT");
- #endif
- table->ReleaseDisplayEXT = (PFN_vkReleaseDisplayEXT) gpa(instance, "vkReleaseDisplayEXT");
- table->SubmitDebugUtilsMessageEXT = (PFN_vkSubmitDebugUtilsMessageEXT) gpa(instance, "vkSubmitDebugUtilsMessageEXT");
- }
-
- void vk_load_device_commands(VkDevice device,
- PFN_vkGetDeviceProcAddr gpa,
- struct vk_device_dispatch_table *table)
- {
- memset(table, 0, sizeof(*table));
- table->GetDeviceProcAddr = gpa;
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- table->AcquireFullScreenExclusiveModeEXT = (PFN_vkAcquireFullScreenExclusiveModeEXT) gpa(device, "vkAcquireFullScreenExclusiveModeEXT");
- #endif
- table->AcquireImageANDROID = (PFN_vkAcquireImageANDROID) gpa(device, "vkAcquireImageANDROID");
- table->AcquireNextImage2KHR = (PFN_vkAcquireNextImage2KHR) gpa(device, "vkAcquireNextImage2KHR");
- table->AcquireNextImageKHR = (PFN_vkAcquireNextImageKHR) gpa(device, "vkAcquireNextImageKHR");
- table->AcquirePerformanceConfigurationINTEL = (PFN_vkAcquirePerformanceConfigurationINTEL) gpa(device, "vkAcquirePerformanceConfigurationINTEL");
- table->AllocateCommandBuffers = (PFN_vkAllocateCommandBuffers) gpa(device, "vkAllocateCommandBuffers");
- table->AllocateDescriptorSets = (PFN_vkAllocateDescriptorSets) gpa(device, "vkAllocateDescriptorSets");
- table->AllocateMemory = (PFN_vkAllocateMemory) gpa(device, "vkAllocateMemory");
- table->BeginCommandBuffer = (PFN_vkBeginCommandBuffer) gpa(device, "vkBeginCommandBuffer");
- table->BindAccelerationStructureMemoryNV = (PFN_vkBindAccelerationStructureMemoryNV) gpa(device, "vkBindAccelerationStructureMemoryNV");
- table->BindBufferMemory = (PFN_vkBindBufferMemory) gpa(device, "vkBindBufferMemory");
- table->BindBufferMemory2 = (PFN_vkBindBufferMemory2) gpa(device, "vkBindBufferMemory2");
- table->BindImageMemory = (PFN_vkBindImageMemory) gpa(device, "vkBindImageMemory");
- table->BindImageMemory2 = (PFN_vkBindImageMemory2) gpa(device, "vkBindImageMemory2");
- table->CmdBeginConditionalRenderingEXT = (PFN_vkCmdBeginConditionalRenderingEXT) gpa(device, "vkCmdBeginConditionalRenderingEXT");
- table->CmdBeginDebugUtilsLabelEXT = (PFN_vkCmdBeginDebugUtilsLabelEXT) gpa(device, "vkCmdBeginDebugUtilsLabelEXT");
- table->CmdBeginQuery = (PFN_vkCmdBeginQuery) gpa(device, "vkCmdBeginQuery");
- table->CmdBeginQueryIndexedEXT = (PFN_vkCmdBeginQueryIndexedEXT) gpa(device, "vkCmdBeginQueryIndexedEXT");
- table->CmdBeginRenderPass = (PFN_vkCmdBeginRenderPass) gpa(device, "vkCmdBeginRenderPass");
- table->CmdBeginRenderPass2KHR = (PFN_vkCmdBeginRenderPass2KHR) gpa(device, "vkCmdBeginRenderPass2KHR");
- table->CmdBeginTransformFeedbackEXT = (PFN_vkCmdBeginTransformFeedbackEXT) gpa(device, "vkCmdBeginTransformFeedbackEXT");
- table->CmdBindDescriptorSets = (PFN_vkCmdBindDescriptorSets) gpa(device, "vkCmdBindDescriptorSets");
- table->CmdBindIndexBuffer = (PFN_vkCmdBindIndexBuffer) gpa(device, "vkCmdBindIndexBuffer");
- table->CmdBindPipeline = (PFN_vkCmdBindPipeline) gpa(device, "vkCmdBindPipeline");
- table->CmdBindShadingRateImageNV = (PFN_vkCmdBindShadingRateImageNV) gpa(device, "vkCmdBindShadingRateImageNV");
- table->CmdBindTransformFeedbackBuffersEXT = (PFN_vkCmdBindTransformFeedbackBuffersEXT) gpa(device, "vkCmdBindTransformFeedbackBuffersEXT");
- table->CmdBindVertexBuffers = (PFN_vkCmdBindVertexBuffers) gpa(device, "vkCmdBindVertexBuffers");
- table->CmdBlitImage = (PFN_vkCmdBlitImage) gpa(device, "vkCmdBlitImage");
- table->CmdBuildAccelerationStructureNV = (PFN_vkCmdBuildAccelerationStructureNV) gpa(device, "vkCmdBuildAccelerationStructureNV");
- table->CmdClearAttachments = (PFN_vkCmdClearAttachments) gpa(device, "vkCmdClearAttachments");
- table->CmdClearColorImage = (PFN_vkCmdClearColorImage) gpa(device, "vkCmdClearColorImage");
- table->CmdClearDepthStencilImage = (PFN_vkCmdClearDepthStencilImage) gpa(device, "vkCmdClearDepthStencilImage");
- table->CmdCopyAccelerationStructureNV = (PFN_vkCmdCopyAccelerationStructureNV) gpa(device, "vkCmdCopyAccelerationStructureNV");
- table->CmdCopyBuffer = (PFN_vkCmdCopyBuffer) gpa(device, "vkCmdCopyBuffer");
- table->CmdCopyBufferToImage = (PFN_vkCmdCopyBufferToImage) gpa(device, "vkCmdCopyBufferToImage");
- table->CmdCopyImage = (PFN_vkCmdCopyImage) gpa(device, "vkCmdCopyImage");
- table->CmdCopyImageToBuffer = (PFN_vkCmdCopyImageToBuffer) gpa(device, "vkCmdCopyImageToBuffer");
- table->CmdCopyQueryPoolResults = (PFN_vkCmdCopyQueryPoolResults) gpa(device, "vkCmdCopyQueryPoolResults");
- table->CmdDebugMarkerBeginEXT = (PFN_vkCmdDebugMarkerBeginEXT) gpa(device, "vkCmdDebugMarkerBeginEXT");
- table->CmdDebugMarkerEndEXT = (PFN_vkCmdDebugMarkerEndEXT) gpa(device, "vkCmdDebugMarkerEndEXT");
- table->CmdDebugMarkerInsertEXT = (PFN_vkCmdDebugMarkerInsertEXT) gpa(device, "vkCmdDebugMarkerInsertEXT");
- table->CmdDispatch = (PFN_vkCmdDispatch) gpa(device, "vkCmdDispatch");
- table->CmdDispatchBase = (PFN_vkCmdDispatchBase) gpa(device, "vkCmdDispatchBase");
- table->CmdDispatchIndirect = (PFN_vkCmdDispatchIndirect) gpa(device, "vkCmdDispatchIndirect");
- table->CmdDraw = (PFN_vkCmdDraw) gpa(device, "vkCmdDraw");
- table->CmdDrawIndexed = (PFN_vkCmdDrawIndexed) gpa(device, "vkCmdDrawIndexed");
- table->CmdDrawIndexedIndirect = (PFN_vkCmdDrawIndexedIndirect) gpa(device, "vkCmdDrawIndexedIndirect");
- table->CmdDrawIndexedIndirectCountKHR = (PFN_vkCmdDrawIndexedIndirectCountKHR) gpa(device, "vkCmdDrawIndexedIndirectCountKHR");
- table->CmdDrawIndirect = (PFN_vkCmdDrawIndirect) gpa(device, "vkCmdDrawIndirect");
- table->CmdDrawIndirectByteCountEXT = (PFN_vkCmdDrawIndirectByteCountEXT) gpa(device, "vkCmdDrawIndirectByteCountEXT");
- table->CmdDrawIndirectCountKHR = (PFN_vkCmdDrawIndirectCountKHR) gpa(device, "vkCmdDrawIndirectCountKHR");
- table->CmdDrawMeshTasksIndirectCountNV = (PFN_vkCmdDrawMeshTasksIndirectCountNV) gpa(device, "vkCmdDrawMeshTasksIndirectCountNV");
- table->CmdDrawMeshTasksIndirectNV = (PFN_vkCmdDrawMeshTasksIndirectNV) gpa(device, "vkCmdDrawMeshTasksIndirectNV");
- table->CmdDrawMeshTasksNV = (PFN_vkCmdDrawMeshTasksNV) gpa(device, "vkCmdDrawMeshTasksNV");
- table->CmdEndConditionalRenderingEXT = (PFN_vkCmdEndConditionalRenderingEXT) gpa(device, "vkCmdEndConditionalRenderingEXT");
- table->CmdEndDebugUtilsLabelEXT = (PFN_vkCmdEndDebugUtilsLabelEXT) gpa(device, "vkCmdEndDebugUtilsLabelEXT");
- table->CmdEndQuery = (PFN_vkCmdEndQuery) gpa(device, "vkCmdEndQuery");
- table->CmdEndQueryIndexedEXT = (PFN_vkCmdEndQueryIndexedEXT) gpa(device, "vkCmdEndQueryIndexedEXT");
- table->CmdEndRenderPass = (PFN_vkCmdEndRenderPass) gpa(device, "vkCmdEndRenderPass");
- table->CmdEndRenderPass2KHR = (PFN_vkCmdEndRenderPass2KHR) gpa(device, "vkCmdEndRenderPass2KHR");
- table->CmdEndTransformFeedbackEXT = (PFN_vkCmdEndTransformFeedbackEXT) gpa(device, "vkCmdEndTransformFeedbackEXT");
- table->CmdExecuteCommands = (PFN_vkCmdExecuteCommands) gpa(device, "vkCmdExecuteCommands");
- table->CmdFillBuffer = (PFN_vkCmdFillBuffer) gpa(device, "vkCmdFillBuffer");
- table->CmdInsertDebugUtilsLabelEXT = (PFN_vkCmdInsertDebugUtilsLabelEXT) gpa(device, "vkCmdInsertDebugUtilsLabelEXT");
- table->CmdNextSubpass = (PFN_vkCmdNextSubpass) gpa(device, "vkCmdNextSubpass");
- table->CmdNextSubpass2KHR = (PFN_vkCmdNextSubpass2KHR) gpa(device, "vkCmdNextSubpass2KHR");
- table->CmdPipelineBarrier = (PFN_vkCmdPipelineBarrier) gpa(device, "vkCmdPipelineBarrier");
- table->CmdProcessCommandsNVX = (PFN_vkCmdProcessCommandsNVX) gpa(device, "vkCmdProcessCommandsNVX");
- table->CmdPushConstants = (PFN_vkCmdPushConstants) gpa(device, "vkCmdPushConstants");
- table->CmdPushDescriptorSetKHR = (PFN_vkCmdPushDescriptorSetKHR) gpa(device, "vkCmdPushDescriptorSetKHR");
- table->CmdPushDescriptorSetWithTemplateKHR = (PFN_vkCmdPushDescriptorSetWithTemplateKHR) gpa(device, "vkCmdPushDescriptorSetWithTemplateKHR");
- table->CmdReserveSpaceForCommandsNVX = (PFN_vkCmdReserveSpaceForCommandsNVX) gpa(device, "vkCmdReserveSpaceForCommandsNVX");
- table->CmdResetEvent = (PFN_vkCmdResetEvent) gpa(device, "vkCmdResetEvent");
- table->CmdResetQueryPool = (PFN_vkCmdResetQueryPool) gpa(device, "vkCmdResetQueryPool");
- table->CmdResolveImage = (PFN_vkCmdResolveImage) gpa(device, "vkCmdResolveImage");
- table->CmdSetBlendConstants = (PFN_vkCmdSetBlendConstants) gpa(device, "vkCmdSetBlendConstants");
- table->CmdSetCheckpointNV = (PFN_vkCmdSetCheckpointNV) gpa(device, "vkCmdSetCheckpointNV");
- table->CmdSetCoarseSampleOrderNV = (PFN_vkCmdSetCoarseSampleOrderNV) gpa(device, "vkCmdSetCoarseSampleOrderNV");
- table->CmdSetDepthBias = (PFN_vkCmdSetDepthBias) gpa(device, "vkCmdSetDepthBias");
- table->CmdSetDepthBounds = (PFN_vkCmdSetDepthBounds) gpa(device, "vkCmdSetDepthBounds");
- table->CmdSetDeviceMask = (PFN_vkCmdSetDeviceMask) gpa(device, "vkCmdSetDeviceMask");
- table->CmdSetDiscardRectangleEXT = (PFN_vkCmdSetDiscardRectangleEXT) gpa(device, "vkCmdSetDiscardRectangleEXT");
- table->CmdSetEvent = (PFN_vkCmdSetEvent) gpa(device, "vkCmdSetEvent");
- table->CmdSetExclusiveScissorNV = (PFN_vkCmdSetExclusiveScissorNV) gpa(device, "vkCmdSetExclusiveScissorNV");
- table->CmdSetLineStippleEXT = (PFN_vkCmdSetLineStippleEXT) gpa(device, "vkCmdSetLineStippleEXT");
- table->CmdSetLineWidth = (PFN_vkCmdSetLineWidth) gpa(device, "vkCmdSetLineWidth");
- table->CmdSetPerformanceMarkerINTEL = (PFN_vkCmdSetPerformanceMarkerINTEL) gpa(device, "vkCmdSetPerformanceMarkerINTEL");
- table->CmdSetPerformanceOverrideINTEL = (PFN_vkCmdSetPerformanceOverrideINTEL) gpa(device, "vkCmdSetPerformanceOverrideINTEL");
- table->CmdSetPerformanceStreamMarkerINTEL = (PFN_vkCmdSetPerformanceStreamMarkerINTEL) gpa(device, "vkCmdSetPerformanceStreamMarkerINTEL");
- table->CmdSetSampleLocationsEXT = (PFN_vkCmdSetSampleLocationsEXT) gpa(device, "vkCmdSetSampleLocationsEXT");
- table->CmdSetScissor = (PFN_vkCmdSetScissor) gpa(device, "vkCmdSetScissor");
- table->CmdSetStencilCompareMask = (PFN_vkCmdSetStencilCompareMask) gpa(device, "vkCmdSetStencilCompareMask");
- table->CmdSetStencilReference = (PFN_vkCmdSetStencilReference) gpa(device, "vkCmdSetStencilReference");
- table->CmdSetStencilWriteMask = (PFN_vkCmdSetStencilWriteMask) gpa(device, "vkCmdSetStencilWriteMask");
- table->CmdSetViewport = (PFN_vkCmdSetViewport) gpa(device, "vkCmdSetViewport");
- table->CmdSetViewportShadingRatePaletteNV = (PFN_vkCmdSetViewportShadingRatePaletteNV) gpa(device, "vkCmdSetViewportShadingRatePaletteNV");
- table->CmdSetViewportWScalingNV = (PFN_vkCmdSetViewportWScalingNV) gpa(device, "vkCmdSetViewportWScalingNV");
- table->CmdTraceRaysNV = (PFN_vkCmdTraceRaysNV) gpa(device, "vkCmdTraceRaysNV");
- table->CmdUpdateBuffer = (PFN_vkCmdUpdateBuffer) gpa(device, "vkCmdUpdateBuffer");
- table->CmdWaitEvents = (PFN_vkCmdWaitEvents) gpa(device, "vkCmdWaitEvents");
- table->CmdWriteAccelerationStructuresPropertiesNV = (PFN_vkCmdWriteAccelerationStructuresPropertiesNV) gpa(device, "vkCmdWriteAccelerationStructuresPropertiesNV");
- table->CmdWriteBufferMarkerAMD = (PFN_vkCmdWriteBufferMarkerAMD) gpa(device, "vkCmdWriteBufferMarkerAMD");
- table->CmdWriteTimestamp = (PFN_vkCmdWriteTimestamp) gpa(device, "vkCmdWriteTimestamp");
- table->CompileDeferredNV = (PFN_vkCompileDeferredNV) gpa(device, "vkCompileDeferredNV");
- table->CreateAccelerationStructureNV = (PFN_vkCreateAccelerationStructureNV) gpa(device, "vkCreateAccelerationStructureNV");
- table->CreateBuffer = (PFN_vkCreateBuffer) gpa(device, "vkCreateBuffer");
- table->CreateBufferView = (PFN_vkCreateBufferView) gpa(device, "vkCreateBufferView");
- table->CreateCommandPool = (PFN_vkCreateCommandPool) gpa(device, "vkCreateCommandPool");
- table->CreateComputePipelines = (PFN_vkCreateComputePipelines) gpa(device, "vkCreateComputePipelines");
- table->CreateDescriptorPool = (PFN_vkCreateDescriptorPool) gpa(device, "vkCreateDescriptorPool");
- table->CreateDescriptorSetLayout = (PFN_vkCreateDescriptorSetLayout) gpa(device, "vkCreateDescriptorSetLayout");
- table->CreateDescriptorUpdateTemplate = (PFN_vkCreateDescriptorUpdateTemplate) gpa(device, "vkCreateDescriptorUpdateTemplate");
- table->CreateEvent = (PFN_vkCreateEvent) gpa(device, "vkCreateEvent");
- table->CreateFence = (PFN_vkCreateFence) gpa(device, "vkCreateFence");
- table->CreateFramebuffer = (PFN_vkCreateFramebuffer) gpa(device, "vkCreateFramebuffer");
- table->CreateGraphicsPipelines = (PFN_vkCreateGraphicsPipelines) gpa(device, "vkCreateGraphicsPipelines");
- table->CreateImage = (PFN_vkCreateImage) gpa(device, "vkCreateImage");
- table->CreateImageView = (PFN_vkCreateImageView) gpa(device, "vkCreateImageView");
- table->CreateIndirectCommandsLayoutNVX = (PFN_vkCreateIndirectCommandsLayoutNVX) gpa(device, "vkCreateIndirectCommandsLayoutNVX");
- table->CreateObjectTableNVX = (PFN_vkCreateObjectTableNVX) gpa(device, "vkCreateObjectTableNVX");
- table->CreatePipelineCache = (PFN_vkCreatePipelineCache) gpa(device, "vkCreatePipelineCache");
- table->CreatePipelineLayout = (PFN_vkCreatePipelineLayout) gpa(device, "vkCreatePipelineLayout");
- table->CreateQueryPool = (PFN_vkCreateQueryPool) gpa(device, "vkCreateQueryPool");
- table->CreateRayTracingPipelinesNV = (PFN_vkCreateRayTracingPipelinesNV) gpa(device, "vkCreateRayTracingPipelinesNV");
- table->CreateRenderPass = (PFN_vkCreateRenderPass) gpa(device, "vkCreateRenderPass");
- table->CreateRenderPass2KHR = (PFN_vkCreateRenderPass2KHR) gpa(device, "vkCreateRenderPass2KHR");
- table->CreateSampler = (PFN_vkCreateSampler) gpa(device, "vkCreateSampler");
- table->CreateSamplerYcbcrConversion = (PFN_vkCreateSamplerYcbcrConversion) gpa(device, "vkCreateSamplerYcbcrConversion");
- table->CreateSemaphore = (PFN_vkCreateSemaphore) gpa(device, "vkCreateSemaphore");
- table->CreateShaderModule = (PFN_vkCreateShaderModule) gpa(device, "vkCreateShaderModule");
- table->CreateSharedSwapchainsKHR = (PFN_vkCreateSharedSwapchainsKHR) gpa(device, "vkCreateSharedSwapchainsKHR");
- table->CreateSwapchainKHR = (PFN_vkCreateSwapchainKHR) gpa(device, "vkCreateSwapchainKHR");
- table->CreateValidationCacheEXT = (PFN_vkCreateValidationCacheEXT) gpa(device, "vkCreateValidationCacheEXT");
- table->DebugMarkerSetObjectNameEXT = (PFN_vkDebugMarkerSetObjectNameEXT) gpa(device, "vkDebugMarkerSetObjectNameEXT");
- table->DebugMarkerSetObjectTagEXT = (PFN_vkDebugMarkerSetObjectTagEXT) gpa(device, "vkDebugMarkerSetObjectTagEXT");
- table->DestroyAccelerationStructureNV = (PFN_vkDestroyAccelerationStructureNV) gpa(device, "vkDestroyAccelerationStructureNV");
- table->DestroyBuffer = (PFN_vkDestroyBuffer) gpa(device, "vkDestroyBuffer");
- table->DestroyBufferView = (PFN_vkDestroyBufferView) gpa(device, "vkDestroyBufferView");
- table->DestroyCommandPool = (PFN_vkDestroyCommandPool) gpa(device, "vkDestroyCommandPool");
- table->DestroyDescriptorPool = (PFN_vkDestroyDescriptorPool) gpa(device, "vkDestroyDescriptorPool");
- table->DestroyDescriptorSetLayout = (PFN_vkDestroyDescriptorSetLayout) gpa(device, "vkDestroyDescriptorSetLayout");
- table->DestroyDescriptorUpdateTemplate = (PFN_vkDestroyDescriptorUpdateTemplate) gpa(device, "vkDestroyDescriptorUpdateTemplate");
- table->DestroyDevice = (PFN_vkDestroyDevice) gpa(device, "vkDestroyDevice");
- table->DestroyEvent = (PFN_vkDestroyEvent) gpa(device, "vkDestroyEvent");
- table->DestroyFence = (PFN_vkDestroyFence) gpa(device, "vkDestroyFence");
- table->DestroyFramebuffer = (PFN_vkDestroyFramebuffer) gpa(device, "vkDestroyFramebuffer");
- table->DestroyImage = (PFN_vkDestroyImage) gpa(device, "vkDestroyImage");
- table->DestroyImageView = (PFN_vkDestroyImageView) gpa(device, "vkDestroyImageView");
- table->DestroyIndirectCommandsLayoutNVX = (PFN_vkDestroyIndirectCommandsLayoutNVX) gpa(device, "vkDestroyIndirectCommandsLayoutNVX");
- table->DestroyObjectTableNVX = (PFN_vkDestroyObjectTableNVX) gpa(device, "vkDestroyObjectTableNVX");
- table->DestroyPipeline = (PFN_vkDestroyPipeline) gpa(device, "vkDestroyPipeline");
- table->DestroyPipelineCache = (PFN_vkDestroyPipelineCache) gpa(device, "vkDestroyPipelineCache");
- table->DestroyPipelineLayout = (PFN_vkDestroyPipelineLayout) gpa(device, "vkDestroyPipelineLayout");
- table->DestroyQueryPool = (PFN_vkDestroyQueryPool) gpa(device, "vkDestroyQueryPool");
- table->DestroyRenderPass = (PFN_vkDestroyRenderPass) gpa(device, "vkDestroyRenderPass");
- table->DestroySampler = (PFN_vkDestroySampler) gpa(device, "vkDestroySampler");
- table->DestroySamplerYcbcrConversion = (PFN_vkDestroySamplerYcbcrConversion) gpa(device, "vkDestroySamplerYcbcrConversion");
- table->DestroySemaphore = (PFN_vkDestroySemaphore) gpa(device, "vkDestroySemaphore");
- table->DestroyShaderModule = (PFN_vkDestroyShaderModule) gpa(device, "vkDestroyShaderModule");
- table->DestroySwapchainKHR = (PFN_vkDestroySwapchainKHR) gpa(device, "vkDestroySwapchainKHR");
- table->DestroyValidationCacheEXT = (PFN_vkDestroyValidationCacheEXT) gpa(device, "vkDestroyValidationCacheEXT");
- table->DeviceWaitIdle = (PFN_vkDeviceWaitIdle) gpa(device, "vkDeviceWaitIdle");
- table->DisplayPowerControlEXT = (PFN_vkDisplayPowerControlEXT) gpa(device, "vkDisplayPowerControlEXT");
- table->EndCommandBuffer = (PFN_vkEndCommandBuffer) gpa(device, "vkEndCommandBuffer");
- table->FlushMappedMemoryRanges = (PFN_vkFlushMappedMemoryRanges) gpa(device, "vkFlushMappedMemoryRanges");
- table->FreeCommandBuffers = (PFN_vkFreeCommandBuffers) gpa(device, "vkFreeCommandBuffers");
- table->FreeDescriptorSets = (PFN_vkFreeDescriptorSets) gpa(device, "vkFreeDescriptorSets");
- table->FreeMemory = (PFN_vkFreeMemory) gpa(device, "vkFreeMemory");
- table->GetAccelerationStructureHandleNV = (PFN_vkGetAccelerationStructureHandleNV) gpa(device, "vkGetAccelerationStructureHandleNV");
- table->GetAccelerationStructureMemoryRequirementsNV = (PFN_vkGetAccelerationStructureMemoryRequirementsNV) gpa(device, "vkGetAccelerationStructureMemoryRequirementsNV");
- #ifdef VK_USE_PLATFORM_ANDROID_KHR
- table->GetAndroidHardwareBufferPropertiesANDROID = (PFN_vkGetAndroidHardwareBufferPropertiesANDROID) gpa(device, "vkGetAndroidHardwareBufferPropertiesANDROID");
- #endif
- table->GetBufferDeviceAddressEXT = (PFN_vkGetBufferDeviceAddressEXT) gpa(device, "vkGetBufferDeviceAddressEXT");
- table->GetBufferMemoryRequirements = (PFN_vkGetBufferMemoryRequirements) gpa(device, "vkGetBufferMemoryRequirements");
- table->GetBufferMemoryRequirements2 = (PFN_vkGetBufferMemoryRequirements2) gpa(device, "vkGetBufferMemoryRequirements2");
- table->GetCalibratedTimestampsEXT = (PFN_vkGetCalibratedTimestampsEXT) gpa(device, "vkGetCalibratedTimestampsEXT");
- table->GetDescriptorSetLayoutSupport = (PFN_vkGetDescriptorSetLayoutSupport) gpa(device, "vkGetDescriptorSetLayoutSupport");
- table->GetDeviceGroupPeerMemoryFeatures = (PFN_vkGetDeviceGroupPeerMemoryFeatures) gpa(device, "vkGetDeviceGroupPeerMemoryFeatures");
- table->GetDeviceGroupPresentCapabilitiesKHR = (PFN_vkGetDeviceGroupPresentCapabilitiesKHR) gpa(device, "vkGetDeviceGroupPresentCapabilitiesKHR");
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- table->GetDeviceGroupSurfacePresentModes2EXT = (PFN_vkGetDeviceGroupSurfacePresentModes2EXT) gpa(device, "vkGetDeviceGroupSurfacePresentModes2EXT");
- #endif
- table->GetDeviceGroupSurfacePresentModesKHR = (PFN_vkGetDeviceGroupSurfacePresentModesKHR) gpa(device, "vkGetDeviceGroupSurfacePresentModesKHR");
- table->GetDeviceMemoryCommitment = (PFN_vkGetDeviceMemoryCommitment) gpa(device, "vkGetDeviceMemoryCommitment");
- table->GetDeviceQueue = (PFN_vkGetDeviceQueue) gpa(device, "vkGetDeviceQueue");
- table->GetDeviceQueue2 = (PFN_vkGetDeviceQueue2) gpa(device, "vkGetDeviceQueue2");
- table->GetEventStatus = (PFN_vkGetEventStatus) gpa(device, "vkGetEventStatus");
- table->GetFenceFdKHR = (PFN_vkGetFenceFdKHR) gpa(device, "vkGetFenceFdKHR");
- table->GetFenceStatus = (PFN_vkGetFenceStatus) gpa(device, "vkGetFenceStatus");
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- table->GetFenceWin32HandleKHR = (PFN_vkGetFenceWin32HandleKHR) gpa(device, "vkGetFenceWin32HandleKHR");
- #endif
- table->GetImageDrmFormatModifierPropertiesEXT = (PFN_vkGetImageDrmFormatModifierPropertiesEXT) gpa(device, "vkGetImageDrmFormatModifierPropertiesEXT");
- table->GetImageMemoryRequirements = (PFN_vkGetImageMemoryRequirements) gpa(device, "vkGetImageMemoryRequirements");
- table->GetImageMemoryRequirements2 = (PFN_vkGetImageMemoryRequirements2) gpa(device, "vkGetImageMemoryRequirements2");
- table->GetImageSparseMemoryRequirements = (PFN_vkGetImageSparseMemoryRequirements) gpa(device, "vkGetImageSparseMemoryRequirements");
- table->GetImageSparseMemoryRequirements2 = (PFN_vkGetImageSparseMemoryRequirements2) gpa(device, "vkGetImageSparseMemoryRequirements2");
- table->GetImageSubresourceLayout = (PFN_vkGetImageSubresourceLayout) gpa(device, "vkGetImageSubresourceLayout");
- table->GetImageViewHandleNVX = (PFN_vkGetImageViewHandleNVX) gpa(device, "vkGetImageViewHandleNVX");
- #ifdef VK_USE_PLATFORM_ANDROID_KHR
- table->GetMemoryAndroidHardwareBufferANDROID = (PFN_vkGetMemoryAndroidHardwareBufferANDROID) gpa(device, "vkGetMemoryAndroidHardwareBufferANDROID");
- #endif
- table->GetMemoryFdKHR = (PFN_vkGetMemoryFdKHR) gpa(device, "vkGetMemoryFdKHR");
- table->GetMemoryFdPropertiesKHR = (PFN_vkGetMemoryFdPropertiesKHR) gpa(device, "vkGetMemoryFdPropertiesKHR");
- table->GetMemoryHostPointerPropertiesEXT = (PFN_vkGetMemoryHostPointerPropertiesEXT) gpa(device, "vkGetMemoryHostPointerPropertiesEXT");
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- table->GetMemoryWin32HandleKHR = (PFN_vkGetMemoryWin32HandleKHR) gpa(device, "vkGetMemoryWin32HandleKHR");
- #endif
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- table->GetMemoryWin32HandleNV = (PFN_vkGetMemoryWin32HandleNV) gpa(device, "vkGetMemoryWin32HandleNV");
- #endif
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- table->GetMemoryWin32HandlePropertiesKHR = (PFN_vkGetMemoryWin32HandlePropertiesKHR) gpa(device, "vkGetMemoryWin32HandlePropertiesKHR");
- #endif
- table->GetPastPresentationTimingGOOGLE = (PFN_vkGetPastPresentationTimingGOOGLE) gpa(device, "vkGetPastPresentationTimingGOOGLE");
- table->GetPerformanceParameterINTEL = (PFN_vkGetPerformanceParameterINTEL) gpa(device, "vkGetPerformanceParameterINTEL");
- table->GetPipelineCacheData = (PFN_vkGetPipelineCacheData) gpa(device, "vkGetPipelineCacheData");
- table->GetPipelineExecutableInternalRepresentationsKHR = (PFN_vkGetPipelineExecutableInternalRepresentationsKHR) gpa(device, "vkGetPipelineExecutableInternalRepresentationsKHR");
- table->GetPipelineExecutablePropertiesKHR = (PFN_vkGetPipelineExecutablePropertiesKHR) gpa(device, "vkGetPipelineExecutablePropertiesKHR");
- table->GetPipelineExecutableStatisticsKHR = (PFN_vkGetPipelineExecutableStatisticsKHR) gpa(device, "vkGetPipelineExecutableStatisticsKHR");
- table->GetQueryPoolResults = (PFN_vkGetQueryPoolResults) gpa(device, "vkGetQueryPoolResults");
- table->GetQueueCheckpointDataNV = (PFN_vkGetQueueCheckpointDataNV) gpa(device, "vkGetQueueCheckpointDataNV");
- table->GetRayTracingShaderGroupHandlesNV = (PFN_vkGetRayTracingShaderGroupHandlesNV) gpa(device, "vkGetRayTracingShaderGroupHandlesNV");
- table->GetRefreshCycleDurationGOOGLE = (PFN_vkGetRefreshCycleDurationGOOGLE) gpa(device, "vkGetRefreshCycleDurationGOOGLE");
- table->GetRenderAreaGranularity = (PFN_vkGetRenderAreaGranularity) gpa(device, "vkGetRenderAreaGranularity");
- table->GetSemaphoreFdKHR = (PFN_vkGetSemaphoreFdKHR) gpa(device, "vkGetSemaphoreFdKHR");
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- table->GetSemaphoreWin32HandleKHR = (PFN_vkGetSemaphoreWin32HandleKHR) gpa(device, "vkGetSemaphoreWin32HandleKHR");
- #endif
- table->GetShaderInfoAMD = (PFN_vkGetShaderInfoAMD) gpa(device, "vkGetShaderInfoAMD");
- table->GetSwapchainCounterEXT = (PFN_vkGetSwapchainCounterEXT) gpa(device, "vkGetSwapchainCounterEXT");
- table->GetSwapchainGrallocUsage2ANDROID = (PFN_vkGetSwapchainGrallocUsage2ANDROID) gpa(device, "vkGetSwapchainGrallocUsage2ANDROID");
- table->GetSwapchainGrallocUsageANDROID = (PFN_vkGetSwapchainGrallocUsageANDROID) gpa(device, "vkGetSwapchainGrallocUsageANDROID");
- table->GetSwapchainImagesKHR = (PFN_vkGetSwapchainImagesKHR) gpa(device, "vkGetSwapchainImagesKHR");
- table->GetSwapchainStatusKHR = (PFN_vkGetSwapchainStatusKHR) gpa(device, "vkGetSwapchainStatusKHR");
- table->GetValidationCacheDataEXT = (PFN_vkGetValidationCacheDataEXT) gpa(device, "vkGetValidationCacheDataEXT");
- table->ImportFenceFdKHR = (PFN_vkImportFenceFdKHR) gpa(device, "vkImportFenceFdKHR");
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- table->ImportFenceWin32HandleKHR = (PFN_vkImportFenceWin32HandleKHR) gpa(device, "vkImportFenceWin32HandleKHR");
- #endif
- table->ImportSemaphoreFdKHR = (PFN_vkImportSemaphoreFdKHR) gpa(device, "vkImportSemaphoreFdKHR");
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- table->ImportSemaphoreWin32HandleKHR = (PFN_vkImportSemaphoreWin32HandleKHR) gpa(device, "vkImportSemaphoreWin32HandleKHR");
- #endif
- table->InitializePerformanceApiINTEL = (PFN_vkInitializePerformanceApiINTEL) gpa(device, "vkInitializePerformanceApiINTEL");
- table->InvalidateMappedMemoryRanges = (PFN_vkInvalidateMappedMemoryRanges) gpa(device, "vkInvalidateMappedMemoryRanges");
- table->MapMemory = (PFN_vkMapMemory) gpa(device, "vkMapMemory");
- table->MergePipelineCaches = (PFN_vkMergePipelineCaches) gpa(device, "vkMergePipelineCaches");
- table->MergeValidationCachesEXT = (PFN_vkMergeValidationCachesEXT) gpa(device, "vkMergeValidationCachesEXT");
- table->QueueBeginDebugUtilsLabelEXT = (PFN_vkQueueBeginDebugUtilsLabelEXT) gpa(device, "vkQueueBeginDebugUtilsLabelEXT");
- table->QueueBindSparse = (PFN_vkQueueBindSparse) gpa(device, "vkQueueBindSparse");
- table->QueueEndDebugUtilsLabelEXT = (PFN_vkQueueEndDebugUtilsLabelEXT) gpa(device, "vkQueueEndDebugUtilsLabelEXT");
- table->QueueInsertDebugUtilsLabelEXT = (PFN_vkQueueInsertDebugUtilsLabelEXT) gpa(device, "vkQueueInsertDebugUtilsLabelEXT");
- table->QueuePresentKHR = (PFN_vkQueuePresentKHR) gpa(device, "vkQueuePresentKHR");
- table->QueueSetPerformanceConfigurationINTEL = (PFN_vkQueueSetPerformanceConfigurationINTEL) gpa(device, "vkQueueSetPerformanceConfigurationINTEL");
- table->QueueSignalReleaseImageANDROID = (PFN_vkQueueSignalReleaseImageANDROID) gpa(device, "vkQueueSignalReleaseImageANDROID");
- table->QueueSubmit = (PFN_vkQueueSubmit) gpa(device, "vkQueueSubmit");
- table->QueueWaitIdle = (PFN_vkQueueWaitIdle) gpa(device, "vkQueueWaitIdle");
- table->RegisterDeviceEventEXT = (PFN_vkRegisterDeviceEventEXT) gpa(device, "vkRegisterDeviceEventEXT");
- table->RegisterDisplayEventEXT = (PFN_vkRegisterDisplayEventEXT) gpa(device, "vkRegisterDisplayEventEXT");
- table->RegisterObjectsNVX = (PFN_vkRegisterObjectsNVX) gpa(device, "vkRegisterObjectsNVX");
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- table->ReleaseFullScreenExclusiveModeEXT = (PFN_vkReleaseFullScreenExclusiveModeEXT) gpa(device, "vkReleaseFullScreenExclusiveModeEXT");
- #endif
- table->ReleasePerformanceConfigurationINTEL = (PFN_vkReleasePerformanceConfigurationINTEL) gpa(device, "vkReleasePerformanceConfigurationINTEL");
- table->ResetCommandBuffer = (PFN_vkResetCommandBuffer) gpa(device, "vkResetCommandBuffer");
- table->ResetCommandPool = (PFN_vkResetCommandPool) gpa(device, "vkResetCommandPool");
- table->ResetDescriptorPool = (PFN_vkResetDescriptorPool) gpa(device, "vkResetDescriptorPool");
- table->ResetEvent = (PFN_vkResetEvent) gpa(device, "vkResetEvent");
- table->ResetFences = (PFN_vkResetFences) gpa(device, "vkResetFences");
- table->ResetQueryPoolEXT = (PFN_vkResetQueryPoolEXT) gpa(device, "vkResetQueryPoolEXT");
- table->SetDebugUtilsObjectNameEXT = (PFN_vkSetDebugUtilsObjectNameEXT) gpa(device, "vkSetDebugUtilsObjectNameEXT");
- table->SetDebugUtilsObjectTagEXT = (PFN_vkSetDebugUtilsObjectTagEXT) gpa(device, "vkSetDebugUtilsObjectTagEXT");
- table->SetEvent = (PFN_vkSetEvent) gpa(device, "vkSetEvent");
- table->SetHdrMetadataEXT = (PFN_vkSetHdrMetadataEXT) gpa(device, "vkSetHdrMetadataEXT");
- table->SetLocalDimmingAMD = (PFN_vkSetLocalDimmingAMD) gpa(device, "vkSetLocalDimmingAMD");
- table->TrimCommandPool = (PFN_vkTrimCommandPool) gpa(device, "vkTrimCommandPool");
- table->UninitializePerformanceApiINTEL = (PFN_vkUninitializePerformanceApiINTEL) gpa(device, "vkUninitializePerformanceApiINTEL");
- table->UnmapMemory = (PFN_vkUnmapMemory) gpa(device, "vkUnmapMemory");
- table->UnregisterObjectsNVX = (PFN_vkUnregisterObjectsNVX) gpa(device, "vkUnregisterObjectsNVX");
- table->UpdateDescriptorSetWithTemplate = (PFN_vkUpdateDescriptorSetWithTemplate) gpa(device, "vkUpdateDescriptorSetWithTemplate");
- table->UpdateDescriptorSets = (PFN_vkUpdateDescriptorSets) gpa(device, "vkUpdateDescriptorSets");
- table->WaitForFences = (PFN_vkWaitForFences) gpa(device, "vkWaitForFences");
- }
diff --git a/lib/mesa/src/vulkan/util/vk_enum_to_str.h b/lib/mesa/src/vulkan/util/vk_enum_to_str.h
deleted file mode 100644
index bd2a58ea6..000000000
--- a/lib/mesa/src/vulkan/util/vk_enum_to_str.h
+++ /dev/null
@@ -1,726 +0,0 @@
- /* Autogenerated file -- do not edit
- * generated by gen_enum_to_str.py
- *
- * Copyright © 2017 Intel Corporation
-*
-* Permission is hereby granted, free of charge, to any person obtaining a copy
-* of this software and associated documentation files (the "Software"), to deal
-* in the Software without restriction, including without limitation the rights
-* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-* copies of the Software, and to permit persons to whom the Software is
-* furnished to do so, subject to the following conditions:
-*
-* The above copyright notice and this permission notice shall be included in
-* all copies or substantial portions of the Software.
-*
-* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-* SOFTWARE.
- */
-
- #ifndef MESA_VK_ENUM_TO_STR_H
- #define MESA_VK_ENUM_TO_STR_H
-
- #include <vulkan/vulkan.h>
- #include <vulkan/vk_android_native_buffer.h>
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- #define _VK_AMD_buffer_marker_number (180)
- #define _VK_AMD_display_native_hdr_number (214)
- #define _VK_AMD_draw_indirect_count_number (34)
- #define _VK_AMD_gcn_shader_number (26)
- #define _VK_AMD_gpu_shader_half_float_number (37)
- #define _VK_AMD_gpu_shader_int16_number (133)
- #define _VK_AMD_memory_overallocation_behavior_number (190)
- #define _VK_AMD_mixed_attachment_samples_number (137)
- #define _VK_AMD_negative_viewport_height_number (36)
- #define _VK_AMD_pipeline_compiler_control_number (184)
- #define _VK_AMD_rasterization_order_number (19)
- #define _VK_AMD_shader_ballot_number (38)
- #define _VK_AMD_shader_core_properties_number (186)
- #define _VK_AMD_shader_core_properties2_number (228)
- #define _VK_AMD_shader_explicit_vertex_parameter_number (22)
- #define _VK_AMD_shader_fragment_mask_number (138)
- #define _VK_AMD_shader_image_load_store_lod_number (47)
- #define _VK_AMD_shader_info_number (43)
- #define _VK_AMD_shader_trinary_minmax_number (21)
- #define _VK_AMD_texture_gather_bias_lod_number (42)
- #define _VK_ANDROID_external_memory_android_hardware_buffer_number (130)
- #define _VK_EXT_acquire_xlib_display_number (90)
- #define _VK_EXT_astc_decode_mode_number (68)
- #define _VK_EXT_blend_operation_advanced_number (149)
- #define _VK_EXT_buffer_device_address_number (245)
- #define _VK_EXT_calibrated_timestamps_number (185)
- #define _VK_EXT_conditional_rendering_number (82)
- #define _VK_EXT_conservative_rasterization_number (102)
- #define _VK_EXT_debug_marker_number (23)
- #define _VK_EXT_debug_report_number (12)
- #define _VK_EXT_debug_utils_number (129)
- #define _VK_EXT_depth_clip_enable_number (103)
- #define _VK_EXT_depth_range_unrestricted_number (14)
- #define _VK_EXT_descriptor_indexing_number (162)
- #define _VK_EXT_direct_mode_display_number (89)
- #define _VK_EXT_discard_rectangles_number (100)
- #define _VK_EXT_display_control_number (92)
- #define _VK_EXT_display_surface_counter_number (91)
- #define _VK_EXT_external_memory_dma_buf_number (126)
- #define _VK_EXT_external_memory_host_number (179)
- #define _VK_EXT_filter_cubic_number (171)
- #define _VK_EXT_fragment_density_map_number (219)
- #define _VK_EXT_fragment_shader_interlock_number (252)
- #define _VK_EXT_full_screen_exclusive_number (256)
- #define _VK_EXT_global_priority_number (175)
- #define _VK_EXT_hdr_metadata_number (106)
- #define _VK_EXT_headless_surface_number (257)
- #define _VK_EXT_host_query_reset_number (262)
- #define _VK_EXT_image_drm_format_modifier_number (159)
- #define _VK_EXT_index_type_uint8_number (266)
- #define _VK_EXT_inline_uniform_block_number (139)
- #define _VK_EXT_line_rasterization_number (260)
- #define _VK_EXT_memory_budget_number (238)
- #define _VK_EXT_memory_priority_number (239)
- #define _VK_EXT_metal_surface_number (218)
- #define _VK_EXT_pci_bus_info_number (213)
- #define _VK_EXT_pipeline_creation_feedback_number (193)
- #define _VK_EXT_post_depth_coverage_number (156)
- #define _VK_EXT_queue_family_foreign_number (127)
- #define _VK_EXT_sample_locations_number (144)
- #define _VK_EXT_sampler_filter_minmax_number (131)
- #define _VK_EXT_scalar_block_layout_number (222)
- #define _VK_EXT_separate_stencil_usage_number (247)
- #define _VK_EXT_shader_demote_to_helper_invocation_number (277)
- #define _VK_EXT_shader_stencil_export_number (141)
- #define _VK_EXT_shader_subgroup_ballot_number (65)
- #define _VK_EXT_shader_subgroup_vote_number (66)
- #define _VK_EXT_shader_viewport_index_layer_number (163)
- #define _VK_EXT_subgroup_size_control_number (226)
- #define _VK_EXT_swapchain_colorspace_number (105)
- #define _VK_EXT_texel_buffer_alignment_number (282)
- #define _VK_EXT_texture_compression_astc_hdr_number (67)
- #define _VK_EXT_transform_feedback_number (29)
- #define _VK_EXT_validation_cache_number (161)
- #define _VK_EXT_validation_features_number (248)
- #define _VK_EXT_validation_flags_number (62)
- #define _VK_EXT_vertex_attribute_divisor_number (191)
- #define _VK_EXT_ycbcr_image_arrays_number (253)
- #define _VK_FUCHSIA_imagepipe_surface_number (215)
- #define _VK_GGP_frame_token_number (192)
- #define _VK_GGP_stream_descriptor_surface_number (50)
- #define _VK_GOOGLE_decorate_string_number (225)
- #define _VK_GOOGLE_display_timing_number (93)
- #define _VK_GOOGLE_hlsl_functionality1_number (224)
- #define _VK_IMG_filter_cubic_number (16)
- #define _VK_IMG_format_pvrtc_number (55)
- #define _VK_INTEL_performance_query_number (211)
- #define _VK_INTEL_shader_integer_functions2_number (210)
- #define _VK_KHR_16bit_storage_number (84)
- #define _VK_KHR_8bit_storage_number (178)
- #define _VK_KHR_android_surface_number (9)
- #define _VK_KHR_bind_memory2_number (158)
- #define _VK_KHR_create_renderpass2_number (110)
- #define _VK_KHR_dedicated_allocation_number (128)
- #define _VK_KHR_depth_stencil_resolve_number (200)
- #define _VK_KHR_descriptor_update_template_number (86)
- #define _VK_KHR_device_group_number (61)
- #define _VK_KHR_device_group_creation_number (71)
- #define _VK_KHR_display_number (3)
- #define _VK_KHR_display_swapchain_number (4)
- #define _VK_KHR_draw_indirect_count_number (170)
- #define _VK_KHR_driver_properties_number (197)
- #define _VK_KHR_external_fence_number (114)
- #define _VK_KHR_external_fence_capabilities_number (113)
- #define _VK_KHR_external_fence_fd_number (116)
- #define _VK_KHR_external_fence_win32_number (115)
- #define _VK_KHR_external_memory_number (73)
- #define _VK_KHR_external_memory_capabilities_number (72)
- #define _VK_KHR_external_memory_fd_number (75)
- #define _VK_KHR_external_memory_win32_number (74)
- #define _VK_KHR_external_semaphore_number (78)
- #define _VK_KHR_external_semaphore_capabilities_number (77)
- #define _VK_KHR_external_semaphore_fd_number (80)
- #define _VK_KHR_external_semaphore_win32_number (79)
- #define _VK_KHR_get_display_properties2_number (122)
- #define _VK_KHR_get_memory_requirements2_number (147)
- #define _VK_KHR_get_physical_device_properties2_number (60)
- #define _VK_KHR_get_surface_capabilities2_number (120)
- #define _VK_KHR_image_format_list_number (148)
- #define _VK_KHR_imageless_framebuffer_number (109)
- #define _VK_KHR_incremental_present_number (85)
- #define _VK_KHR_maintenance1_number (70)
- #define _VK_KHR_maintenance2_number (118)
- #define _VK_KHR_maintenance3_number (169)
- #define _VK_KHR_multiview_number (54)
- #define _VK_KHR_pipeline_executable_properties_number (270)
- #define _VK_KHR_push_descriptor_number (81)
- #define _VK_KHR_relaxed_block_layout_number (145)
- #define _VK_KHR_sampler_mirror_clamp_to_edge_number (15)
- #define _VK_KHR_sampler_ycbcr_conversion_number (157)
- #define _VK_KHR_shader_atomic_int64_number (181)
- #define _VK_KHR_shader_draw_parameters_number (64)
- #define _VK_KHR_shader_float16_int8_number (83)
- #define _VK_KHR_shader_float_controls_number (198)
- #define _VK_KHR_shared_presentable_image_number (112)
- #define _VK_KHR_storage_buffer_storage_class_number (132)
- #define _VK_KHR_surface_number (1)
- #define _VK_KHR_surface_protected_capabilities_number (240)
- #define _VK_KHR_swapchain_number (2)
- #define _VK_KHR_swapchain_mutable_format_number (201)
- #define _VK_KHR_uniform_buffer_standard_layout_number (254)
- #define _VK_KHR_variable_pointers_number (121)
- #define _VK_KHR_vulkan_memory_model_number (212)
- #define _VK_KHR_wayland_surface_number (7)
- #define _VK_KHR_win32_keyed_mutex_number (76)
- #define _VK_KHR_win32_surface_number (10)
- #define _VK_KHR_xcb_surface_number (6)
- #define _VK_KHR_xlib_surface_number (5)
- #define _VK_MVK_ios_surface_number (123)
- #define _VK_MVK_macos_surface_number (124)
- #define _VK_NN_vi_surface_number (63)
- #define _VK_NVX_device_generated_commands_number (87)
- #define _VK_NVX_image_view_handle_number (31)
- #define _VK_NVX_multiview_per_view_attributes_number (98)
- #define _VK_NV_clip_space_w_scaling_number (88)
- #define _VK_NV_compute_shader_derivatives_number (202)
- #define _VK_NV_cooperative_matrix_number (250)
- #define _VK_NV_corner_sampled_image_number (51)
- #define _VK_NV_coverage_reduction_mode_number (251)
- #define _VK_NV_dedicated_allocation_number (27)
- #define _VK_NV_dedicated_allocation_image_aliasing_number (241)
- #define _VK_NV_device_diagnostic_checkpoints_number (207)
- #define _VK_NV_external_memory_number (57)
- #define _VK_NV_external_memory_capabilities_number (56)
- #define _VK_NV_external_memory_win32_number (58)
- #define _VK_NV_fill_rectangle_number (154)
- #define _VK_NV_fragment_coverage_to_color_number (150)
- #define _VK_NV_fragment_shader_barycentric_number (204)
- #define _VK_NV_framebuffer_mixed_samples_number (153)
- #define _VK_NV_geometry_shader_passthrough_number (96)
- #define _VK_NV_glsl_shader_number (13)
- #define _VK_NV_mesh_shader_number (203)
- #define _VK_NV_ray_tracing_number (166)
- #define _VK_NV_representative_fragment_test_number (167)
- #define _VK_NV_sample_mask_override_coverage_number (95)
- #define _VK_NV_scissor_exclusive_number (206)
- #define _VK_NV_shader_image_footprint_number (205)
- #define _VK_NV_shader_sm_builtins_number (155)
- #define _VK_NV_shader_subgroup_partitioned_number (199)
- #define _VK_NV_shading_rate_image_number (165)
- #define _VK_NV_viewport_array2_number (97)
- #define _VK_NV_viewport_swizzle_number (99)
- #define _VK_NV_win32_keyed_mutex_number (59)
-
- const char * vk_AccelerationStructureMemoryRequirementsTypeNV_to_str(VkAccelerationStructureMemoryRequirementsTypeNV input);
- const char * vk_AccelerationStructureTypeNV_to_str(VkAccelerationStructureTypeNV input);
- const char * vk_AttachmentLoadOp_to_str(VkAttachmentLoadOp input);
- const char * vk_AttachmentStoreOp_to_str(VkAttachmentStoreOp input);
- const char * vk_BlendFactor_to_str(VkBlendFactor input);
- const char * vk_BlendOp_to_str(VkBlendOp input);
- const char * vk_BlendOverlapEXT_to_str(VkBlendOverlapEXT input);
- const char * vk_BorderColor_to_str(VkBorderColor input);
- const char * vk_ChromaLocation_to_str(VkChromaLocation input);
- const char * vk_CoarseSampleOrderTypeNV_to_str(VkCoarseSampleOrderTypeNV input);
- const char * vk_ColorSpaceKHR_to_str(VkColorSpaceKHR input);
- const char * vk_CommandBufferLevel_to_str(VkCommandBufferLevel input);
- const char * vk_CompareOp_to_str(VkCompareOp input);
- const char * vk_ComponentSwizzle_to_str(VkComponentSwizzle input);
- const char * vk_ComponentTypeNV_to_str(VkComponentTypeNV input);
- const char * vk_ConservativeRasterizationModeEXT_to_str(VkConservativeRasterizationModeEXT input);
- const char * vk_CopyAccelerationStructureModeNV_to_str(VkCopyAccelerationStructureModeNV input);
- const char * vk_CoverageModulationModeNV_to_str(VkCoverageModulationModeNV input);
- const char * vk_CoverageReductionModeNV_to_str(VkCoverageReductionModeNV input);
- const char * vk_DebugReportObjectTypeEXT_to_str(VkDebugReportObjectTypeEXT input);
- const char * vk_DescriptorType_to_str(VkDescriptorType input);
- const char * vk_DescriptorUpdateTemplateType_to_str(VkDescriptorUpdateTemplateType input);
- const char * vk_DeviceEventTypeEXT_to_str(VkDeviceEventTypeEXT input);
- const char * vk_DiscardRectangleModeEXT_to_str(VkDiscardRectangleModeEXT input);
- const char * vk_DisplayEventTypeEXT_to_str(VkDisplayEventTypeEXT input);
- const char * vk_DisplayPowerStateEXT_to_str(VkDisplayPowerStateEXT input);
- const char * vk_DriverIdKHR_to_str(VkDriverIdKHR input);
- const char * vk_DynamicState_to_str(VkDynamicState input);
- const char * vk_Filter_to_str(VkFilter input);
- const char * vk_Format_to_str(VkFormat input);
- const char * vk_FrontFace_to_str(VkFrontFace input);
-#ifdef VK_USE_PLATFORM_WIN32_KHR
- const char * vk_FullScreenExclusiveEXT_to_str(VkFullScreenExclusiveEXT input);
-#endif
- const char * vk_GeometryTypeNV_to_str(VkGeometryTypeNV input);
- const char * vk_ImageLayout_to_str(VkImageLayout input);
- const char * vk_ImageTiling_to_str(VkImageTiling input);
- const char * vk_ImageType_to_str(VkImageType input);
- const char * vk_ImageViewType_to_str(VkImageViewType input);
- const char * vk_IndexType_to_str(VkIndexType input);
- const char * vk_IndirectCommandsTokenTypeNVX_to_str(VkIndirectCommandsTokenTypeNVX input);
- const char * vk_InternalAllocationType_to_str(VkInternalAllocationType input);
- const char * vk_LineRasterizationModeEXT_to_str(VkLineRasterizationModeEXT input);
- const char * vk_LogicOp_to_str(VkLogicOp input);
- const char * vk_MemoryOverallocationBehaviorAMD_to_str(VkMemoryOverallocationBehaviorAMD input);
- const char * vk_ObjectEntryTypeNVX_to_str(VkObjectEntryTypeNVX input);
- const char * vk_ObjectType_to_str(VkObjectType input);
- const char * vk_PerformanceConfigurationTypeINTEL_to_str(VkPerformanceConfigurationTypeINTEL input);
- const char * vk_PerformanceOverrideTypeINTEL_to_str(VkPerformanceOverrideTypeINTEL input);
- const char * vk_PerformanceParameterTypeINTEL_to_str(VkPerformanceParameterTypeINTEL input);
- const char * vk_PerformanceValueTypeINTEL_to_str(VkPerformanceValueTypeINTEL input);
- const char * vk_PhysicalDeviceType_to_str(VkPhysicalDeviceType input);
- const char * vk_PipelineBindPoint_to_str(VkPipelineBindPoint input);
- const char * vk_PipelineCacheHeaderVersion_to_str(VkPipelineCacheHeaderVersion input);
- const char * vk_PipelineExecutableStatisticFormatKHR_to_str(VkPipelineExecutableStatisticFormatKHR input);
- const char * vk_PointClippingBehavior_to_str(VkPointClippingBehavior input);
- const char * vk_PolygonMode_to_str(VkPolygonMode input);
- const char * vk_PresentModeKHR_to_str(VkPresentModeKHR input);
- const char * vk_PrimitiveTopology_to_str(VkPrimitiveTopology input);
- const char * vk_QueryPoolSamplingModeINTEL_to_str(VkQueryPoolSamplingModeINTEL input);
- const char * vk_QueryType_to_str(VkQueryType input);
- const char * vk_QueueGlobalPriorityEXT_to_str(VkQueueGlobalPriorityEXT input);
- const char * vk_RasterizationOrderAMD_to_str(VkRasterizationOrderAMD input);
- const char * vk_RayTracingShaderGroupTypeNV_to_str(VkRayTracingShaderGroupTypeNV input);
- const char * vk_Result_to_str(VkResult input);
- const char * vk_SamplerAddressMode_to_str(VkSamplerAddressMode input);
- const char * vk_SamplerMipmapMode_to_str(VkSamplerMipmapMode input);
- const char * vk_SamplerReductionModeEXT_to_str(VkSamplerReductionModeEXT input);
- const char * vk_SamplerYcbcrModelConversion_to_str(VkSamplerYcbcrModelConversion input);
- const char * vk_SamplerYcbcrRange_to_str(VkSamplerYcbcrRange input);
- const char * vk_ScopeNV_to_str(VkScopeNV input);
- const char * vk_ShaderFloatControlsIndependenceKHR_to_str(VkShaderFloatControlsIndependenceKHR input);
- const char * vk_ShaderInfoTypeAMD_to_str(VkShaderInfoTypeAMD input);
- const char * vk_ShadingRatePaletteEntryNV_to_str(VkShadingRatePaletteEntryNV input);
- const char * vk_SharingMode_to_str(VkSharingMode input);
- const char * vk_StencilOp_to_str(VkStencilOp input);
- const char * vk_StructureType_to_str(VkStructureType input);
- const char * vk_SubpassContents_to_str(VkSubpassContents input);
- const char * vk_SystemAllocationScope_to_str(VkSystemAllocationScope input);
- const char * vk_TessellationDomainOrigin_to_str(VkTessellationDomainOrigin input);
- const char * vk_TimeDomainEXT_to_str(VkTimeDomainEXT input);
- const char * vk_ValidationCacheHeaderVersionEXT_to_str(VkValidationCacheHeaderVersionEXT input);
- const char * vk_ValidationCheckEXT_to_str(VkValidationCheckEXT input);
- const char * vk_ValidationFeatureDisableEXT_to_str(VkValidationFeatureDisableEXT input);
- const char * vk_ValidationFeatureEnableEXT_to_str(VkValidationFeatureEnableEXT input);
- const char * vk_VendorId_to_str(VkVendorId input);
- const char * vk_VertexInputRate_to_str(VkVertexInputRate input);
- const char * vk_ViewportCoordinateSwizzleNV_to_str(VkViewportCoordinateSwizzleNV input);
-
- size_t vk_structure_type_size(const struct VkBaseInStructure *item);
-
- struct vk_instance_dispatch_table {
- PFN_vkGetInstanceProcAddr GetInstanceProcAddr;
- #ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT
- PFN_vkAcquireXlibDisplayEXT AcquireXlibDisplayEXT;
- #endif
- #ifdef VK_USE_PLATFORM_ANDROID_KHR
- PFN_vkCreateAndroidSurfaceKHR CreateAndroidSurfaceKHR;
- #endif
- PFN_vkCreateDebugReportCallbackEXT CreateDebugReportCallbackEXT;
- PFN_vkCreateDebugUtilsMessengerEXT CreateDebugUtilsMessengerEXT;
- PFN_vkCreateDevice CreateDevice;
- PFN_vkCreateDisplayModeKHR CreateDisplayModeKHR;
- PFN_vkCreateDisplayPlaneSurfaceKHR CreateDisplayPlaneSurfaceKHR;
- PFN_vkCreateHeadlessSurfaceEXT CreateHeadlessSurfaceEXT;
- #ifdef VK_USE_PLATFORM_IOS_MVK
- PFN_vkCreateIOSSurfaceMVK CreateIOSSurfaceMVK;
- #endif
- #ifdef VK_USE_PLATFORM_FUCHSIA
- PFN_vkCreateImagePipeSurfaceFUCHSIA CreateImagePipeSurfaceFUCHSIA;
- #endif
- PFN_vkCreateInstance CreateInstance;
- #ifdef VK_USE_PLATFORM_MACOS_MVK
- PFN_vkCreateMacOSSurfaceMVK CreateMacOSSurfaceMVK;
- #endif
- #ifdef VK_USE_PLATFORM_METAL_EXT
- PFN_vkCreateMetalSurfaceEXT CreateMetalSurfaceEXT;
- #endif
- #ifdef VK_USE_PLATFORM_GGP
- PFN_vkCreateStreamDescriptorSurfaceGGP CreateStreamDescriptorSurfaceGGP;
- #endif
- #ifdef VK_USE_PLATFORM_VI_NN
- PFN_vkCreateViSurfaceNN CreateViSurfaceNN;
- #endif
- #ifdef VK_USE_PLATFORM_WAYLAND_KHR
- PFN_vkCreateWaylandSurfaceKHR CreateWaylandSurfaceKHR;
- #endif
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- PFN_vkCreateWin32SurfaceKHR CreateWin32SurfaceKHR;
- #endif
- #ifdef VK_USE_PLATFORM_XCB_KHR
- PFN_vkCreateXcbSurfaceKHR CreateXcbSurfaceKHR;
- #endif
- #ifdef VK_USE_PLATFORM_XLIB_KHR
- PFN_vkCreateXlibSurfaceKHR CreateXlibSurfaceKHR;
- #endif
- PFN_vkDebugReportMessageEXT DebugReportMessageEXT;
- PFN_vkDestroyDebugReportCallbackEXT DestroyDebugReportCallbackEXT;
- PFN_vkDestroyDebugUtilsMessengerEXT DestroyDebugUtilsMessengerEXT;
- PFN_vkDestroyInstance DestroyInstance;
- PFN_vkDestroySurfaceKHR DestroySurfaceKHR;
- PFN_vkEnumerateDeviceExtensionProperties EnumerateDeviceExtensionProperties;
- PFN_vkEnumerateDeviceLayerProperties EnumerateDeviceLayerProperties;
- PFN_vkEnumerateInstanceExtensionProperties EnumerateInstanceExtensionProperties;
- PFN_vkEnumerateInstanceLayerProperties EnumerateInstanceLayerProperties;
- PFN_vkEnumerateInstanceVersion EnumerateInstanceVersion;
- PFN_vkEnumeratePhysicalDeviceGroups EnumeratePhysicalDeviceGroups;
- PFN_vkEnumeratePhysicalDevices EnumeratePhysicalDevices;
- PFN_vkGetDisplayModeProperties2KHR GetDisplayModeProperties2KHR;
- PFN_vkGetDisplayModePropertiesKHR GetDisplayModePropertiesKHR;
- PFN_vkGetDisplayPlaneCapabilities2KHR GetDisplayPlaneCapabilities2KHR;
- PFN_vkGetDisplayPlaneCapabilitiesKHR GetDisplayPlaneCapabilitiesKHR;
- PFN_vkGetDisplayPlaneSupportedDisplaysKHR GetDisplayPlaneSupportedDisplaysKHR;
- PFN_vkGetPhysicalDeviceCalibrateableTimeDomainsEXT GetPhysicalDeviceCalibrateableTimeDomainsEXT;
- PFN_vkGetPhysicalDeviceCooperativeMatrixPropertiesNV GetPhysicalDeviceCooperativeMatrixPropertiesNV;
- PFN_vkGetPhysicalDeviceDisplayPlaneProperties2KHR GetPhysicalDeviceDisplayPlaneProperties2KHR;
- PFN_vkGetPhysicalDeviceDisplayPlanePropertiesKHR GetPhysicalDeviceDisplayPlanePropertiesKHR;
- PFN_vkGetPhysicalDeviceDisplayProperties2KHR GetPhysicalDeviceDisplayProperties2KHR;
- PFN_vkGetPhysicalDeviceDisplayPropertiesKHR GetPhysicalDeviceDisplayPropertiesKHR;
- PFN_vkGetPhysicalDeviceExternalBufferProperties GetPhysicalDeviceExternalBufferProperties;
- PFN_vkGetPhysicalDeviceExternalFenceProperties GetPhysicalDeviceExternalFenceProperties;
- PFN_vkGetPhysicalDeviceExternalImageFormatPropertiesNV GetPhysicalDeviceExternalImageFormatPropertiesNV;
- PFN_vkGetPhysicalDeviceExternalSemaphoreProperties GetPhysicalDeviceExternalSemaphoreProperties;
- PFN_vkGetPhysicalDeviceFeatures GetPhysicalDeviceFeatures;
- PFN_vkGetPhysicalDeviceFeatures2 GetPhysicalDeviceFeatures2;
- PFN_vkGetPhysicalDeviceFormatProperties GetPhysicalDeviceFormatProperties;
- PFN_vkGetPhysicalDeviceFormatProperties2 GetPhysicalDeviceFormatProperties2;
- PFN_vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX GetPhysicalDeviceGeneratedCommandsPropertiesNVX;
- PFN_vkGetPhysicalDeviceImageFormatProperties GetPhysicalDeviceImageFormatProperties;
- PFN_vkGetPhysicalDeviceImageFormatProperties2 GetPhysicalDeviceImageFormatProperties2;
- PFN_vkGetPhysicalDeviceMemoryProperties GetPhysicalDeviceMemoryProperties;
- PFN_vkGetPhysicalDeviceMemoryProperties2 GetPhysicalDeviceMemoryProperties2;
- PFN_vkGetPhysicalDeviceMultisamplePropertiesEXT GetPhysicalDeviceMultisamplePropertiesEXT;
- PFN_vkGetPhysicalDevicePresentRectanglesKHR GetPhysicalDevicePresentRectanglesKHR;
- PFN_vkGetPhysicalDeviceProperties GetPhysicalDeviceProperties;
- PFN_vkGetPhysicalDeviceProperties2 GetPhysicalDeviceProperties2;
- PFN_vkGetPhysicalDeviceQueueFamilyProperties GetPhysicalDeviceQueueFamilyProperties;
- PFN_vkGetPhysicalDeviceQueueFamilyProperties2 GetPhysicalDeviceQueueFamilyProperties2;
- PFN_vkGetPhysicalDeviceSparseImageFormatProperties GetPhysicalDeviceSparseImageFormatProperties;
- PFN_vkGetPhysicalDeviceSparseImageFormatProperties2 GetPhysicalDeviceSparseImageFormatProperties2;
- PFN_vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV GetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV;
- PFN_vkGetPhysicalDeviceSurfaceCapabilities2EXT GetPhysicalDeviceSurfaceCapabilities2EXT;
- PFN_vkGetPhysicalDeviceSurfaceCapabilities2KHR GetPhysicalDeviceSurfaceCapabilities2KHR;
- PFN_vkGetPhysicalDeviceSurfaceCapabilitiesKHR GetPhysicalDeviceSurfaceCapabilitiesKHR;
- PFN_vkGetPhysicalDeviceSurfaceFormats2KHR GetPhysicalDeviceSurfaceFormats2KHR;
- PFN_vkGetPhysicalDeviceSurfaceFormatsKHR GetPhysicalDeviceSurfaceFormatsKHR;
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- PFN_vkGetPhysicalDeviceSurfacePresentModes2EXT GetPhysicalDeviceSurfacePresentModes2EXT;
- #endif
- PFN_vkGetPhysicalDeviceSurfacePresentModesKHR GetPhysicalDeviceSurfacePresentModesKHR;
- PFN_vkGetPhysicalDeviceSurfaceSupportKHR GetPhysicalDeviceSurfaceSupportKHR;
- #ifdef VK_USE_PLATFORM_WAYLAND_KHR
- PFN_vkGetPhysicalDeviceWaylandPresentationSupportKHR GetPhysicalDeviceWaylandPresentationSupportKHR;
- #endif
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- PFN_vkGetPhysicalDeviceWin32PresentationSupportKHR GetPhysicalDeviceWin32PresentationSupportKHR;
- #endif
- #ifdef VK_USE_PLATFORM_XCB_KHR
- PFN_vkGetPhysicalDeviceXcbPresentationSupportKHR GetPhysicalDeviceXcbPresentationSupportKHR;
- #endif
- #ifdef VK_USE_PLATFORM_XLIB_KHR
- PFN_vkGetPhysicalDeviceXlibPresentationSupportKHR GetPhysicalDeviceXlibPresentationSupportKHR;
- #endif
- #ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT
- PFN_vkGetRandROutputDisplayEXT GetRandROutputDisplayEXT;
- #endif
- PFN_vkReleaseDisplayEXT ReleaseDisplayEXT;
- PFN_vkSubmitDebugUtilsMessageEXT SubmitDebugUtilsMessageEXT;
- };
-
- struct vk_device_dispatch_table {
- PFN_vkGetDeviceProcAddr GetDeviceProcAddr;
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- PFN_vkAcquireFullScreenExclusiveModeEXT AcquireFullScreenExclusiveModeEXT;
- #endif
- PFN_vkAcquireImageANDROID AcquireImageANDROID;
- PFN_vkAcquireNextImage2KHR AcquireNextImage2KHR;
- PFN_vkAcquireNextImageKHR AcquireNextImageKHR;
- PFN_vkAcquirePerformanceConfigurationINTEL AcquirePerformanceConfigurationINTEL;
- PFN_vkAllocateCommandBuffers AllocateCommandBuffers;
- PFN_vkAllocateDescriptorSets AllocateDescriptorSets;
- PFN_vkAllocateMemory AllocateMemory;
- PFN_vkBeginCommandBuffer BeginCommandBuffer;
- PFN_vkBindAccelerationStructureMemoryNV BindAccelerationStructureMemoryNV;
- PFN_vkBindBufferMemory BindBufferMemory;
- PFN_vkBindBufferMemory2 BindBufferMemory2;
- PFN_vkBindImageMemory BindImageMemory;
- PFN_vkBindImageMemory2 BindImageMemory2;
- PFN_vkCmdBeginConditionalRenderingEXT CmdBeginConditionalRenderingEXT;
- PFN_vkCmdBeginDebugUtilsLabelEXT CmdBeginDebugUtilsLabelEXT;
- PFN_vkCmdBeginQuery CmdBeginQuery;
- PFN_vkCmdBeginQueryIndexedEXT CmdBeginQueryIndexedEXT;
- PFN_vkCmdBeginRenderPass CmdBeginRenderPass;
- PFN_vkCmdBeginRenderPass2KHR CmdBeginRenderPass2KHR;
- PFN_vkCmdBeginTransformFeedbackEXT CmdBeginTransformFeedbackEXT;
- PFN_vkCmdBindDescriptorSets CmdBindDescriptorSets;
- PFN_vkCmdBindIndexBuffer CmdBindIndexBuffer;
- PFN_vkCmdBindPipeline CmdBindPipeline;
- PFN_vkCmdBindShadingRateImageNV CmdBindShadingRateImageNV;
- PFN_vkCmdBindTransformFeedbackBuffersEXT CmdBindTransformFeedbackBuffersEXT;
- PFN_vkCmdBindVertexBuffers CmdBindVertexBuffers;
- PFN_vkCmdBlitImage CmdBlitImage;
- PFN_vkCmdBuildAccelerationStructureNV CmdBuildAccelerationStructureNV;
- PFN_vkCmdClearAttachments CmdClearAttachments;
- PFN_vkCmdClearColorImage CmdClearColorImage;
- PFN_vkCmdClearDepthStencilImage CmdClearDepthStencilImage;
- PFN_vkCmdCopyAccelerationStructureNV CmdCopyAccelerationStructureNV;
- PFN_vkCmdCopyBuffer CmdCopyBuffer;
- PFN_vkCmdCopyBufferToImage CmdCopyBufferToImage;
- PFN_vkCmdCopyImage CmdCopyImage;
- PFN_vkCmdCopyImageToBuffer CmdCopyImageToBuffer;
- PFN_vkCmdCopyQueryPoolResults CmdCopyQueryPoolResults;
- PFN_vkCmdDebugMarkerBeginEXT CmdDebugMarkerBeginEXT;
- PFN_vkCmdDebugMarkerEndEXT CmdDebugMarkerEndEXT;
- PFN_vkCmdDebugMarkerInsertEXT CmdDebugMarkerInsertEXT;
- PFN_vkCmdDispatch CmdDispatch;
- PFN_vkCmdDispatchBase CmdDispatchBase;
- PFN_vkCmdDispatchIndirect CmdDispatchIndirect;
- PFN_vkCmdDraw CmdDraw;
- PFN_vkCmdDrawIndexed CmdDrawIndexed;
- PFN_vkCmdDrawIndexedIndirect CmdDrawIndexedIndirect;
- PFN_vkCmdDrawIndexedIndirectCountKHR CmdDrawIndexedIndirectCountKHR;
- PFN_vkCmdDrawIndirect CmdDrawIndirect;
- PFN_vkCmdDrawIndirectByteCountEXT CmdDrawIndirectByteCountEXT;
- PFN_vkCmdDrawIndirectCountKHR CmdDrawIndirectCountKHR;
- PFN_vkCmdDrawMeshTasksIndirectCountNV CmdDrawMeshTasksIndirectCountNV;
- PFN_vkCmdDrawMeshTasksIndirectNV CmdDrawMeshTasksIndirectNV;
- PFN_vkCmdDrawMeshTasksNV CmdDrawMeshTasksNV;
- PFN_vkCmdEndConditionalRenderingEXT CmdEndConditionalRenderingEXT;
- PFN_vkCmdEndDebugUtilsLabelEXT CmdEndDebugUtilsLabelEXT;
- PFN_vkCmdEndQuery CmdEndQuery;
- PFN_vkCmdEndQueryIndexedEXT CmdEndQueryIndexedEXT;
- PFN_vkCmdEndRenderPass CmdEndRenderPass;
- PFN_vkCmdEndRenderPass2KHR CmdEndRenderPass2KHR;
- PFN_vkCmdEndTransformFeedbackEXT CmdEndTransformFeedbackEXT;
- PFN_vkCmdExecuteCommands CmdExecuteCommands;
- PFN_vkCmdFillBuffer CmdFillBuffer;
- PFN_vkCmdInsertDebugUtilsLabelEXT CmdInsertDebugUtilsLabelEXT;
- PFN_vkCmdNextSubpass CmdNextSubpass;
- PFN_vkCmdNextSubpass2KHR CmdNextSubpass2KHR;
- PFN_vkCmdPipelineBarrier CmdPipelineBarrier;
- PFN_vkCmdProcessCommandsNVX CmdProcessCommandsNVX;
- PFN_vkCmdPushConstants CmdPushConstants;
- PFN_vkCmdPushDescriptorSetKHR CmdPushDescriptorSetKHR;
- PFN_vkCmdPushDescriptorSetWithTemplateKHR CmdPushDescriptorSetWithTemplateKHR;
- PFN_vkCmdReserveSpaceForCommandsNVX CmdReserveSpaceForCommandsNVX;
- PFN_vkCmdResetEvent CmdResetEvent;
- PFN_vkCmdResetQueryPool CmdResetQueryPool;
- PFN_vkCmdResolveImage CmdResolveImage;
- PFN_vkCmdSetBlendConstants CmdSetBlendConstants;
- PFN_vkCmdSetCheckpointNV CmdSetCheckpointNV;
- PFN_vkCmdSetCoarseSampleOrderNV CmdSetCoarseSampleOrderNV;
- PFN_vkCmdSetDepthBias CmdSetDepthBias;
- PFN_vkCmdSetDepthBounds CmdSetDepthBounds;
- PFN_vkCmdSetDeviceMask CmdSetDeviceMask;
- PFN_vkCmdSetDiscardRectangleEXT CmdSetDiscardRectangleEXT;
- PFN_vkCmdSetEvent CmdSetEvent;
- PFN_vkCmdSetExclusiveScissorNV CmdSetExclusiveScissorNV;
- PFN_vkCmdSetLineStippleEXT CmdSetLineStippleEXT;
- PFN_vkCmdSetLineWidth CmdSetLineWidth;
- PFN_vkCmdSetPerformanceMarkerINTEL CmdSetPerformanceMarkerINTEL;
- PFN_vkCmdSetPerformanceOverrideINTEL CmdSetPerformanceOverrideINTEL;
- PFN_vkCmdSetPerformanceStreamMarkerINTEL CmdSetPerformanceStreamMarkerINTEL;
- PFN_vkCmdSetSampleLocationsEXT CmdSetSampleLocationsEXT;
- PFN_vkCmdSetScissor CmdSetScissor;
- PFN_vkCmdSetStencilCompareMask CmdSetStencilCompareMask;
- PFN_vkCmdSetStencilReference CmdSetStencilReference;
- PFN_vkCmdSetStencilWriteMask CmdSetStencilWriteMask;
- PFN_vkCmdSetViewport CmdSetViewport;
- PFN_vkCmdSetViewportShadingRatePaletteNV CmdSetViewportShadingRatePaletteNV;
- PFN_vkCmdSetViewportWScalingNV CmdSetViewportWScalingNV;
- PFN_vkCmdTraceRaysNV CmdTraceRaysNV;
- PFN_vkCmdUpdateBuffer CmdUpdateBuffer;
- PFN_vkCmdWaitEvents CmdWaitEvents;
- PFN_vkCmdWriteAccelerationStructuresPropertiesNV CmdWriteAccelerationStructuresPropertiesNV;
- PFN_vkCmdWriteBufferMarkerAMD CmdWriteBufferMarkerAMD;
- PFN_vkCmdWriteTimestamp CmdWriteTimestamp;
- PFN_vkCompileDeferredNV CompileDeferredNV;
- PFN_vkCreateAccelerationStructureNV CreateAccelerationStructureNV;
- PFN_vkCreateBuffer CreateBuffer;
- PFN_vkCreateBufferView CreateBufferView;
- PFN_vkCreateCommandPool CreateCommandPool;
- PFN_vkCreateComputePipelines CreateComputePipelines;
- PFN_vkCreateDescriptorPool CreateDescriptorPool;
- PFN_vkCreateDescriptorSetLayout CreateDescriptorSetLayout;
- PFN_vkCreateDescriptorUpdateTemplate CreateDescriptorUpdateTemplate;
- PFN_vkCreateEvent CreateEvent;
- PFN_vkCreateFence CreateFence;
- PFN_vkCreateFramebuffer CreateFramebuffer;
- PFN_vkCreateGraphicsPipelines CreateGraphicsPipelines;
- PFN_vkCreateImage CreateImage;
- PFN_vkCreateImageView CreateImageView;
- PFN_vkCreateIndirectCommandsLayoutNVX CreateIndirectCommandsLayoutNVX;
- PFN_vkCreateObjectTableNVX CreateObjectTableNVX;
- PFN_vkCreatePipelineCache CreatePipelineCache;
- PFN_vkCreatePipelineLayout CreatePipelineLayout;
- PFN_vkCreateQueryPool CreateQueryPool;
- PFN_vkCreateRayTracingPipelinesNV CreateRayTracingPipelinesNV;
- PFN_vkCreateRenderPass CreateRenderPass;
- PFN_vkCreateRenderPass2KHR CreateRenderPass2KHR;
- PFN_vkCreateSampler CreateSampler;
- PFN_vkCreateSamplerYcbcrConversion CreateSamplerYcbcrConversion;
- PFN_vkCreateSemaphore CreateSemaphore;
- PFN_vkCreateShaderModule CreateShaderModule;
- PFN_vkCreateSharedSwapchainsKHR CreateSharedSwapchainsKHR;
- PFN_vkCreateSwapchainKHR CreateSwapchainKHR;
- PFN_vkCreateValidationCacheEXT CreateValidationCacheEXT;
- PFN_vkDebugMarkerSetObjectNameEXT DebugMarkerSetObjectNameEXT;
- PFN_vkDebugMarkerSetObjectTagEXT DebugMarkerSetObjectTagEXT;
- PFN_vkDestroyAccelerationStructureNV DestroyAccelerationStructureNV;
- PFN_vkDestroyBuffer DestroyBuffer;
- PFN_vkDestroyBufferView DestroyBufferView;
- PFN_vkDestroyCommandPool DestroyCommandPool;
- PFN_vkDestroyDescriptorPool DestroyDescriptorPool;
- PFN_vkDestroyDescriptorSetLayout DestroyDescriptorSetLayout;
- PFN_vkDestroyDescriptorUpdateTemplate DestroyDescriptorUpdateTemplate;
- PFN_vkDestroyDevice DestroyDevice;
- PFN_vkDestroyEvent DestroyEvent;
- PFN_vkDestroyFence DestroyFence;
- PFN_vkDestroyFramebuffer DestroyFramebuffer;
- PFN_vkDestroyImage DestroyImage;
- PFN_vkDestroyImageView DestroyImageView;
- PFN_vkDestroyIndirectCommandsLayoutNVX DestroyIndirectCommandsLayoutNVX;
- PFN_vkDestroyObjectTableNVX DestroyObjectTableNVX;
- PFN_vkDestroyPipeline DestroyPipeline;
- PFN_vkDestroyPipelineCache DestroyPipelineCache;
- PFN_vkDestroyPipelineLayout DestroyPipelineLayout;
- PFN_vkDestroyQueryPool DestroyQueryPool;
- PFN_vkDestroyRenderPass DestroyRenderPass;
- PFN_vkDestroySampler DestroySampler;
- PFN_vkDestroySamplerYcbcrConversion DestroySamplerYcbcrConversion;
- PFN_vkDestroySemaphore DestroySemaphore;
- PFN_vkDestroyShaderModule DestroyShaderModule;
- PFN_vkDestroySwapchainKHR DestroySwapchainKHR;
- PFN_vkDestroyValidationCacheEXT DestroyValidationCacheEXT;
- PFN_vkDeviceWaitIdle DeviceWaitIdle;
- PFN_vkDisplayPowerControlEXT DisplayPowerControlEXT;
- PFN_vkEndCommandBuffer EndCommandBuffer;
- PFN_vkFlushMappedMemoryRanges FlushMappedMemoryRanges;
- PFN_vkFreeCommandBuffers FreeCommandBuffers;
- PFN_vkFreeDescriptorSets FreeDescriptorSets;
- PFN_vkFreeMemory FreeMemory;
- PFN_vkGetAccelerationStructureHandleNV GetAccelerationStructureHandleNV;
- PFN_vkGetAccelerationStructureMemoryRequirementsNV GetAccelerationStructureMemoryRequirementsNV;
- #ifdef VK_USE_PLATFORM_ANDROID_KHR
- PFN_vkGetAndroidHardwareBufferPropertiesANDROID GetAndroidHardwareBufferPropertiesANDROID;
- #endif
- PFN_vkGetBufferDeviceAddressEXT GetBufferDeviceAddressEXT;
- PFN_vkGetBufferMemoryRequirements GetBufferMemoryRequirements;
- PFN_vkGetBufferMemoryRequirements2 GetBufferMemoryRequirements2;
- PFN_vkGetCalibratedTimestampsEXT GetCalibratedTimestampsEXT;
- PFN_vkGetDescriptorSetLayoutSupport GetDescriptorSetLayoutSupport;
- PFN_vkGetDeviceGroupPeerMemoryFeatures GetDeviceGroupPeerMemoryFeatures;
- PFN_vkGetDeviceGroupPresentCapabilitiesKHR GetDeviceGroupPresentCapabilitiesKHR;
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- PFN_vkGetDeviceGroupSurfacePresentModes2EXT GetDeviceGroupSurfacePresentModes2EXT;
- #endif
- PFN_vkGetDeviceGroupSurfacePresentModesKHR GetDeviceGroupSurfacePresentModesKHR;
- PFN_vkGetDeviceMemoryCommitment GetDeviceMemoryCommitment;
- PFN_vkGetDeviceQueue GetDeviceQueue;
- PFN_vkGetDeviceQueue2 GetDeviceQueue2;
- PFN_vkGetEventStatus GetEventStatus;
- PFN_vkGetFenceFdKHR GetFenceFdKHR;
- PFN_vkGetFenceStatus GetFenceStatus;
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- PFN_vkGetFenceWin32HandleKHR GetFenceWin32HandleKHR;
- #endif
- PFN_vkGetImageDrmFormatModifierPropertiesEXT GetImageDrmFormatModifierPropertiesEXT;
- PFN_vkGetImageMemoryRequirements GetImageMemoryRequirements;
- PFN_vkGetImageMemoryRequirements2 GetImageMemoryRequirements2;
- PFN_vkGetImageSparseMemoryRequirements GetImageSparseMemoryRequirements;
- PFN_vkGetImageSparseMemoryRequirements2 GetImageSparseMemoryRequirements2;
- PFN_vkGetImageSubresourceLayout GetImageSubresourceLayout;
- PFN_vkGetImageViewHandleNVX GetImageViewHandleNVX;
- #ifdef VK_USE_PLATFORM_ANDROID_KHR
- PFN_vkGetMemoryAndroidHardwareBufferANDROID GetMemoryAndroidHardwareBufferANDROID;
- #endif
- PFN_vkGetMemoryFdKHR GetMemoryFdKHR;
- PFN_vkGetMemoryFdPropertiesKHR GetMemoryFdPropertiesKHR;
- PFN_vkGetMemoryHostPointerPropertiesEXT GetMemoryHostPointerPropertiesEXT;
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- PFN_vkGetMemoryWin32HandleKHR GetMemoryWin32HandleKHR;
- #endif
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- PFN_vkGetMemoryWin32HandleNV GetMemoryWin32HandleNV;
- #endif
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- PFN_vkGetMemoryWin32HandlePropertiesKHR GetMemoryWin32HandlePropertiesKHR;
- #endif
- PFN_vkGetPastPresentationTimingGOOGLE GetPastPresentationTimingGOOGLE;
- PFN_vkGetPerformanceParameterINTEL GetPerformanceParameterINTEL;
- PFN_vkGetPipelineCacheData GetPipelineCacheData;
- PFN_vkGetPipelineExecutableInternalRepresentationsKHR GetPipelineExecutableInternalRepresentationsKHR;
- PFN_vkGetPipelineExecutablePropertiesKHR GetPipelineExecutablePropertiesKHR;
- PFN_vkGetPipelineExecutableStatisticsKHR GetPipelineExecutableStatisticsKHR;
- PFN_vkGetQueryPoolResults GetQueryPoolResults;
- PFN_vkGetQueueCheckpointDataNV GetQueueCheckpointDataNV;
- PFN_vkGetRayTracingShaderGroupHandlesNV GetRayTracingShaderGroupHandlesNV;
- PFN_vkGetRefreshCycleDurationGOOGLE GetRefreshCycleDurationGOOGLE;
- PFN_vkGetRenderAreaGranularity GetRenderAreaGranularity;
- PFN_vkGetSemaphoreFdKHR GetSemaphoreFdKHR;
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- PFN_vkGetSemaphoreWin32HandleKHR GetSemaphoreWin32HandleKHR;
- #endif
- PFN_vkGetShaderInfoAMD GetShaderInfoAMD;
- PFN_vkGetSwapchainCounterEXT GetSwapchainCounterEXT;
- PFN_vkGetSwapchainGrallocUsage2ANDROID GetSwapchainGrallocUsage2ANDROID;
- PFN_vkGetSwapchainGrallocUsageANDROID GetSwapchainGrallocUsageANDROID;
- PFN_vkGetSwapchainImagesKHR GetSwapchainImagesKHR;
- PFN_vkGetSwapchainStatusKHR GetSwapchainStatusKHR;
- PFN_vkGetValidationCacheDataEXT GetValidationCacheDataEXT;
- PFN_vkImportFenceFdKHR ImportFenceFdKHR;
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- PFN_vkImportFenceWin32HandleKHR ImportFenceWin32HandleKHR;
- #endif
- PFN_vkImportSemaphoreFdKHR ImportSemaphoreFdKHR;
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- PFN_vkImportSemaphoreWin32HandleKHR ImportSemaphoreWin32HandleKHR;
- #endif
- PFN_vkInitializePerformanceApiINTEL InitializePerformanceApiINTEL;
- PFN_vkInvalidateMappedMemoryRanges InvalidateMappedMemoryRanges;
- PFN_vkMapMemory MapMemory;
- PFN_vkMergePipelineCaches MergePipelineCaches;
- PFN_vkMergeValidationCachesEXT MergeValidationCachesEXT;
- PFN_vkQueueBeginDebugUtilsLabelEXT QueueBeginDebugUtilsLabelEXT;
- PFN_vkQueueBindSparse QueueBindSparse;
- PFN_vkQueueEndDebugUtilsLabelEXT QueueEndDebugUtilsLabelEXT;
- PFN_vkQueueInsertDebugUtilsLabelEXT QueueInsertDebugUtilsLabelEXT;
- PFN_vkQueuePresentKHR QueuePresentKHR;
- PFN_vkQueueSetPerformanceConfigurationINTEL QueueSetPerformanceConfigurationINTEL;
- PFN_vkQueueSignalReleaseImageANDROID QueueSignalReleaseImageANDROID;
- PFN_vkQueueSubmit QueueSubmit;
- PFN_vkQueueWaitIdle QueueWaitIdle;
- PFN_vkRegisterDeviceEventEXT RegisterDeviceEventEXT;
- PFN_vkRegisterDisplayEventEXT RegisterDisplayEventEXT;
- PFN_vkRegisterObjectsNVX RegisterObjectsNVX;
- #ifdef VK_USE_PLATFORM_WIN32_KHR
- PFN_vkReleaseFullScreenExclusiveModeEXT ReleaseFullScreenExclusiveModeEXT;
- #endif
- PFN_vkReleasePerformanceConfigurationINTEL ReleasePerformanceConfigurationINTEL;
- PFN_vkResetCommandBuffer ResetCommandBuffer;
- PFN_vkResetCommandPool ResetCommandPool;
- PFN_vkResetDescriptorPool ResetDescriptorPool;
- PFN_vkResetEvent ResetEvent;
- PFN_vkResetFences ResetFences;
- PFN_vkResetQueryPoolEXT ResetQueryPoolEXT;
- PFN_vkSetDebugUtilsObjectNameEXT SetDebugUtilsObjectNameEXT;
- PFN_vkSetDebugUtilsObjectTagEXT SetDebugUtilsObjectTagEXT;
- PFN_vkSetEvent SetEvent;
- PFN_vkSetHdrMetadataEXT SetHdrMetadataEXT;
- PFN_vkSetLocalDimmingAMD SetLocalDimmingAMD;
- PFN_vkTrimCommandPool TrimCommandPool;
- PFN_vkUninitializePerformanceApiINTEL UninitializePerformanceApiINTEL;
- PFN_vkUnmapMemory UnmapMemory;
- PFN_vkUnregisterObjectsNVX UnregisterObjectsNVX;
- PFN_vkUpdateDescriptorSetWithTemplate UpdateDescriptorSetWithTemplate;
- PFN_vkUpdateDescriptorSets UpdateDescriptorSets;
- PFN_vkWaitForFences WaitForFences;
- };
-
- void vk_load_instance_commands(VkInstance instance, PFN_vkGetInstanceProcAddr gpa, struct vk_instance_dispatch_table *table);
- void vk_load_device_commands(VkDevice device, PFN_vkGetDeviceProcAddr gpa, struct vk_device_dispatch_table *table);
-
- #ifdef __cplusplus
- } /* extern "C" */
- #endif
-
- #endif \ No newline at end of file