2018-05-06 19:35:47 +02:00
|
|
|
// *** THIS FILE IS GENERATED - DO NOT EDIT ***
|
|
|
|
// See helper_file_generator.py for modifications
|
|
|
|
|
|
|
|
|
|
|
|
/***************************************************************************
|
|
|
|
*
|
|
|
|
* Copyright (c) 2015-2017 The Khronos Group Inc.
|
|
|
|
* Copyright (c) 2015-2017 Valve Corporation
|
|
|
|
* Copyright (c) 2015-2017 LunarG, Inc.
|
|
|
|
* Copyright (c) 2015-2017 Google Inc.
|
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*
|
|
|
|
* Author: Mark Lobodzinski <mark@lunarg.com>
|
|
|
|
* Author: Courtney Goeltzenleuchter <courtneygo@google.com>
|
|
|
|
* Author: Tobin Ehlis <tobine@google.com>
|
|
|
|
* Author: Chris Forbes <chrisforbes@google.com>
|
|
|
|
* Author: John Zulauf<jzulauf@lunarg.com>
|
|
|
|
*
|
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
#ifdef _WIN32
|
|
|
|
#pragma warning( disable : 4065 )
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <vulkan/vulkan.h>
|
|
|
|
|
|
|
|
|
|
|
|
static inline const char* string_VkPipelineCacheHeaderVersion(VkPipelineCacheHeaderVersion input_value)
|
|
|
|
{
|
|
|
|
switch ((VkPipelineCacheHeaderVersion)input_value)
|
|
|
|
{
|
|
|
|
case VK_PIPELINE_CACHE_HEADER_VERSION_ONE:
|
|
|
|
return "VK_PIPELINE_CACHE_HEADER_VERSION_ONE";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkPipelineCacheHeaderVersion";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkResult(VkResult input_value)
|
|
|
|
{
|
|
|
|
switch ((VkResult)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_ERROR_INCOMPATIBLE_DRIVER:
|
|
|
|
return "VK_ERROR_INCOMPATIBLE_DRIVER";
|
|
|
|
case VK_ERROR_INVALID_EXTERNAL_HANDLE:
|
|
|
|
return "VK_ERROR_INVALID_EXTERNAL_HANDLE";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_ERROR_NATIVE_WINDOW_IN_USE_KHR:
|
|
|
|
return "VK_ERROR_NATIVE_WINDOW_IN_USE_KHR";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_ERROR_INVALID_SHADER_NV:
|
|
|
|
return "VK_ERROR_INVALID_SHADER_NV";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_ERROR_DEVICE_LOST:
|
|
|
|
return "VK_ERROR_DEVICE_LOST";
|
|
|
|
case VK_SUBOPTIMAL_KHR:
|
|
|
|
return "VK_SUBOPTIMAL_KHR";
|
|
|
|
case VK_EVENT_SET:
|
|
|
|
return "VK_EVENT_SET";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_INCOMPLETE:
|
|
|
|
return "VK_INCOMPLETE";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_ERROR_NOT_PERMITTED_EXT:
|
|
|
|
return "VK_ERROR_NOT_PERMITTED_EXT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_SUCCESS:
|
|
|
|
return "VK_SUCCESS";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_ERROR_INITIALIZATION_FAILED:
|
|
|
|
return "VK_ERROR_INITIALIZATION_FAILED";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_ERROR_OUT_OF_DEVICE_MEMORY:
|
|
|
|
return "VK_ERROR_OUT_OF_DEVICE_MEMORY";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_TIMEOUT:
|
|
|
|
return "VK_TIMEOUT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_ERROR_SURFACE_LOST_KHR:
|
|
|
|
return "VK_ERROR_SURFACE_LOST_KHR";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_ERROR_TOO_MANY_OBJECTS:
|
|
|
|
return "VK_ERROR_TOO_MANY_OBJECTS";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_ERROR_FEATURE_NOT_PRESENT:
|
|
|
|
return "VK_ERROR_FEATURE_NOT_PRESENT";
|
|
|
|
case VK_ERROR_MEMORY_MAP_FAILED:
|
|
|
|
return "VK_ERROR_MEMORY_MAP_FAILED";
|
|
|
|
case VK_ERROR_FRAGMENTATION_EXT:
|
|
|
|
return "VK_ERROR_FRAGMENTATION_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_ERROR_OUT_OF_DATE_KHR:
|
|
|
|
return "VK_ERROR_OUT_OF_DATE_KHR";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_ERROR_INCOMPATIBLE_DISPLAY_KHR:
|
|
|
|
return "VK_ERROR_INCOMPATIBLE_DISPLAY_KHR";
|
|
|
|
case VK_ERROR_OUT_OF_POOL_MEMORY:
|
|
|
|
return "VK_ERROR_OUT_OF_POOL_MEMORY";
|
|
|
|
case VK_ERROR_OUT_OF_HOST_MEMORY:
|
|
|
|
return "VK_ERROR_OUT_OF_HOST_MEMORY";
|
|
|
|
case VK_EVENT_RESET:
|
|
|
|
return "VK_EVENT_RESET";
|
|
|
|
case VK_ERROR_EXTENSION_NOT_PRESENT:
|
|
|
|
return "VK_ERROR_EXTENSION_NOT_PRESENT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_ERROR_FRAGMENTED_POOL:
|
|
|
|
return "VK_ERROR_FRAGMENTED_POOL";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_ERROR_FORMAT_NOT_SUPPORTED:
|
|
|
|
return "VK_ERROR_FORMAT_NOT_SUPPORTED";
|
|
|
|
case VK_ERROR_INVALID_DEVICE_ADDRESS_EXT:
|
|
|
|
return "VK_ERROR_INVALID_DEVICE_ADDRESS_EXT";
|
|
|
|
case VK_ERROR_VALIDATION_FAILED_EXT:
|
|
|
|
return "VK_ERROR_VALIDATION_FAILED_EXT";
|
|
|
|
case VK_ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT:
|
|
|
|
return "VK_ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT";
|
|
|
|
case VK_ERROR_LAYER_NOT_PRESENT:
|
|
|
|
return "VK_ERROR_LAYER_NOT_PRESENT";
|
|
|
|
case VK_NOT_READY:
|
|
|
|
return "VK_NOT_READY";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkResult";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkStructureType(VkStructureType input_value)
|
|
|
|
{
|
|
|
|
switch ((VkStructureType)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_IMPORT_ANDROID_HARDWARE_BUFFER_INFO_ANDROID:
|
|
|
|
return "VK_STRUCTURE_TYPE_IMPORT_ANDROID_HARDWARE_BUFFER_INFO_ANDROID";
|
|
|
|
case VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_CONDITIONAL_RENDERING_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_CONDITIONAL_RENDERING_INFO_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_FEATURES_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_FEATURES_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_NV";
|
|
|
|
case VK_STRUCTURE_TYPE_SWAPCHAIN_COUNTER_CREATE_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_SWAPCHAIN_COUNTER_CREATE_INFO_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2";
|
|
|
|
case VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2:
|
|
|
|
return "VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_STRUCTURE_TYPE_IMPORT_FENCE_WIN32_HANDLE_INFO_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_IMPORT_FENCE_WIN32_HANDLE_INFO_KHR";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_CONSERVATIVE_STATE_CREATE_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_CONSERVATIVE_STATE_CREATE_INFO_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_MEMORY_FD_PROPERTIES_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_MEMORY_FD_PROPERTIES_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_OBJECT_TABLE_CREATE_INFO_NVX:
|
|
|
|
return "VK_STRUCTURE_TYPE_OBJECT_TABLE_CREATE_INFO_NVX";
|
|
|
|
case VK_STRUCTURE_TYPE_DEBUG_UTILS_LABEL_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_DEBUG_UTILS_LABEL_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_GEOMETRY_AABB_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_GEOMETRY_AABB_NV";
|
|
|
|
case VK_STRUCTURE_TYPE_BIND_ACCELERATION_STRUCTURE_MEMORY_INFO_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_BIND_ACCELERATION_STRUCTURE_MEMORY_INFO_NV";
|
|
|
|
case VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PRIORITY_FEATURES_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PRIORITY_FEATURES_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_GEOMETRY_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_GEOMETRY_NV";
|
|
|
|
case VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_CREATE_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_CREATE_INFO_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_PROPERTIES_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_PROPERTIES_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_NV";
|
|
|
|
case VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETER_FEATURES:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETER_FEATURES";
|
|
|
|
case VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_CMD_PROCESS_COMMANDS_INFO_NVX:
|
|
|
|
return "VK_STRUCTURE_TYPE_CMD_PROCESS_COMMANDS_INFO_NVX";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_PIPELINE_DISCARD_RECTANGLE_STATE_CREATE_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_PIPELINE_DISCARD_RECTANGLE_STATE_CREATE_INFO_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_USAGE_ANDROID:
|
|
|
|
return "VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_USAGE_ANDROID";
|
|
|
|
case VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURES_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURES_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GROUP_PROPERTIES:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GROUP_PROPERTIES";
|
|
|
|
case VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV";
|
|
|
|
case VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_GEOMETRY_TRIANGLES_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_GEOMETRY_TRIANGLES_NV";
|
|
|
|
case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_EXPORT_FENCE_WIN32_HANDLE_INFO_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_EXPORT_FENCE_WIN32_HANDLE_INFO_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_TAG_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_TAG_INFO_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_FD_INFO_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_FD_INFO_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES";
|
|
|
|
case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_INFO_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_INFO_NV";
|
|
|
|
case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_EXCLUSIVE_SCISSOR_STATE_CREATE_INFO_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_EXCLUSIVE_SCISSOR_STATE_CREATE_INFO_NV";
|
|
|
|
case VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_RENDER_PASS_FRAGMENT_DENSITY_MAP_CREATE_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_RENDER_PASS_FRAGMENT_DENSITY_MAP_CREATE_INFO_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_ATTRIBUTES_PROPERTIES_NVX:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_ATTRIBUTES_PROPERTIES_NVX";
|
|
|
|
case VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES";
|
|
|
|
case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SHADING_RATE_IMAGE_STATE_CREATE_INFO_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SHADING_RATE_IMAGE_STATE_CREATE_INFO_NV";
|
|
|
|
case VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_PROPERTIES_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_PROPERTIES_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_IMAGE_STENCIL_USAGE_CREATE_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_IMAGE_STENCIL_USAGE_CREATE_INFO_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_CREATE_INFO_NVX:
|
|
|
|
return "VK_STRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_CREATE_INFO_NVX";
|
|
|
|
case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_STREAM_CREATE_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_STREAM_CREATE_INFO_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_ANDROID:
|
|
|
|
return "VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_ANDROID";
|
|
|
|
case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_COARSE_SAMPLE_ORDER_STATE_CREATE_INFO_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_COARSE_SAMPLE_ORDER_STATE_CREATE_INFO_NV";
|
|
|
|
case VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES";
|
|
|
|
case VK_STRUCTURE_TYPE_VALIDATION_FLAGS_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_VALIDATION_FLAGS_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_EXTERNAL_FENCE_PROPERTIES:
|
|
|
|
return "VK_STRUCTURE_TYPE_EXTERNAL_FENCE_PROPERTIES";
|
|
|
|
case VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2:
|
|
|
|
return "VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_FEATURES_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_FEATURES_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_STRUCTURE_TYPE_PRESENT_INFO_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_PRESENT_INFO_KHR";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_STRUCTURE_TYPE_MEMORY_GET_FD_INFO_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_MEMORY_GET_FD_INFO_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PCI_BUS_INFO_PROPERTIES_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PCI_BUS_INFO_PROPERTIES_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_PROPERTIES_ANDROID:
|
|
|
|
return "VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_PROPERTIES_ANDROID";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DISCARD_RECTANGLE_PROPERTIES_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DISCARD_RECTANGLE_PROPERTIES_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_HDR_METADATA_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_HDR_METADATA_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_DISPLAY_PLANE_PROPERTIES_2_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_DISPLAY_PLANE_PROPERTIES_2_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES";
|
|
|
|
case VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_NV";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT16_INT8_FEATURES_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT16_INT8_FEATURES_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_DRM_FORMAT_MODIFIER_PROPERTIES_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_DRM_FORMAT_MODIFIER_PROPERTIES_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_FEATURES_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_FEATURES_NV";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_EXT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_NV";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2:
|
|
|
|
return "VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2";
|
|
|
|
case VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMD:
|
|
|
|
return "VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMD";
|
|
|
|
case VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_INLINE_UNIFORM_BLOCK_CREATE_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_INLINE_UNIFORM_BLOCK_CREATE_INFO_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIES_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIES_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_INFO_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_INFO_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_CALIBRATED_TIMESTAMP_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_CALIBRATED_TIMESTAMP_INFO_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_IMAGE_FOOTPRINT_FEATURES_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_IMAGE_FOOTPRINT_FEATURES_NV";
|
|
|
|
case VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_2_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_2_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_SWAPCHAIN_INFO_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_SWAPCHAIN_INFO_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_DRM_FORMAT_MODIFIER_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_DRM_FORMAT_MODIFIER_INFO_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_ADVANCED_STATE_CREATE_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_ADVANCED_STATE_CREATE_INFO_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES:
|
|
|
|
return "VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE:
|
|
|
|
return "VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_PROPERTIES_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_PROPERTIES_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO_2_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO_2_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO_NV";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER:
|
|
|
|
return "VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2";
|
|
|
|
case VK_STRUCTURE_TYPE_DEVICE_QUEUE_INFO_2:
|
|
|
|
return "VK_STRUCTURE_TYPE_DEVICE_QUEUE_INFO_2";
|
|
|
|
case VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_STRUCTURE_TYPE_WAYLAND_SURFACE_CREATE_INFO_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_WAYLAND_SURFACE_CREATE_INFO_KHR";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_STRUCTURE_TYPE_DISPLAY_PRESENT_INFO_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_DISPLAY_PRESENT_INFO_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_IOS_SURFACE_CREATE_INFO_MVK:
|
|
|
|
return "VK_STRUCTURE_TYPE_IOS_SURFACE_CREATE_INFO_MVK";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_STENCIL_RESOLVE_PROPERTIES_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_STENCIL_RESOLVE_PROPERTIES_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_BUFFER_CREATE_INFO_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_BUFFER_CREATE_INFO_NV";
|
|
|
|
case VK_STRUCTURE_TYPE_DEVICE_GENERATED_COMMANDS_LIMITS_NVX:
|
|
|
|
return "VK_STRUCTURE_TYPE_DEVICE_GENERATED_COMMANDS_LIMITS_NVX";
|
|
|
|
case VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_DEVICE_MEMORY_OVERALLOCATION_CREATE_INFO_AMD:
|
|
|
|
return "VK_STRUCTURE_TYPE_DEVICE_MEMORY_OVERALLOCATION_CREATE_INFO_AMD";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_FEATURES_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_FEATURES_NV";
|
|
|
|
case VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIES_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIES_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES:
|
|
|
|
return "VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_STRUCTURE_TYPE_MACOS_SURFACE_CREATE_INFO_MVK:
|
|
|
|
return "VK_STRUCTURE_TYPE_MACOS_SURFACE_CREATE_INFO_MVK";
|
|
|
|
case VK_STRUCTURE_TYPE_CHECKPOINT_DATA_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_CHECKPOINT_DATA_NV";
|
|
|
|
case VK_STRUCTURE_TYPE_MULTISAMPLE_PROPERTIES_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_MULTISAMPLE_PROPERTIES_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_MEMORY_MODEL_FEATURES_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_MEMORY_MODEL_FEATURES_KHR";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_MODULATION_STATE_CREATE_INFO_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_MODULATION_STATE_CREATE_INFO_NV";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_SUPPORT:
|
|
|
|
return "VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_SUPPORT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_DESCRIPTOR_PROPERTIES_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_DESCRIPTOR_PROPERTIES_KHR";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_STRUCTURE_TYPE_DRM_FORMAT_MODIFIER_PROPERTIES_LIST_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_DRM_FORMAT_MODIFIER_PROPERTIES_LIST_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_STRUCTURE_TYPE_CMD_RESERVE_SPACE_FOR_COMMANDS_INFO_NVX:
|
|
|
|
return "VK_STRUCTURE_TYPE_CMD_RESERVE_SPACE_FOR_COMMANDS_INFO_NVX";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2:
|
|
|
|
return "VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2";
|
|
|
|
case VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_TAG_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_TAG_INFO_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO_KHR";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_STRUCTURE_TYPE_VALIDATION_CACHE_CREATE_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_VALIDATION_CACHE_CREATE_INFO_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_INFO_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_INFO_NV";
|
|
|
|
case VK_STRUCTURE_TYPE_IMPORT_MEMORY_FD_INFO_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_IMPORT_MEMORY_FD_INFO_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_FEATURES_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_FEATURES_NV";
|
|
|
|
case VK_STRUCTURE_TYPE_PRESENT_REGIONS_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_PRESENT_REGIONS_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONDITIONAL_RENDERING_FEATURES_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONDITIONAL_RENDERING_FEATURES_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_DEVICE_EVENT_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_DEVICE_EVENT_INFO_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_SUBPASS_DEPENDENCY_2_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_SUBPASS_DEPENDENCY_2_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_IMPORT_MEMORY_HOST_POINTER_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_IMPORT_MEMORY_HOST_POINTER_INFO_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_PROPERTIES_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_PROPERTIES_NV";
|
|
|
|
case VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CALLBACK_DATA_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CALLBACK_DATA_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_ADDRESS_FEATURES_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_ADDRESS_FEATURES_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_EXTERNAL_BUFFER_PROPERTIES:
|
|
|
|
return "VK_STRUCTURE_TYPE_EXTERNAL_BUFFER_PROPERTIES";
|
|
|
|
case VK_STRUCTURE_TYPE_SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_PROPERTIES_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_PROPERTIES_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_MEMORY_GET_ANDROID_HARDWARE_BUFFER_INFO_ANDROID:
|
|
|
|
return "VK_STRUCTURE_TYPE_MEMORY_GET_ANDROID_HARDWARE_BUFFER_INFO_ANDROID";
|
|
|
|
case VK_STRUCTURE_TYPE_DISPLAY_PLANE_CAPABILITIES_2_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_DISPLAY_PLANE_CAPABILITIES_2_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_MEMORY_HOST_POINTER_PROPERTIES_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_MEMORY_HOST_POINTER_PROPERTIES_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_BIND_SPARSE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_BIND_SPARSE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_DISPLAY_POWER_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_DISPLAY_POWER_INFO_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2:
|
|
|
|
return "VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2";
|
|
|
|
case VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS:
|
|
|
|
return "VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS";
|
|
|
|
case VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_MEMORY_PRIORITY_ALLOCATE_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_MEMORY_PRIORITY_ALLOCATE_INFO_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2:
|
|
|
|
return "VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2";
|
|
|
|
case VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV";
|
|
|
|
case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV";
|
|
|
|
case VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_EXPLICIT_CREATE_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_EXPLICIT_CREATE_INFO_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_FEATURES_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_FEATURES_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_APPLICATION_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_APPLICATION_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2:
|
|
|
|
return "VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2";
|
|
|
|
case VK_STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_VI_SURFACE_CREATE_INFO_NN:
|
|
|
|
return "VK_STRUCTURE_TYPE_VI_SURFACE_CREATE_INFO_NN";
|
|
|
|
case VK_STRUCTURE_TYPE_IMAGE_VIEW_ASTC_DECODE_MODE_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_IMAGE_VIEW_ASTC_DECODE_MODE_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES";
|
|
|
|
case VK_STRUCTURE_TYPE_FENCE_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_FENCE_CREATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES:
|
|
|
|
return "VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES";
|
|
|
|
case VK_STRUCTURE_TYPE_DISPLAY_MODE_PROPERTIES_2_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_DISPLAY_MODE_PROPERTIES_2_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SURFACE_INFO_2_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SURFACE_INFO_2_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_NAME_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_NAME_INFO_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_2_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_2_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_SUBMIT_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_SUBMIT_INFO";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_STRUCTURE_TYPE_SAMPLE_LOCATIONS_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_SAMPLE_LOCATIONS_INFO_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_FEATURES_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_FEATURES_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES";
|
|
|
|
case VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2:
|
|
|
|
return "VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_W_SCALING_STATE_CREATE_INFO_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_W_SCALING_STATE_CREATE_INFO_NV";
|
|
|
|
case VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_PROPERTIES_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_PROPERTIES_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_IMPORT_FENCE_FD_INFO_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_IMPORT_FENCE_FD_INFO_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2:
|
|
|
|
return "VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_AMD:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_AMD";
|
|
|
|
case VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_DEPTH_STENCIL_RESOLVE_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_DEPTH_STENCIL_RESOLVE_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_PROTECTED_SUBMIT_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_PROTECTED_SUBMIT_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_RAY_TRACING_PIPELINE_CREATE_INFO_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_RAY_TRACING_PIPELINE_CREATE_INFO_NV";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXCLUSIVE_SCISSOR_FEATURES_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXCLUSIVE_SCISSOR_FEATURES_NV";
|
|
|
|
case VK_STRUCTURE_TYPE_DEBUG_MARKER_MARKER_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_DEBUG_MARKER_MARKER_INFO_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_DISPLAY_SURFACE_CREATE_INFO_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_DISPLAY_SURFACE_CREATE_INFO_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_MEMORY_GET_WIN32_HANDLE_INFO_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_MEMORY_GET_WIN32_HANDLE_INFO_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONSERVATIVE_RASTERIZATION_PROPERTIES_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONSERVATIVE_RASTERIZATION_PROPERTIES_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_SEMAPHORE_GET_WIN32_HANDLE_INFO_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_SEMAPHORE_GET_WIN32_HANDLE_INFO_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_2_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_2_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_PIPELINE_REPRESENTATIVE_FRAGMENT_TEST_STATE_CREATE_INFO_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_PIPELINE_REPRESENTATIVE_FRAGMENT_TEST_STATE_CREATE_INFO_NV";
|
|
|
|
case VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER:
|
|
|
|
return "VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURES_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURES_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ASTC_DECODE_FEATURES_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ASTC_DECODE_FEATURES_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO_NV";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_PROPERTIES_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_PROPERTIES_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PROPERTIES_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PROPERTIES_NV";
|
|
|
|
case VK_STRUCTURE_TYPE_IMAGEPIPE_SURFACE_CREATE_INFO_FUCHSIA:
|
|
|
|
return "VK_STRUCTURE_TYPE_IMAGEPIPE_SURFACE_CREATE_INFO_FUCHSIA";
|
|
|
|
case VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_CREATE_INFO_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_CREATE_INFO_NV";
|
|
|
|
case VK_STRUCTURE_TYPE_SURFACE_FORMAT_2_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_SURFACE_FORMAT_2_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_EVENT_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_EVENT_CREATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMD:
|
|
|
|
return "VK_STRUCTURE_TYPE_TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMD";
|
|
|
|
case VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_STRUCTURE_TYPE_DEVICE_GROUP_SWAPCHAIN_CREATE_INFO_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_DEVICE_GROUP_SWAPCHAIN_CREATE_INFO_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_MEMORY_BARRIER:
|
|
|
|
return "VK_STRUCTURE_TYPE_MEMORY_BARRIER";
|
|
|
|
case VK_STRUCTURE_TYPE_MEMORY_WIN32_HANDLE_PROPERTIES_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_MEMORY_WIN32_HANDLE_PROPERTIES_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_DISPLAY_EVENT_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_DISPLAY_EVENT_INFO_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_PROPERTIES_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_PROPERTIES_NV";
|
|
|
|
case VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET:
|
|
|
|
return "VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_D3D12_FENCE_SUBMIT_INFO_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_D3D12_FENCE_SUBMIT_INFO_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_SUBPASS_END_INFO_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_SUBPASS_END_INFO_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_ANDROID:
|
|
|
|
return "VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_ANDROID";
|
|
|
|
case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_VALIDATION_FEATURES_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_VALIDATION_FEATURES_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_DISPLAY_PLANE_INFO_2_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_DISPLAY_PLANE_INFO_2_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_IMAGE_SWAPCHAIN_CREATE_INFO_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_IMAGE_SWAPCHAIN_CREATE_INFO_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CORNER_SAMPLED_IMAGE_FEATURES_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CORNER_SAMPLED_IMAGE_FEATURES_NV";
|
|
|
|
case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_LIST_CREATE_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_LIST_CREATE_INFO_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_ACQUIRE_NEXT_IMAGE_INFO_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_ACQUIRE_NEXT_IMAGE_INFO_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_NV";
|
|
|
|
case VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV";
|
|
|
|
case VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET:
|
|
|
|
return "VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_FEATURES_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_FEATURES_NV";
|
|
|
|
case VK_STRUCTURE_TYPE_CONDITIONAL_RENDERING_BEGIN_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_CONDITIONAL_RENDERING_BEGIN_INFO_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_DEVICE_GENERATED_COMMANDS_FEATURES_NVX:
|
|
|
|
return "VK_STRUCTURE_TYPE_DEVICE_GENERATED_COMMANDS_FEATURES_NVX";
|
|
|
|
case VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_FENCE_GET_FD_INFO_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_FENCE_GET_FD_INFO_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_FENCE_GET_WIN32_HANDLE_INFO_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_FENCE_GET_WIN32_HANDLE_INFO_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_CAPABILITIES_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_CAPABILITIES_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_PRESENT_TIMES_INFO_GOOGLE:
|
|
|
|
return "VK_STRUCTURE_TYPE_PRESENT_TIMES_INFO_GOOGLE";
|
|
|
|
case VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_NAME_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_NAME_INFO_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_DISPLAY_MODE_CREATE_INFO_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_DISPLAY_MODE_CREATE_INFO_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_RAY_TRACING_SHADER_GROUP_CREATE_INFO_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_RAY_TRACING_SHADER_GROUP_CREATE_INFO_NV";
|
|
|
|
case VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_REPRESENTATIVE_FRAGMENT_TEST_FEATURES_NV:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_REPRESENTATIVE_FRAGMENT_TEST_FEATURES_NV";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_KHR";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_BUDGET_PROPERTIES_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_BUDGET_PROPERTIES_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_STRUCTURE_TYPE_SEMAPHORE_GET_FD_INFO_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_SEMAPHORE_GET_FD_INFO_KHR";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLE_LOCATIONS_PROPERTIES_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLE_LOCATIONS_PROPERTIES_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_STRUCTURE_TYPE_RENDER_PASS_SAMPLE_LOCATIONS_BEGIN_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_RENDER_PASS_SAMPLE_LOCATIONS_BEGIN_INFO_EXT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO";
|
|
|
|
case VK_STRUCTURE_TYPE_SUBPASS_BEGIN_INFO_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_SUBPASS_BEGIN_INFO_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_PIPELINE_SAMPLE_LOCATIONS_STATE_CREATE_INFO_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_PIPELINE_SAMPLE_LOCATIONS_STATE_CREATE_INFO_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_INLINE_UNIFORM_BLOCK_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_INLINE_UNIFORM_BLOCK_EXT";
|
|
|
|
case VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_DISPLAY_PROPERTIES_2_KHR:
|
|
|
|
return "VK_STRUCTURE_TYPE_DISPLAY_PROPERTIES_2_KHR";
|
|
|
|
case VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO:
|
|
|
|
return "VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_HOST_PROPERTIES_EXT:
|
|
|
|
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_HOST_PROPERTIES_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkStructureType";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkSystemAllocationScope(VkSystemAllocationScope input_value)
|
|
|
|
{
|
|
|
|
switch ((VkSystemAllocationScope)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_SYSTEM_ALLOCATION_SCOPE_OBJECT:
|
|
|
|
return "VK_SYSTEM_ALLOCATION_SCOPE_OBJECT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE:
|
|
|
|
return "VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE";
|
|
|
|
case VK_SYSTEM_ALLOCATION_SCOPE_COMMAND:
|
|
|
|
return "VK_SYSTEM_ALLOCATION_SCOPE_COMMAND";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_SYSTEM_ALLOCATION_SCOPE_CACHE:
|
|
|
|
return "VK_SYSTEM_ALLOCATION_SCOPE_CACHE";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_SYSTEM_ALLOCATION_SCOPE_DEVICE:
|
|
|
|
return "VK_SYSTEM_ALLOCATION_SCOPE_DEVICE";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkSystemAllocationScope";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkInternalAllocationType(VkInternalAllocationType input_value)
|
|
|
|
{
|
|
|
|
switch ((VkInternalAllocationType)input_value)
|
|
|
|
{
|
|
|
|
case VK_INTERNAL_ALLOCATION_TYPE_EXECUTABLE:
|
|
|
|
return "VK_INTERNAL_ALLOCATION_TYPE_EXECUTABLE";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkInternalAllocationType";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkFormat(VkFormat input_value)
|
|
|
|
{
|
|
|
|
switch ((VkFormat)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_FORMAT_R4G4_UNORM_PACK8:
|
|
|
|
return "VK_FORMAT_R4G4_UNORM_PACK8";
|
|
|
|
case VK_FORMAT_R8G8B8_UNORM:
|
|
|
|
return "VK_FORMAT_R8G8B8_UNORM";
|
|
|
|
case VK_FORMAT_BC3_SRGB_BLOCK:
|
|
|
|
return "VK_FORMAT_BC3_SRGB_BLOCK";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_FORMAT_PVRTC2_2BPP_SRGB_BLOCK_IMG:
|
|
|
|
return "VK_FORMAT_PVRTC2_2BPP_SRGB_BLOCK_IMG";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_FORMAT_ASTC_5x5_SRGB_BLOCK:
|
|
|
|
return "VK_FORMAT_ASTC_5x5_SRGB_BLOCK";
|
|
|
|
case VK_FORMAT_R8G8B8A8_UNORM:
|
|
|
|
return "VK_FORMAT_R8G8B8A8_UNORM";
|
|
|
|
case VK_FORMAT_R16_UINT:
|
|
|
|
return "VK_FORMAT_R16_UINT";
|
|
|
|
case VK_FORMAT_R64G64B64_UINT:
|
|
|
|
return "VK_FORMAT_R64G64B64_UINT";
|
|
|
|
case VK_FORMAT_R32G32B32_SFLOAT:
|
|
|
|
return "VK_FORMAT_R32G32B32_SFLOAT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_FORMAT_A2B10G10R10_SNORM_PACK32:
|
|
|
|
return "VK_FORMAT_A2B10G10R10_SNORM_PACK32";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_FORMAT_A2B10G10R10_UINT_PACK32:
|
|
|
|
return "VK_FORMAT_A2B10G10R10_UINT_PACK32";
|
|
|
|
case VK_FORMAT_B10G11R11_UFLOAT_PACK32:
|
|
|
|
return "VK_FORMAT_B10G11R11_UFLOAT_PACK32";
|
|
|
|
case VK_FORMAT_R16G16B16_UNORM:
|
|
|
|
return "VK_FORMAT_R16G16B16_UNORM";
|
|
|
|
case VK_FORMAT_BC1_RGBA_SRGB_BLOCK:
|
|
|
|
return "VK_FORMAT_BC1_RGBA_SRGB_BLOCK";
|
|
|
|
case VK_FORMAT_R8_SINT:
|
|
|
|
return "VK_FORMAT_R8_SINT";
|
|
|
|
case VK_FORMAT_B4G4R4A4_UNORM_PACK16:
|
|
|
|
return "VK_FORMAT_B4G4R4A4_UNORM_PACK16";
|
|
|
|
case VK_FORMAT_R8G8B8_SINT:
|
|
|
|
return "VK_FORMAT_R8G8B8_SINT";
|
|
|
|
case VK_FORMAT_B8G8R8A8_UINT:
|
|
|
|
return "VK_FORMAT_B8G8R8A8_UINT";
|
|
|
|
case VK_FORMAT_A2R10G10B10_SSCALED_PACK32:
|
|
|
|
return "VK_FORMAT_A2R10G10B10_SSCALED_PACK32";
|
|
|
|
case VK_FORMAT_R32_SINT:
|
|
|
|
return "VK_FORMAT_R32_SINT";
|
|
|
|
case VK_FORMAT_B12X4G12X4R12X4G12X4_422_UNORM_4PACK16:
|
|
|
|
return "VK_FORMAT_B12X4G12X4R12X4G12X4_422_UNORM_4PACK16";
|
|
|
|
case VK_FORMAT_D32_SFLOAT_S8_UINT:
|
|
|
|
return "VK_FORMAT_D32_SFLOAT_S8_UINT";
|
|
|
|
case VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16:
|
|
|
|
return "VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16";
|
|
|
|
case VK_FORMAT_R16_SNORM:
|
|
|
|
return "VK_FORMAT_R16_SNORM";
|
|
|
|
case VK_FORMAT_G16_B16_R16_3PLANE_444_UNORM:
|
|
|
|
return "VK_FORMAT_G16_B16_R16_3PLANE_444_UNORM";
|
|
|
|
case VK_FORMAT_BC4_SNORM_BLOCK:
|
|
|
|
return "VK_FORMAT_BC4_SNORM_BLOCK";
|
|
|
|
case VK_FORMAT_R8G8_UINT:
|
|
|
|
return "VK_FORMAT_R8G8_UINT";
|
|
|
|
case VK_FORMAT_B5G5R5A1_UNORM_PACK16:
|
|
|
|
return "VK_FORMAT_B5G5R5A1_UNORM_PACK16";
|
|
|
|
case VK_FORMAT_R8G8B8A8_SINT:
|
|
|
|
return "VK_FORMAT_R8G8B8A8_SINT";
|
|
|
|
case VK_FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16:
|
|
|
|
return "VK_FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16";
|
|
|
|
case VK_FORMAT_A2B10G10R10_SSCALED_PACK32:
|
|
|
|
return "VK_FORMAT_A2B10G10R10_SSCALED_PACK32";
|
|
|
|
case VK_FORMAT_R12X4_UNORM_PACK16:
|
|
|
|
return "VK_FORMAT_R12X4_UNORM_PACK16";
|
|
|
|
case VK_FORMAT_R8G8B8_SRGB:
|
|
|
|
return "VK_FORMAT_R8G8B8_SRGB";
|
|
|
|
case VK_FORMAT_R64G64B64A64_UINT:
|
|
|
|
return "VK_FORMAT_R64G64B64A64_UINT";
|
|
|
|
case VK_FORMAT_BC1_RGB_SRGB_BLOCK:
|
|
|
|
return "VK_FORMAT_BC1_RGB_SRGB_BLOCK";
|
|
|
|
case VK_FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK:
|
|
|
|
return "VK_FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK";
|
|
|
|
case VK_FORMAT_A2R10G10B10_USCALED_PACK32:
|
|
|
|
return "VK_FORMAT_A2R10G10B10_USCALED_PACK32";
|
|
|
|
case VK_FORMAT_R16G16B16A16_SFLOAT:
|
|
|
|
return "VK_FORMAT_R16G16B16A16_SFLOAT";
|
|
|
|
case VK_FORMAT_ASTC_8x6_SRGB_BLOCK:
|
|
|
|
return "VK_FORMAT_ASTC_8x6_SRGB_BLOCK";
|
|
|
|
case VK_FORMAT_ASTC_10x6_UNORM_BLOCK:
|
|
|
|
return "VK_FORMAT_ASTC_10x6_UNORM_BLOCK";
|
|
|
|
case VK_FORMAT_G12X4B12X4G12X4R12X4_422_UNORM_4PACK16:
|
|
|
|
return "VK_FORMAT_G12X4B12X4G12X4R12X4_422_UNORM_4PACK16";
|
|
|
|
case VK_FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16:
|
|
|
|
return "VK_FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16";
|
|
|
|
case VK_FORMAT_R8G8B8A8_SNORM:
|
|
|
|
return "VK_FORMAT_R8G8B8A8_SNORM";
|
|
|
|
case VK_FORMAT_B8G8R8_SSCALED:
|
|
|
|
return "VK_FORMAT_B8G8R8_SSCALED";
|
|
|
|
case VK_FORMAT_R16G16B16_SSCALED:
|
|
|
|
return "VK_FORMAT_R16G16B16_SSCALED";
|
|
|
|
case VK_FORMAT_R8G8B8_UINT:
|
|
|
|
return "VK_FORMAT_R8G8B8_UINT";
|
|
|
|
case VK_FORMAT_R16G16_UNORM:
|
|
|
|
return "VK_FORMAT_R16G16_UNORM";
|
|
|
|
case VK_FORMAT_G8B8G8R8_422_UNORM:
|
|
|
|
return "VK_FORMAT_G8B8G8R8_422_UNORM";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16:
|
|
|
|
return "VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_FORMAT_R8_UNORM:
|
|
|
|
return "VK_FORMAT_R8_UNORM";
|
|
|
|
case VK_FORMAT_ASTC_10x5_UNORM_BLOCK:
|
|
|
|
return "VK_FORMAT_ASTC_10x5_UNORM_BLOCK";
|
|
|
|
case VK_FORMAT_BC5_SNORM_BLOCK:
|
|
|
|
return "VK_FORMAT_BC5_SNORM_BLOCK";
|
|
|
|
case VK_FORMAT_G16_B16_R16_3PLANE_422_UNORM:
|
|
|
|
return "VK_FORMAT_G16_B16_R16_3PLANE_422_UNORM";
|
|
|
|
case VK_FORMAT_R64G64B64_SINT:
|
|
|
|
return "VK_FORMAT_R64G64B64_SINT";
|
|
|
|
case VK_FORMAT_B16G16R16G16_422_UNORM:
|
|
|
|
return "VK_FORMAT_B16G16R16G16_422_UNORM";
|
|
|
|
case VK_FORMAT_A8B8G8R8_SRGB_PACK32:
|
|
|
|
return "VK_FORMAT_A8B8G8R8_SRGB_PACK32";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_FORMAT_R8G8B8A8_SRGB:
|
|
|
|
return "VK_FORMAT_R8G8B8A8_SRGB";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_FORMAT_R8G8_SRGB:
|
|
|
|
return "VK_FORMAT_R8G8_SRGB";
|
|
|
|
case VK_FORMAT_BC2_UNORM_BLOCK:
|
|
|
|
return "VK_FORMAT_BC2_UNORM_BLOCK";
|
|
|
|
case VK_FORMAT_ASTC_12x12_SRGB_BLOCK:
|
|
|
|
return "VK_FORMAT_ASTC_12x12_SRGB_BLOCK";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_FORMAT_G8_B8_R8_3PLANE_422_UNORM:
|
|
|
|
return "VK_FORMAT_G8_B8_R8_3PLANE_422_UNORM";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_FORMAT_PVRTC1_4BPP_UNORM_BLOCK_IMG:
|
|
|
|
return "VK_FORMAT_PVRTC1_4BPP_UNORM_BLOCK_IMG";
|
|
|
|
case VK_FORMAT_R16G16B16A16_SSCALED:
|
|
|
|
return "VK_FORMAT_R16G16B16A16_SSCALED";
|
|
|
|
case VK_FORMAT_A2R10G10B10_SINT_PACK32:
|
|
|
|
return "VK_FORMAT_A2R10G10B10_SINT_PACK32";
|
|
|
|
case VK_FORMAT_A8B8G8R8_SSCALED_PACK32:
|
|
|
|
return "VK_FORMAT_A8B8G8R8_SSCALED_PACK32";
|
|
|
|
case VK_FORMAT_R16G16_UINT:
|
|
|
|
return "VK_FORMAT_R16G16_UINT";
|
|
|
|
case VK_FORMAT_R8G8_SINT:
|
|
|
|
return "VK_FORMAT_R8G8_SINT";
|
|
|
|
case VK_FORMAT_PVRTC1_2BPP_UNORM_BLOCK_IMG:
|
|
|
|
return "VK_FORMAT_PVRTC1_2BPP_UNORM_BLOCK_IMG";
|
|
|
|
case VK_FORMAT_R8_SNORM:
|
|
|
|
return "VK_FORMAT_R8_SNORM";
|
|
|
|
case VK_FORMAT_G16B16G16R16_422_UNORM:
|
|
|
|
return "VK_FORMAT_G16B16G16R16_422_UNORM";
|
|
|
|
case VK_FORMAT_B8G8R8A8_USCALED:
|
|
|
|
return "VK_FORMAT_B8G8R8A8_USCALED";
|
|
|
|
case VK_FORMAT_R8_SRGB:
|
|
|
|
return "VK_FORMAT_R8_SRGB";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_FORMAT_B8G8R8_USCALED:
|
|
|
|
return "VK_FORMAT_B8G8R8_USCALED";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_FORMAT_EAC_R11G11_UNORM_BLOCK:
|
|
|
|
return "VK_FORMAT_EAC_R11G11_UNORM_BLOCK";
|
|
|
|
case VK_FORMAT_A2B10G10R10_USCALED_PACK32:
|
|
|
|
return "VK_FORMAT_A2B10G10R10_USCALED_PACK32";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_FORMAT_B8G8R8A8_SRGB:
|
|
|
|
return "VK_FORMAT_B8G8R8A8_SRGB";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_FORMAT_R16G16_SSCALED:
|
|
|
|
return "VK_FORMAT_R16G16_SSCALED";
|
|
|
|
case VK_FORMAT_BC4_UNORM_BLOCK:
|
|
|
|
return "VK_FORMAT_BC4_UNORM_BLOCK";
|
|
|
|
case VK_FORMAT_ASTC_6x5_SRGB_BLOCK:
|
|
|
|
return "VK_FORMAT_ASTC_6x5_SRGB_BLOCK";
|
|
|
|
case VK_FORMAT_ASTC_5x4_SRGB_BLOCK:
|
|
|
|
return "VK_FORMAT_ASTC_5x4_SRGB_BLOCK";
|
|
|
|
case VK_FORMAT_R10X6_UNORM_PACK16:
|
|
|
|
return "VK_FORMAT_R10X6_UNORM_PACK16";
|
|
|
|
case VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16:
|
|
|
|
return "VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16";
|
|
|
|
case VK_FORMAT_A2R10G10B10_UNORM_PACK32:
|
|
|
|
return "VK_FORMAT_A2R10G10B10_UNORM_PACK32";
|
|
|
|
case VK_FORMAT_ETC2_R8G8B8_SRGB_BLOCK:
|
|
|
|
return "VK_FORMAT_ETC2_R8G8B8_SRGB_BLOCK";
|
|
|
|
case VK_FORMAT_ASTC_12x10_SRGB_BLOCK:
|
|
|
|
return "VK_FORMAT_ASTC_12x10_SRGB_BLOCK";
|
|
|
|
case VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16:
|
|
|
|
return "VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16";
|
|
|
|
case VK_FORMAT_A8B8G8R8_UNORM_PACK32:
|
|
|
|
return "VK_FORMAT_A8B8G8R8_UNORM_PACK32";
|
|
|
|
case VK_FORMAT_E5B9G9R9_UFLOAT_PACK32:
|
|
|
|
return "VK_FORMAT_E5B9G9R9_UFLOAT_PACK32";
|
|
|
|
case VK_FORMAT_BC6H_UFLOAT_BLOCK:
|
|
|
|
return "VK_FORMAT_BC6H_UFLOAT_BLOCK";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_FORMAT_BC5_UNORM_BLOCK:
|
|
|
|
return "VK_FORMAT_BC5_UNORM_BLOCK";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_FORMAT_R16G16_SFLOAT:
|
|
|
|
return "VK_FORMAT_R16G16_SFLOAT";
|
|
|
|
case VK_FORMAT_R16G16B16_SINT:
|
|
|
|
return "VK_FORMAT_R16G16B16_SINT";
|
|
|
|
case VK_FORMAT_ASTC_12x12_UNORM_BLOCK:
|
|
|
|
return "VK_FORMAT_ASTC_12x12_UNORM_BLOCK";
|
|
|
|
case VK_FORMAT_D16_UNORM:
|
|
|
|
return "VK_FORMAT_D16_UNORM";
|
|
|
|
case VK_FORMAT_BC7_UNORM_BLOCK:
|
|
|
|
return "VK_FORMAT_BC7_UNORM_BLOCK";
|
|
|
|
case VK_FORMAT_R32G32B32_SINT:
|
|
|
|
return "VK_FORMAT_R32G32B32_SINT";
|
|
|
|
case VK_FORMAT_ASTC_4x4_SRGB_BLOCK:
|
|
|
|
return "VK_FORMAT_ASTC_4x4_SRGB_BLOCK";
|
|
|
|
case VK_FORMAT_G8_B8R8_2PLANE_422_UNORM:
|
|
|
|
return "VK_FORMAT_G8_B8R8_2PLANE_422_UNORM";
|
|
|
|
case VK_FORMAT_ASTC_6x6_UNORM_BLOCK:
|
|
|
|
return "VK_FORMAT_ASTC_6x6_UNORM_BLOCK";
|
|
|
|
case VK_FORMAT_BC3_UNORM_BLOCK:
|
|
|
|
return "VK_FORMAT_BC3_UNORM_BLOCK";
|
|
|
|
case VK_FORMAT_ASTC_6x6_SRGB_BLOCK:
|
|
|
|
return "VK_FORMAT_ASTC_6x6_SRGB_BLOCK";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_FORMAT_BC7_SRGB_BLOCK:
|
|
|
|
return "VK_FORMAT_BC7_SRGB_BLOCK";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_FORMAT_R32G32B32_UINT:
|
|
|
|
return "VK_FORMAT_R32G32B32_UINT";
|
|
|
|
case VK_FORMAT_ASTC_4x4_UNORM_BLOCK:
|
|
|
|
return "VK_FORMAT_ASTC_4x4_UNORM_BLOCK";
|
|
|
|
case VK_FORMAT_ASTC_10x6_SRGB_BLOCK:
|
|
|
|
return "VK_FORMAT_ASTC_10x6_SRGB_BLOCK";
|
|
|
|
case VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16:
|
|
|
|
return "VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16";
|
|
|
|
case VK_FORMAT_B5G6R5_UNORM_PACK16:
|
|
|
|
return "VK_FORMAT_B5G6R5_UNORM_PACK16";
|
|
|
|
case VK_FORMAT_R32_UINT:
|
|
|
|
return "VK_FORMAT_R32_UINT";
|
|
|
|
case VK_FORMAT_ASTC_10x10_UNORM_BLOCK:
|
|
|
|
return "VK_FORMAT_ASTC_10x10_UNORM_BLOCK";
|
|
|
|
case VK_FORMAT_R16_UNORM:
|
|
|
|
return "VK_FORMAT_R16_UNORM";
|
|
|
|
case VK_FORMAT_B8G8R8G8_422_UNORM:
|
|
|
|
return "VK_FORMAT_B8G8R8G8_422_UNORM";
|
|
|
|
case VK_FORMAT_R5G5B5A1_UNORM_PACK16:
|
|
|
|
return "VK_FORMAT_R5G5B5A1_UNORM_PACK16";
|
|
|
|
case VK_FORMAT_R32G32_SFLOAT:
|
|
|
|
return "VK_FORMAT_R32G32_SFLOAT";
|
|
|
|
case VK_FORMAT_B8G8R8_SNORM:
|
|
|
|
return "VK_FORMAT_B8G8R8_SNORM";
|
|
|
|
case VK_FORMAT_ASTC_10x8_UNORM_BLOCK:
|
|
|
|
return "VK_FORMAT_ASTC_10x8_UNORM_BLOCK";
|
|
|
|
case VK_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16:
|
|
|
|
return "VK_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16";
|
|
|
|
case VK_FORMAT_R16G16B16_SNORM:
|
|
|
|
return "VK_FORMAT_R16G16B16_SNORM";
|
|
|
|
case VK_FORMAT_PVRTC2_2BPP_UNORM_BLOCK_IMG:
|
|
|
|
return "VK_FORMAT_PVRTC2_2BPP_UNORM_BLOCK_IMG";
|
|
|
|
case VK_FORMAT_R5G6B5_UNORM_PACK16:
|
|
|
|
return "VK_FORMAT_R5G6B5_UNORM_PACK16";
|
|
|
|
case VK_FORMAT_A8B8G8R8_USCALED_PACK32:
|
|
|
|
return "VK_FORMAT_A8B8G8R8_USCALED_PACK32";
|
|
|
|
case VK_FORMAT_R8G8B8_SSCALED:
|
|
|
|
return "VK_FORMAT_R8G8B8_SSCALED";
|
|
|
|
case VK_FORMAT_R64_SINT:
|
|
|
|
return "VK_FORMAT_R64_SINT";
|
|
|
|
case VK_FORMAT_R8G8_UNORM:
|
|
|
|
return "VK_FORMAT_R8G8_UNORM";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_FORMAT_A2R10G10B10_UINT_PACK32:
|
|
|
|
return "VK_FORMAT_A2R10G10B10_UINT_PACK32";
|
|
|
|
case VK_FORMAT_B8G8R8_SRGB:
|
|
|
|
return "VK_FORMAT_B8G8R8_SRGB";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_FORMAT_A2B10G10R10_SINT_PACK32:
|
|
|
|
return "VK_FORMAT_A2B10G10R10_SINT_PACK32";
|
|
|
|
case VK_FORMAT_R16G16B16_USCALED:
|
|
|
|
return "VK_FORMAT_R16G16B16_USCALED";
|
|
|
|
case VK_FORMAT_G8_B8R8_2PLANE_420_UNORM:
|
|
|
|
return "VK_FORMAT_G8_B8R8_2PLANE_420_UNORM";
|
|
|
|
case VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM:
|
|
|
|
return "VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM";
|
|
|
|
case VK_FORMAT_ASTC_10x8_SRGB_BLOCK:
|
|
|
|
return "VK_FORMAT_ASTC_10x8_SRGB_BLOCK";
|
|
|
|
case VK_FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16:
|
|
|
|
return "VK_FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16:
|
|
|
|
return "VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_FORMAT_X8_D24_UNORM_PACK32:
|
|
|
|
return "VK_FORMAT_X8_D24_UNORM_PACK32";
|
|
|
|
case VK_FORMAT_BC2_SRGB_BLOCK:
|
|
|
|
return "VK_FORMAT_BC2_SRGB_BLOCK";
|
|
|
|
case VK_FORMAT_EAC_R11_UNORM_BLOCK:
|
|
|
|
return "VK_FORMAT_EAC_R11_UNORM_BLOCK";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_FORMAT_ASTC_12x10_UNORM_BLOCK:
|
|
|
|
return "VK_FORMAT_ASTC_12x10_UNORM_BLOCK";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_FORMAT_R64G64_SINT:
|
|
|
|
return "VK_FORMAT_R64G64_SINT";
|
|
|
|
case VK_FORMAT_R16G16B16_SFLOAT:
|
|
|
|
return "VK_FORMAT_R16G16B16_SFLOAT";
|
|
|
|
case VK_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK:
|
|
|
|
return "VK_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK";
|
|
|
|
case VK_FORMAT_ASTC_8x6_UNORM_BLOCK:
|
|
|
|
return "VK_FORMAT_ASTC_8x6_UNORM_BLOCK";
|
|
|
|
case VK_FORMAT_ASTC_5x5_UNORM_BLOCK:
|
|
|
|
return "VK_FORMAT_ASTC_5x5_UNORM_BLOCK";
|
|
|
|
case VK_FORMAT_R8G8_SNORM:
|
|
|
|
return "VK_FORMAT_R8G8_SNORM";
|
|
|
|
case VK_FORMAT_G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16:
|
|
|
|
return "VK_FORMAT_G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16";
|
|
|
|
case VK_FORMAT_ASTC_5x4_UNORM_BLOCK:
|
|
|
|
return "VK_FORMAT_ASTC_5x4_UNORM_BLOCK";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_FORMAT_ASTC_10x5_SRGB_BLOCK:
|
|
|
|
return "VK_FORMAT_ASTC_10x5_SRGB_BLOCK";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_FORMAT_R16G16_USCALED:
|
|
|
|
return "VK_FORMAT_R16G16_USCALED";
|
|
|
|
case VK_FORMAT_R16G16B16_UINT:
|
|
|
|
return "VK_FORMAT_R16G16B16_UINT";
|
|
|
|
case VK_FORMAT_G8_B8_R8_3PLANE_444_UNORM:
|
|
|
|
return "VK_FORMAT_G8_B8_R8_3PLANE_444_UNORM";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_FORMAT_UNDEFINED:
|
|
|
|
return "VK_FORMAT_UNDEFINED";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_FORMAT_ASTC_6x5_UNORM_BLOCK:
|
|
|
|
return "VK_FORMAT_ASTC_6x5_UNORM_BLOCK";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_FORMAT_ASTC_8x5_UNORM_BLOCK:
|
|
|
|
return "VK_FORMAT_ASTC_8x5_UNORM_BLOCK";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_FORMAT_R64_SFLOAT:
|
|
|
|
return "VK_FORMAT_R64_SFLOAT";
|
|
|
|
case VK_FORMAT_A2R10G10B10_SNORM_PACK32:
|
|
|
|
return "VK_FORMAT_A2R10G10B10_SNORM_PACK32";
|
|
|
|
case VK_FORMAT_R32_SFLOAT:
|
|
|
|
return "VK_FORMAT_R32_SFLOAT";
|
|
|
|
case VK_FORMAT_R16G16B16A16_SNORM:
|
|
|
|
return "VK_FORMAT_R16G16B16A16_SNORM";
|
|
|
|
case VK_FORMAT_R64G64_UINT:
|
|
|
|
return "VK_FORMAT_R64G64_UINT";
|
|
|
|
case VK_FORMAT_EAC_R11_SNORM_BLOCK:
|
|
|
|
return "VK_FORMAT_EAC_R11_SNORM_BLOCK";
|
|
|
|
case VK_FORMAT_B8G8R8A8_SSCALED:
|
|
|
|
return "VK_FORMAT_B8G8R8A8_SSCALED";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_FORMAT_R64G64_SFLOAT:
|
|
|
|
return "VK_FORMAT_R64G64_SFLOAT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_FORMAT_R64G64B64A64_SINT:
|
|
|
|
return "VK_FORMAT_R64G64B64A64_SINT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_FORMAT_ASTC_8x8_UNORM_BLOCK:
|
|
|
|
return "VK_FORMAT_ASTC_8x8_UNORM_BLOCK";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16:
|
|
|
|
return "VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16";
|
|
|
|
case VK_FORMAT_B8G8R8A8_SINT:
|
|
|
|
return "VK_FORMAT_B8G8R8A8_SINT";
|
|
|
|
case VK_FORMAT_R8_SSCALED:
|
|
|
|
return "VK_FORMAT_R8_SSCALED";
|
|
|
|
case VK_FORMAT_R16_SSCALED:
|
|
|
|
return "VK_FORMAT_R16_SSCALED";
|
|
|
|
case VK_FORMAT_PVRTC1_2BPP_SRGB_BLOCK_IMG:
|
|
|
|
return "VK_FORMAT_PVRTC1_2BPP_SRGB_BLOCK_IMG";
|
|
|
|
case VK_FORMAT_R8G8_SSCALED:
|
|
|
|
return "VK_FORMAT_R8G8_SSCALED";
|
|
|
|
case VK_FORMAT_G16_B16R16_2PLANE_422_UNORM:
|
|
|
|
return "VK_FORMAT_G16_B16R16_2PLANE_422_UNORM";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_FORMAT_G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16:
|
|
|
|
return "VK_FORMAT_G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_FORMAT_R4G4B4A4_UNORM_PACK16:
|
|
|
|
return "VK_FORMAT_R4G4B4A4_UNORM_PACK16";
|
|
|
|
case VK_FORMAT_R32G32_SINT:
|
|
|
|
return "VK_FORMAT_R32G32_SINT";
|
|
|
|
case VK_FORMAT_R16G16_SINT:
|
|
|
|
return "VK_FORMAT_R16G16_SINT";
|
|
|
|
case VK_FORMAT_R8G8_USCALED:
|
|
|
|
return "VK_FORMAT_R8G8_USCALED";
|
|
|
|
case VK_FORMAT_A2B10G10R10_UNORM_PACK32:
|
|
|
|
return "VK_FORMAT_A2B10G10R10_UNORM_PACK32";
|
|
|
|
case VK_FORMAT_R8G8B8_SNORM:
|
|
|
|
return "VK_FORMAT_R8G8B8_SNORM";
|
|
|
|
case VK_FORMAT_R16G16B16A16_USCALED:
|
|
|
|
return "VK_FORMAT_R16G16B16A16_USCALED";
|
|
|
|
case VK_FORMAT_R32G32_UINT:
|
|
|
|
return "VK_FORMAT_R32G32_UINT";
|
|
|
|
case VK_FORMAT_ASTC_10x10_SRGB_BLOCK:
|
|
|
|
return "VK_FORMAT_ASTC_10x10_SRGB_BLOCK";
|
|
|
|
case VK_FORMAT_R8G8B8A8_UINT:
|
|
|
|
return "VK_FORMAT_R8G8B8A8_UINT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_FORMAT_D16_UNORM_S8_UINT:
|
|
|
|
return "VK_FORMAT_D16_UNORM_S8_UINT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_FORMAT_R64_UINT:
|
|
|
|
return "VK_FORMAT_R64_UINT";
|
|
|
|
case VK_FORMAT_G16_B16_R16_3PLANE_420_UNORM:
|
|
|
|
return "VK_FORMAT_G16_B16_R16_3PLANE_420_UNORM";
|
|
|
|
case VK_FORMAT_R8_USCALED:
|
|
|
|
return "VK_FORMAT_R8_USCALED";
|
|
|
|
case VK_FORMAT_PVRTC2_4BPP_SRGB_BLOCK_IMG:
|
|
|
|
return "VK_FORMAT_PVRTC2_4BPP_SRGB_BLOCK_IMG";
|
|
|
|
case VK_FORMAT_ASTC_8x5_SRGB_BLOCK:
|
|
|
|
return "VK_FORMAT_ASTC_8x5_SRGB_BLOCK";
|
|
|
|
case VK_FORMAT_R32G32B32A32_SFLOAT:
|
|
|
|
return "VK_FORMAT_R32G32B32A32_SFLOAT";
|
|
|
|
case VK_FORMAT_D24_UNORM_S8_UINT:
|
|
|
|
return "VK_FORMAT_D24_UNORM_S8_UINT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_FORMAT_A1R5G5B5_UNORM_PACK16:
|
|
|
|
return "VK_FORMAT_A1R5G5B5_UNORM_PACK16";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK:
|
|
|
|
return "VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK";
|
|
|
|
case VK_FORMAT_R32G32B32A32_SINT:
|
|
|
|
return "VK_FORMAT_R32G32B32A32_SINT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_FORMAT_A8B8G8R8_UINT_PACK32:
|
|
|
|
return "VK_FORMAT_A8B8G8R8_UINT_PACK32";
|
|
|
|
case VK_FORMAT_B8G8R8_UNORM:
|
|
|
|
return "VK_FORMAT_B8G8R8_UNORM";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_FORMAT_R16G16B16A16_UINT:
|
|
|
|
return "VK_FORMAT_R16G16B16A16_UINT";
|
|
|
|
case VK_FORMAT_BC1_RGBA_UNORM_BLOCK:
|
|
|
|
return "VK_FORMAT_BC1_RGBA_UNORM_BLOCK";
|
|
|
|
case VK_FORMAT_BC1_RGB_UNORM_BLOCK:
|
|
|
|
return "VK_FORMAT_BC1_RGB_UNORM_BLOCK";
|
|
|
|
case VK_FORMAT_R16_SINT:
|
|
|
|
return "VK_FORMAT_R16_SINT";
|
|
|
|
case VK_FORMAT_B8G8R8_SINT:
|
|
|
|
return "VK_FORMAT_B8G8R8_SINT";
|
|
|
|
case VK_FORMAT_R16G16B16A16_SINT:
|
|
|
|
return "VK_FORMAT_R16G16B16A16_SINT";
|
|
|
|
case VK_FORMAT_D32_SFLOAT:
|
|
|
|
return "VK_FORMAT_D32_SFLOAT";
|
|
|
|
case VK_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK:
|
|
|
|
return "VK_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK";
|
|
|
|
case VK_FORMAT_B8G8R8A8_SNORM:
|
|
|
|
return "VK_FORMAT_B8G8R8A8_SNORM";
|
|
|
|
case VK_FORMAT_R16_SFLOAT:
|
|
|
|
return "VK_FORMAT_R16_SFLOAT";
|
|
|
|
case VK_FORMAT_R8G8B8A8_USCALED:
|
|
|
|
return "VK_FORMAT_R8G8B8A8_USCALED";
|
|
|
|
case VK_FORMAT_B8G8R8_UINT:
|
|
|
|
return "VK_FORMAT_B8G8R8_UINT";
|
|
|
|
case VK_FORMAT_EAC_R11G11_SNORM_BLOCK:
|
|
|
|
return "VK_FORMAT_EAC_R11G11_SNORM_BLOCK";
|
|
|
|
case VK_FORMAT_R8G8B8_USCALED:
|
|
|
|
return "VK_FORMAT_R8G8B8_USCALED";
|
|
|
|
case VK_FORMAT_R8_UINT:
|
|
|
|
return "VK_FORMAT_R8_UINT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_FORMAT_R10X6G10X6_UNORM_2PACK16:
|
|
|
|
return "VK_FORMAT_R10X6G10X6_UNORM_2PACK16";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_FORMAT_G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16:
|
|
|
|
return "VK_FORMAT_G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16";
|
|
|
|
case VK_FORMAT_ASTC_8x8_SRGB_BLOCK:
|
|
|
|
return "VK_FORMAT_ASTC_8x8_SRGB_BLOCK";
|
|
|
|
case VK_FORMAT_R32G32B32A32_UINT:
|
|
|
|
return "VK_FORMAT_R32G32B32A32_UINT";
|
|
|
|
case VK_FORMAT_R16G16B16A16_UNORM:
|
|
|
|
return "VK_FORMAT_R16G16B16A16_UNORM";
|
|
|
|
case VK_FORMAT_R16_USCALED:
|
|
|
|
return "VK_FORMAT_R16_USCALED";
|
|
|
|
case VK_FORMAT_BC6H_SFLOAT_BLOCK:
|
|
|
|
return "VK_FORMAT_BC6H_SFLOAT_BLOCK";
|
|
|
|
case VK_FORMAT_S8_UINT:
|
|
|
|
return "VK_FORMAT_S8_UINT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_FORMAT_R8G8B8A8_SSCALED:
|
|
|
|
return "VK_FORMAT_R8G8B8A8_SSCALED";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK:
|
|
|
|
return "VK_FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK";
|
|
|
|
case VK_FORMAT_PVRTC1_4BPP_SRGB_BLOCK_IMG:
|
|
|
|
return "VK_FORMAT_PVRTC1_4BPP_SRGB_BLOCK_IMG";
|
|
|
|
case VK_FORMAT_R64G64B64A64_SFLOAT:
|
|
|
|
return "VK_FORMAT_R64G64B64A64_SFLOAT";
|
|
|
|
case VK_FORMAT_PVRTC2_4BPP_UNORM_BLOCK_IMG:
|
|
|
|
return "VK_FORMAT_PVRTC2_4BPP_UNORM_BLOCK_IMG";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_FORMAT_A8B8G8R8_SINT_PACK32:
|
|
|
|
return "VK_FORMAT_A8B8G8R8_SINT_PACK32";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_FORMAT_G16_B16R16_2PLANE_420_UNORM:
|
|
|
|
return "VK_FORMAT_G16_B16R16_2PLANE_420_UNORM";
|
|
|
|
case VK_FORMAT_R64G64B64_SFLOAT:
|
|
|
|
return "VK_FORMAT_R64G64B64_SFLOAT";
|
|
|
|
case VK_FORMAT_R16G16_SNORM:
|
|
|
|
return "VK_FORMAT_R16G16_SNORM";
|
|
|
|
case VK_FORMAT_B8G8R8A8_UNORM:
|
|
|
|
return "VK_FORMAT_B8G8R8A8_UNORM";
|
|
|
|
case VK_FORMAT_A8B8G8R8_SNORM_PACK32:
|
|
|
|
return "VK_FORMAT_A8B8G8R8_SNORM_PACK32";
|
|
|
|
case VK_FORMAT_R12X4G12X4_UNORM_2PACK16:
|
|
|
|
return "VK_FORMAT_R12X4G12X4_UNORM_2PACK16";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkFormat";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkFormatFeatureFlagBits(VkFormatFeatureFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkFormatFeatureFlagBits)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT:
|
|
|
|
return "VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT";
|
|
|
|
case VK_FORMAT_FEATURE_COSITED_CHROMA_SAMPLES_BIT:
|
|
|
|
return "VK_FORMAT_FEATURE_COSITED_CHROMA_SAMPLES_BIT";
|
|
|
|
case VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT:
|
|
|
|
return "VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG:
|
|
|
|
return "VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT:
|
|
|
|
return "VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT";
|
|
|
|
case VK_FORMAT_FEATURE_TRANSFER_SRC_BIT:
|
|
|
|
return "VK_FORMAT_FEATURE_TRANSFER_SRC_BIT";
|
|
|
|
case VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT:
|
|
|
|
return "VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT";
|
|
|
|
case VK_FORMAT_FEATURE_FRAGMENT_DENSITY_MAP_BIT_EXT:
|
|
|
|
return "VK_FORMAT_FEATURE_FRAGMENT_DENSITY_MAP_BIT_EXT";
|
|
|
|
case VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT:
|
|
|
|
return "VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT";
|
|
|
|
case VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT_EXT:
|
|
|
|
return "VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT:
|
|
|
|
return "VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT:
|
|
|
|
return "VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT";
|
|
|
|
case VK_FORMAT_FEATURE_DISJOINT_BIT:
|
|
|
|
return "VK_FORMAT_FEATURE_DISJOINT_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT:
|
|
|
|
return "VK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT:
|
|
|
|
return "VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT";
|
|
|
|
case VK_FORMAT_FEATURE_BLIT_DST_BIT:
|
|
|
|
return "VK_FORMAT_FEATURE_BLIT_DST_BIT";
|
|
|
|
case VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT:
|
|
|
|
return "VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT:
|
|
|
|
return "VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT";
|
|
|
|
case VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT:
|
|
|
|
return "VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT";
|
|
|
|
case VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT:
|
|
|
|
return "VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_FORMAT_FEATURE_TRANSFER_DST_BIT:
|
|
|
|
return "VK_FORMAT_FEATURE_TRANSFER_DST_BIT";
|
|
|
|
case VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT:
|
|
|
|
return "VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT";
|
|
|
|
case VK_FORMAT_FEATURE_BLIT_SRC_BIT:
|
|
|
|
return "VK_FORMAT_FEATURE_BLIT_SRC_BIT";
|
|
|
|
case VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT:
|
|
|
|
return "VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT:
|
|
|
|
return "VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkFormatFeatureFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkImageType(VkImageType input_value)
|
|
|
|
{
|
|
|
|
switch ((VkImageType)input_value)
|
|
|
|
{
|
|
|
|
case VK_IMAGE_TYPE_1D:
|
|
|
|
return "VK_IMAGE_TYPE_1D";
|
|
|
|
case VK_IMAGE_TYPE_3D:
|
|
|
|
return "VK_IMAGE_TYPE_3D";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_IMAGE_TYPE_2D:
|
|
|
|
return "VK_IMAGE_TYPE_2D";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkImageType";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkImageTiling(VkImageTiling input_value)
|
|
|
|
{
|
|
|
|
switch ((VkImageTiling)input_value)
|
|
|
|
{
|
|
|
|
case VK_IMAGE_TILING_OPTIMAL:
|
|
|
|
return "VK_IMAGE_TILING_OPTIMAL";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_IMAGE_TILING_LINEAR:
|
|
|
|
return "VK_IMAGE_TILING_LINEAR";
|
|
|
|
case VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT:
|
|
|
|
return "VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkImageTiling";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkImageUsageFlagBits(VkImageUsageFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkImageUsageFlagBits)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_IMAGE_USAGE_SHADING_RATE_IMAGE_BIT_NV:
|
|
|
|
return "VK_IMAGE_USAGE_SHADING_RATE_IMAGE_BIT_NV";
|
|
|
|
case VK_IMAGE_USAGE_FRAGMENT_DENSITY_MAP_BIT_EXT:
|
|
|
|
return "VK_IMAGE_USAGE_FRAGMENT_DENSITY_MAP_BIT_EXT";
|
|
|
|
case VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT:
|
|
|
|
return "VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT:
|
|
|
|
return "VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_IMAGE_USAGE_TRANSFER_SRC_BIT:
|
|
|
|
return "VK_IMAGE_USAGE_TRANSFER_SRC_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_IMAGE_USAGE_TRANSFER_DST_BIT:
|
|
|
|
return "VK_IMAGE_USAGE_TRANSFER_DST_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT:
|
|
|
|
return "VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT";
|
|
|
|
case VK_IMAGE_USAGE_STORAGE_BIT:
|
|
|
|
return "VK_IMAGE_USAGE_STORAGE_BIT";
|
|
|
|
case VK_IMAGE_USAGE_SAMPLED_BIT:
|
|
|
|
return "VK_IMAGE_USAGE_SAMPLED_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT:
|
|
|
|
return "VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkImageUsageFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkImageCreateFlagBits(VkImageCreateFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkImageCreateFlagBits)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_IMAGE_CREATE_SPARSE_ALIASED_BIT:
|
|
|
|
return "VK_IMAGE_CREATE_SPARSE_ALIASED_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_IMAGE_CREATE_ALIAS_BIT:
|
|
|
|
return "VK_IMAGE_CREATE_ALIAS_BIT";
|
|
|
|
case VK_IMAGE_CREATE_EXTENDED_USAGE_BIT:
|
|
|
|
return "VK_IMAGE_CREATE_EXTENDED_USAGE_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT:
|
|
|
|
return "VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT";
|
|
|
|
case VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT:
|
|
|
|
return "VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT";
|
|
|
|
case VK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXT:
|
|
|
|
return "VK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXT";
|
|
|
|
case VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT:
|
|
|
|
return "VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT";
|
|
|
|
case VK_IMAGE_CREATE_SUBSAMPLED_BIT_EXT:
|
|
|
|
return "VK_IMAGE_CREATE_SUBSAMPLED_BIT_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_IMAGE_CREATE_PROTECTED_BIT:
|
|
|
|
return "VK_IMAGE_CREATE_PROTECTED_BIT";
|
|
|
|
case VK_IMAGE_CREATE_DISJOINT_BIT:
|
|
|
|
return "VK_IMAGE_CREATE_DISJOINT_BIT";
|
|
|
|
case VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT:
|
|
|
|
return "VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_IMAGE_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT:
|
|
|
|
return "VK_IMAGE_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT:
|
|
|
|
return "VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_IMAGE_CREATE_CORNER_SAMPLED_BIT_NV:
|
|
|
|
return "VK_IMAGE_CREATE_CORNER_SAMPLED_BIT_NV";
|
|
|
|
case VK_IMAGE_CREATE_SPARSE_BINDING_BIT:
|
|
|
|
return "VK_IMAGE_CREATE_SPARSE_BINDING_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkImageCreateFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkSampleCountFlagBits(VkSampleCountFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkSampleCountFlagBits)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_SAMPLE_COUNT_1_BIT:
|
|
|
|
return "VK_SAMPLE_COUNT_1_BIT";
|
|
|
|
case VK_SAMPLE_COUNT_4_BIT:
|
|
|
|
return "VK_SAMPLE_COUNT_4_BIT";
|
|
|
|
case VK_SAMPLE_COUNT_32_BIT:
|
|
|
|
return "VK_SAMPLE_COUNT_32_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_SAMPLE_COUNT_8_BIT:
|
|
|
|
return "VK_SAMPLE_COUNT_8_BIT";
|
|
|
|
case VK_SAMPLE_COUNT_16_BIT:
|
|
|
|
return "VK_SAMPLE_COUNT_16_BIT";
|
|
|
|
case VK_SAMPLE_COUNT_64_BIT:
|
|
|
|
return "VK_SAMPLE_COUNT_64_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_SAMPLE_COUNT_2_BIT:
|
|
|
|
return "VK_SAMPLE_COUNT_2_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkSampleCountFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkPhysicalDeviceType(VkPhysicalDeviceType input_value)
|
|
|
|
{
|
|
|
|
switch ((VkPhysicalDeviceType)input_value)
|
|
|
|
{
|
|
|
|
case VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU:
|
|
|
|
return "VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU";
|
|
|
|
case VK_PHYSICAL_DEVICE_TYPE_OTHER:
|
|
|
|
return "VK_PHYSICAL_DEVICE_TYPE_OTHER";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU:
|
|
|
|
return "VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU:
|
|
|
|
return "VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU";
|
|
|
|
case VK_PHYSICAL_DEVICE_TYPE_CPU:
|
|
|
|
return "VK_PHYSICAL_DEVICE_TYPE_CPU";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkPhysicalDeviceType";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkQueueFlagBits(VkQueueFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkQueueFlagBits)input_value)
|
|
|
|
{
|
|
|
|
case VK_QUEUE_COMPUTE_BIT:
|
|
|
|
return "VK_QUEUE_COMPUTE_BIT";
|
|
|
|
case VK_QUEUE_GRAPHICS_BIT:
|
|
|
|
return "VK_QUEUE_GRAPHICS_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_QUEUE_PROTECTED_BIT:
|
|
|
|
return "VK_QUEUE_PROTECTED_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_QUEUE_TRANSFER_BIT:
|
|
|
|
return "VK_QUEUE_TRANSFER_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_QUEUE_SPARSE_BINDING_BIT:
|
|
|
|
return "VK_QUEUE_SPARSE_BINDING_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkQueueFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkMemoryPropertyFlagBits(VkMemoryPropertyFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkMemoryPropertyFlagBits)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT:
|
|
|
|
return "VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_MEMORY_PROPERTY_PROTECTED_BIT:
|
|
|
|
return "VK_MEMORY_PROPERTY_PROTECTED_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT:
|
|
|
|
return "VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT";
|
|
|
|
case VK_MEMORY_PROPERTY_HOST_CACHED_BIT:
|
|
|
|
return "VK_MEMORY_PROPERTY_HOST_CACHED_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_MEMORY_PROPERTY_HOST_COHERENT_BIT:
|
|
|
|
return "VK_MEMORY_PROPERTY_HOST_COHERENT_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT:
|
|
|
|
return "VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkMemoryPropertyFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkMemoryHeapFlagBits(VkMemoryHeapFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkMemoryHeapFlagBits)input_value)
|
|
|
|
{
|
|
|
|
case VK_MEMORY_HEAP_MULTI_INSTANCE_BIT:
|
|
|
|
return "VK_MEMORY_HEAP_MULTI_INSTANCE_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_MEMORY_HEAP_DEVICE_LOCAL_BIT:
|
|
|
|
return "VK_MEMORY_HEAP_DEVICE_LOCAL_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkMemoryHeapFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkDeviceQueueCreateFlagBits(VkDeviceQueueCreateFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkDeviceQueueCreateFlagBits)input_value)
|
|
|
|
{
|
|
|
|
case VK_DEVICE_QUEUE_CREATE_PROTECTED_BIT:
|
|
|
|
return "VK_DEVICE_QUEUE_CREATE_PROTECTED_BIT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkDeviceQueueCreateFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkPipelineStageFlagBits(VkPipelineStageFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkPipelineStageFlagBits)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_PIPELINE_STAGE_COMMAND_PROCESS_BIT_NVX:
|
|
|
|
return "VK_PIPELINE_STAGE_COMMAND_PROCESS_BIT_NVX";
|
|
|
|
case VK_PIPELINE_STAGE_ACCELERATION_STRUCTURE_BUILD_BIT_NV:
|
|
|
|
return "VK_PIPELINE_STAGE_ACCELERATION_STRUCTURE_BUILD_BIT_NV";
|
|
|
|
case VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT:
|
|
|
|
return "VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT:
|
|
|
|
return "VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_PIPELINE_STAGE_TASK_SHADER_BIT_NV:
|
|
|
|
return "VK_PIPELINE_STAGE_TASK_SHADER_BIT_NV";
|
|
|
|
case VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT:
|
|
|
|
return "VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT";
|
|
|
|
case VK_PIPELINE_STAGE_ALL_COMMANDS_BIT:
|
|
|
|
return "VK_PIPELINE_STAGE_ALL_COMMANDS_BIT";
|
|
|
|
case VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT:
|
|
|
|
return "VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_PIPELINE_STAGE_VERTEX_INPUT_BIT:
|
|
|
|
return "VK_PIPELINE_STAGE_VERTEX_INPUT_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_PIPELINE_STAGE_SHADING_RATE_IMAGE_BIT_NV:
|
|
|
|
return "VK_PIPELINE_STAGE_SHADING_RATE_IMAGE_BIT_NV";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT:
|
|
|
|
return "VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_PIPELINE_STAGE_HOST_BIT:
|
|
|
|
return "VK_PIPELINE_STAGE_HOST_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT:
|
|
|
|
return "VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_PIPELINE_STAGE_CONDITIONAL_RENDERING_BIT_EXT:
|
|
|
|
return "VK_PIPELINE_STAGE_CONDITIONAL_RENDERING_BIT_EXT";
|
|
|
|
case VK_PIPELINE_STAGE_RAY_TRACING_SHADER_BIT_NV:
|
|
|
|
return "VK_PIPELINE_STAGE_RAY_TRACING_SHADER_BIT_NV";
|
|
|
|
case VK_PIPELINE_STAGE_MESH_SHADER_BIT_NV:
|
|
|
|
return "VK_PIPELINE_STAGE_MESH_SHADER_BIT_NV";
|
|
|
|
case VK_PIPELINE_STAGE_TRANSFER_BIT:
|
|
|
|
return "VK_PIPELINE_STAGE_TRANSFER_BIT";
|
|
|
|
case VK_PIPELINE_STAGE_FRAGMENT_DENSITY_PROCESS_BIT_EXT:
|
|
|
|
return "VK_PIPELINE_STAGE_FRAGMENT_DENSITY_PROCESS_BIT_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT:
|
|
|
|
return "VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_PIPELINE_STAGE_TRANSFORM_FEEDBACK_BIT_EXT:
|
|
|
|
return "VK_PIPELINE_STAGE_TRANSFORM_FEEDBACK_BIT_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT:
|
|
|
|
return "VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT:
|
|
|
|
return "VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT";
|
|
|
|
case VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT:
|
|
|
|
return "VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT";
|
|
|
|
case VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT:
|
|
|
|
return "VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT";
|
|
|
|
case VK_PIPELINE_STAGE_VERTEX_SHADER_BIT:
|
|
|
|
return "VK_PIPELINE_STAGE_VERTEX_SHADER_BIT";
|
|
|
|
case VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT:
|
|
|
|
return "VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkPipelineStageFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkImageAspectFlagBits(VkImageAspectFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkImageAspectFlagBits)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_IMAGE_ASPECT_PLANE_0_BIT:
|
|
|
|
return "VK_IMAGE_ASPECT_PLANE_0_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_IMAGE_ASPECT_PLANE_2_BIT:
|
|
|
|
return "VK_IMAGE_ASPECT_PLANE_2_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_IMAGE_ASPECT_MEMORY_PLANE_1_BIT_EXT:
|
|
|
|
return "VK_IMAGE_ASPECT_MEMORY_PLANE_1_BIT_EXT";
|
|
|
|
case VK_IMAGE_ASPECT_MEMORY_PLANE_0_BIT_EXT:
|
|
|
|
return "VK_IMAGE_ASPECT_MEMORY_PLANE_0_BIT_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_IMAGE_ASPECT_METADATA_BIT:
|
|
|
|
return "VK_IMAGE_ASPECT_METADATA_BIT";
|
|
|
|
case VK_IMAGE_ASPECT_COLOR_BIT:
|
|
|
|
return "VK_IMAGE_ASPECT_COLOR_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_IMAGE_ASPECT_PLANE_1_BIT:
|
|
|
|
return "VK_IMAGE_ASPECT_PLANE_1_BIT";
|
|
|
|
case VK_IMAGE_ASPECT_MEMORY_PLANE_2_BIT_EXT:
|
|
|
|
return "VK_IMAGE_ASPECT_MEMORY_PLANE_2_BIT_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_IMAGE_ASPECT_DEPTH_BIT:
|
|
|
|
return "VK_IMAGE_ASPECT_DEPTH_BIT";
|
|
|
|
case VK_IMAGE_ASPECT_STENCIL_BIT:
|
|
|
|
return "VK_IMAGE_ASPECT_STENCIL_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_IMAGE_ASPECT_MEMORY_PLANE_3_BIT_EXT:
|
|
|
|
return "VK_IMAGE_ASPECT_MEMORY_PLANE_3_BIT_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkImageAspectFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkSparseImageFormatFlagBits(VkSparseImageFormatFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkSparseImageFormatFlagBits)input_value)
|
|
|
|
{
|
|
|
|
case VK_SPARSE_IMAGE_FORMAT_ALIGNED_MIP_SIZE_BIT:
|
|
|
|
return "VK_SPARSE_IMAGE_FORMAT_ALIGNED_MIP_SIZE_BIT";
|
|
|
|
case VK_SPARSE_IMAGE_FORMAT_NONSTANDARD_BLOCK_SIZE_BIT:
|
|
|
|
return "VK_SPARSE_IMAGE_FORMAT_NONSTANDARD_BLOCK_SIZE_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT:
|
|
|
|
return "VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkSparseImageFormatFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkSparseMemoryBindFlagBits(VkSparseMemoryBindFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkSparseMemoryBindFlagBits)input_value)
|
|
|
|
{
|
|
|
|
case VK_SPARSE_MEMORY_BIND_METADATA_BIT:
|
|
|
|
return "VK_SPARSE_MEMORY_BIND_METADATA_BIT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkSparseMemoryBindFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkFenceCreateFlagBits(VkFenceCreateFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkFenceCreateFlagBits)input_value)
|
|
|
|
{
|
|
|
|
case VK_FENCE_CREATE_SIGNALED_BIT:
|
|
|
|
return "VK_FENCE_CREATE_SIGNALED_BIT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkFenceCreateFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkQueryType(VkQueryType input_value)
|
|
|
|
{
|
|
|
|
switch ((VkQueryType)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_QUERY_TYPE_ACCELERATION_STRUCTURE_COMPACTED_SIZE_NV:
|
|
|
|
return "VK_QUERY_TYPE_ACCELERATION_STRUCTURE_COMPACTED_SIZE_NV";
|
|
|
|
case VK_QUERY_TYPE_TRANSFORM_FEEDBACK_STREAM_EXT:
|
|
|
|
return "VK_QUERY_TYPE_TRANSFORM_FEEDBACK_STREAM_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_QUERY_TYPE_OCCLUSION:
|
|
|
|
return "VK_QUERY_TYPE_OCCLUSION";
|
|
|
|
case VK_QUERY_TYPE_PIPELINE_STATISTICS:
|
|
|
|
return "VK_QUERY_TYPE_PIPELINE_STATISTICS";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_QUERY_TYPE_TIMESTAMP:
|
|
|
|
return "VK_QUERY_TYPE_TIMESTAMP";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkQueryType";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkQueryPipelineStatisticFlagBits(VkQueryPipelineStatisticFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkQueryPipelineStatisticFlagBits)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT:
|
|
|
|
return "VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT";
|
|
|
|
case VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT:
|
|
|
|
return "VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT:
|
|
|
|
return "VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT:
|
|
|
|
return "VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT:
|
|
|
|
return "VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT";
|
|
|
|
case VK_QUERY_PIPELINE_STATISTIC_COMPUTE_SHADER_INVOCATIONS_BIT:
|
|
|
|
return "VK_QUERY_PIPELINE_STATISTIC_COMPUTE_SHADER_INVOCATIONS_BIT";
|
|
|
|
case VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT:
|
|
|
|
return "VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_QUERY_PIPELINE_STATISTIC_FRAGMENT_SHADER_INVOCATIONS_BIT:
|
|
|
|
return "VK_QUERY_PIPELINE_STATISTIC_FRAGMENT_SHADER_INVOCATIONS_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT:
|
|
|
|
return "VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT:
|
|
|
|
return "VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT";
|
|
|
|
case VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT:
|
|
|
|
return "VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkQueryPipelineStatisticFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkQueryResultFlagBits(VkQueryResultFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkQueryResultFlagBits)input_value)
|
|
|
|
{
|
|
|
|
case VK_QUERY_RESULT_64_BIT:
|
|
|
|
return "VK_QUERY_RESULT_64_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_QUERY_RESULT_WAIT_BIT:
|
|
|
|
return "VK_QUERY_RESULT_WAIT_BIT";
|
|
|
|
case VK_QUERY_RESULT_PARTIAL_BIT:
|
|
|
|
return "VK_QUERY_RESULT_PARTIAL_BIT";
|
|
|
|
case VK_QUERY_RESULT_WITH_AVAILABILITY_BIT:
|
|
|
|
return "VK_QUERY_RESULT_WITH_AVAILABILITY_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkQueryResultFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkBufferCreateFlagBits(VkBufferCreateFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkBufferCreateFlagBits)input_value)
|
|
|
|
{
|
|
|
|
case VK_BUFFER_CREATE_SPARSE_BINDING_BIT:
|
|
|
|
return "VK_BUFFER_CREATE_SPARSE_BINDING_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_BUFFER_CREATE_PROTECTED_BIT:
|
|
|
|
return "VK_BUFFER_CREATE_PROTECTED_BIT";
|
|
|
|
case VK_BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT_EXT:
|
|
|
|
return "VK_BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT:
|
|
|
|
return "VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_BUFFER_CREATE_SPARSE_ALIASED_BIT:
|
|
|
|
return "VK_BUFFER_CREATE_SPARSE_ALIASED_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkBufferCreateFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkBufferUsageFlagBits(VkBufferUsageFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkBufferUsageFlagBits)input_value)
|
|
|
|
{
|
|
|
|
case VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT:
|
|
|
|
return "VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_BUFFER_USAGE_VERTEX_BUFFER_BIT:
|
|
|
|
return "VK_BUFFER_USAGE_VERTEX_BUFFER_BIT";
|
|
|
|
case VK_BUFFER_USAGE_STORAGE_BUFFER_BIT:
|
|
|
|
return "VK_BUFFER_USAGE_STORAGE_BUFFER_BIT";
|
|
|
|
case VK_BUFFER_USAGE_TRANSFORM_FEEDBACK_BUFFER_BIT_EXT:
|
|
|
|
return "VK_BUFFER_USAGE_TRANSFORM_FEEDBACK_BUFFER_BIT_EXT";
|
|
|
|
case VK_BUFFER_USAGE_INDEX_BUFFER_BIT:
|
|
|
|
return "VK_BUFFER_USAGE_INDEX_BUFFER_BIT";
|
|
|
|
case VK_BUFFER_USAGE_RAY_TRACING_BIT_NV:
|
|
|
|
return "VK_BUFFER_USAGE_RAY_TRACING_BIT_NV";
|
|
|
|
case VK_BUFFER_USAGE_TRANSFORM_FEEDBACK_COUNTER_BUFFER_BIT_EXT:
|
|
|
|
return "VK_BUFFER_USAGE_TRANSFORM_FEEDBACK_COUNTER_BUFFER_BIT_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_BUFFER_USAGE_TRANSFER_SRC_BIT:
|
|
|
|
return "VK_BUFFER_USAGE_TRANSFER_SRC_BIT";
|
|
|
|
case VK_BUFFER_USAGE_TRANSFER_DST_BIT:
|
|
|
|
return "VK_BUFFER_USAGE_TRANSFER_DST_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT:
|
|
|
|
return "VK_BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT";
|
|
|
|
case VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT_EXT:
|
|
|
|
return "VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT_EXT";
|
|
|
|
case VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT:
|
|
|
|
return "VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT:
|
|
|
|
return "VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT:
|
|
|
|
return "VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkBufferUsageFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkSharingMode(VkSharingMode input_value)
|
|
|
|
{
|
|
|
|
switch ((VkSharingMode)input_value)
|
|
|
|
{
|
|
|
|
case VK_SHARING_MODE_EXCLUSIVE:
|
|
|
|
return "VK_SHARING_MODE_EXCLUSIVE";
|
|
|
|
case VK_SHARING_MODE_CONCURRENT:
|
|
|
|
return "VK_SHARING_MODE_CONCURRENT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkSharingMode";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkImageLayout(VkImageLayout input_value)
|
|
|
|
{
|
|
|
|
switch ((VkImageLayout)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR:
|
|
|
|
return "VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR";
|
|
|
|
case VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL:
|
|
|
|
return "VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL";
|
|
|
|
case VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL:
|
|
|
|
return "VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL";
|
|
|
|
case VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL:
|
|
|
|
return "VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL";
|
|
|
|
case VK_IMAGE_LAYOUT_FRAGMENT_DENSITY_MAP_OPTIMAL_EXT:
|
|
|
|
return "VK_IMAGE_LAYOUT_FRAGMENT_DENSITY_MAP_OPTIMAL_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_IMAGE_LAYOUT_GENERAL:
|
|
|
|
return "VK_IMAGE_LAYOUT_GENERAL";
|
|
|
|
case VK_IMAGE_LAYOUT_UNDEFINED:
|
|
|
|
return "VK_IMAGE_LAYOUT_UNDEFINED";
|
|
|
|
case VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL:
|
|
|
|
return "VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL";
|
|
|
|
case VK_IMAGE_LAYOUT_PREINITIALIZED:
|
|
|
|
return "VK_IMAGE_LAYOUT_PREINITIALIZED";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL:
|
|
|
|
return "VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL";
|
|
|
|
case VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL:
|
|
|
|
return "VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL";
|
|
|
|
case VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL:
|
|
|
|
return "VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL";
|
|
|
|
case VK_IMAGE_LAYOUT_SHADING_RATE_OPTIMAL_NV:
|
|
|
|
return "VK_IMAGE_LAYOUT_SHADING_RATE_OPTIMAL_NV";
|
|
|
|
case VK_IMAGE_LAYOUT_PRESENT_SRC_KHR:
|
|
|
|
return "VK_IMAGE_LAYOUT_PRESENT_SRC_KHR";
|
|
|
|
case VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL:
|
|
|
|
return "VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkImageLayout";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-10 15:46:59 +01:00
|
|
|
static inline const char* string_VkImageViewCreateFlagBits(VkImageViewCreateFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkImageViewCreateFlagBits)input_value)
|
|
|
|
{
|
|
|
|
case VK_IMAGE_VIEW_CREATE_FRAGMENT_DENSITY_MAP_DYNAMIC_BIT_EXT:
|
|
|
|
return "VK_IMAGE_VIEW_CREATE_FRAGMENT_DENSITY_MAP_DYNAMIC_BIT_EXT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkImageViewCreateFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-06 19:35:47 +02:00
|
|
|
static inline const char* string_VkImageViewType(VkImageViewType input_value)
|
|
|
|
{
|
|
|
|
switch ((VkImageViewType)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_IMAGE_VIEW_TYPE_1D_ARRAY:
|
|
|
|
return "VK_IMAGE_VIEW_TYPE_1D_ARRAY";
|
|
|
|
case VK_IMAGE_VIEW_TYPE_CUBE:
|
|
|
|
return "VK_IMAGE_VIEW_TYPE_CUBE";
|
|
|
|
case VK_IMAGE_VIEW_TYPE_CUBE_ARRAY:
|
|
|
|
return "VK_IMAGE_VIEW_TYPE_CUBE_ARRAY";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_IMAGE_VIEW_TYPE_3D:
|
|
|
|
return "VK_IMAGE_VIEW_TYPE_3D";
|
|
|
|
case VK_IMAGE_VIEW_TYPE_2D:
|
|
|
|
return "VK_IMAGE_VIEW_TYPE_2D";
|
|
|
|
case VK_IMAGE_VIEW_TYPE_1D:
|
|
|
|
return "VK_IMAGE_VIEW_TYPE_1D";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_IMAGE_VIEW_TYPE_2D_ARRAY:
|
|
|
|
return "VK_IMAGE_VIEW_TYPE_2D_ARRAY";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkImageViewType";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkComponentSwizzle(VkComponentSwizzle input_value)
|
|
|
|
{
|
|
|
|
switch ((VkComponentSwizzle)input_value)
|
|
|
|
{
|
|
|
|
case VK_COMPONENT_SWIZZLE_A:
|
|
|
|
return "VK_COMPONENT_SWIZZLE_A";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_COMPONENT_SWIZZLE_R:
|
|
|
|
return "VK_COMPONENT_SWIZZLE_R";
|
|
|
|
case VK_COMPONENT_SWIZZLE_IDENTITY:
|
|
|
|
return "VK_COMPONENT_SWIZZLE_IDENTITY";
|
|
|
|
case VK_COMPONENT_SWIZZLE_G:
|
|
|
|
return "VK_COMPONENT_SWIZZLE_G";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_COMPONENT_SWIZZLE_ZERO:
|
|
|
|
return "VK_COMPONENT_SWIZZLE_ZERO";
|
|
|
|
case VK_COMPONENT_SWIZZLE_ONE:
|
|
|
|
return "VK_COMPONENT_SWIZZLE_ONE";
|
|
|
|
case VK_COMPONENT_SWIZZLE_B:
|
|
|
|
return "VK_COMPONENT_SWIZZLE_B";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkComponentSwizzle";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkPipelineCreateFlagBits(VkPipelineCreateFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkPipelineCreateFlagBits)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_PIPELINE_CREATE_DEFER_COMPILE_BIT_NV:
|
|
|
|
return "VK_PIPELINE_CREATE_DEFER_COMPILE_BIT_NV";
|
|
|
|
case VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT:
|
|
|
|
return "VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_PIPELINE_CREATE_VIEW_INDEX_FROM_DEVICE_INDEX_BIT:
|
|
|
|
return "VK_PIPELINE_CREATE_VIEW_INDEX_FROM_DEVICE_INDEX_BIT";
|
|
|
|
case VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT:
|
|
|
|
return "VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_PIPELINE_CREATE_DISPATCH_BASE:
|
|
|
|
return "VK_PIPELINE_CREATE_DISPATCH_BASE";
|
|
|
|
case VK_PIPELINE_CREATE_DERIVATIVE_BIT:
|
|
|
|
return "VK_PIPELINE_CREATE_DERIVATIVE_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkPipelineCreateFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkShaderStageFlagBits(VkShaderStageFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkShaderStageFlagBits)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_SHADER_STAGE_CLOSEST_HIT_BIT_NV:
|
|
|
|
return "VK_SHADER_STAGE_CLOSEST_HIT_BIT_NV";
|
|
|
|
case VK_SHADER_STAGE_GEOMETRY_BIT:
|
|
|
|
return "VK_SHADER_STAGE_GEOMETRY_BIT";
|
|
|
|
case VK_SHADER_STAGE_CALLABLE_BIT_NV:
|
|
|
|
return "VK_SHADER_STAGE_CALLABLE_BIT_NV";
|
|
|
|
case VK_SHADER_STAGE_MESH_BIT_NV:
|
|
|
|
return "VK_SHADER_STAGE_MESH_BIT_NV";
|
|
|
|
case VK_SHADER_STAGE_COMPUTE_BIT:
|
|
|
|
return "VK_SHADER_STAGE_COMPUTE_BIT";
|
|
|
|
case VK_SHADER_STAGE_INTERSECTION_BIT_NV:
|
|
|
|
return "VK_SHADER_STAGE_INTERSECTION_BIT_NV";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_SHADER_STAGE_ALL:
|
|
|
|
return "VK_SHADER_STAGE_ALL";
|
|
|
|
case VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT:
|
|
|
|
return "VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT";
|
|
|
|
case VK_SHADER_STAGE_ALL_GRAPHICS:
|
|
|
|
return "VK_SHADER_STAGE_ALL_GRAPHICS";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_SHADER_STAGE_MISS_BIT_NV:
|
|
|
|
return "VK_SHADER_STAGE_MISS_BIT_NV";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT:
|
|
|
|
return "VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_SHADER_STAGE_FRAGMENT_BIT:
|
|
|
|
return "VK_SHADER_STAGE_FRAGMENT_BIT";
|
|
|
|
case VK_SHADER_STAGE_ANY_HIT_BIT_NV:
|
|
|
|
return "VK_SHADER_STAGE_ANY_HIT_BIT_NV";
|
|
|
|
case VK_SHADER_STAGE_TASK_BIT_NV:
|
|
|
|
return "VK_SHADER_STAGE_TASK_BIT_NV";
|
|
|
|
case VK_SHADER_STAGE_VERTEX_BIT:
|
|
|
|
return "VK_SHADER_STAGE_VERTEX_BIT";
|
|
|
|
case VK_SHADER_STAGE_RAYGEN_BIT_NV:
|
|
|
|
return "VK_SHADER_STAGE_RAYGEN_BIT_NV";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkShaderStageFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkVertexInputRate(VkVertexInputRate input_value)
|
|
|
|
{
|
|
|
|
switch ((VkVertexInputRate)input_value)
|
|
|
|
{
|
|
|
|
case VK_VERTEX_INPUT_RATE_INSTANCE:
|
|
|
|
return "VK_VERTEX_INPUT_RATE_INSTANCE";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_VERTEX_INPUT_RATE_VERTEX:
|
|
|
|
return "VK_VERTEX_INPUT_RATE_VERTEX";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkVertexInputRate";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkPrimitiveTopology(VkPrimitiveTopology input_value)
|
|
|
|
{
|
|
|
|
switch ((VkPrimitiveTopology)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_PRIMITIVE_TOPOLOGY_POINT_LIST:
|
|
|
|
return "VK_PRIMITIVE_TOPOLOGY_POINT_LIST";
|
|
|
|
case VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY:
|
|
|
|
return "VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY";
|
|
|
|
case VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY:
|
|
|
|
return "VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_PRIMITIVE_TOPOLOGY_LINE_STRIP:
|
|
|
|
return "VK_PRIMITIVE_TOPOLOGY_LINE_STRIP";
|
|
|
|
case VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY:
|
|
|
|
return "VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY";
|
|
|
|
case VK_PRIMITIVE_TOPOLOGY_PATCH_LIST:
|
|
|
|
return "VK_PRIMITIVE_TOPOLOGY_PATCH_LIST";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_PRIMITIVE_TOPOLOGY_LINE_LIST:
|
|
|
|
return "VK_PRIMITIVE_TOPOLOGY_LINE_LIST";
|
|
|
|
case VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST:
|
|
|
|
return "VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST";
|
|
|
|
case VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP:
|
|
|
|
return "VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY:
|
|
|
|
return "VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN:
|
|
|
|
return "VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkPrimitiveTopology";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkPolygonMode(VkPolygonMode input_value)
|
|
|
|
{
|
|
|
|
switch ((VkPolygonMode)input_value)
|
|
|
|
{
|
|
|
|
case VK_POLYGON_MODE_LINE:
|
|
|
|
return "VK_POLYGON_MODE_LINE";
|
|
|
|
case VK_POLYGON_MODE_POINT:
|
|
|
|
return "VK_POLYGON_MODE_POINT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_POLYGON_MODE_FILL:
|
|
|
|
return "VK_POLYGON_MODE_FILL";
|
|
|
|
case VK_POLYGON_MODE_FILL_RECTANGLE_NV:
|
|
|
|
return "VK_POLYGON_MODE_FILL_RECTANGLE_NV";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkPolygonMode";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkCullModeFlagBits(VkCullModeFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkCullModeFlagBits)input_value)
|
|
|
|
{
|
|
|
|
case VK_CULL_MODE_FRONT_BIT:
|
|
|
|
return "VK_CULL_MODE_FRONT_BIT";
|
|
|
|
case VK_CULL_MODE_FRONT_AND_BACK:
|
|
|
|
return "VK_CULL_MODE_FRONT_AND_BACK";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_CULL_MODE_NONE:
|
|
|
|
return "VK_CULL_MODE_NONE";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_CULL_MODE_BACK_BIT:
|
|
|
|
return "VK_CULL_MODE_BACK_BIT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkCullModeFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkFrontFace(VkFrontFace input_value)
|
|
|
|
{
|
|
|
|
switch ((VkFrontFace)input_value)
|
|
|
|
{
|
|
|
|
case VK_FRONT_FACE_CLOCKWISE:
|
|
|
|
return "VK_FRONT_FACE_CLOCKWISE";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_FRONT_FACE_COUNTER_CLOCKWISE:
|
|
|
|
return "VK_FRONT_FACE_COUNTER_CLOCKWISE";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkFrontFace";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkCompareOp(VkCompareOp input_value)
|
|
|
|
{
|
|
|
|
switch ((VkCompareOp)input_value)
|
|
|
|
{
|
|
|
|
case VK_COMPARE_OP_GREATER:
|
|
|
|
return "VK_COMPARE_OP_GREATER";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_COMPARE_OP_GREATER_OR_EQUAL:
|
|
|
|
return "VK_COMPARE_OP_GREATER_OR_EQUAL";
|
|
|
|
case VK_COMPARE_OP_NEVER:
|
|
|
|
return "VK_COMPARE_OP_NEVER";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_COMPARE_OP_NOT_EQUAL:
|
|
|
|
return "VK_COMPARE_OP_NOT_EQUAL";
|
|
|
|
case VK_COMPARE_OP_EQUAL:
|
|
|
|
return "VK_COMPARE_OP_EQUAL";
|
|
|
|
case VK_COMPARE_OP_LESS:
|
|
|
|
return "VK_COMPARE_OP_LESS";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_COMPARE_OP_LESS_OR_EQUAL:
|
|
|
|
return "VK_COMPARE_OP_LESS_OR_EQUAL";
|
|
|
|
case VK_COMPARE_OP_ALWAYS:
|
|
|
|
return "VK_COMPARE_OP_ALWAYS";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkCompareOp";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkStencilOp(VkStencilOp input_value)
|
|
|
|
{
|
|
|
|
switch ((VkStencilOp)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_STENCIL_OP_INCREMENT_AND_WRAP:
|
|
|
|
return "VK_STENCIL_OP_INCREMENT_AND_WRAP";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_STENCIL_OP_INVERT:
|
|
|
|
return "VK_STENCIL_OP_INVERT";
|
|
|
|
case VK_STENCIL_OP_REPLACE:
|
|
|
|
return "VK_STENCIL_OP_REPLACE";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_STENCIL_OP_DECREMENT_AND_CLAMP:
|
|
|
|
return "VK_STENCIL_OP_DECREMENT_AND_CLAMP";
|
|
|
|
case VK_STENCIL_OP_KEEP:
|
|
|
|
return "VK_STENCIL_OP_KEEP";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_STENCIL_OP_DECREMENT_AND_WRAP:
|
|
|
|
return "VK_STENCIL_OP_DECREMENT_AND_WRAP";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_STENCIL_OP_INCREMENT_AND_CLAMP:
|
|
|
|
return "VK_STENCIL_OP_INCREMENT_AND_CLAMP";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_STENCIL_OP_ZERO:
|
|
|
|
return "VK_STENCIL_OP_ZERO";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkStencilOp";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkLogicOp(VkLogicOp input_value)
|
|
|
|
{
|
|
|
|
switch ((VkLogicOp)input_value)
|
|
|
|
{
|
|
|
|
case VK_LOGIC_OP_SET:
|
|
|
|
return "VK_LOGIC_OP_SET";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_LOGIC_OP_EQUIVALENT:
|
|
|
|
return "VK_LOGIC_OP_EQUIVALENT";
|
|
|
|
case VK_LOGIC_OP_OR_INVERTED:
|
|
|
|
return "VK_LOGIC_OP_OR_INVERTED";
|
|
|
|
case VK_LOGIC_OP_INVERT:
|
|
|
|
return "VK_LOGIC_OP_INVERT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_LOGIC_OP_AND:
|
|
|
|
return "VK_LOGIC_OP_AND";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_LOGIC_OP_NAND:
|
|
|
|
return "VK_LOGIC_OP_NAND";
|
|
|
|
case VK_LOGIC_OP_AND_INVERTED:
|
|
|
|
return "VK_LOGIC_OP_AND_INVERTED";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_LOGIC_OP_OR:
|
|
|
|
return "VK_LOGIC_OP_OR";
|
|
|
|
case VK_LOGIC_OP_NO_OP:
|
|
|
|
return "VK_LOGIC_OP_NO_OP";
|
|
|
|
case VK_LOGIC_OP_AND_REVERSE:
|
|
|
|
return "VK_LOGIC_OP_AND_REVERSE";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_LOGIC_OP_OR_REVERSE:
|
|
|
|
return "VK_LOGIC_OP_OR_REVERSE";
|
|
|
|
case VK_LOGIC_OP_XOR:
|
|
|
|
return "VK_LOGIC_OP_XOR";
|
|
|
|
case VK_LOGIC_OP_COPY_INVERTED:
|
|
|
|
return "VK_LOGIC_OP_COPY_INVERTED";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_LOGIC_OP_COPY:
|
|
|
|
return "VK_LOGIC_OP_COPY";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_LOGIC_OP_CLEAR:
|
|
|
|
return "VK_LOGIC_OP_CLEAR";
|
|
|
|
case VK_LOGIC_OP_NOR:
|
|
|
|
return "VK_LOGIC_OP_NOR";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkLogicOp";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkBlendFactor(VkBlendFactor input_value)
|
|
|
|
{
|
|
|
|
switch ((VkBlendFactor)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_BLEND_FACTOR_DST_ALPHA:
|
|
|
|
return "VK_BLEND_FACTOR_DST_ALPHA";
|
|
|
|
case VK_BLEND_FACTOR_SRC_COLOR:
|
|
|
|
return "VK_BLEND_FACTOR_SRC_COLOR";
|
|
|
|
case VK_BLEND_FACTOR_SRC1_ALPHA:
|
|
|
|
return "VK_BLEND_FACTOR_SRC1_ALPHA";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_BLEND_FACTOR_ONE:
|
|
|
|
return "VK_BLEND_FACTOR_ONE";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA:
|
|
|
|
return "VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA";
|
|
|
|
case VK_BLEND_FACTOR_ZERO:
|
|
|
|
return "VK_BLEND_FACTOR_ZERO";
|
|
|
|
case VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA:
|
|
|
|
return "VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_BLEND_FACTOR_DST_COLOR:
|
|
|
|
return "VK_BLEND_FACTOR_DST_COLOR";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_BLEND_FACTOR_SRC1_COLOR:
|
|
|
|
return "VK_BLEND_FACTOR_SRC1_COLOR";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA:
|
|
|
|
return "VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR:
|
|
|
|
return "VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR";
|
|
|
|
case VK_BLEND_FACTOR_ONE_MINUS_DST_COLOR:
|
|
|
|
return "VK_BLEND_FACTOR_ONE_MINUS_DST_COLOR";
|
|
|
|
case VK_BLEND_FACTOR_CONSTANT_COLOR:
|
|
|
|
return "VK_BLEND_FACTOR_CONSTANT_COLOR";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_BLEND_FACTOR_ONE_MINUS_DST_ALPHA:
|
|
|
|
return "VK_BLEND_FACTOR_ONE_MINUS_DST_ALPHA";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_BLEND_FACTOR_ONE_MINUS_SRC_COLOR:
|
|
|
|
return "VK_BLEND_FACTOR_ONE_MINUS_SRC_COLOR";
|
|
|
|
case VK_BLEND_FACTOR_CONSTANT_ALPHA:
|
|
|
|
return "VK_BLEND_FACTOR_CONSTANT_ALPHA";
|
|
|
|
case VK_BLEND_FACTOR_SRC_ALPHA:
|
|
|
|
return "VK_BLEND_FACTOR_SRC_ALPHA";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR:
|
|
|
|
return "VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR";
|
|
|
|
case VK_BLEND_FACTOR_SRC_ALPHA_SATURATE:
|
|
|
|
return "VK_BLEND_FACTOR_SRC_ALPHA_SATURATE";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkBlendFactor";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkBlendOp(VkBlendOp input_value)
|
|
|
|
{
|
|
|
|
switch ((VkBlendOp)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_BLEND_OP_SOFTLIGHT_EXT:
|
|
|
|
return "VK_BLEND_OP_SOFTLIGHT_EXT";
|
|
|
|
case VK_BLEND_OP_MIN:
|
|
|
|
return "VK_BLEND_OP_MIN";
|
|
|
|
case VK_BLEND_OP_SRC_EXT:
|
|
|
|
return "VK_BLEND_OP_SRC_EXT";
|
|
|
|
case VK_BLEND_OP_SRC_OVER_EXT:
|
|
|
|
return "VK_BLEND_OP_SRC_OVER_EXT";
|
|
|
|
case VK_BLEND_OP_COLORDODGE_EXT:
|
|
|
|
return "VK_BLEND_OP_COLORDODGE_EXT";
|
|
|
|
case VK_BLEND_OP_DIFFERENCE_EXT:
|
|
|
|
return "VK_BLEND_OP_DIFFERENCE_EXT";
|
|
|
|
case VK_BLEND_OP_DARKEN_EXT:
|
|
|
|
return "VK_BLEND_OP_DARKEN_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_BLEND_OP_MINUS_EXT:
|
|
|
|
return "VK_BLEND_OP_MINUS_EXT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_BLEND_OP_MULTIPLY_EXT:
|
|
|
|
return "VK_BLEND_OP_MULTIPLY_EXT";
|
|
|
|
case VK_BLEND_OP_DST_OUT_EXT:
|
|
|
|
return "VK_BLEND_OP_DST_OUT_EXT";
|
|
|
|
case VK_BLEND_OP_COLORBURN_EXT:
|
|
|
|
return "VK_BLEND_OP_COLORBURN_EXT";
|
|
|
|
case VK_BLEND_OP_GREEN_EXT:
|
|
|
|
return "VK_BLEND_OP_GREEN_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_BLEND_OP_XOR_EXT:
|
|
|
|
return "VK_BLEND_OP_XOR_EXT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_BLEND_OP_BLUE_EXT:
|
|
|
|
return "VK_BLEND_OP_BLUE_EXT";
|
|
|
|
case VK_BLEND_OP_LINEARLIGHT_EXT:
|
|
|
|
return "VK_BLEND_OP_LINEARLIGHT_EXT";
|
|
|
|
case VK_BLEND_OP_HARDLIGHT_EXT:
|
|
|
|
return "VK_BLEND_OP_HARDLIGHT_EXT";
|
|
|
|
case VK_BLEND_OP_HSL_LUMINOSITY_EXT:
|
|
|
|
return "VK_BLEND_OP_HSL_LUMINOSITY_EXT";
|
|
|
|
case VK_BLEND_OP_HARDMIX_EXT:
|
|
|
|
return "VK_BLEND_OP_HARDMIX_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_BLEND_OP_PLUS_DARKER_EXT:
|
|
|
|
return "VK_BLEND_OP_PLUS_DARKER_EXT";
|
|
|
|
case VK_BLEND_OP_ADD:
|
|
|
|
return "VK_BLEND_OP_ADD";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_BLEND_OP_OVERLAY_EXT:
|
|
|
|
return "VK_BLEND_OP_OVERLAY_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_BLEND_OP_DST_ATOP_EXT:
|
|
|
|
return "VK_BLEND_OP_DST_ATOP_EXT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_BLEND_OP_HSL_HUE_EXT:
|
|
|
|
return "VK_BLEND_OP_HSL_HUE_EXT";
|
|
|
|
case VK_BLEND_OP_HSL_COLOR_EXT:
|
|
|
|
return "VK_BLEND_OP_HSL_COLOR_EXT";
|
|
|
|
case VK_BLEND_OP_VIVIDLIGHT_EXT:
|
|
|
|
return "VK_BLEND_OP_VIVIDLIGHT_EXT";
|
|
|
|
case VK_BLEND_OP_PLUS_EXT:
|
|
|
|
return "VK_BLEND_OP_PLUS_EXT";
|
|
|
|
case VK_BLEND_OP_SCREEN_EXT:
|
|
|
|
return "VK_BLEND_OP_SCREEN_EXT";
|
|
|
|
case VK_BLEND_OP_DST_IN_EXT:
|
|
|
|
return "VK_BLEND_OP_DST_IN_EXT";
|
|
|
|
case VK_BLEND_OP_LINEARDODGE_EXT:
|
|
|
|
return "VK_BLEND_OP_LINEARDODGE_EXT";
|
|
|
|
case VK_BLEND_OP_MINUS_CLAMPED_EXT:
|
|
|
|
return "VK_BLEND_OP_MINUS_CLAMPED_EXT";
|
|
|
|
case VK_BLEND_OP_ZERO_EXT:
|
|
|
|
return "VK_BLEND_OP_ZERO_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_BLEND_OP_SRC_OUT_EXT:
|
|
|
|
return "VK_BLEND_OP_SRC_OUT_EXT";
|
|
|
|
case VK_BLEND_OP_HSL_SATURATION_EXT:
|
|
|
|
return "VK_BLEND_OP_HSL_SATURATION_EXT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_BLEND_OP_PLUS_CLAMPED_EXT:
|
|
|
|
return "VK_BLEND_OP_PLUS_CLAMPED_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_BLEND_OP_PINLIGHT_EXT:
|
|
|
|
return "VK_BLEND_OP_PINLIGHT_EXT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_BLEND_OP_CONTRAST_EXT:
|
|
|
|
return "VK_BLEND_OP_CONTRAST_EXT";
|
|
|
|
case VK_BLEND_OP_SRC_ATOP_EXT:
|
|
|
|
return "VK_BLEND_OP_SRC_ATOP_EXT";
|
|
|
|
case VK_BLEND_OP_PLUS_CLAMPED_ALPHA_EXT:
|
|
|
|
return "VK_BLEND_OP_PLUS_CLAMPED_ALPHA_EXT";
|
|
|
|
case VK_BLEND_OP_INVERT_EXT:
|
|
|
|
return "VK_BLEND_OP_INVERT_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_BLEND_OP_DST_EXT:
|
|
|
|
return "VK_BLEND_OP_DST_EXT";
|
|
|
|
case VK_BLEND_OP_SUBTRACT:
|
|
|
|
return "VK_BLEND_OP_SUBTRACT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_BLEND_OP_LIGHTEN_EXT:
|
|
|
|
return "VK_BLEND_OP_LIGHTEN_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_BLEND_OP_LINEARBURN_EXT:
|
|
|
|
return "VK_BLEND_OP_LINEARBURN_EXT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_BLEND_OP_RED_EXT:
|
|
|
|
return "VK_BLEND_OP_RED_EXT";
|
|
|
|
case VK_BLEND_OP_EXCLUSION_EXT:
|
|
|
|
return "VK_BLEND_OP_EXCLUSION_EXT";
|
|
|
|
case VK_BLEND_OP_REVERSE_SUBTRACT:
|
|
|
|
return "VK_BLEND_OP_REVERSE_SUBTRACT";
|
|
|
|
case VK_BLEND_OP_INVERT_OVG_EXT:
|
|
|
|
return "VK_BLEND_OP_INVERT_OVG_EXT";
|
|
|
|
case VK_BLEND_OP_DST_OVER_EXT:
|
|
|
|
return "VK_BLEND_OP_DST_OVER_EXT";
|
|
|
|
case VK_BLEND_OP_INVERT_RGB_EXT:
|
|
|
|
return "VK_BLEND_OP_INVERT_RGB_EXT";
|
|
|
|
case VK_BLEND_OP_SRC_IN_EXT:
|
|
|
|
return "VK_BLEND_OP_SRC_IN_EXT";
|
|
|
|
case VK_BLEND_OP_MAX:
|
|
|
|
return "VK_BLEND_OP_MAX";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkBlendOp";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkColorComponentFlagBits(VkColorComponentFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkColorComponentFlagBits)input_value)
|
|
|
|
{
|
|
|
|
case VK_COLOR_COMPONENT_G_BIT:
|
|
|
|
return "VK_COLOR_COMPONENT_G_BIT";
|
|
|
|
case VK_COLOR_COMPONENT_R_BIT:
|
|
|
|
return "VK_COLOR_COMPONENT_R_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_COLOR_COMPONENT_A_BIT:
|
|
|
|
return "VK_COLOR_COMPONENT_A_BIT";
|
|
|
|
case VK_COLOR_COMPONENT_B_BIT:
|
|
|
|
return "VK_COLOR_COMPONENT_B_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkColorComponentFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkDynamicState(VkDynamicState input_value)
|
|
|
|
{
|
|
|
|
switch ((VkDynamicState)input_value)
|
|
|
|
{
|
|
|
|
case VK_DYNAMIC_STATE_STENCIL_WRITE_MASK:
|
|
|
|
return "VK_DYNAMIC_STATE_STENCIL_WRITE_MASK";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NV:
|
|
|
|
return "VK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NV";
|
|
|
|
case VK_DYNAMIC_STATE_DEPTH_BOUNDS:
|
|
|
|
return "VK_DYNAMIC_STATE_DEPTH_BOUNDS";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXT:
|
|
|
|
return "VK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NV:
|
|
|
|
return "VK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NV";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_DYNAMIC_STATE_BLEND_CONSTANTS:
|
|
|
|
return "VK_DYNAMIC_STATE_BLEND_CONSTANTS";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_DYNAMIC_STATE_STENCIL_REFERENCE:
|
|
|
|
return "VK_DYNAMIC_STATE_STENCIL_REFERENCE";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_DYNAMIC_STATE_VIEWPORT:
|
|
|
|
return "VK_DYNAMIC_STATE_VIEWPORT";
|
|
|
|
case VK_DYNAMIC_STATE_SCISSOR:
|
|
|
|
return "VK_DYNAMIC_STATE_SCISSOR";
|
|
|
|
case VK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT:
|
|
|
|
return "VK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NV:
|
|
|
|
return "VK_DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NV";
|
|
|
|
case VK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NV:
|
|
|
|
return "VK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NV";
|
|
|
|
case VK_DYNAMIC_STATE_LINE_WIDTH:
|
|
|
|
return "VK_DYNAMIC_STATE_LINE_WIDTH";
|
|
|
|
case VK_DYNAMIC_STATE_STENCIL_COMPARE_MASK:
|
|
|
|
return "VK_DYNAMIC_STATE_STENCIL_COMPARE_MASK";
|
|
|
|
case VK_DYNAMIC_STATE_DEPTH_BIAS:
|
|
|
|
return "VK_DYNAMIC_STATE_DEPTH_BIAS";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkDynamicState";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-10 15:46:59 +01:00
|
|
|
static inline const char* string_VkSamplerCreateFlagBits(VkSamplerCreateFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkSamplerCreateFlagBits)input_value)
|
|
|
|
{
|
|
|
|
case VK_SAMPLER_CREATE_SUBSAMPLED_COARSE_RECONSTRUCTION_BIT_EXT:
|
|
|
|
return "VK_SAMPLER_CREATE_SUBSAMPLED_COARSE_RECONSTRUCTION_BIT_EXT";
|
|
|
|
case VK_SAMPLER_CREATE_SUBSAMPLED_BIT_EXT:
|
|
|
|
return "VK_SAMPLER_CREATE_SUBSAMPLED_BIT_EXT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkSamplerCreateFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-06 19:35:47 +02:00
|
|
|
static inline const char* string_VkFilter(VkFilter input_value)
|
|
|
|
{
|
|
|
|
switch ((VkFilter)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_FILTER_NEAREST:
|
|
|
|
return "VK_FILTER_NEAREST";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_FILTER_CUBIC_IMG:
|
|
|
|
return "VK_FILTER_CUBIC_IMG";
|
|
|
|
case VK_FILTER_LINEAR:
|
|
|
|
return "VK_FILTER_LINEAR";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkFilter";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkSamplerMipmapMode(VkSamplerMipmapMode input_value)
|
|
|
|
{
|
|
|
|
switch ((VkSamplerMipmapMode)input_value)
|
|
|
|
{
|
|
|
|
case VK_SAMPLER_MIPMAP_MODE_LINEAR:
|
|
|
|
return "VK_SAMPLER_MIPMAP_MODE_LINEAR";
|
|
|
|
case VK_SAMPLER_MIPMAP_MODE_NEAREST:
|
|
|
|
return "VK_SAMPLER_MIPMAP_MODE_NEAREST";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkSamplerMipmapMode";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkSamplerAddressMode(VkSamplerAddressMode input_value)
|
|
|
|
{
|
|
|
|
switch ((VkSamplerAddressMode)input_value)
|
|
|
|
{
|
|
|
|
case VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE:
|
|
|
|
return "VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE:
|
|
|
|
return "VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER:
|
|
|
|
return "VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_SAMPLER_ADDRESS_MODE_MIRRORED_REPEAT:
|
|
|
|
return "VK_SAMPLER_ADDRESS_MODE_MIRRORED_REPEAT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_SAMPLER_ADDRESS_MODE_REPEAT:
|
|
|
|
return "VK_SAMPLER_ADDRESS_MODE_REPEAT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkSamplerAddressMode";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkBorderColor(VkBorderColor input_value)
|
|
|
|
{
|
|
|
|
switch ((VkBorderColor)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_BORDER_COLOR_INT_OPAQUE_WHITE:
|
|
|
|
return "VK_BORDER_COLOR_INT_OPAQUE_WHITE";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_BORDER_COLOR_INT_OPAQUE_BLACK:
|
|
|
|
return "VK_BORDER_COLOR_INT_OPAQUE_BLACK";
|
|
|
|
case VK_BORDER_COLOR_FLOAT_OPAQUE_BLACK:
|
|
|
|
return "VK_BORDER_COLOR_FLOAT_OPAQUE_BLACK";
|
|
|
|
case VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE:
|
|
|
|
return "VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE";
|
|
|
|
case VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK:
|
|
|
|
return "VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_BORDER_COLOR_INT_TRANSPARENT_BLACK:
|
|
|
|
return "VK_BORDER_COLOR_INT_TRANSPARENT_BLACK";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkBorderColor";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkDescriptorSetLayoutCreateFlagBits(VkDescriptorSetLayoutCreateFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkDescriptorSetLayoutCreateFlagBits)input_value)
|
|
|
|
{
|
|
|
|
case VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR:
|
|
|
|
return "VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT:
|
|
|
|
return "VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkDescriptorSetLayoutCreateFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkDescriptorType(VkDescriptorType input_value)
|
|
|
|
{
|
|
|
|
switch ((VkDescriptorType)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC:
|
|
|
|
return "VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER:
|
|
|
|
return "VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT:
|
|
|
|
return "VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_DESCRIPTOR_TYPE_STORAGE_IMAGE:
|
|
|
|
return "VK_DESCRIPTOR_TYPE_STORAGE_IMAGE";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_NV:
|
|
|
|
return "VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_NV";
|
|
|
|
case VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER:
|
|
|
|
return "VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER:
|
|
|
|
return "VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE:
|
|
|
|
return "VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC:
|
|
|
|
return "VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER:
|
|
|
|
return "VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER";
|
|
|
|
case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER:
|
|
|
|
return "VK_DESCRIPTOR_TYPE_STORAGE_BUFFER";
|
|
|
|
case VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT:
|
|
|
|
return "VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT";
|
|
|
|
case VK_DESCRIPTOR_TYPE_SAMPLER:
|
|
|
|
return "VK_DESCRIPTOR_TYPE_SAMPLER";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkDescriptorType";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkDescriptorPoolCreateFlagBits(VkDescriptorPoolCreateFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkDescriptorPoolCreateFlagBits)input_value)
|
|
|
|
{
|
|
|
|
case VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT:
|
|
|
|
return "VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT";
|
|
|
|
case VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT_EXT:
|
|
|
|
return "VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT_EXT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkDescriptorPoolCreateFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkAttachmentDescriptionFlagBits(VkAttachmentDescriptionFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkAttachmentDescriptionFlagBits)input_value)
|
|
|
|
{
|
|
|
|
case VK_ATTACHMENT_DESCRIPTION_MAY_ALIAS_BIT:
|
|
|
|
return "VK_ATTACHMENT_DESCRIPTION_MAY_ALIAS_BIT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkAttachmentDescriptionFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkAttachmentLoadOp(VkAttachmentLoadOp input_value)
|
|
|
|
{
|
|
|
|
switch ((VkAttachmentLoadOp)input_value)
|
|
|
|
{
|
|
|
|
case VK_ATTACHMENT_LOAD_OP_CLEAR:
|
|
|
|
return "VK_ATTACHMENT_LOAD_OP_CLEAR";
|
|
|
|
case VK_ATTACHMENT_LOAD_OP_DONT_CARE:
|
|
|
|
return "VK_ATTACHMENT_LOAD_OP_DONT_CARE";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_ATTACHMENT_LOAD_OP_LOAD:
|
|
|
|
return "VK_ATTACHMENT_LOAD_OP_LOAD";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkAttachmentLoadOp";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkAttachmentStoreOp(VkAttachmentStoreOp input_value)
|
|
|
|
{
|
|
|
|
switch ((VkAttachmentStoreOp)input_value)
|
|
|
|
{
|
|
|
|
case VK_ATTACHMENT_STORE_OP_DONT_CARE:
|
|
|
|
return "VK_ATTACHMENT_STORE_OP_DONT_CARE";
|
|
|
|
case VK_ATTACHMENT_STORE_OP_STORE:
|
|
|
|
return "VK_ATTACHMENT_STORE_OP_STORE";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkAttachmentStoreOp";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkSubpassDescriptionFlagBits(VkSubpassDescriptionFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkSubpassDescriptionFlagBits)input_value)
|
|
|
|
{
|
|
|
|
case VK_SUBPASS_DESCRIPTION_PER_VIEW_POSITION_X_ONLY_BIT_NVX:
|
|
|
|
return "VK_SUBPASS_DESCRIPTION_PER_VIEW_POSITION_X_ONLY_BIT_NVX";
|
|
|
|
case VK_SUBPASS_DESCRIPTION_PER_VIEW_ATTRIBUTES_BIT_NVX:
|
|
|
|
return "VK_SUBPASS_DESCRIPTION_PER_VIEW_ATTRIBUTES_BIT_NVX";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkSubpassDescriptionFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkPipelineBindPoint(VkPipelineBindPoint input_value)
|
|
|
|
{
|
|
|
|
switch ((VkPipelineBindPoint)input_value)
|
|
|
|
{
|
|
|
|
case VK_PIPELINE_BIND_POINT_COMPUTE:
|
|
|
|
return "VK_PIPELINE_BIND_POINT_COMPUTE";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_PIPELINE_BIND_POINT_GRAPHICS:
|
|
|
|
return "VK_PIPELINE_BIND_POINT_GRAPHICS";
|
|
|
|
case VK_PIPELINE_BIND_POINT_RAY_TRACING_NV:
|
|
|
|
return "VK_PIPELINE_BIND_POINT_RAY_TRACING_NV";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkPipelineBindPoint";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkAccessFlagBits(VkAccessFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkAccessFlagBits)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_ACCESS_UNIFORM_READ_BIT:
|
|
|
|
return "VK_ACCESS_UNIFORM_READ_BIT";
|
|
|
|
case VK_ACCESS_MEMORY_WRITE_BIT:
|
|
|
|
return "VK_ACCESS_MEMORY_WRITE_BIT";
|
|
|
|
case VK_ACCESS_INPUT_ATTACHMENT_READ_BIT:
|
|
|
|
return "VK_ACCESS_INPUT_ATTACHMENT_READ_BIT";
|
|
|
|
case VK_ACCESS_COMMAND_PROCESS_READ_BIT_NVX:
|
|
|
|
return "VK_ACCESS_COMMAND_PROCESS_READ_BIT_NVX";
|
|
|
|
case VK_ACCESS_ACCELERATION_STRUCTURE_WRITE_BIT_NV:
|
|
|
|
return "VK_ACCESS_ACCELERATION_STRUCTURE_WRITE_BIT_NV";
|
|
|
|
case VK_ACCESS_FRAGMENT_DENSITY_MAP_READ_BIT_EXT:
|
|
|
|
return "VK_ACCESS_FRAGMENT_DENSITY_MAP_READ_BIT_EXT";
|
|
|
|
case VK_ACCESS_INDIRECT_COMMAND_READ_BIT:
|
|
|
|
return "VK_ACCESS_INDIRECT_COMMAND_READ_BIT";
|
|
|
|
case VK_ACCESS_TRANSFORM_FEEDBACK_WRITE_BIT_EXT:
|
|
|
|
return "VK_ACCESS_TRANSFORM_FEEDBACK_WRITE_BIT_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_ACCESS_TRANSFER_READ_BIT:
|
|
|
|
return "VK_ACCESS_TRANSFER_READ_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT:
|
|
|
|
return "VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_ACCESS_TRANSFER_WRITE_BIT:
|
|
|
|
return "VK_ACCESS_TRANSFER_WRITE_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_ACCESS_SHADING_RATE_IMAGE_READ_BIT_NV:
|
|
|
|
return "VK_ACCESS_SHADING_RATE_IMAGE_READ_BIT_NV";
|
|
|
|
case VK_ACCESS_ACCELERATION_STRUCTURE_READ_BIT_NV:
|
|
|
|
return "VK_ACCESS_ACCELERATION_STRUCTURE_READ_BIT_NV";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_ACCESS_SHADER_WRITE_BIT:
|
|
|
|
return "VK_ACCESS_SHADER_WRITE_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_ACCESS_HOST_READ_BIT:
|
|
|
|
return "VK_ACCESS_HOST_READ_BIT";
|
|
|
|
case VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT:
|
|
|
|
return "VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_ACCESS_SHADER_READ_BIT:
|
|
|
|
return "VK_ACCESS_SHADER_READ_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_ACCESS_CONDITIONAL_RENDERING_READ_BIT_EXT:
|
|
|
|
return "VK_ACCESS_CONDITIONAL_RENDERING_READ_BIT_EXT";
|
|
|
|
case VK_ACCESS_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT:
|
|
|
|
return "VK_ACCESS_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_ACCESS_MEMORY_READ_BIT:
|
|
|
|
return "VK_ACCESS_MEMORY_READ_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_ACCESS_HOST_WRITE_BIT:
|
|
|
|
return "VK_ACCESS_HOST_WRITE_BIT";
|
|
|
|
case VK_ACCESS_COLOR_ATTACHMENT_READ_BIT:
|
|
|
|
return "VK_ACCESS_COLOR_ATTACHMENT_READ_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT:
|
|
|
|
return "VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_ACCESS_INDEX_READ_BIT:
|
|
|
|
return "VK_ACCESS_INDEX_READ_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_ACCESS_COMMAND_PROCESS_WRITE_BIT_NVX:
|
|
|
|
return "VK_ACCESS_COMMAND_PROCESS_WRITE_BIT_NVX";
|
|
|
|
case VK_ACCESS_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT:
|
|
|
|
return "VK_ACCESS_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_ACCESS_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT:
|
|
|
|
return "VK_ACCESS_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT:
|
|
|
|
return "VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkAccessFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkDependencyFlagBits(VkDependencyFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkDependencyFlagBits)input_value)
|
|
|
|
{
|
|
|
|
case VK_DEPENDENCY_VIEW_LOCAL_BIT:
|
|
|
|
return "VK_DEPENDENCY_VIEW_LOCAL_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_DEPENDENCY_BY_REGION_BIT:
|
|
|
|
return "VK_DEPENDENCY_BY_REGION_BIT";
|
|
|
|
case VK_DEPENDENCY_DEVICE_GROUP_BIT:
|
|
|
|
return "VK_DEPENDENCY_DEVICE_GROUP_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkDependencyFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkCommandPoolCreateFlagBits(VkCommandPoolCreateFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkCommandPoolCreateFlagBits)input_value)
|
|
|
|
{
|
|
|
|
case VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT:
|
|
|
|
return "VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT";
|
|
|
|
case VK_COMMAND_POOL_CREATE_TRANSIENT_BIT:
|
|
|
|
return "VK_COMMAND_POOL_CREATE_TRANSIENT_BIT";
|
|
|
|
case VK_COMMAND_POOL_CREATE_PROTECTED_BIT:
|
|
|
|
return "VK_COMMAND_POOL_CREATE_PROTECTED_BIT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkCommandPoolCreateFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkCommandPoolResetFlagBits(VkCommandPoolResetFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkCommandPoolResetFlagBits)input_value)
|
|
|
|
{
|
|
|
|
case VK_COMMAND_POOL_RESET_RELEASE_RESOURCES_BIT:
|
|
|
|
return "VK_COMMAND_POOL_RESET_RELEASE_RESOURCES_BIT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkCommandPoolResetFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkCommandBufferLevel(VkCommandBufferLevel input_value)
|
|
|
|
{
|
|
|
|
switch ((VkCommandBufferLevel)input_value)
|
|
|
|
{
|
|
|
|
case VK_COMMAND_BUFFER_LEVEL_PRIMARY:
|
|
|
|
return "VK_COMMAND_BUFFER_LEVEL_PRIMARY";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_COMMAND_BUFFER_LEVEL_SECONDARY:
|
|
|
|
return "VK_COMMAND_BUFFER_LEVEL_SECONDARY";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkCommandBufferLevel";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkCommandBufferUsageFlagBits(VkCommandBufferUsageFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkCommandBufferUsageFlagBits)input_value)
|
|
|
|
{
|
|
|
|
case VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT:
|
|
|
|
return "VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT:
|
|
|
|
return "VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT";
|
|
|
|
case VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT:
|
|
|
|
return "VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkCommandBufferUsageFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkQueryControlFlagBits(VkQueryControlFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkQueryControlFlagBits)input_value)
|
|
|
|
{
|
|
|
|
case VK_QUERY_CONTROL_PRECISE_BIT:
|
|
|
|
return "VK_QUERY_CONTROL_PRECISE_BIT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkQueryControlFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkCommandBufferResetFlagBits(VkCommandBufferResetFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkCommandBufferResetFlagBits)input_value)
|
|
|
|
{
|
|
|
|
case VK_COMMAND_BUFFER_RESET_RELEASE_RESOURCES_BIT:
|
|
|
|
return "VK_COMMAND_BUFFER_RESET_RELEASE_RESOURCES_BIT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkCommandBufferResetFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkStencilFaceFlagBits(VkStencilFaceFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkStencilFaceFlagBits)input_value)
|
|
|
|
{
|
|
|
|
case VK_STENCIL_FACE_FRONT_BIT:
|
|
|
|
return "VK_STENCIL_FACE_FRONT_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_STENCIL_FACE_BACK_BIT:
|
|
|
|
return "VK_STENCIL_FACE_BACK_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_STENCIL_FRONT_AND_BACK:
|
|
|
|
return "VK_STENCIL_FRONT_AND_BACK";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkStencilFaceFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkIndexType(VkIndexType input_value)
|
|
|
|
{
|
|
|
|
switch ((VkIndexType)input_value)
|
|
|
|
{
|
|
|
|
case VK_INDEX_TYPE_UINT32:
|
|
|
|
return "VK_INDEX_TYPE_UINT32";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_INDEX_TYPE_NONE_NV:
|
|
|
|
return "VK_INDEX_TYPE_NONE_NV";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_INDEX_TYPE_UINT16:
|
|
|
|
return "VK_INDEX_TYPE_UINT16";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkIndexType";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkSubpassContents(VkSubpassContents input_value)
|
|
|
|
{
|
|
|
|
switch ((VkSubpassContents)input_value)
|
|
|
|
{
|
|
|
|
case VK_SUBPASS_CONTENTS_INLINE:
|
|
|
|
return "VK_SUBPASS_CONTENTS_INLINE";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS:
|
|
|
|
return "VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkSubpassContents";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkObjectType(VkObjectType input_value)
|
|
|
|
{
|
|
|
|
switch ((VkObjectType)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_OBJECT_TYPE_BUFFER_VIEW:
|
|
|
|
return "VK_OBJECT_TYPE_BUFFER_VIEW";
|
|
|
|
case VK_OBJECT_TYPE_DEVICE:
|
|
|
|
return "VK_OBJECT_TYPE_DEVICE";
|
|
|
|
case VK_OBJECT_TYPE_VALIDATION_CACHE_EXT:
|
|
|
|
return "VK_OBJECT_TYPE_VALIDATION_CACHE_EXT";
|
|
|
|
case VK_OBJECT_TYPE_DEBUG_UTILS_MESSENGER_EXT:
|
|
|
|
return "VK_OBJECT_TYPE_DEBUG_UTILS_MESSENGER_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_OBJECT_TYPE_SHADER_MODULE:
|
|
|
|
return "VK_OBJECT_TYPE_SHADER_MODULE";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_OBJECT_TYPE_PIPELINE:
|
|
|
|
return "VK_OBJECT_TYPE_PIPELINE";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_OBJECT_TYPE_DESCRIPTOR_POOL:
|
|
|
|
return "VK_OBJECT_TYPE_DESCRIPTOR_POOL";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_OBJECT_TYPE_DISPLAY_KHR:
|
|
|
|
return "VK_OBJECT_TYPE_DISPLAY_KHR";
|
|
|
|
case VK_OBJECT_TYPE_SAMPLER:
|
|
|
|
return "VK_OBJECT_TYPE_SAMPLER";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_OBJECT_TYPE_INDIRECT_COMMANDS_LAYOUT_NVX:
|
|
|
|
return "VK_OBJECT_TYPE_INDIRECT_COMMANDS_LAYOUT_NVX";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT:
|
|
|
|
return "VK_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_OBJECT_TYPE_UNKNOWN:
|
|
|
|
return "VK_OBJECT_TYPE_UNKNOWN";
|
|
|
|
case VK_OBJECT_TYPE_SURFACE_KHR:
|
|
|
|
return "VK_OBJECT_TYPE_SURFACE_KHR";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_OBJECT_TYPE_SWAPCHAIN_KHR:
|
|
|
|
return "VK_OBJECT_TYPE_SWAPCHAIN_KHR";
|
|
|
|
case VK_OBJECT_TYPE_OBJECT_TABLE_NVX:
|
|
|
|
return "VK_OBJECT_TYPE_OBJECT_TABLE_NVX";
|
|
|
|
case VK_OBJECT_TYPE_DEVICE_MEMORY:
|
|
|
|
return "VK_OBJECT_TYPE_DEVICE_MEMORY";
|
|
|
|
case VK_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION:
|
|
|
|
return "VK_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION";
|
|
|
|
case VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE:
|
|
|
|
return "VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE";
|
|
|
|
case VK_OBJECT_TYPE_FENCE:
|
|
|
|
return "VK_OBJECT_TYPE_FENCE";
|
|
|
|
case VK_OBJECT_TYPE_FRAMEBUFFER:
|
|
|
|
return "VK_OBJECT_TYPE_FRAMEBUFFER";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_OBJECT_TYPE_COMMAND_POOL:
|
|
|
|
return "VK_OBJECT_TYPE_COMMAND_POOL";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_OBJECT_TYPE_SEMAPHORE:
|
|
|
|
return "VK_OBJECT_TYPE_SEMAPHORE";
|
|
|
|
case VK_OBJECT_TYPE_DISPLAY_MODE_KHR:
|
|
|
|
return "VK_OBJECT_TYPE_DISPLAY_MODE_KHR";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_OBJECT_TYPE_QUERY_POOL:
|
|
|
|
return "VK_OBJECT_TYPE_QUERY_POOL";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_OBJECT_TYPE_ACCELERATION_STRUCTURE_NV:
|
|
|
|
return "VK_OBJECT_TYPE_ACCELERATION_STRUCTURE_NV";
|
|
|
|
case VK_OBJECT_TYPE_IMAGE_VIEW:
|
|
|
|
return "VK_OBJECT_TYPE_IMAGE_VIEW";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_OBJECT_TYPE_QUEUE:
|
|
|
|
return "VK_OBJECT_TYPE_QUEUE";
|
|
|
|
case VK_OBJECT_TYPE_PIPELINE_LAYOUT:
|
|
|
|
return "VK_OBJECT_TYPE_PIPELINE_LAYOUT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_OBJECT_TYPE_BUFFER:
|
|
|
|
return "VK_OBJECT_TYPE_BUFFER";
|
|
|
|
case VK_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT:
|
|
|
|
return "VK_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT";
|
|
|
|
case VK_OBJECT_TYPE_RENDER_PASS:
|
|
|
|
return "VK_OBJECT_TYPE_RENDER_PASS";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_OBJECT_TYPE_PIPELINE_CACHE:
|
|
|
|
return "VK_OBJECT_TYPE_PIPELINE_CACHE";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_OBJECT_TYPE_IMAGE:
|
|
|
|
return "VK_OBJECT_TYPE_IMAGE";
|
|
|
|
case VK_OBJECT_TYPE_DESCRIPTOR_SET:
|
|
|
|
return "VK_OBJECT_TYPE_DESCRIPTOR_SET";
|
|
|
|
case VK_OBJECT_TYPE_PHYSICAL_DEVICE:
|
|
|
|
return "VK_OBJECT_TYPE_PHYSICAL_DEVICE";
|
|
|
|
case VK_OBJECT_TYPE_EVENT:
|
|
|
|
return "VK_OBJECT_TYPE_EVENT";
|
|
|
|
case VK_OBJECT_TYPE_COMMAND_BUFFER:
|
|
|
|
return "VK_OBJECT_TYPE_COMMAND_BUFFER";
|
|
|
|
case VK_OBJECT_TYPE_INSTANCE:
|
|
|
|
return "VK_OBJECT_TYPE_INSTANCE";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkObjectType";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-10 15:46:59 +01:00
|
|
|
static inline const char* string_VkVendorId(VkVendorId input_value)
|
|
|
|
{
|
|
|
|
switch ((VkVendorId)input_value)
|
|
|
|
{
|
|
|
|
case VK_VENDOR_ID_VIV:
|
|
|
|
return "VK_VENDOR_ID_VIV";
|
|
|
|
case VK_VENDOR_ID_KAZAN:
|
|
|
|
return "VK_VENDOR_ID_KAZAN";
|
|
|
|
case VK_VENDOR_ID_VSI:
|
|
|
|
return "VK_VENDOR_ID_VSI";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkVendorId";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-06 19:35:47 +02:00
|
|
|
static inline const char* string_VkSubgroupFeatureFlagBits(VkSubgroupFeatureFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkSubgroupFeatureFlagBits)input_value)
|
|
|
|
{
|
|
|
|
case VK_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT:
|
|
|
|
return "VK_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT";
|
|
|
|
case VK_SUBGROUP_FEATURE_CLUSTERED_BIT:
|
|
|
|
return "VK_SUBGROUP_FEATURE_CLUSTERED_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_SUBGROUP_FEATURE_SHUFFLE_BIT:
|
|
|
|
return "VK_SUBGROUP_FEATURE_SHUFFLE_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_SUBGROUP_FEATURE_BALLOT_BIT:
|
|
|
|
return "VK_SUBGROUP_FEATURE_BALLOT_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_SUBGROUP_FEATURE_PARTITIONED_BIT_NV:
|
|
|
|
return "VK_SUBGROUP_FEATURE_PARTITIONED_BIT_NV";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_SUBGROUP_FEATURE_VOTE_BIT:
|
|
|
|
return "VK_SUBGROUP_FEATURE_VOTE_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_SUBGROUP_FEATURE_QUAD_BIT:
|
|
|
|
return "VK_SUBGROUP_FEATURE_QUAD_BIT";
|
|
|
|
case VK_SUBGROUP_FEATURE_ARITHMETIC_BIT:
|
|
|
|
return "VK_SUBGROUP_FEATURE_ARITHMETIC_BIT";
|
|
|
|
case VK_SUBGROUP_FEATURE_BASIC_BIT:
|
|
|
|
return "VK_SUBGROUP_FEATURE_BASIC_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkSubgroupFeatureFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkPeerMemoryFeatureFlagBits(VkPeerMemoryFeatureFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkPeerMemoryFeatureFlagBits)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_PEER_MEMORY_FEATURE_COPY_SRC_BIT:
|
|
|
|
return "VK_PEER_MEMORY_FEATURE_COPY_SRC_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_PEER_MEMORY_FEATURE_GENERIC_DST_BIT:
|
|
|
|
return "VK_PEER_MEMORY_FEATURE_GENERIC_DST_BIT";
|
|
|
|
case VK_PEER_MEMORY_FEATURE_GENERIC_SRC_BIT:
|
|
|
|
return "VK_PEER_MEMORY_FEATURE_GENERIC_SRC_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_PEER_MEMORY_FEATURE_COPY_DST_BIT:
|
|
|
|
return "VK_PEER_MEMORY_FEATURE_COPY_DST_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkPeerMemoryFeatureFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkMemoryAllocateFlagBits(VkMemoryAllocateFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkMemoryAllocateFlagBits)input_value)
|
|
|
|
{
|
|
|
|
case VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT:
|
|
|
|
return "VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkMemoryAllocateFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkPointClippingBehavior(VkPointClippingBehavior input_value)
|
|
|
|
{
|
|
|
|
switch ((VkPointClippingBehavior)input_value)
|
|
|
|
{
|
|
|
|
case VK_POINT_CLIPPING_BEHAVIOR_USER_CLIP_PLANES_ONLY:
|
|
|
|
return "VK_POINT_CLIPPING_BEHAVIOR_USER_CLIP_PLANES_ONLY";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES:
|
|
|
|
return "VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkPointClippingBehavior";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkTessellationDomainOrigin(VkTessellationDomainOrigin input_value)
|
|
|
|
{
|
|
|
|
switch ((VkTessellationDomainOrigin)input_value)
|
|
|
|
{
|
|
|
|
case VK_TESSELLATION_DOMAIN_ORIGIN_LOWER_LEFT:
|
|
|
|
return "VK_TESSELLATION_DOMAIN_ORIGIN_LOWER_LEFT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_TESSELLATION_DOMAIN_ORIGIN_UPPER_LEFT:
|
|
|
|
return "VK_TESSELLATION_DOMAIN_ORIGIN_UPPER_LEFT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkTessellationDomainOrigin";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkSamplerYcbcrModelConversion(VkSamplerYcbcrModelConversion input_value)
|
|
|
|
{
|
|
|
|
switch ((VkSamplerYcbcrModelConversion)input_value)
|
|
|
|
{
|
|
|
|
case VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_IDENTITY:
|
|
|
|
return "VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_IDENTITY";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_601:
|
|
|
|
return "VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_601";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_709:
|
|
|
|
return "VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_709";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY:
|
|
|
|
return "VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY";
|
|
|
|
case VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_2020:
|
|
|
|
return "VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_2020";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkSamplerYcbcrModelConversion";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkSamplerYcbcrRange(VkSamplerYcbcrRange input_value)
|
|
|
|
{
|
|
|
|
switch ((VkSamplerYcbcrRange)input_value)
|
|
|
|
{
|
|
|
|
case VK_SAMPLER_YCBCR_RANGE_ITU_NARROW:
|
|
|
|
return "VK_SAMPLER_YCBCR_RANGE_ITU_NARROW";
|
|
|
|
case VK_SAMPLER_YCBCR_RANGE_ITU_FULL:
|
|
|
|
return "VK_SAMPLER_YCBCR_RANGE_ITU_FULL";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkSamplerYcbcrRange";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkChromaLocation(VkChromaLocation input_value)
|
|
|
|
{
|
|
|
|
switch ((VkChromaLocation)input_value)
|
|
|
|
{
|
|
|
|
case VK_CHROMA_LOCATION_MIDPOINT:
|
|
|
|
return "VK_CHROMA_LOCATION_MIDPOINT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_CHROMA_LOCATION_COSITED_EVEN:
|
|
|
|
return "VK_CHROMA_LOCATION_COSITED_EVEN";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkChromaLocation";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkDescriptorUpdateTemplateType(VkDescriptorUpdateTemplateType input_value)
|
|
|
|
{
|
|
|
|
switch ((VkDescriptorUpdateTemplateType)input_value)
|
|
|
|
{
|
|
|
|
case VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET:
|
|
|
|
return "VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET";
|
|
|
|
case VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR:
|
|
|
|
return "VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkDescriptorUpdateTemplateType";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkExternalMemoryHandleTypeFlagBits(VkExternalMemoryHandleTypeFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkExternalMemoryHandleTypeFlagBits)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT:
|
|
|
|
return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT:
|
|
|
|
return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT:
|
|
|
|
return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT";
|
|
|
|
case VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXT:
|
|
|
|
return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXT";
|
|
|
|
case VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID:
|
|
|
|
return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID";
|
|
|
|
case VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT:
|
|
|
|
return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT:
|
|
|
|
return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT";
|
|
|
|
case VK_EXTERNAL_MEMORY_HANDLE_TYPE_DMA_BUF_BIT_EXT:
|
|
|
|
return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_DMA_BUF_BIT_EXT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT:
|
|
|
|
return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT";
|
|
|
|
case VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT:
|
|
|
|
return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT";
|
|
|
|
case VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT:
|
|
|
|
return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkExternalMemoryHandleTypeFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkExternalMemoryFeatureFlagBits(VkExternalMemoryFeatureFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkExternalMemoryFeatureFlagBits)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT:
|
|
|
|
return "VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT:
|
|
|
|
return "VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT";
|
|
|
|
case VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT:
|
|
|
|
return "VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkExternalMemoryFeatureFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkExternalFenceHandleTypeFlagBits(VkExternalFenceHandleTypeFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkExternalFenceHandleTypeFlagBits)input_value)
|
|
|
|
{
|
|
|
|
case VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_FD_BIT:
|
|
|
|
return "VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_FD_BIT";
|
|
|
|
case VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT:
|
|
|
|
return "VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT";
|
|
|
|
case VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT:
|
|
|
|
return "VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_BIT:
|
|
|
|
return "VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkExternalFenceHandleTypeFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkExternalFenceFeatureFlagBits(VkExternalFenceFeatureFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkExternalFenceFeatureFlagBits)input_value)
|
|
|
|
{
|
|
|
|
case VK_EXTERNAL_FENCE_FEATURE_EXPORTABLE_BIT:
|
|
|
|
return "VK_EXTERNAL_FENCE_FEATURE_EXPORTABLE_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_EXTERNAL_FENCE_FEATURE_IMPORTABLE_BIT:
|
|
|
|
return "VK_EXTERNAL_FENCE_FEATURE_IMPORTABLE_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkExternalFenceFeatureFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkFenceImportFlagBits(VkFenceImportFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkFenceImportFlagBits)input_value)
|
|
|
|
{
|
|
|
|
case VK_FENCE_IMPORT_TEMPORARY_BIT:
|
|
|
|
return "VK_FENCE_IMPORT_TEMPORARY_BIT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkFenceImportFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkSemaphoreImportFlagBits(VkSemaphoreImportFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkSemaphoreImportFlagBits)input_value)
|
|
|
|
{
|
|
|
|
case VK_SEMAPHORE_IMPORT_TEMPORARY_BIT:
|
|
|
|
return "VK_SEMAPHORE_IMPORT_TEMPORARY_BIT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkSemaphoreImportFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkExternalSemaphoreHandleTypeFlagBits(VkExternalSemaphoreHandleTypeFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkExternalSemaphoreHandleTypeFlagBits)input_value)
|
|
|
|
{
|
|
|
|
case VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT:
|
|
|
|
return "VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT";
|
|
|
|
case VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT:
|
|
|
|
return "VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT:
|
|
|
|
return "VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT:
|
|
|
|
return "VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT";
|
|
|
|
case VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT:
|
|
|
|
return "VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkExternalSemaphoreHandleTypeFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkExternalSemaphoreFeatureFlagBits(VkExternalSemaphoreFeatureFlagBits input_value)
|
|
|
|
{
|
|
|
|
switch ((VkExternalSemaphoreFeatureFlagBits)input_value)
|
|
|
|
{
|
|
|
|
case VK_EXTERNAL_SEMAPHORE_FEATURE_IMPORTABLE_BIT:
|
|
|
|
return "VK_EXTERNAL_SEMAPHORE_FEATURE_IMPORTABLE_BIT";
|
|
|
|
case VK_EXTERNAL_SEMAPHORE_FEATURE_EXPORTABLE_BIT:
|
|
|
|
return "VK_EXTERNAL_SEMAPHORE_FEATURE_EXPORTABLE_BIT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkExternalSemaphoreFeatureFlagBits";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkSurfaceTransformFlagBitsKHR(VkSurfaceTransformFlagBitsKHR input_value)
|
|
|
|
{
|
|
|
|
switch ((VkSurfaceTransformFlagBitsKHR)input_value)
|
|
|
|
{
|
|
|
|
case VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_BIT_KHR:
|
|
|
|
return "VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_BIT_KHR";
|
|
|
|
case VK_SURFACE_TRANSFORM_ROTATE_180_BIT_KHR:
|
|
|
|
return "VK_SURFACE_TRANSFORM_ROTATE_180_BIT_KHR";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_SURFACE_TRANSFORM_ROTATE_270_BIT_KHR:
|
|
|
|
return "VK_SURFACE_TRANSFORM_ROTATE_270_BIT_KHR";
|
|
|
|
case VK_SURFACE_TRANSFORM_ROTATE_90_BIT_KHR:
|
|
|
|
return "VK_SURFACE_TRANSFORM_ROTATE_90_BIT_KHR";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_90_BIT_KHR:
|
|
|
|
return "VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_90_BIT_KHR";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_SURFACE_TRANSFORM_INHERIT_BIT_KHR:
|
|
|
|
return "VK_SURFACE_TRANSFORM_INHERIT_BIT_KHR";
|
|
|
|
case VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_270_BIT_KHR:
|
|
|
|
return "VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_270_BIT_KHR";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR:
|
|
|
|
return "VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR";
|
|
|
|
case VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_180_BIT_KHR:
|
|
|
|
return "VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_180_BIT_KHR";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkSurfaceTransformFlagBitsKHR";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkCompositeAlphaFlagBitsKHR(VkCompositeAlphaFlagBitsKHR input_value)
|
|
|
|
{
|
|
|
|
switch ((VkCompositeAlphaFlagBitsKHR)input_value)
|
|
|
|
{
|
|
|
|
case VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR:
|
|
|
|
return "VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR";
|
|
|
|
case VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR:
|
|
|
|
return "VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR";
|
|
|
|
case VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR:
|
|
|
|
return "VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_COMPOSITE_ALPHA_POST_MULTIPLIED_BIT_KHR:
|
|
|
|
return "VK_COMPOSITE_ALPHA_POST_MULTIPLIED_BIT_KHR";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkCompositeAlphaFlagBitsKHR";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkColorSpaceKHR(VkColorSpaceKHR input_value)
|
|
|
|
{
|
|
|
|
switch ((VkColorSpaceKHR)input_value)
|
|
|
|
{
|
|
|
|
case VK_COLOR_SPACE_HDR10_ST2084_EXT:
|
|
|
|
return "VK_COLOR_SPACE_HDR10_ST2084_EXT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_COLOR_SPACE_DOLBYVISION_EXT:
|
|
|
|
return "VK_COLOR_SPACE_DOLBYVISION_EXT";
|
|
|
|
case VK_COLOR_SPACE_SRGB_NONLINEAR_KHR:
|
|
|
|
return "VK_COLOR_SPACE_SRGB_NONLINEAR_KHR";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_COLOR_SPACE_DISPLAY_P3_NONLINEAR_EXT:
|
|
|
|
return "VK_COLOR_SPACE_DISPLAY_P3_NONLINEAR_EXT";
|
|
|
|
case VK_COLOR_SPACE_DCI_P3_LINEAR_EXT:
|
|
|
|
return "VK_COLOR_SPACE_DCI_P3_LINEAR_EXT";
|
|
|
|
case VK_COLOR_SPACE_BT709_NONLINEAR_EXT:
|
|
|
|
return "VK_COLOR_SPACE_BT709_NONLINEAR_EXT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_COLOR_SPACE_BT2020_LINEAR_EXT:
|
|
|
|
return "VK_COLOR_SPACE_BT2020_LINEAR_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_COLOR_SPACE_ADOBERGB_NONLINEAR_EXT:
|
|
|
|
return "VK_COLOR_SPACE_ADOBERGB_NONLINEAR_EXT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_COLOR_SPACE_HDR10_HLG_EXT:
|
|
|
|
return "VK_COLOR_SPACE_HDR10_HLG_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_COLOR_SPACE_EXTENDED_SRGB_NONLINEAR_EXT:
|
|
|
|
return "VK_COLOR_SPACE_EXTENDED_SRGB_NONLINEAR_EXT";
|
|
|
|
case VK_COLOR_SPACE_BT709_LINEAR_EXT:
|
|
|
|
return "VK_COLOR_SPACE_BT709_LINEAR_EXT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_COLOR_SPACE_PASS_THROUGH_EXT:
|
|
|
|
return "VK_COLOR_SPACE_PASS_THROUGH_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_COLOR_SPACE_ADOBERGB_LINEAR_EXT:
|
|
|
|
return "VK_COLOR_SPACE_ADOBERGB_LINEAR_EXT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_COLOR_SPACE_EXTENDED_SRGB_LINEAR_EXT:
|
|
|
|
return "VK_COLOR_SPACE_EXTENDED_SRGB_LINEAR_EXT";
|
|
|
|
case VK_COLOR_SPACE_DCI_P3_NONLINEAR_EXT:
|
|
|
|
return "VK_COLOR_SPACE_DCI_P3_NONLINEAR_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkColorSpaceKHR";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkPresentModeKHR(VkPresentModeKHR input_value)
|
|
|
|
{
|
|
|
|
switch ((VkPresentModeKHR)input_value)
|
|
|
|
{
|
|
|
|
case VK_PRESENT_MODE_IMMEDIATE_KHR:
|
|
|
|
return "VK_PRESENT_MODE_IMMEDIATE_KHR";
|
|
|
|
case VK_PRESENT_MODE_FIFO_RELAXED_KHR:
|
|
|
|
return "VK_PRESENT_MODE_FIFO_RELAXED_KHR";
|
|
|
|
case VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR:
|
|
|
|
return "VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR:
|
|
|
|
return "VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR";
|
|
|
|
case VK_PRESENT_MODE_MAILBOX_KHR:
|
|
|
|
return "VK_PRESENT_MODE_MAILBOX_KHR";
|
|
|
|
case VK_PRESENT_MODE_FIFO_KHR:
|
|
|
|
return "VK_PRESENT_MODE_FIFO_KHR";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkPresentModeKHR";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkSwapchainCreateFlagBitsKHR(VkSwapchainCreateFlagBitsKHR input_value)
|
|
|
|
{
|
|
|
|
switch ((VkSwapchainCreateFlagBitsKHR)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_SWAPCHAIN_CREATE_MUTABLE_FORMAT_BIT_KHR:
|
|
|
|
return "VK_SWAPCHAIN_CREATE_MUTABLE_FORMAT_BIT_KHR";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_SWAPCHAIN_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT_KHR:
|
|
|
|
return "VK_SWAPCHAIN_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT_KHR";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_SWAPCHAIN_CREATE_PROTECTED_BIT_KHR:
|
|
|
|
return "VK_SWAPCHAIN_CREATE_PROTECTED_BIT_KHR";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkSwapchainCreateFlagBitsKHR";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkDeviceGroupPresentModeFlagBitsKHR(VkDeviceGroupPresentModeFlagBitsKHR input_value)
|
|
|
|
{
|
|
|
|
switch ((VkDeviceGroupPresentModeFlagBitsKHR)input_value)
|
|
|
|
{
|
|
|
|
case VK_DEVICE_GROUP_PRESENT_MODE_SUM_BIT_KHR:
|
|
|
|
return "VK_DEVICE_GROUP_PRESENT_MODE_SUM_BIT_KHR";
|
|
|
|
case VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_MULTI_DEVICE_BIT_KHR:
|
|
|
|
return "VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_MULTI_DEVICE_BIT_KHR";
|
|
|
|
case VK_DEVICE_GROUP_PRESENT_MODE_REMOTE_BIT_KHR:
|
|
|
|
return "VK_DEVICE_GROUP_PRESENT_MODE_REMOTE_BIT_KHR";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_BIT_KHR:
|
|
|
|
return "VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_BIT_KHR";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkDeviceGroupPresentModeFlagBitsKHR";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkDisplayPlaneAlphaFlagBitsKHR(VkDisplayPlaneAlphaFlagBitsKHR input_value)
|
|
|
|
{
|
|
|
|
switch ((VkDisplayPlaneAlphaFlagBitsKHR)input_value)
|
|
|
|
{
|
|
|
|
case VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_PREMULTIPLIED_BIT_KHR:
|
|
|
|
return "VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_PREMULTIPLIED_BIT_KHR";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_BIT_KHR:
|
|
|
|
return "VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_BIT_KHR";
|
|
|
|
case VK_DISPLAY_PLANE_ALPHA_GLOBAL_BIT_KHR:
|
|
|
|
return "VK_DISPLAY_PLANE_ALPHA_GLOBAL_BIT_KHR";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_DISPLAY_PLANE_ALPHA_OPAQUE_BIT_KHR:
|
|
|
|
return "VK_DISPLAY_PLANE_ALPHA_OPAQUE_BIT_KHR";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkDisplayPlaneAlphaFlagBitsKHR";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkPeerMemoryFeatureFlagBitsKHR(VkPeerMemoryFeatureFlagBitsKHR input_value)
|
|
|
|
{
|
|
|
|
switch ((VkPeerMemoryFeatureFlagBitsKHR)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_PEER_MEMORY_FEATURE_COPY_SRC_BIT:
|
|
|
|
return "VK_PEER_MEMORY_FEATURE_COPY_SRC_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_PEER_MEMORY_FEATURE_GENERIC_DST_BIT:
|
|
|
|
return "VK_PEER_MEMORY_FEATURE_GENERIC_DST_BIT";
|
|
|
|
case VK_PEER_MEMORY_FEATURE_GENERIC_SRC_BIT:
|
|
|
|
return "VK_PEER_MEMORY_FEATURE_GENERIC_SRC_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_PEER_MEMORY_FEATURE_COPY_DST_BIT:
|
|
|
|
return "VK_PEER_MEMORY_FEATURE_COPY_DST_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkPeerMemoryFeatureFlagBitsKHR";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkMemoryAllocateFlagBitsKHR(VkMemoryAllocateFlagBitsKHR input_value)
|
|
|
|
{
|
|
|
|
switch ((VkMemoryAllocateFlagBitsKHR)input_value)
|
|
|
|
{
|
|
|
|
case VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT:
|
|
|
|
return "VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkMemoryAllocateFlagBitsKHR";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkExternalMemoryHandleTypeFlagBitsKHR(VkExternalMemoryHandleTypeFlagBitsKHR input_value)
|
|
|
|
{
|
|
|
|
switch ((VkExternalMemoryHandleTypeFlagBitsKHR)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT:
|
|
|
|
return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT:
|
|
|
|
return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT:
|
|
|
|
return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT";
|
|
|
|
case VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXT:
|
|
|
|
return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXT";
|
|
|
|
case VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID:
|
|
|
|
return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID";
|
|
|
|
case VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT:
|
|
|
|
return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT:
|
|
|
|
return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT";
|
|
|
|
case VK_EXTERNAL_MEMORY_HANDLE_TYPE_DMA_BUF_BIT_EXT:
|
|
|
|
return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_DMA_BUF_BIT_EXT";
|
|
|
|
case VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT:
|
|
|
|
return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT:
|
|
|
|
return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT";
|
|
|
|
case VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT:
|
|
|
|
return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkExternalMemoryHandleTypeFlagBitsKHR";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkExternalMemoryFeatureFlagBitsKHR(VkExternalMemoryFeatureFlagBitsKHR input_value)
|
|
|
|
{
|
|
|
|
switch ((VkExternalMemoryFeatureFlagBitsKHR)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT:
|
|
|
|
return "VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT:
|
|
|
|
return "VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT";
|
|
|
|
case VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT:
|
|
|
|
return "VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkExternalMemoryFeatureFlagBitsKHR";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkExternalSemaphoreHandleTypeFlagBitsKHR(VkExternalSemaphoreHandleTypeFlagBitsKHR input_value)
|
|
|
|
{
|
|
|
|
switch ((VkExternalSemaphoreHandleTypeFlagBitsKHR)input_value)
|
|
|
|
{
|
|
|
|
case VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT:
|
|
|
|
return "VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT";
|
|
|
|
case VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT:
|
|
|
|
return "VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT:
|
|
|
|
return "VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT:
|
|
|
|
return "VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT";
|
|
|
|
case VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT:
|
|
|
|
return "VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkExternalSemaphoreHandleTypeFlagBitsKHR";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkExternalSemaphoreFeatureFlagBitsKHR(VkExternalSemaphoreFeatureFlagBitsKHR input_value)
|
|
|
|
{
|
|
|
|
switch ((VkExternalSemaphoreFeatureFlagBitsKHR)input_value)
|
|
|
|
{
|
|
|
|
case VK_EXTERNAL_SEMAPHORE_FEATURE_IMPORTABLE_BIT:
|
|
|
|
return "VK_EXTERNAL_SEMAPHORE_FEATURE_IMPORTABLE_BIT";
|
|
|
|
case VK_EXTERNAL_SEMAPHORE_FEATURE_EXPORTABLE_BIT:
|
|
|
|
return "VK_EXTERNAL_SEMAPHORE_FEATURE_EXPORTABLE_BIT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkExternalSemaphoreFeatureFlagBitsKHR";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkSemaphoreImportFlagBitsKHR(VkSemaphoreImportFlagBitsKHR input_value)
|
|
|
|
{
|
|
|
|
switch ((VkSemaphoreImportFlagBitsKHR)input_value)
|
|
|
|
{
|
|
|
|
case VK_SEMAPHORE_IMPORT_TEMPORARY_BIT:
|
|
|
|
return "VK_SEMAPHORE_IMPORT_TEMPORARY_BIT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkSemaphoreImportFlagBitsKHR";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkDescriptorUpdateTemplateTypeKHR(VkDescriptorUpdateTemplateTypeKHR input_value)
|
|
|
|
{
|
|
|
|
switch ((VkDescriptorUpdateTemplateTypeKHR)input_value)
|
|
|
|
{
|
|
|
|
case VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET:
|
|
|
|
return "VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET";
|
|
|
|
case VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR:
|
|
|
|
return "VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkDescriptorUpdateTemplateTypeKHR";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkExternalFenceHandleTypeFlagBitsKHR(VkExternalFenceHandleTypeFlagBitsKHR input_value)
|
|
|
|
{
|
|
|
|
switch ((VkExternalFenceHandleTypeFlagBitsKHR)input_value)
|
|
|
|
{
|
|
|
|
case VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_FD_BIT:
|
|
|
|
return "VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_FD_BIT";
|
|
|
|
case VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT:
|
|
|
|
return "VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT";
|
|
|
|
case VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT:
|
|
|
|
return "VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_BIT:
|
|
|
|
return "VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkExternalFenceHandleTypeFlagBitsKHR";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkExternalFenceFeatureFlagBitsKHR(VkExternalFenceFeatureFlagBitsKHR input_value)
|
|
|
|
{
|
|
|
|
switch ((VkExternalFenceFeatureFlagBitsKHR)input_value)
|
|
|
|
{
|
|
|
|
case VK_EXTERNAL_FENCE_FEATURE_EXPORTABLE_BIT:
|
|
|
|
return "VK_EXTERNAL_FENCE_FEATURE_EXPORTABLE_BIT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_EXTERNAL_FENCE_FEATURE_IMPORTABLE_BIT:
|
|
|
|
return "VK_EXTERNAL_FENCE_FEATURE_IMPORTABLE_BIT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkExternalFenceFeatureFlagBitsKHR";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkFenceImportFlagBitsKHR(VkFenceImportFlagBitsKHR input_value)
|
|
|
|
{
|
|
|
|
switch ((VkFenceImportFlagBitsKHR)input_value)
|
|
|
|
{
|
|
|
|
case VK_FENCE_IMPORT_TEMPORARY_BIT:
|
|
|
|
return "VK_FENCE_IMPORT_TEMPORARY_BIT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkFenceImportFlagBitsKHR";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkPointClippingBehaviorKHR(VkPointClippingBehaviorKHR input_value)
|
|
|
|
{
|
|
|
|
switch ((VkPointClippingBehaviorKHR)input_value)
|
|
|
|
{
|
|
|
|
case VK_POINT_CLIPPING_BEHAVIOR_USER_CLIP_PLANES_ONLY:
|
|
|
|
return "VK_POINT_CLIPPING_BEHAVIOR_USER_CLIP_PLANES_ONLY";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES:
|
|
|
|
return "VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkPointClippingBehaviorKHR";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkTessellationDomainOriginKHR(VkTessellationDomainOriginKHR input_value)
|
|
|
|
{
|
|
|
|
switch ((VkTessellationDomainOriginKHR)input_value)
|
|
|
|
{
|
|
|
|
case VK_TESSELLATION_DOMAIN_ORIGIN_LOWER_LEFT:
|
|
|
|
return "VK_TESSELLATION_DOMAIN_ORIGIN_LOWER_LEFT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_TESSELLATION_DOMAIN_ORIGIN_UPPER_LEFT:
|
|
|
|
return "VK_TESSELLATION_DOMAIN_ORIGIN_UPPER_LEFT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkTessellationDomainOriginKHR";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkSamplerYcbcrModelConversionKHR(VkSamplerYcbcrModelConversionKHR input_value)
|
|
|
|
{
|
|
|
|
switch ((VkSamplerYcbcrModelConversionKHR)input_value)
|
|
|
|
{
|
|
|
|
case VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_IDENTITY:
|
|
|
|
return "VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_IDENTITY";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_601:
|
|
|
|
return "VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_601";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_709:
|
|
|
|
return "VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_709";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY:
|
|
|
|
return "VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY";
|
|
|
|
case VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_2020:
|
|
|
|
return "VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_2020";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkSamplerYcbcrModelConversionKHR";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkSamplerYcbcrRangeKHR(VkSamplerYcbcrRangeKHR input_value)
|
|
|
|
{
|
|
|
|
switch ((VkSamplerYcbcrRangeKHR)input_value)
|
|
|
|
{
|
|
|
|
case VK_SAMPLER_YCBCR_RANGE_ITU_NARROW:
|
|
|
|
return "VK_SAMPLER_YCBCR_RANGE_ITU_NARROW";
|
|
|
|
case VK_SAMPLER_YCBCR_RANGE_ITU_FULL:
|
|
|
|
return "VK_SAMPLER_YCBCR_RANGE_ITU_FULL";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkSamplerYcbcrRangeKHR";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkChromaLocationKHR(VkChromaLocationKHR input_value)
|
|
|
|
{
|
|
|
|
switch ((VkChromaLocationKHR)input_value)
|
|
|
|
{
|
|
|
|
case VK_CHROMA_LOCATION_MIDPOINT:
|
|
|
|
return "VK_CHROMA_LOCATION_MIDPOINT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_CHROMA_LOCATION_COSITED_EVEN:
|
|
|
|
return "VK_CHROMA_LOCATION_COSITED_EVEN";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkChromaLocationKHR";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-10 15:46:59 +01:00
|
|
|
static inline const char* string_VkDriverIdKHR(VkDriverIdKHR input_value)
|
|
|
|
{
|
|
|
|
switch ((VkDriverIdKHR)input_value)
|
|
|
|
{
|
|
|
|
case VK_DRIVER_ID_QUALCOMM_PROPRIETARY_KHR:
|
|
|
|
return "VK_DRIVER_ID_QUALCOMM_PROPRIETARY_KHR";
|
|
|
|
case VK_DRIVER_ID_AMD_OPEN_SOURCE_KHR:
|
|
|
|
return "VK_DRIVER_ID_AMD_OPEN_SOURCE_KHR";
|
|
|
|
case VK_DRIVER_ID_NVIDIA_PROPRIETARY_KHR:
|
|
|
|
return "VK_DRIVER_ID_NVIDIA_PROPRIETARY_KHR";
|
|
|
|
case VK_DRIVER_ID_GOOGLE_PASTEL_KHR:
|
|
|
|
return "VK_DRIVER_ID_GOOGLE_PASTEL_KHR";
|
|
|
|
case VK_DRIVER_ID_ARM_PROPRIETARY_KHR:
|
|
|
|
return "VK_DRIVER_ID_ARM_PROPRIETARY_KHR";
|
|
|
|
case VK_DRIVER_ID_MESA_RADV_KHR:
|
|
|
|
return "VK_DRIVER_ID_MESA_RADV_KHR";
|
|
|
|
case VK_DRIVER_ID_IMAGINATION_PROPRIETARY_KHR:
|
|
|
|
return "VK_DRIVER_ID_IMAGINATION_PROPRIETARY_KHR";
|
|
|
|
case VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS_KHR:
|
|
|
|
return "VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS_KHR";
|
|
|
|
case VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA_KHR:
|
|
|
|
return "VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA_KHR";
|
|
|
|
case VK_DRIVER_ID_AMD_PROPRIETARY_KHR:
|
|
|
|
return "VK_DRIVER_ID_AMD_PROPRIETARY_KHR";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkDriverIdKHR";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkResolveModeFlagBitsKHR(VkResolveModeFlagBitsKHR input_value)
|
|
|
|
{
|
|
|
|
switch ((VkResolveModeFlagBitsKHR)input_value)
|
|
|
|
{
|
|
|
|
case VK_RESOLVE_MODE_SAMPLE_ZERO_BIT_KHR:
|
|
|
|
return "VK_RESOLVE_MODE_SAMPLE_ZERO_BIT_KHR";
|
|
|
|
case VK_RESOLVE_MODE_MIN_BIT_KHR:
|
|
|
|
return "VK_RESOLVE_MODE_MIN_BIT_KHR";
|
|
|
|
case VK_RESOLVE_MODE_MAX_BIT_KHR:
|
|
|
|
return "VK_RESOLVE_MODE_MAX_BIT_KHR";
|
|
|
|
case VK_RESOLVE_MODE_NONE_KHR:
|
|
|
|
return "VK_RESOLVE_MODE_NONE_KHR";
|
|
|
|
case VK_RESOLVE_MODE_AVERAGE_BIT_KHR:
|
|
|
|
return "VK_RESOLVE_MODE_AVERAGE_BIT_KHR";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkResolveModeFlagBitsKHR";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-06 19:35:47 +02:00
|
|
|
static inline const char* string_VkDebugReportObjectTypeEXT(VkDebugReportObjectTypeEXT input_value)
|
|
|
|
{
|
|
|
|
switch ((VkDebugReportObjectTypeEXT)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_DEBUG_REPORT_OBJECT_TYPE_FRAMEBUFFER_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_OBJECT_TYPE_FRAMEBUFFER_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_CACHE_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_CACHE_EXT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_EXT";
|
|
|
|
case VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_VIEW_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_VIEW_EXT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_DEBUG_REPORT_OBJECT_TYPE_DISPLAY_KHR_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_OBJECT_TYPE_DISPLAY_KHR_EXT";
|
|
|
|
case VK_DEBUG_REPORT_OBJECT_TYPE_BUFFER_VIEW_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_OBJECT_TYPE_BUFFER_VIEW_EXT";
|
|
|
|
case VK_DEBUG_REPORT_OBJECT_TYPE_ACCELERATION_STRUCTURE_NV_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_OBJECT_TYPE_ACCELERATION_STRUCTURE_NV_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_DEBUG_REPORT_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_EXT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT";
|
|
|
|
case VK_DEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT_EXT";
|
|
|
|
case VK_DEBUG_REPORT_OBJECT_TYPE_FENCE_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_OBJECT_TYPE_FENCE_EXT";
|
|
|
|
case VK_DEBUG_REPORT_OBJECT_TYPE_QUERY_POOL_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_OBJECT_TYPE_QUERY_POOL_EXT";
|
|
|
|
case VK_DEBUG_REPORT_OBJECT_TYPE_QUEUE_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_OBJECT_TYPE_QUEUE_EXT";
|
|
|
|
case VK_DEBUG_REPORT_OBJECT_TYPE_OBJECT_TABLE_NVX_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_OBJECT_TYPE_OBJECT_TABLE_NVX_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_DEBUG_REPORT_OBJECT_TYPE_SHADER_MODULE_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_OBJECT_TYPE_SHADER_MODULE_EXT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_LAYOUT_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_LAYOUT_EXT";
|
|
|
|
case VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_MEMORY_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_MEMORY_EXT";
|
|
|
|
case VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_POOL_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_POOL_EXT";
|
|
|
|
case VK_DEBUG_REPORT_OBJECT_TYPE_INDIRECT_COMMANDS_LAYOUT_NVX_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_OBJECT_TYPE_INDIRECT_COMMANDS_LAYOUT_NVX_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_DEBUG_REPORT_OBJECT_TYPE_BUFFER_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_OBJECT_TYPE_BUFFER_EXT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_DEBUG_REPORT_OBJECT_TYPE_SURFACE_KHR_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_OBJECT_TYPE_SURFACE_KHR_EXT";
|
|
|
|
case VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_EXT";
|
|
|
|
case VK_DEBUG_REPORT_OBJECT_TYPE_INSTANCE_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_OBJECT_TYPE_INSTANCE_EXT";
|
|
|
|
case VK_DEBUG_REPORT_OBJECT_TYPE_COMMAND_POOL_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_OBJECT_TYPE_COMMAND_POOL_EXT";
|
|
|
|
case VK_DEBUG_REPORT_OBJECT_TYPE_SWAPCHAIN_KHR_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_OBJECT_TYPE_SWAPCHAIN_KHR_EXT";
|
|
|
|
case VK_DEBUG_REPORT_OBJECT_TYPE_RENDER_PASS_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_OBJECT_TYPE_RENDER_PASS_EXT";
|
|
|
|
case VK_DEBUG_REPORT_OBJECT_TYPE_EVENT_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_OBJECT_TYPE_EVENT_EXT";
|
|
|
|
case VK_DEBUG_REPORT_OBJECT_TYPE_DISPLAY_MODE_KHR_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_OBJECT_TYPE_DISPLAY_MODE_KHR_EXT";
|
|
|
|
case VK_DEBUG_REPORT_OBJECT_TYPE_SAMPLER_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_OBJECT_TYPE_SAMPLER_EXT";
|
|
|
|
case VK_DEBUG_REPORT_OBJECT_TYPE_PHYSICAL_DEVICE_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_OBJECT_TYPE_PHYSICAL_DEVICE_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_EXT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT_EXT";
|
|
|
|
case VK_DEBUG_REPORT_OBJECT_TYPE_COMMAND_BUFFER_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_OBJECT_TYPE_COMMAND_BUFFER_EXT";
|
|
|
|
case VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_EXT";
|
|
|
|
case VK_DEBUG_REPORT_OBJECT_TYPE_VALIDATION_CACHE_EXT_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_OBJECT_TYPE_VALIDATION_CACHE_EXT_EXT";
|
|
|
|
case VK_DEBUG_REPORT_OBJECT_TYPE_SEMAPHORE_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_OBJECT_TYPE_SEMAPHORE_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkDebugReportObjectTypeEXT";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkDebugReportFlagBitsEXT(VkDebugReportFlagBitsEXT input_value)
|
|
|
|
{
|
|
|
|
switch ((VkDebugReportFlagBitsEXT)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_DEBUG_REPORT_DEBUG_BIT_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_DEBUG_BIT_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_DEBUG_REPORT_INFORMATION_BIT_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_INFORMATION_BIT_EXT";
|
|
|
|
case VK_DEBUG_REPORT_PERFORMANCE_WARNING_BIT_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_PERFORMANCE_WARNING_BIT_EXT";
|
|
|
|
case VK_DEBUG_REPORT_WARNING_BIT_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_WARNING_BIT_EXT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_DEBUG_REPORT_ERROR_BIT_EXT:
|
|
|
|
return "VK_DEBUG_REPORT_ERROR_BIT_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkDebugReportFlagBitsEXT";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkRasterizationOrderAMD(VkRasterizationOrderAMD input_value)
|
|
|
|
{
|
|
|
|
switch ((VkRasterizationOrderAMD)input_value)
|
|
|
|
{
|
|
|
|
case VK_RASTERIZATION_ORDER_STRICT_AMD:
|
|
|
|
return "VK_RASTERIZATION_ORDER_STRICT_AMD";
|
|
|
|
case VK_RASTERIZATION_ORDER_RELAXED_AMD:
|
|
|
|
return "VK_RASTERIZATION_ORDER_RELAXED_AMD";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkRasterizationOrderAMD";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkShaderInfoTypeAMD(VkShaderInfoTypeAMD input_value)
|
|
|
|
{
|
|
|
|
switch ((VkShaderInfoTypeAMD)input_value)
|
|
|
|
{
|
|
|
|
case VK_SHADER_INFO_TYPE_BINARY_AMD:
|
|
|
|
return "VK_SHADER_INFO_TYPE_BINARY_AMD";
|
|
|
|
case VK_SHADER_INFO_TYPE_STATISTICS_AMD:
|
|
|
|
return "VK_SHADER_INFO_TYPE_STATISTICS_AMD";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_SHADER_INFO_TYPE_DISASSEMBLY_AMD:
|
|
|
|
return "VK_SHADER_INFO_TYPE_DISASSEMBLY_AMD";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkShaderInfoTypeAMD";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkExternalMemoryHandleTypeFlagBitsNV(VkExternalMemoryHandleTypeFlagBitsNV input_value)
|
|
|
|
{
|
|
|
|
switch ((VkExternalMemoryHandleTypeFlagBitsNV)input_value)
|
|
|
|
{
|
|
|
|
case VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT_NV:
|
|
|
|
return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT_NV";
|
|
|
|
case VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_KMT_BIT_NV:
|
|
|
|
return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_KMT_BIT_NV";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_NV:
|
|
|
|
return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_NV";
|
|
|
|
case VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_BIT_NV:
|
|
|
|
return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_BIT_NV";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkExternalMemoryHandleTypeFlagBitsNV";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkExternalMemoryFeatureFlagBitsNV(VkExternalMemoryFeatureFlagBitsNV input_value)
|
|
|
|
{
|
|
|
|
switch ((VkExternalMemoryFeatureFlagBitsNV)input_value)
|
|
|
|
{
|
|
|
|
case VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT_NV:
|
|
|
|
return "VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT_NV";
|
|
|
|
case VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT_NV:
|
|
|
|
return "VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT_NV";
|
|
|
|
case VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT_NV:
|
|
|
|
return "VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT_NV";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkExternalMemoryFeatureFlagBitsNV";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkValidationCheckEXT(VkValidationCheckEXT input_value)
|
|
|
|
{
|
|
|
|
switch ((VkValidationCheckEXT)input_value)
|
|
|
|
{
|
|
|
|
case VK_VALIDATION_CHECK_ALL_EXT:
|
|
|
|
return "VK_VALIDATION_CHECK_ALL_EXT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_VALIDATION_CHECK_SHADERS_EXT:
|
|
|
|
return "VK_VALIDATION_CHECK_SHADERS_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkValidationCheckEXT";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-10 15:46:59 +01:00
|
|
|
static inline const char* string_VkConditionalRenderingFlagBitsEXT(VkConditionalRenderingFlagBitsEXT input_value)
|
|
|
|
{
|
|
|
|
switch ((VkConditionalRenderingFlagBitsEXT)input_value)
|
|
|
|
{
|
|
|
|
case VK_CONDITIONAL_RENDERING_INVERTED_BIT_EXT:
|
|
|
|
return "VK_CONDITIONAL_RENDERING_INVERTED_BIT_EXT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkConditionalRenderingFlagBitsEXT";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-06 19:35:47 +02:00
|
|
|
static inline const char* string_VkIndirectCommandsLayoutUsageFlagBitsNVX(VkIndirectCommandsLayoutUsageFlagBitsNVX input_value)
|
|
|
|
{
|
|
|
|
switch ((VkIndirectCommandsLayoutUsageFlagBitsNVX)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_INDIRECT_COMMANDS_LAYOUT_USAGE_EMPTY_EXECUTIONS_BIT_NVX:
|
|
|
|
return "VK_INDIRECT_COMMANDS_LAYOUT_USAGE_EMPTY_EXECUTIONS_BIT_NVX";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_INDIRECT_COMMANDS_LAYOUT_USAGE_SPARSE_SEQUENCES_BIT_NVX:
|
|
|
|
return "VK_INDIRECT_COMMANDS_LAYOUT_USAGE_SPARSE_SEQUENCES_BIT_NVX";
|
|
|
|
case VK_INDIRECT_COMMANDS_LAYOUT_USAGE_UNORDERED_SEQUENCES_BIT_NVX:
|
|
|
|
return "VK_INDIRECT_COMMANDS_LAYOUT_USAGE_UNORDERED_SEQUENCES_BIT_NVX";
|
|
|
|
case VK_INDIRECT_COMMANDS_LAYOUT_USAGE_INDEXED_SEQUENCES_BIT_NVX:
|
|
|
|
return "VK_INDIRECT_COMMANDS_LAYOUT_USAGE_INDEXED_SEQUENCES_BIT_NVX";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkIndirectCommandsLayoutUsageFlagBitsNVX";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkObjectEntryUsageFlagBitsNVX(VkObjectEntryUsageFlagBitsNVX input_value)
|
|
|
|
{
|
|
|
|
switch ((VkObjectEntryUsageFlagBitsNVX)input_value)
|
|
|
|
{
|
|
|
|
case VK_OBJECT_ENTRY_USAGE_COMPUTE_BIT_NVX:
|
|
|
|
return "VK_OBJECT_ENTRY_USAGE_COMPUTE_BIT_NVX";
|
|
|
|
case VK_OBJECT_ENTRY_USAGE_GRAPHICS_BIT_NVX:
|
|
|
|
return "VK_OBJECT_ENTRY_USAGE_GRAPHICS_BIT_NVX";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkObjectEntryUsageFlagBitsNVX";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkIndirectCommandsTokenTypeNVX(VkIndirectCommandsTokenTypeNVX input_value)
|
|
|
|
{
|
|
|
|
switch ((VkIndirectCommandsTokenTypeNVX)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_INDIRECT_COMMANDS_TOKEN_TYPE_DESCRIPTOR_SET_NVX:
|
|
|
|
return "VK_INDIRECT_COMMANDS_TOKEN_TYPE_DESCRIPTOR_SET_NVX";
|
|
|
|
case VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_NVX:
|
|
|
|
return "VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_NVX";
|
|
|
|
case VK_INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_CONSTANT_NVX:
|
|
|
|
return "VK_INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_CONSTANT_NVX";
|
|
|
|
case VK_INDIRECT_COMMANDS_TOKEN_TYPE_PIPELINE_NVX:
|
|
|
|
return "VK_INDIRECT_COMMANDS_TOKEN_TYPE_PIPELINE_NVX";
|
|
|
|
case VK_INDIRECT_COMMANDS_TOKEN_TYPE_DISPATCH_NVX:
|
|
|
|
return "VK_INDIRECT_COMMANDS_TOKEN_TYPE_DISPATCH_NVX";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_INDIRECT_COMMANDS_TOKEN_TYPE_VERTEX_BUFFER_NVX:
|
|
|
|
return "VK_INDIRECT_COMMANDS_TOKEN_TYPE_VERTEX_BUFFER_NVX";
|
|
|
|
case VK_INDIRECT_COMMANDS_TOKEN_TYPE_INDEX_BUFFER_NVX:
|
|
|
|
return "VK_INDIRECT_COMMANDS_TOKEN_TYPE_INDEX_BUFFER_NVX";
|
|
|
|
case VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_INDEXED_NVX:
|
|
|
|
return "VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_INDEXED_NVX";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkIndirectCommandsTokenTypeNVX";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkObjectEntryTypeNVX(VkObjectEntryTypeNVX input_value)
|
|
|
|
{
|
|
|
|
switch ((VkObjectEntryTypeNVX)input_value)
|
|
|
|
{
|
|
|
|
case VK_OBJECT_ENTRY_TYPE_INDEX_BUFFER_NVX:
|
|
|
|
return "VK_OBJECT_ENTRY_TYPE_INDEX_BUFFER_NVX";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_OBJECT_ENTRY_TYPE_VERTEX_BUFFER_NVX:
|
|
|
|
return "VK_OBJECT_ENTRY_TYPE_VERTEX_BUFFER_NVX";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_OBJECT_ENTRY_TYPE_DESCRIPTOR_SET_NVX:
|
|
|
|
return "VK_OBJECT_ENTRY_TYPE_DESCRIPTOR_SET_NVX";
|
|
|
|
case VK_OBJECT_ENTRY_TYPE_PIPELINE_NVX:
|
|
|
|
return "VK_OBJECT_ENTRY_TYPE_PIPELINE_NVX";
|
|
|
|
case VK_OBJECT_ENTRY_TYPE_PUSH_CONSTANT_NVX:
|
|
|
|
return "VK_OBJECT_ENTRY_TYPE_PUSH_CONSTANT_NVX";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkObjectEntryTypeNVX";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkSurfaceCounterFlagBitsEXT(VkSurfaceCounterFlagBitsEXT input_value)
|
|
|
|
{
|
|
|
|
switch ((VkSurfaceCounterFlagBitsEXT)input_value)
|
|
|
|
{
|
|
|
|
case VK_SURFACE_COUNTER_VBLANK_EXT:
|
|
|
|
return "VK_SURFACE_COUNTER_VBLANK_EXT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkSurfaceCounterFlagBitsEXT";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkDisplayPowerStateEXT(VkDisplayPowerStateEXT input_value)
|
|
|
|
{
|
|
|
|
switch ((VkDisplayPowerStateEXT)input_value)
|
|
|
|
{
|
|
|
|
case VK_DISPLAY_POWER_STATE_SUSPEND_EXT:
|
|
|
|
return "VK_DISPLAY_POWER_STATE_SUSPEND_EXT";
|
|
|
|
case VK_DISPLAY_POWER_STATE_ON_EXT:
|
|
|
|
return "VK_DISPLAY_POWER_STATE_ON_EXT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_DISPLAY_POWER_STATE_OFF_EXT:
|
|
|
|
return "VK_DISPLAY_POWER_STATE_OFF_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkDisplayPowerStateEXT";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkDeviceEventTypeEXT(VkDeviceEventTypeEXT input_value)
|
|
|
|
{
|
|
|
|
switch ((VkDeviceEventTypeEXT)input_value)
|
|
|
|
{
|
|
|
|
case VK_DEVICE_EVENT_TYPE_DISPLAY_HOTPLUG_EXT:
|
|
|
|
return "VK_DEVICE_EVENT_TYPE_DISPLAY_HOTPLUG_EXT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkDeviceEventTypeEXT";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkDisplayEventTypeEXT(VkDisplayEventTypeEXT input_value)
|
|
|
|
{
|
|
|
|
switch ((VkDisplayEventTypeEXT)input_value)
|
|
|
|
{
|
|
|
|
case VK_DISPLAY_EVENT_TYPE_FIRST_PIXEL_OUT_EXT:
|
|
|
|
return "VK_DISPLAY_EVENT_TYPE_FIRST_PIXEL_OUT_EXT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkDisplayEventTypeEXT";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkViewportCoordinateSwizzleNV(VkViewportCoordinateSwizzleNV input_value)
|
|
|
|
{
|
|
|
|
switch ((VkViewportCoordinateSwizzleNV)input_value)
|
|
|
|
{
|
|
|
|
case VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_X_NV:
|
|
|
|
return "VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_X_NV";
|
|
|
|
case VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_W_NV:
|
|
|
|
return "VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_W_NV";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_Z_NV:
|
|
|
|
return "VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_Z_NV";
|
|
|
|
case VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_W_NV:
|
|
|
|
return "VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_W_NV";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_Y_NV:
|
|
|
|
return "VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_Y_NV";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_X_NV:
|
|
|
|
return "VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_X_NV";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_Z_NV:
|
|
|
|
return "VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_Z_NV";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_Y_NV:
|
|
|
|
return "VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_Y_NV";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkViewportCoordinateSwizzleNV";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkDiscardRectangleModeEXT(VkDiscardRectangleModeEXT input_value)
|
|
|
|
{
|
|
|
|
switch ((VkDiscardRectangleModeEXT)input_value)
|
|
|
|
{
|
|
|
|
case VK_DISCARD_RECTANGLE_MODE_INCLUSIVE_EXT:
|
|
|
|
return "VK_DISCARD_RECTANGLE_MODE_INCLUSIVE_EXT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_DISCARD_RECTANGLE_MODE_EXCLUSIVE_EXT:
|
|
|
|
return "VK_DISCARD_RECTANGLE_MODE_EXCLUSIVE_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkDiscardRectangleModeEXT";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkConservativeRasterizationModeEXT(VkConservativeRasterizationModeEXT input_value)
|
|
|
|
{
|
|
|
|
switch ((VkConservativeRasterizationModeEXT)input_value)
|
|
|
|
{
|
|
|
|
case VK_CONSERVATIVE_RASTERIZATION_MODE_UNDERESTIMATE_EXT:
|
|
|
|
return "VK_CONSERVATIVE_RASTERIZATION_MODE_UNDERESTIMATE_EXT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT:
|
|
|
|
return "VK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT";
|
|
|
|
case VK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT:
|
|
|
|
return "VK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkConservativeRasterizationModeEXT";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkDebugUtilsMessageSeverityFlagBitsEXT(VkDebugUtilsMessageSeverityFlagBitsEXT input_value)
|
|
|
|
{
|
|
|
|
switch ((VkDebugUtilsMessageSeverityFlagBitsEXT)input_value)
|
|
|
|
{
|
|
|
|
case VK_DEBUG_UTILS_MESSAGE_SEVERITY_WARNING_BIT_EXT:
|
|
|
|
return "VK_DEBUG_UTILS_MESSAGE_SEVERITY_WARNING_BIT_EXT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_DEBUG_UTILS_MESSAGE_SEVERITY_INFO_BIT_EXT:
|
|
|
|
return "VK_DEBUG_UTILS_MESSAGE_SEVERITY_INFO_BIT_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT:
|
|
|
|
return "VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT";
|
|
|
|
case VK_DEBUG_UTILS_MESSAGE_SEVERITY_VERBOSE_BIT_EXT:
|
|
|
|
return "VK_DEBUG_UTILS_MESSAGE_SEVERITY_VERBOSE_BIT_EXT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkDebugUtilsMessageSeverityFlagBitsEXT";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkDebugUtilsMessageTypeFlagBitsEXT(VkDebugUtilsMessageTypeFlagBitsEXT input_value)
|
|
|
|
{
|
|
|
|
switch ((VkDebugUtilsMessageTypeFlagBitsEXT)input_value)
|
|
|
|
{
|
|
|
|
case VK_DEBUG_UTILS_MESSAGE_TYPE_PERFORMANCE_BIT_EXT:
|
|
|
|
return "VK_DEBUG_UTILS_MESSAGE_TYPE_PERFORMANCE_BIT_EXT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_DEBUG_UTILS_MESSAGE_TYPE_VALIDATION_BIT_EXT:
|
|
|
|
return "VK_DEBUG_UTILS_MESSAGE_TYPE_VALIDATION_BIT_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_DEBUG_UTILS_MESSAGE_TYPE_GENERAL_BIT_EXT:
|
|
|
|
return "VK_DEBUG_UTILS_MESSAGE_TYPE_GENERAL_BIT_EXT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkDebugUtilsMessageTypeFlagBitsEXT";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkSamplerReductionModeEXT(VkSamplerReductionModeEXT input_value)
|
|
|
|
{
|
|
|
|
switch ((VkSamplerReductionModeEXT)input_value)
|
|
|
|
{
|
|
|
|
case VK_SAMPLER_REDUCTION_MODE_MAX_EXT:
|
|
|
|
return "VK_SAMPLER_REDUCTION_MODE_MAX_EXT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_SAMPLER_REDUCTION_MODE_MIN_EXT:
|
|
|
|
return "VK_SAMPLER_REDUCTION_MODE_MIN_EXT";
|
|
|
|
case VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_EXT:
|
|
|
|
return "VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
default:
|
|
|
|
return "Unhandled VkSamplerReductionModeEXT";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkBlendOverlapEXT(VkBlendOverlapEXT input_value)
|
|
|
|
{
|
|
|
|
switch ((VkBlendOverlapEXT)input_value)
|
|
|
|
{
|
|
|
|
case VK_BLEND_OVERLAP_CONJOINT_EXT:
|
|
|
|
return "VK_BLEND_OVERLAP_CONJOINT_EXT";
|
|
|
|
case VK_BLEND_OVERLAP_DISJOINT_EXT:
|
|
|
|
return "VK_BLEND_OVERLAP_DISJOINT_EXT";
|
|
|
|
case VK_BLEND_OVERLAP_UNCORRELATED_EXT:
|
|
|
|
return "VK_BLEND_OVERLAP_UNCORRELATED_EXT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkBlendOverlapEXT";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkCoverageModulationModeNV(VkCoverageModulationModeNV input_value)
|
|
|
|
{
|
|
|
|
switch ((VkCoverageModulationModeNV)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_COVERAGE_MODULATION_MODE_NONE_NV:
|
|
|
|
return "VK_COVERAGE_MODULATION_MODE_NONE_NV";
|
|
|
|
case VK_COVERAGE_MODULATION_MODE_RGBA_NV:
|
|
|
|
return "VK_COVERAGE_MODULATION_MODE_RGBA_NV";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_COVERAGE_MODULATION_MODE_RGB_NV:
|
|
|
|
return "VK_COVERAGE_MODULATION_MODE_RGB_NV";
|
|
|
|
case VK_COVERAGE_MODULATION_MODE_ALPHA_NV:
|
|
|
|
return "VK_COVERAGE_MODULATION_MODE_ALPHA_NV";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkCoverageModulationModeNV";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkValidationCacheHeaderVersionEXT(VkValidationCacheHeaderVersionEXT input_value)
|
|
|
|
{
|
|
|
|
switch ((VkValidationCacheHeaderVersionEXT)input_value)
|
|
|
|
{
|
|
|
|
case VK_VALIDATION_CACHE_HEADER_VERSION_ONE_EXT:
|
|
|
|
return "VK_VALIDATION_CACHE_HEADER_VERSION_ONE_EXT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkValidationCacheHeaderVersionEXT";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkDescriptorBindingFlagBitsEXT(VkDescriptorBindingFlagBitsEXT input_value)
|
|
|
|
{
|
|
|
|
switch ((VkDescriptorBindingFlagBitsEXT)input_value)
|
|
|
|
{
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT:
|
|
|
|
return "VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT";
|
|
|
|
case VK_DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT_EXT:
|
|
|
|
return "VK_DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_DESCRIPTOR_BINDING_PARTIALLY_BOUND_BIT_EXT:
|
|
|
|
return "VK_DESCRIPTOR_BINDING_PARTIALLY_BOUND_BIT_EXT";
|
|
|
|
case VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT_EXT:
|
|
|
|
return "VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT_EXT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkDescriptorBindingFlagBitsEXT";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-10 15:46:59 +01:00
|
|
|
static inline const char* string_VkShadingRatePaletteEntryNV(VkShadingRatePaletteEntryNV input_value)
|
|
|
|
{
|
|
|
|
switch ((VkShadingRatePaletteEntryNV)input_value)
|
|
|
|
{
|
|
|
|
case VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_1X2_PIXELS_NV:
|
|
|
|
return "VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_1X2_PIXELS_NV";
|
|
|
|
case VK_SHADING_RATE_PALETTE_ENTRY_2_INVOCATIONS_PER_PIXEL_NV:
|
|
|
|
return "VK_SHADING_RATE_PALETTE_ENTRY_2_INVOCATIONS_PER_PIXEL_NV";
|
|
|
|
case VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X4_PIXELS_NV:
|
|
|
|
return "VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X4_PIXELS_NV";
|
|
|
|
case VK_SHADING_RATE_PALETTE_ENTRY_NO_INVOCATIONS_NV:
|
|
|
|
return "VK_SHADING_RATE_PALETTE_ENTRY_NO_INVOCATIONS_NV";
|
|
|
|
case VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_4X4_PIXELS_NV:
|
|
|
|
return "VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_4X4_PIXELS_NV";
|
|
|
|
case VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X2_PIXELS_NV:
|
|
|
|
return "VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X2_PIXELS_NV";
|
|
|
|
case VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X1_PIXELS_NV:
|
|
|
|
return "VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X1_PIXELS_NV";
|
|
|
|
case VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_4X2_PIXELS_NV:
|
|
|
|
return "VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_4X2_PIXELS_NV";
|
|
|
|
case VK_SHADING_RATE_PALETTE_ENTRY_16_INVOCATIONS_PER_PIXEL_NV:
|
|
|
|
return "VK_SHADING_RATE_PALETTE_ENTRY_16_INVOCATIONS_PER_PIXEL_NV";
|
|
|
|
case VK_SHADING_RATE_PALETTE_ENTRY_8_INVOCATIONS_PER_PIXEL_NV:
|
|
|
|
return "VK_SHADING_RATE_PALETTE_ENTRY_8_INVOCATIONS_PER_PIXEL_NV";
|
|
|
|
case VK_SHADING_RATE_PALETTE_ENTRY_4_INVOCATIONS_PER_PIXEL_NV:
|
|
|
|
return "VK_SHADING_RATE_PALETTE_ENTRY_4_INVOCATIONS_PER_PIXEL_NV";
|
|
|
|
case VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_PIXEL_NV:
|
|
|
|
return "VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_PIXEL_NV";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkShadingRatePaletteEntryNV";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkCoarseSampleOrderTypeNV(VkCoarseSampleOrderTypeNV input_value)
|
|
|
|
{
|
|
|
|
switch ((VkCoarseSampleOrderTypeNV)input_value)
|
|
|
|
{
|
|
|
|
case VK_COARSE_SAMPLE_ORDER_TYPE_CUSTOM_NV:
|
|
|
|
return "VK_COARSE_SAMPLE_ORDER_TYPE_CUSTOM_NV";
|
|
|
|
case VK_COARSE_SAMPLE_ORDER_TYPE_PIXEL_MAJOR_NV:
|
|
|
|
return "VK_COARSE_SAMPLE_ORDER_TYPE_PIXEL_MAJOR_NV";
|
|
|
|
case VK_COARSE_SAMPLE_ORDER_TYPE_DEFAULT_NV:
|
|
|
|
return "VK_COARSE_SAMPLE_ORDER_TYPE_DEFAULT_NV";
|
|
|
|
case VK_COARSE_SAMPLE_ORDER_TYPE_SAMPLE_MAJOR_NV:
|
|
|
|
return "VK_COARSE_SAMPLE_ORDER_TYPE_SAMPLE_MAJOR_NV";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkCoarseSampleOrderTypeNV";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkRayTracingShaderGroupTypeNV(VkRayTracingShaderGroupTypeNV input_value)
|
|
|
|
{
|
|
|
|
switch ((VkRayTracingShaderGroupTypeNV)input_value)
|
|
|
|
{
|
|
|
|
case VK_RAY_TRACING_SHADER_GROUP_TYPE_GENERAL_NV:
|
|
|
|
return "VK_RAY_TRACING_SHADER_GROUP_TYPE_GENERAL_NV";
|
|
|
|
case VK_RAY_TRACING_SHADER_GROUP_TYPE_TRIANGLES_HIT_GROUP_NV:
|
|
|
|
return "VK_RAY_TRACING_SHADER_GROUP_TYPE_TRIANGLES_HIT_GROUP_NV";
|
|
|
|
case VK_RAY_TRACING_SHADER_GROUP_TYPE_PROCEDURAL_HIT_GROUP_NV:
|
|
|
|
return "VK_RAY_TRACING_SHADER_GROUP_TYPE_PROCEDURAL_HIT_GROUP_NV";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkRayTracingShaderGroupTypeNV";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkGeometryTypeNV(VkGeometryTypeNV input_value)
|
|
|
|
{
|
|
|
|
switch ((VkGeometryTypeNV)input_value)
|
|
|
|
{
|
|
|
|
case VK_GEOMETRY_TYPE_TRIANGLES_NV:
|
|
|
|
return "VK_GEOMETRY_TYPE_TRIANGLES_NV";
|
|
|
|
case VK_GEOMETRY_TYPE_AABBS_NV:
|
|
|
|
return "VK_GEOMETRY_TYPE_AABBS_NV";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkGeometryTypeNV";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkGeometryFlagBitsNV(VkGeometryFlagBitsNV input_value)
|
|
|
|
{
|
|
|
|
switch ((VkGeometryFlagBitsNV)input_value)
|
|
|
|
{
|
|
|
|
case VK_GEOMETRY_OPAQUE_BIT_NV:
|
|
|
|
return "VK_GEOMETRY_OPAQUE_BIT_NV";
|
|
|
|
case VK_GEOMETRY_NO_DUPLICATE_ANY_HIT_INVOCATION_BIT_NV:
|
|
|
|
return "VK_GEOMETRY_NO_DUPLICATE_ANY_HIT_INVOCATION_BIT_NV";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkGeometryFlagBitsNV";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkGeometryInstanceFlagBitsNV(VkGeometryInstanceFlagBitsNV input_value)
|
|
|
|
{
|
|
|
|
switch ((VkGeometryInstanceFlagBitsNV)input_value)
|
|
|
|
{
|
|
|
|
case VK_GEOMETRY_INSTANCE_TRIANGLE_FRONT_COUNTERCLOCKWISE_BIT_NV:
|
|
|
|
return "VK_GEOMETRY_INSTANCE_TRIANGLE_FRONT_COUNTERCLOCKWISE_BIT_NV";
|
|
|
|
case VK_GEOMETRY_INSTANCE_TRIANGLE_CULL_DISABLE_BIT_NV:
|
|
|
|
return "VK_GEOMETRY_INSTANCE_TRIANGLE_CULL_DISABLE_BIT_NV";
|
|
|
|
case VK_GEOMETRY_INSTANCE_FORCE_OPAQUE_BIT_NV:
|
|
|
|
return "VK_GEOMETRY_INSTANCE_FORCE_OPAQUE_BIT_NV";
|
|
|
|
case VK_GEOMETRY_INSTANCE_FORCE_NO_OPAQUE_BIT_NV:
|
|
|
|
return "VK_GEOMETRY_INSTANCE_FORCE_NO_OPAQUE_BIT_NV";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkGeometryInstanceFlagBitsNV";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkAccelerationStructureTypeNV(VkAccelerationStructureTypeNV input_value)
|
|
|
|
{
|
|
|
|
switch ((VkAccelerationStructureTypeNV)input_value)
|
|
|
|
{
|
|
|
|
case VK_ACCELERATION_STRUCTURE_TYPE_TOP_LEVEL_NV:
|
|
|
|
return "VK_ACCELERATION_STRUCTURE_TYPE_TOP_LEVEL_NV";
|
|
|
|
case VK_ACCELERATION_STRUCTURE_TYPE_BOTTOM_LEVEL_NV:
|
|
|
|
return "VK_ACCELERATION_STRUCTURE_TYPE_BOTTOM_LEVEL_NV";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkAccelerationStructureTypeNV";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkBuildAccelerationStructureFlagBitsNV(VkBuildAccelerationStructureFlagBitsNV input_value)
|
|
|
|
{
|
|
|
|
switch ((VkBuildAccelerationStructureFlagBitsNV)input_value)
|
|
|
|
{
|
|
|
|
case VK_BUILD_ACCELERATION_STRUCTURE_PREFER_FAST_TRACE_BIT_NV:
|
|
|
|
return "VK_BUILD_ACCELERATION_STRUCTURE_PREFER_FAST_TRACE_BIT_NV";
|
|
|
|
case VK_BUILD_ACCELERATION_STRUCTURE_LOW_MEMORY_BIT_NV:
|
|
|
|
return "VK_BUILD_ACCELERATION_STRUCTURE_LOW_MEMORY_BIT_NV";
|
|
|
|
case VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_UPDATE_BIT_NV:
|
|
|
|
return "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_UPDATE_BIT_NV";
|
|
|
|
case VK_BUILD_ACCELERATION_STRUCTURE_PREFER_FAST_BUILD_BIT_NV:
|
|
|
|
return "VK_BUILD_ACCELERATION_STRUCTURE_PREFER_FAST_BUILD_BIT_NV";
|
|
|
|
case VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_COMPACTION_BIT_NV:
|
|
|
|
return "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_COMPACTION_BIT_NV";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkBuildAccelerationStructureFlagBitsNV";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkCopyAccelerationStructureModeNV(VkCopyAccelerationStructureModeNV input_value)
|
|
|
|
{
|
|
|
|
switch ((VkCopyAccelerationStructureModeNV)input_value)
|
|
|
|
{
|
|
|
|
case VK_COPY_ACCELERATION_STRUCTURE_MODE_CLONE_NV:
|
|
|
|
return "VK_COPY_ACCELERATION_STRUCTURE_MODE_CLONE_NV";
|
|
|
|
case VK_COPY_ACCELERATION_STRUCTURE_MODE_COMPACT_NV:
|
|
|
|
return "VK_COPY_ACCELERATION_STRUCTURE_MODE_COMPACT_NV";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkCopyAccelerationStructureModeNV";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkAccelerationStructureMemoryRequirementsTypeNV(VkAccelerationStructureMemoryRequirementsTypeNV input_value)
|
|
|
|
{
|
|
|
|
switch ((VkAccelerationStructureMemoryRequirementsTypeNV)input_value)
|
|
|
|
{
|
|
|
|
case VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_BUILD_SCRATCH_NV:
|
|
|
|
return "VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_BUILD_SCRATCH_NV";
|
|
|
|
case VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_OBJECT_NV:
|
|
|
|
return "VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_OBJECT_NV";
|
|
|
|
case VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_UPDATE_SCRATCH_NV:
|
|
|
|
return "VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_UPDATE_SCRATCH_NV";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkAccelerationStructureMemoryRequirementsTypeNV";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-06 19:35:47 +02:00
|
|
|
static inline const char* string_VkQueueGlobalPriorityEXT(VkQueueGlobalPriorityEXT input_value)
|
|
|
|
{
|
|
|
|
switch ((VkQueueGlobalPriorityEXT)input_value)
|
|
|
|
{
|
|
|
|
case VK_QUEUE_GLOBAL_PRIORITY_REALTIME_EXT:
|
|
|
|
return "VK_QUEUE_GLOBAL_PRIORITY_REALTIME_EXT";
|
|
|
|
case VK_QUEUE_GLOBAL_PRIORITY_LOW_EXT:
|
|
|
|
return "VK_QUEUE_GLOBAL_PRIORITY_LOW_EXT";
|
2019-02-10 15:46:59 +01:00
|
|
|
case VK_QUEUE_GLOBAL_PRIORITY_MEDIUM_EXT:
|
|
|
|
return "VK_QUEUE_GLOBAL_PRIORITY_MEDIUM_EXT";
|
2018-05-06 19:35:47 +02:00
|
|
|
case VK_QUEUE_GLOBAL_PRIORITY_HIGH_EXT:
|
|
|
|
return "VK_QUEUE_GLOBAL_PRIORITY_HIGH_EXT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkQueueGlobalPriorityEXT";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-10 15:46:59 +01:00
|
|
|
static inline const char* string_VkTimeDomainEXT(VkTimeDomainEXT input_value)
|
|
|
|
{
|
|
|
|
switch ((VkTimeDomainEXT)input_value)
|
|
|
|
{
|
|
|
|
case VK_TIME_DOMAIN_CLOCK_MONOTONIC_EXT:
|
|
|
|
return "VK_TIME_DOMAIN_CLOCK_MONOTONIC_EXT";
|
|
|
|
case VK_TIME_DOMAIN_DEVICE_EXT:
|
|
|
|
return "VK_TIME_DOMAIN_DEVICE_EXT";
|
|
|
|
case VK_TIME_DOMAIN_QUERY_PERFORMANCE_COUNTER_EXT:
|
|
|
|
return "VK_TIME_DOMAIN_QUERY_PERFORMANCE_COUNTER_EXT";
|
|
|
|
case VK_TIME_DOMAIN_CLOCK_MONOTONIC_RAW_EXT:
|
|
|
|
return "VK_TIME_DOMAIN_CLOCK_MONOTONIC_RAW_EXT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkTimeDomainEXT";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkMemoryOverallocationBehaviorAMD(VkMemoryOverallocationBehaviorAMD input_value)
|
|
|
|
{
|
|
|
|
switch ((VkMemoryOverallocationBehaviorAMD)input_value)
|
|
|
|
{
|
|
|
|
case VK_MEMORY_OVERALLOCATION_BEHAVIOR_ALLOWED_AMD:
|
|
|
|
return "VK_MEMORY_OVERALLOCATION_BEHAVIOR_ALLOWED_AMD";
|
|
|
|
case VK_MEMORY_OVERALLOCATION_BEHAVIOR_DEFAULT_AMD:
|
|
|
|
return "VK_MEMORY_OVERALLOCATION_BEHAVIOR_DEFAULT_AMD";
|
|
|
|
case VK_MEMORY_OVERALLOCATION_BEHAVIOR_DISALLOWED_AMD:
|
|
|
|
return "VK_MEMORY_OVERALLOCATION_BEHAVIOR_DISALLOWED_AMD";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkMemoryOverallocationBehaviorAMD";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkValidationFeatureEnableEXT(VkValidationFeatureEnableEXT input_value)
|
|
|
|
{
|
|
|
|
switch ((VkValidationFeatureEnableEXT)input_value)
|
|
|
|
{
|
|
|
|
case VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_RESERVE_BINDING_SLOT_EXT:
|
|
|
|
return "VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_RESERVE_BINDING_SLOT_EXT";
|
|
|
|
case VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_EXT:
|
|
|
|
return "VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_EXT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkValidationFeatureEnableEXT";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline const char* string_VkValidationFeatureDisableEXT(VkValidationFeatureDisableEXT input_value)
|
|
|
|
{
|
|
|
|
switch ((VkValidationFeatureDisableEXT)input_value)
|
|
|
|
{
|
|
|
|
case VK_VALIDATION_FEATURE_DISABLE_UNIQUE_HANDLES_EXT:
|
|
|
|
return "VK_VALIDATION_FEATURE_DISABLE_UNIQUE_HANDLES_EXT";
|
|
|
|
case VK_VALIDATION_FEATURE_DISABLE_SHADERS_EXT:
|
|
|
|
return "VK_VALIDATION_FEATURE_DISABLE_SHADERS_EXT";
|
|
|
|
case VK_VALIDATION_FEATURE_DISABLE_THREAD_SAFETY_EXT:
|
|
|
|
return "VK_VALIDATION_FEATURE_DISABLE_THREAD_SAFETY_EXT";
|
|
|
|
case VK_VALIDATION_FEATURE_DISABLE_API_PARAMETERS_EXT:
|
|
|
|
return "VK_VALIDATION_FEATURE_DISABLE_API_PARAMETERS_EXT";
|
|
|
|
case VK_VALIDATION_FEATURE_DISABLE_OBJECT_LIFETIMES_EXT:
|
|
|
|
return "VK_VALIDATION_FEATURE_DISABLE_OBJECT_LIFETIMES_EXT";
|
|
|
|
case VK_VALIDATION_FEATURE_DISABLE_ALL_EXT:
|
|
|
|
return "VK_VALIDATION_FEATURE_DISABLE_ALL_EXT";
|
|
|
|
case VK_VALIDATION_FEATURE_DISABLE_CORE_CHECKS_EXT:
|
|
|
|
return "VK_VALIDATION_FEATURE_DISABLE_CORE_CHECKS_EXT";
|
|
|
|
default:
|
|
|
|
return "Unhandled VkValidationFeatureDisableEXT";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-06 19:35:47 +02:00
|
|
|
static inline const char * GetPhysDevFeatureString(uint32_t index) {
|
|
|
|
const char * IndexToPhysDevFeatureString[] = {
|
|
|
|
"robustBufferAccess",
|
|
|
|
"fullDrawIndexUint32",
|
|
|
|
"imageCubeArray",
|
|
|
|
"independentBlend",
|
|
|
|
"geometryShader",
|
|
|
|
"tessellationShader",
|
|
|
|
"sampleRateShading",
|
|
|
|
"dualSrcBlend",
|
|
|
|
"logicOp",
|
|
|
|
"multiDrawIndirect",
|
|
|
|
"drawIndirectFirstInstance",
|
|
|
|
"depthClamp",
|
|
|
|
"depthBiasClamp",
|
|
|
|
"fillModeNonSolid",
|
|
|
|
"depthBounds",
|
|
|
|
"wideLines",
|
|
|
|
"largePoints",
|
|
|
|
"alphaToOne",
|
|
|
|
"multiViewport",
|
|
|
|
"samplerAnisotropy",
|
|
|
|
"textureCompressionETC2",
|
|
|
|
"textureCompressionASTC_LDR",
|
|
|
|
"textureCompressionBC",
|
|
|
|
"occlusionQueryPrecise",
|
|
|
|
"pipelineStatisticsQuery",
|
|
|
|
"vertexPipelineStoresAndAtomics",
|
|
|
|
"fragmentStoresAndAtomics",
|
|
|
|
"shaderTessellationAndGeometryPointSize",
|
|
|
|
"shaderImageGatherExtended",
|
|
|
|
"shaderStorageImageExtendedFormats",
|
|
|
|
"shaderStorageImageMultisample",
|
|
|
|
"shaderStorageImageReadWithoutFormat",
|
|
|
|
"shaderStorageImageWriteWithoutFormat",
|
|
|
|
"shaderUniformBufferArrayDynamicIndexing",
|
|
|
|
"shaderSampledImageArrayDynamicIndexing",
|
|
|
|
"shaderStorageBufferArrayDynamicIndexing",
|
|
|
|
"shaderStorageImageArrayDynamicIndexing",
|
|
|
|
"shaderClipDistance",
|
|
|
|
"shaderCullDistance",
|
|
|
|
"shaderFloat64",
|
|
|
|
"shaderInt64",
|
|
|
|
"shaderInt16",
|
|
|
|
"shaderResourceResidency",
|
|
|
|
"shaderResourceMinLod",
|
|
|
|
"sparseBinding",
|
|
|
|
"sparseResidencyBuffer",
|
|
|
|
"sparseResidencyImage2D",
|
|
|
|
"sparseResidencyImage3D",
|
|
|
|
"sparseResidency2Samples",
|
|
|
|
"sparseResidency4Samples",
|
|
|
|
"sparseResidency8Samples",
|
|
|
|
"sparseResidency16Samples",
|
|
|
|
"sparseResidencyAliased",
|
|
|
|
"variableMultisampleRate",
|
|
|
|
"inheritedQueries",
|
|
|
|
};
|
|
|
|
|
|
|
|
return IndexToPhysDevFeatureString[index];
|
|
|
|
}
|