Skip to content

Commit

Permalink
build: Update to header 1.3.260
Browse files Browse the repository at this point in the history
- Update known-good
- Generate source
  • Loading branch information
mikes-lunarg authored and christophe-lunarg committed Aug 2, 2023
1 parent dfe82d3 commit a191ca0
Show file tree
Hide file tree
Showing 2 changed files with 209 additions and 6 deletions.
213 changes: 208 additions & 5 deletions include/vulkan/vk_enum_string_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Copyright 2023 The Khronos Group Inc.
// Copyright 2023 Valve Corporation
// Copyright 2023 LunarG, Inc.
// Copyright 2023 Google Inc.
//
// SPDX-License-Identifier: Apache-2.0
// NOLINTBEGIN
Expand Down Expand Up @@ -971,6 +970,26 @@ static inline const char* string_VkStructureType(VkStructureType input_value) {
return "VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_ANDROID";
case VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_2_ANDROID:
return "VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_2_ANDROID";
#ifdef VK_ENABLE_BETA_EXTENSIONS
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ENQUEUE_FEATURES_AMDX:
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ENQUEUE_FEATURES_AMDX";
#endif //VK_ENABLE_BETA_EXTENSIONS
#ifdef VK_ENABLE_BETA_EXTENSIONS
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ENQUEUE_PROPERTIES_AMDX:
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ENQUEUE_PROPERTIES_AMDX";
#endif //VK_ENABLE_BETA_EXTENSIONS
#ifdef VK_ENABLE_BETA_EXTENSIONS
case VK_STRUCTURE_TYPE_EXECUTION_GRAPH_PIPELINE_SCRATCH_SIZE_AMDX:
return "VK_STRUCTURE_TYPE_EXECUTION_GRAPH_PIPELINE_SCRATCH_SIZE_AMDX";
#endif //VK_ENABLE_BETA_EXTENSIONS
#ifdef VK_ENABLE_BETA_EXTENSIONS
case VK_STRUCTURE_TYPE_EXECUTION_GRAPH_PIPELINE_CREATE_INFO_AMDX:
return "VK_STRUCTURE_TYPE_EXECUTION_GRAPH_PIPELINE_CREATE_INFO_AMDX";
#endif //VK_ENABLE_BETA_EXTENSIONS
#ifdef VK_ENABLE_BETA_EXTENSIONS
case VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_NODE_CREATE_INFO_AMDX:
return "VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_NODE_CREATE_INFO_AMDX";
#endif //VK_ENABLE_BETA_EXTENSIONS
case VK_STRUCTURE_TYPE_SAMPLE_LOCATIONS_INFO_EXT:
return "VK_STRUCTURE_TYPE_SAMPLE_LOCATIONS_INFO_EXT";
case VK_STRUCTURE_TYPE_RENDER_PASS_SAMPLE_LOCATIONS_BEGIN_INFO_EXT:
Expand Down Expand Up @@ -1527,10 +1546,6 @@ static inline const char* string_VkStructureType(VkStructureType input_value) {
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_COMPRESSION_CONTROL_FEATURES_EXT";
case VK_STRUCTURE_TYPE_IMAGE_COMPRESSION_CONTROL_EXT:
return "VK_STRUCTURE_TYPE_IMAGE_COMPRESSION_CONTROL_EXT";
case VK_STRUCTURE_TYPE_SUBRESOURCE_LAYOUT_2_EXT:
return "VK_STRUCTURE_TYPE_SUBRESOURCE_LAYOUT_2_EXT";
case VK_STRUCTURE_TYPE_IMAGE_SUBRESOURCE_2_EXT:
return "VK_STRUCTURE_TYPE_IMAGE_SUBRESOURCE_2_EXT";
case VK_STRUCTURE_TYPE_IMAGE_COMPRESSION_PROPERTIES_EXT:
return "VK_STRUCTURE_TYPE_IMAGE_COMPRESSION_PROPERTIES_EXT";
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ATTACHMENT_FEEDBACK_LOOP_LAYOUT_FEATURES_EXT:
Expand Down Expand Up @@ -1777,6 +1792,22 @@ static inline const char* string_VkStructureType(VkStructureType input_value) {
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_DITHERING_FEATURES_EXT";
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_PROTECTED_ACCESS_FEATURES_EXT:
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_PROTECTED_ACCESS_FEATURES_EXT";
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_5_FEATURES_KHR:
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_5_FEATURES_KHR";
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_5_PROPERTIES_KHR:
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_5_PROPERTIES_KHR";
case VK_STRUCTURE_TYPE_RENDERING_AREA_INFO_KHR:
return "VK_STRUCTURE_TYPE_RENDERING_AREA_INFO_KHR";
case VK_STRUCTURE_TYPE_DEVICE_IMAGE_SUBRESOURCE_INFO_KHR:
return "VK_STRUCTURE_TYPE_DEVICE_IMAGE_SUBRESOURCE_INFO_KHR";
case VK_STRUCTURE_TYPE_SUBRESOURCE_LAYOUT_2_KHR:
return "VK_STRUCTURE_TYPE_SUBRESOURCE_LAYOUT_2_KHR";
case VK_STRUCTURE_TYPE_IMAGE_SUBRESOURCE_2_KHR:
return "VK_STRUCTURE_TYPE_IMAGE_SUBRESOURCE_2_KHR";
case VK_STRUCTURE_TYPE_PIPELINE_CREATE_FLAGS_2_CREATE_INFO_KHR:
return "VK_STRUCTURE_TYPE_PIPELINE_CREATE_FLAGS_2_CREATE_INFO_KHR";
case VK_STRUCTURE_TYPE_BUFFER_USAGE_FLAGS_2_CREATE_INFO_KHR:
return "VK_STRUCTURE_TYPE_BUFFER_USAGE_FLAGS_2_CREATE_INFO_KHR";
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_POSITION_FETCH_FEATURES_KHR:
return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_POSITION_FETCH_FEATURES_KHR";
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_OBJECT_FEATURES_EXT:
Expand Down Expand Up @@ -2559,6 +2590,10 @@ static inline const char* string_VkFormat(VkFormat input_value) {
return "VK_FORMAT_PVRTC2_4BPP_SRGB_BLOCK_IMG";
case VK_FORMAT_R16G16_S10_5_NV:
return "VK_FORMAT_R16G16_S10_5_NV";
case VK_FORMAT_A1B5G5R5_UNORM_PACK16_KHR:
return "VK_FORMAT_A1B5G5R5_UNORM_PACK16_KHR";
case VK_FORMAT_A8_UNORM_KHR:
return "VK_FORMAT_A8_UNORM_KHR";
default:
return "Unhandled VkFormat";
}
Expand Down Expand Up @@ -3273,6 +3308,10 @@ static inline const char* string_VkPipelineBindPoint(VkPipelineBindPoint input_v
return "VK_PIPELINE_BIND_POINT_GRAPHICS";
case VK_PIPELINE_BIND_POINT_COMPUTE:
return "VK_PIPELINE_BIND_POINT_COMPUTE";
#ifdef VK_ENABLE_BETA_EXTENSIONS
case VK_PIPELINE_BIND_POINT_EXECUTION_GRAPH_AMDX:
return "VK_PIPELINE_BIND_POINT_EXECUTION_GRAPH_AMDX";
#endif //VK_ENABLE_BETA_EXTENSIONS
case VK_PIPELINE_BIND_POINT_RAY_TRACING_KHR:
return "VK_PIPELINE_BIND_POINT_RAY_TRACING_KHR";
case VK_PIPELINE_BIND_POINT_SUBPASS_SHADING_HUAWEI:
Expand Down Expand Up @@ -5429,6 +5468,10 @@ static inline const char* string_VkBufferUsageFlagBits(VkBufferUsageFlagBits inp
return "VK_BUFFER_USAGE_TRANSFORM_FEEDBACK_COUNTER_BUFFER_BIT_EXT";
case VK_BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT:
return "VK_BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT";
#ifdef VK_ENABLE_BETA_EXTENSIONS
case VK_BUFFER_USAGE_EXECUTION_GRAPH_SCRATCH_BIT_AMDX:
return "VK_BUFFER_USAGE_EXECUTION_GRAPH_SCRATCH_BIT_AMDX";
#endif //VK_ENABLE_BETA_EXTENSIONS
case VK_BUFFER_USAGE_ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_BIT_KHR:
return "VK_BUFFER_USAGE_ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_BIT_KHR";
case VK_BUFFER_USAGE_ACCELERATION_STRUCTURE_STORAGE_BIT_KHR:
Expand Down Expand Up @@ -7633,6 +7676,166 @@ static inline std::string string_VkVideoEncodeContentFlagsKHR(VkVideoEncodeConte
return ret;
}
#endif //VK_ENABLE_BETA_EXTENSIONS
static inline const char* string_VkPipelineCreateFlagBits2KHR(uint64_t input_value) {
switch (input_value) {
case VK_PIPELINE_CREATE_2_DISABLE_OPTIMIZATION_BIT_KHR:
return "VK_PIPELINE_CREATE_2_DISABLE_OPTIMIZATION_BIT_KHR";
case VK_PIPELINE_CREATE_2_ALLOW_DERIVATIVES_BIT_KHR:
return "VK_PIPELINE_CREATE_2_ALLOW_DERIVATIVES_BIT_KHR";
case VK_PIPELINE_CREATE_2_DERIVATIVE_BIT_KHR:
return "VK_PIPELINE_CREATE_2_DERIVATIVE_BIT_KHR";
case VK_PIPELINE_CREATE_2_RESERVED_BIT_28_NV:
return "VK_PIPELINE_CREATE_2_RESERVED_BIT_28_NV";
case VK_PIPELINE_CREATE_2_VIEW_INDEX_FROM_DEVICE_INDEX_BIT_KHR:
return "VK_PIPELINE_CREATE_2_VIEW_INDEX_FROM_DEVICE_INDEX_BIT_KHR";
case VK_PIPELINE_CREATE_2_DISPATCH_BASE_BIT_KHR:
return "VK_PIPELINE_CREATE_2_DISPATCH_BASE_BIT_KHR";
case VK_PIPELINE_CREATE_2_DEFER_COMPILE_BIT_KHR:
return "VK_PIPELINE_CREATE_2_DEFER_COMPILE_BIT_KHR";
case VK_PIPELINE_CREATE_2_CAPTURE_STATISTICS_BIT_KHR:
return "VK_PIPELINE_CREATE_2_CAPTURE_STATISTICS_BIT_KHR";
case VK_PIPELINE_CREATE_2_CAPTURE_INTERNAL_REPRESENTATIONS_BIT_KHR:
return "VK_PIPELINE_CREATE_2_CAPTURE_INTERNAL_REPRESENTATIONS_BIT_KHR";
case VK_PIPELINE_CREATE_2_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT_KHR:
return "VK_PIPELINE_CREATE_2_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT_KHR";
case VK_PIPELINE_CREATE_2_EARLY_RETURN_ON_FAILURE_BIT_KHR:
return "VK_PIPELINE_CREATE_2_EARLY_RETURN_ON_FAILURE_BIT_KHR";
case VK_PIPELINE_CREATE_2_LINK_TIME_OPTIMIZATION_BIT_KHR:
return "VK_PIPELINE_CREATE_2_LINK_TIME_OPTIMIZATION_BIT_KHR";
case VK_PIPELINE_CREATE_2_RETAIN_LINK_TIME_OPTIMIZATION_INFO_BIT_KHR:
return "VK_PIPELINE_CREATE_2_RETAIN_LINK_TIME_OPTIMIZATION_INFO_BIT_KHR";
case VK_PIPELINE_CREATE_2_LIBRARY_BIT_KHR:
return "VK_PIPELINE_CREATE_2_LIBRARY_BIT_KHR";
case VK_PIPELINE_CREATE_2_RAY_TRACING_SKIP_TRIANGLES_BIT_KHR:
return "VK_PIPELINE_CREATE_2_RAY_TRACING_SKIP_TRIANGLES_BIT_KHR";
case VK_PIPELINE_CREATE_2_RAY_TRACING_SKIP_AABBS_BIT_KHR:
return "VK_PIPELINE_CREATE_2_RAY_TRACING_SKIP_AABBS_BIT_KHR";
case VK_PIPELINE_CREATE_2_RAY_TRACING_NO_NULL_ANY_HIT_SHADERS_BIT_KHR:
return "VK_PIPELINE_CREATE_2_RAY_TRACING_NO_NULL_ANY_HIT_SHADERS_BIT_KHR";
case VK_PIPELINE_CREATE_2_RAY_TRACING_NO_NULL_CLOSEST_HIT_SHADERS_BIT_KHR:
return "VK_PIPELINE_CREATE_2_RAY_TRACING_NO_NULL_CLOSEST_HIT_SHADERS_BIT_KHR";
case VK_PIPELINE_CREATE_2_RAY_TRACING_NO_NULL_MISS_SHADERS_BIT_KHR:
return "VK_PIPELINE_CREATE_2_RAY_TRACING_NO_NULL_MISS_SHADERS_BIT_KHR";
case VK_PIPELINE_CREATE_2_RAY_TRACING_NO_NULL_INTERSECTION_SHADERS_BIT_KHR:
return "VK_PIPELINE_CREATE_2_RAY_TRACING_NO_NULL_INTERSECTION_SHADERS_BIT_KHR";
case VK_PIPELINE_CREATE_2_RAY_TRACING_SHADER_GROUP_HANDLE_CAPTURE_REPLAY_BIT_KHR:
return "VK_PIPELINE_CREATE_2_RAY_TRACING_SHADER_GROUP_HANDLE_CAPTURE_REPLAY_BIT_KHR";
case VK_PIPELINE_CREATE_2_INDIRECT_BINDABLE_BIT_KHR:
return "VK_PIPELINE_CREATE_2_INDIRECT_BINDABLE_BIT_KHR";
case VK_PIPELINE_CREATE_2_RAY_TRACING_ALLOW_MOTION_BIT_KHR:
return "VK_PIPELINE_CREATE_2_RAY_TRACING_ALLOW_MOTION_BIT_KHR";
case VK_PIPELINE_CREATE_2_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR:
return "VK_PIPELINE_CREATE_2_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR";
case VK_PIPELINE_CREATE_2_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_KHR:
return "VK_PIPELINE_CREATE_2_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_KHR";
case VK_PIPELINE_CREATE_2_RAY_TRACING_OPACITY_MICROMAP_BIT_KHR:
return "VK_PIPELINE_CREATE_2_RAY_TRACING_OPACITY_MICROMAP_BIT_KHR";
case VK_PIPELINE_CREATE_2_COLOR_ATTACHMENT_FEEDBACK_LOOP_BIT_KHR:
return "VK_PIPELINE_CREATE_2_COLOR_ATTACHMENT_FEEDBACK_LOOP_BIT_KHR";
case VK_PIPELINE_CREATE_2_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_KHR:
return "VK_PIPELINE_CREATE_2_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_KHR";
case VK_PIPELINE_CREATE_2_NO_PROTECTED_ACCESS_BIT_KHR:
return "VK_PIPELINE_CREATE_2_NO_PROTECTED_ACCESS_BIT_KHR";
case VK_PIPELINE_CREATE_2_PROTECTED_ACCESS_ONLY_BIT_KHR:
return "VK_PIPELINE_CREATE_2_PROTECTED_ACCESS_ONLY_BIT_KHR";
case VK_PIPELINE_CREATE_2_DESCRIPTOR_BUFFER_BIT_KHR:
return "VK_PIPELINE_CREATE_2_DESCRIPTOR_BUFFER_BIT_KHR";
default:
return "Unhandled VkPipelineCreateFlagBits2KHR";
}
}

static inline std::string string_VkPipelineCreateFlags2KHR(VkPipelineCreateFlags2KHR input_value) {
std::string ret;
int index = 0;
while(input_value) {
if (input_value & 1) {
if( !ret.empty()) ret.append("|");
ret.append(string_VkPipelineCreateFlagBits2KHR(static_cast<uint64_t>(1ULL << index)));
}
++index;
input_value >>= 1;
}
if (ret.empty()) ret.append("VkPipelineCreateFlags2KHR(0)");
return ret;
}
static inline const char* string_VkBufferUsageFlagBits2KHR(uint64_t input_value) {
switch (input_value) {
case VK_BUFFER_USAGE_2_TRANSFER_SRC_BIT_KHR:
return "VK_BUFFER_USAGE_2_TRANSFER_SRC_BIT_KHR";
case VK_BUFFER_USAGE_2_TRANSFER_DST_BIT_KHR:
return "VK_BUFFER_USAGE_2_TRANSFER_DST_BIT_KHR";
case VK_BUFFER_USAGE_2_UNIFORM_TEXEL_BUFFER_BIT_KHR:
return "VK_BUFFER_USAGE_2_UNIFORM_TEXEL_BUFFER_BIT_KHR";
case VK_BUFFER_USAGE_2_STORAGE_TEXEL_BUFFER_BIT_KHR:
return "VK_BUFFER_USAGE_2_STORAGE_TEXEL_BUFFER_BIT_KHR";
case VK_BUFFER_USAGE_2_UNIFORM_BUFFER_BIT_KHR:
return "VK_BUFFER_USAGE_2_UNIFORM_BUFFER_BIT_KHR";
case VK_BUFFER_USAGE_2_STORAGE_BUFFER_BIT_KHR:
return "VK_BUFFER_USAGE_2_STORAGE_BUFFER_BIT_KHR";
case VK_BUFFER_USAGE_2_INDEX_BUFFER_BIT_KHR:
return "VK_BUFFER_USAGE_2_INDEX_BUFFER_BIT_KHR";
case VK_BUFFER_USAGE_2_VERTEX_BUFFER_BIT_KHR:
return "VK_BUFFER_USAGE_2_VERTEX_BUFFER_BIT_KHR";
case VK_BUFFER_USAGE_2_INDIRECT_BUFFER_BIT_KHR:
return "VK_BUFFER_USAGE_2_INDIRECT_BUFFER_BIT_KHR";
case VK_BUFFER_USAGE_2_EXECUTION_GRAPH_SCRATCH_BIT_AMDX:
return "VK_BUFFER_USAGE_2_EXECUTION_GRAPH_SCRATCH_BIT_AMDX";
case VK_BUFFER_USAGE_2_CONDITIONAL_RENDERING_BIT_KHR:
return "VK_BUFFER_USAGE_2_CONDITIONAL_RENDERING_BIT_KHR";
case VK_BUFFER_USAGE_2_SHADER_BINDING_TABLE_BIT_KHR:
return "VK_BUFFER_USAGE_2_SHADER_BINDING_TABLE_BIT_KHR";
case VK_BUFFER_USAGE_2_TRANSFORM_FEEDBACK_BUFFER_BIT_KHR:
return "VK_BUFFER_USAGE_2_TRANSFORM_FEEDBACK_BUFFER_BIT_KHR";
case VK_BUFFER_USAGE_2_TRANSFORM_FEEDBACK_COUNTER_BUFFER_BIT_KHR:
return "VK_BUFFER_USAGE_2_TRANSFORM_FEEDBACK_COUNTER_BUFFER_BIT_KHR";
case VK_BUFFER_USAGE_2_VIDEO_DECODE_SRC_BIT_KHR:
return "VK_BUFFER_USAGE_2_VIDEO_DECODE_SRC_BIT_KHR";
case VK_BUFFER_USAGE_2_VIDEO_DECODE_DST_BIT_KHR:
return "VK_BUFFER_USAGE_2_VIDEO_DECODE_DST_BIT_KHR";
#ifdef VK_ENABLE_BETA_EXTENSIONS
case VK_BUFFER_USAGE_2_VIDEO_ENCODE_DST_BIT_KHR:
return "VK_BUFFER_USAGE_2_VIDEO_ENCODE_DST_BIT_KHR";
#endif //VK_ENABLE_BETA_EXTENSIONS
#ifdef VK_ENABLE_BETA_EXTENSIONS
case VK_BUFFER_USAGE_2_VIDEO_ENCODE_SRC_BIT_KHR:
return "VK_BUFFER_USAGE_2_VIDEO_ENCODE_SRC_BIT_KHR";
#endif //VK_ENABLE_BETA_EXTENSIONS
case VK_BUFFER_USAGE_2_SHADER_DEVICE_ADDRESS_BIT_KHR:
return "VK_BUFFER_USAGE_2_SHADER_DEVICE_ADDRESS_BIT_KHR";
case VK_BUFFER_USAGE_2_ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_BIT_KHR:
return "VK_BUFFER_USAGE_2_ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_BIT_KHR";
case VK_BUFFER_USAGE_2_ACCELERATION_STRUCTURE_STORAGE_BIT_KHR:
return "VK_BUFFER_USAGE_2_ACCELERATION_STRUCTURE_STORAGE_BIT_KHR";
case VK_BUFFER_USAGE_2_SAMPLER_DESCRIPTOR_BUFFER_BIT_KHR:
return "VK_BUFFER_USAGE_2_SAMPLER_DESCRIPTOR_BUFFER_BIT_KHR";
case VK_BUFFER_USAGE_2_RESOURCE_DESCRIPTOR_BUFFER_BIT_KHR:
return "VK_BUFFER_USAGE_2_RESOURCE_DESCRIPTOR_BUFFER_BIT_KHR";
case VK_BUFFER_USAGE_2_PUSH_DESCRIPTORS_DESCRIPTOR_BUFFER_BIT_KHR:
return "VK_BUFFER_USAGE_2_PUSH_DESCRIPTORS_DESCRIPTOR_BUFFER_BIT_KHR";
case VK_BUFFER_USAGE_2_MICROMAP_BUILD_INPUT_READ_ONLY_BIT_KHR:
return "VK_BUFFER_USAGE_2_MICROMAP_BUILD_INPUT_READ_ONLY_BIT_KHR";
case VK_BUFFER_USAGE_2_MICROMAP_STORAGE_BIT_KHR:
return "VK_BUFFER_USAGE_2_MICROMAP_STORAGE_BIT_KHR";
default:
return "Unhandled VkBufferUsageFlagBits2KHR";
}
}

static inline std::string string_VkBufferUsageFlags2KHR(VkBufferUsageFlags2KHR input_value) {
std::string ret;
int index = 0;
while(input_value) {
if (input_value & 1) {
if( !ret.empty()) ret.append("|");
ret.append(string_VkBufferUsageFlagBits2KHR(static_cast<uint64_t>(1ULL << index)));
}
++index;
input_value >>= 1;
}
if (ret.empty()) ret.append("VkBufferUsageFlags2KHR(0)");
return ret;
}
static inline const char* string_VkDebugReportFlagBitsEXT(VkDebugReportFlagBitsEXT input_value) {
switch (input_value) {
case VK_DEBUG_REPORT_INFORMATION_BIT_EXT:
Expand Down
2 changes: 1 addition & 1 deletion scripts/known_good.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"sub_dir": "Vulkan-Headers",
"build_dir": "Vulkan-Headers/build",
"install_dir": "Vulkan-Headers/build/install",
"commit": "v1.3.259"
"commit": "v1.3.260"
},
{
"name": "googletest",
Expand Down

0 comments on commit a191ca0

Please sign in to comment.