1 | // *** THIS FILE IS GENERATED - DO NOT EDIT *** |
2 | // See helper_file_generator.py for modifications |
3 | |
4 | |
5 | /*************************************************************************** |
6 | * |
7 | * Copyright (c) 2015-2023 The Khronos Group Inc. |
8 | * Copyright (c) 2015-2023 Valve Corporation |
9 | * Copyright (c) 2015-2023 LunarG, Inc. |
10 | * Copyright (c) 2015-2023 Google Inc. |
11 | * |
12 | * Licensed under the Apache License, Version 2.0 (the "License"); |
13 | * you may not use this file except in compliance with the License. |
14 | * You may obtain a copy of the License at |
15 | * |
16 | * http://www.apache.org/licenses/LICENSE-2.0 |
17 | * |
18 | * Unless required by applicable law or agreed to in writing, software |
19 | * distributed under the License is distributed on an "AS IS" BASIS, |
20 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
21 | * See the License for the specific language governing permissions and |
22 | * limitations under the License. |
23 | ****************************************************************************/ |
24 | |
25 | |
26 | #pragma once |
27 | #ifdef _MSC_VER |
28 | #pragma warning( disable : 4065 ) |
29 | #endif |
30 | |
31 | #include <string> |
32 | #ifdef USE_VOLK |
33 | #include <volk.h> |
34 | #else |
35 | #include <vulkan/vulkan.h> |
36 | #endif |
37 | |
38 | |
39 | static inline const char* string_VkResult(VkResult input_value) |
40 | { |
41 | switch (input_value) |
42 | { |
43 | case VK_ERROR_COMPRESSION_EXHAUSTED_EXT: |
44 | return "VK_ERROR_COMPRESSION_EXHAUSTED_EXT" ; |
45 | case VK_ERROR_DEVICE_LOST: |
46 | return "VK_ERROR_DEVICE_LOST" ; |
47 | case VK_ERROR_EXTENSION_NOT_PRESENT: |
48 | return "VK_ERROR_EXTENSION_NOT_PRESENT" ; |
49 | case VK_ERROR_FEATURE_NOT_PRESENT: |
50 | return "VK_ERROR_FEATURE_NOT_PRESENT" ; |
51 | case VK_ERROR_FORMAT_NOT_SUPPORTED: |
52 | return "VK_ERROR_FORMAT_NOT_SUPPORTED" ; |
53 | case VK_ERROR_FRAGMENTATION: |
54 | return "VK_ERROR_FRAGMENTATION" ; |
55 | case VK_ERROR_FRAGMENTED_POOL: |
56 | return "VK_ERROR_FRAGMENTED_POOL" ; |
57 | case VK_ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT: |
58 | return "VK_ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT" ; |
59 | case VK_ERROR_IMAGE_USAGE_NOT_SUPPORTED_KHR: |
60 | return "VK_ERROR_IMAGE_USAGE_NOT_SUPPORTED_KHR" ; |
61 | case VK_ERROR_INCOMPATIBLE_DISPLAY_KHR: |
62 | return "VK_ERROR_INCOMPATIBLE_DISPLAY_KHR" ; |
63 | case VK_ERROR_INCOMPATIBLE_DRIVER: |
64 | return "VK_ERROR_INCOMPATIBLE_DRIVER" ; |
65 | case VK_ERROR_INCOMPATIBLE_SHADER_BINARY_EXT: |
66 | return "VK_ERROR_INCOMPATIBLE_SHADER_BINARY_EXT" ; |
67 | case VK_ERROR_INITIALIZATION_FAILED: |
68 | return "VK_ERROR_INITIALIZATION_FAILED" ; |
69 | case VK_ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT: |
70 | return "VK_ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT" ; |
71 | case VK_ERROR_INVALID_EXTERNAL_HANDLE: |
72 | return "VK_ERROR_INVALID_EXTERNAL_HANDLE" ; |
73 | case VK_ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS: |
74 | return "VK_ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS" ; |
75 | case VK_ERROR_INVALID_SHADER_NV: |
76 | return "VK_ERROR_INVALID_SHADER_NV" ; |
77 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
78 | case VK_ERROR_INVALID_VIDEO_STD_PARAMETERS_KHR: |
79 | return "VK_ERROR_INVALID_VIDEO_STD_PARAMETERS_KHR" ; |
80 | #endif // VK_ENABLE_BETA_EXTENSIONS |
81 | case VK_ERROR_LAYER_NOT_PRESENT: |
82 | return "VK_ERROR_LAYER_NOT_PRESENT" ; |
83 | case VK_ERROR_MEMORY_MAP_FAILED: |
84 | return "VK_ERROR_MEMORY_MAP_FAILED" ; |
85 | case VK_ERROR_NATIVE_WINDOW_IN_USE_KHR: |
86 | return "VK_ERROR_NATIVE_WINDOW_IN_USE_KHR" ; |
87 | case VK_ERROR_NOT_PERMITTED_KHR: |
88 | return "VK_ERROR_NOT_PERMITTED_KHR" ; |
89 | case VK_ERROR_OUT_OF_DATE_KHR: |
90 | return "VK_ERROR_OUT_OF_DATE_KHR" ; |
91 | case VK_ERROR_OUT_OF_DEVICE_MEMORY: |
92 | return "VK_ERROR_OUT_OF_DEVICE_MEMORY" ; |
93 | case VK_ERROR_OUT_OF_HOST_MEMORY: |
94 | return "VK_ERROR_OUT_OF_HOST_MEMORY" ; |
95 | case VK_ERROR_OUT_OF_POOL_MEMORY: |
96 | return "VK_ERROR_OUT_OF_POOL_MEMORY" ; |
97 | case VK_ERROR_SURFACE_LOST_KHR: |
98 | return "VK_ERROR_SURFACE_LOST_KHR" ; |
99 | case VK_ERROR_TOO_MANY_OBJECTS: |
100 | return "VK_ERROR_TOO_MANY_OBJECTS" ; |
101 | case VK_ERROR_UNKNOWN: |
102 | return "VK_ERROR_UNKNOWN" ; |
103 | case VK_ERROR_VALIDATION_FAILED_EXT: |
104 | return "VK_ERROR_VALIDATION_FAILED_EXT" ; |
105 | case VK_ERROR_VIDEO_PICTURE_LAYOUT_NOT_SUPPORTED_KHR: |
106 | return "VK_ERROR_VIDEO_PICTURE_LAYOUT_NOT_SUPPORTED_KHR" ; |
107 | case VK_ERROR_VIDEO_PROFILE_CODEC_NOT_SUPPORTED_KHR: |
108 | return "VK_ERROR_VIDEO_PROFILE_CODEC_NOT_SUPPORTED_KHR" ; |
109 | case VK_ERROR_VIDEO_PROFILE_FORMAT_NOT_SUPPORTED_KHR: |
110 | return "VK_ERROR_VIDEO_PROFILE_FORMAT_NOT_SUPPORTED_KHR" ; |
111 | case VK_ERROR_VIDEO_PROFILE_OPERATION_NOT_SUPPORTED_KHR: |
112 | return "VK_ERROR_VIDEO_PROFILE_OPERATION_NOT_SUPPORTED_KHR" ; |
113 | case VK_ERROR_VIDEO_STD_VERSION_NOT_SUPPORTED_KHR: |
114 | return "VK_ERROR_VIDEO_STD_VERSION_NOT_SUPPORTED_KHR" ; |
115 | case VK_EVENT_RESET: |
116 | return "VK_EVENT_RESET" ; |
117 | case VK_EVENT_SET: |
118 | return "VK_EVENT_SET" ; |
119 | case VK_INCOMPLETE: |
120 | return "VK_INCOMPLETE" ; |
121 | case VK_NOT_READY: |
122 | return "VK_NOT_READY" ; |
123 | case VK_OPERATION_DEFERRED_KHR: |
124 | return "VK_OPERATION_DEFERRED_KHR" ; |
125 | case VK_OPERATION_NOT_DEFERRED_KHR: |
126 | return "VK_OPERATION_NOT_DEFERRED_KHR" ; |
127 | case VK_PIPELINE_COMPILE_REQUIRED: |
128 | return "VK_PIPELINE_COMPILE_REQUIRED" ; |
129 | case VK_SUBOPTIMAL_KHR: |
130 | return "VK_SUBOPTIMAL_KHR" ; |
131 | case VK_SUCCESS: |
132 | return "VK_SUCCESS" ; |
133 | case VK_THREAD_DONE_KHR: |
134 | return "VK_THREAD_DONE_KHR" ; |
135 | case VK_THREAD_IDLE_KHR: |
136 | return "VK_THREAD_IDLE_KHR" ; |
137 | case VK_TIMEOUT: |
138 | return "VK_TIMEOUT" ; |
139 | default: |
140 | return "Unhandled VkResult" ; |
141 | } |
142 | } |
143 | |
144 | static inline const char* string_VkStructureType(VkStructureType input_value) |
145 | { |
146 | switch (input_value) |
147 | { |
148 | case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_BUILD_GEOMETRY_INFO_KHR: |
149 | return "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_BUILD_GEOMETRY_INFO_KHR" ; |
150 | case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_BUILD_SIZES_INFO_KHR: |
151 | return "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_BUILD_SIZES_INFO_KHR" ; |
152 | case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_CAPTURE_DESCRIPTOR_DATA_INFO_EXT: |
153 | return "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_CAPTURE_DESCRIPTOR_DATA_INFO_EXT" ; |
154 | case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_CREATE_INFO_KHR: |
155 | return "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_CREATE_INFO_KHR" ; |
156 | case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_CREATE_INFO_NV: |
157 | return "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_CREATE_INFO_NV" ; |
158 | case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_DEVICE_ADDRESS_INFO_KHR: |
159 | return "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_DEVICE_ADDRESS_INFO_KHR" ; |
160 | case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_AABBS_DATA_KHR: |
161 | return "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_AABBS_DATA_KHR" ; |
162 | case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_INSTANCES_DATA_KHR: |
163 | return "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_INSTANCES_DATA_KHR" ; |
164 | case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_KHR: |
165 | return "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_KHR" ; |
166 | case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_MOTION_TRIANGLES_DATA_NV: |
167 | return "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_MOTION_TRIANGLES_DATA_NV" ; |
168 | case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_TRIANGLES_DATA_KHR: |
169 | return "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_TRIANGLES_DATA_KHR" ; |
170 | case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_INFO_NV: |
171 | return "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_INFO_NV" ; |
172 | case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_INFO_NV: |
173 | return "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_INFO_NV" ; |
174 | case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_MOTION_INFO_NV: |
175 | return "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_MOTION_INFO_NV" ; |
176 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
177 | case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_TRIANGLES_DISPLACEMENT_MICROMAP_NV: |
178 | return "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_TRIANGLES_DISPLACEMENT_MICROMAP_NV" ; |
179 | #endif // VK_ENABLE_BETA_EXTENSIONS |
180 | case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_TRIANGLES_OPACITY_MICROMAP_EXT: |
181 | return "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_TRIANGLES_OPACITY_MICROMAP_EXT" ; |
182 | case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_VERSION_INFO_KHR: |
183 | return "VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_VERSION_INFO_KHR" ; |
184 | case VK_STRUCTURE_TYPE_ACQUIRE_NEXT_IMAGE_INFO_KHR: |
185 | return "VK_STRUCTURE_TYPE_ACQUIRE_NEXT_IMAGE_INFO_KHR" ; |
186 | case VK_STRUCTURE_TYPE_ACQUIRE_PROFILING_LOCK_INFO_KHR: |
187 | return "VK_STRUCTURE_TYPE_ACQUIRE_PROFILING_LOCK_INFO_KHR" ; |
188 | case VK_STRUCTURE_TYPE_AMIGO_PROFILING_SUBMIT_INFO_SEC: |
189 | return "VK_STRUCTURE_TYPE_AMIGO_PROFILING_SUBMIT_INFO_SEC" ; |
190 | case VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_2_ANDROID: |
191 | return "VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_2_ANDROID" ; |
192 | case VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_ANDROID: |
193 | return "VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_ANDROID" ; |
194 | case VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_PROPERTIES_ANDROID: |
195 | return "VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_PROPERTIES_ANDROID" ; |
196 | case VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_USAGE_ANDROID: |
197 | return "VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_USAGE_ANDROID" ; |
198 | case VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR: |
199 | return "VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR" ; |
200 | case VK_STRUCTURE_TYPE_APPLICATION_INFO: |
201 | return "VK_STRUCTURE_TYPE_APPLICATION_INFO" ; |
202 | case VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_2: |
203 | return "VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_2" ; |
204 | case VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_STENCIL_LAYOUT: |
205 | return "VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_STENCIL_LAYOUT" ; |
206 | case VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_2: |
207 | return "VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_2" ; |
208 | case VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_STENCIL_LAYOUT: |
209 | return "VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_STENCIL_LAYOUT" ; |
210 | case VK_STRUCTURE_TYPE_ATTACHMENT_SAMPLE_COUNT_INFO_AMD: |
211 | return "VK_STRUCTURE_TYPE_ATTACHMENT_SAMPLE_COUNT_INFO_AMD" ; |
212 | case VK_STRUCTURE_TYPE_BIND_ACCELERATION_STRUCTURE_MEMORY_INFO_NV: |
213 | return "VK_STRUCTURE_TYPE_BIND_ACCELERATION_STRUCTURE_MEMORY_INFO_NV" ; |
214 | case VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO: |
215 | return "VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO" ; |
216 | case VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO: |
217 | return "VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO" ; |
218 | case VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO: |
219 | return "VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO" ; |
220 | case VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO: |
221 | return "VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO" ; |
222 | case VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_SWAPCHAIN_INFO_KHR: |
223 | return "VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_SWAPCHAIN_INFO_KHR" ; |
224 | case VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO: |
225 | return "VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO" ; |
226 | case VK_STRUCTURE_TYPE_BIND_SPARSE_INFO: |
227 | return "VK_STRUCTURE_TYPE_BIND_SPARSE_INFO" ; |
228 | case VK_STRUCTURE_TYPE_BIND_VIDEO_SESSION_MEMORY_INFO_KHR: |
229 | return "VK_STRUCTURE_TYPE_BIND_VIDEO_SESSION_MEMORY_INFO_KHR" ; |
230 | case VK_STRUCTURE_TYPE_BLIT_IMAGE_INFO_2: |
231 | return "VK_STRUCTURE_TYPE_BLIT_IMAGE_INFO_2" ; |
232 | case VK_STRUCTURE_TYPE_BUFFER_CAPTURE_DESCRIPTOR_DATA_INFO_EXT: |
233 | return "VK_STRUCTURE_TYPE_BUFFER_CAPTURE_DESCRIPTOR_DATA_INFO_EXT" ; |
234 | case VK_STRUCTURE_TYPE_BUFFER_COLLECTION_BUFFER_CREATE_INFO_FUCHSIA: |
235 | return "VK_STRUCTURE_TYPE_BUFFER_COLLECTION_BUFFER_CREATE_INFO_FUCHSIA" ; |
236 | case VK_STRUCTURE_TYPE_BUFFER_COLLECTION_CONSTRAINTS_INFO_FUCHSIA: |
237 | return "VK_STRUCTURE_TYPE_BUFFER_COLLECTION_CONSTRAINTS_INFO_FUCHSIA" ; |
238 | case VK_STRUCTURE_TYPE_BUFFER_COLLECTION_CREATE_INFO_FUCHSIA: |
239 | return "VK_STRUCTURE_TYPE_BUFFER_COLLECTION_CREATE_INFO_FUCHSIA" ; |
240 | case VK_STRUCTURE_TYPE_BUFFER_COLLECTION_IMAGE_CREATE_INFO_FUCHSIA: |
241 | return "VK_STRUCTURE_TYPE_BUFFER_COLLECTION_IMAGE_CREATE_INFO_FUCHSIA" ; |
242 | case VK_STRUCTURE_TYPE_BUFFER_COLLECTION_PROPERTIES_FUCHSIA: |
243 | return "VK_STRUCTURE_TYPE_BUFFER_COLLECTION_PROPERTIES_FUCHSIA" ; |
244 | case VK_STRUCTURE_TYPE_BUFFER_CONSTRAINTS_INFO_FUCHSIA: |
245 | return "VK_STRUCTURE_TYPE_BUFFER_CONSTRAINTS_INFO_FUCHSIA" ; |
246 | case VK_STRUCTURE_TYPE_BUFFER_COPY_2: |
247 | return "VK_STRUCTURE_TYPE_BUFFER_COPY_2" ; |
248 | case VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO: |
249 | return "VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO" ; |
250 | case VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_CREATE_INFO_EXT: |
251 | return "VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_CREATE_INFO_EXT" ; |
252 | case VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO: |
253 | return "VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO" ; |
254 | case VK_STRUCTURE_TYPE_BUFFER_IMAGE_COPY_2: |
255 | return "VK_STRUCTURE_TYPE_BUFFER_IMAGE_COPY_2" ; |
256 | case VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER: |
257 | return "VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER" ; |
258 | case VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER_2: |
259 | return "VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER_2" ; |
260 | case VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2: |
261 | return "VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2" ; |
262 | case VK_STRUCTURE_TYPE_BUFFER_OPAQUE_CAPTURE_ADDRESS_CREATE_INFO: |
263 | return "VK_STRUCTURE_TYPE_BUFFER_OPAQUE_CAPTURE_ADDRESS_CREATE_INFO" ; |
264 | case VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO: |
265 | return "VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO" ; |
266 | case VK_STRUCTURE_TYPE_CALIBRATED_TIMESTAMP_INFO_EXT: |
267 | return "VK_STRUCTURE_TYPE_CALIBRATED_TIMESTAMP_INFO_EXT" ; |
268 | case VK_STRUCTURE_TYPE_CHECKPOINT_DATA_2_NV: |
269 | return "VK_STRUCTURE_TYPE_CHECKPOINT_DATA_2_NV" ; |
270 | case VK_STRUCTURE_TYPE_CHECKPOINT_DATA_NV: |
271 | return "VK_STRUCTURE_TYPE_CHECKPOINT_DATA_NV" ; |
272 | case VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO: |
273 | return "VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO" ; |
274 | case VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO: |
275 | return "VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO" ; |
276 | case VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_CONDITIONAL_RENDERING_INFO_EXT: |
277 | return "VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_CONDITIONAL_RENDERING_INFO_EXT" ; |
278 | case VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO: |
279 | return "VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO" ; |
280 | case VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_RENDERING_INFO: |
281 | return "VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_RENDERING_INFO" ; |
282 | case VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_RENDER_PASS_TRANSFORM_INFO_QCOM: |
283 | return "VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_RENDER_PASS_TRANSFORM_INFO_QCOM" ; |
284 | case VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_VIEWPORT_SCISSOR_INFO_NV: |
285 | return "VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_VIEWPORT_SCISSOR_INFO_NV" ; |
286 | case VK_STRUCTURE_TYPE_COMMAND_BUFFER_SUBMIT_INFO: |
287 | return "VK_STRUCTURE_TYPE_COMMAND_BUFFER_SUBMIT_INFO" ; |
288 | case VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO: |
289 | return "VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO" ; |
290 | case VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO: |
291 | return "VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO" ; |
292 | case VK_STRUCTURE_TYPE_CONDITIONAL_RENDERING_BEGIN_INFO_EXT: |
293 | return "VK_STRUCTURE_TYPE_CONDITIONAL_RENDERING_BEGIN_INFO_EXT" ; |
294 | case VK_STRUCTURE_TYPE_COOPERATIVE_MATRIX_PROPERTIES_NV: |
295 | return "VK_STRUCTURE_TYPE_COOPERATIVE_MATRIX_PROPERTIES_NV" ; |
296 | case VK_STRUCTURE_TYPE_COPY_ACCELERATION_STRUCTURE_INFO_KHR: |
297 | return "VK_STRUCTURE_TYPE_COPY_ACCELERATION_STRUCTURE_INFO_KHR" ; |
298 | case VK_STRUCTURE_TYPE_COPY_ACCELERATION_STRUCTURE_TO_MEMORY_INFO_KHR: |
299 | return "VK_STRUCTURE_TYPE_COPY_ACCELERATION_STRUCTURE_TO_MEMORY_INFO_KHR" ; |
300 | case VK_STRUCTURE_TYPE_COPY_BUFFER_INFO_2: |
301 | return "VK_STRUCTURE_TYPE_COPY_BUFFER_INFO_2" ; |
302 | case VK_STRUCTURE_TYPE_COPY_BUFFER_TO_IMAGE_INFO_2: |
303 | return "VK_STRUCTURE_TYPE_COPY_BUFFER_TO_IMAGE_INFO_2" ; |
304 | case VK_STRUCTURE_TYPE_COPY_COMMAND_TRANSFORM_INFO_QCOM: |
305 | return "VK_STRUCTURE_TYPE_COPY_COMMAND_TRANSFORM_INFO_QCOM" ; |
306 | case VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET: |
307 | return "VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET" ; |
308 | case VK_STRUCTURE_TYPE_COPY_IMAGE_INFO_2: |
309 | return "VK_STRUCTURE_TYPE_COPY_IMAGE_INFO_2" ; |
310 | case VK_STRUCTURE_TYPE_COPY_IMAGE_TO_BUFFER_INFO_2: |
311 | return "VK_STRUCTURE_TYPE_COPY_IMAGE_TO_BUFFER_INFO_2" ; |
312 | case VK_STRUCTURE_TYPE_COPY_MEMORY_TO_ACCELERATION_STRUCTURE_INFO_KHR: |
313 | return "VK_STRUCTURE_TYPE_COPY_MEMORY_TO_ACCELERATION_STRUCTURE_INFO_KHR" ; |
314 | case VK_STRUCTURE_TYPE_COPY_MEMORY_TO_MICROMAP_INFO_EXT: |
315 | return "VK_STRUCTURE_TYPE_COPY_MEMORY_TO_MICROMAP_INFO_EXT" ; |
316 | case VK_STRUCTURE_TYPE_COPY_MICROMAP_INFO_EXT: |
317 | return "VK_STRUCTURE_TYPE_COPY_MICROMAP_INFO_EXT" ; |
318 | case VK_STRUCTURE_TYPE_COPY_MICROMAP_TO_MEMORY_INFO_EXT: |
319 | return "VK_STRUCTURE_TYPE_COPY_MICROMAP_TO_MEMORY_INFO_EXT" ; |
320 | case VK_STRUCTURE_TYPE_CU_FUNCTION_CREATE_INFO_NVX: |
321 | return "VK_STRUCTURE_TYPE_CU_FUNCTION_CREATE_INFO_NVX" ; |
322 | case VK_STRUCTURE_TYPE_CU_LAUNCH_INFO_NVX: |
323 | return "VK_STRUCTURE_TYPE_CU_LAUNCH_INFO_NVX" ; |
324 | case VK_STRUCTURE_TYPE_CU_MODULE_CREATE_INFO_NVX: |
325 | return "VK_STRUCTURE_TYPE_CU_MODULE_CREATE_INFO_NVX" ; |
326 | case VK_STRUCTURE_TYPE_D3D12_FENCE_SUBMIT_INFO_KHR: |
327 | return "VK_STRUCTURE_TYPE_D3D12_FENCE_SUBMIT_INFO_KHR" ; |
328 | case VK_STRUCTURE_TYPE_DEBUG_MARKER_MARKER_INFO_EXT: |
329 | return "VK_STRUCTURE_TYPE_DEBUG_MARKER_MARKER_INFO_EXT" ; |
330 | case VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_NAME_INFO_EXT: |
331 | return "VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_NAME_INFO_EXT" ; |
332 | case VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_TAG_INFO_EXT: |
333 | return "VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_TAG_INFO_EXT" ; |
334 | case VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT: |
335 | return "VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT" ; |
336 | case VK_STRUCTURE_TYPE_DEBUG_UTILS_LABEL_EXT: |
337 | return "VK_STRUCTURE_TYPE_DEBUG_UTILS_LABEL_EXT" ; |
338 | case VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CALLBACK_DATA_EXT: |
339 | return "VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CALLBACK_DATA_EXT" ; |
340 | case VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT: |
341 | return "VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT" ; |
342 | case VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_NAME_INFO_EXT: |
343 | return "VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_NAME_INFO_EXT" ; |
344 | case VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_TAG_INFO_EXT: |
345 | return "VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_TAG_INFO_EXT" ; |
346 | case VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_BUFFER_CREATE_INFO_NV: |
347 | return "VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_BUFFER_CREATE_INFO_NV" ; |
348 | case VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV: |
349 | return "VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV" ; |
350 | case VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV: |
351 | return "VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV" ; |
352 | case VK_STRUCTURE_TYPE_DEPENDENCY_INFO: |
353 | return "VK_STRUCTURE_TYPE_DEPENDENCY_INFO" ; |
354 | case VK_STRUCTURE_TYPE_DESCRIPTOR_ADDRESS_INFO_EXT: |
355 | return "VK_STRUCTURE_TYPE_DESCRIPTOR_ADDRESS_INFO_EXT" ; |
356 | case VK_STRUCTURE_TYPE_DESCRIPTOR_BUFFER_BINDING_INFO_EXT: |
357 | return "VK_STRUCTURE_TYPE_DESCRIPTOR_BUFFER_BINDING_INFO_EXT" ; |
358 | case VK_STRUCTURE_TYPE_DESCRIPTOR_BUFFER_BINDING_PUSH_DESCRIPTOR_BUFFER_HANDLE_EXT: |
359 | return "VK_STRUCTURE_TYPE_DESCRIPTOR_BUFFER_BINDING_PUSH_DESCRIPTOR_BUFFER_HANDLE_EXT" ; |
360 | case VK_STRUCTURE_TYPE_DESCRIPTOR_GET_INFO_EXT: |
361 | return "VK_STRUCTURE_TYPE_DESCRIPTOR_GET_INFO_EXT" ; |
362 | case VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO: |
363 | return "VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO" ; |
364 | case VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_INLINE_UNIFORM_BLOCK_CREATE_INFO: |
365 | return "VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_INLINE_UNIFORM_BLOCK_CREATE_INFO" ; |
366 | case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO: |
367 | return "VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO" ; |
368 | case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_BINDING_REFERENCE_VALVE: |
369 | return "VK_STRUCTURE_TYPE_DESCRIPTOR_SET_BINDING_REFERENCE_VALVE" ; |
370 | case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO: |
371 | return "VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO" ; |
372 | case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO: |
373 | return "VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO" ; |
374 | case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_HOST_MAPPING_INFO_VALVE: |
375 | return "VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_HOST_MAPPING_INFO_VALVE" ; |
376 | case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_SUPPORT: |
377 | return "VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_SUPPORT" ; |
378 | case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO: |
379 | return "VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO" ; |
380 | case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT: |
381 | return "VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT" ; |
382 | case VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO: |
383 | return "VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO" ; |
384 | case VK_STRUCTURE_TYPE_DEVICE_ADDRESS_BINDING_CALLBACK_DATA_EXT: |
385 | return "VK_STRUCTURE_TYPE_DEVICE_ADDRESS_BINDING_CALLBACK_DATA_EXT" ; |
386 | case VK_STRUCTURE_TYPE_DEVICE_BUFFER_MEMORY_REQUIREMENTS: |
387 | return "VK_STRUCTURE_TYPE_DEVICE_BUFFER_MEMORY_REQUIREMENTS" ; |
388 | case VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO: |
389 | return "VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO" ; |
390 | case VK_STRUCTURE_TYPE_DEVICE_DEVICE_MEMORY_REPORT_CREATE_INFO_EXT: |
391 | return "VK_STRUCTURE_TYPE_DEVICE_DEVICE_MEMORY_REPORT_CREATE_INFO_EXT" ; |
392 | case VK_STRUCTURE_TYPE_DEVICE_DIAGNOSTICS_CONFIG_CREATE_INFO_NV: |
393 | return "VK_STRUCTURE_TYPE_DEVICE_DIAGNOSTICS_CONFIG_CREATE_INFO_NV" ; |
394 | case VK_STRUCTURE_TYPE_DEVICE_EVENT_INFO_EXT: |
395 | return "VK_STRUCTURE_TYPE_DEVICE_EVENT_INFO_EXT" ; |
396 | case VK_STRUCTURE_TYPE_DEVICE_FAULT_COUNTS_EXT: |
397 | return "VK_STRUCTURE_TYPE_DEVICE_FAULT_COUNTS_EXT" ; |
398 | case VK_STRUCTURE_TYPE_DEVICE_FAULT_INFO_EXT: |
399 | return "VK_STRUCTURE_TYPE_DEVICE_FAULT_INFO_EXT" ; |
400 | case VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO: |
401 | return "VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO" ; |
402 | case VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO: |
403 | return "VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO" ; |
404 | case VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO: |
405 | return "VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO" ; |
406 | case VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_CAPABILITIES_KHR: |
407 | return "VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_CAPABILITIES_KHR" ; |
408 | case VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_INFO_KHR: |
409 | return "VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_INFO_KHR" ; |
410 | case VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO: |
411 | return "VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO" ; |
412 | case VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO: |
413 | return "VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO" ; |
414 | case VK_STRUCTURE_TYPE_DEVICE_GROUP_SWAPCHAIN_CREATE_INFO_KHR: |
415 | return "VK_STRUCTURE_TYPE_DEVICE_GROUP_SWAPCHAIN_CREATE_INFO_KHR" ; |
416 | case VK_STRUCTURE_TYPE_DEVICE_IMAGE_MEMORY_REQUIREMENTS: |
417 | return "VK_STRUCTURE_TYPE_DEVICE_IMAGE_MEMORY_REQUIREMENTS" ; |
418 | case VK_STRUCTURE_TYPE_DEVICE_MEMORY_OPAQUE_CAPTURE_ADDRESS_INFO: |
419 | return "VK_STRUCTURE_TYPE_DEVICE_MEMORY_OPAQUE_CAPTURE_ADDRESS_INFO" ; |
420 | case VK_STRUCTURE_TYPE_DEVICE_MEMORY_OVERALLOCATION_CREATE_INFO_AMD: |
421 | return "VK_STRUCTURE_TYPE_DEVICE_MEMORY_OVERALLOCATION_CREATE_INFO_AMD" ; |
422 | case VK_STRUCTURE_TYPE_DEVICE_MEMORY_REPORT_CALLBACK_DATA_EXT: |
423 | return "VK_STRUCTURE_TYPE_DEVICE_MEMORY_REPORT_CALLBACK_DATA_EXT" ; |
424 | case VK_STRUCTURE_TYPE_DEVICE_PRIVATE_DATA_CREATE_INFO: |
425 | return "VK_STRUCTURE_TYPE_DEVICE_PRIVATE_DATA_CREATE_INFO" ; |
426 | case VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO: |
427 | return "VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO" ; |
428 | case VK_STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_KHR: |
429 | return "VK_STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_KHR" ; |
430 | case VK_STRUCTURE_TYPE_DEVICE_QUEUE_INFO_2: |
431 | return "VK_STRUCTURE_TYPE_DEVICE_QUEUE_INFO_2" ; |
432 | case VK_STRUCTURE_TYPE_DIRECTFB_SURFACE_CREATE_INFO_EXT: |
433 | return "VK_STRUCTURE_TYPE_DIRECTFB_SURFACE_CREATE_INFO_EXT" ; |
434 | case VK_STRUCTURE_TYPE_DIRECT_DRIVER_LOADING_INFO_LUNARG: |
435 | return "VK_STRUCTURE_TYPE_DIRECT_DRIVER_LOADING_INFO_LUNARG" ; |
436 | case VK_STRUCTURE_TYPE_DIRECT_DRIVER_LOADING_LIST_LUNARG: |
437 | return "VK_STRUCTURE_TYPE_DIRECT_DRIVER_LOADING_LIST_LUNARG" ; |
438 | case VK_STRUCTURE_TYPE_DISPLAY_EVENT_INFO_EXT: |
439 | return "VK_STRUCTURE_TYPE_DISPLAY_EVENT_INFO_EXT" ; |
440 | case VK_STRUCTURE_TYPE_DISPLAY_MODE_CREATE_INFO_KHR: |
441 | return "VK_STRUCTURE_TYPE_DISPLAY_MODE_CREATE_INFO_KHR" ; |
442 | case VK_STRUCTURE_TYPE_DISPLAY_MODE_PROPERTIES_2_KHR: |
443 | return "VK_STRUCTURE_TYPE_DISPLAY_MODE_PROPERTIES_2_KHR" ; |
444 | case VK_STRUCTURE_TYPE_DISPLAY_NATIVE_HDR_SURFACE_CAPABILITIES_AMD: |
445 | return "VK_STRUCTURE_TYPE_DISPLAY_NATIVE_HDR_SURFACE_CAPABILITIES_AMD" ; |
446 | case VK_STRUCTURE_TYPE_DISPLAY_PLANE_CAPABILITIES_2_KHR: |
447 | return "VK_STRUCTURE_TYPE_DISPLAY_PLANE_CAPABILITIES_2_KHR" ; |
448 | case VK_STRUCTURE_TYPE_DISPLAY_PLANE_INFO_2_KHR: |
449 | return "VK_STRUCTURE_TYPE_DISPLAY_PLANE_INFO_2_KHR" ; |
450 | case VK_STRUCTURE_TYPE_DISPLAY_PLANE_PROPERTIES_2_KHR: |
451 | return "VK_STRUCTURE_TYPE_DISPLAY_PLANE_PROPERTIES_2_KHR" ; |
452 | case VK_STRUCTURE_TYPE_DISPLAY_POWER_INFO_EXT: |
453 | return "VK_STRUCTURE_TYPE_DISPLAY_POWER_INFO_EXT" ; |
454 | case VK_STRUCTURE_TYPE_DISPLAY_PRESENT_INFO_KHR: |
455 | return "VK_STRUCTURE_TYPE_DISPLAY_PRESENT_INFO_KHR" ; |
456 | case VK_STRUCTURE_TYPE_DISPLAY_PROPERTIES_2_KHR: |
457 | return "VK_STRUCTURE_TYPE_DISPLAY_PROPERTIES_2_KHR" ; |
458 | case VK_STRUCTURE_TYPE_DISPLAY_SURFACE_CREATE_INFO_KHR: |
459 | return "VK_STRUCTURE_TYPE_DISPLAY_SURFACE_CREATE_INFO_KHR" ; |
460 | case VK_STRUCTURE_TYPE_DRM_FORMAT_MODIFIER_PROPERTIES_LIST_2_EXT: |
461 | return "VK_STRUCTURE_TYPE_DRM_FORMAT_MODIFIER_PROPERTIES_LIST_2_EXT" ; |
462 | case VK_STRUCTURE_TYPE_DRM_FORMAT_MODIFIER_PROPERTIES_LIST_EXT: |
463 | return "VK_STRUCTURE_TYPE_DRM_FORMAT_MODIFIER_PROPERTIES_LIST_EXT" ; |
464 | case VK_STRUCTURE_TYPE_EVENT_CREATE_INFO: |
465 | return "VK_STRUCTURE_TYPE_EVENT_CREATE_INFO" ; |
466 | case VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO: |
467 | return "VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO" ; |
468 | case VK_STRUCTURE_TYPE_EXPORT_FENCE_WIN32_HANDLE_INFO_KHR: |
469 | return "VK_STRUCTURE_TYPE_EXPORT_FENCE_WIN32_HANDLE_INFO_KHR" ; |
470 | case VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO: |
471 | return "VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO" ; |
472 | case VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO_NV: |
473 | return "VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO_NV" ; |
474 | case VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_KHR: |
475 | return "VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_KHR" ; |
476 | case VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_NV: |
477 | return "VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_NV" ; |
478 | case VK_STRUCTURE_TYPE_EXPORT_METAL_BUFFER_INFO_EXT: |
479 | return "VK_STRUCTURE_TYPE_EXPORT_METAL_BUFFER_INFO_EXT" ; |
480 | case VK_STRUCTURE_TYPE_EXPORT_METAL_COMMAND_QUEUE_INFO_EXT: |
481 | return "VK_STRUCTURE_TYPE_EXPORT_METAL_COMMAND_QUEUE_INFO_EXT" ; |
482 | case VK_STRUCTURE_TYPE_EXPORT_METAL_DEVICE_INFO_EXT: |
483 | return "VK_STRUCTURE_TYPE_EXPORT_METAL_DEVICE_INFO_EXT" ; |
484 | case VK_STRUCTURE_TYPE_EXPORT_METAL_IO_SURFACE_INFO_EXT: |
485 | return "VK_STRUCTURE_TYPE_EXPORT_METAL_IO_SURFACE_INFO_EXT" ; |
486 | case VK_STRUCTURE_TYPE_EXPORT_METAL_OBJECTS_INFO_EXT: |
487 | return "VK_STRUCTURE_TYPE_EXPORT_METAL_OBJECTS_INFO_EXT" ; |
488 | case VK_STRUCTURE_TYPE_EXPORT_METAL_OBJECT_CREATE_INFO_EXT: |
489 | return "VK_STRUCTURE_TYPE_EXPORT_METAL_OBJECT_CREATE_INFO_EXT" ; |
490 | case VK_STRUCTURE_TYPE_EXPORT_METAL_SHARED_EVENT_INFO_EXT: |
491 | return "VK_STRUCTURE_TYPE_EXPORT_METAL_SHARED_EVENT_INFO_EXT" ; |
492 | case VK_STRUCTURE_TYPE_EXPORT_METAL_TEXTURE_INFO_EXT: |
493 | return "VK_STRUCTURE_TYPE_EXPORT_METAL_TEXTURE_INFO_EXT" ; |
494 | case VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO: |
495 | return "VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO" ; |
496 | case VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR: |
497 | return "VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR" ; |
498 | case VK_STRUCTURE_TYPE_EXTERNAL_BUFFER_PROPERTIES: |
499 | return "VK_STRUCTURE_TYPE_EXTERNAL_BUFFER_PROPERTIES" ; |
500 | case VK_STRUCTURE_TYPE_EXTERNAL_FENCE_PROPERTIES: |
501 | return "VK_STRUCTURE_TYPE_EXTERNAL_FENCE_PROPERTIES" ; |
502 | case VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_ANDROID: |
503 | return "VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_ANDROID" ; |
504 | case VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES: |
505 | return "VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES" ; |
506 | case VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO: |
507 | return "VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO" ; |
508 | case VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO: |
509 | return "VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO" ; |
510 | case VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO_NV: |
511 | return "VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO_NV" ; |
512 | case VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES: |
513 | return "VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES" ; |
514 | case VK_STRUCTURE_TYPE_FENCE_CREATE_INFO: |
515 | return "VK_STRUCTURE_TYPE_FENCE_CREATE_INFO" ; |
516 | case VK_STRUCTURE_TYPE_FENCE_GET_FD_INFO_KHR: |
517 | return "VK_STRUCTURE_TYPE_FENCE_GET_FD_INFO_KHR" ; |
518 | case VK_STRUCTURE_TYPE_FENCE_GET_WIN32_HANDLE_INFO_KHR: |
519 | return "VK_STRUCTURE_TYPE_FENCE_GET_WIN32_HANDLE_INFO_KHR" ; |
520 | case VK_STRUCTURE_TYPE_FILTER_CUBIC_IMAGE_VIEW_IMAGE_FORMAT_PROPERTIES_EXT: |
521 | return "VK_STRUCTURE_TYPE_FILTER_CUBIC_IMAGE_VIEW_IMAGE_FORMAT_PROPERTIES_EXT" ; |
522 | case VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2: |
523 | return "VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2" ; |
524 | case VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_3: |
525 | return "VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_3" ; |
526 | case VK_STRUCTURE_TYPE_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR: |
527 | return "VK_STRUCTURE_TYPE_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR" ; |
528 | case VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENTS_CREATE_INFO: |
529 | return "VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENTS_CREATE_INFO" ; |
530 | case VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENT_IMAGE_INFO: |
531 | return "VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENT_IMAGE_INFO" ; |
532 | case VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO: |
533 | return "VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO" ; |
534 | case VK_STRUCTURE_TYPE_FRAMEBUFFER_MIXED_SAMPLES_COMBINATION_NV: |
535 | return "VK_STRUCTURE_TYPE_FRAMEBUFFER_MIXED_SAMPLES_COMBINATION_NV" ; |
536 | case VK_STRUCTURE_TYPE_GENERATED_COMMANDS_INFO_NV: |
537 | return "VK_STRUCTURE_TYPE_GENERATED_COMMANDS_INFO_NV" ; |
538 | case VK_STRUCTURE_TYPE_GENERATED_COMMANDS_MEMORY_REQUIREMENTS_INFO_NV: |
539 | return "VK_STRUCTURE_TYPE_GENERATED_COMMANDS_MEMORY_REQUIREMENTS_INFO_NV" ; |
540 | case VK_STRUCTURE_TYPE_GEOMETRY_AABB_NV: |
541 | return "VK_STRUCTURE_TYPE_GEOMETRY_AABB_NV" ; |
542 | case VK_STRUCTURE_TYPE_GEOMETRY_NV: |
543 | return "VK_STRUCTURE_TYPE_GEOMETRY_NV" ; |
544 | case VK_STRUCTURE_TYPE_GEOMETRY_TRIANGLES_NV: |
545 | return "VK_STRUCTURE_TYPE_GEOMETRY_TRIANGLES_NV" ; |
546 | case VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO: |
547 | return "VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO" ; |
548 | case VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_LIBRARY_CREATE_INFO_EXT: |
549 | return "VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_LIBRARY_CREATE_INFO_EXT" ; |
550 | case VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_SHADER_GROUPS_CREATE_INFO_NV: |
551 | return "VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_SHADER_GROUPS_CREATE_INFO_NV" ; |
552 | case VK_STRUCTURE_TYPE_GRAPHICS_SHADER_GROUP_CREATE_INFO_NV: |
553 | return "VK_STRUCTURE_TYPE_GRAPHICS_SHADER_GROUP_CREATE_INFO_NV" ; |
554 | case VK_STRUCTURE_TYPE_HDR_METADATA_EXT: |
555 | return "VK_STRUCTURE_TYPE_HDR_METADATA_EXT" ; |
556 | case VK_STRUCTURE_TYPE_HEADLESS_SURFACE_CREATE_INFO_EXT: |
557 | return "VK_STRUCTURE_TYPE_HEADLESS_SURFACE_CREATE_INFO_EXT" ; |
558 | case VK_STRUCTURE_TYPE_IMAGEPIPE_SURFACE_CREATE_INFO_FUCHSIA: |
559 | return "VK_STRUCTURE_TYPE_IMAGEPIPE_SURFACE_CREATE_INFO_FUCHSIA" ; |
560 | case VK_STRUCTURE_TYPE_IMAGE_BLIT_2: |
561 | return "VK_STRUCTURE_TYPE_IMAGE_BLIT_2" ; |
562 | case VK_STRUCTURE_TYPE_IMAGE_CAPTURE_DESCRIPTOR_DATA_INFO_EXT: |
563 | return "VK_STRUCTURE_TYPE_IMAGE_CAPTURE_DESCRIPTOR_DATA_INFO_EXT" ; |
564 | case VK_STRUCTURE_TYPE_IMAGE_COMPRESSION_CONTROL_EXT: |
565 | return "VK_STRUCTURE_TYPE_IMAGE_COMPRESSION_CONTROL_EXT" ; |
566 | case VK_STRUCTURE_TYPE_IMAGE_COMPRESSION_PROPERTIES_EXT: |
567 | return "VK_STRUCTURE_TYPE_IMAGE_COMPRESSION_PROPERTIES_EXT" ; |
568 | case VK_STRUCTURE_TYPE_IMAGE_CONSTRAINTS_INFO_FUCHSIA: |
569 | return "VK_STRUCTURE_TYPE_IMAGE_CONSTRAINTS_INFO_FUCHSIA" ; |
570 | case VK_STRUCTURE_TYPE_IMAGE_COPY_2: |
571 | return "VK_STRUCTURE_TYPE_IMAGE_COPY_2" ; |
572 | case VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO: |
573 | return "VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO" ; |
574 | case VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_EXPLICIT_CREATE_INFO_EXT: |
575 | return "VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_EXPLICIT_CREATE_INFO_EXT" ; |
576 | case VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_LIST_CREATE_INFO_EXT: |
577 | return "VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_LIST_CREATE_INFO_EXT" ; |
578 | case VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_PROPERTIES_EXT: |
579 | return "VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_PROPERTIES_EXT" ; |
580 | case VK_STRUCTURE_TYPE_IMAGE_FORMAT_CONSTRAINTS_INFO_FUCHSIA: |
581 | return "VK_STRUCTURE_TYPE_IMAGE_FORMAT_CONSTRAINTS_INFO_FUCHSIA" ; |
582 | case VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO: |
583 | return "VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO" ; |
584 | case VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2: |
585 | return "VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2" ; |
586 | case VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER: |
587 | return "VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER" ; |
588 | case VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER_2: |
589 | return "VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER_2" ; |
590 | case VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2: |
591 | return "VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2" ; |
592 | case VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO: |
593 | return "VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO" ; |
594 | case VK_STRUCTURE_TYPE_IMAGE_RESOLVE_2: |
595 | return "VK_STRUCTURE_TYPE_IMAGE_RESOLVE_2" ; |
596 | case VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2: |
597 | return "VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2" ; |
598 | case VK_STRUCTURE_TYPE_IMAGE_STENCIL_USAGE_CREATE_INFO: |
599 | return "VK_STRUCTURE_TYPE_IMAGE_STENCIL_USAGE_CREATE_INFO" ; |
600 | case VK_STRUCTURE_TYPE_IMAGE_SUBRESOURCE_2_EXT: |
601 | return "VK_STRUCTURE_TYPE_IMAGE_SUBRESOURCE_2_EXT" ; |
602 | case VK_STRUCTURE_TYPE_IMAGE_SWAPCHAIN_CREATE_INFO_KHR: |
603 | return "VK_STRUCTURE_TYPE_IMAGE_SWAPCHAIN_CREATE_INFO_KHR" ; |
604 | case VK_STRUCTURE_TYPE_IMAGE_VIEW_ADDRESS_PROPERTIES_NVX: |
605 | return "VK_STRUCTURE_TYPE_IMAGE_VIEW_ADDRESS_PROPERTIES_NVX" ; |
606 | case VK_STRUCTURE_TYPE_IMAGE_VIEW_ASTC_DECODE_MODE_EXT: |
607 | return "VK_STRUCTURE_TYPE_IMAGE_VIEW_ASTC_DECODE_MODE_EXT" ; |
608 | case VK_STRUCTURE_TYPE_IMAGE_VIEW_CAPTURE_DESCRIPTOR_DATA_INFO_EXT: |
609 | return "VK_STRUCTURE_TYPE_IMAGE_VIEW_CAPTURE_DESCRIPTOR_DATA_INFO_EXT" ; |
610 | case VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO: |
611 | return "VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO" ; |
612 | case VK_STRUCTURE_TYPE_IMAGE_VIEW_HANDLE_INFO_NVX: |
613 | return "VK_STRUCTURE_TYPE_IMAGE_VIEW_HANDLE_INFO_NVX" ; |
614 | case VK_STRUCTURE_TYPE_IMAGE_VIEW_MIN_LOD_CREATE_INFO_EXT: |
615 | return "VK_STRUCTURE_TYPE_IMAGE_VIEW_MIN_LOD_CREATE_INFO_EXT" ; |
616 | case VK_STRUCTURE_TYPE_IMAGE_VIEW_SAMPLE_WEIGHT_CREATE_INFO_QCOM: |
617 | return "VK_STRUCTURE_TYPE_IMAGE_VIEW_SAMPLE_WEIGHT_CREATE_INFO_QCOM" ; |
618 | case VK_STRUCTURE_TYPE_IMAGE_VIEW_SLICED_CREATE_INFO_EXT: |
619 | return "VK_STRUCTURE_TYPE_IMAGE_VIEW_SLICED_CREATE_INFO_EXT" ; |
620 | case VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO: |
621 | return "VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO" ; |
622 | case VK_STRUCTURE_TYPE_IMPORT_ANDROID_HARDWARE_BUFFER_INFO_ANDROID: |
623 | return "VK_STRUCTURE_TYPE_IMPORT_ANDROID_HARDWARE_BUFFER_INFO_ANDROID" ; |
624 | case VK_STRUCTURE_TYPE_IMPORT_FENCE_FD_INFO_KHR: |
625 | return "VK_STRUCTURE_TYPE_IMPORT_FENCE_FD_INFO_KHR" ; |
626 | case VK_STRUCTURE_TYPE_IMPORT_FENCE_WIN32_HANDLE_INFO_KHR: |
627 | return "VK_STRUCTURE_TYPE_IMPORT_FENCE_WIN32_HANDLE_INFO_KHR" ; |
628 | case VK_STRUCTURE_TYPE_IMPORT_MEMORY_BUFFER_COLLECTION_FUCHSIA: |
629 | return "VK_STRUCTURE_TYPE_IMPORT_MEMORY_BUFFER_COLLECTION_FUCHSIA" ; |
630 | case VK_STRUCTURE_TYPE_IMPORT_MEMORY_FD_INFO_KHR: |
631 | return "VK_STRUCTURE_TYPE_IMPORT_MEMORY_FD_INFO_KHR" ; |
632 | case VK_STRUCTURE_TYPE_IMPORT_MEMORY_HOST_POINTER_INFO_EXT: |
633 | return "VK_STRUCTURE_TYPE_IMPORT_MEMORY_HOST_POINTER_INFO_EXT" ; |
634 | case VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR: |
635 | return "VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR" ; |
636 | case VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_NV: |
637 | return "VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_NV" ; |
638 | case VK_STRUCTURE_TYPE_IMPORT_MEMORY_ZIRCON_HANDLE_INFO_FUCHSIA: |
639 | return "VK_STRUCTURE_TYPE_IMPORT_MEMORY_ZIRCON_HANDLE_INFO_FUCHSIA" ; |
640 | case VK_STRUCTURE_TYPE_IMPORT_METAL_BUFFER_INFO_EXT: |
641 | return "VK_STRUCTURE_TYPE_IMPORT_METAL_BUFFER_INFO_EXT" ; |
642 | case VK_STRUCTURE_TYPE_IMPORT_METAL_IO_SURFACE_INFO_EXT: |
643 | return "VK_STRUCTURE_TYPE_IMPORT_METAL_IO_SURFACE_INFO_EXT" ; |
644 | case VK_STRUCTURE_TYPE_IMPORT_METAL_SHARED_EVENT_INFO_EXT: |
645 | return "VK_STRUCTURE_TYPE_IMPORT_METAL_SHARED_EVENT_INFO_EXT" ; |
646 | case VK_STRUCTURE_TYPE_IMPORT_METAL_TEXTURE_INFO_EXT: |
647 | return "VK_STRUCTURE_TYPE_IMPORT_METAL_TEXTURE_INFO_EXT" ; |
648 | case VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_FD_INFO_KHR: |
649 | return "VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_FD_INFO_KHR" ; |
650 | case VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR: |
651 | return "VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR" ; |
652 | case VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_ZIRCON_HANDLE_INFO_FUCHSIA: |
653 | return "VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_ZIRCON_HANDLE_INFO_FUCHSIA" ; |
654 | case VK_STRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_CREATE_INFO_NV: |
655 | return "VK_STRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_CREATE_INFO_NV" ; |
656 | case VK_STRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_TOKEN_NV: |
657 | return "VK_STRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_TOKEN_NV" ; |
658 | case VK_STRUCTURE_TYPE_INITIALIZE_PERFORMANCE_API_INFO_INTEL: |
659 | return "VK_STRUCTURE_TYPE_INITIALIZE_PERFORMANCE_API_INFO_INTEL" ; |
660 | case VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO: |
661 | return "VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO" ; |
662 | case VK_STRUCTURE_TYPE_IOS_SURFACE_CREATE_INFO_MVK: |
663 | return "VK_STRUCTURE_TYPE_IOS_SURFACE_CREATE_INFO_MVK" ; |
664 | case VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO: |
665 | return "VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO" ; |
666 | case VK_STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO: |
667 | return "VK_STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO" ; |
668 | case VK_STRUCTURE_TYPE_MACOS_SURFACE_CREATE_INFO_MVK: |
669 | return "VK_STRUCTURE_TYPE_MACOS_SURFACE_CREATE_INFO_MVK" ; |
670 | case VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE: |
671 | return "VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE" ; |
672 | case VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO: |
673 | return "VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO" ; |
674 | case VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO: |
675 | return "VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO" ; |
676 | case VK_STRUCTURE_TYPE_MEMORY_BARRIER: |
677 | return "VK_STRUCTURE_TYPE_MEMORY_BARRIER" ; |
678 | case VK_STRUCTURE_TYPE_MEMORY_BARRIER_2: |
679 | return "VK_STRUCTURE_TYPE_MEMORY_BARRIER_2" ; |
680 | case VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO: |
681 | return "VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO" ; |
682 | case VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS: |
683 | return "VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS" ; |
684 | case VK_STRUCTURE_TYPE_MEMORY_FD_PROPERTIES_KHR: |
685 | return "VK_STRUCTURE_TYPE_MEMORY_FD_PROPERTIES_KHR" ; |
686 | case VK_STRUCTURE_TYPE_MEMORY_GET_ANDROID_HARDWARE_BUFFER_INFO_ANDROID: |
687 | return "VK_STRUCTURE_TYPE_MEMORY_GET_ANDROID_HARDWARE_BUFFER_INFO_ANDROID" ; |
688 | case VK_STRUCTURE_TYPE_MEMORY_GET_FD_INFO_KHR: |
689 | return "VK_STRUCTURE_TYPE_MEMORY_GET_FD_INFO_KHR" ; |
690 | case VK_STRUCTURE_TYPE_MEMORY_GET_REMOTE_ADDRESS_INFO_NV: |
691 | return "VK_STRUCTURE_TYPE_MEMORY_GET_REMOTE_ADDRESS_INFO_NV" ; |
692 | case VK_STRUCTURE_TYPE_MEMORY_GET_WIN32_HANDLE_INFO_KHR: |
693 | return "VK_STRUCTURE_TYPE_MEMORY_GET_WIN32_HANDLE_INFO_KHR" ; |
694 | case VK_STRUCTURE_TYPE_MEMORY_GET_ZIRCON_HANDLE_INFO_FUCHSIA: |
695 | return "VK_STRUCTURE_TYPE_MEMORY_GET_ZIRCON_HANDLE_INFO_FUCHSIA" ; |
696 | case VK_STRUCTURE_TYPE_MEMORY_HOST_POINTER_PROPERTIES_EXT: |
697 | return "VK_STRUCTURE_TYPE_MEMORY_HOST_POINTER_PROPERTIES_EXT" ; |
698 | case VK_STRUCTURE_TYPE_MEMORY_MAP_INFO_KHR: |
699 | return "VK_STRUCTURE_TYPE_MEMORY_MAP_INFO_KHR" ; |
700 | case VK_STRUCTURE_TYPE_MEMORY_OPAQUE_CAPTURE_ADDRESS_ALLOCATE_INFO: |
701 | return "VK_STRUCTURE_TYPE_MEMORY_OPAQUE_CAPTURE_ADDRESS_ALLOCATE_INFO" ; |
702 | case VK_STRUCTURE_TYPE_MEMORY_PRIORITY_ALLOCATE_INFO_EXT: |
703 | return "VK_STRUCTURE_TYPE_MEMORY_PRIORITY_ALLOCATE_INFO_EXT" ; |
704 | case VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2: |
705 | return "VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2" ; |
706 | case VK_STRUCTURE_TYPE_MEMORY_UNMAP_INFO_KHR: |
707 | return "VK_STRUCTURE_TYPE_MEMORY_UNMAP_INFO_KHR" ; |
708 | case VK_STRUCTURE_TYPE_MEMORY_WIN32_HANDLE_PROPERTIES_KHR: |
709 | return "VK_STRUCTURE_TYPE_MEMORY_WIN32_HANDLE_PROPERTIES_KHR" ; |
710 | case VK_STRUCTURE_TYPE_MEMORY_ZIRCON_HANDLE_PROPERTIES_FUCHSIA: |
711 | return "VK_STRUCTURE_TYPE_MEMORY_ZIRCON_HANDLE_PROPERTIES_FUCHSIA" ; |
712 | case VK_STRUCTURE_TYPE_METAL_SURFACE_CREATE_INFO_EXT: |
713 | return "VK_STRUCTURE_TYPE_METAL_SURFACE_CREATE_INFO_EXT" ; |
714 | case VK_STRUCTURE_TYPE_MICROMAP_BUILD_INFO_EXT: |
715 | return "VK_STRUCTURE_TYPE_MICROMAP_BUILD_INFO_EXT" ; |
716 | case VK_STRUCTURE_TYPE_MICROMAP_BUILD_SIZES_INFO_EXT: |
717 | return "VK_STRUCTURE_TYPE_MICROMAP_BUILD_SIZES_INFO_EXT" ; |
718 | case VK_STRUCTURE_TYPE_MICROMAP_CREATE_INFO_EXT: |
719 | return "VK_STRUCTURE_TYPE_MICROMAP_CREATE_INFO_EXT" ; |
720 | case VK_STRUCTURE_TYPE_MICROMAP_VERSION_INFO_EXT: |
721 | return "VK_STRUCTURE_TYPE_MICROMAP_VERSION_INFO_EXT" ; |
722 | case VK_STRUCTURE_TYPE_MULTISAMPLED_RENDER_TO_SINGLE_SAMPLED_INFO_EXT: |
723 | return "VK_STRUCTURE_TYPE_MULTISAMPLED_RENDER_TO_SINGLE_SAMPLED_INFO_EXT" ; |
724 | case VK_STRUCTURE_TYPE_MULTISAMPLE_PROPERTIES_EXT: |
725 | return "VK_STRUCTURE_TYPE_MULTISAMPLE_PROPERTIES_EXT" ; |
726 | case VK_STRUCTURE_TYPE_MULTIVIEW_PER_VIEW_ATTRIBUTES_INFO_NVX: |
727 | return "VK_STRUCTURE_TYPE_MULTIVIEW_PER_VIEW_ATTRIBUTES_INFO_NVX" ; |
728 | case VK_STRUCTURE_TYPE_MULTIVIEW_PER_VIEW_RENDER_AREAS_RENDER_PASS_BEGIN_INFO_QCOM: |
729 | return "VK_STRUCTURE_TYPE_MULTIVIEW_PER_VIEW_RENDER_AREAS_RENDER_PASS_BEGIN_INFO_QCOM" ; |
730 | case VK_STRUCTURE_TYPE_MUTABLE_DESCRIPTOR_TYPE_CREATE_INFO_EXT: |
731 | return "VK_STRUCTURE_TYPE_MUTABLE_DESCRIPTOR_TYPE_CREATE_INFO_EXT" ; |
732 | case VK_STRUCTURE_TYPE_OPAQUE_CAPTURE_DESCRIPTOR_DATA_CREATE_INFO_EXT: |
733 | return "VK_STRUCTURE_TYPE_OPAQUE_CAPTURE_DESCRIPTOR_DATA_CREATE_INFO_EXT" ; |
734 | case VK_STRUCTURE_TYPE_OPTICAL_FLOW_EXECUTE_INFO_NV: |
735 | return "VK_STRUCTURE_TYPE_OPTICAL_FLOW_EXECUTE_INFO_NV" ; |
736 | case VK_STRUCTURE_TYPE_OPTICAL_FLOW_IMAGE_FORMAT_INFO_NV: |
737 | return "VK_STRUCTURE_TYPE_OPTICAL_FLOW_IMAGE_FORMAT_INFO_NV" ; |
738 | case VK_STRUCTURE_TYPE_OPTICAL_FLOW_IMAGE_FORMAT_PROPERTIES_NV: |
739 | return "VK_STRUCTURE_TYPE_OPTICAL_FLOW_IMAGE_FORMAT_PROPERTIES_NV" ; |
740 | case VK_STRUCTURE_TYPE_OPTICAL_FLOW_SESSION_CREATE_INFO_NV: |
741 | return "VK_STRUCTURE_TYPE_OPTICAL_FLOW_SESSION_CREATE_INFO_NV" ; |
742 | case VK_STRUCTURE_TYPE_OPTICAL_FLOW_SESSION_CREATE_PRIVATE_DATA_INFO_NV: |
743 | return "VK_STRUCTURE_TYPE_OPTICAL_FLOW_SESSION_CREATE_PRIVATE_DATA_INFO_NV" ; |
744 | case VK_STRUCTURE_TYPE_PERFORMANCE_CONFIGURATION_ACQUIRE_INFO_INTEL: |
745 | return "VK_STRUCTURE_TYPE_PERFORMANCE_CONFIGURATION_ACQUIRE_INFO_INTEL" ; |
746 | case VK_STRUCTURE_TYPE_PERFORMANCE_COUNTER_DESCRIPTION_KHR: |
747 | return "VK_STRUCTURE_TYPE_PERFORMANCE_COUNTER_DESCRIPTION_KHR" ; |
748 | case VK_STRUCTURE_TYPE_PERFORMANCE_COUNTER_KHR: |
749 | return "VK_STRUCTURE_TYPE_PERFORMANCE_COUNTER_KHR" ; |
750 | case VK_STRUCTURE_TYPE_PERFORMANCE_MARKER_INFO_INTEL: |
751 | return "VK_STRUCTURE_TYPE_PERFORMANCE_MARKER_INFO_INTEL" ; |
752 | case VK_STRUCTURE_TYPE_PERFORMANCE_OVERRIDE_INFO_INTEL: |
753 | return "VK_STRUCTURE_TYPE_PERFORMANCE_OVERRIDE_INFO_INTEL" ; |
754 | case VK_STRUCTURE_TYPE_PERFORMANCE_QUERY_SUBMIT_INFO_KHR: |
755 | return "VK_STRUCTURE_TYPE_PERFORMANCE_QUERY_SUBMIT_INFO_KHR" ; |
756 | case VK_STRUCTURE_TYPE_PERFORMANCE_STREAM_MARKER_INFO_INTEL: |
757 | return "VK_STRUCTURE_TYPE_PERFORMANCE_STREAM_MARKER_INFO_INTEL" ; |
758 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES: |
759 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES" ; |
760 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_4444_FORMATS_FEATURES_EXT: |
761 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_4444_FORMATS_FEATURES_EXT" ; |
762 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES: |
763 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES" ; |
764 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ACCELERATION_STRUCTURE_FEATURES_KHR: |
765 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ACCELERATION_STRUCTURE_FEATURES_KHR" ; |
766 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ACCELERATION_STRUCTURE_PROPERTIES_KHR: |
767 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ACCELERATION_STRUCTURE_PROPERTIES_KHR" ; |
768 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ADDRESS_BINDING_REPORT_FEATURES_EXT: |
769 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ADDRESS_BINDING_REPORT_FEATURES_EXT" ; |
770 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_AMIGO_PROFILING_FEATURES_SEC: |
771 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_AMIGO_PROFILING_FEATURES_SEC" ; |
772 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ASTC_DECODE_FEATURES_EXT: |
773 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ASTC_DECODE_FEATURES_EXT" ; |
774 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ATTACHMENT_FEEDBACK_LOOP_DYNAMIC_STATE_FEATURES_EXT: |
775 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ATTACHMENT_FEEDBACK_LOOP_DYNAMIC_STATE_FEATURES_EXT" ; |
776 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ATTACHMENT_FEEDBACK_LOOP_LAYOUT_FEATURES_EXT: |
777 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ATTACHMENT_FEEDBACK_LOOP_LAYOUT_FEATURES_EXT" ; |
778 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_FEATURES_EXT: |
779 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_FEATURES_EXT" ; |
780 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_PROPERTIES_EXT: |
781 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_PROPERTIES_EXT" ; |
782 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BORDER_COLOR_SWIZZLE_FEATURES_EXT: |
783 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BORDER_COLOR_SWIZZLE_FEATURES_EXT" ; |
784 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES: |
785 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES" ; |
786 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES_EXT: |
787 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES_EXT" ; |
788 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CLUSTER_CULLING_SHADER_FEATURES_HUAWEI: |
789 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CLUSTER_CULLING_SHADER_FEATURES_HUAWEI" ; |
790 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CLUSTER_CULLING_SHADER_PROPERTIES_HUAWEI: |
791 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CLUSTER_CULLING_SHADER_PROPERTIES_HUAWEI" ; |
792 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COHERENT_MEMORY_FEATURES_AMD: |
793 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COHERENT_MEMORY_FEATURES_AMD" ; |
794 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COLOR_WRITE_ENABLE_FEATURES_EXT: |
795 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COLOR_WRITE_ENABLE_FEATURES_EXT" ; |
796 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_FEATURES_NV: |
797 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_FEATURES_NV" ; |
798 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONDITIONAL_RENDERING_FEATURES_EXT: |
799 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONDITIONAL_RENDERING_FEATURES_EXT" ; |
800 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONSERVATIVE_RASTERIZATION_PROPERTIES_EXT: |
801 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONSERVATIVE_RASTERIZATION_PROPERTIES_EXT" ; |
802 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_FEATURES_NV: |
803 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_FEATURES_NV" ; |
804 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_PROPERTIES_NV: |
805 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_PROPERTIES_NV" ; |
806 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COPY_MEMORY_INDIRECT_FEATURES_NV: |
807 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COPY_MEMORY_INDIRECT_FEATURES_NV" ; |
808 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COPY_MEMORY_INDIRECT_PROPERTIES_NV: |
809 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COPY_MEMORY_INDIRECT_PROPERTIES_NV" ; |
810 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CORNER_SAMPLED_IMAGE_FEATURES_NV: |
811 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CORNER_SAMPLED_IMAGE_FEATURES_NV" ; |
812 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COVERAGE_REDUCTION_MODE_FEATURES_NV: |
813 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COVERAGE_REDUCTION_MODE_FEATURES_NV" ; |
814 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUSTOM_BORDER_COLOR_FEATURES_EXT: |
815 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUSTOM_BORDER_COLOR_FEATURES_EXT" ; |
816 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUSTOM_BORDER_COLOR_PROPERTIES_EXT: |
817 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUSTOM_BORDER_COLOR_PROPERTIES_EXT" ; |
818 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEDICATED_ALLOCATION_IMAGE_ALIASING_FEATURES_NV: |
819 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEDICATED_ALLOCATION_IMAGE_ALIASING_FEATURES_NV" ; |
820 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLAMP_ZERO_ONE_FEATURES_EXT: |
821 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLAMP_ZERO_ONE_FEATURES_EXT" ; |
822 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_CONTROL_FEATURES_EXT: |
823 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_CONTROL_FEATURES_EXT" ; |
824 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_ENABLE_FEATURES_EXT: |
825 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_ENABLE_FEATURES_EXT" ; |
826 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_STENCIL_RESOLVE_PROPERTIES: |
827 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_STENCIL_RESOLVE_PROPERTIES" ; |
828 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_BUFFER_DENSITY_MAP_PROPERTIES_EXT: |
829 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_BUFFER_DENSITY_MAP_PROPERTIES_EXT" ; |
830 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_BUFFER_FEATURES_EXT: |
831 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_BUFFER_FEATURES_EXT" ; |
832 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_BUFFER_PROPERTIES_EXT: |
833 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_BUFFER_PROPERTIES_EXT" ; |
834 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES: |
835 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES" ; |
836 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_PROPERTIES: |
837 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_PROPERTIES" ; |
838 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_SET_HOST_MAPPING_FEATURES_VALVE: |
839 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_SET_HOST_MAPPING_FEATURES_VALVE" ; |
840 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_FEATURES_NV: |
841 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_FEATURES_NV" ; |
842 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_PROPERTIES_NV: |
843 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_PROPERTIES_NV" ; |
844 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_MEMORY_REPORT_FEATURES_EXT: |
845 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_MEMORY_REPORT_FEATURES_EXT" ; |
846 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DIAGNOSTICS_CONFIG_FEATURES_NV: |
847 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DIAGNOSTICS_CONFIG_FEATURES_NV" ; |
848 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DISCARD_RECTANGLE_PROPERTIES_EXT: |
849 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DISCARD_RECTANGLE_PROPERTIES_EXT" ; |
850 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
851 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DISPLACEMENT_MICROMAP_FEATURES_NV: |
852 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DISPLACEMENT_MICROMAP_FEATURES_NV" ; |
853 | #endif // VK_ENABLE_BETA_EXTENSIONS |
854 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
855 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DISPLACEMENT_MICROMAP_PROPERTIES_NV: |
856 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DISPLACEMENT_MICROMAP_PROPERTIES_NV" ; |
857 | #endif // VK_ENABLE_BETA_EXTENSIONS |
858 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIES: |
859 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIES" ; |
860 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRM_PROPERTIES_EXT: |
861 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRM_PROPERTIES_EXT" ; |
862 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_FEATURES: |
863 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_FEATURES" ; |
864 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXCLUSIVE_SCISSOR_FEATURES_NV: |
865 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXCLUSIVE_SCISSOR_FEATURES_NV" ; |
866 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_2_FEATURES_EXT: |
867 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_2_FEATURES_EXT" ; |
868 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_3_FEATURES_EXT: |
869 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_3_FEATURES_EXT" ; |
870 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_3_PROPERTIES_EXT: |
871 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_3_PROPERTIES_EXT" ; |
872 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_FEATURES_EXT: |
873 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_FEATURES_EXT" ; |
874 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO: |
875 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO" ; |
876 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO: |
877 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO" ; |
878 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO: |
879 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO" ; |
880 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_HOST_PROPERTIES_EXT: |
881 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_HOST_PROPERTIES_EXT" ; |
882 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_RDMA_FEATURES_NV: |
883 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_RDMA_FEATURES_NV" ; |
884 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO: |
885 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO" ; |
886 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FAULT_FEATURES_EXT: |
887 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FAULT_FEATURES_EXT" ; |
888 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2: |
889 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2" ; |
890 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIES: |
891 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIES" ; |
892 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_2_FEATURES_EXT: |
893 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_2_FEATURES_EXT" ; |
894 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_2_PROPERTIES_EXT: |
895 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_2_PROPERTIES_EXT" ; |
896 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_FEATURES_EXT: |
897 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_FEATURES_EXT" ; |
898 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_OFFSET_FEATURES_QCOM: |
899 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_OFFSET_FEATURES_QCOM" ; |
900 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_OFFSET_PROPERTIES_QCOM: |
901 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_OFFSET_PROPERTIES_QCOM" ; |
902 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_PROPERTIES_EXT: |
903 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_PROPERTIES_EXT" ; |
904 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_FEATURES_KHR: |
905 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_FEATURES_KHR" ; |
906 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_PROPERTIES_KHR: |
907 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_PROPERTIES_KHR" ; |
908 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_INTERLOCK_FEATURES_EXT: |
909 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_INTERLOCK_FEATURES_EXT" ; |
910 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_ENUMS_FEATURES_NV: |
911 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_ENUMS_FEATURES_NV" ; |
912 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_ENUMS_PROPERTIES_NV: |
913 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_ENUMS_PROPERTIES_NV" ; |
914 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_FEATURES_KHR: |
915 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_FEATURES_KHR" ; |
916 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_KHR: |
917 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_KHR" ; |
918 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_PROPERTIES_KHR: |
919 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_PROPERTIES_KHR" ; |
920 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GLOBAL_PRIORITY_QUERY_FEATURES_KHR: |
921 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GLOBAL_PRIORITY_QUERY_FEATURES_KHR" ; |
922 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GRAPHICS_PIPELINE_LIBRARY_FEATURES_EXT: |
923 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GRAPHICS_PIPELINE_LIBRARY_FEATURES_EXT" ; |
924 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GRAPHICS_PIPELINE_LIBRARY_PROPERTIES_EXT: |
925 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GRAPHICS_PIPELINE_LIBRARY_PROPERTIES_EXT" ; |
926 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GROUP_PROPERTIES: |
927 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GROUP_PROPERTIES" ; |
928 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES: |
929 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES" ; |
930 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES: |
931 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES" ; |
932 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGELESS_FRAMEBUFFER_FEATURES: |
933 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGELESS_FRAMEBUFFER_FEATURES" ; |
934 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_2D_VIEW_OF_3D_FEATURES_EXT: |
935 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_2D_VIEW_OF_3D_FEATURES_EXT" ; |
936 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_COMPRESSION_CONTROL_FEATURES_EXT: |
937 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_COMPRESSION_CONTROL_FEATURES_EXT" ; |
938 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_COMPRESSION_CONTROL_SWAPCHAIN_FEATURES_EXT: |
939 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_COMPRESSION_CONTROL_SWAPCHAIN_FEATURES_EXT" ; |
940 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_DRM_FORMAT_MODIFIER_INFO_EXT: |
941 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_DRM_FORMAT_MODIFIER_INFO_EXT" ; |
942 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2: |
943 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2" ; |
944 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_PROCESSING_FEATURES_QCOM: |
945 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_PROCESSING_FEATURES_QCOM" ; |
946 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_PROCESSING_PROPERTIES_QCOM: |
947 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_PROCESSING_PROPERTIES_QCOM" ; |
948 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ROBUSTNESS_FEATURES: |
949 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ROBUSTNESS_FEATURES" ; |
950 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_SLICED_VIEW_OF_3D_FEATURES_EXT: |
951 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_SLICED_VIEW_OF_3D_FEATURES_EXT" ; |
952 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_VIEW_IMAGE_FORMAT_INFO_EXT: |
953 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_VIEW_IMAGE_FORMAT_INFO_EXT" ; |
954 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_VIEW_MIN_LOD_FEATURES_EXT: |
955 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_VIEW_MIN_LOD_FEATURES_EXT" ; |
956 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INDEX_TYPE_UINT8_FEATURES_EXT: |
957 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INDEX_TYPE_UINT8_FEATURES_EXT" ; |
958 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INHERITED_VIEWPORT_SCISSOR_FEATURES_NV: |
959 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INHERITED_VIEWPORT_SCISSOR_FEATURES_NV" ; |
960 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_FEATURES: |
961 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_FEATURES" ; |
962 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_PROPERTIES: |
963 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_PROPERTIES" ; |
964 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INVOCATION_MASK_FEATURES_HUAWEI: |
965 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INVOCATION_MASK_FEATURES_HUAWEI" ; |
966 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_DITHERING_FEATURES_EXT: |
967 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_DITHERING_FEATURES_EXT" ; |
968 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINEAR_COLOR_ATTACHMENT_FEATURES_NV: |
969 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINEAR_COLOR_ATTACHMENT_FEATURES_NV" ; |
970 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_EXT: |
971 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_EXT" ; |
972 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_PROPERTIES_EXT: |
973 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_PROPERTIES_EXT" ; |
974 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES: |
975 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES" ; |
976 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_4_FEATURES: |
977 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_4_FEATURES" ; |
978 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_4_PROPERTIES: |
979 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_4_PROPERTIES" ; |
980 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_BUDGET_PROPERTIES_EXT: |
981 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_BUDGET_PROPERTIES_EXT" ; |
982 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_DECOMPRESSION_FEATURES_NV: |
983 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_DECOMPRESSION_FEATURES_NV" ; |
984 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_DECOMPRESSION_PROPERTIES_NV: |
985 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_DECOMPRESSION_PROPERTIES_NV" ; |
986 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PRIORITY_FEATURES_EXT: |
987 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PRIORITY_FEATURES_EXT" ; |
988 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2: |
989 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2" ; |
990 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_FEATURES_EXT: |
991 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_FEATURES_EXT" ; |
992 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_FEATURES_NV: |
993 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_FEATURES_NV" ; |
994 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_PROPERTIES_EXT: |
995 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_PROPERTIES_EXT" ; |
996 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_PROPERTIES_NV: |
997 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_PROPERTIES_NV" ; |
998 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTISAMPLED_RENDER_TO_SINGLE_SAMPLED_FEATURES_EXT: |
999 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTISAMPLED_RENDER_TO_SINGLE_SAMPLED_FEATURES_EXT" ; |
1000 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES: |
1001 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES" ; |
1002 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_ATTRIBUTES_PROPERTIES_NVX: |
1003 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_ATTRIBUTES_PROPERTIES_NVX" ; |
1004 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_RENDER_AREAS_FEATURES_QCOM: |
1005 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_RENDER_AREAS_FEATURES_QCOM" ; |
1006 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_VIEWPORTS_FEATURES_QCOM: |
1007 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_VIEWPORTS_FEATURES_QCOM" ; |
1008 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES: |
1009 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES" ; |
1010 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTI_DRAW_FEATURES_EXT: |
1011 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTI_DRAW_FEATURES_EXT" ; |
1012 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTI_DRAW_PROPERTIES_EXT: |
1013 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTI_DRAW_PROPERTIES_EXT" ; |
1014 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MUTABLE_DESCRIPTOR_TYPE_FEATURES_EXT: |
1015 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MUTABLE_DESCRIPTOR_TYPE_FEATURES_EXT" ; |
1016 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_NON_SEAMLESS_CUBE_MAP_FEATURES_EXT: |
1017 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_NON_SEAMLESS_CUBE_MAP_FEATURES_EXT" ; |
1018 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_OPACITY_MICROMAP_FEATURES_EXT: |
1019 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_OPACITY_MICROMAP_FEATURES_EXT" ; |
1020 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_OPACITY_MICROMAP_PROPERTIES_EXT: |
1021 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_OPACITY_MICROMAP_PROPERTIES_EXT" ; |
1022 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_OPTICAL_FLOW_FEATURES_NV: |
1023 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_OPTICAL_FLOW_FEATURES_NV" ; |
1024 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_OPTICAL_FLOW_PROPERTIES_NV: |
1025 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_OPTICAL_FLOW_PROPERTIES_NV" ; |
1026 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PAGEABLE_DEVICE_LOCAL_MEMORY_FEATURES_EXT: |
1027 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PAGEABLE_DEVICE_LOCAL_MEMORY_FEATURES_EXT" ; |
1028 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PCI_BUS_INFO_PROPERTIES_EXT: |
1029 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PCI_BUS_INFO_PROPERTIES_EXT" ; |
1030 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PERFORMANCE_QUERY_FEATURES_KHR: |
1031 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PERFORMANCE_QUERY_FEATURES_KHR" ; |
1032 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PERFORMANCE_QUERY_PROPERTIES_KHR: |
1033 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PERFORMANCE_QUERY_PROPERTIES_KHR" ; |
1034 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_CREATION_CACHE_CONTROL_FEATURES: |
1035 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_CREATION_CACHE_CONTROL_FEATURES" ; |
1036 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_EXECUTABLE_PROPERTIES_FEATURES_KHR: |
1037 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_EXECUTABLE_PROPERTIES_FEATURES_KHR" ; |
1038 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_LIBRARY_GROUP_HANDLES_FEATURES_EXT: |
1039 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_LIBRARY_GROUP_HANDLES_FEATURES_EXT" ; |
1040 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_PROPERTIES_FEATURES_EXT: |
1041 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_PROPERTIES_FEATURES_EXT" ; |
1042 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_PROTECTED_ACCESS_FEATURES_EXT: |
1043 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_PROTECTED_ACCESS_FEATURES_EXT" ; |
1044 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_ROBUSTNESS_FEATURES_EXT: |
1045 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_ROBUSTNESS_FEATURES_EXT" ; |
1046 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_ROBUSTNESS_PROPERTIES_EXT: |
1047 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_ROBUSTNESS_PROPERTIES_EXT" ; |
1048 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES: |
1049 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES" ; |
1050 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
1051 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PORTABILITY_SUBSET_FEATURES_KHR: |
1052 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PORTABILITY_SUBSET_FEATURES_KHR" ; |
1053 | #endif // VK_ENABLE_BETA_EXTENSIONS |
1054 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
1055 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PORTABILITY_SUBSET_PROPERTIES_KHR: |
1056 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PORTABILITY_SUBSET_PROPERTIES_KHR" ; |
1057 | #endif // VK_ENABLE_BETA_EXTENSIONS |
1058 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_BARRIER_FEATURES_NV: |
1059 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_BARRIER_FEATURES_NV" ; |
1060 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_ID_FEATURES_KHR: |
1061 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_ID_FEATURES_KHR" ; |
1062 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_WAIT_FEATURES_KHR: |
1063 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_WAIT_FEATURES_KHR" ; |
1064 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIMITIVES_GENERATED_QUERY_FEATURES_EXT: |
1065 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIMITIVES_GENERATED_QUERY_FEATURES_EXT" ; |
1066 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIMITIVE_TOPOLOGY_LIST_RESTART_FEATURES_EXT: |
1067 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIMITIVE_TOPOLOGY_LIST_RESTART_FEATURES_EXT" ; |
1068 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIVATE_DATA_FEATURES: |
1069 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIVATE_DATA_FEATURES" ; |
1070 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2: |
1071 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2" ; |
1072 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES: |
1073 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES" ; |
1074 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES: |
1075 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES" ; |
1076 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROVOKING_VERTEX_FEATURES_EXT: |
1077 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROVOKING_VERTEX_FEATURES_EXT" ; |
1078 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROVOKING_VERTEX_PROPERTIES_EXT: |
1079 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROVOKING_VERTEX_PROPERTIES_EXT" ; |
1080 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_DESCRIPTOR_PROPERTIES_KHR: |
1081 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_DESCRIPTOR_PROPERTIES_KHR" ; |
1082 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RASTERIZATION_ORDER_ATTACHMENT_ACCESS_FEATURES_EXT: |
1083 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RASTERIZATION_ORDER_ATTACHMENT_ACCESS_FEATURES_EXT" ; |
1084 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_QUERY_FEATURES_KHR: |
1085 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_QUERY_FEATURES_KHR" ; |
1086 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_INVOCATION_REORDER_FEATURES_NV: |
1087 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_INVOCATION_REORDER_FEATURES_NV" ; |
1088 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_INVOCATION_REORDER_PROPERTIES_NV: |
1089 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_INVOCATION_REORDER_PROPERTIES_NV" ; |
1090 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_MAINTENANCE_1_FEATURES_KHR: |
1091 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_MAINTENANCE_1_FEATURES_KHR" ; |
1092 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_MOTION_BLUR_FEATURES_NV: |
1093 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_MOTION_BLUR_FEATURES_NV" ; |
1094 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PIPELINE_FEATURES_KHR: |
1095 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PIPELINE_FEATURES_KHR" ; |
1096 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PIPELINE_PROPERTIES_KHR: |
1097 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PIPELINE_PROPERTIES_KHR" ; |
1098 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_POSITION_FETCH_FEATURES_KHR: |
1099 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_POSITION_FETCH_FEATURES_KHR" ; |
1100 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PROPERTIES_NV: |
1101 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PROPERTIES_NV" ; |
1102 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_REPRESENTATIVE_FRAGMENT_TEST_FEATURES_NV: |
1103 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_REPRESENTATIVE_FRAGMENT_TEST_FEATURES_NV" ; |
1104 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RGBA10X6_FORMATS_FEATURES_EXT: |
1105 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RGBA10X6_FORMATS_FEATURES_EXT" ; |
1106 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ROBUSTNESS_2_FEATURES_EXT: |
1107 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ROBUSTNESS_2_FEATURES_EXT" ; |
1108 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ROBUSTNESS_2_PROPERTIES_EXT: |
1109 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ROBUSTNESS_2_PROPERTIES_EXT" ; |
1110 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES: |
1111 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES" ; |
1112 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES: |
1113 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES" ; |
1114 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLE_LOCATIONS_PROPERTIES_EXT: |
1115 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLE_LOCATIONS_PROPERTIES_EXT" ; |
1116 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURES: |
1117 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURES" ; |
1118 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SEPARATE_DEPTH_STENCIL_LAYOUTS_FEATURES: |
1119 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SEPARATE_DEPTH_STENCIL_LAYOUTS_FEATURES" ; |
1120 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT_2_FEATURES_EXT: |
1121 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT_2_FEATURES_EXT" ; |
1122 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT_FEATURES_EXT: |
1123 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT_FEATURES_EXT" ; |
1124 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURES: |
1125 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURES" ; |
1126 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CLOCK_FEATURES_KHR: |
1127 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CLOCK_FEATURES_KHR" ; |
1128 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_BUILTINS_FEATURES_ARM: |
1129 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_BUILTINS_FEATURES_ARM" ; |
1130 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_BUILTINS_PROPERTIES_ARM: |
1131 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_BUILTINS_PROPERTIES_ARM" ; |
1132 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_2_AMD: |
1133 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_2_AMD" ; |
1134 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_AMD: |
1135 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_AMD" ; |
1136 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_ARM: |
1137 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_ARM" ; |
1138 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DEMOTE_TO_HELPER_INVOCATION_FEATURES: |
1139 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DEMOTE_TO_HELPER_INVOCATION_FEATURES" ; |
1140 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETERS_FEATURES: |
1141 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETERS_FEATURES" ; |
1142 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_EARLY_AND_LATE_FRAGMENT_TESTS_FEATURES_AMD: |
1143 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_EARLY_AND_LATE_FRAGMENT_TESTS_FEATURES_AMD" ; |
1144 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT16_INT8_FEATURES: |
1145 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT16_INT8_FEATURES" ; |
1146 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_IMAGE_ATOMIC_INT64_FEATURES_EXT: |
1147 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_IMAGE_ATOMIC_INT64_FEATURES_EXT" ; |
1148 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_IMAGE_FOOTPRINT_FEATURES_NV: |
1149 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_IMAGE_FOOTPRINT_FEATURES_NV" ; |
1150 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_FEATURES: |
1151 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_FEATURES" ; |
1152 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_PROPERTIES: |
1153 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_PROPERTIES" ; |
1154 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_FUNCTIONS_2_FEATURES_INTEL: |
1155 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_FUNCTIONS_2_FEATURES_INTEL" ; |
1156 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_MODULE_IDENTIFIER_FEATURES_EXT: |
1157 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_MODULE_IDENTIFIER_FEATURES_EXT" ; |
1158 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_MODULE_IDENTIFIER_PROPERTIES_EXT: |
1159 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_MODULE_IDENTIFIER_PROPERTIES_EXT" ; |
1160 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_OBJECT_FEATURES_EXT: |
1161 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_OBJECT_FEATURES_EXT" ; |
1162 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_OBJECT_PROPERTIES_EXT: |
1163 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_OBJECT_PROPERTIES_EXT" ; |
1164 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SM_BUILTINS_FEATURES_NV: |
1165 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SM_BUILTINS_FEATURES_NV" ; |
1166 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SM_BUILTINS_PROPERTIES_NV: |
1167 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SM_BUILTINS_PROPERTIES_NV" ; |
1168 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_EXTENDED_TYPES_FEATURES: |
1169 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_EXTENDED_TYPES_FEATURES" ; |
1170 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_UNIFORM_CONTROL_FLOW_FEATURES_KHR: |
1171 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_UNIFORM_CONTROL_FLOW_FEATURES_KHR" ; |
1172 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_TERMINATE_INVOCATION_FEATURES: |
1173 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_TERMINATE_INVOCATION_FEATURES" ; |
1174 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_TILE_IMAGE_FEATURES_EXT: |
1175 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_TILE_IMAGE_FEATURES_EXT" ; |
1176 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_TILE_IMAGE_PROPERTIES_EXT: |
1177 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_TILE_IMAGE_PROPERTIES_EXT" ; |
1178 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_FEATURES_NV: |
1179 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_FEATURES_NV" ; |
1180 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_PROPERTIES_NV: |
1181 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_PROPERTIES_NV" ; |
1182 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2: |
1183 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2" ; |
1184 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES: |
1185 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES" ; |
1186 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_FEATURES: |
1187 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_FEATURES" ; |
1188 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_PROPERTIES: |
1189 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_PROPERTIES" ; |
1190 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBPASS_MERGE_FEEDBACK_FEATURES_EXT: |
1191 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBPASS_MERGE_FEEDBACK_FEATURES_EXT" ; |
1192 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBPASS_SHADING_FEATURES_HUAWEI: |
1193 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBPASS_SHADING_FEATURES_HUAWEI" ; |
1194 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBPASS_SHADING_PROPERTIES_HUAWEI: |
1195 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBPASS_SHADING_PROPERTIES_HUAWEI" ; |
1196 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SURFACE_INFO_2_KHR: |
1197 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SURFACE_INFO_2_KHR" ; |
1198 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SWAPCHAIN_MAINTENANCE_1_FEATURES_EXT: |
1199 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SWAPCHAIN_MAINTENANCE_1_FEATURES_EXT" ; |
1200 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES: |
1201 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES" ; |
1202 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_FEATURES_EXT: |
1203 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_FEATURES_EXT" ; |
1204 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_PROPERTIES: |
1205 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_PROPERTIES" ; |
1206 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_HDR_FEATURES: |
1207 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_HDR_FEATURES" ; |
1208 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TILE_PROPERTIES_FEATURES_QCOM: |
1209 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TILE_PROPERTIES_FEATURES_QCOM" ; |
1210 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_FEATURES: |
1211 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_FEATURES" ; |
1212 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_PROPERTIES: |
1213 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_PROPERTIES" ; |
1214 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TOOL_PROPERTIES: |
1215 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TOOL_PROPERTIES" ; |
1216 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_FEATURES_EXT: |
1217 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_FEATURES_EXT" ; |
1218 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_PROPERTIES_EXT: |
1219 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_PROPERTIES_EXT" ; |
1220 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES: |
1221 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES" ; |
1222 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES: |
1223 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES" ; |
1224 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_EXT: |
1225 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_EXT" ; |
1226 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_EXT: |
1227 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_EXT" ; |
1228 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_INPUT_DYNAMIC_STATE_FEATURES_EXT: |
1229 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_INPUT_DYNAMIC_STATE_FEATURES_EXT" ; |
1230 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_FORMAT_INFO_KHR: |
1231 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_FORMAT_INFO_KHR" ; |
1232 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_FEATURES: |
1233 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_FEATURES" ; |
1234 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_PROPERTIES: |
1235 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_PROPERTIES" ; |
1236 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_FEATURES: |
1237 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_FEATURES" ; |
1238 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_PROPERTIES: |
1239 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_PROPERTIES" ; |
1240 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_FEATURES: |
1241 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_FEATURES" ; |
1242 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_PROPERTIES: |
1243 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_PROPERTIES" ; |
1244 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_MEMORY_MODEL_FEATURES: |
1245 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_MEMORY_MODEL_FEATURES" ; |
1246 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_WORKGROUP_MEMORY_EXPLICIT_LAYOUT_FEATURES_KHR: |
1247 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_WORKGROUP_MEMORY_EXPLICIT_LAYOUT_FEATURES_KHR" ; |
1248 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_YCBCR_2_PLANE_444_FORMATS_FEATURES_EXT: |
1249 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_YCBCR_2_PLANE_444_FORMATS_FEATURES_EXT" ; |
1250 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_YCBCR_IMAGE_ARRAYS_FEATURES_EXT: |
1251 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_YCBCR_IMAGE_ARRAYS_FEATURES_EXT" ; |
1252 | case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ZERO_INITIALIZE_WORKGROUP_MEMORY_FEATURES: |
1253 | return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ZERO_INITIALIZE_WORKGROUP_MEMORY_FEATURES" ; |
1254 | case VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO: |
1255 | return "VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO" ; |
1256 | case VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_ADVANCED_STATE_CREATE_INFO_EXT: |
1257 | return "VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_ADVANCED_STATE_CREATE_INFO_EXT" ; |
1258 | case VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO: |
1259 | return "VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO" ; |
1260 | case VK_STRUCTURE_TYPE_PIPELINE_COLOR_WRITE_CREATE_INFO_EXT: |
1261 | return "VK_STRUCTURE_TYPE_PIPELINE_COLOR_WRITE_CREATE_INFO_EXT" ; |
1262 | case VK_STRUCTURE_TYPE_PIPELINE_COMPILER_CONTROL_CREATE_INFO_AMD: |
1263 | return "VK_STRUCTURE_TYPE_PIPELINE_COMPILER_CONTROL_CREATE_INFO_AMD" ; |
1264 | case VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_MODULATION_STATE_CREATE_INFO_NV: |
1265 | return "VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_MODULATION_STATE_CREATE_INFO_NV" ; |
1266 | case VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_REDUCTION_STATE_CREATE_INFO_NV: |
1267 | return "VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_REDUCTION_STATE_CREATE_INFO_NV" ; |
1268 | case VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV: |
1269 | return "VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV" ; |
1270 | case VK_STRUCTURE_TYPE_PIPELINE_CREATION_FEEDBACK_CREATE_INFO: |
1271 | return "VK_STRUCTURE_TYPE_PIPELINE_CREATION_FEEDBACK_CREATE_INFO" ; |
1272 | case VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO: |
1273 | return "VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO" ; |
1274 | case VK_STRUCTURE_TYPE_PIPELINE_DISCARD_RECTANGLE_STATE_CREATE_INFO_EXT: |
1275 | return "VK_STRUCTURE_TYPE_PIPELINE_DISCARD_RECTANGLE_STATE_CREATE_INFO_EXT" ; |
1276 | case VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO: |
1277 | return "VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO" ; |
1278 | case VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_INFO_KHR: |
1279 | return "VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_INFO_KHR" ; |
1280 | case VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_INTERNAL_REPRESENTATION_KHR: |
1281 | return "VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_INTERNAL_REPRESENTATION_KHR" ; |
1282 | case VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_PROPERTIES_KHR: |
1283 | return "VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_PROPERTIES_KHR" ; |
1284 | case VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_STATISTIC_KHR: |
1285 | return "VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_STATISTIC_KHR" ; |
1286 | case VK_STRUCTURE_TYPE_PIPELINE_FRAGMENT_SHADING_RATE_ENUM_STATE_CREATE_INFO_NV: |
1287 | return "VK_STRUCTURE_TYPE_PIPELINE_FRAGMENT_SHADING_RATE_ENUM_STATE_CREATE_INFO_NV" ; |
1288 | case VK_STRUCTURE_TYPE_PIPELINE_FRAGMENT_SHADING_RATE_STATE_CREATE_INFO_KHR: |
1289 | return "VK_STRUCTURE_TYPE_PIPELINE_FRAGMENT_SHADING_RATE_STATE_CREATE_INFO_KHR" ; |
1290 | case VK_STRUCTURE_TYPE_PIPELINE_INFO_KHR: |
1291 | return "VK_STRUCTURE_TYPE_PIPELINE_INFO_KHR" ; |
1292 | case VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO: |
1293 | return "VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO" ; |
1294 | case VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO: |
1295 | return "VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO" ; |
1296 | case VK_STRUCTURE_TYPE_PIPELINE_LIBRARY_CREATE_INFO_KHR: |
1297 | return "VK_STRUCTURE_TYPE_PIPELINE_LIBRARY_CREATE_INFO_KHR" ; |
1298 | case VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO: |
1299 | return "VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO" ; |
1300 | case VK_STRUCTURE_TYPE_PIPELINE_PROPERTIES_IDENTIFIER_EXT: |
1301 | return "VK_STRUCTURE_TYPE_PIPELINE_PROPERTIES_IDENTIFIER_EXT" ; |
1302 | case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_CONSERVATIVE_STATE_CREATE_INFO_EXT: |
1303 | return "VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_CONSERVATIVE_STATE_CREATE_INFO_EXT" ; |
1304 | case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_DEPTH_CLIP_STATE_CREATE_INFO_EXT: |
1305 | return "VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_DEPTH_CLIP_STATE_CREATE_INFO_EXT" ; |
1306 | case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_LINE_STATE_CREATE_INFO_EXT: |
1307 | return "VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_LINE_STATE_CREATE_INFO_EXT" ; |
1308 | case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_PROVOKING_VERTEX_STATE_CREATE_INFO_EXT: |
1309 | return "VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_PROVOKING_VERTEX_STATE_CREATE_INFO_EXT" ; |
1310 | case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO: |
1311 | return "VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO" ; |
1312 | case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMD: |
1313 | return "VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMD" ; |
1314 | case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_STREAM_CREATE_INFO_EXT: |
1315 | return "VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_STREAM_CREATE_INFO_EXT" ; |
1316 | case VK_STRUCTURE_TYPE_PIPELINE_RENDERING_CREATE_INFO: |
1317 | return "VK_STRUCTURE_TYPE_PIPELINE_RENDERING_CREATE_INFO" ; |
1318 | case VK_STRUCTURE_TYPE_PIPELINE_REPRESENTATIVE_FRAGMENT_TEST_STATE_CREATE_INFO_NV: |
1319 | return "VK_STRUCTURE_TYPE_PIPELINE_REPRESENTATIVE_FRAGMENT_TEST_STATE_CREATE_INFO_NV" ; |
1320 | case VK_STRUCTURE_TYPE_PIPELINE_ROBUSTNESS_CREATE_INFO_EXT: |
1321 | return "VK_STRUCTURE_TYPE_PIPELINE_ROBUSTNESS_CREATE_INFO_EXT" ; |
1322 | case VK_STRUCTURE_TYPE_PIPELINE_SAMPLE_LOCATIONS_STATE_CREATE_INFO_EXT: |
1323 | return "VK_STRUCTURE_TYPE_PIPELINE_SAMPLE_LOCATIONS_STATE_CREATE_INFO_EXT" ; |
1324 | case VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO: |
1325 | return "VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO" ; |
1326 | case VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_MODULE_IDENTIFIER_CREATE_INFO_EXT: |
1327 | return "VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_MODULE_IDENTIFIER_CREATE_INFO_EXT" ; |
1328 | case VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_REQUIRED_SUBGROUP_SIZE_CREATE_INFO: |
1329 | return "VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_REQUIRED_SUBGROUP_SIZE_CREATE_INFO" ; |
1330 | case VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO: |
1331 | return "VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO" ; |
1332 | case VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO: |
1333 | return "VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO" ; |
1334 | case VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_EXT: |
1335 | return "VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_EXT" ; |
1336 | case VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO: |
1337 | return "VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO" ; |
1338 | case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_COARSE_SAMPLE_ORDER_STATE_CREATE_INFO_NV: |
1339 | return "VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_COARSE_SAMPLE_ORDER_STATE_CREATE_INFO_NV" ; |
1340 | case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_DEPTH_CLIP_CONTROL_CREATE_INFO_EXT: |
1341 | return "VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_DEPTH_CLIP_CONTROL_CREATE_INFO_EXT" ; |
1342 | case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_EXCLUSIVE_SCISSOR_STATE_CREATE_INFO_NV: |
1343 | return "VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_EXCLUSIVE_SCISSOR_STATE_CREATE_INFO_NV" ; |
1344 | case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SHADING_RATE_IMAGE_STATE_CREATE_INFO_NV: |
1345 | return "VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SHADING_RATE_IMAGE_STATE_CREATE_INFO_NV" ; |
1346 | case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO: |
1347 | return "VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO" ; |
1348 | case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV: |
1349 | return "VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV" ; |
1350 | case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_W_SCALING_STATE_CREATE_INFO_NV: |
1351 | return "VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_W_SCALING_STATE_CREATE_INFO_NV" ; |
1352 | case VK_STRUCTURE_TYPE_PRESENT_FRAME_TOKEN_GGP: |
1353 | return "VK_STRUCTURE_TYPE_PRESENT_FRAME_TOKEN_GGP" ; |
1354 | case VK_STRUCTURE_TYPE_PRESENT_ID_KHR: |
1355 | return "VK_STRUCTURE_TYPE_PRESENT_ID_KHR" ; |
1356 | case VK_STRUCTURE_TYPE_PRESENT_INFO_KHR: |
1357 | return "VK_STRUCTURE_TYPE_PRESENT_INFO_KHR" ; |
1358 | case VK_STRUCTURE_TYPE_PRESENT_REGIONS_KHR: |
1359 | return "VK_STRUCTURE_TYPE_PRESENT_REGIONS_KHR" ; |
1360 | case VK_STRUCTURE_TYPE_PRESENT_TIMES_INFO_GOOGLE: |
1361 | return "VK_STRUCTURE_TYPE_PRESENT_TIMES_INFO_GOOGLE" ; |
1362 | case VK_STRUCTURE_TYPE_PRIVATE_DATA_SLOT_CREATE_INFO: |
1363 | return "VK_STRUCTURE_TYPE_PRIVATE_DATA_SLOT_CREATE_INFO" ; |
1364 | case VK_STRUCTURE_TYPE_PROTECTED_SUBMIT_INFO: |
1365 | return "VK_STRUCTURE_TYPE_PROTECTED_SUBMIT_INFO" ; |
1366 | case VK_STRUCTURE_TYPE_QUERY_LOW_LATENCY_SUPPORT_NV: |
1367 | return "VK_STRUCTURE_TYPE_QUERY_LOW_LATENCY_SUPPORT_NV" ; |
1368 | case VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO: |
1369 | return "VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO" ; |
1370 | case VK_STRUCTURE_TYPE_QUERY_POOL_PERFORMANCE_CREATE_INFO_KHR: |
1371 | return "VK_STRUCTURE_TYPE_QUERY_POOL_PERFORMANCE_CREATE_INFO_KHR" ; |
1372 | case VK_STRUCTURE_TYPE_QUERY_POOL_PERFORMANCE_QUERY_CREATE_INFO_INTEL: |
1373 | return "VK_STRUCTURE_TYPE_QUERY_POOL_PERFORMANCE_QUERY_CREATE_INFO_INTEL" ; |
1374 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
1375 | case VK_STRUCTURE_TYPE_QUERY_POOL_VIDEO_ENCODE_FEEDBACK_CREATE_INFO_KHR: |
1376 | return "VK_STRUCTURE_TYPE_QUERY_POOL_VIDEO_ENCODE_FEEDBACK_CREATE_INFO_KHR" ; |
1377 | #endif // VK_ENABLE_BETA_EXTENSIONS |
1378 | case VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_2_NV: |
1379 | return "VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_2_NV" ; |
1380 | case VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_NV: |
1381 | return "VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_NV" ; |
1382 | case VK_STRUCTURE_TYPE_QUEUE_FAMILY_GLOBAL_PRIORITY_PROPERTIES_KHR: |
1383 | return "VK_STRUCTURE_TYPE_QUEUE_FAMILY_GLOBAL_PRIORITY_PROPERTIES_KHR" ; |
1384 | case VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2: |
1385 | return "VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2" ; |
1386 | case VK_STRUCTURE_TYPE_QUEUE_FAMILY_QUERY_RESULT_STATUS_PROPERTIES_KHR: |
1387 | return "VK_STRUCTURE_TYPE_QUEUE_FAMILY_QUERY_RESULT_STATUS_PROPERTIES_KHR" ; |
1388 | case VK_STRUCTURE_TYPE_QUEUE_FAMILY_VIDEO_PROPERTIES_KHR: |
1389 | return "VK_STRUCTURE_TYPE_QUEUE_FAMILY_VIDEO_PROPERTIES_KHR" ; |
1390 | case VK_STRUCTURE_TYPE_RAY_TRACING_PIPELINE_CREATE_INFO_KHR: |
1391 | return "VK_STRUCTURE_TYPE_RAY_TRACING_PIPELINE_CREATE_INFO_KHR" ; |
1392 | case VK_STRUCTURE_TYPE_RAY_TRACING_PIPELINE_CREATE_INFO_NV: |
1393 | return "VK_STRUCTURE_TYPE_RAY_TRACING_PIPELINE_CREATE_INFO_NV" ; |
1394 | case VK_STRUCTURE_TYPE_RAY_TRACING_PIPELINE_INTERFACE_CREATE_INFO_KHR: |
1395 | return "VK_STRUCTURE_TYPE_RAY_TRACING_PIPELINE_INTERFACE_CREATE_INFO_KHR" ; |
1396 | case VK_STRUCTURE_TYPE_RAY_TRACING_SHADER_GROUP_CREATE_INFO_KHR: |
1397 | return "VK_STRUCTURE_TYPE_RAY_TRACING_SHADER_GROUP_CREATE_INFO_KHR" ; |
1398 | case VK_STRUCTURE_TYPE_RAY_TRACING_SHADER_GROUP_CREATE_INFO_NV: |
1399 | return "VK_STRUCTURE_TYPE_RAY_TRACING_SHADER_GROUP_CREATE_INFO_NV" ; |
1400 | case VK_STRUCTURE_TYPE_RELEASE_SWAPCHAIN_IMAGES_INFO_EXT: |
1401 | return "VK_STRUCTURE_TYPE_RELEASE_SWAPCHAIN_IMAGES_INFO_EXT" ; |
1402 | case VK_STRUCTURE_TYPE_RENDERING_ATTACHMENT_INFO: |
1403 | return "VK_STRUCTURE_TYPE_RENDERING_ATTACHMENT_INFO" ; |
1404 | case VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_INFO_EXT: |
1405 | return "VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_INFO_EXT" ; |
1406 | case VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR: |
1407 | return "VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR" ; |
1408 | case VK_STRUCTURE_TYPE_RENDERING_INFO: |
1409 | return "VK_STRUCTURE_TYPE_RENDERING_INFO" ; |
1410 | case VK_STRUCTURE_TYPE_RENDER_PASS_ATTACHMENT_BEGIN_INFO: |
1411 | return "VK_STRUCTURE_TYPE_RENDER_PASS_ATTACHMENT_BEGIN_INFO" ; |
1412 | case VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO: |
1413 | return "VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO" ; |
1414 | case VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO: |
1415 | return "VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO" ; |
1416 | case VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO_2: |
1417 | return "VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO_2" ; |
1418 | case VK_STRUCTURE_TYPE_RENDER_PASS_CREATION_CONTROL_EXT: |
1419 | return "VK_STRUCTURE_TYPE_RENDER_PASS_CREATION_CONTROL_EXT" ; |
1420 | case VK_STRUCTURE_TYPE_RENDER_PASS_CREATION_FEEDBACK_CREATE_INFO_EXT: |
1421 | return "VK_STRUCTURE_TYPE_RENDER_PASS_CREATION_FEEDBACK_CREATE_INFO_EXT" ; |
1422 | case VK_STRUCTURE_TYPE_RENDER_PASS_FRAGMENT_DENSITY_MAP_CREATE_INFO_EXT: |
1423 | return "VK_STRUCTURE_TYPE_RENDER_PASS_FRAGMENT_DENSITY_MAP_CREATE_INFO_EXT" ; |
1424 | case VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO: |
1425 | return "VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO" ; |
1426 | case VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO: |
1427 | return "VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO" ; |
1428 | case VK_STRUCTURE_TYPE_RENDER_PASS_SAMPLE_LOCATIONS_BEGIN_INFO_EXT: |
1429 | return "VK_STRUCTURE_TYPE_RENDER_PASS_SAMPLE_LOCATIONS_BEGIN_INFO_EXT" ; |
1430 | case VK_STRUCTURE_TYPE_RENDER_PASS_SUBPASS_FEEDBACK_CREATE_INFO_EXT: |
1431 | return "VK_STRUCTURE_TYPE_RENDER_PASS_SUBPASS_FEEDBACK_CREATE_INFO_EXT" ; |
1432 | case VK_STRUCTURE_TYPE_RENDER_PASS_TRANSFORM_BEGIN_INFO_QCOM: |
1433 | return "VK_STRUCTURE_TYPE_RENDER_PASS_TRANSFORM_BEGIN_INFO_QCOM" ; |
1434 | case VK_STRUCTURE_TYPE_RESOLVE_IMAGE_INFO_2: |
1435 | return "VK_STRUCTURE_TYPE_RESOLVE_IMAGE_INFO_2" ; |
1436 | case VK_STRUCTURE_TYPE_SAMPLER_BORDER_COLOR_COMPONENT_MAPPING_CREATE_INFO_EXT: |
1437 | return "VK_STRUCTURE_TYPE_SAMPLER_BORDER_COLOR_COMPONENT_MAPPING_CREATE_INFO_EXT" ; |
1438 | case VK_STRUCTURE_TYPE_SAMPLER_CAPTURE_DESCRIPTOR_DATA_INFO_EXT: |
1439 | return "VK_STRUCTURE_TYPE_SAMPLER_CAPTURE_DESCRIPTOR_DATA_INFO_EXT" ; |
1440 | case VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO: |
1441 | return "VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO" ; |
1442 | case VK_STRUCTURE_TYPE_SAMPLER_CUSTOM_BORDER_COLOR_CREATE_INFO_EXT: |
1443 | return "VK_STRUCTURE_TYPE_SAMPLER_CUSTOM_BORDER_COLOR_CREATE_INFO_EXT" ; |
1444 | case VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO: |
1445 | return "VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO" ; |
1446 | case VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO: |
1447 | return "VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO" ; |
1448 | case VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES: |
1449 | return "VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES" ; |
1450 | case VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO: |
1451 | return "VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO" ; |
1452 | case VK_STRUCTURE_TYPE_SAMPLE_LOCATIONS_INFO_EXT: |
1453 | return "VK_STRUCTURE_TYPE_SAMPLE_LOCATIONS_INFO_EXT" ; |
1454 | case VK_STRUCTURE_TYPE_SCREEN_SURFACE_CREATE_INFO_QNX: |
1455 | return "VK_STRUCTURE_TYPE_SCREEN_SURFACE_CREATE_INFO_QNX" ; |
1456 | case VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO: |
1457 | return "VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO" ; |
1458 | case VK_STRUCTURE_TYPE_SEMAPHORE_GET_FD_INFO_KHR: |
1459 | return "VK_STRUCTURE_TYPE_SEMAPHORE_GET_FD_INFO_KHR" ; |
1460 | case VK_STRUCTURE_TYPE_SEMAPHORE_GET_WIN32_HANDLE_INFO_KHR: |
1461 | return "VK_STRUCTURE_TYPE_SEMAPHORE_GET_WIN32_HANDLE_INFO_KHR" ; |
1462 | case VK_STRUCTURE_TYPE_SEMAPHORE_GET_ZIRCON_HANDLE_INFO_FUCHSIA: |
1463 | return "VK_STRUCTURE_TYPE_SEMAPHORE_GET_ZIRCON_HANDLE_INFO_FUCHSIA" ; |
1464 | case VK_STRUCTURE_TYPE_SEMAPHORE_SIGNAL_INFO: |
1465 | return "VK_STRUCTURE_TYPE_SEMAPHORE_SIGNAL_INFO" ; |
1466 | case VK_STRUCTURE_TYPE_SEMAPHORE_SUBMIT_INFO: |
1467 | return "VK_STRUCTURE_TYPE_SEMAPHORE_SUBMIT_INFO" ; |
1468 | case VK_STRUCTURE_TYPE_SEMAPHORE_TYPE_CREATE_INFO: |
1469 | return "VK_STRUCTURE_TYPE_SEMAPHORE_TYPE_CREATE_INFO" ; |
1470 | case VK_STRUCTURE_TYPE_SEMAPHORE_WAIT_INFO: |
1471 | return "VK_STRUCTURE_TYPE_SEMAPHORE_WAIT_INFO" ; |
1472 | case VK_STRUCTURE_TYPE_SHADER_CREATE_INFO_EXT: |
1473 | return "VK_STRUCTURE_TYPE_SHADER_CREATE_INFO_EXT" ; |
1474 | case VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO: |
1475 | return "VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO" ; |
1476 | case VK_STRUCTURE_TYPE_SHADER_MODULE_IDENTIFIER_EXT: |
1477 | return "VK_STRUCTURE_TYPE_SHADER_MODULE_IDENTIFIER_EXT" ; |
1478 | case VK_STRUCTURE_TYPE_SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXT: |
1479 | return "VK_STRUCTURE_TYPE_SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXT" ; |
1480 | case VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_KHR: |
1481 | return "VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_KHR" ; |
1482 | case VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2: |
1483 | return "VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2" ; |
1484 | case VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2: |
1485 | return "VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2" ; |
1486 | case VK_STRUCTURE_TYPE_STREAM_DESCRIPTOR_SURFACE_CREATE_INFO_GGP: |
1487 | return "VK_STRUCTURE_TYPE_STREAM_DESCRIPTOR_SURFACE_CREATE_INFO_GGP" ; |
1488 | case VK_STRUCTURE_TYPE_SUBMIT_INFO: |
1489 | return "VK_STRUCTURE_TYPE_SUBMIT_INFO" ; |
1490 | case VK_STRUCTURE_TYPE_SUBMIT_INFO_2: |
1491 | return "VK_STRUCTURE_TYPE_SUBMIT_INFO_2" ; |
1492 | case VK_STRUCTURE_TYPE_SUBPASS_BEGIN_INFO: |
1493 | return "VK_STRUCTURE_TYPE_SUBPASS_BEGIN_INFO" ; |
1494 | case VK_STRUCTURE_TYPE_SUBPASS_DEPENDENCY_2: |
1495 | return "VK_STRUCTURE_TYPE_SUBPASS_DEPENDENCY_2" ; |
1496 | case VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_2: |
1497 | return "VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_2" ; |
1498 | case VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_DEPTH_STENCIL_RESOLVE: |
1499 | return "VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_DEPTH_STENCIL_RESOLVE" ; |
1500 | case VK_STRUCTURE_TYPE_SUBPASS_END_INFO: |
1501 | return "VK_STRUCTURE_TYPE_SUBPASS_END_INFO" ; |
1502 | case VK_STRUCTURE_TYPE_SUBPASS_FRAGMENT_DENSITY_MAP_OFFSET_END_INFO_QCOM: |
1503 | return "VK_STRUCTURE_TYPE_SUBPASS_FRAGMENT_DENSITY_MAP_OFFSET_END_INFO_QCOM" ; |
1504 | case VK_STRUCTURE_TYPE_SUBPASS_RESOLVE_PERFORMANCE_QUERY_EXT: |
1505 | return "VK_STRUCTURE_TYPE_SUBPASS_RESOLVE_PERFORMANCE_QUERY_EXT" ; |
1506 | case VK_STRUCTURE_TYPE_SUBPASS_SHADING_PIPELINE_CREATE_INFO_HUAWEI: |
1507 | return "VK_STRUCTURE_TYPE_SUBPASS_SHADING_PIPELINE_CREATE_INFO_HUAWEI" ; |
1508 | case VK_STRUCTURE_TYPE_SUBRESOURCE_LAYOUT_2_EXT: |
1509 | return "VK_STRUCTURE_TYPE_SUBRESOURCE_LAYOUT_2_EXT" ; |
1510 | case VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_EXT: |
1511 | return "VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_EXT" ; |
1512 | case VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_KHR: |
1513 | return "VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_KHR" ; |
1514 | case VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_FULL_SCREEN_EXCLUSIVE_EXT: |
1515 | return "VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_FULL_SCREEN_EXCLUSIVE_EXT" ; |
1516 | case VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_PRESENT_BARRIER_NV: |
1517 | return "VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_PRESENT_BARRIER_NV" ; |
1518 | case VK_STRUCTURE_TYPE_SURFACE_FORMAT_2_KHR: |
1519 | return "VK_STRUCTURE_TYPE_SURFACE_FORMAT_2_KHR" ; |
1520 | case VK_STRUCTURE_TYPE_SURFACE_FULL_SCREEN_EXCLUSIVE_INFO_EXT: |
1521 | return "VK_STRUCTURE_TYPE_SURFACE_FULL_SCREEN_EXCLUSIVE_INFO_EXT" ; |
1522 | case VK_STRUCTURE_TYPE_SURFACE_FULL_SCREEN_EXCLUSIVE_WIN32_INFO_EXT: |
1523 | return "VK_STRUCTURE_TYPE_SURFACE_FULL_SCREEN_EXCLUSIVE_WIN32_INFO_EXT" ; |
1524 | case VK_STRUCTURE_TYPE_SURFACE_PRESENT_MODE_COMPATIBILITY_EXT: |
1525 | return "VK_STRUCTURE_TYPE_SURFACE_PRESENT_MODE_COMPATIBILITY_EXT" ; |
1526 | case VK_STRUCTURE_TYPE_SURFACE_PRESENT_MODE_EXT: |
1527 | return "VK_STRUCTURE_TYPE_SURFACE_PRESENT_MODE_EXT" ; |
1528 | case VK_STRUCTURE_TYPE_SURFACE_PRESENT_SCALING_CAPABILITIES_EXT: |
1529 | return "VK_STRUCTURE_TYPE_SURFACE_PRESENT_SCALING_CAPABILITIES_EXT" ; |
1530 | case VK_STRUCTURE_TYPE_SURFACE_PROTECTED_CAPABILITIES_KHR: |
1531 | return "VK_STRUCTURE_TYPE_SURFACE_PROTECTED_CAPABILITIES_KHR" ; |
1532 | case VK_STRUCTURE_TYPE_SWAPCHAIN_COUNTER_CREATE_INFO_EXT: |
1533 | return "VK_STRUCTURE_TYPE_SWAPCHAIN_COUNTER_CREATE_INFO_EXT" ; |
1534 | case VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR: |
1535 | return "VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR" ; |
1536 | case VK_STRUCTURE_TYPE_SWAPCHAIN_DISPLAY_NATIVE_HDR_CREATE_INFO_AMD: |
1537 | return "VK_STRUCTURE_TYPE_SWAPCHAIN_DISPLAY_NATIVE_HDR_CREATE_INFO_AMD" ; |
1538 | case VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_BARRIER_CREATE_INFO_NV: |
1539 | return "VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_BARRIER_CREATE_INFO_NV" ; |
1540 | case VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_FENCE_INFO_EXT: |
1541 | return "VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_FENCE_INFO_EXT" ; |
1542 | case VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_MODES_CREATE_INFO_EXT: |
1543 | return "VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_MODES_CREATE_INFO_EXT" ; |
1544 | case VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_MODE_INFO_EXT: |
1545 | return "VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_MODE_INFO_EXT" ; |
1546 | case VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_SCALING_CREATE_INFO_EXT: |
1547 | return "VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_SCALING_CREATE_INFO_EXT" ; |
1548 | case VK_STRUCTURE_TYPE_SYSMEM_COLOR_SPACE_FUCHSIA: |
1549 | return "VK_STRUCTURE_TYPE_SYSMEM_COLOR_SPACE_FUCHSIA" ; |
1550 | case VK_STRUCTURE_TYPE_TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMD: |
1551 | return "VK_STRUCTURE_TYPE_TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMD" ; |
1552 | case VK_STRUCTURE_TYPE_TILE_PROPERTIES_QCOM: |
1553 | return "VK_STRUCTURE_TYPE_TILE_PROPERTIES_QCOM" ; |
1554 | case VK_STRUCTURE_TYPE_TIMELINE_SEMAPHORE_SUBMIT_INFO: |
1555 | return "VK_STRUCTURE_TYPE_TIMELINE_SEMAPHORE_SUBMIT_INFO" ; |
1556 | case VK_STRUCTURE_TYPE_VALIDATION_CACHE_CREATE_INFO_EXT: |
1557 | return "VK_STRUCTURE_TYPE_VALIDATION_CACHE_CREATE_INFO_EXT" ; |
1558 | case VK_STRUCTURE_TYPE_VALIDATION_FEATURES_EXT: |
1559 | return "VK_STRUCTURE_TYPE_VALIDATION_FEATURES_EXT" ; |
1560 | case VK_STRUCTURE_TYPE_VALIDATION_FLAGS_EXT: |
1561 | return "VK_STRUCTURE_TYPE_VALIDATION_FLAGS_EXT" ; |
1562 | case VK_STRUCTURE_TYPE_VERTEX_INPUT_ATTRIBUTE_DESCRIPTION_2_EXT: |
1563 | return "VK_STRUCTURE_TYPE_VERTEX_INPUT_ATTRIBUTE_DESCRIPTION_2_EXT" ; |
1564 | case VK_STRUCTURE_TYPE_VERTEX_INPUT_BINDING_DESCRIPTION_2_EXT: |
1565 | return "VK_STRUCTURE_TYPE_VERTEX_INPUT_BINDING_DESCRIPTION_2_EXT" ; |
1566 | case VK_STRUCTURE_TYPE_VIDEO_BEGIN_CODING_INFO_KHR: |
1567 | return "VK_STRUCTURE_TYPE_VIDEO_BEGIN_CODING_INFO_KHR" ; |
1568 | case VK_STRUCTURE_TYPE_VIDEO_CAPABILITIES_KHR: |
1569 | return "VK_STRUCTURE_TYPE_VIDEO_CAPABILITIES_KHR" ; |
1570 | case VK_STRUCTURE_TYPE_VIDEO_CODING_CONTROL_INFO_KHR: |
1571 | return "VK_STRUCTURE_TYPE_VIDEO_CODING_CONTROL_INFO_KHR" ; |
1572 | case VK_STRUCTURE_TYPE_VIDEO_DECODE_CAPABILITIES_KHR: |
1573 | return "VK_STRUCTURE_TYPE_VIDEO_DECODE_CAPABILITIES_KHR" ; |
1574 | case VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_CAPABILITIES_KHR: |
1575 | return "VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_CAPABILITIES_KHR" ; |
1576 | case VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_DPB_SLOT_INFO_KHR: |
1577 | return "VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_DPB_SLOT_INFO_KHR" ; |
1578 | case VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_PICTURE_INFO_KHR: |
1579 | return "VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_PICTURE_INFO_KHR" ; |
1580 | case VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_PROFILE_INFO_KHR: |
1581 | return "VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_PROFILE_INFO_KHR" ; |
1582 | case VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_SESSION_PARAMETERS_ADD_INFO_KHR: |
1583 | return "VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_SESSION_PARAMETERS_ADD_INFO_KHR" ; |
1584 | case VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_SESSION_PARAMETERS_CREATE_INFO_KHR: |
1585 | return "VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_SESSION_PARAMETERS_CREATE_INFO_KHR" ; |
1586 | case VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_CAPABILITIES_KHR: |
1587 | return "VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_CAPABILITIES_KHR" ; |
1588 | case VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_DPB_SLOT_INFO_KHR: |
1589 | return "VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_DPB_SLOT_INFO_KHR" ; |
1590 | case VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_PICTURE_INFO_KHR: |
1591 | return "VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_PICTURE_INFO_KHR" ; |
1592 | case VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_PROFILE_INFO_KHR: |
1593 | return "VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_PROFILE_INFO_KHR" ; |
1594 | case VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_SESSION_PARAMETERS_ADD_INFO_KHR: |
1595 | return "VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_SESSION_PARAMETERS_ADD_INFO_KHR" ; |
1596 | case VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_SESSION_PARAMETERS_CREATE_INFO_KHR: |
1597 | return "VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_SESSION_PARAMETERS_CREATE_INFO_KHR" ; |
1598 | case VK_STRUCTURE_TYPE_VIDEO_DECODE_INFO_KHR: |
1599 | return "VK_STRUCTURE_TYPE_VIDEO_DECODE_INFO_KHR" ; |
1600 | case VK_STRUCTURE_TYPE_VIDEO_DECODE_USAGE_INFO_KHR: |
1601 | return "VK_STRUCTURE_TYPE_VIDEO_DECODE_USAGE_INFO_KHR" ; |
1602 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
1603 | case VK_STRUCTURE_TYPE_VIDEO_ENCODE_CAPABILITIES_KHR: |
1604 | return "VK_STRUCTURE_TYPE_VIDEO_ENCODE_CAPABILITIES_KHR" ; |
1605 | #endif // VK_ENABLE_BETA_EXTENSIONS |
1606 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
1607 | case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_CAPABILITIES_EXT: |
1608 | return "VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_CAPABILITIES_EXT" ; |
1609 | #endif // VK_ENABLE_BETA_EXTENSIONS |
1610 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
1611 | case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_DPB_SLOT_INFO_EXT: |
1612 | return "VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_DPB_SLOT_INFO_EXT" ; |
1613 | #endif // VK_ENABLE_BETA_EXTENSIONS |
1614 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
1615 | case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_NALU_SLICE_INFO_EXT: |
1616 | return "VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_NALU_SLICE_INFO_EXT" ; |
1617 | #endif // VK_ENABLE_BETA_EXTENSIONS |
1618 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
1619 | case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_PROFILE_INFO_EXT: |
1620 | return "VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_PROFILE_INFO_EXT" ; |
1621 | #endif // VK_ENABLE_BETA_EXTENSIONS |
1622 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
1623 | case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_RATE_CONTROL_INFO_EXT: |
1624 | return "VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_RATE_CONTROL_INFO_EXT" ; |
1625 | #endif // VK_ENABLE_BETA_EXTENSIONS |
1626 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
1627 | case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_RATE_CONTROL_LAYER_INFO_EXT: |
1628 | return "VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_RATE_CONTROL_LAYER_INFO_EXT" ; |
1629 | #endif // VK_ENABLE_BETA_EXTENSIONS |
1630 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
1631 | case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_PARAMETERS_ADD_INFO_EXT: |
1632 | return "VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_PARAMETERS_ADD_INFO_EXT" ; |
1633 | #endif // VK_ENABLE_BETA_EXTENSIONS |
1634 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
1635 | case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_PARAMETERS_CREATE_INFO_EXT: |
1636 | return "VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_PARAMETERS_CREATE_INFO_EXT" ; |
1637 | #endif // VK_ENABLE_BETA_EXTENSIONS |
1638 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
1639 | case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_VCL_FRAME_INFO_EXT: |
1640 | return "VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_VCL_FRAME_INFO_EXT" ; |
1641 | #endif // VK_ENABLE_BETA_EXTENSIONS |
1642 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
1643 | case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_CAPABILITIES_EXT: |
1644 | return "VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_CAPABILITIES_EXT" ; |
1645 | #endif // VK_ENABLE_BETA_EXTENSIONS |
1646 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
1647 | case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_DPB_SLOT_INFO_EXT: |
1648 | return "VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_DPB_SLOT_INFO_EXT" ; |
1649 | #endif // VK_ENABLE_BETA_EXTENSIONS |
1650 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
1651 | case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_NALU_SLICE_SEGMENT_INFO_EXT: |
1652 | return "VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_NALU_SLICE_SEGMENT_INFO_EXT" ; |
1653 | #endif // VK_ENABLE_BETA_EXTENSIONS |
1654 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
1655 | case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_PROFILE_INFO_EXT: |
1656 | return "VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_PROFILE_INFO_EXT" ; |
1657 | #endif // VK_ENABLE_BETA_EXTENSIONS |
1658 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
1659 | case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_RATE_CONTROL_INFO_EXT: |
1660 | return "VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_RATE_CONTROL_INFO_EXT" ; |
1661 | #endif // VK_ENABLE_BETA_EXTENSIONS |
1662 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
1663 | case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_RATE_CONTROL_LAYER_INFO_EXT: |
1664 | return "VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_RATE_CONTROL_LAYER_INFO_EXT" ; |
1665 | #endif // VK_ENABLE_BETA_EXTENSIONS |
1666 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
1667 | case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_ADD_INFO_EXT: |
1668 | return "VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_ADD_INFO_EXT" ; |
1669 | #endif // VK_ENABLE_BETA_EXTENSIONS |
1670 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
1671 | case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_CREATE_INFO_EXT: |
1672 | return "VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_CREATE_INFO_EXT" ; |
1673 | #endif // VK_ENABLE_BETA_EXTENSIONS |
1674 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
1675 | case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_VCL_FRAME_INFO_EXT: |
1676 | return "VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_VCL_FRAME_INFO_EXT" ; |
1677 | #endif // VK_ENABLE_BETA_EXTENSIONS |
1678 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
1679 | case VK_STRUCTURE_TYPE_VIDEO_ENCODE_INFO_KHR: |
1680 | return "VK_STRUCTURE_TYPE_VIDEO_ENCODE_INFO_KHR" ; |
1681 | #endif // VK_ENABLE_BETA_EXTENSIONS |
1682 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
1683 | case VK_STRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_INFO_KHR: |
1684 | return "VK_STRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_INFO_KHR" ; |
1685 | #endif // VK_ENABLE_BETA_EXTENSIONS |
1686 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
1687 | case VK_STRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_LAYER_INFO_KHR: |
1688 | return "VK_STRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_LAYER_INFO_KHR" ; |
1689 | #endif // VK_ENABLE_BETA_EXTENSIONS |
1690 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
1691 | case VK_STRUCTURE_TYPE_VIDEO_ENCODE_USAGE_INFO_KHR: |
1692 | return "VK_STRUCTURE_TYPE_VIDEO_ENCODE_USAGE_INFO_KHR" ; |
1693 | #endif // VK_ENABLE_BETA_EXTENSIONS |
1694 | case VK_STRUCTURE_TYPE_VIDEO_END_CODING_INFO_KHR: |
1695 | return "VK_STRUCTURE_TYPE_VIDEO_END_CODING_INFO_KHR" ; |
1696 | case VK_STRUCTURE_TYPE_VIDEO_FORMAT_PROPERTIES_KHR: |
1697 | return "VK_STRUCTURE_TYPE_VIDEO_FORMAT_PROPERTIES_KHR" ; |
1698 | case VK_STRUCTURE_TYPE_VIDEO_PICTURE_RESOURCE_INFO_KHR: |
1699 | return "VK_STRUCTURE_TYPE_VIDEO_PICTURE_RESOURCE_INFO_KHR" ; |
1700 | case VK_STRUCTURE_TYPE_VIDEO_PROFILE_INFO_KHR: |
1701 | return "VK_STRUCTURE_TYPE_VIDEO_PROFILE_INFO_KHR" ; |
1702 | case VK_STRUCTURE_TYPE_VIDEO_PROFILE_LIST_INFO_KHR: |
1703 | return "VK_STRUCTURE_TYPE_VIDEO_PROFILE_LIST_INFO_KHR" ; |
1704 | case VK_STRUCTURE_TYPE_VIDEO_REFERENCE_SLOT_INFO_KHR: |
1705 | return "VK_STRUCTURE_TYPE_VIDEO_REFERENCE_SLOT_INFO_KHR" ; |
1706 | case VK_STRUCTURE_TYPE_VIDEO_SESSION_CREATE_INFO_KHR: |
1707 | return "VK_STRUCTURE_TYPE_VIDEO_SESSION_CREATE_INFO_KHR" ; |
1708 | case VK_STRUCTURE_TYPE_VIDEO_SESSION_MEMORY_REQUIREMENTS_KHR: |
1709 | return "VK_STRUCTURE_TYPE_VIDEO_SESSION_MEMORY_REQUIREMENTS_KHR" ; |
1710 | case VK_STRUCTURE_TYPE_VIDEO_SESSION_PARAMETERS_CREATE_INFO_KHR: |
1711 | return "VK_STRUCTURE_TYPE_VIDEO_SESSION_PARAMETERS_CREATE_INFO_KHR" ; |
1712 | case VK_STRUCTURE_TYPE_VIDEO_SESSION_PARAMETERS_UPDATE_INFO_KHR: |
1713 | return "VK_STRUCTURE_TYPE_VIDEO_SESSION_PARAMETERS_UPDATE_INFO_KHR" ; |
1714 | case VK_STRUCTURE_TYPE_VI_SURFACE_CREATE_INFO_NN: |
1715 | return "VK_STRUCTURE_TYPE_VI_SURFACE_CREATE_INFO_NN" ; |
1716 | case VK_STRUCTURE_TYPE_WAYLAND_SURFACE_CREATE_INFO_KHR: |
1717 | return "VK_STRUCTURE_TYPE_WAYLAND_SURFACE_CREATE_INFO_KHR" ; |
1718 | case VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_KHR: |
1719 | return "VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_KHR" ; |
1720 | case VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_NV: |
1721 | return "VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_NV" ; |
1722 | case VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR: |
1723 | return "VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR" ; |
1724 | case VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET: |
1725 | return "VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET" ; |
1726 | case VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_KHR: |
1727 | return "VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_KHR" ; |
1728 | case VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_NV: |
1729 | return "VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_NV" ; |
1730 | case VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_INLINE_UNIFORM_BLOCK: |
1731 | return "VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_INLINE_UNIFORM_BLOCK" ; |
1732 | case VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR: |
1733 | return "VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR" ; |
1734 | case VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR: |
1735 | return "VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR" ; |
1736 | default: |
1737 | return "Unhandled VkStructureType" ; |
1738 | } |
1739 | } |
1740 | |
1741 | static inline const char* (VkPipelineCacheHeaderVersion input_value) |
1742 | { |
1743 | switch (input_value) |
1744 | { |
1745 | case VK_PIPELINE_CACHE_HEADER_VERSION_ONE: |
1746 | return "VK_PIPELINE_CACHE_HEADER_VERSION_ONE" ; |
1747 | default: |
1748 | return "Unhandled VkPipelineCacheHeaderVersion" ; |
1749 | } |
1750 | } |
1751 | |
1752 | static inline const char* string_VkAccessFlagBits(VkAccessFlagBits input_value) |
1753 | { |
1754 | switch (input_value) |
1755 | { |
1756 | case VK_ACCESS_ACCELERATION_STRUCTURE_READ_BIT_KHR: |
1757 | return "VK_ACCESS_ACCELERATION_STRUCTURE_READ_BIT_KHR" ; |
1758 | case VK_ACCESS_ACCELERATION_STRUCTURE_WRITE_BIT_KHR: |
1759 | return "VK_ACCESS_ACCELERATION_STRUCTURE_WRITE_BIT_KHR" ; |
1760 | case VK_ACCESS_COLOR_ATTACHMENT_READ_BIT: |
1761 | return "VK_ACCESS_COLOR_ATTACHMENT_READ_BIT" ; |
1762 | case VK_ACCESS_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT: |
1763 | return "VK_ACCESS_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT" ; |
1764 | case VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT: |
1765 | return "VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT" ; |
1766 | case VK_ACCESS_COMMAND_PREPROCESS_READ_BIT_NV: |
1767 | return "VK_ACCESS_COMMAND_PREPROCESS_READ_BIT_NV" ; |
1768 | case VK_ACCESS_COMMAND_PREPROCESS_WRITE_BIT_NV: |
1769 | return "VK_ACCESS_COMMAND_PREPROCESS_WRITE_BIT_NV" ; |
1770 | case VK_ACCESS_CONDITIONAL_RENDERING_READ_BIT_EXT: |
1771 | return "VK_ACCESS_CONDITIONAL_RENDERING_READ_BIT_EXT" ; |
1772 | case VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT: |
1773 | return "VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT" ; |
1774 | case VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT: |
1775 | return "VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT" ; |
1776 | case VK_ACCESS_FRAGMENT_DENSITY_MAP_READ_BIT_EXT: |
1777 | return "VK_ACCESS_FRAGMENT_DENSITY_MAP_READ_BIT_EXT" ; |
1778 | case VK_ACCESS_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR: |
1779 | return "VK_ACCESS_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR" ; |
1780 | case VK_ACCESS_HOST_READ_BIT: |
1781 | return "VK_ACCESS_HOST_READ_BIT" ; |
1782 | case VK_ACCESS_HOST_WRITE_BIT: |
1783 | return "VK_ACCESS_HOST_WRITE_BIT" ; |
1784 | case VK_ACCESS_INDEX_READ_BIT: |
1785 | return "VK_ACCESS_INDEX_READ_BIT" ; |
1786 | case VK_ACCESS_INDIRECT_COMMAND_READ_BIT: |
1787 | return "VK_ACCESS_INDIRECT_COMMAND_READ_BIT" ; |
1788 | case VK_ACCESS_INPUT_ATTACHMENT_READ_BIT: |
1789 | return "VK_ACCESS_INPUT_ATTACHMENT_READ_BIT" ; |
1790 | case VK_ACCESS_MEMORY_READ_BIT: |
1791 | return "VK_ACCESS_MEMORY_READ_BIT" ; |
1792 | case VK_ACCESS_MEMORY_WRITE_BIT: |
1793 | return "VK_ACCESS_MEMORY_WRITE_BIT" ; |
1794 | case VK_ACCESS_NONE: |
1795 | return "VK_ACCESS_NONE" ; |
1796 | case VK_ACCESS_SHADER_READ_BIT: |
1797 | return "VK_ACCESS_SHADER_READ_BIT" ; |
1798 | case VK_ACCESS_SHADER_WRITE_BIT: |
1799 | return "VK_ACCESS_SHADER_WRITE_BIT" ; |
1800 | case VK_ACCESS_TRANSFER_READ_BIT: |
1801 | return "VK_ACCESS_TRANSFER_READ_BIT" ; |
1802 | case VK_ACCESS_TRANSFER_WRITE_BIT: |
1803 | return "VK_ACCESS_TRANSFER_WRITE_BIT" ; |
1804 | case VK_ACCESS_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT: |
1805 | return "VK_ACCESS_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT" ; |
1806 | case VK_ACCESS_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT: |
1807 | return "VK_ACCESS_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT" ; |
1808 | case VK_ACCESS_TRANSFORM_FEEDBACK_WRITE_BIT_EXT: |
1809 | return "VK_ACCESS_TRANSFORM_FEEDBACK_WRITE_BIT_EXT" ; |
1810 | case VK_ACCESS_UNIFORM_READ_BIT: |
1811 | return "VK_ACCESS_UNIFORM_READ_BIT" ; |
1812 | case VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT: |
1813 | return "VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT" ; |
1814 | default: |
1815 | return "Unhandled VkAccessFlagBits" ; |
1816 | } |
1817 | } |
1818 | |
1819 | static inline std::string string_VkAccessFlags(VkAccessFlags input_value) |
1820 | { |
1821 | std::string ret; |
1822 | int index = 0; |
1823 | while(input_value) { |
1824 | if (input_value & 1) { |
1825 | if( !ret.empty()) ret.append("|" ); |
1826 | ret.append(string_VkAccessFlagBits(static_cast<VkAccessFlagBits>(1U << index))); |
1827 | } |
1828 | ++index; |
1829 | input_value >>= 1; |
1830 | } |
1831 | if (ret.empty()) ret.append("VkAccessFlags(0)" ); |
1832 | return ret; |
1833 | } |
1834 | |
1835 | static inline const char* string_VkImageLayout(VkImageLayout input_value) |
1836 | { |
1837 | switch (input_value) |
1838 | { |
1839 | case VK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXT: |
1840 | return "VK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXT" ; |
1841 | case VK_IMAGE_LAYOUT_ATTACHMENT_OPTIMAL: |
1842 | return "VK_IMAGE_LAYOUT_ATTACHMENT_OPTIMAL" ; |
1843 | case VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL: |
1844 | return "VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL" ; |
1845 | case VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMAL: |
1846 | return "VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMAL" ; |
1847 | case VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL: |
1848 | return "VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL" ; |
1849 | case VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL: |
1850 | return "VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL" ; |
1851 | case VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL: |
1852 | return "VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL" ; |
1853 | case VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL: |
1854 | return "VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL" ; |
1855 | case VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL: |
1856 | return "VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL" ; |
1857 | case VK_IMAGE_LAYOUT_FRAGMENT_DENSITY_MAP_OPTIMAL_EXT: |
1858 | return "VK_IMAGE_LAYOUT_FRAGMENT_DENSITY_MAP_OPTIMAL_EXT" ; |
1859 | case VK_IMAGE_LAYOUT_FRAGMENT_SHADING_RATE_ATTACHMENT_OPTIMAL_KHR: |
1860 | return "VK_IMAGE_LAYOUT_FRAGMENT_SHADING_RATE_ATTACHMENT_OPTIMAL_KHR" ; |
1861 | case VK_IMAGE_LAYOUT_GENERAL: |
1862 | return "VK_IMAGE_LAYOUT_GENERAL" ; |
1863 | case VK_IMAGE_LAYOUT_PREINITIALIZED: |
1864 | return "VK_IMAGE_LAYOUT_PREINITIALIZED" ; |
1865 | case VK_IMAGE_LAYOUT_PRESENT_SRC_KHR: |
1866 | return "VK_IMAGE_LAYOUT_PRESENT_SRC_KHR" ; |
1867 | case VK_IMAGE_LAYOUT_READ_ONLY_OPTIMAL: |
1868 | return "VK_IMAGE_LAYOUT_READ_ONLY_OPTIMAL" ; |
1869 | case VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL: |
1870 | return "VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL" ; |
1871 | case VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR: |
1872 | return "VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR" ; |
1873 | case VK_IMAGE_LAYOUT_STENCIL_ATTACHMENT_OPTIMAL: |
1874 | return "VK_IMAGE_LAYOUT_STENCIL_ATTACHMENT_OPTIMAL" ; |
1875 | case VK_IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL: |
1876 | return "VK_IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL" ; |
1877 | case VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL: |
1878 | return "VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL" ; |
1879 | case VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL: |
1880 | return "VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL" ; |
1881 | case VK_IMAGE_LAYOUT_UNDEFINED: |
1882 | return "VK_IMAGE_LAYOUT_UNDEFINED" ; |
1883 | case VK_IMAGE_LAYOUT_VIDEO_DECODE_DPB_KHR: |
1884 | return "VK_IMAGE_LAYOUT_VIDEO_DECODE_DPB_KHR" ; |
1885 | case VK_IMAGE_LAYOUT_VIDEO_DECODE_DST_KHR: |
1886 | return "VK_IMAGE_LAYOUT_VIDEO_DECODE_DST_KHR" ; |
1887 | case VK_IMAGE_LAYOUT_VIDEO_DECODE_SRC_KHR: |
1888 | return "VK_IMAGE_LAYOUT_VIDEO_DECODE_SRC_KHR" ; |
1889 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
1890 | case VK_IMAGE_LAYOUT_VIDEO_ENCODE_DPB_KHR: |
1891 | return "VK_IMAGE_LAYOUT_VIDEO_ENCODE_DPB_KHR" ; |
1892 | #endif // VK_ENABLE_BETA_EXTENSIONS |
1893 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
1894 | case VK_IMAGE_LAYOUT_VIDEO_ENCODE_DST_KHR: |
1895 | return "VK_IMAGE_LAYOUT_VIDEO_ENCODE_DST_KHR" ; |
1896 | #endif // VK_ENABLE_BETA_EXTENSIONS |
1897 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
1898 | case VK_IMAGE_LAYOUT_VIDEO_ENCODE_SRC_KHR: |
1899 | return "VK_IMAGE_LAYOUT_VIDEO_ENCODE_SRC_KHR" ; |
1900 | #endif // VK_ENABLE_BETA_EXTENSIONS |
1901 | default: |
1902 | return "Unhandled VkImageLayout" ; |
1903 | } |
1904 | } |
1905 | |
1906 | static inline const char* string_VkImageAspectFlagBits(VkImageAspectFlagBits input_value) |
1907 | { |
1908 | switch (input_value) |
1909 | { |
1910 | case VK_IMAGE_ASPECT_COLOR_BIT: |
1911 | return "VK_IMAGE_ASPECT_COLOR_BIT" ; |
1912 | case VK_IMAGE_ASPECT_DEPTH_BIT: |
1913 | return "VK_IMAGE_ASPECT_DEPTH_BIT" ; |
1914 | case VK_IMAGE_ASPECT_MEMORY_PLANE_0_BIT_EXT: |
1915 | return "VK_IMAGE_ASPECT_MEMORY_PLANE_0_BIT_EXT" ; |
1916 | case VK_IMAGE_ASPECT_MEMORY_PLANE_1_BIT_EXT: |
1917 | return "VK_IMAGE_ASPECT_MEMORY_PLANE_1_BIT_EXT" ; |
1918 | case VK_IMAGE_ASPECT_MEMORY_PLANE_2_BIT_EXT: |
1919 | return "VK_IMAGE_ASPECT_MEMORY_PLANE_2_BIT_EXT" ; |
1920 | case VK_IMAGE_ASPECT_MEMORY_PLANE_3_BIT_EXT: |
1921 | return "VK_IMAGE_ASPECT_MEMORY_PLANE_3_BIT_EXT" ; |
1922 | case VK_IMAGE_ASPECT_METADATA_BIT: |
1923 | return "VK_IMAGE_ASPECT_METADATA_BIT" ; |
1924 | case VK_IMAGE_ASPECT_NONE: |
1925 | return "VK_IMAGE_ASPECT_NONE" ; |
1926 | case VK_IMAGE_ASPECT_PLANE_0_BIT: |
1927 | return "VK_IMAGE_ASPECT_PLANE_0_BIT" ; |
1928 | case VK_IMAGE_ASPECT_PLANE_1_BIT: |
1929 | return "VK_IMAGE_ASPECT_PLANE_1_BIT" ; |
1930 | case VK_IMAGE_ASPECT_PLANE_2_BIT: |
1931 | return "VK_IMAGE_ASPECT_PLANE_2_BIT" ; |
1932 | case VK_IMAGE_ASPECT_STENCIL_BIT: |
1933 | return "VK_IMAGE_ASPECT_STENCIL_BIT" ; |
1934 | default: |
1935 | return "Unhandled VkImageAspectFlagBits" ; |
1936 | } |
1937 | } |
1938 | |
1939 | static inline std::string string_VkImageAspectFlags(VkImageAspectFlags input_value) |
1940 | { |
1941 | std::string ret; |
1942 | int index = 0; |
1943 | while(input_value) { |
1944 | if (input_value & 1) { |
1945 | if( !ret.empty()) ret.append("|" ); |
1946 | ret.append(string_VkImageAspectFlagBits(static_cast<VkImageAspectFlagBits>(1U << index))); |
1947 | } |
1948 | ++index; |
1949 | input_value >>= 1; |
1950 | } |
1951 | if (ret.empty()) ret.append("VkImageAspectFlags(0)" ); |
1952 | return ret; |
1953 | } |
1954 | |
1955 | static inline const char* string_VkObjectType(VkObjectType input_value) |
1956 | { |
1957 | switch (input_value) |
1958 | { |
1959 | case VK_OBJECT_TYPE_ACCELERATION_STRUCTURE_KHR: |
1960 | return "VK_OBJECT_TYPE_ACCELERATION_STRUCTURE_KHR" ; |
1961 | case VK_OBJECT_TYPE_ACCELERATION_STRUCTURE_NV: |
1962 | return "VK_OBJECT_TYPE_ACCELERATION_STRUCTURE_NV" ; |
1963 | case VK_OBJECT_TYPE_BUFFER: |
1964 | return "VK_OBJECT_TYPE_BUFFER" ; |
1965 | case VK_OBJECT_TYPE_BUFFER_COLLECTION_FUCHSIA: |
1966 | return "VK_OBJECT_TYPE_BUFFER_COLLECTION_FUCHSIA" ; |
1967 | case VK_OBJECT_TYPE_BUFFER_VIEW: |
1968 | return "VK_OBJECT_TYPE_BUFFER_VIEW" ; |
1969 | case VK_OBJECT_TYPE_COMMAND_BUFFER: |
1970 | return "VK_OBJECT_TYPE_COMMAND_BUFFER" ; |
1971 | case VK_OBJECT_TYPE_COMMAND_POOL: |
1972 | return "VK_OBJECT_TYPE_COMMAND_POOL" ; |
1973 | case VK_OBJECT_TYPE_CU_FUNCTION_NVX: |
1974 | return "VK_OBJECT_TYPE_CU_FUNCTION_NVX" ; |
1975 | case VK_OBJECT_TYPE_CU_MODULE_NVX: |
1976 | return "VK_OBJECT_TYPE_CU_MODULE_NVX" ; |
1977 | case VK_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT: |
1978 | return "VK_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT" ; |
1979 | case VK_OBJECT_TYPE_DEBUG_UTILS_MESSENGER_EXT: |
1980 | return "VK_OBJECT_TYPE_DEBUG_UTILS_MESSENGER_EXT" ; |
1981 | case VK_OBJECT_TYPE_DEFERRED_OPERATION_KHR: |
1982 | return "VK_OBJECT_TYPE_DEFERRED_OPERATION_KHR" ; |
1983 | case VK_OBJECT_TYPE_DESCRIPTOR_POOL: |
1984 | return "VK_OBJECT_TYPE_DESCRIPTOR_POOL" ; |
1985 | case VK_OBJECT_TYPE_DESCRIPTOR_SET: |
1986 | return "VK_OBJECT_TYPE_DESCRIPTOR_SET" ; |
1987 | case VK_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT: |
1988 | return "VK_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT" ; |
1989 | case VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE: |
1990 | return "VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE" ; |
1991 | case VK_OBJECT_TYPE_DEVICE: |
1992 | return "VK_OBJECT_TYPE_DEVICE" ; |
1993 | case VK_OBJECT_TYPE_DEVICE_MEMORY: |
1994 | return "VK_OBJECT_TYPE_DEVICE_MEMORY" ; |
1995 | case VK_OBJECT_TYPE_DISPLAY_KHR: |
1996 | return "VK_OBJECT_TYPE_DISPLAY_KHR" ; |
1997 | case VK_OBJECT_TYPE_DISPLAY_MODE_KHR: |
1998 | return "VK_OBJECT_TYPE_DISPLAY_MODE_KHR" ; |
1999 | case VK_OBJECT_TYPE_EVENT: |
2000 | return "VK_OBJECT_TYPE_EVENT" ; |
2001 | case VK_OBJECT_TYPE_FENCE: |
2002 | return "VK_OBJECT_TYPE_FENCE" ; |
2003 | case VK_OBJECT_TYPE_FRAMEBUFFER: |
2004 | return "VK_OBJECT_TYPE_FRAMEBUFFER" ; |
2005 | case VK_OBJECT_TYPE_IMAGE: |
2006 | return "VK_OBJECT_TYPE_IMAGE" ; |
2007 | case VK_OBJECT_TYPE_IMAGE_VIEW: |
2008 | return "VK_OBJECT_TYPE_IMAGE_VIEW" ; |
2009 | case VK_OBJECT_TYPE_INDIRECT_COMMANDS_LAYOUT_NV: |
2010 | return "VK_OBJECT_TYPE_INDIRECT_COMMANDS_LAYOUT_NV" ; |
2011 | case VK_OBJECT_TYPE_INSTANCE: |
2012 | return "VK_OBJECT_TYPE_INSTANCE" ; |
2013 | case VK_OBJECT_TYPE_MICROMAP_EXT: |
2014 | return "VK_OBJECT_TYPE_MICROMAP_EXT" ; |
2015 | case VK_OBJECT_TYPE_OPTICAL_FLOW_SESSION_NV: |
2016 | return "VK_OBJECT_TYPE_OPTICAL_FLOW_SESSION_NV" ; |
2017 | case VK_OBJECT_TYPE_PERFORMANCE_CONFIGURATION_INTEL: |
2018 | return "VK_OBJECT_TYPE_PERFORMANCE_CONFIGURATION_INTEL" ; |
2019 | case VK_OBJECT_TYPE_PHYSICAL_DEVICE: |
2020 | return "VK_OBJECT_TYPE_PHYSICAL_DEVICE" ; |
2021 | case VK_OBJECT_TYPE_PIPELINE: |
2022 | return "VK_OBJECT_TYPE_PIPELINE" ; |
2023 | case VK_OBJECT_TYPE_PIPELINE_CACHE: |
2024 | return "VK_OBJECT_TYPE_PIPELINE_CACHE" ; |
2025 | case VK_OBJECT_TYPE_PIPELINE_LAYOUT: |
2026 | return "VK_OBJECT_TYPE_PIPELINE_LAYOUT" ; |
2027 | case VK_OBJECT_TYPE_PRIVATE_DATA_SLOT: |
2028 | return "VK_OBJECT_TYPE_PRIVATE_DATA_SLOT" ; |
2029 | case VK_OBJECT_TYPE_QUERY_POOL: |
2030 | return "VK_OBJECT_TYPE_QUERY_POOL" ; |
2031 | case VK_OBJECT_TYPE_QUEUE: |
2032 | return "VK_OBJECT_TYPE_QUEUE" ; |
2033 | case VK_OBJECT_TYPE_RENDER_PASS: |
2034 | return "VK_OBJECT_TYPE_RENDER_PASS" ; |
2035 | case VK_OBJECT_TYPE_SAMPLER: |
2036 | return "VK_OBJECT_TYPE_SAMPLER" ; |
2037 | case VK_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION: |
2038 | return "VK_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION" ; |
2039 | case VK_OBJECT_TYPE_SEMAPHORE: |
2040 | return "VK_OBJECT_TYPE_SEMAPHORE" ; |
2041 | case VK_OBJECT_TYPE_SHADER_EXT: |
2042 | return "VK_OBJECT_TYPE_SHADER_EXT" ; |
2043 | case VK_OBJECT_TYPE_SHADER_MODULE: |
2044 | return "VK_OBJECT_TYPE_SHADER_MODULE" ; |
2045 | case VK_OBJECT_TYPE_SURFACE_KHR: |
2046 | return "VK_OBJECT_TYPE_SURFACE_KHR" ; |
2047 | case VK_OBJECT_TYPE_SWAPCHAIN_KHR: |
2048 | return "VK_OBJECT_TYPE_SWAPCHAIN_KHR" ; |
2049 | case VK_OBJECT_TYPE_UNKNOWN: |
2050 | return "VK_OBJECT_TYPE_UNKNOWN" ; |
2051 | case VK_OBJECT_TYPE_VALIDATION_CACHE_EXT: |
2052 | return "VK_OBJECT_TYPE_VALIDATION_CACHE_EXT" ; |
2053 | case VK_OBJECT_TYPE_VIDEO_SESSION_KHR: |
2054 | return "VK_OBJECT_TYPE_VIDEO_SESSION_KHR" ; |
2055 | case VK_OBJECT_TYPE_VIDEO_SESSION_PARAMETERS_KHR: |
2056 | return "VK_OBJECT_TYPE_VIDEO_SESSION_PARAMETERS_KHR" ; |
2057 | default: |
2058 | return "Unhandled VkObjectType" ; |
2059 | } |
2060 | } |
2061 | |
2062 | static inline const char* string_VkVendorId(VkVendorId input_value) |
2063 | { |
2064 | switch (input_value) |
2065 | { |
2066 | case VK_VENDOR_ID_CODEPLAY: |
2067 | return "VK_VENDOR_ID_CODEPLAY" ; |
2068 | case VK_VENDOR_ID_KAZAN: |
2069 | return "VK_VENDOR_ID_KAZAN" ; |
2070 | case VK_VENDOR_ID_MESA: |
2071 | return "VK_VENDOR_ID_MESA" ; |
2072 | case VK_VENDOR_ID_MOBILEYE: |
2073 | return "VK_VENDOR_ID_MOBILEYE" ; |
2074 | case VK_VENDOR_ID_POCL: |
2075 | return "VK_VENDOR_ID_POCL" ; |
2076 | case VK_VENDOR_ID_VIV: |
2077 | return "VK_VENDOR_ID_VIV" ; |
2078 | case VK_VENDOR_ID_VSI: |
2079 | return "VK_VENDOR_ID_VSI" ; |
2080 | default: |
2081 | return "Unhandled VkVendorId" ; |
2082 | } |
2083 | } |
2084 | |
2085 | static inline const char* string_VkSystemAllocationScope(VkSystemAllocationScope input_value) |
2086 | { |
2087 | switch (input_value) |
2088 | { |
2089 | case VK_SYSTEM_ALLOCATION_SCOPE_CACHE: |
2090 | return "VK_SYSTEM_ALLOCATION_SCOPE_CACHE" ; |
2091 | case VK_SYSTEM_ALLOCATION_SCOPE_COMMAND: |
2092 | return "VK_SYSTEM_ALLOCATION_SCOPE_COMMAND" ; |
2093 | case VK_SYSTEM_ALLOCATION_SCOPE_DEVICE: |
2094 | return "VK_SYSTEM_ALLOCATION_SCOPE_DEVICE" ; |
2095 | case VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE: |
2096 | return "VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE" ; |
2097 | case VK_SYSTEM_ALLOCATION_SCOPE_OBJECT: |
2098 | return "VK_SYSTEM_ALLOCATION_SCOPE_OBJECT" ; |
2099 | default: |
2100 | return "Unhandled VkSystemAllocationScope" ; |
2101 | } |
2102 | } |
2103 | |
2104 | static inline const char* string_VkInternalAllocationType(VkInternalAllocationType input_value) |
2105 | { |
2106 | switch (input_value) |
2107 | { |
2108 | case VK_INTERNAL_ALLOCATION_TYPE_EXECUTABLE: |
2109 | return "VK_INTERNAL_ALLOCATION_TYPE_EXECUTABLE" ; |
2110 | default: |
2111 | return "Unhandled VkInternalAllocationType" ; |
2112 | } |
2113 | } |
2114 | |
2115 | static inline const char* string_VkFormat(VkFormat input_value) |
2116 | { |
2117 | switch (input_value) |
2118 | { |
2119 | case VK_FORMAT_A1R5G5B5_UNORM_PACK16: |
2120 | return "VK_FORMAT_A1R5G5B5_UNORM_PACK16" ; |
2121 | case VK_FORMAT_A2B10G10R10_SINT_PACK32: |
2122 | return "VK_FORMAT_A2B10G10R10_SINT_PACK32" ; |
2123 | case VK_FORMAT_A2B10G10R10_SNORM_PACK32: |
2124 | return "VK_FORMAT_A2B10G10R10_SNORM_PACK32" ; |
2125 | case VK_FORMAT_A2B10G10R10_SSCALED_PACK32: |
2126 | return "VK_FORMAT_A2B10G10R10_SSCALED_PACK32" ; |
2127 | case VK_FORMAT_A2B10G10R10_UINT_PACK32: |
2128 | return "VK_FORMAT_A2B10G10R10_UINT_PACK32" ; |
2129 | case VK_FORMAT_A2B10G10R10_UNORM_PACK32: |
2130 | return "VK_FORMAT_A2B10G10R10_UNORM_PACK32" ; |
2131 | case VK_FORMAT_A2B10G10R10_USCALED_PACK32: |
2132 | return "VK_FORMAT_A2B10G10R10_USCALED_PACK32" ; |
2133 | case VK_FORMAT_A2R10G10B10_SINT_PACK32: |
2134 | return "VK_FORMAT_A2R10G10B10_SINT_PACK32" ; |
2135 | case VK_FORMAT_A2R10G10B10_SNORM_PACK32: |
2136 | return "VK_FORMAT_A2R10G10B10_SNORM_PACK32" ; |
2137 | case VK_FORMAT_A2R10G10B10_SSCALED_PACK32: |
2138 | return "VK_FORMAT_A2R10G10B10_SSCALED_PACK32" ; |
2139 | case VK_FORMAT_A2R10G10B10_UINT_PACK32: |
2140 | return "VK_FORMAT_A2R10G10B10_UINT_PACK32" ; |
2141 | case VK_FORMAT_A2R10G10B10_UNORM_PACK32: |
2142 | return "VK_FORMAT_A2R10G10B10_UNORM_PACK32" ; |
2143 | case VK_FORMAT_A2R10G10B10_USCALED_PACK32: |
2144 | return "VK_FORMAT_A2R10G10B10_USCALED_PACK32" ; |
2145 | case VK_FORMAT_A4B4G4R4_UNORM_PACK16: |
2146 | return "VK_FORMAT_A4B4G4R4_UNORM_PACK16" ; |
2147 | case VK_FORMAT_A4R4G4B4_UNORM_PACK16: |
2148 | return "VK_FORMAT_A4R4G4B4_UNORM_PACK16" ; |
2149 | case VK_FORMAT_A8B8G8R8_SINT_PACK32: |
2150 | return "VK_FORMAT_A8B8G8R8_SINT_PACK32" ; |
2151 | case VK_FORMAT_A8B8G8R8_SNORM_PACK32: |
2152 | return "VK_FORMAT_A8B8G8R8_SNORM_PACK32" ; |
2153 | case VK_FORMAT_A8B8G8R8_SRGB_PACK32: |
2154 | return "VK_FORMAT_A8B8G8R8_SRGB_PACK32" ; |
2155 | case VK_FORMAT_A8B8G8R8_SSCALED_PACK32: |
2156 | return "VK_FORMAT_A8B8G8R8_SSCALED_PACK32" ; |
2157 | case VK_FORMAT_A8B8G8R8_UINT_PACK32: |
2158 | return "VK_FORMAT_A8B8G8R8_UINT_PACK32" ; |
2159 | case VK_FORMAT_A8B8G8R8_UNORM_PACK32: |
2160 | return "VK_FORMAT_A8B8G8R8_UNORM_PACK32" ; |
2161 | case VK_FORMAT_A8B8G8R8_USCALED_PACK32: |
2162 | return "VK_FORMAT_A8B8G8R8_USCALED_PACK32" ; |
2163 | case VK_FORMAT_ASTC_10x10_SFLOAT_BLOCK: |
2164 | return "VK_FORMAT_ASTC_10x10_SFLOAT_BLOCK" ; |
2165 | case VK_FORMAT_ASTC_10x10_SRGB_BLOCK: |
2166 | return "VK_FORMAT_ASTC_10x10_SRGB_BLOCK" ; |
2167 | case VK_FORMAT_ASTC_10x10_UNORM_BLOCK: |
2168 | return "VK_FORMAT_ASTC_10x10_UNORM_BLOCK" ; |
2169 | case VK_FORMAT_ASTC_10x5_SFLOAT_BLOCK: |
2170 | return "VK_FORMAT_ASTC_10x5_SFLOAT_BLOCK" ; |
2171 | case VK_FORMAT_ASTC_10x5_SRGB_BLOCK: |
2172 | return "VK_FORMAT_ASTC_10x5_SRGB_BLOCK" ; |
2173 | case VK_FORMAT_ASTC_10x5_UNORM_BLOCK: |
2174 | return "VK_FORMAT_ASTC_10x5_UNORM_BLOCK" ; |
2175 | case VK_FORMAT_ASTC_10x6_SFLOAT_BLOCK: |
2176 | return "VK_FORMAT_ASTC_10x6_SFLOAT_BLOCK" ; |
2177 | case VK_FORMAT_ASTC_10x6_SRGB_BLOCK: |
2178 | return "VK_FORMAT_ASTC_10x6_SRGB_BLOCK" ; |
2179 | case VK_FORMAT_ASTC_10x6_UNORM_BLOCK: |
2180 | return "VK_FORMAT_ASTC_10x6_UNORM_BLOCK" ; |
2181 | case VK_FORMAT_ASTC_10x8_SFLOAT_BLOCK: |
2182 | return "VK_FORMAT_ASTC_10x8_SFLOAT_BLOCK" ; |
2183 | case VK_FORMAT_ASTC_10x8_SRGB_BLOCK: |
2184 | return "VK_FORMAT_ASTC_10x8_SRGB_BLOCK" ; |
2185 | case VK_FORMAT_ASTC_10x8_UNORM_BLOCK: |
2186 | return "VK_FORMAT_ASTC_10x8_UNORM_BLOCK" ; |
2187 | case VK_FORMAT_ASTC_12x10_SFLOAT_BLOCK: |
2188 | return "VK_FORMAT_ASTC_12x10_SFLOAT_BLOCK" ; |
2189 | case VK_FORMAT_ASTC_12x10_SRGB_BLOCK: |
2190 | return "VK_FORMAT_ASTC_12x10_SRGB_BLOCK" ; |
2191 | case VK_FORMAT_ASTC_12x10_UNORM_BLOCK: |
2192 | return "VK_FORMAT_ASTC_12x10_UNORM_BLOCK" ; |
2193 | case VK_FORMAT_ASTC_12x12_SFLOAT_BLOCK: |
2194 | return "VK_FORMAT_ASTC_12x12_SFLOAT_BLOCK" ; |
2195 | case VK_FORMAT_ASTC_12x12_SRGB_BLOCK: |
2196 | return "VK_FORMAT_ASTC_12x12_SRGB_BLOCK" ; |
2197 | case VK_FORMAT_ASTC_12x12_UNORM_BLOCK: |
2198 | return "VK_FORMAT_ASTC_12x12_UNORM_BLOCK" ; |
2199 | case VK_FORMAT_ASTC_4x4_SFLOAT_BLOCK: |
2200 | return "VK_FORMAT_ASTC_4x4_SFLOAT_BLOCK" ; |
2201 | case VK_FORMAT_ASTC_4x4_SRGB_BLOCK: |
2202 | return "VK_FORMAT_ASTC_4x4_SRGB_BLOCK" ; |
2203 | case VK_FORMAT_ASTC_4x4_UNORM_BLOCK: |
2204 | return "VK_FORMAT_ASTC_4x4_UNORM_BLOCK" ; |
2205 | case VK_FORMAT_ASTC_5x4_SFLOAT_BLOCK: |
2206 | return "VK_FORMAT_ASTC_5x4_SFLOAT_BLOCK" ; |
2207 | case VK_FORMAT_ASTC_5x4_SRGB_BLOCK: |
2208 | return "VK_FORMAT_ASTC_5x4_SRGB_BLOCK" ; |
2209 | case VK_FORMAT_ASTC_5x4_UNORM_BLOCK: |
2210 | return "VK_FORMAT_ASTC_5x4_UNORM_BLOCK" ; |
2211 | case VK_FORMAT_ASTC_5x5_SFLOAT_BLOCK: |
2212 | return "VK_FORMAT_ASTC_5x5_SFLOAT_BLOCK" ; |
2213 | case VK_FORMAT_ASTC_5x5_SRGB_BLOCK: |
2214 | return "VK_FORMAT_ASTC_5x5_SRGB_BLOCK" ; |
2215 | case VK_FORMAT_ASTC_5x5_UNORM_BLOCK: |
2216 | return "VK_FORMAT_ASTC_5x5_UNORM_BLOCK" ; |
2217 | case VK_FORMAT_ASTC_6x5_SFLOAT_BLOCK: |
2218 | return "VK_FORMAT_ASTC_6x5_SFLOAT_BLOCK" ; |
2219 | case VK_FORMAT_ASTC_6x5_SRGB_BLOCK: |
2220 | return "VK_FORMAT_ASTC_6x5_SRGB_BLOCK" ; |
2221 | case VK_FORMAT_ASTC_6x5_UNORM_BLOCK: |
2222 | return "VK_FORMAT_ASTC_6x5_UNORM_BLOCK" ; |
2223 | case VK_FORMAT_ASTC_6x6_SFLOAT_BLOCK: |
2224 | return "VK_FORMAT_ASTC_6x6_SFLOAT_BLOCK" ; |
2225 | case VK_FORMAT_ASTC_6x6_SRGB_BLOCK: |
2226 | return "VK_FORMAT_ASTC_6x6_SRGB_BLOCK" ; |
2227 | case VK_FORMAT_ASTC_6x6_UNORM_BLOCK: |
2228 | return "VK_FORMAT_ASTC_6x6_UNORM_BLOCK" ; |
2229 | case VK_FORMAT_ASTC_8x5_SFLOAT_BLOCK: |
2230 | return "VK_FORMAT_ASTC_8x5_SFLOAT_BLOCK" ; |
2231 | case VK_FORMAT_ASTC_8x5_SRGB_BLOCK: |
2232 | return "VK_FORMAT_ASTC_8x5_SRGB_BLOCK" ; |
2233 | case VK_FORMAT_ASTC_8x5_UNORM_BLOCK: |
2234 | return "VK_FORMAT_ASTC_8x5_UNORM_BLOCK" ; |
2235 | case VK_FORMAT_ASTC_8x6_SFLOAT_BLOCK: |
2236 | return "VK_FORMAT_ASTC_8x6_SFLOAT_BLOCK" ; |
2237 | case VK_FORMAT_ASTC_8x6_SRGB_BLOCK: |
2238 | return "VK_FORMAT_ASTC_8x6_SRGB_BLOCK" ; |
2239 | case VK_FORMAT_ASTC_8x6_UNORM_BLOCK: |
2240 | return "VK_FORMAT_ASTC_8x6_UNORM_BLOCK" ; |
2241 | case VK_FORMAT_ASTC_8x8_SFLOAT_BLOCK: |
2242 | return "VK_FORMAT_ASTC_8x8_SFLOAT_BLOCK" ; |
2243 | case VK_FORMAT_ASTC_8x8_SRGB_BLOCK: |
2244 | return "VK_FORMAT_ASTC_8x8_SRGB_BLOCK" ; |
2245 | case VK_FORMAT_ASTC_8x8_UNORM_BLOCK: |
2246 | return "VK_FORMAT_ASTC_8x8_UNORM_BLOCK" ; |
2247 | case VK_FORMAT_B10G11R11_UFLOAT_PACK32: |
2248 | return "VK_FORMAT_B10G11R11_UFLOAT_PACK32" ; |
2249 | case VK_FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16: |
2250 | return "VK_FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16" ; |
2251 | case VK_FORMAT_B12X4G12X4R12X4G12X4_422_UNORM_4PACK16: |
2252 | return "VK_FORMAT_B12X4G12X4R12X4G12X4_422_UNORM_4PACK16" ; |
2253 | case VK_FORMAT_B16G16R16G16_422_UNORM: |
2254 | return "VK_FORMAT_B16G16R16G16_422_UNORM" ; |
2255 | case VK_FORMAT_B4G4R4A4_UNORM_PACK16: |
2256 | return "VK_FORMAT_B4G4R4A4_UNORM_PACK16" ; |
2257 | case VK_FORMAT_B5G5R5A1_UNORM_PACK16: |
2258 | return "VK_FORMAT_B5G5R5A1_UNORM_PACK16" ; |
2259 | case VK_FORMAT_B5G6R5_UNORM_PACK16: |
2260 | return "VK_FORMAT_B5G6R5_UNORM_PACK16" ; |
2261 | case VK_FORMAT_B8G8R8A8_SINT: |
2262 | return "VK_FORMAT_B8G8R8A8_SINT" ; |
2263 | case VK_FORMAT_B8G8R8A8_SNORM: |
2264 | return "VK_FORMAT_B8G8R8A8_SNORM" ; |
2265 | case VK_FORMAT_B8G8R8A8_SRGB: |
2266 | return "VK_FORMAT_B8G8R8A8_SRGB" ; |
2267 | case VK_FORMAT_B8G8R8A8_SSCALED: |
2268 | return "VK_FORMAT_B8G8R8A8_SSCALED" ; |
2269 | case VK_FORMAT_B8G8R8A8_UINT: |
2270 | return "VK_FORMAT_B8G8R8A8_UINT" ; |
2271 | case VK_FORMAT_B8G8R8A8_UNORM: |
2272 | return "VK_FORMAT_B8G8R8A8_UNORM" ; |
2273 | case VK_FORMAT_B8G8R8A8_USCALED: |
2274 | return "VK_FORMAT_B8G8R8A8_USCALED" ; |
2275 | case VK_FORMAT_B8G8R8G8_422_UNORM: |
2276 | return "VK_FORMAT_B8G8R8G8_422_UNORM" ; |
2277 | case VK_FORMAT_B8G8R8_SINT: |
2278 | return "VK_FORMAT_B8G8R8_SINT" ; |
2279 | case VK_FORMAT_B8G8R8_SNORM: |
2280 | return "VK_FORMAT_B8G8R8_SNORM" ; |
2281 | case VK_FORMAT_B8G8R8_SRGB: |
2282 | return "VK_FORMAT_B8G8R8_SRGB" ; |
2283 | case VK_FORMAT_B8G8R8_SSCALED: |
2284 | return "VK_FORMAT_B8G8R8_SSCALED" ; |
2285 | case VK_FORMAT_B8G8R8_UINT: |
2286 | return "VK_FORMAT_B8G8R8_UINT" ; |
2287 | case VK_FORMAT_B8G8R8_UNORM: |
2288 | return "VK_FORMAT_B8G8R8_UNORM" ; |
2289 | case VK_FORMAT_B8G8R8_USCALED: |
2290 | return "VK_FORMAT_B8G8R8_USCALED" ; |
2291 | case VK_FORMAT_BC1_RGBA_SRGB_BLOCK: |
2292 | return "VK_FORMAT_BC1_RGBA_SRGB_BLOCK" ; |
2293 | case VK_FORMAT_BC1_RGBA_UNORM_BLOCK: |
2294 | return "VK_FORMAT_BC1_RGBA_UNORM_BLOCK" ; |
2295 | case VK_FORMAT_BC1_RGB_SRGB_BLOCK: |
2296 | return "VK_FORMAT_BC1_RGB_SRGB_BLOCK" ; |
2297 | case VK_FORMAT_BC1_RGB_UNORM_BLOCK: |
2298 | return "VK_FORMAT_BC1_RGB_UNORM_BLOCK" ; |
2299 | case VK_FORMAT_BC2_SRGB_BLOCK: |
2300 | return "VK_FORMAT_BC2_SRGB_BLOCK" ; |
2301 | case VK_FORMAT_BC2_UNORM_BLOCK: |
2302 | return "VK_FORMAT_BC2_UNORM_BLOCK" ; |
2303 | case VK_FORMAT_BC3_SRGB_BLOCK: |
2304 | return "VK_FORMAT_BC3_SRGB_BLOCK" ; |
2305 | case VK_FORMAT_BC3_UNORM_BLOCK: |
2306 | return "VK_FORMAT_BC3_UNORM_BLOCK" ; |
2307 | case VK_FORMAT_BC4_SNORM_BLOCK: |
2308 | return "VK_FORMAT_BC4_SNORM_BLOCK" ; |
2309 | case VK_FORMAT_BC4_UNORM_BLOCK: |
2310 | return "VK_FORMAT_BC4_UNORM_BLOCK" ; |
2311 | case VK_FORMAT_BC5_SNORM_BLOCK: |
2312 | return "VK_FORMAT_BC5_SNORM_BLOCK" ; |
2313 | case VK_FORMAT_BC5_UNORM_BLOCK: |
2314 | return "VK_FORMAT_BC5_UNORM_BLOCK" ; |
2315 | case VK_FORMAT_BC6H_SFLOAT_BLOCK: |
2316 | return "VK_FORMAT_BC6H_SFLOAT_BLOCK" ; |
2317 | case VK_FORMAT_BC6H_UFLOAT_BLOCK: |
2318 | return "VK_FORMAT_BC6H_UFLOAT_BLOCK" ; |
2319 | case VK_FORMAT_BC7_SRGB_BLOCK: |
2320 | return "VK_FORMAT_BC7_SRGB_BLOCK" ; |
2321 | case VK_FORMAT_BC7_UNORM_BLOCK: |
2322 | return "VK_FORMAT_BC7_UNORM_BLOCK" ; |
2323 | case VK_FORMAT_D16_UNORM: |
2324 | return "VK_FORMAT_D16_UNORM" ; |
2325 | case VK_FORMAT_D16_UNORM_S8_UINT: |
2326 | return "VK_FORMAT_D16_UNORM_S8_UINT" ; |
2327 | case VK_FORMAT_D24_UNORM_S8_UINT: |
2328 | return "VK_FORMAT_D24_UNORM_S8_UINT" ; |
2329 | case VK_FORMAT_D32_SFLOAT: |
2330 | return "VK_FORMAT_D32_SFLOAT" ; |
2331 | case VK_FORMAT_D32_SFLOAT_S8_UINT: |
2332 | return "VK_FORMAT_D32_SFLOAT_S8_UINT" ; |
2333 | case VK_FORMAT_E5B9G9R9_UFLOAT_PACK32: |
2334 | return "VK_FORMAT_E5B9G9R9_UFLOAT_PACK32" ; |
2335 | case VK_FORMAT_EAC_R11G11_SNORM_BLOCK: |
2336 | return "VK_FORMAT_EAC_R11G11_SNORM_BLOCK" ; |
2337 | case VK_FORMAT_EAC_R11G11_UNORM_BLOCK: |
2338 | return "VK_FORMAT_EAC_R11G11_UNORM_BLOCK" ; |
2339 | case VK_FORMAT_EAC_R11_SNORM_BLOCK: |
2340 | return "VK_FORMAT_EAC_R11_SNORM_BLOCK" ; |
2341 | case VK_FORMAT_EAC_R11_UNORM_BLOCK: |
2342 | return "VK_FORMAT_EAC_R11_UNORM_BLOCK" ; |
2343 | case VK_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK: |
2344 | return "VK_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK" ; |
2345 | case VK_FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK: |
2346 | return "VK_FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK" ; |
2347 | case VK_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK: |
2348 | return "VK_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK" ; |
2349 | case VK_FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK: |
2350 | return "VK_FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK" ; |
2351 | case VK_FORMAT_ETC2_R8G8B8_SRGB_BLOCK: |
2352 | return "VK_FORMAT_ETC2_R8G8B8_SRGB_BLOCK" ; |
2353 | case VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK: |
2354 | return "VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK" ; |
2355 | case VK_FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16: |
2356 | return "VK_FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16" ; |
2357 | case VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16: |
2358 | return "VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16" ; |
2359 | case VK_FORMAT_G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16: |
2360 | return "VK_FORMAT_G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16" ; |
2361 | case VK_FORMAT_G10X6_B10X6R10X6_2PLANE_444_UNORM_3PACK16: |
2362 | return "VK_FORMAT_G10X6_B10X6R10X6_2PLANE_444_UNORM_3PACK16" ; |
2363 | case VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16: |
2364 | return "VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16" ; |
2365 | case VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16: |
2366 | return "VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16" ; |
2367 | case VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16: |
2368 | return "VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16" ; |
2369 | case VK_FORMAT_G12X4B12X4G12X4R12X4_422_UNORM_4PACK16: |
2370 | return "VK_FORMAT_G12X4B12X4G12X4R12X4_422_UNORM_4PACK16" ; |
2371 | case VK_FORMAT_G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16: |
2372 | return "VK_FORMAT_G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16" ; |
2373 | case VK_FORMAT_G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16: |
2374 | return "VK_FORMAT_G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16" ; |
2375 | case VK_FORMAT_G12X4_B12X4R12X4_2PLANE_444_UNORM_3PACK16: |
2376 | return "VK_FORMAT_G12X4_B12X4R12X4_2PLANE_444_UNORM_3PACK16" ; |
2377 | case VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16: |
2378 | return "VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16" ; |
2379 | case VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16: |
2380 | return "VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16" ; |
2381 | case VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16: |
2382 | return "VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16" ; |
2383 | case VK_FORMAT_G16B16G16R16_422_UNORM: |
2384 | return "VK_FORMAT_G16B16G16R16_422_UNORM" ; |
2385 | case VK_FORMAT_G16_B16R16_2PLANE_420_UNORM: |
2386 | return "VK_FORMAT_G16_B16R16_2PLANE_420_UNORM" ; |
2387 | case VK_FORMAT_G16_B16R16_2PLANE_422_UNORM: |
2388 | return "VK_FORMAT_G16_B16R16_2PLANE_422_UNORM" ; |
2389 | case VK_FORMAT_G16_B16R16_2PLANE_444_UNORM: |
2390 | return "VK_FORMAT_G16_B16R16_2PLANE_444_UNORM" ; |
2391 | case VK_FORMAT_G16_B16_R16_3PLANE_420_UNORM: |
2392 | return "VK_FORMAT_G16_B16_R16_3PLANE_420_UNORM" ; |
2393 | case VK_FORMAT_G16_B16_R16_3PLANE_422_UNORM: |
2394 | return "VK_FORMAT_G16_B16_R16_3PLANE_422_UNORM" ; |
2395 | case VK_FORMAT_G16_B16_R16_3PLANE_444_UNORM: |
2396 | return "VK_FORMAT_G16_B16_R16_3PLANE_444_UNORM" ; |
2397 | case VK_FORMAT_G8B8G8R8_422_UNORM: |
2398 | return "VK_FORMAT_G8B8G8R8_422_UNORM" ; |
2399 | case VK_FORMAT_G8_B8R8_2PLANE_420_UNORM: |
2400 | return "VK_FORMAT_G8_B8R8_2PLANE_420_UNORM" ; |
2401 | case VK_FORMAT_G8_B8R8_2PLANE_422_UNORM: |
2402 | return "VK_FORMAT_G8_B8R8_2PLANE_422_UNORM" ; |
2403 | case VK_FORMAT_G8_B8R8_2PLANE_444_UNORM: |
2404 | return "VK_FORMAT_G8_B8R8_2PLANE_444_UNORM" ; |
2405 | case VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM: |
2406 | return "VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM" ; |
2407 | case VK_FORMAT_G8_B8_R8_3PLANE_422_UNORM: |
2408 | return "VK_FORMAT_G8_B8_R8_3PLANE_422_UNORM" ; |
2409 | case VK_FORMAT_G8_B8_R8_3PLANE_444_UNORM: |
2410 | return "VK_FORMAT_G8_B8_R8_3PLANE_444_UNORM" ; |
2411 | case VK_FORMAT_PVRTC1_2BPP_SRGB_BLOCK_IMG: |
2412 | return "VK_FORMAT_PVRTC1_2BPP_SRGB_BLOCK_IMG" ; |
2413 | case VK_FORMAT_PVRTC1_2BPP_UNORM_BLOCK_IMG: |
2414 | return "VK_FORMAT_PVRTC1_2BPP_UNORM_BLOCK_IMG" ; |
2415 | case VK_FORMAT_PVRTC1_4BPP_SRGB_BLOCK_IMG: |
2416 | return "VK_FORMAT_PVRTC1_4BPP_SRGB_BLOCK_IMG" ; |
2417 | case VK_FORMAT_PVRTC1_4BPP_UNORM_BLOCK_IMG: |
2418 | return "VK_FORMAT_PVRTC1_4BPP_UNORM_BLOCK_IMG" ; |
2419 | case VK_FORMAT_PVRTC2_2BPP_SRGB_BLOCK_IMG: |
2420 | return "VK_FORMAT_PVRTC2_2BPP_SRGB_BLOCK_IMG" ; |
2421 | case VK_FORMAT_PVRTC2_2BPP_UNORM_BLOCK_IMG: |
2422 | return "VK_FORMAT_PVRTC2_2BPP_UNORM_BLOCK_IMG" ; |
2423 | case VK_FORMAT_PVRTC2_4BPP_SRGB_BLOCK_IMG: |
2424 | return "VK_FORMAT_PVRTC2_4BPP_SRGB_BLOCK_IMG" ; |
2425 | case VK_FORMAT_PVRTC2_4BPP_UNORM_BLOCK_IMG: |
2426 | return "VK_FORMAT_PVRTC2_4BPP_UNORM_BLOCK_IMG" ; |
2427 | case VK_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16: |
2428 | return "VK_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16" ; |
2429 | case VK_FORMAT_R10X6G10X6_UNORM_2PACK16: |
2430 | return "VK_FORMAT_R10X6G10X6_UNORM_2PACK16" ; |
2431 | case VK_FORMAT_R10X6_UNORM_PACK16: |
2432 | return "VK_FORMAT_R10X6_UNORM_PACK16" ; |
2433 | case VK_FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16: |
2434 | return "VK_FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16" ; |
2435 | case VK_FORMAT_R12X4G12X4_UNORM_2PACK16: |
2436 | return "VK_FORMAT_R12X4G12X4_UNORM_2PACK16" ; |
2437 | case VK_FORMAT_R12X4_UNORM_PACK16: |
2438 | return "VK_FORMAT_R12X4_UNORM_PACK16" ; |
2439 | case VK_FORMAT_R16G16B16A16_SFLOAT: |
2440 | return "VK_FORMAT_R16G16B16A16_SFLOAT" ; |
2441 | case VK_FORMAT_R16G16B16A16_SINT: |
2442 | return "VK_FORMAT_R16G16B16A16_SINT" ; |
2443 | case VK_FORMAT_R16G16B16A16_SNORM: |
2444 | return "VK_FORMAT_R16G16B16A16_SNORM" ; |
2445 | case VK_FORMAT_R16G16B16A16_SSCALED: |
2446 | return "VK_FORMAT_R16G16B16A16_SSCALED" ; |
2447 | case VK_FORMAT_R16G16B16A16_UINT: |
2448 | return "VK_FORMAT_R16G16B16A16_UINT" ; |
2449 | case VK_FORMAT_R16G16B16A16_UNORM: |
2450 | return "VK_FORMAT_R16G16B16A16_UNORM" ; |
2451 | case VK_FORMAT_R16G16B16A16_USCALED: |
2452 | return "VK_FORMAT_R16G16B16A16_USCALED" ; |
2453 | case VK_FORMAT_R16G16B16_SFLOAT: |
2454 | return "VK_FORMAT_R16G16B16_SFLOAT" ; |
2455 | case VK_FORMAT_R16G16B16_SINT: |
2456 | return "VK_FORMAT_R16G16B16_SINT" ; |
2457 | case VK_FORMAT_R16G16B16_SNORM: |
2458 | return "VK_FORMAT_R16G16B16_SNORM" ; |
2459 | case VK_FORMAT_R16G16B16_SSCALED: |
2460 | return "VK_FORMAT_R16G16B16_SSCALED" ; |
2461 | case VK_FORMAT_R16G16B16_UINT: |
2462 | return "VK_FORMAT_R16G16B16_UINT" ; |
2463 | case VK_FORMAT_R16G16B16_UNORM: |
2464 | return "VK_FORMAT_R16G16B16_UNORM" ; |
2465 | case VK_FORMAT_R16G16B16_USCALED: |
2466 | return "VK_FORMAT_R16G16B16_USCALED" ; |
2467 | case VK_FORMAT_R16G16_S10_5_NV: |
2468 | return "VK_FORMAT_R16G16_S10_5_NV" ; |
2469 | case VK_FORMAT_R16G16_SFLOAT: |
2470 | return "VK_FORMAT_R16G16_SFLOAT" ; |
2471 | case VK_FORMAT_R16G16_SINT: |
2472 | return "VK_FORMAT_R16G16_SINT" ; |
2473 | case VK_FORMAT_R16G16_SNORM: |
2474 | return "VK_FORMAT_R16G16_SNORM" ; |
2475 | case VK_FORMAT_R16G16_SSCALED: |
2476 | return "VK_FORMAT_R16G16_SSCALED" ; |
2477 | case VK_FORMAT_R16G16_UINT: |
2478 | return "VK_FORMAT_R16G16_UINT" ; |
2479 | case VK_FORMAT_R16G16_UNORM: |
2480 | return "VK_FORMAT_R16G16_UNORM" ; |
2481 | case VK_FORMAT_R16G16_USCALED: |
2482 | return "VK_FORMAT_R16G16_USCALED" ; |
2483 | case VK_FORMAT_R16_SFLOAT: |
2484 | return "VK_FORMAT_R16_SFLOAT" ; |
2485 | case VK_FORMAT_R16_SINT: |
2486 | return "VK_FORMAT_R16_SINT" ; |
2487 | case VK_FORMAT_R16_SNORM: |
2488 | return "VK_FORMAT_R16_SNORM" ; |
2489 | case VK_FORMAT_R16_SSCALED: |
2490 | return "VK_FORMAT_R16_SSCALED" ; |
2491 | case VK_FORMAT_R16_UINT: |
2492 | return "VK_FORMAT_R16_UINT" ; |
2493 | case VK_FORMAT_R16_UNORM: |
2494 | return "VK_FORMAT_R16_UNORM" ; |
2495 | case VK_FORMAT_R16_USCALED: |
2496 | return "VK_FORMAT_R16_USCALED" ; |
2497 | case VK_FORMAT_R32G32B32A32_SFLOAT: |
2498 | return "VK_FORMAT_R32G32B32A32_SFLOAT" ; |
2499 | case VK_FORMAT_R32G32B32A32_SINT: |
2500 | return "VK_FORMAT_R32G32B32A32_SINT" ; |
2501 | case VK_FORMAT_R32G32B32A32_UINT: |
2502 | return "VK_FORMAT_R32G32B32A32_UINT" ; |
2503 | case VK_FORMAT_R32G32B32_SFLOAT: |
2504 | return "VK_FORMAT_R32G32B32_SFLOAT" ; |
2505 | case VK_FORMAT_R32G32B32_SINT: |
2506 | return "VK_FORMAT_R32G32B32_SINT" ; |
2507 | case VK_FORMAT_R32G32B32_UINT: |
2508 | return "VK_FORMAT_R32G32B32_UINT" ; |
2509 | case VK_FORMAT_R32G32_SFLOAT: |
2510 | return "VK_FORMAT_R32G32_SFLOAT" ; |
2511 | case VK_FORMAT_R32G32_SINT: |
2512 | return "VK_FORMAT_R32G32_SINT" ; |
2513 | case VK_FORMAT_R32G32_UINT: |
2514 | return "VK_FORMAT_R32G32_UINT" ; |
2515 | case VK_FORMAT_R32_SFLOAT: |
2516 | return "VK_FORMAT_R32_SFLOAT" ; |
2517 | case VK_FORMAT_R32_SINT: |
2518 | return "VK_FORMAT_R32_SINT" ; |
2519 | case VK_FORMAT_R32_UINT: |
2520 | return "VK_FORMAT_R32_UINT" ; |
2521 | case VK_FORMAT_R4G4B4A4_UNORM_PACK16: |
2522 | return "VK_FORMAT_R4G4B4A4_UNORM_PACK16" ; |
2523 | case VK_FORMAT_R4G4_UNORM_PACK8: |
2524 | return "VK_FORMAT_R4G4_UNORM_PACK8" ; |
2525 | case VK_FORMAT_R5G5B5A1_UNORM_PACK16: |
2526 | return "VK_FORMAT_R5G5B5A1_UNORM_PACK16" ; |
2527 | case VK_FORMAT_R5G6B5_UNORM_PACK16: |
2528 | return "VK_FORMAT_R5G6B5_UNORM_PACK16" ; |
2529 | case VK_FORMAT_R64G64B64A64_SFLOAT: |
2530 | return "VK_FORMAT_R64G64B64A64_SFLOAT" ; |
2531 | case VK_FORMAT_R64G64B64A64_SINT: |
2532 | return "VK_FORMAT_R64G64B64A64_SINT" ; |
2533 | case VK_FORMAT_R64G64B64A64_UINT: |
2534 | return "VK_FORMAT_R64G64B64A64_UINT" ; |
2535 | case VK_FORMAT_R64G64B64_SFLOAT: |
2536 | return "VK_FORMAT_R64G64B64_SFLOAT" ; |
2537 | case VK_FORMAT_R64G64B64_SINT: |
2538 | return "VK_FORMAT_R64G64B64_SINT" ; |
2539 | case VK_FORMAT_R64G64B64_UINT: |
2540 | return "VK_FORMAT_R64G64B64_UINT" ; |
2541 | case VK_FORMAT_R64G64_SFLOAT: |
2542 | return "VK_FORMAT_R64G64_SFLOAT" ; |
2543 | case VK_FORMAT_R64G64_SINT: |
2544 | return "VK_FORMAT_R64G64_SINT" ; |
2545 | case VK_FORMAT_R64G64_UINT: |
2546 | return "VK_FORMAT_R64G64_UINT" ; |
2547 | case VK_FORMAT_R64_SFLOAT: |
2548 | return "VK_FORMAT_R64_SFLOAT" ; |
2549 | case VK_FORMAT_R64_SINT: |
2550 | return "VK_FORMAT_R64_SINT" ; |
2551 | case VK_FORMAT_R64_UINT: |
2552 | return "VK_FORMAT_R64_UINT" ; |
2553 | case VK_FORMAT_R8G8B8A8_SINT: |
2554 | return "VK_FORMAT_R8G8B8A8_SINT" ; |
2555 | case VK_FORMAT_R8G8B8A8_SNORM: |
2556 | return "VK_FORMAT_R8G8B8A8_SNORM" ; |
2557 | case VK_FORMAT_R8G8B8A8_SRGB: |
2558 | return "VK_FORMAT_R8G8B8A8_SRGB" ; |
2559 | case VK_FORMAT_R8G8B8A8_SSCALED: |
2560 | return "VK_FORMAT_R8G8B8A8_SSCALED" ; |
2561 | case VK_FORMAT_R8G8B8A8_UINT: |
2562 | return "VK_FORMAT_R8G8B8A8_UINT" ; |
2563 | case VK_FORMAT_R8G8B8A8_UNORM: |
2564 | return "VK_FORMAT_R8G8B8A8_UNORM" ; |
2565 | case VK_FORMAT_R8G8B8A8_USCALED: |
2566 | return "VK_FORMAT_R8G8B8A8_USCALED" ; |
2567 | case VK_FORMAT_R8G8B8_SINT: |
2568 | return "VK_FORMAT_R8G8B8_SINT" ; |
2569 | case VK_FORMAT_R8G8B8_SNORM: |
2570 | return "VK_FORMAT_R8G8B8_SNORM" ; |
2571 | case VK_FORMAT_R8G8B8_SRGB: |
2572 | return "VK_FORMAT_R8G8B8_SRGB" ; |
2573 | case VK_FORMAT_R8G8B8_SSCALED: |
2574 | return "VK_FORMAT_R8G8B8_SSCALED" ; |
2575 | case VK_FORMAT_R8G8B8_UINT: |
2576 | return "VK_FORMAT_R8G8B8_UINT" ; |
2577 | case VK_FORMAT_R8G8B8_UNORM: |
2578 | return "VK_FORMAT_R8G8B8_UNORM" ; |
2579 | case VK_FORMAT_R8G8B8_USCALED: |
2580 | return "VK_FORMAT_R8G8B8_USCALED" ; |
2581 | case VK_FORMAT_R8G8_SINT: |
2582 | return "VK_FORMAT_R8G8_SINT" ; |
2583 | case VK_FORMAT_R8G8_SNORM: |
2584 | return "VK_FORMAT_R8G8_SNORM" ; |
2585 | case VK_FORMAT_R8G8_SRGB: |
2586 | return "VK_FORMAT_R8G8_SRGB" ; |
2587 | case VK_FORMAT_R8G8_SSCALED: |
2588 | return "VK_FORMAT_R8G8_SSCALED" ; |
2589 | case VK_FORMAT_R8G8_UINT: |
2590 | return "VK_FORMAT_R8G8_UINT" ; |
2591 | case VK_FORMAT_R8G8_UNORM: |
2592 | return "VK_FORMAT_R8G8_UNORM" ; |
2593 | case VK_FORMAT_R8G8_USCALED: |
2594 | return "VK_FORMAT_R8G8_USCALED" ; |
2595 | case VK_FORMAT_R8_SINT: |
2596 | return "VK_FORMAT_R8_SINT" ; |
2597 | case VK_FORMAT_R8_SNORM: |
2598 | return "VK_FORMAT_R8_SNORM" ; |
2599 | case VK_FORMAT_R8_SRGB: |
2600 | return "VK_FORMAT_R8_SRGB" ; |
2601 | case VK_FORMAT_R8_SSCALED: |
2602 | return "VK_FORMAT_R8_SSCALED" ; |
2603 | case VK_FORMAT_R8_UINT: |
2604 | return "VK_FORMAT_R8_UINT" ; |
2605 | case VK_FORMAT_R8_UNORM: |
2606 | return "VK_FORMAT_R8_UNORM" ; |
2607 | case VK_FORMAT_R8_USCALED: |
2608 | return "VK_FORMAT_R8_USCALED" ; |
2609 | case VK_FORMAT_S8_UINT: |
2610 | return "VK_FORMAT_S8_UINT" ; |
2611 | case VK_FORMAT_UNDEFINED: |
2612 | return "VK_FORMAT_UNDEFINED" ; |
2613 | case VK_FORMAT_X8_D24_UNORM_PACK32: |
2614 | return "VK_FORMAT_X8_D24_UNORM_PACK32" ; |
2615 | default: |
2616 | return "Unhandled VkFormat" ; |
2617 | } |
2618 | } |
2619 | |
2620 | static inline const char* string_VkFormatFeatureFlagBits(VkFormatFeatureFlagBits input_value) |
2621 | { |
2622 | switch (input_value) |
2623 | { |
2624 | case VK_FORMAT_FEATURE_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHR: |
2625 | return "VK_FORMAT_FEATURE_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHR" ; |
2626 | case VK_FORMAT_FEATURE_BLIT_DST_BIT: |
2627 | return "VK_FORMAT_FEATURE_BLIT_DST_BIT" ; |
2628 | case VK_FORMAT_FEATURE_BLIT_SRC_BIT: |
2629 | return "VK_FORMAT_FEATURE_BLIT_SRC_BIT" ; |
2630 | case VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT: |
2631 | return "VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT" ; |
2632 | case VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT: |
2633 | return "VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT" ; |
2634 | case VK_FORMAT_FEATURE_COSITED_CHROMA_SAMPLES_BIT: |
2635 | return "VK_FORMAT_FEATURE_COSITED_CHROMA_SAMPLES_BIT" ; |
2636 | case VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT: |
2637 | return "VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT" ; |
2638 | case VK_FORMAT_FEATURE_DISJOINT_BIT: |
2639 | return "VK_FORMAT_FEATURE_DISJOINT_BIT" ; |
2640 | case VK_FORMAT_FEATURE_FRAGMENT_DENSITY_MAP_BIT_EXT: |
2641 | return "VK_FORMAT_FEATURE_FRAGMENT_DENSITY_MAP_BIT_EXT" ; |
2642 | case VK_FORMAT_FEATURE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR: |
2643 | return "VK_FORMAT_FEATURE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR" ; |
2644 | case VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT: |
2645 | return "VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT" ; |
2646 | case VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT: |
2647 | return "VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT" ; |
2648 | case VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_EXT: |
2649 | return "VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_EXT" ; |
2650 | case VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT: |
2651 | return "VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT" ; |
2652 | case VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT: |
2653 | return "VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT" ; |
2654 | case VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT: |
2655 | return "VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT" ; |
2656 | case VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT: |
2657 | return "VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT" ; |
2658 | case VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT: |
2659 | return "VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT" ; |
2660 | case VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT: |
2661 | return "VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT" ; |
2662 | case VK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT: |
2663 | return "VK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT" ; |
2664 | case VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT: |
2665 | return "VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT" ; |
2666 | case VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT: |
2667 | return "VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT" ; |
2668 | case VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT: |
2669 | return "VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT" ; |
2670 | case VK_FORMAT_FEATURE_TRANSFER_DST_BIT: |
2671 | return "VK_FORMAT_FEATURE_TRANSFER_DST_BIT" ; |
2672 | case VK_FORMAT_FEATURE_TRANSFER_SRC_BIT: |
2673 | return "VK_FORMAT_FEATURE_TRANSFER_SRC_BIT" ; |
2674 | case VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT: |
2675 | return "VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT" ; |
2676 | case VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT: |
2677 | return "VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT" ; |
2678 | case VK_FORMAT_FEATURE_VIDEO_DECODE_DPB_BIT_KHR: |
2679 | return "VK_FORMAT_FEATURE_VIDEO_DECODE_DPB_BIT_KHR" ; |
2680 | case VK_FORMAT_FEATURE_VIDEO_DECODE_OUTPUT_BIT_KHR: |
2681 | return "VK_FORMAT_FEATURE_VIDEO_DECODE_OUTPUT_BIT_KHR" ; |
2682 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
2683 | case VK_FORMAT_FEATURE_VIDEO_ENCODE_DPB_BIT_KHR: |
2684 | return "VK_FORMAT_FEATURE_VIDEO_ENCODE_DPB_BIT_KHR" ; |
2685 | #endif // VK_ENABLE_BETA_EXTENSIONS |
2686 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
2687 | case VK_FORMAT_FEATURE_VIDEO_ENCODE_INPUT_BIT_KHR: |
2688 | return "VK_FORMAT_FEATURE_VIDEO_ENCODE_INPUT_BIT_KHR" ; |
2689 | #endif // VK_ENABLE_BETA_EXTENSIONS |
2690 | default: |
2691 | return "Unhandled VkFormatFeatureFlagBits" ; |
2692 | } |
2693 | } |
2694 | |
2695 | static inline std::string string_VkFormatFeatureFlags(VkFormatFeatureFlags input_value) |
2696 | { |
2697 | std::string ret; |
2698 | int index = 0; |
2699 | while(input_value) { |
2700 | if (input_value & 1) { |
2701 | if( !ret.empty()) ret.append("|" ); |
2702 | ret.append(string_VkFormatFeatureFlagBits(static_cast<VkFormatFeatureFlagBits>(1U << index))); |
2703 | } |
2704 | ++index; |
2705 | input_value >>= 1; |
2706 | } |
2707 | if (ret.empty()) ret.append("VkFormatFeatureFlags(0)" ); |
2708 | return ret; |
2709 | } |
2710 | |
2711 | static inline const char* string_VkImageCreateFlagBits(VkImageCreateFlagBits input_value) |
2712 | { |
2713 | switch (input_value) |
2714 | { |
2715 | case VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT: |
2716 | return "VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT" ; |
2717 | case VK_IMAGE_CREATE_2D_VIEW_COMPATIBLE_BIT_EXT: |
2718 | return "VK_IMAGE_CREATE_2D_VIEW_COMPATIBLE_BIT_EXT" ; |
2719 | case VK_IMAGE_CREATE_ALIAS_BIT: |
2720 | return "VK_IMAGE_CREATE_ALIAS_BIT" ; |
2721 | case VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT: |
2722 | return "VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT" ; |
2723 | case VK_IMAGE_CREATE_CORNER_SAMPLED_BIT_NV: |
2724 | return "VK_IMAGE_CREATE_CORNER_SAMPLED_BIT_NV" ; |
2725 | case VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT: |
2726 | return "VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT" ; |
2727 | case VK_IMAGE_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_EXT: |
2728 | return "VK_IMAGE_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_EXT" ; |
2729 | case VK_IMAGE_CREATE_DISJOINT_BIT: |
2730 | return "VK_IMAGE_CREATE_DISJOINT_BIT" ; |
2731 | case VK_IMAGE_CREATE_EXTENDED_USAGE_BIT: |
2732 | return "VK_IMAGE_CREATE_EXTENDED_USAGE_BIT" ; |
2733 | case VK_IMAGE_CREATE_FRAGMENT_DENSITY_MAP_OFFSET_BIT_QCOM: |
2734 | return "VK_IMAGE_CREATE_FRAGMENT_DENSITY_MAP_OFFSET_BIT_QCOM" ; |
2735 | case VK_IMAGE_CREATE_MULTISAMPLED_RENDER_TO_SINGLE_SAMPLED_BIT_EXT: |
2736 | return "VK_IMAGE_CREATE_MULTISAMPLED_RENDER_TO_SINGLE_SAMPLED_BIT_EXT" ; |
2737 | case VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT: |
2738 | return "VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT" ; |
2739 | case VK_IMAGE_CREATE_PROTECTED_BIT: |
2740 | return "VK_IMAGE_CREATE_PROTECTED_BIT" ; |
2741 | case VK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXT: |
2742 | return "VK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXT" ; |
2743 | case VK_IMAGE_CREATE_SPARSE_ALIASED_BIT: |
2744 | return "VK_IMAGE_CREATE_SPARSE_ALIASED_BIT" ; |
2745 | case VK_IMAGE_CREATE_SPARSE_BINDING_BIT: |
2746 | return "VK_IMAGE_CREATE_SPARSE_BINDING_BIT" ; |
2747 | case VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT: |
2748 | return "VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT" ; |
2749 | case VK_IMAGE_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT: |
2750 | return "VK_IMAGE_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT" ; |
2751 | case VK_IMAGE_CREATE_SUBSAMPLED_BIT_EXT: |
2752 | return "VK_IMAGE_CREATE_SUBSAMPLED_BIT_EXT" ; |
2753 | default: |
2754 | return "Unhandled VkImageCreateFlagBits" ; |
2755 | } |
2756 | } |
2757 | |
2758 | static inline std::string string_VkImageCreateFlags(VkImageCreateFlags input_value) |
2759 | { |
2760 | std::string ret; |
2761 | int index = 0; |
2762 | while(input_value) { |
2763 | if (input_value & 1) { |
2764 | if( !ret.empty()) ret.append("|" ); |
2765 | ret.append(string_VkImageCreateFlagBits(static_cast<VkImageCreateFlagBits>(1U << index))); |
2766 | } |
2767 | ++index; |
2768 | input_value >>= 1; |
2769 | } |
2770 | if (ret.empty()) ret.append("VkImageCreateFlags(0)" ); |
2771 | return ret; |
2772 | } |
2773 | |
2774 | static inline const char* string_VkSampleCountFlagBits(VkSampleCountFlagBits input_value) |
2775 | { |
2776 | switch (input_value) |
2777 | { |
2778 | case VK_SAMPLE_COUNT_16_BIT: |
2779 | return "VK_SAMPLE_COUNT_16_BIT" ; |
2780 | case VK_SAMPLE_COUNT_1_BIT: |
2781 | return "VK_SAMPLE_COUNT_1_BIT" ; |
2782 | case VK_SAMPLE_COUNT_2_BIT: |
2783 | return "VK_SAMPLE_COUNT_2_BIT" ; |
2784 | case VK_SAMPLE_COUNT_32_BIT: |
2785 | return "VK_SAMPLE_COUNT_32_BIT" ; |
2786 | case VK_SAMPLE_COUNT_4_BIT: |
2787 | return "VK_SAMPLE_COUNT_4_BIT" ; |
2788 | case VK_SAMPLE_COUNT_64_BIT: |
2789 | return "VK_SAMPLE_COUNT_64_BIT" ; |
2790 | case VK_SAMPLE_COUNT_8_BIT: |
2791 | return "VK_SAMPLE_COUNT_8_BIT" ; |
2792 | default: |
2793 | return "Unhandled VkSampleCountFlagBits" ; |
2794 | } |
2795 | } |
2796 | |
2797 | static inline std::string string_VkSampleCountFlags(VkSampleCountFlags input_value) |
2798 | { |
2799 | std::string ret; |
2800 | int index = 0; |
2801 | while(input_value) { |
2802 | if (input_value & 1) { |
2803 | if( !ret.empty()) ret.append("|" ); |
2804 | ret.append(string_VkSampleCountFlagBits(static_cast<VkSampleCountFlagBits>(1U << index))); |
2805 | } |
2806 | ++index; |
2807 | input_value >>= 1; |
2808 | } |
2809 | if (ret.empty()) ret.append("VkSampleCountFlags(0)" ); |
2810 | return ret; |
2811 | } |
2812 | |
2813 | static inline const char* string_VkImageTiling(VkImageTiling input_value) |
2814 | { |
2815 | switch (input_value) |
2816 | { |
2817 | case VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT: |
2818 | return "VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT" ; |
2819 | case VK_IMAGE_TILING_LINEAR: |
2820 | return "VK_IMAGE_TILING_LINEAR" ; |
2821 | case VK_IMAGE_TILING_OPTIMAL: |
2822 | return "VK_IMAGE_TILING_OPTIMAL" ; |
2823 | default: |
2824 | return "Unhandled VkImageTiling" ; |
2825 | } |
2826 | } |
2827 | |
2828 | static inline const char* string_VkImageType(VkImageType input_value) |
2829 | { |
2830 | switch (input_value) |
2831 | { |
2832 | case VK_IMAGE_TYPE_1D: |
2833 | return "VK_IMAGE_TYPE_1D" ; |
2834 | case VK_IMAGE_TYPE_2D: |
2835 | return "VK_IMAGE_TYPE_2D" ; |
2836 | case VK_IMAGE_TYPE_3D: |
2837 | return "VK_IMAGE_TYPE_3D" ; |
2838 | default: |
2839 | return "Unhandled VkImageType" ; |
2840 | } |
2841 | } |
2842 | |
2843 | static inline const char* string_VkImageUsageFlagBits(VkImageUsageFlagBits input_value) |
2844 | { |
2845 | switch (input_value) |
2846 | { |
2847 | case VK_IMAGE_USAGE_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT: |
2848 | return "VK_IMAGE_USAGE_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT" ; |
2849 | case VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT: |
2850 | return "VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT" ; |
2851 | case VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT: |
2852 | return "VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT" ; |
2853 | case VK_IMAGE_USAGE_FRAGMENT_DENSITY_MAP_BIT_EXT: |
2854 | return "VK_IMAGE_USAGE_FRAGMENT_DENSITY_MAP_BIT_EXT" ; |
2855 | case VK_IMAGE_USAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR: |
2856 | return "VK_IMAGE_USAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR" ; |
2857 | case VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT: |
2858 | return "VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT" ; |
2859 | case VK_IMAGE_USAGE_INVOCATION_MASK_BIT_HUAWEI: |
2860 | return "VK_IMAGE_USAGE_INVOCATION_MASK_BIT_HUAWEI" ; |
2861 | case VK_IMAGE_USAGE_SAMPLED_BIT: |
2862 | return "VK_IMAGE_USAGE_SAMPLED_BIT" ; |
2863 | case VK_IMAGE_USAGE_SAMPLE_BLOCK_MATCH_BIT_QCOM: |
2864 | return "VK_IMAGE_USAGE_SAMPLE_BLOCK_MATCH_BIT_QCOM" ; |
2865 | case VK_IMAGE_USAGE_SAMPLE_WEIGHT_BIT_QCOM: |
2866 | return "VK_IMAGE_USAGE_SAMPLE_WEIGHT_BIT_QCOM" ; |
2867 | case VK_IMAGE_USAGE_STORAGE_BIT: |
2868 | return "VK_IMAGE_USAGE_STORAGE_BIT" ; |
2869 | case VK_IMAGE_USAGE_TRANSFER_DST_BIT: |
2870 | return "VK_IMAGE_USAGE_TRANSFER_DST_BIT" ; |
2871 | case VK_IMAGE_USAGE_TRANSFER_SRC_BIT: |
2872 | return "VK_IMAGE_USAGE_TRANSFER_SRC_BIT" ; |
2873 | case VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT: |
2874 | return "VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT" ; |
2875 | case VK_IMAGE_USAGE_VIDEO_DECODE_DPB_BIT_KHR: |
2876 | return "VK_IMAGE_USAGE_VIDEO_DECODE_DPB_BIT_KHR" ; |
2877 | case VK_IMAGE_USAGE_VIDEO_DECODE_DST_BIT_KHR: |
2878 | return "VK_IMAGE_USAGE_VIDEO_DECODE_DST_BIT_KHR" ; |
2879 | case VK_IMAGE_USAGE_VIDEO_DECODE_SRC_BIT_KHR: |
2880 | return "VK_IMAGE_USAGE_VIDEO_DECODE_SRC_BIT_KHR" ; |
2881 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
2882 | case VK_IMAGE_USAGE_VIDEO_ENCODE_DPB_BIT_KHR: |
2883 | return "VK_IMAGE_USAGE_VIDEO_ENCODE_DPB_BIT_KHR" ; |
2884 | #endif // VK_ENABLE_BETA_EXTENSIONS |
2885 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
2886 | case VK_IMAGE_USAGE_VIDEO_ENCODE_DST_BIT_KHR: |
2887 | return "VK_IMAGE_USAGE_VIDEO_ENCODE_DST_BIT_KHR" ; |
2888 | #endif // VK_ENABLE_BETA_EXTENSIONS |
2889 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
2890 | case VK_IMAGE_USAGE_VIDEO_ENCODE_SRC_BIT_KHR: |
2891 | return "VK_IMAGE_USAGE_VIDEO_ENCODE_SRC_BIT_KHR" ; |
2892 | #endif // VK_ENABLE_BETA_EXTENSIONS |
2893 | default: |
2894 | return "Unhandled VkImageUsageFlagBits" ; |
2895 | } |
2896 | } |
2897 | |
2898 | static inline std::string string_VkImageUsageFlags(VkImageUsageFlags input_value) |
2899 | { |
2900 | std::string ret; |
2901 | int index = 0; |
2902 | while(input_value) { |
2903 | if (input_value & 1) { |
2904 | if( !ret.empty()) ret.append("|" ); |
2905 | ret.append(string_VkImageUsageFlagBits(static_cast<VkImageUsageFlagBits>(1U << index))); |
2906 | } |
2907 | ++index; |
2908 | input_value >>= 1; |
2909 | } |
2910 | if (ret.empty()) ret.append("VkImageUsageFlags(0)" ); |
2911 | return ret; |
2912 | } |
2913 | |
2914 | static inline const char* string_VkInstanceCreateFlagBits(VkInstanceCreateFlagBits input_value) |
2915 | { |
2916 | switch (input_value) |
2917 | { |
2918 | case VK_INSTANCE_CREATE_ENUMERATE_PORTABILITY_BIT_KHR: |
2919 | return "VK_INSTANCE_CREATE_ENUMERATE_PORTABILITY_BIT_KHR" ; |
2920 | default: |
2921 | return "Unhandled VkInstanceCreateFlagBits" ; |
2922 | } |
2923 | } |
2924 | |
2925 | static inline std::string string_VkInstanceCreateFlags(VkInstanceCreateFlags input_value) |
2926 | { |
2927 | std::string ret; |
2928 | int index = 0; |
2929 | while(input_value) { |
2930 | if (input_value & 1) { |
2931 | if( !ret.empty()) ret.append("|" ); |
2932 | ret.append(string_VkInstanceCreateFlagBits(static_cast<VkInstanceCreateFlagBits>(1U << index))); |
2933 | } |
2934 | ++index; |
2935 | input_value >>= 1; |
2936 | } |
2937 | if (ret.empty()) ret.append("VkInstanceCreateFlags(0)" ); |
2938 | return ret; |
2939 | } |
2940 | |
2941 | static inline const char* string_VkMemoryHeapFlagBits(VkMemoryHeapFlagBits input_value) |
2942 | { |
2943 | switch (input_value) |
2944 | { |
2945 | case VK_MEMORY_HEAP_DEVICE_LOCAL_BIT: |
2946 | return "VK_MEMORY_HEAP_DEVICE_LOCAL_BIT" ; |
2947 | case VK_MEMORY_HEAP_MULTI_INSTANCE_BIT: |
2948 | return "VK_MEMORY_HEAP_MULTI_INSTANCE_BIT" ; |
2949 | default: |
2950 | return "Unhandled VkMemoryHeapFlagBits" ; |
2951 | } |
2952 | } |
2953 | |
2954 | static inline std::string string_VkMemoryHeapFlags(VkMemoryHeapFlags input_value) |
2955 | { |
2956 | std::string ret; |
2957 | int index = 0; |
2958 | while(input_value) { |
2959 | if (input_value & 1) { |
2960 | if( !ret.empty()) ret.append("|" ); |
2961 | ret.append(string_VkMemoryHeapFlagBits(static_cast<VkMemoryHeapFlagBits>(1U << index))); |
2962 | } |
2963 | ++index; |
2964 | input_value >>= 1; |
2965 | } |
2966 | if (ret.empty()) ret.append("VkMemoryHeapFlags(0)" ); |
2967 | return ret; |
2968 | } |
2969 | |
2970 | static inline const char* string_VkMemoryPropertyFlagBits(VkMemoryPropertyFlagBits input_value) |
2971 | { |
2972 | switch (input_value) |
2973 | { |
2974 | case VK_MEMORY_PROPERTY_DEVICE_COHERENT_BIT_AMD: |
2975 | return "VK_MEMORY_PROPERTY_DEVICE_COHERENT_BIT_AMD" ; |
2976 | case VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT: |
2977 | return "VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT" ; |
2978 | case VK_MEMORY_PROPERTY_DEVICE_UNCACHED_BIT_AMD: |
2979 | return "VK_MEMORY_PROPERTY_DEVICE_UNCACHED_BIT_AMD" ; |
2980 | case VK_MEMORY_PROPERTY_HOST_CACHED_BIT: |
2981 | return "VK_MEMORY_PROPERTY_HOST_CACHED_BIT" ; |
2982 | case VK_MEMORY_PROPERTY_HOST_COHERENT_BIT: |
2983 | return "VK_MEMORY_PROPERTY_HOST_COHERENT_BIT" ; |
2984 | case VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT: |
2985 | return "VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT" ; |
2986 | case VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT: |
2987 | return "VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT" ; |
2988 | case VK_MEMORY_PROPERTY_PROTECTED_BIT: |
2989 | return "VK_MEMORY_PROPERTY_PROTECTED_BIT" ; |
2990 | case VK_MEMORY_PROPERTY_RDMA_CAPABLE_BIT_NV: |
2991 | return "VK_MEMORY_PROPERTY_RDMA_CAPABLE_BIT_NV" ; |
2992 | default: |
2993 | return "Unhandled VkMemoryPropertyFlagBits" ; |
2994 | } |
2995 | } |
2996 | |
2997 | static inline std::string string_VkMemoryPropertyFlags(VkMemoryPropertyFlags input_value) |
2998 | { |
2999 | std::string ret; |
3000 | int index = 0; |
3001 | while(input_value) { |
3002 | if (input_value & 1) { |
3003 | if( !ret.empty()) ret.append("|" ); |
3004 | ret.append(string_VkMemoryPropertyFlagBits(static_cast<VkMemoryPropertyFlagBits>(1U << index))); |
3005 | } |
3006 | ++index; |
3007 | input_value >>= 1; |
3008 | } |
3009 | if (ret.empty()) ret.append("VkMemoryPropertyFlags(0)" ); |
3010 | return ret; |
3011 | } |
3012 | |
3013 | static inline const char* string_VkPhysicalDeviceType(VkPhysicalDeviceType input_value) |
3014 | { |
3015 | switch (input_value) |
3016 | { |
3017 | case VK_PHYSICAL_DEVICE_TYPE_CPU: |
3018 | return "VK_PHYSICAL_DEVICE_TYPE_CPU" ; |
3019 | case VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU: |
3020 | return "VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU" ; |
3021 | case VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU: |
3022 | return "VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU" ; |
3023 | case VK_PHYSICAL_DEVICE_TYPE_OTHER: |
3024 | return "VK_PHYSICAL_DEVICE_TYPE_OTHER" ; |
3025 | case VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU: |
3026 | return "VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU" ; |
3027 | default: |
3028 | return "Unhandled VkPhysicalDeviceType" ; |
3029 | } |
3030 | } |
3031 | |
3032 | static inline const char* string_VkQueueFlagBits(VkQueueFlagBits input_value) |
3033 | { |
3034 | switch (input_value) |
3035 | { |
3036 | case VK_QUEUE_COMPUTE_BIT: |
3037 | return "VK_QUEUE_COMPUTE_BIT" ; |
3038 | case VK_QUEUE_GRAPHICS_BIT: |
3039 | return "VK_QUEUE_GRAPHICS_BIT" ; |
3040 | case VK_QUEUE_OPTICAL_FLOW_BIT_NV: |
3041 | return "VK_QUEUE_OPTICAL_FLOW_BIT_NV" ; |
3042 | case VK_QUEUE_PROTECTED_BIT: |
3043 | return "VK_QUEUE_PROTECTED_BIT" ; |
3044 | case VK_QUEUE_SPARSE_BINDING_BIT: |
3045 | return "VK_QUEUE_SPARSE_BINDING_BIT" ; |
3046 | case VK_QUEUE_TRANSFER_BIT: |
3047 | return "VK_QUEUE_TRANSFER_BIT" ; |
3048 | case VK_QUEUE_VIDEO_DECODE_BIT_KHR: |
3049 | return "VK_QUEUE_VIDEO_DECODE_BIT_KHR" ; |
3050 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
3051 | case VK_QUEUE_VIDEO_ENCODE_BIT_KHR: |
3052 | return "VK_QUEUE_VIDEO_ENCODE_BIT_KHR" ; |
3053 | #endif // VK_ENABLE_BETA_EXTENSIONS |
3054 | default: |
3055 | return "Unhandled VkQueueFlagBits" ; |
3056 | } |
3057 | } |
3058 | |
3059 | static inline std::string string_VkQueueFlags(VkQueueFlags input_value) |
3060 | { |
3061 | std::string ret; |
3062 | int index = 0; |
3063 | while(input_value) { |
3064 | if (input_value & 1) { |
3065 | if( !ret.empty()) ret.append("|" ); |
3066 | ret.append(string_VkQueueFlagBits(static_cast<VkQueueFlagBits>(1U << index))); |
3067 | } |
3068 | ++index; |
3069 | input_value >>= 1; |
3070 | } |
3071 | if (ret.empty()) ret.append("VkQueueFlags(0)" ); |
3072 | return ret; |
3073 | } |
3074 | |
3075 | static inline const char* string_VkDeviceQueueCreateFlagBits(VkDeviceQueueCreateFlagBits input_value) |
3076 | { |
3077 | switch (input_value) |
3078 | { |
3079 | case VK_DEVICE_QUEUE_CREATE_PROTECTED_BIT: |
3080 | return "VK_DEVICE_QUEUE_CREATE_PROTECTED_BIT" ; |
3081 | default: |
3082 | return "Unhandled VkDeviceQueueCreateFlagBits" ; |
3083 | } |
3084 | } |
3085 | |
3086 | static inline std::string string_VkDeviceQueueCreateFlags(VkDeviceQueueCreateFlags input_value) |
3087 | { |
3088 | std::string ret; |
3089 | int index = 0; |
3090 | while(input_value) { |
3091 | if (input_value & 1) { |
3092 | if( !ret.empty()) ret.append("|" ); |
3093 | ret.append(string_VkDeviceQueueCreateFlagBits(static_cast<VkDeviceQueueCreateFlagBits>(1U << index))); |
3094 | } |
3095 | ++index; |
3096 | input_value >>= 1; |
3097 | } |
3098 | if (ret.empty()) ret.append("VkDeviceQueueCreateFlags(0)" ); |
3099 | return ret; |
3100 | } |
3101 | |
3102 | static inline const char* string_VkPipelineStageFlagBits(VkPipelineStageFlagBits input_value) |
3103 | { |
3104 | switch (input_value) |
3105 | { |
3106 | case VK_PIPELINE_STAGE_ACCELERATION_STRUCTURE_BUILD_BIT_KHR: |
3107 | return "VK_PIPELINE_STAGE_ACCELERATION_STRUCTURE_BUILD_BIT_KHR" ; |
3108 | case VK_PIPELINE_STAGE_ALL_COMMANDS_BIT: |
3109 | return "VK_PIPELINE_STAGE_ALL_COMMANDS_BIT" ; |
3110 | case VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT: |
3111 | return "VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT" ; |
3112 | case VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT: |
3113 | return "VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT" ; |
3114 | case VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT: |
3115 | return "VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT" ; |
3116 | case VK_PIPELINE_STAGE_COMMAND_PREPROCESS_BIT_NV: |
3117 | return "VK_PIPELINE_STAGE_COMMAND_PREPROCESS_BIT_NV" ; |
3118 | case VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT: |
3119 | return "VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT" ; |
3120 | case VK_PIPELINE_STAGE_CONDITIONAL_RENDERING_BIT_EXT: |
3121 | return "VK_PIPELINE_STAGE_CONDITIONAL_RENDERING_BIT_EXT" ; |
3122 | case VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT: |
3123 | return "VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT" ; |
3124 | case VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT: |
3125 | return "VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT" ; |
3126 | case VK_PIPELINE_STAGE_FRAGMENT_DENSITY_PROCESS_BIT_EXT: |
3127 | return "VK_PIPELINE_STAGE_FRAGMENT_DENSITY_PROCESS_BIT_EXT" ; |
3128 | case VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT: |
3129 | return "VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT" ; |
3130 | case VK_PIPELINE_STAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR: |
3131 | return "VK_PIPELINE_STAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR" ; |
3132 | case VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT: |
3133 | return "VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT" ; |
3134 | case VK_PIPELINE_STAGE_HOST_BIT: |
3135 | return "VK_PIPELINE_STAGE_HOST_BIT" ; |
3136 | case VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT: |
3137 | return "VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT" ; |
3138 | case VK_PIPELINE_STAGE_MESH_SHADER_BIT_EXT: |
3139 | return "VK_PIPELINE_STAGE_MESH_SHADER_BIT_EXT" ; |
3140 | case VK_PIPELINE_STAGE_NONE: |
3141 | return "VK_PIPELINE_STAGE_NONE" ; |
3142 | case VK_PIPELINE_STAGE_RAY_TRACING_SHADER_BIT_KHR: |
3143 | return "VK_PIPELINE_STAGE_RAY_TRACING_SHADER_BIT_KHR" ; |
3144 | case VK_PIPELINE_STAGE_TASK_SHADER_BIT_EXT: |
3145 | return "VK_PIPELINE_STAGE_TASK_SHADER_BIT_EXT" ; |
3146 | case VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT: |
3147 | return "VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT" ; |
3148 | case VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT: |
3149 | return "VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT" ; |
3150 | case VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT: |
3151 | return "VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT" ; |
3152 | case VK_PIPELINE_STAGE_TRANSFER_BIT: |
3153 | return "VK_PIPELINE_STAGE_TRANSFER_BIT" ; |
3154 | case VK_PIPELINE_STAGE_TRANSFORM_FEEDBACK_BIT_EXT: |
3155 | return "VK_PIPELINE_STAGE_TRANSFORM_FEEDBACK_BIT_EXT" ; |
3156 | case VK_PIPELINE_STAGE_VERTEX_INPUT_BIT: |
3157 | return "VK_PIPELINE_STAGE_VERTEX_INPUT_BIT" ; |
3158 | case VK_PIPELINE_STAGE_VERTEX_SHADER_BIT: |
3159 | return "VK_PIPELINE_STAGE_VERTEX_SHADER_BIT" ; |
3160 | default: |
3161 | return "Unhandled VkPipelineStageFlagBits" ; |
3162 | } |
3163 | } |
3164 | |
3165 | static inline std::string string_VkPipelineStageFlags(VkPipelineStageFlags input_value) |
3166 | { |
3167 | std::string ret; |
3168 | int index = 0; |
3169 | while(input_value) { |
3170 | if (input_value & 1) { |
3171 | if( !ret.empty()) ret.append("|" ); |
3172 | ret.append(string_VkPipelineStageFlagBits(static_cast<VkPipelineStageFlagBits>(1U << index))); |
3173 | } |
3174 | ++index; |
3175 | input_value >>= 1; |
3176 | } |
3177 | if (ret.empty()) ret.append("VkPipelineStageFlags(0)" ); |
3178 | return ret; |
3179 | } |
3180 | |
3181 | static inline const char* string_VkSparseMemoryBindFlagBits(VkSparseMemoryBindFlagBits input_value) |
3182 | { |
3183 | switch (input_value) |
3184 | { |
3185 | case VK_SPARSE_MEMORY_BIND_METADATA_BIT: |
3186 | return "VK_SPARSE_MEMORY_BIND_METADATA_BIT" ; |
3187 | default: |
3188 | return "Unhandled VkSparseMemoryBindFlagBits" ; |
3189 | } |
3190 | } |
3191 | |
3192 | static inline std::string string_VkSparseMemoryBindFlags(VkSparseMemoryBindFlags input_value) |
3193 | { |
3194 | std::string ret; |
3195 | int index = 0; |
3196 | while(input_value) { |
3197 | if (input_value & 1) { |
3198 | if( !ret.empty()) ret.append("|" ); |
3199 | ret.append(string_VkSparseMemoryBindFlagBits(static_cast<VkSparseMemoryBindFlagBits>(1U << index))); |
3200 | } |
3201 | ++index; |
3202 | input_value >>= 1; |
3203 | } |
3204 | if (ret.empty()) ret.append("VkSparseMemoryBindFlags(0)" ); |
3205 | return ret; |
3206 | } |
3207 | |
3208 | static inline const char* string_VkSparseImageFormatFlagBits(VkSparseImageFormatFlagBits input_value) |
3209 | { |
3210 | switch (input_value) |
3211 | { |
3212 | case VK_SPARSE_IMAGE_FORMAT_ALIGNED_MIP_SIZE_BIT: |
3213 | return "VK_SPARSE_IMAGE_FORMAT_ALIGNED_MIP_SIZE_BIT" ; |
3214 | case VK_SPARSE_IMAGE_FORMAT_NONSTANDARD_BLOCK_SIZE_BIT: |
3215 | return "VK_SPARSE_IMAGE_FORMAT_NONSTANDARD_BLOCK_SIZE_BIT" ; |
3216 | case VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT: |
3217 | return "VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT" ; |
3218 | default: |
3219 | return "Unhandled VkSparseImageFormatFlagBits" ; |
3220 | } |
3221 | } |
3222 | |
3223 | static inline std::string string_VkSparseImageFormatFlags(VkSparseImageFormatFlags input_value) |
3224 | { |
3225 | std::string ret; |
3226 | int index = 0; |
3227 | while(input_value) { |
3228 | if (input_value & 1) { |
3229 | if( !ret.empty()) ret.append("|" ); |
3230 | ret.append(string_VkSparseImageFormatFlagBits(static_cast<VkSparseImageFormatFlagBits>(1U << index))); |
3231 | } |
3232 | ++index; |
3233 | input_value >>= 1; |
3234 | } |
3235 | if (ret.empty()) ret.append("VkSparseImageFormatFlags(0)" ); |
3236 | return ret; |
3237 | } |
3238 | |
3239 | static inline const char* string_VkFenceCreateFlagBits(VkFenceCreateFlagBits input_value) |
3240 | { |
3241 | switch (input_value) |
3242 | { |
3243 | case VK_FENCE_CREATE_SIGNALED_BIT: |
3244 | return "VK_FENCE_CREATE_SIGNALED_BIT" ; |
3245 | default: |
3246 | return "Unhandled VkFenceCreateFlagBits" ; |
3247 | } |
3248 | } |
3249 | |
3250 | static inline std::string string_VkFenceCreateFlags(VkFenceCreateFlags input_value) |
3251 | { |
3252 | std::string ret; |
3253 | int index = 0; |
3254 | while(input_value) { |
3255 | if (input_value & 1) { |
3256 | if( !ret.empty()) ret.append("|" ); |
3257 | ret.append(string_VkFenceCreateFlagBits(static_cast<VkFenceCreateFlagBits>(1U << index))); |
3258 | } |
3259 | ++index; |
3260 | input_value >>= 1; |
3261 | } |
3262 | if (ret.empty()) ret.append("VkFenceCreateFlags(0)" ); |
3263 | return ret; |
3264 | } |
3265 | |
3266 | static inline const char* string_VkEventCreateFlagBits(VkEventCreateFlagBits input_value) |
3267 | { |
3268 | switch (input_value) |
3269 | { |
3270 | case VK_EVENT_CREATE_DEVICE_ONLY_BIT: |
3271 | return "VK_EVENT_CREATE_DEVICE_ONLY_BIT" ; |
3272 | default: |
3273 | return "Unhandled VkEventCreateFlagBits" ; |
3274 | } |
3275 | } |
3276 | |
3277 | static inline std::string string_VkEventCreateFlags(VkEventCreateFlags input_value) |
3278 | { |
3279 | std::string ret; |
3280 | int index = 0; |
3281 | while(input_value) { |
3282 | if (input_value & 1) { |
3283 | if( !ret.empty()) ret.append("|" ); |
3284 | ret.append(string_VkEventCreateFlagBits(static_cast<VkEventCreateFlagBits>(1U << index))); |
3285 | } |
3286 | ++index; |
3287 | input_value >>= 1; |
3288 | } |
3289 | if (ret.empty()) ret.append("VkEventCreateFlags(0)" ); |
3290 | return ret; |
3291 | } |
3292 | |
3293 | static inline const char* string_VkQueryPipelineStatisticFlagBits(VkQueryPipelineStatisticFlagBits input_value) |
3294 | { |
3295 | switch (input_value) |
3296 | { |
3297 | case VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT: |
3298 | return "VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT" ; |
3299 | case VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT: |
3300 | return "VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT" ; |
3301 | case VK_QUERY_PIPELINE_STATISTIC_CLUSTER_CULLING_SHADER_INVOCATIONS_BIT_HUAWEI: |
3302 | return "VK_QUERY_PIPELINE_STATISTIC_CLUSTER_CULLING_SHADER_INVOCATIONS_BIT_HUAWEI" ; |
3303 | case VK_QUERY_PIPELINE_STATISTIC_COMPUTE_SHADER_INVOCATIONS_BIT: |
3304 | return "VK_QUERY_PIPELINE_STATISTIC_COMPUTE_SHADER_INVOCATIONS_BIT" ; |
3305 | case VK_QUERY_PIPELINE_STATISTIC_FRAGMENT_SHADER_INVOCATIONS_BIT: |
3306 | return "VK_QUERY_PIPELINE_STATISTIC_FRAGMENT_SHADER_INVOCATIONS_BIT" ; |
3307 | case VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT: |
3308 | return "VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT" ; |
3309 | case VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT: |
3310 | return "VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT" ; |
3311 | case VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT: |
3312 | return "VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT" ; |
3313 | case VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT: |
3314 | return "VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT" ; |
3315 | case VK_QUERY_PIPELINE_STATISTIC_MESH_SHADER_INVOCATIONS_BIT_EXT: |
3316 | return "VK_QUERY_PIPELINE_STATISTIC_MESH_SHADER_INVOCATIONS_BIT_EXT" ; |
3317 | case VK_QUERY_PIPELINE_STATISTIC_TASK_SHADER_INVOCATIONS_BIT_EXT: |
3318 | return "VK_QUERY_PIPELINE_STATISTIC_TASK_SHADER_INVOCATIONS_BIT_EXT" ; |
3319 | case VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT: |
3320 | return "VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT" ; |
3321 | case VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT: |
3322 | return "VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT" ; |
3323 | case VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT: |
3324 | return "VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT" ; |
3325 | default: |
3326 | return "Unhandled VkQueryPipelineStatisticFlagBits" ; |
3327 | } |
3328 | } |
3329 | |
3330 | static inline std::string string_VkQueryPipelineStatisticFlags(VkQueryPipelineStatisticFlags input_value) |
3331 | { |
3332 | std::string ret; |
3333 | int index = 0; |
3334 | while(input_value) { |
3335 | if (input_value & 1) { |
3336 | if( !ret.empty()) ret.append("|" ); |
3337 | ret.append(string_VkQueryPipelineStatisticFlagBits(static_cast<VkQueryPipelineStatisticFlagBits>(1U << index))); |
3338 | } |
3339 | ++index; |
3340 | input_value >>= 1; |
3341 | } |
3342 | if (ret.empty()) ret.append("VkQueryPipelineStatisticFlags(0)" ); |
3343 | return ret; |
3344 | } |
3345 | |
3346 | static inline const char* string_VkQueryType(VkQueryType input_value) |
3347 | { |
3348 | switch (input_value) |
3349 | { |
3350 | case VK_QUERY_TYPE_ACCELERATION_STRUCTURE_COMPACTED_SIZE_KHR: |
3351 | return "VK_QUERY_TYPE_ACCELERATION_STRUCTURE_COMPACTED_SIZE_KHR" ; |
3352 | case VK_QUERY_TYPE_ACCELERATION_STRUCTURE_COMPACTED_SIZE_NV: |
3353 | return "VK_QUERY_TYPE_ACCELERATION_STRUCTURE_COMPACTED_SIZE_NV" ; |
3354 | case VK_QUERY_TYPE_ACCELERATION_STRUCTURE_SERIALIZATION_BOTTOM_LEVEL_POINTERS_KHR: |
3355 | return "VK_QUERY_TYPE_ACCELERATION_STRUCTURE_SERIALIZATION_BOTTOM_LEVEL_POINTERS_KHR" ; |
3356 | case VK_QUERY_TYPE_ACCELERATION_STRUCTURE_SERIALIZATION_SIZE_KHR: |
3357 | return "VK_QUERY_TYPE_ACCELERATION_STRUCTURE_SERIALIZATION_SIZE_KHR" ; |
3358 | case VK_QUERY_TYPE_ACCELERATION_STRUCTURE_SIZE_KHR: |
3359 | return "VK_QUERY_TYPE_ACCELERATION_STRUCTURE_SIZE_KHR" ; |
3360 | case VK_QUERY_TYPE_MESH_PRIMITIVES_GENERATED_EXT: |
3361 | return "VK_QUERY_TYPE_MESH_PRIMITIVES_GENERATED_EXT" ; |
3362 | case VK_QUERY_TYPE_MICROMAP_COMPACTED_SIZE_EXT: |
3363 | return "VK_QUERY_TYPE_MICROMAP_COMPACTED_SIZE_EXT" ; |
3364 | case VK_QUERY_TYPE_MICROMAP_SERIALIZATION_SIZE_EXT: |
3365 | return "VK_QUERY_TYPE_MICROMAP_SERIALIZATION_SIZE_EXT" ; |
3366 | case VK_QUERY_TYPE_OCCLUSION: |
3367 | return "VK_QUERY_TYPE_OCCLUSION" ; |
3368 | case VK_QUERY_TYPE_PERFORMANCE_QUERY_INTEL: |
3369 | return "VK_QUERY_TYPE_PERFORMANCE_QUERY_INTEL" ; |
3370 | case VK_QUERY_TYPE_PERFORMANCE_QUERY_KHR: |
3371 | return "VK_QUERY_TYPE_PERFORMANCE_QUERY_KHR" ; |
3372 | case VK_QUERY_TYPE_PIPELINE_STATISTICS: |
3373 | return "VK_QUERY_TYPE_PIPELINE_STATISTICS" ; |
3374 | case VK_QUERY_TYPE_PRIMITIVES_GENERATED_EXT: |
3375 | return "VK_QUERY_TYPE_PRIMITIVES_GENERATED_EXT" ; |
3376 | case VK_QUERY_TYPE_RESULT_STATUS_ONLY_KHR: |
3377 | return "VK_QUERY_TYPE_RESULT_STATUS_ONLY_KHR" ; |
3378 | case VK_QUERY_TYPE_TIMESTAMP: |
3379 | return "VK_QUERY_TYPE_TIMESTAMP" ; |
3380 | case VK_QUERY_TYPE_TRANSFORM_FEEDBACK_STREAM_EXT: |
3381 | return "VK_QUERY_TYPE_TRANSFORM_FEEDBACK_STREAM_EXT" ; |
3382 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
3383 | case VK_QUERY_TYPE_VIDEO_ENCODE_FEEDBACK_KHR: |
3384 | return "VK_QUERY_TYPE_VIDEO_ENCODE_FEEDBACK_KHR" ; |
3385 | #endif // VK_ENABLE_BETA_EXTENSIONS |
3386 | default: |
3387 | return "Unhandled VkQueryType" ; |
3388 | } |
3389 | } |
3390 | |
3391 | static inline const char* string_VkQueryResultFlagBits(VkQueryResultFlagBits input_value) |
3392 | { |
3393 | switch (input_value) |
3394 | { |
3395 | case VK_QUERY_RESULT_64_BIT: |
3396 | return "VK_QUERY_RESULT_64_BIT" ; |
3397 | case VK_QUERY_RESULT_PARTIAL_BIT: |
3398 | return "VK_QUERY_RESULT_PARTIAL_BIT" ; |
3399 | case VK_QUERY_RESULT_WAIT_BIT: |
3400 | return "VK_QUERY_RESULT_WAIT_BIT" ; |
3401 | case VK_QUERY_RESULT_WITH_AVAILABILITY_BIT: |
3402 | return "VK_QUERY_RESULT_WITH_AVAILABILITY_BIT" ; |
3403 | case VK_QUERY_RESULT_WITH_STATUS_BIT_KHR: |
3404 | return "VK_QUERY_RESULT_WITH_STATUS_BIT_KHR" ; |
3405 | default: |
3406 | return "Unhandled VkQueryResultFlagBits" ; |
3407 | } |
3408 | } |
3409 | |
3410 | static inline std::string string_VkQueryResultFlags(VkQueryResultFlags input_value) |
3411 | { |
3412 | std::string ret; |
3413 | int index = 0; |
3414 | while(input_value) { |
3415 | if (input_value & 1) { |
3416 | if( !ret.empty()) ret.append("|" ); |
3417 | ret.append(string_VkQueryResultFlagBits(static_cast<VkQueryResultFlagBits>(1U << index))); |
3418 | } |
3419 | ++index; |
3420 | input_value >>= 1; |
3421 | } |
3422 | if (ret.empty()) ret.append("VkQueryResultFlags(0)" ); |
3423 | return ret; |
3424 | } |
3425 | |
3426 | static inline const char* string_VkBufferCreateFlagBits(VkBufferCreateFlagBits input_value) |
3427 | { |
3428 | switch (input_value) |
3429 | { |
3430 | case VK_BUFFER_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_EXT: |
3431 | return "VK_BUFFER_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_EXT" ; |
3432 | case VK_BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT: |
3433 | return "VK_BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT" ; |
3434 | case VK_BUFFER_CREATE_PROTECTED_BIT: |
3435 | return "VK_BUFFER_CREATE_PROTECTED_BIT" ; |
3436 | case VK_BUFFER_CREATE_SPARSE_ALIASED_BIT: |
3437 | return "VK_BUFFER_CREATE_SPARSE_ALIASED_BIT" ; |
3438 | case VK_BUFFER_CREATE_SPARSE_BINDING_BIT: |
3439 | return "VK_BUFFER_CREATE_SPARSE_BINDING_BIT" ; |
3440 | case VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT: |
3441 | return "VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT" ; |
3442 | default: |
3443 | return "Unhandled VkBufferCreateFlagBits" ; |
3444 | } |
3445 | } |
3446 | |
3447 | static inline std::string string_VkBufferCreateFlags(VkBufferCreateFlags input_value) |
3448 | { |
3449 | std::string ret; |
3450 | int index = 0; |
3451 | while(input_value) { |
3452 | if (input_value & 1) { |
3453 | if( !ret.empty()) ret.append("|" ); |
3454 | ret.append(string_VkBufferCreateFlagBits(static_cast<VkBufferCreateFlagBits>(1U << index))); |
3455 | } |
3456 | ++index; |
3457 | input_value >>= 1; |
3458 | } |
3459 | if (ret.empty()) ret.append("VkBufferCreateFlags(0)" ); |
3460 | return ret; |
3461 | } |
3462 | |
3463 | static inline const char* string_VkBufferUsageFlagBits(VkBufferUsageFlagBits input_value) |
3464 | { |
3465 | switch (input_value) |
3466 | { |
3467 | case VK_BUFFER_USAGE_ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_BIT_KHR: |
3468 | return "VK_BUFFER_USAGE_ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_BIT_KHR" ; |
3469 | case VK_BUFFER_USAGE_ACCELERATION_STRUCTURE_STORAGE_BIT_KHR: |
3470 | return "VK_BUFFER_USAGE_ACCELERATION_STRUCTURE_STORAGE_BIT_KHR" ; |
3471 | case VK_BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT: |
3472 | return "VK_BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT" ; |
3473 | case VK_BUFFER_USAGE_INDEX_BUFFER_BIT: |
3474 | return "VK_BUFFER_USAGE_INDEX_BUFFER_BIT" ; |
3475 | case VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT: |
3476 | return "VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT" ; |
3477 | case VK_BUFFER_USAGE_MICROMAP_BUILD_INPUT_READ_ONLY_BIT_EXT: |
3478 | return "VK_BUFFER_USAGE_MICROMAP_BUILD_INPUT_READ_ONLY_BIT_EXT" ; |
3479 | case VK_BUFFER_USAGE_MICROMAP_STORAGE_BIT_EXT: |
3480 | return "VK_BUFFER_USAGE_MICROMAP_STORAGE_BIT_EXT" ; |
3481 | case VK_BUFFER_USAGE_PUSH_DESCRIPTORS_DESCRIPTOR_BUFFER_BIT_EXT: |
3482 | return "VK_BUFFER_USAGE_PUSH_DESCRIPTORS_DESCRIPTOR_BUFFER_BIT_EXT" ; |
3483 | case VK_BUFFER_USAGE_RESOURCE_DESCRIPTOR_BUFFER_BIT_EXT: |
3484 | return "VK_BUFFER_USAGE_RESOURCE_DESCRIPTOR_BUFFER_BIT_EXT" ; |
3485 | case VK_BUFFER_USAGE_SAMPLER_DESCRIPTOR_BUFFER_BIT_EXT: |
3486 | return "VK_BUFFER_USAGE_SAMPLER_DESCRIPTOR_BUFFER_BIT_EXT" ; |
3487 | case VK_BUFFER_USAGE_SHADER_BINDING_TABLE_BIT_KHR: |
3488 | return "VK_BUFFER_USAGE_SHADER_BINDING_TABLE_BIT_KHR" ; |
3489 | case VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT: |
3490 | return "VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT" ; |
3491 | case VK_BUFFER_USAGE_STORAGE_BUFFER_BIT: |
3492 | return "VK_BUFFER_USAGE_STORAGE_BUFFER_BIT" ; |
3493 | case VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT: |
3494 | return "VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT" ; |
3495 | case VK_BUFFER_USAGE_TRANSFER_DST_BIT: |
3496 | return "VK_BUFFER_USAGE_TRANSFER_DST_BIT" ; |
3497 | case VK_BUFFER_USAGE_TRANSFER_SRC_BIT: |
3498 | return "VK_BUFFER_USAGE_TRANSFER_SRC_BIT" ; |
3499 | case VK_BUFFER_USAGE_TRANSFORM_FEEDBACK_BUFFER_BIT_EXT: |
3500 | return "VK_BUFFER_USAGE_TRANSFORM_FEEDBACK_BUFFER_BIT_EXT" ; |
3501 | case VK_BUFFER_USAGE_TRANSFORM_FEEDBACK_COUNTER_BUFFER_BIT_EXT: |
3502 | return "VK_BUFFER_USAGE_TRANSFORM_FEEDBACK_COUNTER_BUFFER_BIT_EXT" ; |
3503 | case VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT: |
3504 | return "VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT" ; |
3505 | case VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT: |
3506 | return "VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT" ; |
3507 | case VK_BUFFER_USAGE_VERTEX_BUFFER_BIT: |
3508 | return "VK_BUFFER_USAGE_VERTEX_BUFFER_BIT" ; |
3509 | case VK_BUFFER_USAGE_VIDEO_DECODE_DST_BIT_KHR: |
3510 | return "VK_BUFFER_USAGE_VIDEO_DECODE_DST_BIT_KHR" ; |
3511 | case VK_BUFFER_USAGE_VIDEO_DECODE_SRC_BIT_KHR: |
3512 | return "VK_BUFFER_USAGE_VIDEO_DECODE_SRC_BIT_KHR" ; |
3513 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
3514 | case VK_BUFFER_USAGE_VIDEO_ENCODE_DST_BIT_KHR: |
3515 | return "VK_BUFFER_USAGE_VIDEO_ENCODE_DST_BIT_KHR" ; |
3516 | #endif // VK_ENABLE_BETA_EXTENSIONS |
3517 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
3518 | case VK_BUFFER_USAGE_VIDEO_ENCODE_SRC_BIT_KHR: |
3519 | return "VK_BUFFER_USAGE_VIDEO_ENCODE_SRC_BIT_KHR" ; |
3520 | #endif // VK_ENABLE_BETA_EXTENSIONS |
3521 | default: |
3522 | return "Unhandled VkBufferUsageFlagBits" ; |
3523 | } |
3524 | } |
3525 | |
3526 | static inline std::string string_VkBufferUsageFlags(VkBufferUsageFlags input_value) |
3527 | { |
3528 | std::string ret; |
3529 | int index = 0; |
3530 | while(input_value) { |
3531 | if (input_value & 1) { |
3532 | if( !ret.empty()) ret.append("|" ); |
3533 | ret.append(string_VkBufferUsageFlagBits(static_cast<VkBufferUsageFlagBits>(1U << index))); |
3534 | } |
3535 | ++index; |
3536 | input_value >>= 1; |
3537 | } |
3538 | if (ret.empty()) ret.append("VkBufferUsageFlags(0)" ); |
3539 | return ret; |
3540 | } |
3541 | |
3542 | static inline const char* string_VkSharingMode(VkSharingMode input_value) |
3543 | { |
3544 | switch (input_value) |
3545 | { |
3546 | case VK_SHARING_MODE_CONCURRENT: |
3547 | return "VK_SHARING_MODE_CONCURRENT" ; |
3548 | case VK_SHARING_MODE_EXCLUSIVE: |
3549 | return "VK_SHARING_MODE_EXCLUSIVE" ; |
3550 | default: |
3551 | return "Unhandled VkSharingMode" ; |
3552 | } |
3553 | } |
3554 | |
3555 | static inline const char* string_VkComponentSwizzle(VkComponentSwizzle input_value) |
3556 | { |
3557 | switch (input_value) |
3558 | { |
3559 | case VK_COMPONENT_SWIZZLE_A: |
3560 | return "VK_COMPONENT_SWIZZLE_A" ; |
3561 | case VK_COMPONENT_SWIZZLE_B: |
3562 | return "VK_COMPONENT_SWIZZLE_B" ; |
3563 | case VK_COMPONENT_SWIZZLE_G: |
3564 | return "VK_COMPONENT_SWIZZLE_G" ; |
3565 | case VK_COMPONENT_SWIZZLE_IDENTITY: |
3566 | return "VK_COMPONENT_SWIZZLE_IDENTITY" ; |
3567 | case VK_COMPONENT_SWIZZLE_ONE: |
3568 | return "VK_COMPONENT_SWIZZLE_ONE" ; |
3569 | case VK_COMPONENT_SWIZZLE_R: |
3570 | return "VK_COMPONENT_SWIZZLE_R" ; |
3571 | case VK_COMPONENT_SWIZZLE_ZERO: |
3572 | return "VK_COMPONENT_SWIZZLE_ZERO" ; |
3573 | default: |
3574 | return "Unhandled VkComponentSwizzle" ; |
3575 | } |
3576 | } |
3577 | |
3578 | static inline const char* string_VkImageViewCreateFlagBits(VkImageViewCreateFlagBits input_value) |
3579 | { |
3580 | switch (input_value) |
3581 | { |
3582 | case VK_IMAGE_VIEW_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_EXT: |
3583 | return "VK_IMAGE_VIEW_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_EXT" ; |
3584 | case VK_IMAGE_VIEW_CREATE_FRAGMENT_DENSITY_MAP_DEFERRED_BIT_EXT: |
3585 | return "VK_IMAGE_VIEW_CREATE_FRAGMENT_DENSITY_MAP_DEFERRED_BIT_EXT" ; |
3586 | case VK_IMAGE_VIEW_CREATE_FRAGMENT_DENSITY_MAP_DYNAMIC_BIT_EXT: |
3587 | return "VK_IMAGE_VIEW_CREATE_FRAGMENT_DENSITY_MAP_DYNAMIC_BIT_EXT" ; |
3588 | default: |
3589 | return "Unhandled VkImageViewCreateFlagBits" ; |
3590 | } |
3591 | } |
3592 | |
3593 | static inline std::string string_VkImageViewCreateFlags(VkImageViewCreateFlags input_value) |
3594 | { |
3595 | std::string ret; |
3596 | int index = 0; |
3597 | while(input_value) { |
3598 | if (input_value & 1) { |
3599 | if( !ret.empty()) ret.append("|" ); |
3600 | ret.append(string_VkImageViewCreateFlagBits(static_cast<VkImageViewCreateFlagBits>(1U << index))); |
3601 | } |
3602 | ++index; |
3603 | input_value >>= 1; |
3604 | } |
3605 | if (ret.empty()) ret.append("VkImageViewCreateFlags(0)" ); |
3606 | return ret; |
3607 | } |
3608 | |
3609 | static inline const char* string_VkImageViewType(VkImageViewType input_value) |
3610 | { |
3611 | switch (input_value) |
3612 | { |
3613 | case VK_IMAGE_VIEW_TYPE_1D: |
3614 | return "VK_IMAGE_VIEW_TYPE_1D" ; |
3615 | case VK_IMAGE_VIEW_TYPE_1D_ARRAY: |
3616 | return "VK_IMAGE_VIEW_TYPE_1D_ARRAY" ; |
3617 | case VK_IMAGE_VIEW_TYPE_2D: |
3618 | return "VK_IMAGE_VIEW_TYPE_2D" ; |
3619 | case VK_IMAGE_VIEW_TYPE_2D_ARRAY: |
3620 | return "VK_IMAGE_VIEW_TYPE_2D_ARRAY" ; |
3621 | case VK_IMAGE_VIEW_TYPE_3D: |
3622 | return "VK_IMAGE_VIEW_TYPE_3D" ; |
3623 | case VK_IMAGE_VIEW_TYPE_CUBE: |
3624 | return "VK_IMAGE_VIEW_TYPE_CUBE" ; |
3625 | case VK_IMAGE_VIEW_TYPE_CUBE_ARRAY: |
3626 | return "VK_IMAGE_VIEW_TYPE_CUBE_ARRAY" ; |
3627 | default: |
3628 | return "Unhandled VkImageViewType" ; |
3629 | } |
3630 | } |
3631 | |
3632 | static inline const char* string_VkPipelineCacheCreateFlagBits(VkPipelineCacheCreateFlagBits input_value) |
3633 | { |
3634 | switch (input_value) |
3635 | { |
3636 | case VK_PIPELINE_CACHE_CREATE_EXTERNALLY_SYNCHRONIZED_BIT: |
3637 | return "VK_PIPELINE_CACHE_CREATE_EXTERNALLY_SYNCHRONIZED_BIT" ; |
3638 | default: |
3639 | return "Unhandled VkPipelineCacheCreateFlagBits" ; |
3640 | } |
3641 | } |
3642 | |
3643 | static inline std::string string_VkPipelineCacheCreateFlags(VkPipelineCacheCreateFlags input_value) |
3644 | { |
3645 | std::string ret; |
3646 | int index = 0; |
3647 | while(input_value) { |
3648 | if (input_value & 1) { |
3649 | if( !ret.empty()) ret.append("|" ); |
3650 | ret.append(string_VkPipelineCacheCreateFlagBits(static_cast<VkPipelineCacheCreateFlagBits>(1U << index))); |
3651 | } |
3652 | ++index; |
3653 | input_value >>= 1; |
3654 | } |
3655 | if (ret.empty()) ret.append("VkPipelineCacheCreateFlags(0)" ); |
3656 | return ret; |
3657 | } |
3658 | |
3659 | static inline const char* string_VkBlendFactor(VkBlendFactor input_value) |
3660 | { |
3661 | switch (input_value) |
3662 | { |
3663 | case VK_BLEND_FACTOR_CONSTANT_ALPHA: |
3664 | return "VK_BLEND_FACTOR_CONSTANT_ALPHA" ; |
3665 | case VK_BLEND_FACTOR_CONSTANT_COLOR: |
3666 | return "VK_BLEND_FACTOR_CONSTANT_COLOR" ; |
3667 | case VK_BLEND_FACTOR_DST_ALPHA: |
3668 | return "VK_BLEND_FACTOR_DST_ALPHA" ; |
3669 | case VK_BLEND_FACTOR_DST_COLOR: |
3670 | return "VK_BLEND_FACTOR_DST_COLOR" ; |
3671 | case VK_BLEND_FACTOR_ONE: |
3672 | return "VK_BLEND_FACTOR_ONE" ; |
3673 | case VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA: |
3674 | return "VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA" ; |
3675 | case VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR: |
3676 | return "VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR" ; |
3677 | case VK_BLEND_FACTOR_ONE_MINUS_DST_ALPHA: |
3678 | return "VK_BLEND_FACTOR_ONE_MINUS_DST_ALPHA" ; |
3679 | case VK_BLEND_FACTOR_ONE_MINUS_DST_COLOR: |
3680 | return "VK_BLEND_FACTOR_ONE_MINUS_DST_COLOR" ; |
3681 | case VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA: |
3682 | return "VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA" ; |
3683 | case VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR: |
3684 | return "VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR" ; |
3685 | case VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA: |
3686 | return "VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA" ; |
3687 | case VK_BLEND_FACTOR_ONE_MINUS_SRC_COLOR: |
3688 | return "VK_BLEND_FACTOR_ONE_MINUS_SRC_COLOR" ; |
3689 | case VK_BLEND_FACTOR_SRC1_ALPHA: |
3690 | return "VK_BLEND_FACTOR_SRC1_ALPHA" ; |
3691 | case VK_BLEND_FACTOR_SRC1_COLOR: |
3692 | return "VK_BLEND_FACTOR_SRC1_COLOR" ; |
3693 | case VK_BLEND_FACTOR_SRC_ALPHA: |
3694 | return "VK_BLEND_FACTOR_SRC_ALPHA" ; |
3695 | case VK_BLEND_FACTOR_SRC_ALPHA_SATURATE: |
3696 | return "VK_BLEND_FACTOR_SRC_ALPHA_SATURATE" ; |
3697 | case VK_BLEND_FACTOR_SRC_COLOR: |
3698 | return "VK_BLEND_FACTOR_SRC_COLOR" ; |
3699 | case VK_BLEND_FACTOR_ZERO: |
3700 | return "VK_BLEND_FACTOR_ZERO" ; |
3701 | default: |
3702 | return "Unhandled VkBlendFactor" ; |
3703 | } |
3704 | } |
3705 | |
3706 | static inline const char* string_VkBlendOp(VkBlendOp input_value) |
3707 | { |
3708 | switch (input_value) |
3709 | { |
3710 | case VK_BLEND_OP_ADD: |
3711 | return "VK_BLEND_OP_ADD" ; |
3712 | case VK_BLEND_OP_BLUE_EXT: |
3713 | return "VK_BLEND_OP_BLUE_EXT" ; |
3714 | case VK_BLEND_OP_COLORBURN_EXT: |
3715 | return "VK_BLEND_OP_COLORBURN_EXT" ; |
3716 | case VK_BLEND_OP_COLORDODGE_EXT: |
3717 | return "VK_BLEND_OP_COLORDODGE_EXT" ; |
3718 | case VK_BLEND_OP_CONTRAST_EXT: |
3719 | return "VK_BLEND_OP_CONTRAST_EXT" ; |
3720 | case VK_BLEND_OP_DARKEN_EXT: |
3721 | return "VK_BLEND_OP_DARKEN_EXT" ; |
3722 | case VK_BLEND_OP_DIFFERENCE_EXT: |
3723 | return "VK_BLEND_OP_DIFFERENCE_EXT" ; |
3724 | case VK_BLEND_OP_DST_ATOP_EXT: |
3725 | return "VK_BLEND_OP_DST_ATOP_EXT" ; |
3726 | case VK_BLEND_OP_DST_EXT: |
3727 | return "VK_BLEND_OP_DST_EXT" ; |
3728 | case VK_BLEND_OP_DST_IN_EXT: |
3729 | return "VK_BLEND_OP_DST_IN_EXT" ; |
3730 | case VK_BLEND_OP_DST_OUT_EXT: |
3731 | return "VK_BLEND_OP_DST_OUT_EXT" ; |
3732 | case VK_BLEND_OP_DST_OVER_EXT: |
3733 | return "VK_BLEND_OP_DST_OVER_EXT" ; |
3734 | case VK_BLEND_OP_EXCLUSION_EXT: |
3735 | return "VK_BLEND_OP_EXCLUSION_EXT" ; |
3736 | case VK_BLEND_OP_GREEN_EXT: |
3737 | return "VK_BLEND_OP_GREEN_EXT" ; |
3738 | case VK_BLEND_OP_HARDLIGHT_EXT: |
3739 | return "VK_BLEND_OP_HARDLIGHT_EXT" ; |
3740 | case VK_BLEND_OP_HARDMIX_EXT: |
3741 | return "VK_BLEND_OP_HARDMIX_EXT" ; |
3742 | case VK_BLEND_OP_HSL_COLOR_EXT: |
3743 | return "VK_BLEND_OP_HSL_COLOR_EXT" ; |
3744 | case VK_BLEND_OP_HSL_HUE_EXT: |
3745 | return "VK_BLEND_OP_HSL_HUE_EXT" ; |
3746 | case VK_BLEND_OP_HSL_LUMINOSITY_EXT: |
3747 | return "VK_BLEND_OP_HSL_LUMINOSITY_EXT" ; |
3748 | case VK_BLEND_OP_HSL_SATURATION_EXT: |
3749 | return "VK_BLEND_OP_HSL_SATURATION_EXT" ; |
3750 | case VK_BLEND_OP_INVERT_EXT: |
3751 | return "VK_BLEND_OP_INVERT_EXT" ; |
3752 | case VK_BLEND_OP_INVERT_OVG_EXT: |
3753 | return "VK_BLEND_OP_INVERT_OVG_EXT" ; |
3754 | case VK_BLEND_OP_INVERT_RGB_EXT: |
3755 | return "VK_BLEND_OP_INVERT_RGB_EXT" ; |
3756 | case VK_BLEND_OP_LIGHTEN_EXT: |
3757 | return "VK_BLEND_OP_LIGHTEN_EXT" ; |
3758 | case VK_BLEND_OP_LINEARBURN_EXT: |
3759 | return "VK_BLEND_OP_LINEARBURN_EXT" ; |
3760 | case VK_BLEND_OP_LINEARDODGE_EXT: |
3761 | return "VK_BLEND_OP_LINEARDODGE_EXT" ; |
3762 | case VK_BLEND_OP_LINEARLIGHT_EXT: |
3763 | return "VK_BLEND_OP_LINEARLIGHT_EXT" ; |
3764 | case VK_BLEND_OP_MAX: |
3765 | return "VK_BLEND_OP_MAX" ; |
3766 | case VK_BLEND_OP_MIN: |
3767 | return "VK_BLEND_OP_MIN" ; |
3768 | case VK_BLEND_OP_MINUS_CLAMPED_EXT: |
3769 | return "VK_BLEND_OP_MINUS_CLAMPED_EXT" ; |
3770 | case VK_BLEND_OP_MINUS_EXT: |
3771 | return "VK_BLEND_OP_MINUS_EXT" ; |
3772 | case VK_BLEND_OP_MULTIPLY_EXT: |
3773 | return "VK_BLEND_OP_MULTIPLY_EXT" ; |
3774 | case VK_BLEND_OP_OVERLAY_EXT: |
3775 | return "VK_BLEND_OP_OVERLAY_EXT" ; |
3776 | case VK_BLEND_OP_PINLIGHT_EXT: |
3777 | return "VK_BLEND_OP_PINLIGHT_EXT" ; |
3778 | case VK_BLEND_OP_PLUS_CLAMPED_ALPHA_EXT: |
3779 | return "VK_BLEND_OP_PLUS_CLAMPED_ALPHA_EXT" ; |
3780 | case VK_BLEND_OP_PLUS_CLAMPED_EXT: |
3781 | return "VK_BLEND_OP_PLUS_CLAMPED_EXT" ; |
3782 | case VK_BLEND_OP_PLUS_DARKER_EXT: |
3783 | return "VK_BLEND_OP_PLUS_DARKER_EXT" ; |
3784 | case VK_BLEND_OP_PLUS_EXT: |
3785 | return "VK_BLEND_OP_PLUS_EXT" ; |
3786 | case VK_BLEND_OP_RED_EXT: |
3787 | return "VK_BLEND_OP_RED_EXT" ; |
3788 | case VK_BLEND_OP_REVERSE_SUBTRACT: |
3789 | return "VK_BLEND_OP_REVERSE_SUBTRACT" ; |
3790 | case VK_BLEND_OP_SCREEN_EXT: |
3791 | return "VK_BLEND_OP_SCREEN_EXT" ; |
3792 | case VK_BLEND_OP_SOFTLIGHT_EXT: |
3793 | return "VK_BLEND_OP_SOFTLIGHT_EXT" ; |
3794 | case VK_BLEND_OP_SRC_ATOP_EXT: |
3795 | return "VK_BLEND_OP_SRC_ATOP_EXT" ; |
3796 | case VK_BLEND_OP_SRC_EXT: |
3797 | return "VK_BLEND_OP_SRC_EXT" ; |
3798 | case VK_BLEND_OP_SRC_IN_EXT: |
3799 | return "VK_BLEND_OP_SRC_IN_EXT" ; |
3800 | case VK_BLEND_OP_SRC_OUT_EXT: |
3801 | return "VK_BLEND_OP_SRC_OUT_EXT" ; |
3802 | case VK_BLEND_OP_SRC_OVER_EXT: |
3803 | return "VK_BLEND_OP_SRC_OVER_EXT" ; |
3804 | case VK_BLEND_OP_SUBTRACT: |
3805 | return "VK_BLEND_OP_SUBTRACT" ; |
3806 | case VK_BLEND_OP_VIVIDLIGHT_EXT: |
3807 | return "VK_BLEND_OP_VIVIDLIGHT_EXT" ; |
3808 | case VK_BLEND_OP_XOR_EXT: |
3809 | return "VK_BLEND_OP_XOR_EXT" ; |
3810 | case VK_BLEND_OP_ZERO_EXT: |
3811 | return "VK_BLEND_OP_ZERO_EXT" ; |
3812 | default: |
3813 | return "Unhandled VkBlendOp" ; |
3814 | } |
3815 | } |
3816 | |
3817 | static inline const char* string_VkColorComponentFlagBits(VkColorComponentFlagBits input_value) |
3818 | { |
3819 | switch (input_value) |
3820 | { |
3821 | case VK_COLOR_COMPONENT_A_BIT: |
3822 | return "VK_COLOR_COMPONENT_A_BIT" ; |
3823 | case VK_COLOR_COMPONENT_B_BIT: |
3824 | return "VK_COLOR_COMPONENT_B_BIT" ; |
3825 | case VK_COLOR_COMPONENT_G_BIT: |
3826 | return "VK_COLOR_COMPONENT_G_BIT" ; |
3827 | case VK_COLOR_COMPONENT_R_BIT: |
3828 | return "VK_COLOR_COMPONENT_R_BIT" ; |
3829 | default: |
3830 | return "Unhandled VkColorComponentFlagBits" ; |
3831 | } |
3832 | } |
3833 | |
3834 | static inline std::string string_VkColorComponentFlags(VkColorComponentFlags input_value) |
3835 | { |
3836 | std::string ret; |
3837 | int index = 0; |
3838 | while(input_value) { |
3839 | if (input_value & 1) { |
3840 | if( !ret.empty()) ret.append("|" ); |
3841 | ret.append(string_VkColorComponentFlagBits(static_cast<VkColorComponentFlagBits>(1U << index))); |
3842 | } |
3843 | ++index; |
3844 | input_value >>= 1; |
3845 | } |
3846 | if (ret.empty()) ret.append("VkColorComponentFlags(0)" ); |
3847 | return ret; |
3848 | } |
3849 | |
3850 | static inline const char* string_VkCompareOp(VkCompareOp input_value) |
3851 | { |
3852 | switch (input_value) |
3853 | { |
3854 | case VK_COMPARE_OP_ALWAYS: |
3855 | return "VK_COMPARE_OP_ALWAYS" ; |
3856 | case VK_COMPARE_OP_EQUAL: |
3857 | return "VK_COMPARE_OP_EQUAL" ; |
3858 | case VK_COMPARE_OP_GREATER: |
3859 | return "VK_COMPARE_OP_GREATER" ; |
3860 | case VK_COMPARE_OP_GREATER_OR_EQUAL: |
3861 | return "VK_COMPARE_OP_GREATER_OR_EQUAL" ; |
3862 | case VK_COMPARE_OP_LESS: |
3863 | return "VK_COMPARE_OP_LESS" ; |
3864 | case VK_COMPARE_OP_LESS_OR_EQUAL: |
3865 | return "VK_COMPARE_OP_LESS_OR_EQUAL" ; |
3866 | case VK_COMPARE_OP_NEVER: |
3867 | return "VK_COMPARE_OP_NEVER" ; |
3868 | case VK_COMPARE_OP_NOT_EQUAL: |
3869 | return "VK_COMPARE_OP_NOT_EQUAL" ; |
3870 | default: |
3871 | return "Unhandled VkCompareOp" ; |
3872 | } |
3873 | } |
3874 | |
3875 | static inline const char* string_VkPipelineCreateFlagBits(VkPipelineCreateFlagBits input_value) |
3876 | { |
3877 | switch (input_value) |
3878 | { |
3879 | case VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT: |
3880 | return "VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT" ; |
3881 | case VK_PIPELINE_CREATE_CAPTURE_INTERNAL_REPRESENTATIONS_BIT_KHR: |
3882 | return "VK_PIPELINE_CREATE_CAPTURE_INTERNAL_REPRESENTATIONS_BIT_KHR" ; |
3883 | case VK_PIPELINE_CREATE_CAPTURE_STATISTICS_BIT_KHR: |
3884 | return "VK_PIPELINE_CREATE_CAPTURE_STATISTICS_BIT_KHR" ; |
3885 | case VK_PIPELINE_CREATE_COLOR_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT: |
3886 | return "VK_PIPELINE_CREATE_COLOR_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT" ; |
3887 | case VK_PIPELINE_CREATE_DEFER_COMPILE_BIT_NV: |
3888 | return "VK_PIPELINE_CREATE_DEFER_COMPILE_BIT_NV" ; |
3889 | case VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT: |
3890 | return "VK_PIPELINE_CREATE_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT" ; |
3891 | case VK_PIPELINE_CREATE_DERIVATIVE_BIT: |
3892 | return "VK_PIPELINE_CREATE_DERIVATIVE_BIT" ; |
3893 | case VK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT: |
3894 | return "VK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT" ; |
3895 | case VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT: |
3896 | return "VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT" ; |
3897 | case VK_PIPELINE_CREATE_DISPATCH_BASE_BIT: |
3898 | return "VK_PIPELINE_CREATE_DISPATCH_BASE_BIT" ; |
3899 | case VK_PIPELINE_CREATE_EARLY_RETURN_ON_FAILURE_BIT: |
3900 | return "VK_PIPELINE_CREATE_EARLY_RETURN_ON_FAILURE_BIT" ; |
3901 | case VK_PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT: |
3902 | return "VK_PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT" ; |
3903 | case VK_PIPELINE_CREATE_INDIRECT_BINDABLE_BIT_NV: |
3904 | return "VK_PIPELINE_CREATE_INDIRECT_BINDABLE_BIT_NV" ; |
3905 | case VK_PIPELINE_CREATE_LIBRARY_BIT_KHR: |
3906 | return "VK_PIPELINE_CREATE_LIBRARY_BIT_KHR" ; |
3907 | case VK_PIPELINE_CREATE_LINK_TIME_OPTIMIZATION_BIT_EXT: |
3908 | return "VK_PIPELINE_CREATE_LINK_TIME_OPTIMIZATION_BIT_EXT" ; |
3909 | case VK_PIPELINE_CREATE_NO_PROTECTED_ACCESS_BIT_EXT: |
3910 | return "VK_PIPELINE_CREATE_NO_PROTECTED_ACCESS_BIT_EXT" ; |
3911 | case VK_PIPELINE_CREATE_PROTECTED_ACCESS_ONLY_BIT_EXT: |
3912 | return "VK_PIPELINE_CREATE_PROTECTED_ACCESS_ONLY_BIT_EXT" ; |
3913 | case VK_PIPELINE_CREATE_RAY_TRACING_ALLOW_MOTION_BIT_NV: |
3914 | return "VK_PIPELINE_CREATE_RAY_TRACING_ALLOW_MOTION_BIT_NV" ; |
3915 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
3916 | case VK_PIPELINE_CREATE_RAY_TRACING_DISPLACEMENT_MICROMAP_BIT_NV: |
3917 | return "VK_PIPELINE_CREATE_RAY_TRACING_DISPLACEMENT_MICROMAP_BIT_NV" ; |
3918 | #endif // VK_ENABLE_BETA_EXTENSIONS |
3919 | case VK_PIPELINE_CREATE_RAY_TRACING_NO_NULL_ANY_HIT_SHADERS_BIT_KHR: |
3920 | return "VK_PIPELINE_CREATE_RAY_TRACING_NO_NULL_ANY_HIT_SHADERS_BIT_KHR" ; |
3921 | case VK_PIPELINE_CREATE_RAY_TRACING_NO_NULL_CLOSEST_HIT_SHADERS_BIT_KHR: |
3922 | return "VK_PIPELINE_CREATE_RAY_TRACING_NO_NULL_CLOSEST_HIT_SHADERS_BIT_KHR" ; |
3923 | case VK_PIPELINE_CREATE_RAY_TRACING_NO_NULL_INTERSECTION_SHADERS_BIT_KHR: |
3924 | return "VK_PIPELINE_CREATE_RAY_TRACING_NO_NULL_INTERSECTION_SHADERS_BIT_KHR" ; |
3925 | case VK_PIPELINE_CREATE_RAY_TRACING_NO_NULL_MISS_SHADERS_BIT_KHR: |
3926 | return "VK_PIPELINE_CREATE_RAY_TRACING_NO_NULL_MISS_SHADERS_BIT_KHR" ; |
3927 | case VK_PIPELINE_CREATE_RAY_TRACING_OPACITY_MICROMAP_BIT_EXT: |
3928 | return "VK_PIPELINE_CREATE_RAY_TRACING_OPACITY_MICROMAP_BIT_EXT" ; |
3929 | case VK_PIPELINE_CREATE_RAY_TRACING_SHADER_GROUP_HANDLE_CAPTURE_REPLAY_BIT_KHR: |
3930 | return "VK_PIPELINE_CREATE_RAY_TRACING_SHADER_GROUP_HANDLE_CAPTURE_REPLAY_BIT_KHR" ; |
3931 | case VK_PIPELINE_CREATE_RAY_TRACING_SKIP_AABBS_BIT_KHR: |
3932 | return "VK_PIPELINE_CREATE_RAY_TRACING_SKIP_AABBS_BIT_KHR" ; |
3933 | case VK_PIPELINE_CREATE_RAY_TRACING_SKIP_TRIANGLES_BIT_KHR: |
3934 | return "VK_PIPELINE_CREATE_RAY_TRACING_SKIP_TRIANGLES_BIT_KHR" ; |
3935 | case VK_PIPELINE_CREATE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT: |
3936 | return "VK_PIPELINE_CREATE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT" ; |
3937 | case VK_PIPELINE_CREATE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR: |
3938 | return "VK_PIPELINE_CREATE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR" ; |
3939 | case VK_PIPELINE_CREATE_RETAIN_LINK_TIME_OPTIMIZATION_INFO_BIT_EXT: |
3940 | return "VK_PIPELINE_CREATE_RETAIN_LINK_TIME_OPTIMIZATION_INFO_BIT_EXT" ; |
3941 | case VK_PIPELINE_CREATE_VIEW_INDEX_FROM_DEVICE_INDEX_BIT: |
3942 | return "VK_PIPELINE_CREATE_VIEW_INDEX_FROM_DEVICE_INDEX_BIT" ; |
3943 | default: |
3944 | return "Unhandled VkPipelineCreateFlagBits" ; |
3945 | } |
3946 | } |
3947 | |
3948 | static inline std::string string_VkPipelineCreateFlags(VkPipelineCreateFlags input_value) |
3949 | { |
3950 | std::string ret; |
3951 | int index = 0; |
3952 | while(input_value) { |
3953 | if (input_value & 1) { |
3954 | if( !ret.empty()) ret.append("|" ); |
3955 | ret.append(string_VkPipelineCreateFlagBits(static_cast<VkPipelineCreateFlagBits>(1U << index))); |
3956 | } |
3957 | ++index; |
3958 | input_value >>= 1; |
3959 | } |
3960 | if (ret.empty()) ret.append("VkPipelineCreateFlags(0)" ); |
3961 | return ret; |
3962 | } |
3963 | |
3964 | static inline const char* string_VkPipelineShaderStageCreateFlagBits(VkPipelineShaderStageCreateFlagBits input_value) |
3965 | { |
3966 | switch (input_value) |
3967 | { |
3968 | case VK_PIPELINE_SHADER_STAGE_CREATE_ALLOW_VARYING_SUBGROUP_SIZE_BIT: |
3969 | return "VK_PIPELINE_SHADER_STAGE_CREATE_ALLOW_VARYING_SUBGROUP_SIZE_BIT" ; |
3970 | case VK_PIPELINE_SHADER_STAGE_CREATE_REQUIRE_FULL_SUBGROUPS_BIT: |
3971 | return "VK_PIPELINE_SHADER_STAGE_CREATE_REQUIRE_FULL_SUBGROUPS_BIT" ; |
3972 | default: |
3973 | return "Unhandled VkPipelineShaderStageCreateFlagBits" ; |
3974 | } |
3975 | } |
3976 | |
3977 | static inline std::string string_VkPipelineShaderStageCreateFlags(VkPipelineShaderStageCreateFlags input_value) |
3978 | { |
3979 | std::string ret; |
3980 | int index = 0; |
3981 | while(input_value) { |
3982 | if (input_value & 1) { |
3983 | if( !ret.empty()) ret.append("|" ); |
3984 | ret.append(string_VkPipelineShaderStageCreateFlagBits(static_cast<VkPipelineShaderStageCreateFlagBits>(1U << index))); |
3985 | } |
3986 | ++index; |
3987 | input_value >>= 1; |
3988 | } |
3989 | if (ret.empty()) ret.append("VkPipelineShaderStageCreateFlags(0)" ); |
3990 | return ret; |
3991 | } |
3992 | |
3993 | static inline const char* string_VkShaderStageFlagBits(VkShaderStageFlagBits input_value) |
3994 | { |
3995 | switch (input_value) |
3996 | { |
3997 | case VK_SHADER_STAGE_ALL: |
3998 | return "VK_SHADER_STAGE_ALL" ; |
3999 | case VK_SHADER_STAGE_ALL_GRAPHICS: |
4000 | return "VK_SHADER_STAGE_ALL_GRAPHICS" ; |
4001 | case VK_SHADER_STAGE_ANY_HIT_BIT_KHR: |
4002 | return "VK_SHADER_STAGE_ANY_HIT_BIT_KHR" ; |
4003 | case VK_SHADER_STAGE_CALLABLE_BIT_KHR: |
4004 | return "VK_SHADER_STAGE_CALLABLE_BIT_KHR" ; |
4005 | case VK_SHADER_STAGE_CLOSEST_HIT_BIT_KHR: |
4006 | return "VK_SHADER_STAGE_CLOSEST_HIT_BIT_KHR" ; |
4007 | case VK_SHADER_STAGE_CLUSTER_CULLING_BIT_HUAWEI: |
4008 | return "VK_SHADER_STAGE_CLUSTER_CULLING_BIT_HUAWEI" ; |
4009 | case VK_SHADER_STAGE_COMPUTE_BIT: |
4010 | return "VK_SHADER_STAGE_COMPUTE_BIT" ; |
4011 | case VK_SHADER_STAGE_FRAGMENT_BIT: |
4012 | return "VK_SHADER_STAGE_FRAGMENT_BIT" ; |
4013 | case VK_SHADER_STAGE_GEOMETRY_BIT: |
4014 | return "VK_SHADER_STAGE_GEOMETRY_BIT" ; |
4015 | case VK_SHADER_STAGE_INTERSECTION_BIT_KHR: |
4016 | return "VK_SHADER_STAGE_INTERSECTION_BIT_KHR" ; |
4017 | case VK_SHADER_STAGE_MESH_BIT_EXT: |
4018 | return "VK_SHADER_STAGE_MESH_BIT_EXT" ; |
4019 | case VK_SHADER_STAGE_MISS_BIT_KHR: |
4020 | return "VK_SHADER_STAGE_MISS_BIT_KHR" ; |
4021 | case VK_SHADER_STAGE_RAYGEN_BIT_KHR: |
4022 | return "VK_SHADER_STAGE_RAYGEN_BIT_KHR" ; |
4023 | case VK_SHADER_STAGE_SUBPASS_SHADING_BIT_HUAWEI: |
4024 | return "VK_SHADER_STAGE_SUBPASS_SHADING_BIT_HUAWEI" ; |
4025 | case VK_SHADER_STAGE_TASK_BIT_EXT: |
4026 | return "VK_SHADER_STAGE_TASK_BIT_EXT" ; |
4027 | case VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT: |
4028 | return "VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT" ; |
4029 | case VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT: |
4030 | return "VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT" ; |
4031 | case VK_SHADER_STAGE_VERTEX_BIT: |
4032 | return "VK_SHADER_STAGE_VERTEX_BIT" ; |
4033 | default: |
4034 | return "Unhandled VkShaderStageFlagBits" ; |
4035 | } |
4036 | } |
4037 | |
4038 | static inline std::string string_VkShaderStageFlags(VkShaderStageFlags input_value) |
4039 | { |
4040 | if (input_value == VK_SHADER_STAGE_ALL) { return "VK_SHADER_STAGE_ALL" ; } |
4041 | if (input_value == VK_SHADER_STAGE_ALL_GRAPHICS) { return "VK_SHADER_STAGE_ALL_GRAPHICS" ; } |
4042 | std::string ret; |
4043 | int index = 0; |
4044 | while(input_value) { |
4045 | if (input_value & 1) { |
4046 | if( !ret.empty()) ret.append("|" ); |
4047 | ret.append(string_VkShaderStageFlagBits(static_cast<VkShaderStageFlagBits>(1U << index))); |
4048 | } |
4049 | ++index; |
4050 | input_value >>= 1; |
4051 | } |
4052 | if (ret.empty()) ret.append("VkShaderStageFlags(0)" ); |
4053 | return ret; |
4054 | } |
4055 | |
4056 | static inline const char* string_VkCullModeFlagBits(VkCullModeFlagBits input_value) |
4057 | { |
4058 | switch (input_value) |
4059 | { |
4060 | case VK_CULL_MODE_BACK_BIT: |
4061 | return "VK_CULL_MODE_BACK_BIT" ; |
4062 | case VK_CULL_MODE_FRONT_AND_BACK: |
4063 | return "VK_CULL_MODE_FRONT_AND_BACK" ; |
4064 | case VK_CULL_MODE_FRONT_BIT: |
4065 | return "VK_CULL_MODE_FRONT_BIT" ; |
4066 | case VK_CULL_MODE_NONE: |
4067 | return "VK_CULL_MODE_NONE" ; |
4068 | default: |
4069 | return "Unhandled VkCullModeFlagBits" ; |
4070 | } |
4071 | } |
4072 | |
4073 | static inline std::string string_VkCullModeFlags(VkCullModeFlags input_value) |
4074 | { |
4075 | std::string ret; |
4076 | int index = 0; |
4077 | while(input_value) { |
4078 | if (input_value & 1) { |
4079 | if( !ret.empty()) ret.append("|" ); |
4080 | ret.append(string_VkCullModeFlagBits(static_cast<VkCullModeFlagBits>(1U << index))); |
4081 | } |
4082 | ++index; |
4083 | input_value >>= 1; |
4084 | } |
4085 | if (ret.empty()) ret.append("VkCullModeFlags(0)" ); |
4086 | return ret; |
4087 | } |
4088 | |
4089 | static inline const char* string_VkDynamicState(VkDynamicState input_value) |
4090 | { |
4091 | switch (input_value) |
4092 | { |
4093 | case VK_DYNAMIC_STATE_ALPHA_TO_COVERAGE_ENABLE_EXT: |
4094 | return "VK_DYNAMIC_STATE_ALPHA_TO_COVERAGE_ENABLE_EXT" ; |
4095 | case VK_DYNAMIC_STATE_ALPHA_TO_ONE_ENABLE_EXT: |
4096 | return "VK_DYNAMIC_STATE_ALPHA_TO_ONE_ENABLE_EXT" ; |
4097 | case VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT: |
4098 | return "VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT" ; |
4099 | case VK_DYNAMIC_STATE_BLEND_CONSTANTS: |
4100 | return "VK_DYNAMIC_STATE_BLEND_CONSTANTS" ; |
4101 | case VK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXT: |
4102 | return "VK_DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXT" ; |
4103 | case VK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXT: |
4104 | return "VK_DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXT" ; |
4105 | case VK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXT: |
4106 | return "VK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXT" ; |
4107 | case VK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXT: |
4108 | return "VK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXT" ; |
4109 | case VK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXT: |
4110 | return "VK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXT" ; |
4111 | case VK_DYNAMIC_STATE_CONSERVATIVE_RASTERIZATION_MODE_EXT: |
4112 | return "VK_DYNAMIC_STATE_CONSERVATIVE_RASTERIZATION_MODE_EXT" ; |
4113 | case VK_DYNAMIC_STATE_COVERAGE_MODULATION_MODE_NV: |
4114 | return "VK_DYNAMIC_STATE_COVERAGE_MODULATION_MODE_NV" ; |
4115 | case VK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_ENABLE_NV: |
4116 | return "VK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_ENABLE_NV" ; |
4117 | case VK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_NV: |
4118 | return "VK_DYNAMIC_STATE_COVERAGE_MODULATION_TABLE_NV" ; |
4119 | case VK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NV: |
4120 | return "VK_DYNAMIC_STATE_COVERAGE_REDUCTION_MODE_NV" ; |
4121 | case VK_DYNAMIC_STATE_COVERAGE_TO_COLOR_ENABLE_NV: |
4122 | return "VK_DYNAMIC_STATE_COVERAGE_TO_COLOR_ENABLE_NV" ; |
4123 | case VK_DYNAMIC_STATE_COVERAGE_TO_COLOR_LOCATION_NV: |
4124 | return "VK_DYNAMIC_STATE_COVERAGE_TO_COLOR_LOCATION_NV" ; |
4125 | case VK_DYNAMIC_STATE_CULL_MODE: |
4126 | return "VK_DYNAMIC_STATE_CULL_MODE" ; |
4127 | case VK_DYNAMIC_STATE_DEPTH_BIAS: |
4128 | return "VK_DYNAMIC_STATE_DEPTH_BIAS" ; |
4129 | case VK_DYNAMIC_STATE_DEPTH_BIAS_ENABLE: |
4130 | return "VK_DYNAMIC_STATE_DEPTH_BIAS_ENABLE" ; |
4131 | case VK_DYNAMIC_STATE_DEPTH_BOUNDS: |
4132 | return "VK_DYNAMIC_STATE_DEPTH_BOUNDS" ; |
4133 | case VK_DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLE: |
4134 | return "VK_DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLE" ; |
4135 | case VK_DYNAMIC_STATE_DEPTH_CLAMP_ENABLE_EXT: |
4136 | return "VK_DYNAMIC_STATE_DEPTH_CLAMP_ENABLE_EXT" ; |
4137 | case VK_DYNAMIC_STATE_DEPTH_CLIP_ENABLE_EXT: |
4138 | return "VK_DYNAMIC_STATE_DEPTH_CLIP_ENABLE_EXT" ; |
4139 | case VK_DYNAMIC_STATE_DEPTH_CLIP_NEGATIVE_ONE_TO_ONE_EXT: |
4140 | return "VK_DYNAMIC_STATE_DEPTH_CLIP_NEGATIVE_ONE_TO_ONE_EXT" ; |
4141 | case VK_DYNAMIC_STATE_DEPTH_COMPARE_OP: |
4142 | return "VK_DYNAMIC_STATE_DEPTH_COMPARE_OP" ; |
4143 | case VK_DYNAMIC_STATE_DEPTH_TEST_ENABLE: |
4144 | return "VK_DYNAMIC_STATE_DEPTH_TEST_ENABLE" ; |
4145 | case VK_DYNAMIC_STATE_DEPTH_WRITE_ENABLE: |
4146 | return "VK_DYNAMIC_STATE_DEPTH_WRITE_ENABLE" ; |
4147 | case VK_DYNAMIC_STATE_DISCARD_RECTANGLE_ENABLE_EXT: |
4148 | return "VK_DYNAMIC_STATE_DISCARD_RECTANGLE_ENABLE_EXT" ; |
4149 | case VK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXT: |
4150 | return "VK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXT" ; |
4151 | case VK_DYNAMIC_STATE_DISCARD_RECTANGLE_MODE_EXT: |
4152 | return "VK_DYNAMIC_STATE_DISCARD_RECTANGLE_MODE_EXT" ; |
4153 | case VK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_ENABLE_NV: |
4154 | return "VK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_ENABLE_NV" ; |
4155 | case VK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NV: |
4156 | return "VK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NV" ; |
4157 | case VK_DYNAMIC_STATE_EXTRA_PRIMITIVE_OVERESTIMATION_SIZE_EXT: |
4158 | return "VK_DYNAMIC_STATE_EXTRA_PRIMITIVE_OVERESTIMATION_SIZE_EXT" ; |
4159 | case VK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHR: |
4160 | return "VK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHR" ; |
4161 | case VK_DYNAMIC_STATE_FRONT_FACE: |
4162 | return "VK_DYNAMIC_STATE_FRONT_FACE" ; |
4163 | case VK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXT: |
4164 | return "VK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXT" ; |
4165 | case VK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXT: |
4166 | return "VK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXT" ; |
4167 | case VK_DYNAMIC_STATE_LINE_STIPPLE_EXT: |
4168 | return "VK_DYNAMIC_STATE_LINE_STIPPLE_EXT" ; |
4169 | case VK_DYNAMIC_STATE_LINE_WIDTH: |
4170 | return "VK_DYNAMIC_STATE_LINE_WIDTH" ; |
4171 | case VK_DYNAMIC_STATE_LOGIC_OP_ENABLE_EXT: |
4172 | return "VK_DYNAMIC_STATE_LOGIC_OP_ENABLE_EXT" ; |
4173 | case VK_DYNAMIC_STATE_LOGIC_OP_EXT: |
4174 | return "VK_DYNAMIC_STATE_LOGIC_OP_EXT" ; |
4175 | case VK_DYNAMIC_STATE_PATCH_CONTROL_POINTS_EXT: |
4176 | return "VK_DYNAMIC_STATE_PATCH_CONTROL_POINTS_EXT" ; |
4177 | case VK_DYNAMIC_STATE_POLYGON_MODE_EXT: |
4178 | return "VK_DYNAMIC_STATE_POLYGON_MODE_EXT" ; |
4179 | case VK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLE: |
4180 | return "VK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLE" ; |
4181 | case VK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGY: |
4182 | return "VK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGY" ; |
4183 | case VK_DYNAMIC_STATE_PROVOKING_VERTEX_MODE_EXT: |
4184 | return "VK_DYNAMIC_STATE_PROVOKING_VERTEX_MODE_EXT" ; |
4185 | case VK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXT: |
4186 | return "VK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXT" ; |
4187 | case VK_DYNAMIC_STATE_RASTERIZATION_STREAM_EXT: |
4188 | return "VK_DYNAMIC_STATE_RASTERIZATION_STREAM_EXT" ; |
4189 | case VK_DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLE: |
4190 | return "VK_DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLE" ; |
4191 | case VK_DYNAMIC_STATE_RAY_TRACING_PIPELINE_STACK_SIZE_KHR: |
4192 | return "VK_DYNAMIC_STATE_RAY_TRACING_PIPELINE_STACK_SIZE_KHR" ; |
4193 | case VK_DYNAMIC_STATE_REPRESENTATIVE_FRAGMENT_TEST_ENABLE_NV: |
4194 | return "VK_DYNAMIC_STATE_REPRESENTATIVE_FRAGMENT_TEST_ENABLE_NV" ; |
4195 | case VK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXT: |
4196 | return "VK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXT" ; |
4197 | case VK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT: |
4198 | return "VK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT" ; |
4199 | case VK_DYNAMIC_STATE_SAMPLE_MASK_EXT: |
4200 | return "VK_DYNAMIC_STATE_SAMPLE_MASK_EXT" ; |
4201 | case VK_DYNAMIC_STATE_SCISSOR: |
4202 | return "VK_DYNAMIC_STATE_SCISSOR" ; |
4203 | case VK_DYNAMIC_STATE_SCISSOR_WITH_COUNT: |
4204 | return "VK_DYNAMIC_STATE_SCISSOR_WITH_COUNT" ; |
4205 | case VK_DYNAMIC_STATE_SHADING_RATE_IMAGE_ENABLE_NV: |
4206 | return "VK_DYNAMIC_STATE_SHADING_RATE_IMAGE_ENABLE_NV" ; |
4207 | case VK_DYNAMIC_STATE_STENCIL_COMPARE_MASK: |
4208 | return "VK_DYNAMIC_STATE_STENCIL_COMPARE_MASK" ; |
4209 | case VK_DYNAMIC_STATE_STENCIL_OP: |
4210 | return "VK_DYNAMIC_STATE_STENCIL_OP" ; |
4211 | case VK_DYNAMIC_STATE_STENCIL_REFERENCE: |
4212 | return "VK_DYNAMIC_STATE_STENCIL_REFERENCE" ; |
4213 | case VK_DYNAMIC_STATE_STENCIL_TEST_ENABLE: |
4214 | return "VK_DYNAMIC_STATE_STENCIL_TEST_ENABLE" ; |
4215 | case VK_DYNAMIC_STATE_STENCIL_WRITE_MASK: |
4216 | return "VK_DYNAMIC_STATE_STENCIL_WRITE_MASK" ; |
4217 | case VK_DYNAMIC_STATE_TESSELLATION_DOMAIN_ORIGIN_EXT: |
4218 | return "VK_DYNAMIC_STATE_TESSELLATION_DOMAIN_ORIGIN_EXT" ; |
4219 | case VK_DYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDE: |
4220 | return "VK_DYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDE" ; |
4221 | case VK_DYNAMIC_STATE_VERTEX_INPUT_EXT: |
4222 | return "VK_DYNAMIC_STATE_VERTEX_INPUT_EXT" ; |
4223 | case VK_DYNAMIC_STATE_VIEWPORT: |
4224 | return "VK_DYNAMIC_STATE_VIEWPORT" ; |
4225 | case VK_DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NV: |
4226 | return "VK_DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NV" ; |
4227 | case VK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NV: |
4228 | return "VK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NV" ; |
4229 | case VK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NV: |
4230 | return "VK_DYNAMIC_STATE_VIEWPORT_SWIZZLE_NV" ; |
4231 | case VK_DYNAMIC_STATE_VIEWPORT_WITH_COUNT: |
4232 | return "VK_DYNAMIC_STATE_VIEWPORT_WITH_COUNT" ; |
4233 | case VK_DYNAMIC_STATE_VIEWPORT_W_SCALING_ENABLE_NV: |
4234 | return "VK_DYNAMIC_STATE_VIEWPORT_W_SCALING_ENABLE_NV" ; |
4235 | case VK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NV: |
4236 | return "VK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NV" ; |
4237 | default: |
4238 | return "Unhandled VkDynamicState" ; |
4239 | } |
4240 | } |
4241 | |
4242 | static inline const char* string_VkFrontFace(VkFrontFace input_value) |
4243 | { |
4244 | switch (input_value) |
4245 | { |
4246 | case VK_FRONT_FACE_CLOCKWISE: |
4247 | return "VK_FRONT_FACE_CLOCKWISE" ; |
4248 | case VK_FRONT_FACE_COUNTER_CLOCKWISE: |
4249 | return "VK_FRONT_FACE_COUNTER_CLOCKWISE" ; |
4250 | default: |
4251 | return "Unhandled VkFrontFace" ; |
4252 | } |
4253 | } |
4254 | |
4255 | static inline const char* string_VkVertexInputRate(VkVertexInputRate input_value) |
4256 | { |
4257 | switch (input_value) |
4258 | { |
4259 | case VK_VERTEX_INPUT_RATE_INSTANCE: |
4260 | return "VK_VERTEX_INPUT_RATE_INSTANCE" ; |
4261 | case VK_VERTEX_INPUT_RATE_VERTEX: |
4262 | return "VK_VERTEX_INPUT_RATE_VERTEX" ; |
4263 | default: |
4264 | return "Unhandled VkVertexInputRate" ; |
4265 | } |
4266 | } |
4267 | |
4268 | static inline const char* string_VkPrimitiveTopology(VkPrimitiveTopology input_value) |
4269 | { |
4270 | switch (input_value) |
4271 | { |
4272 | case VK_PRIMITIVE_TOPOLOGY_LINE_LIST: |
4273 | return "VK_PRIMITIVE_TOPOLOGY_LINE_LIST" ; |
4274 | case VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY: |
4275 | return "VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY" ; |
4276 | case VK_PRIMITIVE_TOPOLOGY_LINE_STRIP: |
4277 | return "VK_PRIMITIVE_TOPOLOGY_LINE_STRIP" ; |
4278 | case VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY: |
4279 | return "VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY" ; |
4280 | case VK_PRIMITIVE_TOPOLOGY_PATCH_LIST: |
4281 | return "VK_PRIMITIVE_TOPOLOGY_PATCH_LIST" ; |
4282 | case VK_PRIMITIVE_TOPOLOGY_POINT_LIST: |
4283 | return "VK_PRIMITIVE_TOPOLOGY_POINT_LIST" ; |
4284 | case VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN: |
4285 | return "VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN" ; |
4286 | case VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST: |
4287 | return "VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST" ; |
4288 | case VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY: |
4289 | return "VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY" ; |
4290 | case VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP: |
4291 | return "VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP" ; |
4292 | case VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY: |
4293 | return "VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY" ; |
4294 | default: |
4295 | return "Unhandled VkPrimitiveTopology" ; |
4296 | } |
4297 | } |
4298 | |
4299 | static inline const char* string_VkPolygonMode(VkPolygonMode input_value) |
4300 | { |
4301 | switch (input_value) |
4302 | { |
4303 | case VK_POLYGON_MODE_FILL: |
4304 | return "VK_POLYGON_MODE_FILL" ; |
4305 | case VK_POLYGON_MODE_FILL_RECTANGLE_NV: |
4306 | return "VK_POLYGON_MODE_FILL_RECTANGLE_NV" ; |
4307 | case VK_POLYGON_MODE_LINE: |
4308 | return "VK_POLYGON_MODE_LINE" ; |
4309 | case VK_POLYGON_MODE_POINT: |
4310 | return "VK_POLYGON_MODE_POINT" ; |
4311 | default: |
4312 | return "Unhandled VkPolygonMode" ; |
4313 | } |
4314 | } |
4315 | |
4316 | static inline const char* string_VkPipelineDepthStencilStateCreateFlagBits(VkPipelineDepthStencilStateCreateFlagBits input_value) |
4317 | { |
4318 | switch (input_value) |
4319 | { |
4320 | case VK_PIPELINE_DEPTH_STENCIL_STATE_CREATE_RASTERIZATION_ORDER_ATTACHMENT_DEPTH_ACCESS_BIT_EXT: |
4321 | return "VK_PIPELINE_DEPTH_STENCIL_STATE_CREATE_RASTERIZATION_ORDER_ATTACHMENT_DEPTH_ACCESS_BIT_EXT" ; |
4322 | case VK_PIPELINE_DEPTH_STENCIL_STATE_CREATE_RASTERIZATION_ORDER_ATTACHMENT_STENCIL_ACCESS_BIT_EXT: |
4323 | return "VK_PIPELINE_DEPTH_STENCIL_STATE_CREATE_RASTERIZATION_ORDER_ATTACHMENT_STENCIL_ACCESS_BIT_EXT" ; |
4324 | default: |
4325 | return "Unhandled VkPipelineDepthStencilStateCreateFlagBits" ; |
4326 | } |
4327 | } |
4328 | |
4329 | static inline std::string string_VkPipelineDepthStencilStateCreateFlags(VkPipelineDepthStencilStateCreateFlags input_value) |
4330 | { |
4331 | std::string ret; |
4332 | int index = 0; |
4333 | while(input_value) { |
4334 | if (input_value & 1) { |
4335 | if( !ret.empty()) ret.append("|" ); |
4336 | ret.append(string_VkPipelineDepthStencilStateCreateFlagBits(static_cast<VkPipelineDepthStencilStateCreateFlagBits>(1U << index))); |
4337 | } |
4338 | ++index; |
4339 | input_value >>= 1; |
4340 | } |
4341 | if (ret.empty()) ret.append("VkPipelineDepthStencilStateCreateFlags(0)" ); |
4342 | return ret; |
4343 | } |
4344 | |
4345 | static inline const char* string_VkStencilOp(VkStencilOp input_value) |
4346 | { |
4347 | switch (input_value) |
4348 | { |
4349 | case VK_STENCIL_OP_DECREMENT_AND_CLAMP: |
4350 | return "VK_STENCIL_OP_DECREMENT_AND_CLAMP" ; |
4351 | case VK_STENCIL_OP_DECREMENT_AND_WRAP: |
4352 | return "VK_STENCIL_OP_DECREMENT_AND_WRAP" ; |
4353 | case VK_STENCIL_OP_INCREMENT_AND_CLAMP: |
4354 | return "VK_STENCIL_OP_INCREMENT_AND_CLAMP" ; |
4355 | case VK_STENCIL_OP_INCREMENT_AND_WRAP: |
4356 | return "VK_STENCIL_OP_INCREMENT_AND_WRAP" ; |
4357 | case VK_STENCIL_OP_INVERT: |
4358 | return "VK_STENCIL_OP_INVERT" ; |
4359 | case VK_STENCIL_OP_KEEP: |
4360 | return "VK_STENCIL_OP_KEEP" ; |
4361 | case VK_STENCIL_OP_REPLACE: |
4362 | return "VK_STENCIL_OP_REPLACE" ; |
4363 | case VK_STENCIL_OP_ZERO: |
4364 | return "VK_STENCIL_OP_ZERO" ; |
4365 | default: |
4366 | return "Unhandled VkStencilOp" ; |
4367 | } |
4368 | } |
4369 | |
4370 | static inline const char* string_VkPipelineColorBlendStateCreateFlagBits(VkPipelineColorBlendStateCreateFlagBits input_value) |
4371 | { |
4372 | switch (input_value) |
4373 | { |
4374 | case VK_PIPELINE_COLOR_BLEND_STATE_CREATE_RASTERIZATION_ORDER_ATTACHMENT_ACCESS_BIT_EXT: |
4375 | return "VK_PIPELINE_COLOR_BLEND_STATE_CREATE_RASTERIZATION_ORDER_ATTACHMENT_ACCESS_BIT_EXT" ; |
4376 | default: |
4377 | return "Unhandled VkPipelineColorBlendStateCreateFlagBits" ; |
4378 | } |
4379 | } |
4380 | |
4381 | static inline std::string string_VkPipelineColorBlendStateCreateFlags(VkPipelineColorBlendStateCreateFlags input_value) |
4382 | { |
4383 | std::string ret; |
4384 | int index = 0; |
4385 | while(input_value) { |
4386 | if (input_value & 1) { |
4387 | if( !ret.empty()) ret.append("|" ); |
4388 | ret.append(string_VkPipelineColorBlendStateCreateFlagBits(static_cast<VkPipelineColorBlendStateCreateFlagBits>(1U << index))); |
4389 | } |
4390 | ++index; |
4391 | input_value >>= 1; |
4392 | } |
4393 | if (ret.empty()) ret.append("VkPipelineColorBlendStateCreateFlags(0)" ); |
4394 | return ret; |
4395 | } |
4396 | |
4397 | static inline const char* string_VkLogicOp(VkLogicOp input_value) |
4398 | { |
4399 | switch (input_value) |
4400 | { |
4401 | case VK_LOGIC_OP_AND: |
4402 | return "VK_LOGIC_OP_AND" ; |
4403 | case VK_LOGIC_OP_AND_INVERTED: |
4404 | return "VK_LOGIC_OP_AND_INVERTED" ; |
4405 | case VK_LOGIC_OP_AND_REVERSE: |
4406 | return "VK_LOGIC_OP_AND_REVERSE" ; |
4407 | case VK_LOGIC_OP_CLEAR: |
4408 | return "VK_LOGIC_OP_CLEAR" ; |
4409 | case VK_LOGIC_OP_COPY: |
4410 | return "VK_LOGIC_OP_COPY" ; |
4411 | case VK_LOGIC_OP_COPY_INVERTED: |
4412 | return "VK_LOGIC_OP_COPY_INVERTED" ; |
4413 | case VK_LOGIC_OP_EQUIVALENT: |
4414 | return "VK_LOGIC_OP_EQUIVALENT" ; |
4415 | case VK_LOGIC_OP_INVERT: |
4416 | return "VK_LOGIC_OP_INVERT" ; |
4417 | case VK_LOGIC_OP_NAND: |
4418 | return "VK_LOGIC_OP_NAND" ; |
4419 | case VK_LOGIC_OP_NOR: |
4420 | return "VK_LOGIC_OP_NOR" ; |
4421 | case VK_LOGIC_OP_NO_OP: |
4422 | return "VK_LOGIC_OP_NO_OP" ; |
4423 | case VK_LOGIC_OP_OR: |
4424 | return "VK_LOGIC_OP_OR" ; |
4425 | case VK_LOGIC_OP_OR_INVERTED: |
4426 | return "VK_LOGIC_OP_OR_INVERTED" ; |
4427 | case VK_LOGIC_OP_OR_REVERSE: |
4428 | return "VK_LOGIC_OP_OR_REVERSE" ; |
4429 | case VK_LOGIC_OP_SET: |
4430 | return "VK_LOGIC_OP_SET" ; |
4431 | case VK_LOGIC_OP_XOR: |
4432 | return "VK_LOGIC_OP_XOR" ; |
4433 | default: |
4434 | return "Unhandled VkLogicOp" ; |
4435 | } |
4436 | } |
4437 | |
4438 | static inline const char* string_VkPipelineLayoutCreateFlagBits(VkPipelineLayoutCreateFlagBits input_value) |
4439 | { |
4440 | switch (input_value) |
4441 | { |
4442 | case VK_PIPELINE_LAYOUT_CREATE_INDEPENDENT_SETS_BIT_EXT: |
4443 | return "VK_PIPELINE_LAYOUT_CREATE_INDEPENDENT_SETS_BIT_EXT" ; |
4444 | default: |
4445 | return "Unhandled VkPipelineLayoutCreateFlagBits" ; |
4446 | } |
4447 | } |
4448 | |
4449 | static inline std::string string_VkPipelineLayoutCreateFlags(VkPipelineLayoutCreateFlags input_value) |
4450 | { |
4451 | std::string ret; |
4452 | int index = 0; |
4453 | while(input_value) { |
4454 | if (input_value & 1) { |
4455 | if( !ret.empty()) ret.append("|" ); |
4456 | ret.append(string_VkPipelineLayoutCreateFlagBits(static_cast<VkPipelineLayoutCreateFlagBits>(1U << index))); |
4457 | } |
4458 | ++index; |
4459 | input_value >>= 1; |
4460 | } |
4461 | if (ret.empty()) ret.append("VkPipelineLayoutCreateFlags(0)" ); |
4462 | return ret; |
4463 | } |
4464 | |
4465 | static inline const char* string_VkBorderColor(VkBorderColor input_value) |
4466 | { |
4467 | switch (input_value) |
4468 | { |
4469 | case VK_BORDER_COLOR_FLOAT_CUSTOM_EXT: |
4470 | return "VK_BORDER_COLOR_FLOAT_CUSTOM_EXT" ; |
4471 | case VK_BORDER_COLOR_FLOAT_OPAQUE_BLACK: |
4472 | return "VK_BORDER_COLOR_FLOAT_OPAQUE_BLACK" ; |
4473 | case VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE: |
4474 | return "VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE" ; |
4475 | case VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK: |
4476 | return "VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK" ; |
4477 | case VK_BORDER_COLOR_INT_CUSTOM_EXT: |
4478 | return "VK_BORDER_COLOR_INT_CUSTOM_EXT" ; |
4479 | case VK_BORDER_COLOR_INT_OPAQUE_BLACK: |
4480 | return "VK_BORDER_COLOR_INT_OPAQUE_BLACK" ; |
4481 | case VK_BORDER_COLOR_INT_OPAQUE_WHITE: |
4482 | return "VK_BORDER_COLOR_INT_OPAQUE_WHITE" ; |
4483 | case VK_BORDER_COLOR_INT_TRANSPARENT_BLACK: |
4484 | return "VK_BORDER_COLOR_INT_TRANSPARENT_BLACK" ; |
4485 | default: |
4486 | return "Unhandled VkBorderColor" ; |
4487 | } |
4488 | } |
4489 | |
4490 | static inline const char* string_VkFilter(VkFilter input_value) |
4491 | { |
4492 | switch (input_value) |
4493 | { |
4494 | case VK_FILTER_CUBIC_EXT: |
4495 | return "VK_FILTER_CUBIC_EXT" ; |
4496 | case VK_FILTER_LINEAR: |
4497 | return "VK_FILTER_LINEAR" ; |
4498 | case VK_FILTER_NEAREST: |
4499 | return "VK_FILTER_NEAREST" ; |
4500 | default: |
4501 | return "Unhandled VkFilter" ; |
4502 | } |
4503 | } |
4504 | |
4505 | static inline const char* string_VkSamplerAddressMode(VkSamplerAddressMode input_value) |
4506 | { |
4507 | switch (input_value) |
4508 | { |
4509 | case VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER: |
4510 | return "VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER" ; |
4511 | case VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE: |
4512 | return "VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE" ; |
4513 | case VK_SAMPLER_ADDRESS_MODE_MIRRORED_REPEAT: |
4514 | return "VK_SAMPLER_ADDRESS_MODE_MIRRORED_REPEAT" ; |
4515 | case VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE: |
4516 | return "VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE" ; |
4517 | case VK_SAMPLER_ADDRESS_MODE_REPEAT: |
4518 | return "VK_SAMPLER_ADDRESS_MODE_REPEAT" ; |
4519 | default: |
4520 | return "Unhandled VkSamplerAddressMode" ; |
4521 | } |
4522 | } |
4523 | |
4524 | static inline const char* string_VkSamplerCreateFlagBits(VkSamplerCreateFlagBits input_value) |
4525 | { |
4526 | switch (input_value) |
4527 | { |
4528 | case VK_SAMPLER_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_EXT: |
4529 | return "VK_SAMPLER_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_EXT" ; |
4530 | case VK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM: |
4531 | return "VK_SAMPLER_CREATE_IMAGE_PROCESSING_BIT_QCOM" ; |
4532 | case VK_SAMPLER_CREATE_NON_SEAMLESS_CUBE_MAP_BIT_EXT: |
4533 | return "VK_SAMPLER_CREATE_NON_SEAMLESS_CUBE_MAP_BIT_EXT" ; |
4534 | case VK_SAMPLER_CREATE_SUBSAMPLED_BIT_EXT: |
4535 | return "VK_SAMPLER_CREATE_SUBSAMPLED_BIT_EXT" ; |
4536 | case VK_SAMPLER_CREATE_SUBSAMPLED_COARSE_RECONSTRUCTION_BIT_EXT: |
4537 | return "VK_SAMPLER_CREATE_SUBSAMPLED_COARSE_RECONSTRUCTION_BIT_EXT" ; |
4538 | default: |
4539 | return "Unhandled VkSamplerCreateFlagBits" ; |
4540 | } |
4541 | } |
4542 | |
4543 | static inline std::string string_VkSamplerCreateFlags(VkSamplerCreateFlags input_value) |
4544 | { |
4545 | std::string ret; |
4546 | int index = 0; |
4547 | while(input_value) { |
4548 | if (input_value & 1) { |
4549 | if( !ret.empty()) ret.append("|" ); |
4550 | ret.append(string_VkSamplerCreateFlagBits(static_cast<VkSamplerCreateFlagBits>(1U << index))); |
4551 | } |
4552 | ++index; |
4553 | input_value >>= 1; |
4554 | } |
4555 | if (ret.empty()) ret.append("VkSamplerCreateFlags(0)" ); |
4556 | return ret; |
4557 | } |
4558 | |
4559 | static inline const char* string_VkSamplerMipmapMode(VkSamplerMipmapMode input_value) |
4560 | { |
4561 | switch (input_value) |
4562 | { |
4563 | case VK_SAMPLER_MIPMAP_MODE_LINEAR: |
4564 | return "VK_SAMPLER_MIPMAP_MODE_LINEAR" ; |
4565 | case VK_SAMPLER_MIPMAP_MODE_NEAREST: |
4566 | return "VK_SAMPLER_MIPMAP_MODE_NEAREST" ; |
4567 | default: |
4568 | return "Unhandled VkSamplerMipmapMode" ; |
4569 | } |
4570 | } |
4571 | |
4572 | static inline const char* string_VkDescriptorPoolCreateFlagBits(VkDescriptorPoolCreateFlagBits input_value) |
4573 | { |
4574 | switch (input_value) |
4575 | { |
4576 | case VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT: |
4577 | return "VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT" ; |
4578 | case VK_DESCRIPTOR_POOL_CREATE_HOST_ONLY_BIT_EXT: |
4579 | return "VK_DESCRIPTOR_POOL_CREATE_HOST_ONLY_BIT_EXT" ; |
4580 | case VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT: |
4581 | return "VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT" ; |
4582 | default: |
4583 | return "Unhandled VkDescriptorPoolCreateFlagBits" ; |
4584 | } |
4585 | } |
4586 | |
4587 | static inline std::string string_VkDescriptorPoolCreateFlags(VkDescriptorPoolCreateFlags input_value) |
4588 | { |
4589 | std::string ret; |
4590 | int index = 0; |
4591 | while(input_value) { |
4592 | if (input_value & 1) { |
4593 | if( !ret.empty()) ret.append("|" ); |
4594 | ret.append(string_VkDescriptorPoolCreateFlagBits(static_cast<VkDescriptorPoolCreateFlagBits>(1U << index))); |
4595 | } |
4596 | ++index; |
4597 | input_value >>= 1; |
4598 | } |
4599 | if (ret.empty()) ret.append("VkDescriptorPoolCreateFlags(0)" ); |
4600 | return ret; |
4601 | } |
4602 | |
4603 | static inline const char* string_VkDescriptorType(VkDescriptorType input_value) |
4604 | { |
4605 | switch (input_value) |
4606 | { |
4607 | case VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHR: |
4608 | return "VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHR" ; |
4609 | case VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_NV: |
4610 | return "VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_NV" ; |
4611 | case VK_DESCRIPTOR_TYPE_BLOCK_MATCH_IMAGE_QCOM: |
4612 | return "VK_DESCRIPTOR_TYPE_BLOCK_MATCH_IMAGE_QCOM" ; |
4613 | case VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER: |
4614 | return "VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER" ; |
4615 | case VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK: |
4616 | return "VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK" ; |
4617 | case VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT: |
4618 | return "VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT" ; |
4619 | case VK_DESCRIPTOR_TYPE_MUTABLE_EXT: |
4620 | return "VK_DESCRIPTOR_TYPE_MUTABLE_EXT" ; |
4621 | case VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE: |
4622 | return "VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE" ; |
4623 | case VK_DESCRIPTOR_TYPE_SAMPLER: |
4624 | return "VK_DESCRIPTOR_TYPE_SAMPLER" ; |
4625 | case VK_DESCRIPTOR_TYPE_SAMPLE_WEIGHT_IMAGE_QCOM: |
4626 | return "VK_DESCRIPTOR_TYPE_SAMPLE_WEIGHT_IMAGE_QCOM" ; |
4627 | case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER: |
4628 | return "VK_DESCRIPTOR_TYPE_STORAGE_BUFFER" ; |
4629 | case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC: |
4630 | return "VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC" ; |
4631 | case VK_DESCRIPTOR_TYPE_STORAGE_IMAGE: |
4632 | return "VK_DESCRIPTOR_TYPE_STORAGE_IMAGE" ; |
4633 | case VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER: |
4634 | return "VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER" ; |
4635 | case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER: |
4636 | return "VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER" ; |
4637 | case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC: |
4638 | return "VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC" ; |
4639 | case VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER: |
4640 | return "VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER" ; |
4641 | default: |
4642 | return "Unhandled VkDescriptorType" ; |
4643 | } |
4644 | } |
4645 | |
4646 | static inline const char* string_VkDescriptorSetLayoutCreateFlagBits(VkDescriptorSetLayoutCreateFlagBits input_value) |
4647 | { |
4648 | switch (input_value) |
4649 | { |
4650 | case VK_DESCRIPTOR_SET_LAYOUT_CREATE_DESCRIPTOR_BUFFER_BIT_EXT: |
4651 | return "VK_DESCRIPTOR_SET_LAYOUT_CREATE_DESCRIPTOR_BUFFER_BIT_EXT" ; |
4652 | case VK_DESCRIPTOR_SET_LAYOUT_CREATE_EMBEDDED_IMMUTABLE_SAMPLERS_BIT_EXT: |
4653 | return "VK_DESCRIPTOR_SET_LAYOUT_CREATE_EMBEDDED_IMMUTABLE_SAMPLERS_BIT_EXT" ; |
4654 | case VK_DESCRIPTOR_SET_LAYOUT_CREATE_HOST_ONLY_POOL_BIT_EXT: |
4655 | return "VK_DESCRIPTOR_SET_LAYOUT_CREATE_HOST_ONLY_POOL_BIT_EXT" ; |
4656 | case VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR: |
4657 | return "VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR" ; |
4658 | case VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT: |
4659 | return "VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT" ; |
4660 | default: |
4661 | return "Unhandled VkDescriptorSetLayoutCreateFlagBits" ; |
4662 | } |
4663 | } |
4664 | |
4665 | static inline std::string string_VkDescriptorSetLayoutCreateFlags(VkDescriptorSetLayoutCreateFlags input_value) |
4666 | { |
4667 | std::string ret; |
4668 | int index = 0; |
4669 | while(input_value) { |
4670 | if (input_value & 1) { |
4671 | if( !ret.empty()) ret.append("|" ); |
4672 | ret.append(string_VkDescriptorSetLayoutCreateFlagBits(static_cast<VkDescriptorSetLayoutCreateFlagBits>(1U << index))); |
4673 | } |
4674 | ++index; |
4675 | input_value >>= 1; |
4676 | } |
4677 | if (ret.empty()) ret.append("VkDescriptorSetLayoutCreateFlags(0)" ); |
4678 | return ret; |
4679 | } |
4680 | |
4681 | static inline const char* string_VkAttachmentDescriptionFlagBits(VkAttachmentDescriptionFlagBits input_value) |
4682 | { |
4683 | switch (input_value) |
4684 | { |
4685 | case VK_ATTACHMENT_DESCRIPTION_MAY_ALIAS_BIT: |
4686 | return "VK_ATTACHMENT_DESCRIPTION_MAY_ALIAS_BIT" ; |
4687 | default: |
4688 | return "Unhandled VkAttachmentDescriptionFlagBits" ; |
4689 | } |
4690 | } |
4691 | |
4692 | static inline std::string string_VkAttachmentDescriptionFlags(VkAttachmentDescriptionFlags input_value) |
4693 | { |
4694 | std::string ret; |
4695 | int index = 0; |
4696 | while(input_value) { |
4697 | if (input_value & 1) { |
4698 | if( !ret.empty()) ret.append("|" ); |
4699 | ret.append(string_VkAttachmentDescriptionFlagBits(static_cast<VkAttachmentDescriptionFlagBits>(1U << index))); |
4700 | } |
4701 | ++index; |
4702 | input_value >>= 1; |
4703 | } |
4704 | if (ret.empty()) ret.append("VkAttachmentDescriptionFlags(0)" ); |
4705 | return ret; |
4706 | } |
4707 | |
4708 | static inline const char* string_VkAttachmentLoadOp(VkAttachmentLoadOp input_value) |
4709 | { |
4710 | switch (input_value) |
4711 | { |
4712 | case VK_ATTACHMENT_LOAD_OP_CLEAR: |
4713 | return "VK_ATTACHMENT_LOAD_OP_CLEAR" ; |
4714 | case VK_ATTACHMENT_LOAD_OP_DONT_CARE: |
4715 | return "VK_ATTACHMENT_LOAD_OP_DONT_CARE" ; |
4716 | case VK_ATTACHMENT_LOAD_OP_LOAD: |
4717 | return "VK_ATTACHMENT_LOAD_OP_LOAD" ; |
4718 | case VK_ATTACHMENT_LOAD_OP_NONE_EXT: |
4719 | return "VK_ATTACHMENT_LOAD_OP_NONE_EXT" ; |
4720 | default: |
4721 | return "Unhandled VkAttachmentLoadOp" ; |
4722 | } |
4723 | } |
4724 | |
4725 | static inline const char* string_VkAttachmentStoreOp(VkAttachmentStoreOp input_value) |
4726 | { |
4727 | switch (input_value) |
4728 | { |
4729 | case VK_ATTACHMENT_STORE_OP_DONT_CARE: |
4730 | return "VK_ATTACHMENT_STORE_OP_DONT_CARE" ; |
4731 | case VK_ATTACHMENT_STORE_OP_NONE: |
4732 | return "VK_ATTACHMENT_STORE_OP_NONE" ; |
4733 | case VK_ATTACHMENT_STORE_OP_STORE: |
4734 | return "VK_ATTACHMENT_STORE_OP_STORE" ; |
4735 | default: |
4736 | return "Unhandled VkAttachmentStoreOp" ; |
4737 | } |
4738 | } |
4739 | |
4740 | static inline const char* string_VkDependencyFlagBits(VkDependencyFlagBits input_value) |
4741 | { |
4742 | switch (input_value) |
4743 | { |
4744 | case VK_DEPENDENCY_BY_REGION_BIT: |
4745 | return "VK_DEPENDENCY_BY_REGION_BIT" ; |
4746 | case VK_DEPENDENCY_DEVICE_GROUP_BIT: |
4747 | return "VK_DEPENDENCY_DEVICE_GROUP_BIT" ; |
4748 | case VK_DEPENDENCY_FEEDBACK_LOOP_BIT_EXT: |
4749 | return "VK_DEPENDENCY_FEEDBACK_LOOP_BIT_EXT" ; |
4750 | case VK_DEPENDENCY_VIEW_LOCAL_BIT: |
4751 | return "VK_DEPENDENCY_VIEW_LOCAL_BIT" ; |
4752 | default: |
4753 | return "Unhandled VkDependencyFlagBits" ; |
4754 | } |
4755 | } |
4756 | |
4757 | static inline std::string string_VkDependencyFlags(VkDependencyFlags input_value) |
4758 | { |
4759 | std::string ret; |
4760 | int index = 0; |
4761 | while(input_value) { |
4762 | if (input_value & 1) { |
4763 | if( !ret.empty()) ret.append("|" ); |
4764 | ret.append(string_VkDependencyFlagBits(static_cast<VkDependencyFlagBits>(1U << index))); |
4765 | } |
4766 | ++index; |
4767 | input_value >>= 1; |
4768 | } |
4769 | if (ret.empty()) ret.append("VkDependencyFlags(0)" ); |
4770 | return ret; |
4771 | } |
4772 | |
4773 | static inline const char* string_VkFramebufferCreateFlagBits(VkFramebufferCreateFlagBits input_value) |
4774 | { |
4775 | switch (input_value) |
4776 | { |
4777 | case VK_FRAMEBUFFER_CREATE_IMAGELESS_BIT: |
4778 | return "VK_FRAMEBUFFER_CREATE_IMAGELESS_BIT" ; |
4779 | default: |
4780 | return "Unhandled VkFramebufferCreateFlagBits" ; |
4781 | } |
4782 | } |
4783 | |
4784 | static inline std::string string_VkFramebufferCreateFlags(VkFramebufferCreateFlags input_value) |
4785 | { |
4786 | std::string ret; |
4787 | int index = 0; |
4788 | while(input_value) { |
4789 | if (input_value & 1) { |
4790 | if( !ret.empty()) ret.append("|" ); |
4791 | ret.append(string_VkFramebufferCreateFlagBits(static_cast<VkFramebufferCreateFlagBits>(1U << index))); |
4792 | } |
4793 | ++index; |
4794 | input_value >>= 1; |
4795 | } |
4796 | if (ret.empty()) ret.append("VkFramebufferCreateFlags(0)" ); |
4797 | return ret; |
4798 | } |
4799 | |
4800 | static inline const char* string_VkPipelineBindPoint(VkPipelineBindPoint input_value) |
4801 | { |
4802 | switch (input_value) |
4803 | { |
4804 | case VK_PIPELINE_BIND_POINT_COMPUTE: |
4805 | return "VK_PIPELINE_BIND_POINT_COMPUTE" ; |
4806 | case VK_PIPELINE_BIND_POINT_GRAPHICS: |
4807 | return "VK_PIPELINE_BIND_POINT_GRAPHICS" ; |
4808 | case VK_PIPELINE_BIND_POINT_RAY_TRACING_KHR: |
4809 | return "VK_PIPELINE_BIND_POINT_RAY_TRACING_KHR" ; |
4810 | case VK_PIPELINE_BIND_POINT_SUBPASS_SHADING_HUAWEI: |
4811 | return "VK_PIPELINE_BIND_POINT_SUBPASS_SHADING_HUAWEI" ; |
4812 | default: |
4813 | return "Unhandled VkPipelineBindPoint" ; |
4814 | } |
4815 | } |
4816 | |
4817 | static inline const char* string_VkRenderPassCreateFlagBits(VkRenderPassCreateFlagBits input_value) |
4818 | { |
4819 | switch (input_value) |
4820 | { |
4821 | case VK_RENDER_PASS_CREATE_TRANSFORM_BIT_QCOM: |
4822 | return "VK_RENDER_PASS_CREATE_TRANSFORM_BIT_QCOM" ; |
4823 | default: |
4824 | return "Unhandled VkRenderPassCreateFlagBits" ; |
4825 | } |
4826 | } |
4827 | |
4828 | static inline std::string string_VkRenderPassCreateFlags(VkRenderPassCreateFlags input_value) |
4829 | { |
4830 | std::string ret; |
4831 | int index = 0; |
4832 | while(input_value) { |
4833 | if (input_value & 1) { |
4834 | if( !ret.empty()) ret.append("|" ); |
4835 | ret.append(string_VkRenderPassCreateFlagBits(static_cast<VkRenderPassCreateFlagBits>(1U << index))); |
4836 | } |
4837 | ++index; |
4838 | input_value >>= 1; |
4839 | } |
4840 | if (ret.empty()) ret.append("VkRenderPassCreateFlags(0)" ); |
4841 | return ret; |
4842 | } |
4843 | |
4844 | static inline const char* string_VkSubpassDescriptionFlagBits(VkSubpassDescriptionFlagBits input_value) |
4845 | { |
4846 | switch (input_value) |
4847 | { |
4848 | case VK_SUBPASS_DESCRIPTION_ENABLE_LEGACY_DITHERING_BIT_EXT: |
4849 | return "VK_SUBPASS_DESCRIPTION_ENABLE_LEGACY_DITHERING_BIT_EXT" ; |
4850 | case VK_SUBPASS_DESCRIPTION_FRAGMENT_REGION_BIT_QCOM: |
4851 | return "VK_SUBPASS_DESCRIPTION_FRAGMENT_REGION_BIT_QCOM" ; |
4852 | case VK_SUBPASS_DESCRIPTION_PER_VIEW_ATTRIBUTES_BIT_NVX: |
4853 | return "VK_SUBPASS_DESCRIPTION_PER_VIEW_ATTRIBUTES_BIT_NVX" ; |
4854 | case VK_SUBPASS_DESCRIPTION_PER_VIEW_POSITION_X_ONLY_BIT_NVX: |
4855 | return "VK_SUBPASS_DESCRIPTION_PER_VIEW_POSITION_X_ONLY_BIT_NVX" ; |
4856 | case VK_SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_COLOR_ACCESS_BIT_EXT: |
4857 | return "VK_SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_COLOR_ACCESS_BIT_EXT" ; |
4858 | case VK_SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_DEPTH_ACCESS_BIT_EXT: |
4859 | return "VK_SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_DEPTH_ACCESS_BIT_EXT" ; |
4860 | case VK_SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_STENCIL_ACCESS_BIT_EXT: |
4861 | return "VK_SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_STENCIL_ACCESS_BIT_EXT" ; |
4862 | case VK_SUBPASS_DESCRIPTION_SHADER_RESOLVE_BIT_QCOM: |
4863 | return "VK_SUBPASS_DESCRIPTION_SHADER_RESOLVE_BIT_QCOM" ; |
4864 | default: |
4865 | return "Unhandled VkSubpassDescriptionFlagBits" ; |
4866 | } |
4867 | } |
4868 | |
4869 | static inline std::string string_VkSubpassDescriptionFlags(VkSubpassDescriptionFlags input_value) |
4870 | { |
4871 | std::string ret; |
4872 | int index = 0; |
4873 | while(input_value) { |
4874 | if (input_value & 1) { |
4875 | if( !ret.empty()) ret.append("|" ); |
4876 | ret.append(string_VkSubpassDescriptionFlagBits(static_cast<VkSubpassDescriptionFlagBits>(1U << index))); |
4877 | } |
4878 | ++index; |
4879 | input_value >>= 1; |
4880 | } |
4881 | if (ret.empty()) ret.append("VkSubpassDescriptionFlags(0)" ); |
4882 | return ret; |
4883 | } |
4884 | |
4885 | static inline const char* string_VkCommandPoolCreateFlagBits(VkCommandPoolCreateFlagBits input_value) |
4886 | { |
4887 | switch (input_value) |
4888 | { |
4889 | case VK_COMMAND_POOL_CREATE_PROTECTED_BIT: |
4890 | return "VK_COMMAND_POOL_CREATE_PROTECTED_BIT" ; |
4891 | case VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT: |
4892 | return "VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT" ; |
4893 | case VK_COMMAND_POOL_CREATE_TRANSIENT_BIT: |
4894 | return "VK_COMMAND_POOL_CREATE_TRANSIENT_BIT" ; |
4895 | default: |
4896 | return "Unhandled VkCommandPoolCreateFlagBits" ; |
4897 | } |
4898 | } |
4899 | |
4900 | static inline std::string string_VkCommandPoolCreateFlags(VkCommandPoolCreateFlags input_value) |
4901 | { |
4902 | std::string ret; |
4903 | int index = 0; |
4904 | while(input_value) { |
4905 | if (input_value & 1) { |
4906 | if( !ret.empty()) ret.append("|" ); |
4907 | ret.append(string_VkCommandPoolCreateFlagBits(static_cast<VkCommandPoolCreateFlagBits>(1U << index))); |
4908 | } |
4909 | ++index; |
4910 | input_value >>= 1; |
4911 | } |
4912 | if (ret.empty()) ret.append("VkCommandPoolCreateFlags(0)" ); |
4913 | return ret; |
4914 | } |
4915 | |
4916 | static inline const char* string_VkCommandPoolResetFlagBits(VkCommandPoolResetFlagBits input_value) |
4917 | { |
4918 | switch (input_value) |
4919 | { |
4920 | case VK_COMMAND_POOL_RESET_RELEASE_RESOURCES_BIT: |
4921 | return "VK_COMMAND_POOL_RESET_RELEASE_RESOURCES_BIT" ; |
4922 | default: |
4923 | return "Unhandled VkCommandPoolResetFlagBits" ; |
4924 | } |
4925 | } |
4926 | |
4927 | static inline std::string string_VkCommandPoolResetFlags(VkCommandPoolResetFlags input_value) |
4928 | { |
4929 | std::string ret; |
4930 | int index = 0; |
4931 | while(input_value) { |
4932 | if (input_value & 1) { |
4933 | if( !ret.empty()) ret.append("|" ); |
4934 | ret.append(string_VkCommandPoolResetFlagBits(static_cast<VkCommandPoolResetFlagBits>(1U << index))); |
4935 | } |
4936 | ++index; |
4937 | input_value >>= 1; |
4938 | } |
4939 | if (ret.empty()) ret.append("VkCommandPoolResetFlags(0)" ); |
4940 | return ret; |
4941 | } |
4942 | |
4943 | static inline const char* string_VkCommandBufferLevel(VkCommandBufferLevel input_value) |
4944 | { |
4945 | switch (input_value) |
4946 | { |
4947 | case VK_COMMAND_BUFFER_LEVEL_PRIMARY: |
4948 | return "VK_COMMAND_BUFFER_LEVEL_PRIMARY" ; |
4949 | case VK_COMMAND_BUFFER_LEVEL_SECONDARY: |
4950 | return "VK_COMMAND_BUFFER_LEVEL_SECONDARY" ; |
4951 | default: |
4952 | return "Unhandled VkCommandBufferLevel" ; |
4953 | } |
4954 | } |
4955 | |
4956 | static inline const char* string_VkCommandBufferUsageFlagBits(VkCommandBufferUsageFlagBits input_value) |
4957 | { |
4958 | switch (input_value) |
4959 | { |
4960 | case VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT: |
4961 | return "VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT" ; |
4962 | case VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT: |
4963 | return "VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT" ; |
4964 | case VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT: |
4965 | return "VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT" ; |
4966 | default: |
4967 | return "Unhandled VkCommandBufferUsageFlagBits" ; |
4968 | } |
4969 | } |
4970 | |
4971 | static inline std::string string_VkCommandBufferUsageFlags(VkCommandBufferUsageFlags input_value) |
4972 | { |
4973 | std::string ret; |
4974 | int index = 0; |
4975 | while(input_value) { |
4976 | if (input_value & 1) { |
4977 | if( !ret.empty()) ret.append("|" ); |
4978 | ret.append(string_VkCommandBufferUsageFlagBits(static_cast<VkCommandBufferUsageFlagBits>(1U << index))); |
4979 | } |
4980 | ++index; |
4981 | input_value >>= 1; |
4982 | } |
4983 | if (ret.empty()) ret.append("VkCommandBufferUsageFlags(0)" ); |
4984 | return ret; |
4985 | } |
4986 | |
4987 | static inline const char* string_VkQueryControlFlagBits(VkQueryControlFlagBits input_value) |
4988 | { |
4989 | switch (input_value) |
4990 | { |
4991 | case VK_QUERY_CONTROL_PRECISE_BIT: |
4992 | return "VK_QUERY_CONTROL_PRECISE_BIT" ; |
4993 | default: |
4994 | return "Unhandled VkQueryControlFlagBits" ; |
4995 | } |
4996 | } |
4997 | |
4998 | static inline std::string string_VkQueryControlFlags(VkQueryControlFlags input_value) |
4999 | { |
5000 | std::string ret; |
5001 | int index = 0; |
5002 | while(input_value) { |
5003 | if (input_value & 1) { |
5004 | if( !ret.empty()) ret.append("|" ); |
5005 | ret.append(string_VkQueryControlFlagBits(static_cast<VkQueryControlFlagBits>(1U << index))); |
5006 | } |
5007 | ++index; |
5008 | input_value >>= 1; |
5009 | } |
5010 | if (ret.empty()) ret.append("VkQueryControlFlags(0)" ); |
5011 | return ret; |
5012 | } |
5013 | |
5014 | static inline const char* string_VkCommandBufferResetFlagBits(VkCommandBufferResetFlagBits input_value) |
5015 | { |
5016 | switch (input_value) |
5017 | { |
5018 | case VK_COMMAND_BUFFER_RESET_RELEASE_RESOURCES_BIT: |
5019 | return "VK_COMMAND_BUFFER_RESET_RELEASE_RESOURCES_BIT" ; |
5020 | default: |
5021 | return "Unhandled VkCommandBufferResetFlagBits" ; |
5022 | } |
5023 | } |
5024 | |
5025 | static inline std::string string_VkCommandBufferResetFlags(VkCommandBufferResetFlags input_value) |
5026 | { |
5027 | std::string ret; |
5028 | int index = 0; |
5029 | while(input_value) { |
5030 | if (input_value & 1) { |
5031 | if( !ret.empty()) ret.append("|" ); |
5032 | ret.append(string_VkCommandBufferResetFlagBits(static_cast<VkCommandBufferResetFlagBits>(1U << index))); |
5033 | } |
5034 | ++index; |
5035 | input_value >>= 1; |
5036 | } |
5037 | if (ret.empty()) ret.append("VkCommandBufferResetFlags(0)" ); |
5038 | return ret; |
5039 | } |
5040 | |
5041 | static inline const char* string_VkIndexType(VkIndexType input_value) |
5042 | { |
5043 | switch (input_value) |
5044 | { |
5045 | case VK_INDEX_TYPE_NONE_KHR: |
5046 | return "VK_INDEX_TYPE_NONE_KHR" ; |
5047 | case VK_INDEX_TYPE_UINT16: |
5048 | return "VK_INDEX_TYPE_UINT16" ; |
5049 | case VK_INDEX_TYPE_UINT32: |
5050 | return "VK_INDEX_TYPE_UINT32" ; |
5051 | case VK_INDEX_TYPE_UINT8_EXT: |
5052 | return "VK_INDEX_TYPE_UINT8_EXT" ; |
5053 | default: |
5054 | return "Unhandled VkIndexType" ; |
5055 | } |
5056 | } |
5057 | |
5058 | static inline const char* string_VkStencilFaceFlagBits(VkStencilFaceFlagBits input_value) |
5059 | { |
5060 | switch (input_value) |
5061 | { |
5062 | case VK_STENCIL_FACE_BACK_BIT: |
5063 | return "VK_STENCIL_FACE_BACK_BIT" ; |
5064 | case VK_STENCIL_FACE_FRONT_AND_BACK: |
5065 | return "VK_STENCIL_FACE_FRONT_AND_BACK" ; |
5066 | case VK_STENCIL_FACE_FRONT_BIT: |
5067 | return "VK_STENCIL_FACE_FRONT_BIT" ; |
5068 | default: |
5069 | return "Unhandled VkStencilFaceFlagBits" ; |
5070 | } |
5071 | } |
5072 | |
5073 | static inline std::string string_VkStencilFaceFlags(VkStencilFaceFlags input_value) |
5074 | { |
5075 | std::string ret; |
5076 | int index = 0; |
5077 | while(input_value) { |
5078 | if (input_value & 1) { |
5079 | if( !ret.empty()) ret.append("|" ); |
5080 | ret.append(string_VkStencilFaceFlagBits(static_cast<VkStencilFaceFlagBits>(1U << index))); |
5081 | } |
5082 | ++index; |
5083 | input_value >>= 1; |
5084 | } |
5085 | if (ret.empty()) ret.append("VkStencilFaceFlags(0)" ); |
5086 | return ret; |
5087 | } |
5088 | |
5089 | static inline const char* string_VkSubpassContents(VkSubpassContents input_value) |
5090 | { |
5091 | switch (input_value) |
5092 | { |
5093 | case VK_SUBPASS_CONTENTS_INLINE: |
5094 | return "VK_SUBPASS_CONTENTS_INLINE" ; |
5095 | case VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS: |
5096 | return "VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS" ; |
5097 | default: |
5098 | return "Unhandled VkSubpassContents" ; |
5099 | } |
5100 | } |
5101 | |
5102 | static inline const char* string_VkSubgroupFeatureFlagBits(VkSubgroupFeatureFlagBits input_value) |
5103 | { |
5104 | switch (input_value) |
5105 | { |
5106 | case VK_SUBGROUP_FEATURE_ARITHMETIC_BIT: |
5107 | return "VK_SUBGROUP_FEATURE_ARITHMETIC_BIT" ; |
5108 | case VK_SUBGROUP_FEATURE_BALLOT_BIT: |
5109 | return "VK_SUBGROUP_FEATURE_BALLOT_BIT" ; |
5110 | case VK_SUBGROUP_FEATURE_BASIC_BIT: |
5111 | return "VK_SUBGROUP_FEATURE_BASIC_BIT" ; |
5112 | case VK_SUBGROUP_FEATURE_CLUSTERED_BIT: |
5113 | return "VK_SUBGROUP_FEATURE_CLUSTERED_BIT" ; |
5114 | case VK_SUBGROUP_FEATURE_PARTITIONED_BIT_NV: |
5115 | return "VK_SUBGROUP_FEATURE_PARTITIONED_BIT_NV" ; |
5116 | case VK_SUBGROUP_FEATURE_QUAD_BIT: |
5117 | return "VK_SUBGROUP_FEATURE_QUAD_BIT" ; |
5118 | case VK_SUBGROUP_FEATURE_SHUFFLE_BIT: |
5119 | return "VK_SUBGROUP_FEATURE_SHUFFLE_BIT" ; |
5120 | case VK_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT: |
5121 | return "VK_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT" ; |
5122 | case VK_SUBGROUP_FEATURE_VOTE_BIT: |
5123 | return "VK_SUBGROUP_FEATURE_VOTE_BIT" ; |
5124 | default: |
5125 | return "Unhandled VkSubgroupFeatureFlagBits" ; |
5126 | } |
5127 | } |
5128 | |
5129 | static inline std::string string_VkSubgroupFeatureFlags(VkSubgroupFeatureFlags input_value) |
5130 | { |
5131 | std::string ret; |
5132 | int index = 0; |
5133 | while(input_value) { |
5134 | if (input_value & 1) { |
5135 | if( !ret.empty()) ret.append("|" ); |
5136 | ret.append(string_VkSubgroupFeatureFlagBits(static_cast<VkSubgroupFeatureFlagBits>(1U << index))); |
5137 | } |
5138 | ++index; |
5139 | input_value >>= 1; |
5140 | } |
5141 | if (ret.empty()) ret.append("VkSubgroupFeatureFlags(0)" ); |
5142 | return ret; |
5143 | } |
5144 | |
5145 | static inline const char* string_VkPeerMemoryFeatureFlagBits(VkPeerMemoryFeatureFlagBits input_value) |
5146 | { |
5147 | switch (input_value) |
5148 | { |
5149 | case VK_PEER_MEMORY_FEATURE_COPY_DST_BIT: |
5150 | return "VK_PEER_MEMORY_FEATURE_COPY_DST_BIT" ; |
5151 | case VK_PEER_MEMORY_FEATURE_COPY_SRC_BIT: |
5152 | return "VK_PEER_MEMORY_FEATURE_COPY_SRC_BIT" ; |
5153 | case VK_PEER_MEMORY_FEATURE_GENERIC_DST_BIT: |
5154 | return "VK_PEER_MEMORY_FEATURE_GENERIC_DST_BIT" ; |
5155 | case VK_PEER_MEMORY_FEATURE_GENERIC_SRC_BIT: |
5156 | return "VK_PEER_MEMORY_FEATURE_GENERIC_SRC_BIT" ; |
5157 | default: |
5158 | return "Unhandled VkPeerMemoryFeatureFlagBits" ; |
5159 | } |
5160 | } |
5161 | |
5162 | static inline std::string string_VkPeerMemoryFeatureFlags(VkPeerMemoryFeatureFlags input_value) |
5163 | { |
5164 | std::string ret; |
5165 | int index = 0; |
5166 | while(input_value) { |
5167 | if (input_value & 1) { |
5168 | if( !ret.empty()) ret.append("|" ); |
5169 | ret.append(string_VkPeerMemoryFeatureFlagBits(static_cast<VkPeerMemoryFeatureFlagBits>(1U << index))); |
5170 | } |
5171 | ++index; |
5172 | input_value >>= 1; |
5173 | } |
5174 | if (ret.empty()) ret.append("VkPeerMemoryFeatureFlags(0)" ); |
5175 | return ret; |
5176 | } |
5177 | |
5178 | static inline const char* string_VkMemoryAllocateFlagBits(VkMemoryAllocateFlagBits input_value) |
5179 | { |
5180 | switch (input_value) |
5181 | { |
5182 | case VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_BIT: |
5183 | return "VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_BIT" ; |
5184 | case VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT: |
5185 | return "VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT" ; |
5186 | case VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT: |
5187 | return "VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT" ; |
5188 | default: |
5189 | return "Unhandled VkMemoryAllocateFlagBits" ; |
5190 | } |
5191 | } |
5192 | |
5193 | static inline std::string string_VkMemoryAllocateFlags(VkMemoryAllocateFlags input_value) |
5194 | { |
5195 | std::string ret; |
5196 | int index = 0; |
5197 | while(input_value) { |
5198 | if (input_value & 1) { |
5199 | if( !ret.empty()) ret.append("|" ); |
5200 | ret.append(string_VkMemoryAllocateFlagBits(static_cast<VkMemoryAllocateFlagBits>(1U << index))); |
5201 | } |
5202 | ++index; |
5203 | input_value >>= 1; |
5204 | } |
5205 | if (ret.empty()) ret.append("VkMemoryAllocateFlags(0)" ); |
5206 | return ret; |
5207 | } |
5208 | |
5209 | static inline const char* string_VkPointClippingBehavior(VkPointClippingBehavior input_value) |
5210 | { |
5211 | switch (input_value) |
5212 | { |
5213 | case VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES: |
5214 | return "VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES" ; |
5215 | case VK_POINT_CLIPPING_BEHAVIOR_USER_CLIP_PLANES_ONLY: |
5216 | return "VK_POINT_CLIPPING_BEHAVIOR_USER_CLIP_PLANES_ONLY" ; |
5217 | default: |
5218 | return "Unhandled VkPointClippingBehavior" ; |
5219 | } |
5220 | } |
5221 | |
5222 | static inline const char* string_VkTessellationDomainOrigin(VkTessellationDomainOrigin input_value) |
5223 | { |
5224 | switch (input_value) |
5225 | { |
5226 | case VK_TESSELLATION_DOMAIN_ORIGIN_LOWER_LEFT: |
5227 | return "VK_TESSELLATION_DOMAIN_ORIGIN_LOWER_LEFT" ; |
5228 | case VK_TESSELLATION_DOMAIN_ORIGIN_UPPER_LEFT: |
5229 | return "VK_TESSELLATION_DOMAIN_ORIGIN_UPPER_LEFT" ; |
5230 | default: |
5231 | return "Unhandled VkTessellationDomainOrigin" ; |
5232 | } |
5233 | } |
5234 | |
5235 | static inline const char* string_VkSamplerYcbcrModelConversion(VkSamplerYcbcrModelConversion input_value) |
5236 | { |
5237 | switch (input_value) |
5238 | { |
5239 | case VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY: |
5240 | return "VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY" ; |
5241 | case VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_2020: |
5242 | return "VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_2020" ; |
5243 | case VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_601: |
5244 | return "VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_601" ; |
5245 | case VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_709: |
5246 | return "VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_709" ; |
5247 | case VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_IDENTITY: |
5248 | return "VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_IDENTITY" ; |
5249 | default: |
5250 | return "Unhandled VkSamplerYcbcrModelConversion" ; |
5251 | } |
5252 | } |
5253 | |
5254 | static inline const char* string_VkSamplerYcbcrRange(VkSamplerYcbcrRange input_value) |
5255 | { |
5256 | switch (input_value) |
5257 | { |
5258 | case VK_SAMPLER_YCBCR_RANGE_ITU_FULL: |
5259 | return "VK_SAMPLER_YCBCR_RANGE_ITU_FULL" ; |
5260 | case VK_SAMPLER_YCBCR_RANGE_ITU_NARROW: |
5261 | return "VK_SAMPLER_YCBCR_RANGE_ITU_NARROW" ; |
5262 | default: |
5263 | return "Unhandled VkSamplerYcbcrRange" ; |
5264 | } |
5265 | } |
5266 | |
5267 | static inline const char* string_VkChromaLocation(VkChromaLocation input_value) |
5268 | { |
5269 | switch (input_value) |
5270 | { |
5271 | case VK_CHROMA_LOCATION_COSITED_EVEN: |
5272 | return "VK_CHROMA_LOCATION_COSITED_EVEN" ; |
5273 | case VK_CHROMA_LOCATION_MIDPOINT: |
5274 | return "VK_CHROMA_LOCATION_MIDPOINT" ; |
5275 | default: |
5276 | return "Unhandled VkChromaLocation" ; |
5277 | } |
5278 | } |
5279 | |
5280 | static inline const char* string_VkDescriptorUpdateTemplateType(VkDescriptorUpdateTemplateType input_value) |
5281 | { |
5282 | switch (input_value) |
5283 | { |
5284 | case VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET: |
5285 | return "VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET" ; |
5286 | case VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR: |
5287 | return "VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR" ; |
5288 | default: |
5289 | return "Unhandled VkDescriptorUpdateTemplateType" ; |
5290 | } |
5291 | } |
5292 | |
5293 | static inline const char* string_VkExternalMemoryHandleTypeFlagBits(VkExternalMemoryHandleTypeFlagBits input_value) |
5294 | { |
5295 | switch (input_value) |
5296 | { |
5297 | case VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID: |
5298 | return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID" ; |
5299 | case VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT: |
5300 | return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT" ; |
5301 | case VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT: |
5302 | return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT" ; |
5303 | case VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT: |
5304 | return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT" ; |
5305 | case VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT: |
5306 | return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT" ; |
5307 | case VK_EXTERNAL_MEMORY_HANDLE_TYPE_DMA_BUF_BIT_EXT: |
5308 | return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_DMA_BUF_BIT_EXT" ; |
5309 | case VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT: |
5310 | return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT" ; |
5311 | case VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXT: |
5312 | return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXT" ; |
5313 | case VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT: |
5314 | return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT" ; |
5315 | case VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT: |
5316 | return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT" ; |
5317 | case VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT: |
5318 | return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT" ; |
5319 | case VK_EXTERNAL_MEMORY_HANDLE_TYPE_RDMA_ADDRESS_BIT_NV: |
5320 | return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_RDMA_ADDRESS_BIT_NV" ; |
5321 | case VK_EXTERNAL_MEMORY_HANDLE_TYPE_ZIRCON_VMO_BIT_FUCHSIA: |
5322 | return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_ZIRCON_VMO_BIT_FUCHSIA" ; |
5323 | default: |
5324 | return "Unhandled VkExternalMemoryHandleTypeFlagBits" ; |
5325 | } |
5326 | } |
5327 | |
5328 | static inline std::string string_VkExternalMemoryHandleTypeFlags(VkExternalMemoryHandleTypeFlags input_value) |
5329 | { |
5330 | std::string ret; |
5331 | int index = 0; |
5332 | while(input_value) { |
5333 | if (input_value & 1) { |
5334 | if( !ret.empty()) ret.append("|" ); |
5335 | ret.append(string_VkExternalMemoryHandleTypeFlagBits(static_cast<VkExternalMemoryHandleTypeFlagBits>(1U << index))); |
5336 | } |
5337 | ++index; |
5338 | input_value >>= 1; |
5339 | } |
5340 | if (ret.empty()) ret.append("VkExternalMemoryHandleTypeFlags(0)" ); |
5341 | return ret; |
5342 | } |
5343 | |
5344 | static inline const char* string_VkExternalMemoryFeatureFlagBits(VkExternalMemoryFeatureFlagBits input_value) |
5345 | { |
5346 | switch (input_value) |
5347 | { |
5348 | case VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT: |
5349 | return "VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT" ; |
5350 | case VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT: |
5351 | return "VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT" ; |
5352 | case VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT: |
5353 | return "VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT" ; |
5354 | default: |
5355 | return "Unhandled VkExternalMemoryFeatureFlagBits" ; |
5356 | } |
5357 | } |
5358 | |
5359 | static inline std::string string_VkExternalMemoryFeatureFlags(VkExternalMemoryFeatureFlags input_value) |
5360 | { |
5361 | std::string ret; |
5362 | int index = 0; |
5363 | while(input_value) { |
5364 | if (input_value & 1) { |
5365 | if( !ret.empty()) ret.append("|" ); |
5366 | ret.append(string_VkExternalMemoryFeatureFlagBits(static_cast<VkExternalMemoryFeatureFlagBits>(1U << index))); |
5367 | } |
5368 | ++index; |
5369 | input_value >>= 1; |
5370 | } |
5371 | if (ret.empty()) ret.append("VkExternalMemoryFeatureFlags(0)" ); |
5372 | return ret; |
5373 | } |
5374 | |
5375 | static inline const char* string_VkExternalFenceHandleTypeFlagBits(VkExternalFenceHandleTypeFlagBits input_value) |
5376 | { |
5377 | switch (input_value) |
5378 | { |
5379 | case VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_FD_BIT: |
5380 | return "VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_FD_BIT" ; |
5381 | case VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_BIT: |
5382 | return "VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_BIT" ; |
5383 | case VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT: |
5384 | return "VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT" ; |
5385 | case VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT: |
5386 | return "VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT" ; |
5387 | default: |
5388 | return "Unhandled VkExternalFenceHandleTypeFlagBits" ; |
5389 | } |
5390 | } |
5391 | |
5392 | static inline std::string string_VkExternalFenceHandleTypeFlags(VkExternalFenceHandleTypeFlags input_value) |
5393 | { |
5394 | std::string ret; |
5395 | int index = 0; |
5396 | while(input_value) { |
5397 | if (input_value & 1) { |
5398 | if( !ret.empty()) ret.append("|" ); |
5399 | ret.append(string_VkExternalFenceHandleTypeFlagBits(static_cast<VkExternalFenceHandleTypeFlagBits>(1U << index))); |
5400 | } |
5401 | ++index; |
5402 | input_value >>= 1; |
5403 | } |
5404 | if (ret.empty()) ret.append("VkExternalFenceHandleTypeFlags(0)" ); |
5405 | return ret; |
5406 | } |
5407 | |
5408 | static inline const char* string_VkExternalFenceFeatureFlagBits(VkExternalFenceFeatureFlagBits input_value) |
5409 | { |
5410 | switch (input_value) |
5411 | { |
5412 | case VK_EXTERNAL_FENCE_FEATURE_EXPORTABLE_BIT: |
5413 | return "VK_EXTERNAL_FENCE_FEATURE_EXPORTABLE_BIT" ; |
5414 | case VK_EXTERNAL_FENCE_FEATURE_IMPORTABLE_BIT: |
5415 | return "VK_EXTERNAL_FENCE_FEATURE_IMPORTABLE_BIT" ; |
5416 | default: |
5417 | return "Unhandled VkExternalFenceFeatureFlagBits" ; |
5418 | } |
5419 | } |
5420 | |
5421 | static inline std::string string_VkExternalFenceFeatureFlags(VkExternalFenceFeatureFlags input_value) |
5422 | { |
5423 | std::string ret; |
5424 | int index = 0; |
5425 | while(input_value) { |
5426 | if (input_value & 1) { |
5427 | if( !ret.empty()) ret.append("|" ); |
5428 | ret.append(string_VkExternalFenceFeatureFlagBits(static_cast<VkExternalFenceFeatureFlagBits>(1U << index))); |
5429 | } |
5430 | ++index; |
5431 | input_value >>= 1; |
5432 | } |
5433 | if (ret.empty()) ret.append("VkExternalFenceFeatureFlags(0)" ); |
5434 | return ret; |
5435 | } |
5436 | |
5437 | static inline const char* string_VkFenceImportFlagBits(VkFenceImportFlagBits input_value) |
5438 | { |
5439 | switch (input_value) |
5440 | { |
5441 | case VK_FENCE_IMPORT_TEMPORARY_BIT: |
5442 | return "VK_FENCE_IMPORT_TEMPORARY_BIT" ; |
5443 | default: |
5444 | return "Unhandled VkFenceImportFlagBits" ; |
5445 | } |
5446 | } |
5447 | |
5448 | static inline std::string string_VkFenceImportFlags(VkFenceImportFlags input_value) |
5449 | { |
5450 | std::string ret; |
5451 | int index = 0; |
5452 | while(input_value) { |
5453 | if (input_value & 1) { |
5454 | if( !ret.empty()) ret.append("|" ); |
5455 | ret.append(string_VkFenceImportFlagBits(static_cast<VkFenceImportFlagBits>(1U << index))); |
5456 | } |
5457 | ++index; |
5458 | input_value >>= 1; |
5459 | } |
5460 | if (ret.empty()) ret.append("VkFenceImportFlags(0)" ); |
5461 | return ret; |
5462 | } |
5463 | |
5464 | static inline const char* string_VkSemaphoreImportFlagBits(VkSemaphoreImportFlagBits input_value) |
5465 | { |
5466 | switch (input_value) |
5467 | { |
5468 | case VK_SEMAPHORE_IMPORT_TEMPORARY_BIT: |
5469 | return "VK_SEMAPHORE_IMPORT_TEMPORARY_BIT" ; |
5470 | default: |
5471 | return "Unhandled VkSemaphoreImportFlagBits" ; |
5472 | } |
5473 | } |
5474 | |
5475 | static inline std::string string_VkSemaphoreImportFlags(VkSemaphoreImportFlags input_value) |
5476 | { |
5477 | std::string ret; |
5478 | int index = 0; |
5479 | while(input_value) { |
5480 | if (input_value & 1) { |
5481 | if( !ret.empty()) ret.append("|" ); |
5482 | ret.append(string_VkSemaphoreImportFlagBits(static_cast<VkSemaphoreImportFlagBits>(1U << index))); |
5483 | } |
5484 | ++index; |
5485 | input_value >>= 1; |
5486 | } |
5487 | if (ret.empty()) ret.append("VkSemaphoreImportFlags(0)" ); |
5488 | return ret; |
5489 | } |
5490 | |
5491 | static inline const char* string_VkExternalSemaphoreHandleTypeFlagBits(VkExternalSemaphoreHandleTypeFlagBits input_value) |
5492 | { |
5493 | switch (input_value) |
5494 | { |
5495 | case VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT: |
5496 | return "VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT" ; |
5497 | case VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT: |
5498 | return "VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT" ; |
5499 | case VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT: |
5500 | return "VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT" ; |
5501 | case VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT: |
5502 | return "VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT" ; |
5503 | case VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT: |
5504 | return "VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT" ; |
5505 | case VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_ZIRCON_EVENT_BIT_FUCHSIA: |
5506 | return "VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_ZIRCON_EVENT_BIT_FUCHSIA" ; |
5507 | default: |
5508 | return "Unhandled VkExternalSemaphoreHandleTypeFlagBits" ; |
5509 | } |
5510 | } |
5511 | |
5512 | static inline std::string string_VkExternalSemaphoreHandleTypeFlags(VkExternalSemaphoreHandleTypeFlags input_value) |
5513 | { |
5514 | std::string ret; |
5515 | int index = 0; |
5516 | while(input_value) { |
5517 | if (input_value & 1) { |
5518 | if( !ret.empty()) ret.append("|" ); |
5519 | ret.append(string_VkExternalSemaphoreHandleTypeFlagBits(static_cast<VkExternalSemaphoreHandleTypeFlagBits>(1U << index))); |
5520 | } |
5521 | ++index; |
5522 | input_value >>= 1; |
5523 | } |
5524 | if (ret.empty()) ret.append("VkExternalSemaphoreHandleTypeFlags(0)" ); |
5525 | return ret; |
5526 | } |
5527 | |
5528 | static inline const char* string_VkExternalSemaphoreFeatureFlagBits(VkExternalSemaphoreFeatureFlagBits input_value) |
5529 | { |
5530 | switch (input_value) |
5531 | { |
5532 | case VK_EXTERNAL_SEMAPHORE_FEATURE_EXPORTABLE_BIT: |
5533 | return "VK_EXTERNAL_SEMAPHORE_FEATURE_EXPORTABLE_BIT" ; |
5534 | case VK_EXTERNAL_SEMAPHORE_FEATURE_IMPORTABLE_BIT: |
5535 | return "VK_EXTERNAL_SEMAPHORE_FEATURE_IMPORTABLE_BIT" ; |
5536 | default: |
5537 | return "Unhandled VkExternalSemaphoreFeatureFlagBits" ; |
5538 | } |
5539 | } |
5540 | |
5541 | static inline std::string string_VkExternalSemaphoreFeatureFlags(VkExternalSemaphoreFeatureFlags input_value) |
5542 | { |
5543 | std::string ret; |
5544 | int index = 0; |
5545 | while(input_value) { |
5546 | if (input_value & 1) { |
5547 | if( !ret.empty()) ret.append("|" ); |
5548 | ret.append(string_VkExternalSemaphoreFeatureFlagBits(static_cast<VkExternalSemaphoreFeatureFlagBits>(1U << index))); |
5549 | } |
5550 | ++index; |
5551 | input_value >>= 1; |
5552 | } |
5553 | if (ret.empty()) ret.append("VkExternalSemaphoreFeatureFlags(0)" ); |
5554 | return ret; |
5555 | } |
5556 | |
5557 | static inline const char* string_VkDriverId(VkDriverId input_value) |
5558 | { |
5559 | switch (input_value) |
5560 | { |
5561 | case VK_DRIVER_ID_AMD_OPEN_SOURCE: |
5562 | return "VK_DRIVER_ID_AMD_OPEN_SOURCE" ; |
5563 | case VK_DRIVER_ID_AMD_PROPRIETARY: |
5564 | return "VK_DRIVER_ID_AMD_PROPRIETARY" ; |
5565 | case VK_DRIVER_ID_ARM_PROPRIETARY: |
5566 | return "VK_DRIVER_ID_ARM_PROPRIETARY" ; |
5567 | case VK_DRIVER_ID_BROADCOM_PROPRIETARY: |
5568 | return "VK_DRIVER_ID_BROADCOM_PROPRIETARY" ; |
5569 | case VK_DRIVER_ID_COREAVI_PROPRIETARY: |
5570 | return "VK_DRIVER_ID_COREAVI_PROPRIETARY" ; |
5571 | case VK_DRIVER_ID_GGP_PROPRIETARY: |
5572 | return "VK_DRIVER_ID_GGP_PROPRIETARY" ; |
5573 | case VK_DRIVER_ID_GOOGLE_SWIFTSHADER: |
5574 | return "VK_DRIVER_ID_GOOGLE_SWIFTSHADER" ; |
5575 | case VK_DRIVER_ID_IMAGINATION_OPEN_SOURCE_MESA: |
5576 | return "VK_DRIVER_ID_IMAGINATION_OPEN_SOURCE_MESA" ; |
5577 | case VK_DRIVER_ID_IMAGINATION_PROPRIETARY: |
5578 | return "VK_DRIVER_ID_IMAGINATION_PROPRIETARY" ; |
5579 | case VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA: |
5580 | return "VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA" ; |
5581 | case VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS: |
5582 | return "VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS" ; |
5583 | case VK_DRIVER_ID_JUICE_PROPRIETARY: |
5584 | return "VK_DRIVER_ID_JUICE_PROPRIETARY" ; |
5585 | case VK_DRIVER_ID_MESA_DOZEN: |
5586 | return "VK_DRIVER_ID_MESA_DOZEN" ; |
5587 | case VK_DRIVER_ID_MESA_LLVMPIPE: |
5588 | return "VK_DRIVER_ID_MESA_LLVMPIPE" ; |
5589 | case VK_DRIVER_ID_MESA_NVK: |
5590 | return "VK_DRIVER_ID_MESA_NVK" ; |
5591 | case VK_DRIVER_ID_MESA_PANVK: |
5592 | return "VK_DRIVER_ID_MESA_PANVK" ; |
5593 | case VK_DRIVER_ID_MESA_RADV: |
5594 | return "VK_DRIVER_ID_MESA_RADV" ; |
5595 | case VK_DRIVER_ID_MESA_TURNIP: |
5596 | return "VK_DRIVER_ID_MESA_TURNIP" ; |
5597 | case VK_DRIVER_ID_MESA_V3DV: |
5598 | return "VK_DRIVER_ID_MESA_V3DV" ; |
5599 | case VK_DRIVER_ID_MESA_VENUS: |
5600 | return "VK_DRIVER_ID_MESA_VENUS" ; |
5601 | case VK_DRIVER_ID_MOLTENVK: |
5602 | return "VK_DRIVER_ID_MOLTENVK" ; |
5603 | case VK_DRIVER_ID_NVIDIA_PROPRIETARY: |
5604 | return "VK_DRIVER_ID_NVIDIA_PROPRIETARY" ; |
5605 | case VK_DRIVER_ID_QUALCOMM_PROPRIETARY: |
5606 | return "VK_DRIVER_ID_QUALCOMM_PROPRIETARY" ; |
5607 | case VK_DRIVER_ID_SAMSUNG_PROPRIETARY: |
5608 | return "VK_DRIVER_ID_SAMSUNG_PROPRIETARY" ; |
5609 | case VK_DRIVER_ID_VERISILICON_PROPRIETARY: |
5610 | return "VK_DRIVER_ID_VERISILICON_PROPRIETARY" ; |
5611 | default: |
5612 | return "Unhandled VkDriverId" ; |
5613 | } |
5614 | } |
5615 | |
5616 | static inline const char* string_VkShaderFloatControlsIndependence(VkShaderFloatControlsIndependence input_value) |
5617 | { |
5618 | switch (input_value) |
5619 | { |
5620 | case VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_32_BIT_ONLY: |
5621 | return "VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_32_BIT_ONLY" ; |
5622 | case VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_ALL: |
5623 | return "VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_ALL" ; |
5624 | case VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_NONE: |
5625 | return "VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_NONE" ; |
5626 | default: |
5627 | return "Unhandled VkShaderFloatControlsIndependence" ; |
5628 | } |
5629 | } |
5630 | |
5631 | static inline const char* string_VkResolveModeFlagBits(VkResolveModeFlagBits input_value) |
5632 | { |
5633 | switch (input_value) |
5634 | { |
5635 | case VK_RESOLVE_MODE_AVERAGE_BIT: |
5636 | return "VK_RESOLVE_MODE_AVERAGE_BIT" ; |
5637 | case VK_RESOLVE_MODE_MAX_BIT: |
5638 | return "VK_RESOLVE_MODE_MAX_BIT" ; |
5639 | case VK_RESOLVE_MODE_MIN_BIT: |
5640 | return "VK_RESOLVE_MODE_MIN_BIT" ; |
5641 | case VK_RESOLVE_MODE_NONE: |
5642 | return "VK_RESOLVE_MODE_NONE" ; |
5643 | case VK_RESOLVE_MODE_SAMPLE_ZERO_BIT: |
5644 | return "VK_RESOLVE_MODE_SAMPLE_ZERO_BIT" ; |
5645 | default: |
5646 | return "Unhandled VkResolveModeFlagBits" ; |
5647 | } |
5648 | } |
5649 | |
5650 | static inline std::string string_VkResolveModeFlags(VkResolveModeFlags input_value) |
5651 | { |
5652 | std::string ret; |
5653 | int index = 0; |
5654 | while(input_value) { |
5655 | if (input_value & 1) { |
5656 | if( !ret.empty()) ret.append("|" ); |
5657 | ret.append(string_VkResolveModeFlagBits(static_cast<VkResolveModeFlagBits>(1U << index))); |
5658 | } |
5659 | ++index; |
5660 | input_value >>= 1; |
5661 | } |
5662 | if (ret.empty()) ret.append("VkResolveModeFlags(0)" ); |
5663 | return ret; |
5664 | } |
5665 | |
5666 | static inline const char* string_VkDescriptorBindingFlagBits(VkDescriptorBindingFlagBits input_value) |
5667 | { |
5668 | switch (input_value) |
5669 | { |
5670 | case VK_DESCRIPTOR_BINDING_PARTIALLY_BOUND_BIT: |
5671 | return "VK_DESCRIPTOR_BINDING_PARTIALLY_BOUND_BIT" ; |
5672 | case VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT: |
5673 | return "VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT" ; |
5674 | case VK_DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT: |
5675 | return "VK_DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT" ; |
5676 | case VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT: |
5677 | return "VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT" ; |
5678 | default: |
5679 | return "Unhandled VkDescriptorBindingFlagBits" ; |
5680 | } |
5681 | } |
5682 | |
5683 | static inline std::string string_VkDescriptorBindingFlags(VkDescriptorBindingFlags input_value) |
5684 | { |
5685 | std::string ret; |
5686 | int index = 0; |
5687 | while(input_value) { |
5688 | if (input_value & 1) { |
5689 | if( !ret.empty()) ret.append("|" ); |
5690 | ret.append(string_VkDescriptorBindingFlagBits(static_cast<VkDescriptorBindingFlagBits>(1U << index))); |
5691 | } |
5692 | ++index; |
5693 | input_value >>= 1; |
5694 | } |
5695 | if (ret.empty()) ret.append("VkDescriptorBindingFlags(0)" ); |
5696 | return ret; |
5697 | } |
5698 | |
5699 | static inline const char* string_VkSamplerReductionMode(VkSamplerReductionMode input_value) |
5700 | { |
5701 | switch (input_value) |
5702 | { |
5703 | case VK_SAMPLER_REDUCTION_MODE_MAX: |
5704 | return "VK_SAMPLER_REDUCTION_MODE_MAX" ; |
5705 | case VK_SAMPLER_REDUCTION_MODE_MIN: |
5706 | return "VK_SAMPLER_REDUCTION_MODE_MIN" ; |
5707 | case VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE: |
5708 | return "VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE" ; |
5709 | default: |
5710 | return "Unhandled VkSamplerReductionMode" ; |
5711 | } |
5712 | } |
5713 | |
5714 | static inline const char* string_VkSemaphoreType(VkSemaphoreType input_value) |
5715 | { |
5716 | switch (input_value) |
5717 | { |
5718 | case VK_SEMAPHORE_TYPE_BINARY: |
5719 | return "VK_SEMAPHORE_TYPE_BINARY" ; |
5720 | case VK_SEMAPHORE_TYPE_TIMELINE: |
5721 | return "VK_SEMAPHORE_TYPE_TIMELINE" ; |
5722 | default: |
5723 | return "Unhandled VkSemaphoreType" ; |
5724 | } |
5725 | } |
5726 | |
5727 | static inline const char* string_VkSemaphoreWaitFlagBits(VkSemaphoreWaitFlagBits input_value) |
5728 | { |
5729 | switch (input_value) |
5730 | { |
5731 | case VK_SEMAPHORE_WAIT_ANY_BIT: |
5732 | return "VK_SEMAPHORE_WAIT_ANY_BIT" ; |
5733 | default: |
5734 | return "Unhandled VkSemaphoreWaitFlagBits" ; |
5735 | } |
5736 | } |
5737 | |
5738 | static inline std::string string_VkSemaphoreWaitFlags(VkSemaphoreWaitFlags input_value) |
5739 | { |
5740 | std::string ret; |
5741 | int index = 0; |
5742 | while(input_value) { |
5743 | if (input_value & 1) { |
5744 | if( !ret.empty()) ret.append("|" ); |
5745 | ret.append(string_VkSemaphoreWaitFlagBits(static_cast<VkSemaphoreWaitFlagBits>(1U << index))); |
5746 | } |
5747 | ++index; |
5748 | input_value >>= 1; |
5749 | } |
5750 | if (ret.empty()) ret.append("VkSemaphoreWaitFlags(0)" ); |
5751 | return ret; |
5752 | } |
5753 | |
5754 | static inline const char* string_VkPipelineCreationFeedbackFlagBits(VkPipelineCreationFeedbackFlagBits input_value) |
5755 | { |
5756 | switch (input_value) |
5757 | { |
5758 | case VK_PIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BIT: |
5759 | return "VK_PIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BIT" ; |
5760 | case VK_PIPELINE_CREATION_FEEDBACK_BASE_PIPELINE_ACCELERATION_BIT: |
5761 | return "VK_PIPELINE_CREATION_FEEDBACK_BASE_PIPELINE_ACCELERATION_BIT" ; |
5762 | case VK_PIPELINE_CREATION_FEEDBACK_VALID_BIT: |
5763 | return "VK_PIPELINE_CREATION_FEEDBACK_VALID_BIT" ; |
5764 | default: |
5765 | return "Unhandled VkPipelineCreationFeedbackFlagBits" ; |
5766 | } |
5767 | } |
5768 | |
5769 | static inline std::string string_VkPipelineCreationFeedbackFlags(VkPipelineCreationFeedbackFlags input_value) |
5770 | { |
5771 | std::string ret; |
5772 | int index = 0; |
5773 | while(input_value) { |
5774 | if (input_value & 1) { |
5775 | if( !ret.empty()) ret.append("|" ); |
5776 | ret.append(string_VkPipelineCreationFeedbackFlagBits(static_cast<VkPipelineCreationFeedbackFlagBits>(1U << index))); |
5777 | } |
5778 | ++index; |
5779 | input_value >>= 1; |
5780 | } |
5781 | if (ret.empty()) ret.append("VkPipelineCreationFeedbackFlags(0)" ); |
5782 | return ret; |
5783 | } |
5784 | |
5785 | static inline const char* string_VkToolPurposeFlagBits(VkToolPurposeFlagBits input_value) |
5786 | { |
5787 | switch (input_value) |
5788 | { |
5789 | case VK_TOOL_PURPOSE_ADDITIONAL_FEATURES_BIT: |
5790 | return "VK_TOOL_PURPOSE_ADDITIONAL_FEATURES_BIT" ; |
5791 | case VK_TOOL_PURPOSE_DEBUG_MARKERS_BIT_EXT: |
5792 | return "VK_TOOL_PURPOSE_DEBUG_MARKERS_BIT_EXT" ; |
5793 | case VK_TOOL_PURPOSE_DEBUG_REPORTING_BIT_EXT: |
5794 | return "VK_TOOL_PURPOSE_DEBUG_REPORTING_BIT_EXT" ; |
5795 | case VK_TOOL_PURPOSE_MODIFYING_FEATURES_BIT: |
5796 | return "VK_TOOL_PURPOSE_MODIFYING_FEATURES_BIT" ; |
5797 | case VK_TOOL_PURPOSE_PROFILING_BIT: |
5798 | return "VK_TOOL_PURPOSE_PROFILING_BIT" ; |
5799 | case VK_TOOL_PURPOSE_TRACING_BIT: |
5800 | return "VK_TOOL_PURPOSE_TRACING_BIT" ; |
5801 | case VK_TOOL_PURPOSE_VALIDATION_BIT: |
5802 | return "VK_TOOL_PURPOSE_VALIDATION_BIT" ; |
5803 | default: |
5804 | return "Unhandled VkToolPurposeFlagBits" ; |
5805 | } |
5806 | } |
5807 | |
5808 | static inline std::string string_VkToolPurposeFlags(VkToolPurposeFlags input_value) |
5809 | { |
5810 | std::string ret; |
5811 | int index = 0; |
5812 | while(input_value) { |
5813 | if (input_value & 1) { |
5814 | if( !ret.empty()) ret.append("|" ); |
5815 | ret.append(string_VkToolPurposeFlagBits(static_cast<VkToolPurposeFlagBits>(1U << index))); |
5816 | } |
5817 | ++index; |
5818 | input_value >>= 1; |
5819 | } |
5820 | if (ret.empty()) ret.append("VkToolPurposeFlags(0)" ); |
5821 | return ret; |
5822 | } |
5823 | |
5824 | static inline const char* string_VkPipelineStageFlagBits2(uint64_t input_value) |
5825 | { |
5826 | switch (input_value) |
5827 | { |
5828 | case VK_PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR: |
5829 | return "VK_PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR" ; |
5830 | case VK_PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHR: |
5831 | return "VK_PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHR" ; |
5832 | case VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT: |
5833 | return "VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT" ; |
5834 | case VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT: |
5835 | return "VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT" ; |
5836 | case VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT: |
5837 | return "VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT" ; |
5838 | case VK_PIPELINE_STAGE_2_BLIT_BIT: |
5839 | return "VK_PIPELINE_STAGE_2_BLIT_BIT" ; |
5840 | case VK_PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BIT: |
5841 | return "VK_PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BIT" ; |
5842 | case VK_PIPELINE_STAGE_2_CLEAR_BIT: |
5843 | return "VK_PIPELINE_STAGE_2_CLEAR_BIT" ; |
5844 | case VK_PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI: |
5845 | return "VK_PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI" ; |
5846 | case VK_PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT: |
5847 | return "VK_PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT" ; |
5848 | case VK_PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NV: |
5849 | return "VK_PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NV" ; |
5850 | case VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT: |
5851 | return "VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT" ; |
5852 | case VK_PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXT: |
5853 | return "VK_PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXT" ; |
5854 | case VK_PIPELINE_STAGE_2_COPY_BIT: |
5855 | return "VK_PIPELINE_STAGE_2_COPY_BIT" ; |
5856 | case VK_PIPELINE_STAGE_2_DRAW_INDIRECT_BIT: |
5857 | return "VK_PIPELINE_STAGE_2_DRAW_INDIRECT_BIT" ; |
5858 | case VK_PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BIT: |
5859 | return "VK_PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BIT" ; |
5860 | case VK_PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXT: |
5861 | return "VK_PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXT" ; |
5862 | case VK_PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT: |
5863 | return "VK_PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT" ; |
5864 | case VK_PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR: |
5865 | return "VK_PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR" ; |
5866 | case VK_PIPELINE_STAGE_2_GEOMETRY_SHADER_BIT: |
5867 | return "VK_PIPELINE_STAGE_2_GEOMETRY_SHADER_BIT" ; |
5868 | case VK_PIPELINE_STAGE_2_HOST_BIT: |
5869 | return "VK_PIPELINE_STAGE_2_HOST_BIT" ; |
5870 | case VK_PIPELINE_STAGE_2_INDEX_INPUT_BIT: |
5871 | return "VK_PIPELINE_STAGE_2_INDEX_INPUT_BIT" ; |
5872 | case VK_PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEI: |
5873 | return "VK_PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEI" ; |
5874 | case VK_PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BIT: |
5875 | return "VK_PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BIT" ; |
5876 | case VK_PIPELINE_STAGE_2_MESH_SHADER_BIT_EXT: |
5877 | return "VK_PIPELINE_STAGE_2_MESH_SHADER_BIT_EXT" ; |
5878 | case VK_PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXT: |
5879 | return "VK_PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXT" ; |
5880 | case VK_PIPELINE_STAGE_2_NONE: |
5881 | return "VK_PIPELINE_STAGE_2_NONE" ; |
5882 | case VK_PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NV: |
5883 | return "VK_PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NV" ; |
5884 | case VK_PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BIT: |
5885 | return "VK_PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BIT" ; |
5886 | case VK_PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR: |
5887 | return "VK_PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR" ; |
5888 | case VK_PIPELINE_STAGE_2_RESOLVE_BIT: |
5889 | return "VK_PIPELINE_STAGE_2_RESOLVE_BIT" ; |
5890 | case VK_PIPELINE_STAGE_2_SUBPASS_SHADING_BIT_HUAWEI: |
5891 | return "VK_PIPELINE_STAGE_2_SUBPASS_SHADING_BIT_HUAWEI" ; |
5892 | case VK_PIPELINE_STAGE_2_TASK_SHADER_BIT_EXT: |
5893 | return "VK_PIPELINE_STAGE_2_TASK_SHADER_BIT_EXT" ; |
5894 | case VK_PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BIT: |
5895 | return "VK_PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BIT" ; |
5896 | case VK_PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BIT: |
5897 | return "VK_PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BIT" ; |
5898 | case VK_PIPELINE_STAGE_2_TOP_OF_PIPE_BIT: |
5899 | return "VK_PIPELINE_STAGE_2_TOP_OF_PIPE_BIT" ; |
5900 | case VK_PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXT: |
5901 | return "VK_PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXT" ; |
5902 | case VK_PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BIT: |
5903 | return "VK_PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BIT" ; |
5904 | case VK_PIPELINE_STAGE_2_VERTEX_INPUT_BIT: |
5905 | return "VK_PIPELINE_STAGE_2_VERTEX_INPUT_BIT" ; |
5906 | case VK_PIPELINE_STAGE_2_VERTEX_SHADER_BIT: |
5907 | return "VK_PIPELINE_STAGE_2_VERTEX_SHADER_BIT" ; |
5908 | case VK_PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHR: |
5909 | return "VK_PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHR" ; |
5910 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
5911 | case VK_PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHR: |
5912 | return "VK_PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHR" ; |
5913 | #endif // VK_ENABLE_BETA_EXTENSIONS |
5914 | default: |
5915 | return "Unhandled VkPipelineStageFlagBits2" ; |
5916 | } |
5917 | } |
5918 | |
5919 | static inline std::string string_VkPipelineStageFlags2(VkPipelineStageFlags2 input_value) |
5920 | { |
5921 | std::string ret; |
5922 | int index = 0; |
5923 | while(input_value) { |
5924 | if (input_value & 1) { |
5925 | if( !ret.empty()) ret.append("|" ); |
5926 | ret.append(string_VkPipelineStageFlagBits2(static_cast<uint64_t>(1ULL << index))); |
5927 | } |
5928 | ++index; |
5929 | input_value >>= 1; |
5930 | } |
5931 | if (ret.empty()) ret.append("VkPipelineStageFlags2(0)" ); |
5932 | return ret; |
5933 | } |
5934 | |
5935 | static inline const char* string_VkAccessFlagBits2(uint64_t input_value) |
5936 | { |
5937 | switch (input_value) |
5938 | { |
5939 | case VK_ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHR: |
5940 | return "VK_ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHR" ; |
5941 | case VK_ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHR: |
5942 | return "VK_ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHR" ; |
5943 | case VK_ACCESS_2_COLOR_ATTACHMENT_READ_BIT: |
5944 | return "VK_ACCESS_2_COLOR_ATTACHMENT_READ_BIT" ; |
5945 | case VK_ACCESS_2_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT: |
5946 | return "VK_ACCESS_2_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT" ; |
5947 | case VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT: |
5948 | return "VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT" ; |
5949 | case VK_ACCESS_2_COMMAND_PREPROCESS_READ_BIT_NV: |
5950 | return "VK_ACCESS_2_COMMAND_PREPROCESS_READ_BIT_NV" ; |
5951 | case VK_ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_NV: |
5952 | return "VK_ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_NV" ; |
5953 | case VK_ACCESS_2_CONDITIONAL_RENDERING_READ_BIT_EXT: |
5954 | return "VK_ACCESS_2_CONDITIONAL_RENDERING_READ_BIT_EXT" ; |
5955 | case VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BIT: |
5956 | return "VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BIT" ; |
5957 | case VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT: |
5958 | return "VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT" ; |
5959 | case VK_ACCESS_2_DESCRIPTOR_BUFFER_READ_BIT_EXT: |
5960 | return "VK_ACCESS_2_DESCRIPTOR_BUFFER_READ_BIT_EXT" ; |
5961 | case VK_ACCESS_2_FRAGMENT_DENSITY_MAP_READ_BIT_EXT: |
5962 | return "VK_ACCESS_2_FRAGMENT_DENSITY_MAP_READ_BIT_EXT" ; |
5963 | case VK_ACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR: |
5964 | return "VK_ACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR" ; |
5965 | case VK_ACCESS_2_HOST_READ_BIT: |
5966 | return "VK_ACCESS_2_HOST_READ_BIT" ; |
5967 | case VK_ACCESS_2_HOST_WRITE_BIT: |
5968 | return "VK_ACCESS_2_HOST_WRITE_BIT" ; |
5969 | case VK_ACCESS_2_INDEX_READ_BIT: |
5970 | return "VK_ACCESS_2_INDEX_READ_BIT" ; |
5971 | case VK_ACCESS_2_INDIRECT_COMMAND_READ_BIT: |
5972 | return "VK_ACCESS_2_INDIRECT_COMMAND_READ_BIT" ; |
5973 | case VK_ACCESS_2_INPUT_ATTACHMENT_READ_BIT: |
5974 | return "VK_ACCESS_2_INPUT_ATTACHMENT_READ_BIT" ; |
5975 | case VK_ACCESS_2_INVOCATION_MASK_READ_BIT_HUAWEI: |
5976 | return "VK_ACCESS_2_INVOCATION_MASK_READ_BIT_HUAWEI" ; |
5977 | case VK_ACCESS_2_MEMORY_READ_BIT: |
5978 | return "VK_ACCESS_2_MEMORY_READ_BIT" ; |
5979 | case VK_ACCESS_2_MEMORY_WRITE_BIT: |
5980 | return "VK_ACCESS_2_MEMORY_WRITE_BIT" ; |
5981 | case VK_ACCESS_2_MICROMAP_READ_BIT_EXT: |
5982 | return "VK_ACCESS_2_MICROMAP_READ_BIT_EXT" ; |
5983 | case VK_ACCESS_2_MICROMAP_WRITE_BIT_EXT: |
5984 | return "VK_ACCESS_2_MICROMAP_WRITE_BIT_EXT" ; |
5985 | case VK_ACCESS_2_NONE: |
5986 | return "VK_ACCESS_2_NONE" ; |
5987 | case VK_ACCESS_2_OPTICAL_FLOW_READ_BIT_NV: |
5988 | return "VK_ACCESS_2_OPTICAL_FLOW_READ_BIT_NV" ; |
5989 | case VK_ACCESS_2_OPTICAL_FLOW_WRITE_BIT_NV: |
5990 | return "VK_ACCESS_2_OPTICAL_FLOW_WRITE_BIT_NV" ; |
5991 | case VK_ACCESS_2_SHADER_BINDING_TABLE_READ_BIT_KHR: |
5992 | return "VK_ACCESS_2_SHADER_BINDING_TABLE_READ_BIT_KHR" ; |
5993 | case VK_ACCESS_2_SHADER_READ_BIT: |
5994 | return "VK_ACCESS_2_SHADER_READ_BIT" ; |
5995 | case VK_ACCESS_2_SHADER_SAMPLED_READ_BIT: |
5996 | return "VK_ACCESS_2_SHADER_SAMPLED_READ_BIT" ; |
5997 | case VK_ACCESS_2_SHADER_STORAGE_READ_BIT: |
5998 | return "VK_ACCESS_2_SHADER_STORAGE_READ_BIT" ; |
5999 | case VK_ACCESS_2_SHADER_STORAGE_WRITE_BIT: |
6000 | return "VK_ACCESS_2_SHADER_STORAGE_WRITE_BIT" ; |
6001 | case VK_ACCESS_2_SHADER_WRITE_BIT: |
6002 | return "VK_ACCESS_2_SHADER_WRITE_BIT" ; |
6003 | case VK_ACCESS_2_TRANSFER_READ_BIT: |
6004 | return "VK_ACCESS_2_TRANSFER_READ_BIT" ; |
6005 | case VK_ACCESS_2_TRANSFER_WRITE_BIT: |
6006 | return "VK_ACCESS_2_TRANSFER_WRITE_BIT" ; |
6007 | case VK_ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT: |
6008 | return "VK_ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT" ; |
6009 | case VK_ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT: |
6010 | return "VK_ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT" ; |
6011 | case VK_ACCESS_2_TRANSFORM_FEEDBACK_WRITE_BIT_EXT: |
6012 | return "VK_ACCESS_2_TRANSFORM_FEEDBACK_WRITE_BIT_EXT" ; |
6013 | case VK_ACCESS_2_UNIFORM_READ_BIT: |
6014 | return "VK_ACCESS_2_UNIFORM_READ_BIT" ; |
6015 | case VK_ACCESS_2_VERTEX_ATTRIBUTE_READ_BIT: |
6016 | return "VK_ACCESS_2_VERTEX_ATTRIBUTE_READ_BIT" ; |
6017 | case VK_ACCESS_2_VIDEO_DECODE_READ_BIT_KHR: |
6018 | return "VK_ACCESS_2_VIDEO_DECODE_READ_BIT_KHR" ; |
6019 | case VK_ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHR: |
6020 | return "VK_ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHR" ; |
6021 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
6022 | case VK_ACCESS_2_VIDEO_ENCODE_READ_BIT_KHR: |
6023 | return "VK_ACCESS_2_VIDEO_ENCODE_READ_BIT_KHR" ; |
6024 | #endif // VK_ENABLE_BETA_EXTENSIONS |
6025 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
6026 | case VK_ACCESS_2_VIDEO_ENCODE_WRITE_BIT_KHR: |
6027 | return "VK_ACCESS_2_VIDEO_ENCODE_WRITE_BIT_KHR" ; |
6028 | #endif // VK_ENABLE_BETA_EXTENSIONS |
6029 | default: |
6030 | return "Unhandled VkAccessFlagBits2" ; |
6031 | } |
6032 | } |
6033 | |
6034 | static inline std::string string_VkAccessFlags2(VkAccessFlags2 input_value) |
6035 | { |
6036 | std::string ret; |
6037 | int index = 0; |
6038 | while(input_value) { |
6039 | if (input_value & 1) { |
6040 | if( !ret.empty()) ret.append("|" ); |
6041 | ret.append(string_VkAccessFlagBits2(static_cast<uint64_t>(1ULL << index))); |
6042 | } |
6043 | ++index; |
6044 | input_value >>= 1; |
6045 | } |
6046 | if (ret.empty()) ret.append("VkAccessFlags2(0)" ); |
6047 | return ret; |
6048 | } |
6049 | |
6050 | static inline const char* string_VkSubmitFlagBits(VkSubmitFlagBits input_value) |
6051 | { |
6052 | switch (input_value) |
6053 | { |
6054 | case VK_SUBMIT_PROTECTED_BIT: |
6055 | return "VK_SUBMIT_PROTECTED_BIT" ; |
6056 | default: |
6057 | return "Unhandled VkSubmitFlagBits" ; |
6058 | } |
6059 | } |
6060 | |
6061 | static inline std::string string_VkSubmitFlags(VkSubmitFlags input_value) |
6062 | { |
6063 | std::string ret; |
6064 | int index = 0; |
6065 | while(input_value) { |
6066 | if (input_value & 1) { |
6067 | if( !ret.empty()) ret.append("|" ); |
6068 | ret.append(string_VkSubmitFlagBits(static_cast<VkSubmitFlagBits>(1U << index))); |
6069 | } |
6070 | ++index; |
6071 | input_value >>= 1; |
6072 | } |
6073 | if (ret.empty()) ret.append("VkSubmitFlags(0)" ); |
6074 | return ret; |
6075 | } |
6076 | |
6077 | static inline const char* string_VkRenderingFlagBits(VkRenderingFlagBits input_value) |
6078 | { |
6079 | switch (input_value) |
6080 | { |
6081 | case VK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT: |
6082 | return "VK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT" ; |
6083 | case VK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXT: |
6084 | return "VK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXT" ; |
6085 | case VK_RENDERING_RESUMING_BIT: |
6086 | return "VK_RENDERING_RESUMING_BIT" ; |
6087 | case VK_RENDERING_SUSPENDING_BIT: |
6088 | return "VK_RENDERING_SUSPENDING_BIT" ; |
6089 | default: |
6090 | return "Unhandled VkRenderingFlagBits" ; |
6091 | } |
6092 | } |
6093 | |
6094 | static inline std::string string_VkRenderingFlags(VkRenderingFlags input_value) |
6095 | { |
6096 | std::string ret; |
6097 | int index = 0; |
6098 | while(input_value) { |
6099 | if (input_value & 1) { |
6100 | if( !ret.empty()) ret.append("|" ); |
6101 | ret.append(string_VkRenderingFlagBits(static_cast<VkRenderingFlagBits>(1U << index))); |
6102 | } |
6103 | ++index; |
6104 | input_value >>= 1; |
6105 | } |
6106 | if (ret.empty()) ret.append("VkRenderingFlags(0)" ); |
6107 | return ret; |
6108 | } |
6109 | |
6110 | static inline const char* string_VkFormatFeatureFlagBits2(uint64_t input_value) |
6111 | { |
6112 | switch (input_value) |
6113 | { |
6114 | case VK_FORMAT_FEATURE_2_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHR: |
6115 | return "VK_FORMAT_FEATURE_2_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHR" ; |
6116 | case VK_FORMAT_FEATURE_2_BLIT_DST_BIT: |
6117 | return "VK_FORMAT_FEATURE_2_BLIT_DST_BIT" ; |
6118 | case VK_FORMAT_FEATURE_2_BLIT_SRC_BIT: |
6119 | return "VK_FORMAT_FEATURE_2_BLIT_SRC_BIT" ; |
6120 | case VK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM: |
6121 | return "VK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM" ; |
6122 | case VK_FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOM: |
6123 | return "VK_FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOM" ; |
6124 | case VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BIT: |
6125 | return "VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BIT" ; |
6126 | case VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BIT: |
6127 | return "VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BIT" ; |
6128 | case VK_FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BIT: |
6129 | return "VK_FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BIT" ; |
6130 | case VK_FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BIT: |
6131 | return "VK_FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BIT" ; |
6132 | case VK_FORMAT_FEATURE_2_DISJOINT_BIT: |
6133 | return "VK_FORMAT_FEATURE_2_DISJOINT_BIT" ; |
6134 | case VK_FORMAT_FEATURE_2_FRAGMENT_DENSITY_MAP_BIT_EXT: |
6135 | return "VK_FORMAT_FEATURE_2_FRAGMENT_DENSITY_MAP_BIT_EXT" ; |
6136 | case VK_FORMAT_FEATURE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR: |
6137 | return "VK_FORMAT_FEATURE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR" ; |
6138 | case VK_FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NV: |
6139 | return "VK_FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NV" ; |
6140 | case VK_FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT: |
6141 | return "VK_FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT" ; |
6142 | case VK_FORMAT_FEATURE_2_OPTICAL_FLOW_COST_BIT_NV: |
6143 | return "VK_FORMAT_FEATURE_2_OPTICAL_FLOW_COST_BIT_NV" ; |
6144 | case VK_FORMAT_FEATURE_2_OPTICAL_FLOW_IMAGE_BIT_NV: |
6145 | return "VK_FORMAT_FEATURE_2_OPTICAL_FLOW_IMAGE_BIT_NV" ; |
6146 | case VK_FORMAT_FEATURE_2_OPTICAL_FLOW_VECTOR_BIT_NV: |
6147 | return "VK_FORMAT_FEATURE_2_OPTICAL_FLOW_VECTOR_BIT_NV" ; |
6148 | case VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_BIT: |
6149 | return "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_BIT" ; |
6150 | case VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BIT: |
6151 | return "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BIT" ; |
6152 | case VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BIT: |
6153 | return "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BIT" ; |
6154 | case VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BIT: |
6155 | return "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BIT" ; |
6156 | case VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BIT: |
6157 | return "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BIT" ; |
6158 | case VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT: |
6159 | return "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT" ; |
6160 | case VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT: |
6161 | return "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT" ; |
6162 | case VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT: |
6163 | return "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT" ; |
6164 | case VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT: |
6165 | return "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT" ; |
6166 | case VK_FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BIT: |
6167 | return "VK_FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BIT" ; |
6168 | case VK_FORMAT_FEATURE_2_STORAGE_IMAGE_BIT: |
6169 | return "VK_FORMAT_FEATURE_2_STORAGE_IMAGE_BIT" ; |
6170 | case VK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT: |
6171 | return "VK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT" ; |
6172 | case VK_FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BIT: |
6173 | return "VK_FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BIT" ; |
6174 | case VK_FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BIT: |
6175 | return "VK_FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BIT" ; |
6176 | case VK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT: |
6177 | return "VK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT" ; |
6178 | case VK_FORMAT_FEATURE_2_TRANSFER_DST_BIT: |
6179 | return "VK_FORMAT_FEATURE_2_TRANSFER_DST_BIT" ; |
6180 | case VK_FORMAT_FEATURE_2_TRANSFER_SRC_BIT: |
6181 | return "VK_FORMAT_FEATURE_2_TRANSFER_SRC_BIT" ; |
6182 | case VK_FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BIT: |
6183 | return "VK_FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BIT" ; |
6184 | case VK_FORMAT_FEATURE_2_VERTEX_BUFFER_BIT: |
6185 | return "VK_FORMAT_FEATURE_2_VERTEX_BUFFER_BIT" ; |
6186 | case VK_FORMAT_FEATURE_2_VIDEO_DECODE_DPB_BIT_KHR: |
6187 | return "VK_FORMAT_FEATURE_2_VIDEO_DECODE_DPB_BIT_KHR" ; |
6188 | case VK_FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHR: |
6189 | return "VK_FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHR" ; |
6190 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
6191 | case VK_FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHR: |
6192 | return "VK_FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHR" ; |
6193 | #endif // VK_ENABLE_BETA_EXTENSIONS |
6194 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
6195 | case VK_FORMAT_FEATURE_2_VIDEO_ENCODE_INPUT_BIT_KHR: |
6196 | return "VK_FORMAT_FEATURE_2_VIDEO_ENCODE_INPUT_BIT_KHR" ; |
6197 | #endif // VK_ENABLE_BETA_EXTENSIONS |
6198 | case VK_FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOM: |
6199 | return "VK_FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOM" ; |
6200 | case VK_FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOM: |
6201 | return "VK_FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOM" ; |
6202 | default: |
6203 | return "Unhandled VkFormatFeatureFlagBits2" ; |
6204 | } |
6205 | } |
6206 | |
6207 | static inline std::string string_VkFormatFeatureFlags2(VkFormatFeatureFlags2 input_value) |
6208 | { |
6209 | std::string ret; |
6210 | int index = 0; |
6211 | while(input_value) { |
6212 | if (input_value & 1) { |
6213 | if( !ret.empty()) ret.append("|" ); |
6214 | ret.append(string_VkFormatFeatureFlagBits2(static_cast<uint64_t>(1ULL << index))); |
6215 | } |
6216 | ++index; |
6217 | input_value >>= 1; |
6218 | } |
6219 | if (ret.empty()) ret.append("VkFormatFeatureFlags2(0)" ); |
6220 | return ret; |
6221 | } |
6222 | |
6223 | static inline const char* string_VkSurfaceTransformFlagBitsKHR(VkSurfaceTransformFlagBitsKHR input_value) |
6224 | { |
6225 | switch (input_value) |
6226 | { |
6227 | case VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_BIT_KHR: |
6228 | return "VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_BIT_KHR" ; |
6229 | case VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_180_BIT_KHR: |
6230 | return "VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_180_BIT_KHR" ; |
6231 | case VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_270_BIT_KHR: |
6232 | return "VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_270_BIT_KHR" ; |
6233 | case VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_90_BIT_KHR: |
6234 | return "VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_90_BIT_KHR" ; |
6235 | case VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR: |
6236 | return "VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR" ; |
6237 | case VK_SURFACE_TRANSFORM_INHERIT_BIT_KHR: |
6238 | return "VK_SURFACE_TRANSFORM_INHERIT_BIT_KHR" ; |
6239 | case VK_SURFACE_TRANSFORM_ROTATE_180_BIT_KHR: |
6240 | return "VK_SURFACE_TRANSFORM_ROTATE_180_BIT_KHR" ; |
6241 | case VK_SURFACE_TRANSFORM_ROTATE_270_BIT_KHR: |
6242 | return "VK_SURFACE_TRANSFORM_ROTATE_270_BIT_KHR" ; |
6243 | case VK_SURFACE_TRANSFORM_ROTATE_90_BIT_KHR: |
6244 | return "VK_SURFACE_TRANSFORM_ROTATE_90_BIT_KHR" ; |
6245 | default: |
6246 | return "Unhandled VkSurfaceTransformFlagBitsKHR" ; |
6247 | } |
6248 | } |
6249 | |
6250 | static inline std::string string_VkSurfaceTransformFlagsKHR(VkSurfaceTransformFlagsKHR input_value) |
6251 | { |
6252 | std::string ret; |
6253 | int index = 0; |
6254 | while(input_value) { |
6255 | if (input_value & 1) { |
6256 | if( !ret.empty()) ret.append("|" ); |
6257 | ret.append(string_VkSurfaceTransformFlagBitsKHR(static_cast<VkSurfaceTransformFlagBitsKHR>(1U << index))); |
6258 | } |
6259 | ++index; |
6260 | input_value >>= 1; |
6261 | } |
6262 | if (ret.empty()) ret.append("VkSurfaceTransformFlagsKHR(0)" ); |
6263 | return ret; |
6264 | } |
6265 | |
6266 | static inline const char* string_VkPresentModeKHR(VkPresentModeKHR input_value) |
6267 | { |
6268 | switch (input_value) |
6269 | { |
6270 | case VK_PRESENT_MODE_FIFO_KHR: |
6271 | return "VK_PRESENT_MODE_FIFO_KHR" ; |
6272 | case VK_PRESENT_MODE_FIFO_RELAXED_KHR: |
6273 | return "VK_PRESENT_MODE_FIFO_RELAXED_KHR" ; |
6274 | case VK_PRESENT_MODE_IMMEDIATE_KHR: |
6275 | return "VK_PRESENT_MODE_IMMEDIATE_KHR" ; |
6276 | case VK_PRESENT_MODE_MAILBOX_KHR: |
6277 | return "VK_PRESENT_MODE_MAILBOX_KHR" ; |
6278 | case VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR: |
6279 | return "VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR" ; |
6280 | case VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR: |
6281 | return "VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR" ; |
6282 | default: |
6283 | return "Unhandled VkPresentModeKHR" ; |
6284 | } |
6285 | } |
6286 | |
6287 | static inline const char* string_VkColorSpaceKHR(VkColorSpaceKHR input_value) |
6288 | { |
6289 | switch (input_value) |
6290 | { |
6291 | case VK_COLOR_SPACE_ADOBERGB_LINEAR_EXT: |
6292 | return "VK_COLOR_SPACE_ADOBERGB_LINEAR_EXT" ; |
6293 | case VK_COLOR_SPACE_ADOBERGB_NONLINEAR_EXT: |
6294 | return "VK_COLOR_SPACE_ADOBERGB_NONLINEAR_EXT" ; |
6295 | case VK_COLOR_SPACE_BT2020_LINEAR_EXT: |
6296 | return "VK_COLOR_SPACE_BT2020_LINEAR_EXT" ; |
6297 | case VK_COLOR_SPACE_BT709_LINEAR_EXT: |
6298 | return "VK_COLOR_SPACE_BT709_LINEAR_EXT" ; |
6299 | case VK_COLOR_SPACE_BT709_NONLINEAR_EXT: |
6300 | return "VK_COLOR_SPACE_BT709_NONLINEAR_EXT" ; |
6301 | case VK_COLOR_SPACE_DCI_P3_NONLINEAR_EXT: |
6302 | return "VK_COLOR_SPACE_DCI_P3_NONLINEAR_EXT" ; |
6303 | case VK_COLOR_SPACE_DISPLAY_NATIVE_AMD: |
6304 | return "VK_COLOR_SPACE_DISPLAY_NATIVE_AMD" ; |
6305 | case VK_COLOR_SPACE_DISPLAY_P3_LINEAR_EXT: |
6306 | return "VK_COLOR_SPACE_DISPLAY_P3_LINEAR_EXT" ; |
6307 | case VK_COLOR_SPACE_DISPLAY_P3_NONLINEAR_EXT: |
6308 | return "VK_COLOR_SPACE_DISPLAY_P3_NONLINEAR_EXT" ; |
6309 | case VK_COLOR_SPACE_DOLBYVISION_EXT: |
6310 | return "VK_COLOR_SPACE_DOLBYVISION_EXT" ; |
6311 | case VK_COLOR_SPACE_EXTENDED_SRGB_LINEAR_EXT: |
6312 | return "VK_COLOR_SPACE_EXTENDED_SRGB_LINEAR_EXT" ; |
6313 | case VK_COLOR_SPACE_EXTENDED_SRGB_NONLINEAR_EXT: |
6314 | return "VK_COLOR_SPACE_EXTENDED_SRGB_NONLINEAR_EXT" ; |
6315 | case VK_COLOR_SPACE_HDR10_HLG_EXT: |
6316 | return "VK_COLOR_SPACE_HDR10_HLG_EXT" ; |
6317 | case VK_COLOR_SPACE_HDR10_ST2084_EXT: |
6318 | return "VK_COLOR_SPACE_HDR10_ST2084_EXT" ; |
6319 | case VK_COLOR_SPACE_PASS_THROUGH_EXT: |
6320 | return "VK_COLOR_SPACE_PASS_THROUGH_EXT" ; |
6321 | case VK_COLOR_SPACE_SRGB_NONLINEAR_KHR: |
6322 | return "VK_COLOR_SPACE_SRGB_NONLINEAR_KHR" ; |
6323 | default: |
6324 | return "Unhandled VkColorSpaceKHR" ; |
6325 | } |
6326 | } |
6327 | |
6328 | static inline const char* string_VkCompositeAlphaFlagBitsKHR(VkCompositeAlphaFlagBitsKHR input_value) |
6329 | { |
6330 | switch (input_value) |
6331 | { |
6332 | case VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR: |
6333 | return "VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR" ; |
6334 | case VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR: |
6335 | return "VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR" ; |
6336 | case VK_COMPOSITE_ALPHA_POST_MULTIPLIED_BIT_KHR: |
6337 | return "VK_COMPOSITE_ALPHA_POST_MULTIPLIED_BIT_KHR" ; |
6338 | case VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR: |
6339 | return "VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR" ; |
6340 | default: |
6341 | return "Unhandled VkCompositeAlphaFlagBitsKHR" ; |
6342 | } |
6343 | } |
6344 | |
6345 | static inline std::string string_VkCompositeAlphaFlagsKHR(VkCompositeAlphaFlagsKHR input_value) |
6346 | { |
6347 | std::string ret; |
6348 | int index = 0; |
6349 | while(input_value) { |
6350 | if (input_value & 1) { |
6351 | if( !ret.empty()) ret.append("|" ); |
6352 | ret.append(string_VkCompositeAlphaFlagBitsKHR(static_cast<VkCompositeAlphaFlagBitsKHR>(1U << index))); |
6353 | } |
6354 | ++index; |
6355 | input_value >>= 1; |
6356 | } |
6357 | if (ret.empty()) ret.append("VkCompositeAlphaFlagsKHR(0)" ); |
6358 | return ret; |
6359 | } |
6360 | |
6361 | static inline const char* string_VkSwapchainCreateFlagBitsKHR(VkSwapchainCreateFlagBitsKHR input_value) |
6362 | { |
6363 | switch (input_value) |
6364 | { |
6365 | case VK_SWAPCHAIN_CREATE_DEFERRED_MEMORY_ALLOCATION_BIT_EXT: |
6366 | return "VK_SWAPCHAIN_CREATE_DEFERRED_MEMORY_ALLOCATION_BIT_EXT" ; |
6367 | case VK_SWAPCHAIN_CREATE_MUTABLE_FORMAT_BIT_KHR: |
6368 | return "VK_SWAPCHAIN_CREATE_MUTABLE_FORMAT_BIT_KHR" ; |
6369 | case VK_SWAPCHAIN_CREATE_PROTECTED_BIT_KHR: |
6370 | return "VK_SWAPCHAIN_CREATE_PROTECTED_BIT_KHR" ; |
6371 | case VK_SWAPCHAIN_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT_KHR: |
6372 | return "VK_SWAPCHAIN_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT_KHR" ; |
6373 | default: |
6374 | return "Unhandled VkSwapchainCreateFlagBitsKHR" ; |
6375 | } |
6376 | } |
6377 | |
6378 | static inline std::string string_VkSwapchainCreateFlagsKHR(VkSwapchainCreateFlagsKHR input_value) |
6379 | { |
6380 | std::string ret; |
6381 | int index = 0; |
6382 | while(input_value) { |
6383 | if (input_value & 1) { |
6384 | if( !ret.empty()) ret.append("|" ); |
6385 | ret.append(string_VkSwapchainCreateFlagBitsKHR(static_cast<VkSwapchainCreateFlagBitsKHR>(1U << index))); |
6386 | } |
6387 | ++index; |
6388 | input_value >>= 1; |
6389 | } |
6390 | if (ret.empty()) ret.append("VkSwapchainCreateFlagsKHR(0)" ); |
6391 | return ret; |
6392 | } |
6393 | |
6394 | static inline const char* string_VkDeviceGroupPresentModeFlagBitsKHR(VkDeviceGroupPresentModeFlagBitsKHR input_value) |
6395 | { |
6396 | switch (input_value) |
6397 | { |
6398 | case VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_BIT_KHR: |
6399 | return "VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_BIT_KHR" ; |
6400 | case VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_MULTI_DEVICE_BIT_KHR: |
6401 | return "VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_MULTI_DEVICE_BIT_KHR" ; |
6402 | case VK_DEVICE_GROUP_PRESENT_MODE_REMOTE_BIT_KHR: |
6403 | return "VK_DEVICE_GROUP_PRESENT_MODE_REMOTE_BIT_KHR" ; |
6404 | case VK_DEVICE_GROUP_PRESENT_MODE_SUM_BIT_KHR: |
6405 | return "VK_DEVICE_GROUP_PRESENT_MODE_SUM_BIT_KHR" ; |
6406 | default: |
6407 | return "Unhandled VkDeviceGroupPresentModeFlagBitsKHR" ; |
6408 | } |
6409 | } |
6410 | |
6411 | static inline std::string string_VkDeviceGroupPresentModeFlagsKHR(VkDeviceGroupPresentModeFlagsKHR input_value) |
6412 | { |
6413 | std::string ret; |
6414 | int index = 0; |
6415 | while(input_value) { |
6416 | if (input_value & 1) { |
6417 | if( !ret.empty()) ret.append("|" ); |
6418 | ret.append(string_VkDeviceGroupPresentModeFlagBitsKHR(static_cast<VkDeviceGroupPresentModeFlagBitsKHR>(1U << index))); |
6419 | } |
6420 | ++index; |
6421 | input_value >>= 1; |
6422 | } |
6423 | if (ret.empty()) ret.append("VkDeviceGroupPresentModeFlagsKHR(0)" ); |
6424 | return ret; |
6425 | } |
6426 | |
6427 | static inline const char* string_VkDisplayPlaneAlphaFlagBitsKHR(VkDisplayPlaneAlphaFlagBitsKHR input_value) |
6428 | { |
6429 | switch (input_value) |
6430 | { |
6431 | case VK_DISPLAY_PLANE_ALPHA_GLOBAL_BIT_KHR: |
6432 | return "VK_DISPLAY_PLANE_ALPHA_GLOBAL_BIT_KHR" ; |
6433 | case VK_DISPLAY_PLANE_ALPHA_OPAQUE_BIT_KHR: |
6434 | return "VK_DISPLAY_PLANE_ALPHA_OPAQUE_BIT_KHR" ; |
6435 | case VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_BIT_KHR: |
6436 | return "VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_BIT_KHR" ; |
6437 | case VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_PREMULTIPLIED_BIT_KHR: |
6438 | return "VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_PREMULTIPLIED_BIT_KHR" ; |
6439 | default: |
6440 | return "Unhandled VkDisplayPlaneAlphaFlagBitsKHR" ; |
6441 | } |
6442 | } |
6443 | |
6444 | static inline std::string string_VkDisplayPlaneAlphaFlagsKHR(VkDisplayPlaneAlphaFlagsKHR input_value) |
6445 | { |
6446 | std::string ret; |
6447 | int index = 0; |
6448 | while(input_value) { |
6449 | if (input_value & 1) { |
6450 | if( !ret.empty()) ret.append("|" ); |
6451 | ret.append(string_VkDisplayPlaneAlphaFlagBitsKHR(static_cast<VkDisplayPlaneAlphaFlagBitsKHR>(1U << index))); |
6452 | } |
6453 | ++index; |
6454 | input_value >>= 1; |
6455 | } |
6456 | if (ret.empty()) ret.append("VkDisplayPlaneAlphaFlagsKHR(0)" ); |
6457 | return ret; |
6458 | } |
6459 | |
6460 | static inline const char* string_VkVideoCodecOperationFlagBitsKHR(VkVideoCodecOperationFlagBitsKHR input_value) |
6461 | { |
6462 | switch (input_value) |
6463 | { |
6464 | case VK_VIDEO_CODEC_OPERATION_DECODE_H264_BIT_KHR: |
6465 | return "VK_VIDEO_CODEC_OPERATION_DECODE_H264_BIT_KHR" ; |
6466 | case VK_VIDEO_CODEC_OPERATION_DECODE_H265_BIT_KHR: |
6467 | return "VK_VIDEO_CODEC_OPERATION_DECODE_H265_BIT_KHR" ; |
6468 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
6469 | case VK_VIDEO_CODEC_OPERATION_ENCODE_H264_BIT_EXT: |
6470 | return "VK_VIDEO_CODEC_OPERATION_ENCODE_H264_BIT_EXT" ; |
6471 | #endif // VK_ENABLE_BETA_EXTENSIONS |
6472 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
6473 | case VK_VIDEO_CODEC_OPERATION_ENCODE_H265_BIT_EXT: |
6474 | return "VK_VIDEO_CODEC_OPERATION_ENCODE_H265_BIT_EXT" ; |
6475 | #endif // VK_ENABLE_BETA_EXTENSIONS |
6476 | case VK_VIDEO_CODEC_OPERATION_NONE_KHR: |
6477 | return "VK_VIDEO_CODEC_OPERATION_NONE_KHR" ; |
6478 | default: |
6479 | return "Unhandled VkVideoCodecOperationFlagBitsKHR" ; |
6480 | } |
6481 | } |
6482 | |
6483 | static inline std::string string_VkVideoCodecOperationFlagsKHR(VkVideoCodecOperationFlagsKHR input_value) |
6484 | { |
6485 | std::string ret; |
6486 | int index = 0; |
6487 | while(input_value) { |
6488 | if (input_value & 1) { |
6489 | if( !ret.empty()) ret.append("|" ); |
6490 | ret.append(string_VkVideoCodecOperationFlagBitsKHR(static_cast<VkVideoCodecOperationFlagBitsKHR>(1U << index))); |
6491 | } |
6492 | ++index; |
6493 | input_value >>= 1; |
6494 | } |
6495 | if (ret.empty()) ret.append("VkVideoCodecOperationFlagsKHR(0)" ); |
6496 | return ret; |
6497 | } |
6498 | |
6499 | static inline const char* string_VkVideoChromaSubsamplingFlagBitsKHR(VkVideoChromaSubsamplingFlagBitsKHR input_value) |
6500 | { |
6501 | switch (input_value) |
6502 | { |
6503 | case VK_VIDEO_CHROMA_SUBSAMPLING_420_BIT_KHR: |
6504 | return "VK_VIDEO_CHROMA_SUBSAMPLING_420_BIT_KHR" ; |
6505 | case VK_VIDEO_CHROMA_SUBSAMPLING_422_BIT_KHR: |
6506 | return "VK_VIDEO_CHROMA_SUBSAMPLING_422_BIT_KHR" ; |
6507 | case VK_VIDEO_CHROMA_SUBSAMPLING_444_BIT_KHR: |
6508 | return "VK_VIDEO_CHROMA_SUBSAMPLING_444_BIT_KHR" ; |
6509 | case VK_VIDEO_CHROMA_SUBSAMPLING_INVALID_KHR: |
6510 | return "VK_VIDEO_CHROMA_SUBSAMPLING_INVALID_KHR" ; |
6511 | case VK_VIDEO_CHROMA_SUBSAMPLING_MONOCHROME_BIT_KHR: |
6512 | return "VK_VIDEO_CHROMA_SUBSAMPLING_MONOCHROME_BIT_KHR" ; |
6513 | default: |
6514 | return "Unhandled VkVideoChromaSubsamplingFlagBitsKHR" ; |
6515 | } |
6516 | } |
6517 | |
6518 | static inline std::string string_VkVideoChromaSubsamplingFlagsKHR(VkVideoChromaSubsamplingFlagsKHR input_value) |
6519 | { |
6520 | std::string ret; |
6521 | int index = 0; |
6522 | while(input_value) { |
6523 | if (input_value & 1) { |
6524 | if( !ret.empty()) ret.append("|" ); |
6525 | ret.append(string_VkVideoChromaSubsamplingFlagBitsKHR(static_cast<VkVideoChromaSubsamplingFlagBitsKHR>(1U << index))); |
6526 | } |
6527 | ++index; |
6528 | input_value >>= 1; |
6529 | } |
6530 | if (ret.empty()) ret.append("VkVideoChromaSubsamplingFlagsKHR(0)" ); |
6531 | return ret; |
6532 | } |
6533 | |
6534 | static inline const char* string_VkVideoComponentBitDepthFlagBitsKHR(VkVideoComponentBitDepthFlagBitsKHR input_value) |
6535 | { |
6536 | switch (input_value) |
6537 | { |
6538 | case VK_VIDEO_COMPONENT_BIT_DEPTH_10_BIT_KHR: |
6539 | return "VK_VIDEO_COMPONENT_BIT_DEPTH_10_BIT_KHR" ; |
6540 | case VK_VIDEO_COMPONENT_BIT_DEPTH_12_BIT_KHR: |
6541 | return "VK_VIDEO_COMPONENT_BIT_DEPTH_12_BIT_KHR" ; |
6542 | case VK_VIDEO_COMPONENT_BIT_DEPTH_8_BIT_KHR: |
6543 | return "VK_VIDEO_COMPONENT_BIT_DEPTH_8_BIT_KHR" ; |
6544 | case VK_VIDEO_COMPONENT_BIT_DEPTH_INVALID_KHR: |
6545 | return "VK_VIDEO_COMPONENT_BIT_DEPTH_INVALID_KHR" ; |
6546 | default: |
6547 | return "Unhandled VkVideoComponentBitDepthFlagBitsKHR" ; |
6548 | } |
6549 | } |
6550 | |
6551 | static inline std::string string_VkVideoComponentBitDepthFlagsKHR(VkVideoComponentBitDepthFlagsKHR input_value) |
6552 | { |
6553 | std::string ret; |
6554 | int index = 0; |
6555 | while(input_value) { |
6556 | if (input_value & 1) { |
6557 | if( !ret.empty()) ret.append("|" ); |
6558 | ret.append(string_VkVideoComponentBitDepthFlagBitsKHR(static_cast<VkVideoComponentBitDepthFlagBitsKHR>(1U << index))); |
6559 | } |
6560 | ++index; |
6561 | input_value >>= 1; |
6562 | } |
6563 | if (ret.empty()) ret.append("VkVideoComponentBitDepthFlagsKHR(0)" ); |
6564 | return ret; |
6565 | } |
6566 | |
6567 | static inline const char* string_VkVideoCapabilityFlagBitsKHR(VkVideoCapabilityFlagBitsKHR input_value) |
6568 | { |
6569 | switch (input_value) |
6570 | { |
6571 | case VK_VIDEO_CAPABILITY_PROTECTED_CONTENT_BIT_KHR: |
6572 | return "VK_VIDEO_CAPABILITY_PROTECTED_CONTENT_BIT_KHR" ; |
6573 | case VK_VIDEO_CAPABILITY_SEPARATE_REFERENCE_IMAGES_BIT_KHR: |
6574 | return "VK_VIDEO_CAPABILITY_SEPARATE_REFERENCE_IMAGES_BIT_KHR" ; |
6575 | default: |
6576 | return "Unhandled VkVideoCapabilityFlagBitsKHR" ; |
6577 | } |
6578 | } |
6579 | |
6580 | static inline std::string string_VkVideoCapabilityFlagsKHR(VkVideoCapabilityFlagsKHR input_value) |
6581 | { |
6582 | std::string ret; |
6583 | int index = 0; |
6584 | while(input_value) { |
6585 | if (input_value & 1) { |
6586 | if( !ret.empty()) ret.append("|" ); |
6587 | ret.append(string_VkVideoCapabilityFlagBitsKHR(static_cast<VkVideoCapabilityFlagBitsKHR>(1U << index))); |
6588 | } |
6589 | ++index; |
6590 | input_value >>= 1; |
6591 | } |
6592 | if (ret.empty()) ret.append("VkVideoCapabilityFlagsKHR(0)" ); |
6593 | return ret; |
6594 | } |
6595 | |
6596 | static inline const char* string_VkVideoSessionCreateFlagBitsKHR(VkVideoSessionCreateFlagBitsKHR input_value) |
6597 | { |
6598 | switch (input_value) |
6599 | { |
6600 | case VK_VIDEO_SESSION_CREATE_PROTECTED_CONTENT_BIT_KHR: |
6601 | return "VK_VIDEO_SESSION_CREATE_PROTECTED_CONTENT_BIT_KHR" ; |
6602 | default: |
6603 | return "Unhandled VkVideoSessionCreateFlagBitsKHR" ; |
6604 | } |
6605 | } |
6606 | |
6607 | static inline std::string string_VkVideoSessionCreateFlagsKHR(VkVideoSessionCreateFlagsKHR input_value) |
6608 | { |
6609 | std::string ret; |
6610 | int index = 0; |
6611 | while(input_value) { |
6612 | if (input_value & 1) { |
6613 | if( !ret.empty()) ret.append("|" ); |
6614 | ret.append(string_VkVideoSessionCreateFlagBitsKHR(static_cast<VkVideoSessionCreateFlagBitsKHR>(1U << index))); |
6615 | } |
6616 | ++index; |
6617 | input_value >>= 1; |
6618 | } |
6619 | if (ret.empty()) ret.append("VkVideoSessionCreateFlagsKHR(0)" ); |
6620 | return ret; |
6621 | } |
6622 | |
6623 | static inline const char* string_VkVideoCodingControlFlagBitsKHR(VkVideoCodingControlFlagBitsKHR input_value) |
6624 | { |
6625 | switch (input_value) |
6626 | { |
6627 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
6628 | case VK_VIDEO_CODING_CONTROL_ENCODE_RATE_CONTROL_BIT_KHR: |
6629 | return "VK_VIDEO_CODING_CONTROL_ENCODE_RATE_CONTROL_BIT_KHR" ; |
6630 | #endif // VK_ENABLE_BETA_EXTENSIONS |
6631 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
6632 | case VK_VIDEO_CODING_CONTROL_ENCODE_RATE_CONTROL_LAYER_BIT_KHR: |
6633 | return "VK_VIDEO_CODING_CONTROL_ENCODE_RATE_CONTROL_LAYER_BIT_KHR" ; |
6634 | #endif // VK_ENABLE_BETA_EXTENSIONS |
6635 | case VK_VIDEO_CODING_CONTROL_RESET_BIT_KHR: |
6636 | return "VK_VIDEO_CODING_CONTROL_RESET_BIT_KHR" ; |
6637 | default: |
6638 | return "Unhandled VkVideoCodingControlFlagBitsKHR" ; |
6639 | } |
6640 | } |
6641 | |
6642 | static inline std::string string_VkVideoCodingControlFlagsKHR(VkVideoCodingControlFlagsKHR input_value) |
6643 | { |
6644 | std::string ret; |
6645 | int index = 0; |
6646 | while(input_value) { |
6647 | if (input_value & 1) { |
6648 | if( !ret.empty()) ret.append("|" ); |
6649 | ret.append(string_VkVideoCodingControlFlagBitsKHR(static_cast<VkVideoCodingControlFlagBitsKHR>(1U << index))); |
6650 | } |
6651 | ++index; |
6652 | input_value >>= 1; |
6653 | } |
6654 | if (ret.empty()) ret.append("VkVideoCodingControlFlagsKHR(0)" ); |
6655 | return ret; |
6656 | } |
6657 | |
6658 | static inline const char* string_VkQueryResultStatusKHR(VkQueryResultStatusKHR input_value) |
6659 | { |
6660 | switch (input_value) |
6661 | { |
6662 | case VK_QUERY_RESULT_STATUS_COMPLETE_KHR: |
6663 | return "VK_QUERY_RESULT_STATUS_COMPLETE_KHR" ; |
6664 | case VK_QUERY_RESULT_STATUS_ERROR_KHR: |
6665 | return "VK_QUERY_RESULT_STATUS_ERROR_KHR" ; |
6666 | case VK_QUERY_RESULT_STATUS_NOT_READY_KHR: |
6667 | return "VK_QUERY_RESULT_STATUS_NOT_READY_KHR" ; |
6668 | default: |
6669 | return "Unhandled VkQueryResultStatusKHR" ; |
6670 | } |
6671 | } |
6672 | |
6673 | static inline const char* string_VkVideoDecodeCapabilityFlagBitsKHR(VkVideoDecodeCapabilityFlagBitsKHR input_value) |
6674 | { |
6675 | switch (input_value) |
6676 | { |
6677 | case VK_VIDEO_DECODE_CAPABILITY_DPB_AND_OUTPUT_COINCIDE_BIT_KHR: |
6678 | return "VK_VIDEO_DECODE_CAPABILITY_DPB_AND_OUTPUT_COINCIDE_BIT_KHR" ; |
6679 | case VK_VIDEO_DECODE_CAPABILITY_DPB_AND_OUTPUT_DISTINCT_BIT_KHR: |
6680 | return "VK_VIDEO_DECODE_CAPABILITY_DPB_AND_OUTPUT_DISTINCT_BIT_KHR" ; |
6681 | default: |
6682 | return "Unhandled VkVideoDecodeCapabilityFlagBitsKHR" ; |
6683 | } |
6684 | } |
6685 | |
6686 | static inline std::string string_VkVideoDecodeCapabilityFlagsKHR(VkVideoDecodeCapabilityFlagsKHR input_value) |
6687 | { |
6688 | std::string ret; |
6689 | int index = 0; |
6690 | while(input_value) { |
6691 | if (input_value & 1) { |
6692 | if( !ret.empty()) ret.append("|" ); |
6693 | ret.append(string_VkVideoDecodeCapabilityFlagBitsKHR(static_cast<VkVideoDecodeCapabilityFlagBitsKHR>(1U << index))); |
6694 | } |
6695 | ++index; |
6696 | input_value >>= 1; |
6697 | } |
6698 | if (ret.empty()) ret.append("VkVideoDecodeCapabilityFlagsKHR(0)" ); |
6699 | return ret; |
6700 | } |
6701 | |
6702 | static inline const char* string_VkVideoDecodeUsageFlagBitsKHR(VkVideoDecodeUsageFlagBitsKHR input_value) |
6703 | { |
6704 | switch (input_value) |
6705 | { |
6706 | case VK_VIDEO_DECODE_USAGE_DEFAULT_KHR: |
6707 | return "VK_VIDEO_DECODE_USAGE_DEFAULT_KHR" ; |
6708 | case VK_VIDEO_DECODE_USAGE_OFFLINE_BIT_KHR: |
6709 | return "VK_VIDEO_DECODE_USAGE_OFFLINE_BIT_KHR" ; |
6710 | case VK_VIDEO_DECODE_USAGE_STREAMING_BIT_KHR: |
6711 | return "VK_VIDEO_DECODE_USAGE_STREAMING_BIT_KHR" ; |
6712 | case VK_VIDEO_DECODE_USAGE_TRANSCODING_BIT_KHR: |
6713 | return "VK_VIDEO_DECODE_USAGE_TRANSCODING_BIT_KHR" ; |
6714 | default: |
6715 | return "Unhandled VkVideoDecodeUsageFlagBitsKHR" ; |
6716 | } |
6717 | } |
6718 | |
6719 | static inline std::string string_VkVideoDecodeUsageFlagsKHR(VkVideoDecodeUsageFlagsKHR input_value) |
6720 | { |
6721 | std::string ret; |
6722 | int index = 0; |
6723 | while(input_value) { |
6724 | if (input_value & 1) { |
6725 | if( !ret.empty()) ret.append("|" ); |
6726 | ret.append(string_VkVideoDecodeUsageFlagBitsKHR(static_cast<VkVideoDecodeUsageFlagBitsKHR>(1U << index))); |
6727 | } |
6728 | ++index; |
6729 | input_value >>= 1; |
6730 | } |
6731 | if (ret.empty()) ret.append("VkVideoDecodeUsageFlagsKHR(0)" ); |
6732 | return ret; |
6733 | } |
6734 | |
6735 | static inline const char* string_VkVideoDecodeH264PictureLayoutFlagBitsKHR(VkVideoDecodeH264PictureLayoutFlagBitsKHR input_value) |
6736 | { |
6737 | switch (input_value) |
6738 | { |
6739 | case VK_VIDEO_DECODE_H264_PICTURE_LAYOUT_INTERLACED_INTERLEAVED_LINES_BIT_KHR: |
6740 | return "VK_VIDEO_DECODE_H264_PICTURE_LAYOUT_INTERLACED_INTERLEAVED_LINES_BIT_KHR" ; |
6741 | case VK_VIDEO_DECODE_H264_PICTURE_LAYOUT_INTERLACED_SEPARATE_PLANES_BIT_KHR: |
6742 | return "VK_VIDEO_DECODE_H264_PICTURE_LAYOUT_INTERLACED_SEPARATE_PLANES_BIT_KHR" ; |
6743 | case VK_VIDEO_DECODE_H264_PICTURE_LAYOUT_PROGRESSIVE_KHR: |
6744 | return "VK_VIDEO_DECODE_H264_PICTURE_LAYOUT_PROGRESSIVE_KHR" ; |
6745 | default: |
6746 | return "Unhandled VkVideoDecodeH264PictureLayoutFlagBitsKHR" ; |
6747 | } |
6748 | } |
6749 | |
6750 | static inline std::string string_VkVideoDecodeH264PictureLayoutFlagsKHR(VkVideoDecodeH264PictureLayoutFlagsKHR input_value) |
6751 | { |
6752 | std::string ret; |
6753 | int index = 0; |
6754 | while(input_value) { |
6755 | if (input_value & 1) { |
6756 | if( !ret.empty()) ret.append("|" ); |
6757 | ret.append(string_VkVideoDecodeH264PictureLayoutFlagBitsKHR(static_cast<VkVideoDecodeH264PictureLayoutFlagBitsKHR>(1U << index))); |
6758 | } |
6759 | ++index; |
6760 | input_value >>= 1; |
6761 | } |
6762 | if (ret.empty()) ret.append("VkVideoDecodeH264PictureLayoutFlagsKHR(0)" ); |
6763 | return ret; |
6764 | } |
6765 | |
6766 | static inline const char* string_VkRenderingFlagBitsKHR(VkRenderingFlagBitsKHR input_value) |
6767 | { |
6768 | switch (input_value) |
6769 | { |
6770 | case VK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT: |
6771 | return "VK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT" ; |
6772 | case VK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXT: |
6773 | return "VK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXT" ; |
6774 | case VK_RENDERING_RESUMING_BIT: |
6775 | return "VK_RENDERING_RESUMING_BIT" ; |
6776 | case VK_RENDERING_SUSPENDING_BIT: |
6777 | return "VK_RENDERING_SUSPENDING_BIT" ; |
6778 | default: |
6779 | return "Unhandled VkRenderingFlagBitsKHR" ; |
6780 | } |
6781 | } |
6782 | |
6783 | static inline std::string string_VkRenderingFlagsKHR(VkRenderingFlagsKHR input_value) |
6784 | { |
6785 | std::string ret; |
6786 | int index = 0; |
6787 | while(input_value) { |
6788 | if (input_value & 1) { |
6789 | if( !ret.empty()) ret.append("|" ); |
6790 | ret.append(string_VkRenderingFlagBitsKHR(static_cast<VkRenderingFlagBitsKHR>(1U << index))); |
6791 | } |
6792 | ++index; |
6793 | input_value >>= 1; |
6794 | } |
6795 | if (ret.empty()) ret.append("VkRenderingFlagsKHR(0)" ); |
6796 | return ret; |
6797 | } |
6798 | |
6799 | static inline const char* string_VkPeerMemoryFeatureFlagBitsKHR(VkPeerMemoryFeatureFlagBitsKHR input_value) |
6800 | { |
6801 | switch (input_value) |
6802 | { |
6803 | case VK_PEER_MEMORY_FEATURE_COPY_DST_BIT: |
6804 | return "VK_PEER_MEMORY_FEATURE_COPY_DST_BIT" ; |
6805 | case VK_PEER_MEMORY_FEATURE_COPY_SRC_BIT: |
6806 | return "VK_PEER_MEMORY_FEATURE_COPY_SRC_BIT" ; |
6807 | case VK_PEER_MEMORY_FEATURE_GENERIC_DST_BIT: |
6808 | return "VK_PEER_MEMORY_FEATURE_GENERIC_DST_BIT" ; |
6809 | case VK_PEER_MEMORY_FEATURE_GENERIC_SRC_BIT: |
6810 | return "VK_PEER_MEMORY_FEATURE_GENERIC_SRC_BIT" ; |
6811 | default: |
6812 | return "Unhandled VkPeerMemoryFeatureFlagBitsKHR" ; |
6813 | } |
6814 | } |
6815 | |
6816 | static inline std::string string_VkPeerMemoryFeatureFlagsKHR(VkPeerMemoryFeatureFlagsKHR input_value) |
6817 | { |
6818 | std::string ret; |
6819 | int index = 0; |
6820 | while(input_value) { |
6821 | if (input_value & 1) { |
6822 | if( !ret.empty()) ret.append("|" ); |
6823 | ret.append(string_VkPeerMemoryFeatureFlagBitsKHR(static_cast<VkPeerMemoryFeatureFlagBitsKHR>(1U << index))); |
6824 | } |
6825 | ++index; |
6826 | input_value >>= 1; |
6827 | } |
6828 | if (ret.empty()) ret.append("VkPeerMemoryFeatureFlagsKHR(0)" ); |
6829 | return ret; |
6830 | } |
6831 | |
6832 | static inline const char* string_VkMemoryAllocateFlagBitsKHR(VkMemoryAllocateFlagBitsKHR input_value) |
6833 | { |
6834 | switch (input_value) |
6835 | { |
6836 | case VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_BIT: |
6837 | return "VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_BIT" ; |
6838 | case VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT: |
6839 | return "VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT" ; |
6840 | case VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT: |
6841 | return "VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT" ; |
6842 | default: |
6843 | return "Unhandled VkMemoryAllocateFlagBitsKHR" ; |
6844 | } |
6845 | } |
6846 | |
6847 | static inline std::string string_VkMemoryAllocateFlagsKHR(VkMemoryAllocateFlagsKHR input_value) |
6848 | { |
6849 | std::string ret; |
6850 | int index = 0; |
6851 | while(input_value) { |
6852 | if (input_value & 1) { |
6853 | if( !ret.empty()) ret.append("|" ); |
6854 | ret.append(string_VkMemoryAllocateFlagBitsKHR(static_cast<VkMemoryAllocateFlagBitsKHR>(1U << index))); |
6855 | } |
6856 | ++index; |
6857 | input_value >>= 1; |
6858 | } |
6859 | if (ret.empty()) ret.append("VkMemoryAllocateFlagsKHR(0)" ); |
6860 | return ret; |
6861 | } |
6862 | |
6863 | static inline const char* string_VkExternalMemoryHandleTypeFlagBitsKHR(VkExternalMemoryHandleTypeFlagBitsKHR input_value) |
6864 | { |
6865 | switch (input_value) |
6866 | { |
6867 | case VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID: |
6868 | return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID" ; |
6869 | case VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT: |
6870 | return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT" ; |
6871 | case VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT: |
6872 | return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT" ; |
6873 | case VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT: |
6874 | return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT" ; |
6875 | case VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT: |
6876 | return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT" ; |
6877 | case VK_EXTERNAL_MEMORY_HANDLE_TYPE_DMA_BUF_BIT_EXT: |
6878 | return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_DMA_BUF_BIT_EXT" ; |
6879 | case VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT: |
6880 | return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT" ; |
6881 | case VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXT: |
6882 | return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXT" ; |
6883 | case VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT: |
6884 | return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT" ; |
6885 | case VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT: |
6886 | return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT" ; |
6887 | case VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT: |
6888 | return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT" ; |
6889 | case VK_EXTERNAL_MEMORY_HANDLE_TYPE_RDMA_ADDRESS_BIT_NV: |
6890 | return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_RDMA_ADDRESS_BIT_NV" ; |
6891 | case VK_EXTERNAL_MEMORY_HANDLE_TYPE_ZIRCON_VMO_BIT_FUCHSIA: |
6892 | return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_ZIRCON_VMO_BIT_FUCHSIA" ; |
6893 | default: |
6894 | return "Unhandled VkExternalMemoryHandleTypeFlagBitsKHR" ; |
6895 | } |
6896 | } |
6897 | |
6898 | static inline std::string string_VkExternalMemoryHandleTypeFlagsKHR(VkExternalMemoryHandleTypeFlagsKHR input_value) |
6899 | { |
6900 | std::string ret; |
6901 | int index = 0; |
6902 | while(input_value) { |
6903 | if (input_value & 1) { |
6904 | if( !ret.empty()) ret.append("|" ); |
6905 | ret.append(string_VkExternalMemoryHandleTypeFlagBitsKHR(static_cast<VkExternalMemoryHandleTypeFlagBitsKHR>(1U << index))); |
6906 | } |
6907 | ++index; |
6908 | input_value >>= 1; |
6909 | } |
6910 | if (ret.empty()) ret.append("VkExternalMemoryHandleTypeFlagsKHR(0)" ); |
6911 | return ret; |
6912 | } |
6913 | |
6914 | static inline const char* string_VkExternalMemoryFeatureFlagBitsKHR(VkExternalMemoryFeatureFlagBitsKHR input_value) |
6915 | { |
6916 | switch (input_value) |
6917 | { |
6918 | case VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT: |
6919 | return "VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT" ; |
6920 | case VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT: |
6921 | return "VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT" ; |
6922 | case VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT: |
6923 | return "VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT" ; |
6924 | default: |
6925 | return "Unhandled VkExternalMemoryFeatureFlagBitsKHR" ; |
6926 | } |
6927 | } |
6928 | |
6929 | static inline std::string string_VkExternalMemoryFeatureFlagsKHR(VkExternalMemoryFeatureFlagsKHR input_value) |
6930 | { |
6931 | std::string ret; |
6932 | int index = 0; |
6933 | while(input_value) { |
6934 | if (input_value & 1) { |
6935 | if( !ret.empty()) ret.append("|" ); |
6936 | ret.append(string_VkExternalMemoryFeatureFlagBitsKHR(static_cast<VkExternalMemoryFeatureFlagBitsKHR>(1U << index))); |
6937 | } |
6938 | ++index; |
6939 | input_value >>= 1; |
6940 | } |
6941 | if (ret.empty()) ret.append("VkExternalMemoryFeatureFlagsKHR(0)" ); |
6942 | return ret; |
6943 | } |
6944 | |
6945 | static inline const char* string_VkExternalSemaphoreHandleTypeFlagBitsKHR(VkExternalSemaphoreHandleTypeFlagBitsKHR input_value) |
6946 | { |
6947 | switch (input_value) |
6948 | { |
6949 | case VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT: |
6950 | return "VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT" ; |
6951 | case VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT: |
6952 | return "VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT" ; |
6953 | case VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT: |
6954 | return "VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT" ; |
6955 | case VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT: |
6956 | return "VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT" ; |
6957 | case VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT: |
6958 | return "VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT" ; |
6959 | case VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_ZIRCON_EVENT_BIT_FUCHSIA: |
6960 | return "VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_ZIRCON_EVENT_BIT_FUCHSIA" ; |
6961 | default: |
6962 | return "Unhandled VkExternalSemaphoreHandleTypeFlagBitsKHR" ; |
6963 | } |
6964 | } |
6965 | |
6966 | static inline std::string string_VkExternalSemaphoreHandleTypeFlagsKHR(VkExternalSemaphoreHandleTypeFlagsKHR input_value) |
6967 | { |
6968 | std::string ret; |
6969 | int index = 0; |
6970 | while(input_value) { |
6971 | if (input_value & 1) { |
6972 | if( !ret.empty()) ret.append("|" ); |
6973 | ret.append(string_VkExternalSemaphoreHandleTypeFlagBitsKHR(static_cast<VkExternalSemaphoreHandleTypeFlagBitsKHR>(1U << index))); |
6974 | } |
6975 | ++index; |
6976 | input_value >>= 1; |
6977 | } |
6978 | if (ret.empty()) ret.append("VkExternalSemaphoreHandleTypeFlagsKHR(0)" ); |
6979 | return ret; |
6980 | } |
6981 | |
6982 | static inline const char* string_VkExternalSemaphoreFeatureFlagBitsKHR(VkExternalSemaphoreFeatureFlagBitsKHR input_value) |
6983 | { |
6984 | switch (input_value) |
6985 | { |
6986 | case VK_EXTERNAL_SEMAPHORE_FEATURE_EXPORTABLE_BIT: |
6987 | return "VK_EXTERNAL_SEMAPHORE_FEATURE_EXPORTABLE_BIT" ; |
6988 | case VK_EXTERNAL_SEMAPHORE_FEATURE_IMPORTABLE_BIT: |
6989 | return "VK_EXTERNAL_SEMAPHORE_FEATURE_IMPORTABLE_BIT" ; |
6990 | default: |
6991 | return "Unhandled VkExternalSemaphoreFeatureFlagBitsKHR" ; |
6992 | } |
6993 | } |
6994 | |
6995 | static inline std::string string_VkExternalSemaphoreFeatureFlagsKHR(VkExternalSemaphoreFeatureFlagsKHR input_value) |
6996 | { |
6997 | std::string ret; |
6998 | int index = 0; |
6999 | while(input_value) { |
7000 | if (input_value & 1) { |
7001 | if( !ret.empty()) ret.append("|" ); |
7002 | ret.append(string_VkExternalSemaphoreFeatureFlagBitsKHR(static_cast<VkExternalSemaphoreFeatureFlagBitsKHR>(1U << index))); |
7003 | } |
7004 | ++index; |
7005 | input_value >>= 1; |
7006 | } |
7007 | if (ret.empty()) ret.append("VkExternalSemaphoreFeatureFlagsKHR(0)" ); |
7008 | return ret; |
7009 | } |
7010 | |
7011 | static inline const char* string_VkSemaphoreImportFlagBitsKHR(VkSemaphoreImportFlagBitsKHR input_value) |
7012 | { |
7013 | switch (input_value) |
7014 | { |
7015 | case VK_SEMAPHORE_IMPORT_TEMPORARY_BIT: |
7016 | return "VK_SEMAPHORE_IMPORT_TEMPORARY_BIT" ; |
7017 | default: |
7018 | return "Unhandled VkSemaphoreImportFlagBitsKHR" ; |
7019 | } |
7020 | } |
7021 | |
7022 | static inline std::string string_VkSemaphoreImportFlagsKHR(VkSemaphoreImportFlagsKHR input_value) |
7023 | { |
7024 | std::string ret; |
7025 | int index = 0; |
7026 | while(input_value) { |
7027 | if (input_value & 1) { |
7028 | if( !ret.empty()) ret.append("|" ); |
7029 | ret.append(string_VkSemaphoreImportFlagBitsKHR(static_cast<VkSemaphoreImportFlagBitsKHR>(1U << index))); |
7030 | } |
7031 | ++index; |
7032 | input_value >>= 1; |
7033 | } |
7034 | if (ret.empty()) ret.append("VkSemaphoreImportFlagsKHR(0)" ); |
7035 | return ret; |
7036 | } |
7037 | |
7038 | static inline const char* string_VkDescriptorUpdateTemplateTypeKHR(VkDescriptorUpdateTemplateTypeKHR input_value) |
7039 | { |
7040 | switch (input_value) |
7041 | { |
7042 | case VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET: |
7043 | return "VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET" ; |
7044 | case VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR: |
7045 | return "VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR" ; |
7046 | default: |
7047 | return "Unhandled VkDescriptorUpdateTemplateTypeKHR" ; |
7048 | } |
7049 | } |
7050 | |
7051 | static inline const char* string_VkExternalFenceHandleTypeFlagBitsKHR(VkExternalFenceHandleTypeFlagBitsKHR input_value) |
7052 | { |
7053 | switch (input_value) |
7054 | { |
7055 | case VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_FD_BIT: |
7056 | return "VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_FD_BIT" ; |
7057 | case VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_BIT: |
7058 | return "VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_BIT" ; |
7059 | case VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT: |
7060 | return "VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT" ; |
7061 | case VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT: |
7062 | return "VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT" ; |
7063 | default: |
7064 | return "Unhandled VkExternalFenceHandleTypeFlagBitsKHR" ; |
7065 | } |
7066 | } |
7067 | |
7068 | static inline std::string string_VkExternalFenceHandleTypeFlagsKHR(VkExternalFenceHandleTypeFlagsKHR input_value) |
7069 | { |
7070 | std::string ret; |
7071 | int index = 0; |
7072 | while(input_value) { |
7073 | if (input_value & 1) { |
7074 | if( !ret.empty()) ret.append("|" ); |
7075 | ret.append(string_VkExternalFenceHandleTypeFlagBitsKHR(static_cast<VkExternalFenceHandleTypeFlagBitsKHR>(1U << index))); |
7076 | } |
7077 | ++index; |
7078 | input_value >>= 1; |
7079 | } |
7080 | if (ret.empty()) ret.append("VkExternalFenceHandleTypeFlagsKHR(0)" ); |
7081 | return ret; |
7082 | } |
7083 | |
7084 | static inline const char* string_VkExternalFenceFeatureFlagBitsKHR(VkExternalFenceFeatureFlagBitsKHR input_value) |
7085 | { |
7086 | switch (input_value) |
7087 | { |
7088 | case VK_EXTERNAL_FENCE_FEATURE_EXPORTABLE_BIT: |
7089 | return "VK_EXTERNAL_FENCE_FEATURE_EXPORTABLE_BIT" ; |
7090 | case VK_EXTERNAL_FENCE_FEATURE_IMPORTABLE_BIT: |
7091 | return "VK_EXTERNAL_FENCE_FEATURE_IMPORTABLE_BIT" ; |
7092 | default: |
7093 | return "Unhandled VkExternalFenceFeatureFlagBitsKHR" ; |
7094 | } |
7095 | } |
7096 | |
7097 | static inline std::string string_VkExternalFenceFeatureFlagsKHR(VkExternalFenceFeatureFlagsKHR input_value) |
7098 | { |
7099 | std::string ret; |
7100 | int index = 0; |
7101 | while(input_value) { |
7102 | if (input_value & 1) { |
7103 | if( !ret.empty()) ret.append("|" ); |
7104 | ret.append(string_VkExternalFenceFeatureFlagBitsKHR(static_cast<VkExternalFenceFeatureFlagBitsKHR>(1U << index))); |
7105 | } |
7106 | ++index; |
7107 | input_value >>= 1; |
7108 | } |
7109 | if (ret.empty()) ret.append("VkExternalFenceFeatureFlagsKHR(0)" ); |
7110 | return ret; |
7111 | } |
7112 | |
7113 | static inline const char* string_VkFenceImportFlagBitsKHR(VkFenceImportFlagBitsKHR input_value) |
7114 | { |
7115 | switch (input_value) |
7116 | { |
7117 | case VK_FENCE_IMPORT_TEMPORARY_BIT: |
7118 | return "VK_FENCE_IMPORT_TEMPORARY_BIT" ; |
7119 | default: |
7120 | return "Unhandled VkFenceImportFlagBitsKHR" ; |
7121 | } |
7122 | } |
7123 | |
7124 | static inline std::string string_VkFenceImportFlagsKHR(VkFenceImportFlagsKHR input_value) |
7125 | { |
7126 | std::string ret; |
7127 | int index = 0; |
7128 | while(input_value) { |
7129 | if (input_value & 1) { |
7130 | if( !ret.empty()) ret.append("|" ); |
7131 | ret.append(string_VkFenceImportFlagBitsKHR(static_cast<VkFenceImportFlagBitsKHR>(1U << index))); |
7132 | } |
7133 | ++index; |
7134 | input_value >>= 1; |
7135 | } |
7136 | if (ret.empty()) ret.append("VkFenceImportFlagsKHR(0)" ); |
7137 | return ret; |
7138 | } |
7139 | |
7140 | static inline const char* string_VkPerformanceCounterUnitKHR(VkPerformanceCounterUnitKHR input_value) |
7141 | { |
7142 | switch (input_value) |
7143 | { |
7144 | case VK_PERFORMANCE_COUNTER_UNIT_AMPS_KHR: |
7145 | return "VK_PERFORMANCE_COUNTER_UNIT_AMPS_KHR" ; |
7146 | case VK_PERFORMANCE_COUNTER_UNIT_BYTES_KHR: |
7147 | return "VK_PERFORMANCE_COUNTER_UNIT_BYTES_KHR" ; |
7148 | case VK_PERFORMANCE_COUNTER_UNIT_BYTES_PER_SECOND_KHR: |
7149 | return "VK_PERFORMANCE_COUNTER_UNIT_BYTES_PER_SECOND_KHR" ; |
7150 | case VK_PERFORMANCE_COUNTER_UNIT_CYCLES_KHR: |
7151 | return "VK_PERFORMANCE_COUNTER_UNIT_CYCLES_KHR" ; |
7152 | case VK_PERFORMANCE_COUNTER_UNIT_GENERIC_KHR: |
7153 | return "VK_PERFORMANCE_COUNTER_UNIT_GENERIC_KHR" ; |
7154 | case VK_PERFORMANCE_COUNTER_UNIT_HERTZ_KHR: |
7155 | return "VK_PERFORMANCE_COUNTER_UNIT_HERTZ_KHR" ; |
7156 | case VK_PERFORMANCE_COUNTER_UNIT_KELVIN_KHR: |
7157 | return "VK_PERFORMANCE_COUNTER_UNIT_KELVIN_KHR" ; |
7158 | case VK_PERFORMANCE_COUNTER_UNIT_NANOSECONDS_KHR: |
7159 | return "VK_PERFORMANCE_COUNTER_UNIT_NANOSECONDS_KHR" ; |
7160 | case VK_PERFORMANCE_COUNTER_UNIT_PERCENTAGE_KHR: |
7161 | return "VK_PERFORMANCE_COUNTER_UNIT_PERCENTAGE_KHR" ; |
7162 | case VK_PERFORMANCE_COUNTER_UNIT_VOLTS_KHR: |
7163 | return "VK_PERFORMANCE_COUNTER_UNIT_VOLTS_KHR" ; |
7164 | case VK_PERFORMANCE_COUNTER_UNIT_WATTS_KHR: |
7165 | return "VK_PERFORMANCE_COUNTER_UNIT_WATTS_KHR" ; |
7166 | default: |
7167 | return "Unhandled VkPerformanceCounterUnitKHR" ; |
7168 | } |
7169 | } |
7170 | |
7171 | static inline const char* string_VkPerformanceCounterScopeKHR(VkPerformanceCounterScopeKHR input_value) |
7172 | { |
7173 | switch (input_value) |
7174 | { |
7175 | case VK_PERFORMANCE_COUNTER_SCOPE_COMMAND_BUFFER_KHR: |
7176 | return "VK_PERFORMANCE_COUNTER_SCOPE_COMMAND_BUFFER_KHR" ; |
7177 | case VK_PERFORMANCE_COUNTER_SCOPE_COMMAND_KHR: |
7178 | return "VK_PERFORMANCE_COUNTER_SCOPE_COMMAND_KHR" ; |
7179 | case VK_PERFORMANCE_COUNTER_SCOPE_RENDER_PASS_KHR: |
7180 | return "VK_PERFORMANCE_COUNTER_SCOPE_RENDER_PASS_KHR" ; |
7181 | default: |
7182 | return "Unhandled VkPerformanceCounterScopeKHR" ; |
7183 | } |
7184 | } |
7185 | |
7186 | static inline const char* string_VkPerformanceCounterStorageKHR(VkPerformanceCounterStorageKHR input_value) |
7187 | { |
7188 | switch (input_value) |
7189 | { |
7190 | case VK_PERFORMANCE_COUNTER_STORAGE_FLOAT32_KHR: |
7191 | return "VK_PERFORMANCE_COUNTER_STORAGE_FLOAT32_KHR" ; |
7192 | case VK_PERFORMANCE_COUNTER_STORAGE_FLOAT64_KHR: |
7193 | return "VK_PERFORMANCE_COUNTER_STORAGE_FLOAT64_KHR" ; |
7194 | case VK_PERFORMANCE_COUNTER_STORAGE_INT32_KHR: |
7195 | return "VK_PERFORMANCE_COUNTER_STORAGE_INT32_KHR" ; |
7196 | case VK_PERFORMANCE_COUNTER_STORAGE_INT64_KHR: |
7197 | return "VK_PERFORMANCE_COUNTER_STORAGE_INT64_KHR" ; |
7198 | case VK_PERFORMANCE_COUNTER_STORAGE_UINT32_KHR: |
7199 | return "VK_PERFORMANCE_COUNTER_STORAGE_UINT32_KHR" ; |
7200 | case VK_PERFORMANCE_COUNTER_STORAGE_UINT64_KHR: |
7201 | return "VK_PERFORMANCE_COUNTER_STORAGE_UINT64_KHR" ; |
7202 | default: |
7203 | return "Unhandled VkPerformanceCounterStorageKHR" ; |
7204 | } |
7205 | } |
7206 | |
7207 | static inline const char* string_VkPerformanceCounterDescriptionFlagBitsKHR(VkPerformanceCounterDescriptionFlagBitsKHR input_value) |
7208 | { |
7209 | switch (input_value) |
7210 | { |
7211 | case VK_PERFORMANCE_COUNTER_DESCRIPTION_CONCURRENTLY_IMPACTED_BIT_KHR: |
7212 | return "VK_PERFORMANCE_COUNTER_DESCRIPTION_CONCURRENTLY_IMPACTED_BIT_KHR" ; |
7213 | case VK_PERFORMANCE_COUNTER_DESCRIPTION_PERFORMANCE_IMPACTING_BIT_KHR: |
7214 | return "VK_PERFORMANCE_COUNTER_DESCRIPTION_PERFORMANCE_IMPACTING_BIT_KHR" ; |
7215 | default: |
7216 | return "Unhandled VkPerformanceCounterDescriptionFlagBitsKHR" ; |
7217 | } |
7218 | } |
7219 | |
7220 | static inline std::string string_VkPerformanceCounterDescriptionFlagsKHR(VkPerformanceCounterDescriptionFlagsKHR input_value) |
7221 | { |
7222 | std::string ret; |
7223 | int index = 0; |
7224 | while(input_value) { |
7225 | if (input_value & 1) { |
7226 | if( !ret.empty()) ret.append("|" ); |
7227 | ret.append(string_VkPerformanceCounterDescriptionFlagBitsKHR(static_cast<VkPerformanceCounterDescriptionFlagBitsKHR>(1U << index))); |
7228 | } |
7229 | ++index; |
7230 | input_value >>= 1; |
7231 | } |
7232 | if (ret.empty()) ret.append("VkPerformanceCounterDescriptionFlagsKHR(0)" ); |
7233 | return ret; |
7234 | } |
7235 | |
7236 | static inline const char* string_VkPointClippingBehaviorKHR(VkPointClippingBehaviorKHR input_value) |
7237 | { |
7238 | switch (input_value) |
7239 | { |
7240 | case VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES: |
7241 | return "VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES" ; |
7242 | case VK_POINT_CLIPPING_BEHAVIOR_USER_CLIP_PLANES_ONLY: |
7243 | return "VK_POINT_CLIPPING_BEHAVIOR_USER_CLIP_PLANES_ONLY" ; |
7244 | default: |
7245 | return "Unhandled VkPointClippingBehaviorKHR" ; |
7246 | } |
7247 | } |
7248 | |
7249 | static inline const char* string_VkTessellationDomainOriginKHR(VkTessellationDomainOriginKHR input_value) |
7250 | { |
7251 | switch (input_value) |
7252 | { |
7253 | case VK_TESSELLATION_DOMAIN_ORIGIN_LOWER_LEFT: |
7254 | return "VK_TESSELLATION_DOMAIN_ORIGIN_LOWER_LEFT" ; |
7255 | case VK_TESSELLATION_DOMAIN_ORIGIN_UPPER_LEFT: |
7256 | return "VK_TESSELLATION_DOMAIN_ORIGIN_UPPER_LEFT" ; |
7257 | default: |
7258 | return "Unhandled VkTessellationDomainOriginKHR" ; |
7259 | } |
7260 | } |
7261 | |
7262 | static inline const char* string_VkSamplerYcbcrModelConversionKHR(VkSamplerYcbcrModelConversionKHR input_value) |
7263 | { |
7264 | switch (input_value) |
7265 | { |
7266 | case VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY: |
7267 | return "VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY" ; |
7268 | case VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_2020: |
7269 | return "VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_2020" ; |
7270 | case VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_601: |
7271 | return "VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_601" ; |
7272 | case VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_709: |
7273 | return "VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_709" ; |
7274 | case VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_IDENTITY: |
7275 | return "VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_IDENTITY" ; |
7276 | default: |
7277 | return "Unhandled VkSamplerYcbcrModelConversionKHR" ; |
7278 | } |
7279 | } |
7280 | |
7281 | static inline const char* string_VkSamplerYcbcrRangeKHR(VkSamplerYcbcrRangeKHR input_value) |
7282 | { |
7283 | switch (input_value) |
7284 | { |
7285 | case VK_SAMPLER_YCBCR_RANGE_ITU_FULL: |
7286 | return "VK_SAMPLER_YCBCR_RANGE_ITU_FULL" ; |
7287 | case VK_SAMPLER_YCBCR_RANGE_ITU_NARROW: |
7288 | return "VK_SAMPLER_YCBCR_RANGE_ITU_NARROW" ; |
7289 | default: |
7290 | return "Unhandled VkSamplerYcbcrRangeKHR" ; |
7291 | } |
7292 | } |
7293 | |
7294 | static inline const char* string_VkChromaLocationKHR(VkChromaLocationKHR input_value) |
7295 | { |
7296 | switch (input_value) |
7297 | { |
7298 | case VK_CHROMA_LOCATION_COSITED_EVEN: |
7299 | return "VK_CHROMA_LOCATION_COSITED_EVEN" ; |
7300 | case VK_CHROMA_LOCATION_MIDPOINT: |
7301 | return "VK_CHROMA_LOCATION_MIDPOINT" ; |
7302 | default: |
7303 | return "Unhandled VkChromaLocationKHR" ; |
7304 | } |
7305 | } |
7306 | |
7307 | static inline const char* string_VkQueueGlobalPriorityKHR(VkQueueGlobalPriorityKHR input_value) |
7308 | { |
7309 | switch (input_value) |
7310 | { |
7311 | case VK_QUEUE_GLOBAL_PRIORITY_HIGH_KHR: |
7312 | return "VK_QUEUE_GLOBAL_PRIORITY_HIGH_KHR" ; |
7313 | case VK_QUEUE_GLOBAL_PRIORITY_LOW_KHR: |
7314 | return "VK_QUEUE_GLOBAL_PRIORITY_LOW_KHR" ; |
7315 | case VK_QUEUE_GLOBAL_PRIORITY_MEDIUM_KHR: |
7316 | return "VK_QUEUE_GLOBAL_PRIORITY_MEDIUM_KHR" ; |
7317 | case VK_QUEUE_GLOBAL_PRIORITY_REALTIME_KHR: |
7318 | return "VK_QUEUE_GLOBAL_PRIORITY_REALTIME_KHR" ; |
7319 | default: |
7320 | return "Unhandled VkQueueGlobalPriorityKHR" ; |
7321 | } |
7322 | } |
7323 | |
7324 | static inline const char* string_VkDriverIdKHR(VkDriverIdKHR input_value) |
7325 | { |
7326 | switch (input_value) |
7327 | { |
7328 | case VK_DRIVER_ID_AMD_OPEN_SOURCE: |
7329 | return "VK_DRIVER_ID_AMD_OPEN_SOURCE" ; |
7330 | case VK_DRIVER_ID_AMD_PROPRIETARY: |
7331 | return "VK_DRIVER_ID_AMD_PROPRIETARY" ; |
7332 | case VK_DRIVER_ID_ARM_PROPRIETARY: |
7333 | return "VK_DRIVER_ID_ARM_PROPRIETARY" ; |
7334 | case VK_DRIVER_ID_BROADCOM_PROPRIETARY: |
7335 | return "VK_DRIVER_ID_BROADCOM_PROPRIETARY" ; |
7336 | case VK_DRIVER_ID_COREAVI_PROPRIETARY: |
7337 | return "VK_DRIVER_ID_COREAVI_PROPRIETARY" ; |
7338 | case VK_DRIVER_ID_GGP_PROPRIETARY: |
7339 | return "VK_DRIVER_ID_GGP_PROPRIETARY" ; |
7340 | case VK_DRIVER_ID_GOOGLE_SWIFTSHADER: |
7341 | return "VK_DRIVER_ID_GOOGLE_SWIFTSHADER" ; |
7342 | case VK_DRIVER_ID_IMAGINATION_OPEN_SOURCE_MESA: |
7343 | return "VK_DRIVER_ID_IMAGINATION_OPEN_SOURCE_MESA" ; |
7344 | case VK_DRIVER_ID_IMAGINATION_PROPRIETARY: |
7345 | return "VK_DRIVER_ID_IMAGINATION_PROPRIETARY" ; |
7346 | case VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA: |
7347 | return "VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA" ; |
7348 | case VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS: |
7349 | return "VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS" ; |
7350 | case VK_DRIVER_ID_JUICE_PROPRIETARY: |
7351 | return "VK_DRIVER_ID_JUICE_PROPRIETARY" ; |
7352 | case VK_DRIVER_ID_MESA_DOZEN: |
7353 | return "VK_DRIVER_ID_MESA_DOZEN" ; |
7354 | case VK_DRIVER_ID_MESA_LLVMPIPE: |
7355 | return "VK_DRIVER_ID_MESA_LLVMPIPE" ; |
7356 | case VK_DRIVER_ID_MESA_NVK: |
7357 | return "VK_DRIVER_ID_MESA_NVK" ; |
7358 | case VK_DRIVER_ID_MESA_PANVK: |
7359 | return "VK_DRIVER_ID_MESA_PANVK" ; |
7360 | case VK_DRIVER_ID_MESA_RADV: |
7361 | return "VK_DRIVER_ID_MESA_RADV" ; |
7362 | case VK_DRIVER_ID_MESA_TURNIP: |
7363 | return "VK_DRIVER_ID_MESA_TURNIP" ; |
7364 | case VK_DRIVER_ID_MESA_V3DV: |
7365 | return "VK_DRIVER_ID_MESA_V3DV" ; |
7366 | case VK_DRIVER_ID_MESA_VENUS: |
7367 | return "VK_DRIVER_ID_MESA_VENUS" ; |
7368 | case VK_DRIVER_ID_MOLTENVK: |
7369 | return "VK_DRIVER_ID_MOLTENVK" ; |
7370 | case VK_DRIVER_ID_NVIDIA_PROPRIETARY: |
7371 | return "VK_DRIVER_ID_NVIDIA_PROPRIETARY" ; |
7372 | case VK_DRIVER_ID_QUALCOMM_PROPRIETARY: |
7373 | return "VK_DRIVER_ID_QUALCOMM_PROPRIETARY" ; |
7374 | case VK_DRIVER_ID_SAMSUNG_PROPRIETARY: |
7375 | return "VK_DRIVER_ID_SAMSUNG_PROPRIETARY" ; |
7376 | case VK_DRIVER_ID_VERISILICON_PROPRIETARY: |
7377 | return "VK_DRIVER_ID_VERISILICON_PROPRIETARY" ; |
7378 | default: |
7379 | return "Unhandled VkDriverIdKHR" ; |
7380 | } |
7381 | } |
7382 | |
7383 | static inline const char* string_VkShaderFloatControlsIndependenceKHR(VkShaderFloatControlsIndependenceKHR input_value) |
7384 | { |
7385 | switch (input_value) |
7386 | { |
7387 | case VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_32_BIT_ONLY: |
7388 | return "VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_32_BIT_ONLY" ; |
7389 | case VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_ALL: |
7390 | return "VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_ALL" ; |
7391 | case VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_NONE: |
7392 | return "VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_NONE" ; |
7393 | default: |
7394 | return "Unhandled VkShaderFloatControlsIndependenceKHR" ; |
7395 | } |
7396 | } |
7397 | |
7398 | static inline const char* string_VkResolveModeFlagBitsKHR(VkResolveModeFlagBitsKHR input_value) |
7399 | { |
7400 | switch (input_value) |
7401 | { |
7402 | case VK_RESOLVE_MODE_AVERAGE_BIT: |
7403 | return "VK_RESOLVE_MODE_AVERAGE_BIT" ; |
7404 | case VK_RESOLVE_MODE_MAX_BIT: |
7405 | return "VK_RESOLVE_MODE_MAX_BIT" ; |
7406 | case VK_RESOLVE_MODE_MIN_BIT: |
7407 | return "VK_RESOLVE_MODE_MIN_BIT" ; |
7408 | case VK_RESOLVE_MODE_NONE: |
7409 | return "VK_RESOLVE_MODE_NONE" ; |
7410 | case VK_RESOLVE_MODE_SAMPLE_ZERO_BIT: |
7411 | return "VK_RESOLVE_MODE_SAMPLE_ZERO_BIT" ; |
7412 | default: |
7413 | return "Unhandled VkResolveModeFlagBitsKHR" ; |
7414 | } |
7415 | } |
7416 | |
7417 | static inline std::string string_VkResolveModeFlagsKHR(VkResolveModeFlagsKHR input_value) |
7418 | { |
7419 | std::string ret; |
7420 | int index = 0; |
7421 | while(input_value) { |
7422 | if (input_value & 1) { |
7423 | if( !ret.empty()) ret.append("|" ); |
7424 | ret.append(string_VkResolveModeFlagBitsKHR(static_cast<VkResolveModeFlagBitsKHR>(1U << index))); |
7425 | } |
7426 | ++index; |
7427 | input_value >>= 1; |
7428 | } |
7429 | if (ret.empty()) ret.append("VkResolveModeFlagsKHR(0)" ); |
7430 | return ret; |
7431 | } |
7432 | |
7433 | static inline const char* string_VkSemaphoreTypeKHR(VkSemaphoreTypeKHR input_value) |
7434 | { |
7435 | switch (input_value) |
7436 | { |
7437 | case VK_SEMAPHORE_TYPE_BINARY: |
7438 | return "VK_SEMAPHORE_TYPE_BINARY" ; |
7439 | case VK_SEMAPHORE_TYPE_TIMELINE: |
7440 | return "VK_SEMAPHORE_TYPE_TIMELINE" ; |
7441 | default: |
7442 | return "Unhandled VkSemaphoreTypeKHR" ; |
7443 | } |
7444 | } |
7445 | |
7446 | static inline const char* string_VkSemaphoreWaitFlagBitsKHR(VkSemaphoreWaitFlagBitsKHR input_value) |
7447 | { |
7448 | switch (input_value) |
7449 | { |
7450 | case VK_SEMAPHORE_WAIT_ANY_BIT: |
7451 | return "VK_SEMAPHORE_WAIT_ANY_BIT" ; |
7452 | default: |
7453 | return "Unhandled VkSemaphoreWaitFlagBitsKHR" ; |
7454 | } |
7455 | } |
7456 | |
7457 | static inline std::string string_VkSemaphoreWaitFlagsKHR(VkSemaphoreWaitFlagsKHR input_value) |
7458 | { |
7459 | std::string ret; |
7460 | int index = 0; |
7461 | while(input_value) { |
7462 | if (input_value & 1) { |
7463 | if( !ret.empty()) ret.append("|" ); |
7464 | ret.append(string_VkSemaphoreWaitFlagBitsKHR(static_cast<VkSemaphoreWaitFlagBitsKHR>(1U << index))); |
7465 | } |
7466 | ++index; |
7467 | input_value >>= 1; |
7468 | } |
7469 | if (ret.empty()) ret.append("VkSemaphoreWaitFlagsKHR(0)" ); |
7470 | return ret; |
7471 | } |
7472 | |
7473 | static inline const char* string_VkFragmentShadingRateCombinerOpKHR(VkFragmentShadingRateCombinerOpKHR input_value) |
7474 | { |
7475 | switch (input_value) |
7476 | { |
7477 | case VK_FRAGMENT_SHADING_RATE_COMBINER_OP_KEEP_KHR: |
7478 | return "VK_FRAGMENT_SHADING_RATE_COMBINER_OP_KEEP_KHR" ; |
7479 | case VK_FRAGMENT_SHADING_RATE_COMBINER_OP_MAX_KHR: |
7480 | return "VK_FRAGMENT_SHADING_RATE_COMBINER_OP_MAX_KHR" ; |
7481 | case VK_FRAGMENT_SHADING_RATE_COMBINER_OP_MIN_KHR: |
7482 | return "VK_FRAGMENT_SHADING_RATE_COMBINER_OP_MIN_KHR" ; |
7483 | case VK_FRAGMENT_SHADING_RATE_COMBINER_OP_MUL_KHR: |
7484 | return "VK_FRAGMENT_SHADING_RATE_COMBINER_OP_MUL_KHR" ; |
7485 | case VK_FRAGMENT_SHADING_RATE_COMBINER_OP_REPLACE_KHR: |
7486 | return "VK_FRAGMENT_SHADING_RATE_COMBINER_OP_REPLACE_KHR" ; |
7487 | default: |
7488 | return "Unhandled VkFragmentShadingRateCombinerOpKHR" ; |
7489 | } |
7490 | } |
7491 | |
7492 | static inline const char* string_VkPipelineExecutableStatisticFormatKHR(VkPipelineExecutableStatisticFormatKHR input_value) |
7493 | { |
7494 | switch (input_value) |
7495 | { |
7496 | case VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_BOOL32_KHR: |
7497 | return "VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_BOOL32_KHR" ; |
7498 | case VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_FLOAT64_KHR: |
7499 | return "VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_FLOAT64_KHR" ; |
7500 | case VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_INT64_KHR: |
7501 | return "VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_INT64_KHR" ; |
7502 | case VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR: |
7503 | return "VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR" ; |
7504 | default: |
7505 | return "Unhandled VkPipelineExecutableStatisticFormatKHR" ; |
7506 | } |
7507 | } |
7508 | |
7509 | |
7510 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
7511 | |
7512 | static inline const char* string_VkVideoEncodeCapabilityFlagBitsKHR(VkVideoEncodeCapabilityFlagBitsKHR input_value) |
7513 | { |
7514 | switch (input_value) |
7515 | { |
7516 | case VK_VIDEO_ENCODE_CAPABILITY_PRECEDING_EXTERNALLY_ENCODED_BYTES_BIT_KHR: |
7517 | return "VK_VIDEO_ENCODE_CAPABILITY_PRECEDING_EXTERNALLY_ENCODED_BYTES_BIT_KHR" ; |
7518 | default: |
7519 | return "Unhandled VkVideoEncodeCapabilityFlagBitsKHR" ; |
7520 | } |
7521 | } |
7522 | |
7523 | static inline std::string string_VkVideoEncodeCapabilityFlagsKHR(VkVideoEncodeCapabilityFlagsKHR input_value) |
7524 | { |
7525 | std::string ret; |
7526 | int index = 0; |
7527 | while(input_value) { |
7528 | if (input_value & 1) { |
7529 | if( !ret.empty()) ret.append("|" ); |
7530 | ret.append(string_VkVideoEncodeCapabilityFlagBitsKHR(static_cast<VkVideoEncodeCapabilityFlagBitsKHR>(1U << index))); |
7531 | } |
7532 | ++index; |
7533 | input_value >>= 1; |
7534 | } |
7535 | if (ret.empty()) ret.append("VkVideoEncodeCapabilityFlagsKHR(0)" ); |
7536 | return ret; |
7537 | } |
7538 | #endif // VK_ENABLE_BETA_EXTENSIONS |
7539 | |
7540 | |
7541 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
7542 | |
7543 | static inline const char* string_VkVideoEncodeRateControlModeFlagBitsKHR(VkVideoEncodeRateControlModeFlagBitsKHR input_value) |
7544 | { |
7545 | switch (input_value) |
7546 | { |
7547 | case VK_VIDEO_ENCODE_RATE_CONTROL_MODE_CBR_BIT_KHR: |
7548 | return "VK_VIDEO_ENCODE_RATE_CONTROL_MODE_CBR_BIT_KHR" ; |
7549 | case VK_VIDEO_ENCODE_RATE_CONTROL_MODE_DEFAULT_KHR: |
7550 | return "VK_VIDEO_ENCODE_RATE_CONTROL_MODE_DEFAULT_KHR" ; |
7551 | case VK_VIDEO_ENCODE_RATE_CONTROL_MODE_DISABLED_BIT_KHR: |
7552 | return "VK_VIDEO_ENCODE_RATE_CONTROL_MODE_DISABLED_BIT_KHR" ; |
7553 | case VK_VIDEO_ENCODE_RATE_CONTROL_MODE_VBR_BIT_KHR: |
7554 | return "VK_VIDEO_ENCODE_RATE_CONTROL_MODE_VBR_BIT_KHR" ; |
7555 | default: |
7556 | return "Unhandled VkVideoEncodeRateControlModeFlagBitsKHR" ; |
7557 | } |
7558 | } |
7559 | |
7560 | static inline std::string string_VkVideoEncodeRateControlModeFlagsKHR(VkVideoEncodeRateControlModeFlagsKHR input_value) |
7561 | { |
7562 | std::string ret; |
7563 | int index = 0; |
7564 | while(input_value) { |
7565 | if (input_value & 1) { |
7566 | if( !ret.empty()) ret.append("|" ); |
7567 | ret.append(string_VkVideoEncodeRateControlModeFlagBitsKHR(static_cast<VkVideoEncodeRateControlModeFlagBitsKHR>(1U << index))); |
7568 | } |
7569 | ++index; |
7570 | input_value >>= 1; |
7571 | } |
7572 | if (ret.empty()) ret.append("VkVideoEncodeRateControlModeFlagsKHR(0)" ); |
7573 | return ret; |
7574 | } |
7575 | #endif // VK_ENABLE_BETA_EXTENSIONS |
7576 | |
7577 | |
7578 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
7579 | |
7580 | static inline const char* string_VkVideoEncodeFeedbackFlagBitsKHR(VkVideoEncodeFeedbackFlagBitsKHR input_value) |
7581 | { |
7582 | switch (input_value) |
7583 | { |
7584 | case VK_VIDEO_ENCODE_FEEDBACK_BITSTREAM_BUFFER_OFFSET_BIT_KHR: |
7585 | return "VK_VIDEO_ENCODE_FEEDBACK_BITSTREAM_BUFFER_OFFSET_BIT_KHR" ; |
7586 | case VK_VIDEO_ENCODE_FEEDBACK_BITSTREAM_BYTES_WRITTEN_BIT_KHR: |
7587 | return "VK_VIDEO_ENCODE_FEEDBACK_BITSTREAM_BYTES_WRITTEN_BIT_KHR" ; |
7588 | default: |
7589 | return "Unhandled VkVideoEncodeFeedbackFlagBitsKHR" ; |
7590 | } |
7591 | } |
7592 | |
7593 | static inline std::string string_VkVideoEncodeFeedbackFlagsKHR(VkVideoEncodeFeedbackFlagsKHR input_value) |
7594 | { |
7595 | std::string ret; |
7596 | int index = 0; |
7597 | while(input_value) { |
7598 | if (input_value & 1) { |
7599 | if( !ret.empty()) ret.append("|" ); |
7600 | ret.append(string_VkVideoEncodeFeedbackFlagBitsKHR(static_cast<VkVideoEncodeFeedbackFlagBitsKHR>(1U << index))); |
7601 | } |
7602 | ++index; |
7603 | input_value >>= 1; |
7604 | } |
7605 | if (ret.empty()) ret.append("VkVideoEncodeFeedbackFlagsKHR(0)" ); |
7606 | return ret; |
7607 | } |
7608 | #endif // VK_ENABLE_BETA_EXTENSIONS |
7609 | |
7610 | |
7611 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
7612 | |
7613 | static inline const char* string_VkVideoEncodeUsageFlagBitsKHR(VkVideoEncodeUsageFlagBitsKHR input_value) |
7614 | { |
7615 | switch (input_value) |
7616 | { |
7617 | case VK_VIDEO_ENCODE_USAGE_CONFERENCING_BIT_KHR: |
7618 | return "VK_VIDEO_ENCODE_USAGE_CONFERENCING_BIT_KHR" ; |
7619 | case VK_VIDEO_ENCODE_USAGE_DEFAULT_KHR: |
7620 | return "VK_VIDEO_ENCODE_USAGE_DEFAULT_KHR" ; |
7621 | case VK_VIDEO_ENCODE_USAGE_RECORDING_BIT_KHR: |
7622 | return "VK_VIDEO_ENCODE_USAGE_RECORDING_BIT_KHR" ; |
7623 | case VK_VIDEO_ENCODE_USAGE_STREAMING_BIT_KHR: |
7624 | return "VK_VIDEO_ENCODE_USAGE_STREAMING_BIT_KHR" ; |
7625 | case VK_VIDEO_ENCODE_USAGE_TRANSCODING_BIT_KHR: |
7626 | return "VK_VIDEO_ENCODE_USAGE_TRANSCODING_BIT_KHR" ; |
7627 | default: |
7628 | return "Unhandled VkVideoEncodeUsageFlagBitsKHR" ; |
7629 | } |
7630 | } |
7631 | |
7632 | static inline std::string string_VkVideoEncodeUsageFlagsKHR(VkVideoEncodeUsageFlagsKHR input_value) |
7633 | { |
7634 | std::string ret; |
7635 | int index = 0; |
7636 | while(input_value) { |
7637 | if (input_value & 1) { |
7638 | if( !ret.empty()) ret.append("|" ); |
7639 | ret.append(string_VkVideoEncodeUsageFlagBitsKHR(static_cast<VkVideoEncodeUsageFlagBitsKHR>(1U << index))); |
7640 | } |
7641 | ++index; |
7642 | input_value >>= 1; |
7643 | } |
7644 | if (ret.empty()) ret.append("VkVideoEncodeUsageFlagsKHR(0)" ); |
7645 | return ret; |
7646 | } |
7647 | #endif // VK_ENABLE_BETA_EXTENSIONS |
7648 | |
7649 | |
7650 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
7651 | |
7652 | static inline const char* string_VkVideoEncodeContentFlagBitsKHR(VkVideoEncodeContentFlagBitsKHR input_value) |
7653 | { |
7654 | switch (input_value) |
7655 | { |
7656 | case VK_VIDEO_ENCODE_CONTENT_CAMERA_BIT_KHR: |
7657 | return "VK_VIDEO_ENCODE_CONTENT_CAMERA_BIT_KHR" ; |
7658 | case VK_VIDEO_ENCODE_CONTENT_DEFAULT_KHR: |
7659 | return "VK_VIDEO_ENCODE_CONTENT_DEFAULT_KHR" ; |
7660 | case VK_VIDEO_ENCODE_CONTENT_DESKTOP_BIT_KHR: |
7661 | return "VK_VIDEO_ENCODE_CONTENT_DESKTOP_BIT_KHR" ; |
7662 | case VK_VIDEO_ENCODE_CONTENT_RENDERED_BIT_KHR: |
7663 | return "VK_VIDEO_ENCODE_CONTENT_RENDERED_BIT_KHR" ; |
7664 | default: |
7665 | return "Unhandled VkVideoEncodeContentFlagBitsKHR" ; |
7666 | } |
7667 | } |
7668 | |
7669 | static inline std::string string_VkVideoEncodeContentFlagsKHR(VkVideoEncodeContentFlagsKHR input_value) |
7670 | { |
7671 | std::string ret; |
7672 | int index = 0; |
7673 | while(input_value) { |
7674 | if (input_value & 1) { |
7675 | if( !ret.empty()) ret.append("|" ); |
7676 | ret.append(string_VkVideoEncodeContentFlagBitsKHR(static_cast<VkVideoEncodeContentFlagBitsKHR>(1U << index))); |
7677 | } |
7678 | ++index; |
7679 | input_value >>= 1; |
7680 | } |
7681 | if (ret.empty()) ret.append("VkVideoEncodeContentFlagsKHR(0)" ); |
7682 | return ret; |
7683 | } |
7684 | #endif // VK_ENABLE_BETA_EXTENSIONS |
7685 | |
7686 | |
7687 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
7688 | |
7689 | static inline const char* string_VkVideoEncodeTuningModeKHR(VkVideoEncodeTuningModeKHR input_value) |
7690 | { |
7691 | switch (input_value) |
7692 | { |
7693 | case VK_VIDEO_ENCODE_TUNING_MODE_DEFAULT_KHR: |
7694 | return "VK_VIDEO_ENCODE_TUNING_MODE_DEFAULT_KHR" ; |
7695 | case VK_VIDEO_ENCODE_TUNING_MODE_HIGH_QUALITY_KHR: |
7696 | return "VK_VIDEO_ENCODE_TUNING_MODE_HIGH_QUALITY_KHR" ; |
7697 | case VK_VIDEO_ENCODE_TUNING_MODE_LOSSLESS_KHR: |
7698 | return "VK_VIDEO_ENCODE_TUNING_MODE_LOSSLESS_KHR" ; |
7699 | case VK_VIDEO_ENCODE_TUNING_MODE_LOW_LATENCY_KHR: |
7700 | return "VK_VIDEO_ENCODE_TUNING_MODE_LOW_LATENCY_KHR" ; |
7701 | case VK_VIDEO_ENCODE_TUNING_MODE_ULTRA_LOW_LATENCY_KHR: |
7702 | return "VK_VIDEO_ENCODE_TUNING_MODE_ULTRA_LOW_LATENCY_KHR" ; |
7703 | default: |
7704 | return "Unhandled VkVideoEncodeTuningModeKHR" ; |
7705 | } |
7706 | } |
7707 | #endif // VK_ENABLE_BETA_EXTENSIONS |
7708 | |
7709 | static inline const char* string_VkPipelineStageFlagBits2KHR(uint64_t input_value) |
7710 | { |
7711 | switch (input_value) |
7712 | { |
7713 | case VK_PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR: |
7714 | return "VK_PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR" ; |
7715 | case VK_PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHR: |
7716 | return "VK_PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHR" ; |
7717 | case VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT: |
7718 | return "VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT" ; |
7719 | case VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT: |
7720 | return "VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT" ; |
7721 | case VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT: |
7722 | return "VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT" ; |
7723 | case VK_PIPELINE_STAGE_2_BLIT_BIT: |
7724 | return "VK_PIPELINE_STAGE_2_BLIT_BIT" ; |
7725 | case VK_PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BIT: |
7726 | return "VK_PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BIT" ; |
7727 | case VK_PIPELINE_STAGE_2_CLEAR_BIT: |
7728 | return "VK_PIPELINE_STAGE_2_CLEAR_BIT" ; |
7729 | case VK_PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI: |
7730 | return "VK_PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI" ; |
7731 | case VK_PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT: |
7732 | return "VK_PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT" ; |
7733 | case VK_PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NV: |
7734 | return "VK_PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NV" ; |
7735 | case VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT: |
7736 | return "VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT" ; |
7737 | case VK_PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXT: |
7738 | return "VK_PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXT" ; |
7739 | case VK_PIPELINE_STAGE_2_COPY_BIT: |
7740 | return "VK_PIPELINE_STAGE_2_COPY_BIT" ; |
7741 | case VK_PIPELINE_STAGE_2_DRAW_INDIRECT_BIT: |
7742 | return "VK_PIPELINE_STAGE_2_DRAW_INDIRECT_BIT" ; |
7743 | case VK_PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BIT: |
7744 | return "VK_PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BIT" ; |
7745 | case VK_PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXT: |
7746 | return "VK_PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXT" ; |
7747 | case VK_PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT: |
7748 | return "VK_PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT" ; |
7749 | case VK_PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR: |
7750 | return "VK_PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR" ; |
7751 | case VK_PIPELINE_STAGE_2_GEOMETRY_SHADER_BIT: |
7752 | return "VK_PIPELINE_STAGE_2_GEOMETRY_SHADER_BIT" ; |
7753 | case VK_PIPELINE_STAGE_2_HOST_BIT: |
7754 | return "VK_PIPELINE_STAGE_2_HOST_BIT" ; |
7755 | case VK_PIPELINE_STAGE_2_INDEX_INPUT_BIT: |
7756 | return "VK_PIPELINE_STAGE_2_INDEX_INPUT_BIT" ; |
7757 | case VK_PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEI: |
7758 | return "VK_PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEI" ; |
7759 | case VK_PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BIT: |
7760 | return "VK_PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BIT" ; |
7761 | case VK_PIPELINE_STAGE_2_MESH_SHADER_BIT_EXT: |
7762 | return "VK_PIPELINE_STAGE_2_MESH_SHADER_BIT_EXT" ; |
7763 | case VK_PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXT: |
7764 | return "VK_PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXT" ; |
7765 | case VK_PIPELINE_STAGE_2_NONE: |
7766 | return "VK_PIPELINE_STAGE_2_NONE" ; |
7767 | case VK_PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NV: |
7768 | return "VK_PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NV" ; |
7769 | case VK_PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BIT: |
7770 | return "VK_PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BIT" ; |
7771 | case VK_PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR: |
7772 | return "VK_PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR" ; |
7773 | case VK_PIPELINE_STAGE_2_RESOLVE_BIT: |
7774 | return "VK_PIPELINE_STAGE_2_RESOLVE_BIT" ; |
7775 | case VK_PIPELINE_STAGE_2_SUBPASS_SHADING_BIT_HUAWEI: |
7776 | return "VK_PIPELINE_STAGE_2_SUBPASS_SHADING_BIT_HUAWEI" ; |
7777 | case VK_PIPELINE_STAGE_2_TASK_SHADER_BIT_EXT: |
7778 | return "VK_PIPELINE_STAGE_2_TASK_SHADER_BIT_EXT" ; |
7779 | case VK_PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BIT: |
7780 | return "VK_PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BIT" ; |
7781 | case VK_PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BIT: |
7782 | return "VK_PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BIT" ; |
7783 | case VK_PIPELINE_STAGE_2_TOP_OF_PIPE_BIT: |
7784 | return "VK_PIPELINE_STAGE_2_TOP_OF_PIPE_BIT" ; |
7785 | case VK_PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXT: |
7786 | return "VK_PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXT" ; |
7787 | case VK_PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BIT: |
7788 | return "VK_PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BIT" ; |
7789 | case VK_PIPELINE_STAGE_2_VERTEX_INPUT_BIT: |
7790 | return "VK_PIPELINE_STAGE_2_VERTEX_INPUT_BIT" ; |
7791 | case VK_PIPELINE_STAGE_2_VERTEX_SHADER_BIT: |
7792 | return "VK_PIPELINE_STAGE_2_VERTEX_SHADER_BIT" ; |
7793 | case VK_PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHR: |
7794 | return "VK_PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHR" ; |
7795 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
7796 | case VK_PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHR: |
7797 | return "VK_PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHR" ; |
7798 | #endif // VK_ENABLE_BETA_EXTENSIONS |
7799 | default: |
7800 | return "Unhandled VkPipelineStageFlagBits2KHR" ; |
7801 | } |
7802 | } |
7803 | |
7804 | static inline std::string string_VkPipelineStageFlags2KHR(VkPipelineStageFlags2KHR input_value) |
7805 | { |
7806 | std::string ret; |
7807 | int index = 0; |
7808 | while(input_value) { |
7809 | if (input_value & 1) { |
7810 | if( !ret.empty()) ret.append("|" ); |
7811 | ret.append(string_VkPipelineStageFlagBits2KHR(static_cast<uint64_t>(1ULL << index))); |
7812 | } |
7813 | ++index; |
7814 | input_value >>= 1; |
7815 | } |
7816 | if (ret.empty()) ret.append("VkPipelineStageFlags2KHR(0)" ); |
7817 | return ret; |
7818 | } |
7819 | |
7820 | static inline const char* string_VkAccessFlagBits2KHR(uint64_t input_value) |
7821 | { |
7822 | switch (input_value) |
7823 | { |
7824 | case VK_ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHR: |
7825 | return "VK_ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHR" ; |
7826 | case VK_ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHR: |
7827 | return "VK_ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHR" ; |
7828 | case VK_ACCESS_2_COLOR_ATTACHMENT_READ_BIT: |
7829 | return "VK_ACCESS_2_COLOR_ATTACHMENT_READ_BIT" ; |
7830 | case VK_ACCESS_2_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT: |
7831 | return "VK_ACCESS_2_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT" ; |
7832 | case VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT: |
7833 | return "VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT" ; |
7834 | case VK_ACCESS_2_COMMAND_PREPROCESS_READ_BIT_NV: |
7835 | return "VK_ACCESS_2_COMMAND_PREPROCESS_READ_BIT_NV" ; |
7836 | case VK_ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_NV: |
7837 | return "VK_ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_NV" ; |
7838 | case VK_ACCESS_2_CONDITIONAL_RENDERING_READ_BIT_EXT: |
7839 | return "VK_ACCESS_2_CONDITIONAL_RENDERING_READ_BIT_EXT" ; |
7840 | case VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BIT: |
7841 | return "VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BIT" ; |
7842 | case VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT: |
7843 | return "VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT" ; |
7844 | case VK_ACCESS_2_DESCRIPTOR_BUFFER_READ_BIT_EXT: |
7845 | return "VK_ACCESS_2_DESCRIPTOR_BUFFER_READ_BIT_EXT" ; |
7846 | case VK_ACCESS_2_FRAGMENT_DENSITY_MAP_READ_BIT_EXT: |
7847 | return "VK_ACCESS_2_FRAGMENT_DENSITY_MAP_READ_BIT_EXT" ; |
7848 | case VK_ACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR: |
7849 | return "VK_ACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR" ; |
7850 | case VK_ACCESS_2_HOST_READ_BIT: |
7851 | return "VK_ACCESS_2_HOST_READ_BIT" ; |
7852 | case VK_ACCESS_2_HOST_WRITE_BIT: |
7853 | return "VK_ACCESS_2_HOST_WRITE_BIT" ; |
7854 | case VK_ACCESS_2_INDEX_READ_BIT: |
7855 | return "VK_ACCESS_2_INDEX_READ_BIT" ; |
7856 | case VK_ACCESS_2_INDIRECT_COMMAND_READ_BIT: |
7857 | return "VK_ACCESS_2_INDIRECT_COMMAND_READ_BIT" ; |
7858 | case VK_ACCESS_2_INPUT_ATTACHMENT_READ_BIT: |
7859 | return "VK_ACCESS_2_INPUT_ATTACHMENT_READ_BIT" ; |
7860 | case VK_ACCESS_2_INVOCATION_MASK_READ_BIT_HUAWEI: |
7861 | return "VK_ACCESS_2_INVOCATION_MASK_READ_BIT_HUAWEI" ; |
7862 | case VK_ACCESS_2_MEMORY_READ_BIT: |
7863 | return "VK_ACCESS_2_MEMORY_READ_BIT" ; |
7864 | case VK_ACCESS_2_MEMORY_WRITE_BIT: |
7865 | return "VK_ACCESS_2_MEMORY_WRITE_BIT" ; |
7866 | case VK_ACCESS_2_MICROMAP_READ_BIT_EXT: |
7867 | return "VK_ACCESS_2_MICROMAP_READ_BIT_EXT" ; |
7868 | case VK_ACCESS_2_MICROMAP_WRITE_BIT_EXT: |
7869 | return "VK_ACCESS_2_MICROMAP_WRITE_BIT_EXT" ; |
7870 | case VK_ACCESS_2_NONE: |
7871 | return "VK_ACCESS_2_NONE" ; |
7872 | case VK_ACCESS_2_OPTICAL_FLOW_READ_BIT_NV: |
7873 | return "VK_ACCESS_2_OPTICAL_FLOW_READ_BIT_NV" ; |
7874 | case VK_ACCESS_2_OPTICAL_FLOW_WRITE_BIT_NV: |
7875 | return "VK_ACCESS_2_OPTICAL_FLOW_WRITE_BIT_NV" ; |
7876 | case VK_ACCESS_2_SHADER_BINDING_TABLE_READ_BIT_KHR: |
7877 | return "VK_ACCESS_2_SHADER_BINDING_TABLE_READ_BIT_KHR" ; |
7878 | case VK_ACCESS_2_SHADER_READ_BIT: |
7879 | return "VK_ACCESS_2_SHADER_READ_BIT" ; |
7880 | case VK_ACCESS_2_SHADER_SAMPLED_READ_BIT: |
7881 | return "VK_ACCESS_2_SHADER_SAMPLED_READ_BIT" ; |
7882 | case VK_ACCESS_2_SHADER_STORAGE_READ_BIT: |
7883 | return "VK_ACCESS_2_SHADER_STORAGE_READ_BIT" ; |
7884 | case VK_ACCESS_2_SHADER_STORAGE_WRITE_BIT: |
7885 | return "VK_ACCESS_2_SHADER_STORAGE_WRITE_BIT" ; |
7886 | case VK_ACCESS_2_SHADER_WRITE_BIT: |
7887 | return "VK_ACCESS_2_SHADER_WRITE_BIT" ; |
7888 | case VK_ACCESS_2_TRANSFER_READ_BIT: |
7889 | return "VK_ACCESS_2_TRANSFER_READ_BIT" ; |
7890 | case VK_ACCESS_2_TRANSFER_WRITE_BIT: |
7891 | return "VK_ACCESS_2_TRANSFER_WRITE_BIT" ; |
7892 | case VK_ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT: |
7893 | return "VK_ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT" ; |
7894 | case VK_ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT: |
7895 | return "VK_ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT" ; |
7896 | case VK_ACCESS_2_TRANSFORM_FEEDBACK_WRITE_BIT_EXT: |
7897 | return "VK_ACCESS_2_TRANSFORM_FEEDBACK_WRITE_BIT_EXT" ; |
7898 | case VK_ACCESS_2_UNIFORM_READ_BIT: |
7899 | return "VK_ACCESS_2_UNIFORM_READ_BIT" ; |
7900 | case VK_ACCESS_2_VERTEX_ATTRIBUTE_READ_BIT: |
7901 | return "VK_ACCESS_2_VERTEX_ATTRIBUTE_READ_BIT" ; |
7902 | case VK_ACCESS_2_VIDEO_DECODE_READ_BIT_KHR: |
7903 | return "VK_ACCESS_2_VIDEO_DECODE_READ_BIT_KHR" ; |
7904 | case VK_ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHR: |
7905 | return "VK_ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHR" ; |
7906 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
7907 | case VK_ACCESS_2_VIDEO_ENCODE_READ_BIT_KHR: |
7908 | return "VK_ACCESS_2_VIDEO_ENCODE_READ_BIT_KHR" ; |
7909 | #endif // VK_ENABLE_BETA_EXTENSIONS |
7910 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
7911 | case VK_ACCESS_2_VIDEO_ENCODE_WRITE_BIT_KHR: |
7912 | return "VK_ACCESS_2_VIDEO_ENCODE_WRITE_BIT_KHR" ; |
7913 | #endif // VK_ENABLE_BETA_EXTENSIONS |
7914 | default: |
7915 | return "Unhandled VkAccessFlagBits2KHR" ; |
7916 | } |
7917 | } |
7918 | |
7919 | static inline std::string string_VkAccessFlags2KHR(VkAccessFlags2KHR input_value) |
7920 | { |
7921 | std::string ret; |
7922 | int index = 0; |
7923 | while(input_value) { |
7924 | if (input_value & 1) { |
7925 | if( !ret.empty()) ret.append("|" ); |
7926 | ret.append(string_VkAccessFlagBits2KHR(static_cast<uint64_t>(1ULL << index))); |
7927 | } |
7928 | ++index; |
7929 | input_value >>= 1; |
7930 | } |
7931 | if (ret.empty()) ret.append("VkAccessFlags2KHR(0)" ); |
7932 | return ret; |
7933 | } |
7934 | |
7935 | static inline const char* string_VkSubmitFlagBitsKHR(VkSubmitFlagBitsKHR input_value) |
7936 | { |
7937 | switch (input_value) |
7938 | { |
7939 | case VK_SUBMIT_PROTECTED_BIT: |
7940 | return "VK_SUBMIT_PROTECTED_BIT" ; |
7941 | default: |
7942 | return "Unhandled VkSubmitFlagBitsKHR" ; |
7943 | } |
7944 | } |
7945 | |
7946 | static inline std::string string_VkSubmitFlagsKHR(VkSubmitFlagsKHR input_value) |
7947 | { |
7948 | std::string ret; |
7949 | int index = 0; |
7950 | while(input_value) { |
7951 | if (input_value & 1) { |
7952 | if( !ret.empty()) ret.append("|" ); |
7953 | ret.append(string_VkSubmitFlagBitsKHR(static_cast<VkSubmitFlagBitsKHR>(1U << index))); |
7954 | } |
7955 | ++index; |
7956 | input_value >>= 1; |
7957 | } |
7958 | if (ret.empty()) ret.append("VkSubmitFlagsKHR(0)" ); |
7959 | return ret; |
7960 | } |
7961 | |
7962 | static inline const char* string_VkFormatFeatureFlagBits2KHR(uint64_t input_value) |
7963 | { |
7964 | switch (input_value) |
7965 | { |
7966 | case VK_FORMAT_FEATURE_2_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHR: |
7967 | return "VK_FORMAT_FEATURE_2_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHR" ; |
7968 | case VK_FORMAT_FEATURE_2_BLIT_DST_BIT: |
7969 | return "VK_FORMAT_FEATURE_2_BLIT_DST_BIT" ; |
7970 | case VK_FORMAT_FEATURE_2_BLIT_SRC_BIT: |
7971 | return "VK_FORMAT_FEATURE_2_BLIT_SRC_BIT" ; |
7972 | case VK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM: |
7973 | return "VK_FORMAT_FEATURE_2_BLOCK_MATCHING_BIT_QCOM" ; |
7974 | case VK_FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOM: |
7975 | return "VK_FORMAT_FEATURE_2_BOX_FILTER_SAMPLED_BIT_QCOM" ; |
7976 | case VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BIT: |
7977 | return "VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BIT" ; |
7978 | case VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BIT: |
7979 | return "VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BIT" ; |
7980 | case VK_FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BIT: |
7981 | return "VK_FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BIT" ; |
7982 | case VK_FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BIT: |
7983 | return "VK_FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BIT" ; |
7984 | case VK_FORMAT_FEATURE_2_DISJOINT_BIT: |
7985 | return "VK_FORMAT_FEATURE_2_DISJOINT_BIT" ; |
7986 | case VK_FORMAT_FEATURE_2_FRAGMENT_DENSITY_MAP_BIT_EXT: |
7987 | return "VK_FORMAT_FEATURE_2_FRAGMENT_DENSITY_MAP_BIT_EXT" ; |
7988 | case VK_FORMAT_FEATURE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR: |
7989 | return "VK_FORMAT_FEATURE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR" ; |
7990 | case VK_FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NV: |
7991 | return "VK_FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NV" ; |
7992 | case VK_FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT: |
7993 | return "VK_FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT" ; |
7994 | case VK_FORMAT_FEATURE_2_OPTICAL_FLOW_COST_BIT_NV: |
7995 | return "VK_FORMAT_FEATURE_2_OPTICAL_FLOW_COST_BIT_NV" ; |
7996 | case VK_FORMAT_FEATURE_2_OPTICAL_FLOW_IMAGE_BIT_NV: |
7997 | return "VK_FORMAT_FEATURE_2_OPTICAL_FLOW_IMAGE_BIT_NV" ; |
7998 | case VK_FORMAT_FEATURE_2_OPTICAL_FLOW_VECTOR_BIT_NV: |
7999 | return "VK_FORMAT_FEATURE_2_OPTICAL_FLOW_VECTOR_BIT_NV" ; |
8000 | case VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_BIT: |
8001 | return "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_BIT" ; |
8002 | case VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BIT: |
8003 | return "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BIT" ; |
8004 | case VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BIT: |
8005 | return "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BIT" ; |
8006 | case VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BIT: |
8007 | return "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BIT" ; |
8008 | case VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BIT: |
8009 | return "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BIT" ; |
8010 | case VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT: |
8011 | return "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT" ; |
8012 | case VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT: |
8013 | return "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT" ; |
8014 | case VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT: |
8015 | return "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT" ; |
8016 | case VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT: |
8017 | return "VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT" ; |
8018 | case VK_FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BIT: |
8019 | return "VK_FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BIT" ; |
8020 | case VK_FORMAT_FEATURE_2_STORAGE_IMAGE_BIT: |
8021 | return "VK_FORMAT_FEATURE_2_STORAGE_IMAGE_BIT" ; |
8022 | case VK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT: |
8023 | return "VK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT" ; |
8024 | case VK_FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BIT: |
8025 | return "VK_FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BIT" ; |
8026 | case VK_FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BIT: |
8027 | return "VK_FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BIT" ; |
8028 | case VK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT: |
8029 | return "VK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT" ; |
8030 | case VK_FORMAT_FEATURE_2_TRANSFER_DST_BIT: |
8031 | return "VK_FORMAT_FEATURE_2_TRANSFER_DST_BIT" ; |
8032 | case VK_FORMAT_FEATURE_2_TRANSFER_SRC_BIT: |
8033 | return "VK_FORMAT_FEATURE_2_TRANSFER_SRC_BIT" ; |
8034 | case VK_FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BIT: |
8035 | return "VK_FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BIT" ; |
8036 | case VK_FORMAT_FEATURE_2_VERTEX_BUFFER_BIT: |
8037 | return "VK_FORMAT_FEATURE_2_VERTEX_BUFFER_BIT" ; |
8038 | case VK_FORMAT_FEATURE_2_VIDEO_DECODE_DPB_BIT_KHR: |
8039 | return "VK_FORMAT_FEATURE_2_VIDEO_DECODE_DPB_BIT_KHR" ; |
8040 | case VK_FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHR: |
8041 | return "VK_FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHR" ; |
8042 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
8043 | case VK_FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHR: |
8044 | return "VK_FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHR" ; |
8045 | #endif // VK_ENABLE_BETA_EXTENSIONS |
8046 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
8047 | case VK_FORMAT_FEATURE_2_VIDEO_ENCODE_INPUT_BIT_KHR: |
8048 | return "VK_FORMAT_FEATURE_2_VIDEO_ENCODE_INPUT_BIT_KHR" ; |
8049 | #endif // VK_ENABLE_BETA_EXTENSIONS |
8050 | case VK_FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOM: |
8051 | return "VK_FORMAT_FEATURE_2_WEIGHT_IMAGE_BIT_QCOM" ; |
8052 | case VK_FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOM: |
8053 | return "VK_FORMAT_FEATURE_2_WEIGHT_SAMPLED_IMAGE_BIT_QCOM" ; |
8054 | default: |
8055 | return "Unhandled VkFormatFeatureFlagBits2KHR" ; |
8056 | } |
8057 | } |
8058 | |
8059 | static inline std::string string_VkFormatFeatureFlags2KHR(VkFormatFeatureFlags2KHR input_value) |
8060 | { |
8061 | std::string ret; |
8062 | int index = 0; |
8063 | while(input_value) { |
8064 | if (input_value & 1) { |
8065 | if( !ret.empty()) ret.append("|" ); |
8066 | ret.append(string_VkFormatFeatureFlagBits2KHR(static_cast<uint64_t>(1ULL << index))); |
8067 | } |
8068 | ++index; |
8069 | input_value >>= 1; |
8070 | } |
8071 | if (ret.empty()) ret.append("VkFormatFeatureFlags2KHR(0)" ); |
8072 | return ret; |
8073 | } |
8074 | |
8075 | static inline const char* string_VkDebugReportFlagBitsEXT(VkDebugReportFlagBitsEXT input_value) |
8076 | { |
8077 | switch (input_value) |
8078 | { |
8079 | case VK_DEBUG_REPORT_DEBUG_BIT_EXT: |
8080 | return "VK_DEBUG_REPORT_DEBUG_BIT_EXT" ; |
8081 | case VK_DEBUG_REPORT_ERROR_BIT_EXT: |
8082 | return "VK_DEBUG_REPORT_ERROR_BIT_EXT" ; |
8083 | case VK_DEBUG_REPORT_INFORMATION_BIT_EXT: |
8084 | return "VK_DEBUG_REPORT_INFORMATION_BIT_EXT" ; |
8085 | case VK_DEBUG_REPORT_PERFORMANCE_WARNING_BIT_EXT: |
8086 | return "VK_DEBUG_REPORT_PERFORMANCE_WARNING_BIT_EXT" ; |
8087 | case VK_DEBUG_REPORT_WARNING_BIT_EXT: |
8088 | return "VK_DEBUG_REPORT_WARNING_BIT_EXT" ; |
8089 | default: |
8090 | return "Unhandled VkDebugReportFlagBitsEXT" ; |
8091 | } |
8092 | } |
8093 | |
8094 | static inline std::string string_VkDebugReportFlagsEXT(VkDebugReportFlagsEXT input_value) |
8095 | { |
8096 | std::string ret; |
8097 | int index = 0; |
8098 | while(input_value) { |
8099 | if (input_value & 1) { |
8100 | if( !ret.empty()) ret.append("|" ); |
8101 | ret.append(string_VkDebugReportFlagBitsEXT(static_cast<VkDebugReportFlagBitsEXT>(1U << index))); |
8102 | } |
8103 | ++index; |
8104 | input_value >>= 1; |
8105 | } |
8106 | if (ret.empty()) ret.append("VkDebugReportFlagsEXT(0)" ); |
8107 | return ret; |
8108 | } |
8109 | |
8110 | static inline const char* string_VkDebugReportObjectTypeEXT(VkDebugReportObjectTypeEXT input_value) |
8111 | { |
8112 | switch (input_value) |
8113 | { |
8114 | case VK_DEBUG_REPORT_OBJECT_TYPE_ACCELERATION_STRUCTURE_KHR_EXT: |
8115 | return "VK_DEBUG_REPORT_OBJECT_TYPE_ACCELERATION_STRUCTURE_KHR_EXT" ; |
8116 | case VK_DEBUG_REPORT_OBJECT_TYPE_ACCELERATION_STRUCTURE_NV_EXT: |
8117 | return "VK_DEBUG_REPORT_OBJECT_TYPE_ACCELERATION_STRUCTURE_NV_EXT" ; |
8118 | case VK_DEBUG_REPORT_OBJECT_TYPE_BUFFER_COLLECTION_FUCHSIA_EXT: |
8119 | return "VK_DEBUG_REPORT_OBJECT_TYPE_BUFFER_COLLECTION_FUCHSIA_EXT" ; |
8120 | case VK_DEBUG_REPORT_OBJECT_TYPE_BUFFER_EXT: |
8121 | return "VK_DEBUG_REPORT_OBJECT_TYPE_BUFFER_EXT" ; |
8122 | case VK_DEBUG_REPORT_OBJECT_TYPE_BUFFER_VIEW_EXT: |
8123 | return "VK_DEBUG_REPORT_OBJECT_TYPE_BUFFER_VIEW_EXT" ; |
8124 | case VK_DEBUG_REPORT_OBJECT_TYPE_COMMAND_BUFFER_EXT: |
8125 | return "VK_DEBUG_REPORT_OBJECT_TYPE_COMMAND_BUFFER_EXT" ; |
8126 | case VK_DEBUG_REPORT_OBJECT_TYPE_COMMAND_POOL_EXT: |
8127 | return "VK_DEBUG_REPORT_OBJECT_TYPE_COMMAND_POOL_EXT" ; |
8128 | case VK_DEBUG_REPORT_OBJECT_TYPE_CU_FUNCTION_NVX_EXT: |
8129 | return "VK_DEBUG_REPORT_OBJECT_TYPE_CU_FUNCTION_NVX_EXT" ; |
8130 | case VK_DEBUG_REPORT_OBJECT_TYPE_CU_MODULE_NVX_EXT: |
8131 | return "VK_DEBUG_REPORT_OBJECT_TYPE_CU_MODULE_NVX_EXT" ; |
8132 | case VK_DEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT_EXT: |
8133 | return "VK_DEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT_EXT" ; |
8134 | case VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_POOL_EXT: |
8135 | return "VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_POOL_EXT" ; |
8136 | case VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_EXT: |
8137 | return "VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_EXT" ; |
8138 | case VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT_EXT: |
8139 | return "VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT_EXT" ; |
8140 | case VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_EXT: |
8141 | return "VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_EXT" ; |
8142 | case VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT: |
8143 | return "VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT" ; |
8144 | case VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_MEMORY_EXT: |
8145 | return "VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_MEMORY_EXT" ; |
8146 | case VK_DEBUG_REPORT_OBJECT_TYPE_DISPLAY_KHR_EXT: |
8147 | return "VK_DEBUG_REPORT_OBJECT_TYPE_DISPLAY_KHR_EXT" ; |
8148 | case VK_DEBUG_REPORT_OBJECT_TYPE_DISPLAY_MODE_KHR_EXT: |
8149 | return "VK_DEBUG_REPORT_OBJECT_TYPE_DISPLAY_MODE_KHR_EXT" ; |
8150 | case VK_DEBUG_REPORT_OBJECT_TYPE_EVENT_EXT: |
8151 | return "VK_DEBUG_REPORT_OBJECT_TYPE_EVENT_EXT" ; |
8152 | case VK_DEBUG_REPORT_OBJECT_TYPE_FENCE_EXT: |
8153 | return "VK_DEBUG_REPORT_OBJECT_TYPE_FENCE_EXT" ; |
8154 | case VK_DEBUG_REPORT_OBJECT_TYPE_FRAMEBUFFER_EXT: |
8155 | return "VK_DEBUG_REPORT_OBJECT_TYPE_FRAMEBUFFER_EXT" ; |
8156 | case VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_EXT: |
8157 | return "VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_EXT" ; |
8158 | case VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_VIEW_EXT: |
8159 | return "VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_VIEW_EXT" ; |
8160 | case VK_DEBUG_REPORT_OBJECT_TYPE_INSTANCE_EXT: |
8161 | return "VK_DEBUG_REPORT_OBJECT_TYPE_INSTANCE_EXT" ; |
8162 | case VK_DEBUG_REPORT_OBJECT_TYPE_PHYSICAL_DEVICE_EXT: |
8163 | return "VK_DEBUG_REPORT_OBJECT_TYPE_PHYSICAL_DEVICE_EXT" ; |
8164 | case VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_CACHE_EXT: |
8165 | return "VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_CACHE_EXT" ; |
8166 | case VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_EXT: |
8167 | return "VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_EXT" ; |
8168 | case VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_LAYOUT_EXT: |
8169 | return "VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_LAYOUT_EXT" ; |
8170 | case VK_DEBUG_REPORT_OBJECT_TYPE_QUERY_POOL_EXT: |
8171 | return "VK_DEBUG_REPORT_OBJECT_TYPE_QUERY_POOL_EXT" ; |
8172 | case VK_DEBUG_REPORT_OBJECT_TYPE_QUEUE_EXT: |
8173 | return "VK_DEBUG_REPORT_OBJECT_TYPE_QUEUE_EXT" ; |
8174 | case VK_DEBUG_REPORT_OBJECT_TYPE_RENDER_PASS_EXT: |
8175 | return "VK_DEBUG_REPORT_OBJECT_TYPE_RENDER_PASS_EXT" ; |
8176 | case VK_DEBUG_REPORT_OBJECT_TYPE_SAMPLER_EXT: |
8177 | return "VK_DEBUG_REPORT_OBJECT_TYPE_SAMPLER_EXT" ; |
8178 | case VK_DEBUG_REPORT_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_EXT: |
8179 | return "VK_DEBUG_REPORT_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_EXT" ; |
8180 | case VK_DEBUG_REPORT_OBJECT_TYPE_SEMAPHORE_EXT: |
8181 | return "VK_DEBUG_REPORT_OBJECT_TYPE_SEMAPHORE_EXT" ; |
8182 | case VK_DEBUG_REPORT_OBJECT_TYPE_SHADER_MODULE_EXT: |
8183 | return "VK_DEBUG_REPORT_OBJECT_TYPE_SHADER_MODULE_EXT" ; |
8184 | case VK_DEBUG_REPORT_OBJECT_TYPE_SURFACE_KHR_EXT: |
8185 | return "VK_DEBUG_REPORT_OBJECT_TYPE_SURFACE_KHR_EXT" ; |
8186 | case VK_DEBUG_REPORT_OBJECT_TYPE_SWAPCHAIN_KHR_EXT: |
8187 | return "VK_DEBUG_REPORT_OBJECT_TYPE_SWAPCHAIN_KHR_EXT" ; |
8188 | case VK_DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT: |
8189 | return "VK_DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT" ; |
8190 | case VK_DEBUG_REPORT_OBJECT_TYPE_VALIDATION_CACHE_EXT_EXT: |
8191 | return "VK_DEBUG_REPORT_OBJECT_TYPE_VALIDATION_CACHE_EXT_EXT" ; |
8192 | default: |
8193 | return "Unhandled VkDebugReportObjectTypeEXT" ; |
8194 | } |
8195 | } |
8196 | |
8197 | static inline const char* string_VkRasterizationOrderAMD(VkRasterizationOrderAMD input_value) |
8198 | { |
8199 | switch (input_value) |
8200 | { |
8201 | case VK_RASTERIZATION_ORDER_RELAXED_AMD: |
8202 | return "VK_RASTERIZATION_ORDER_RELAXED_AMD" ; |
8203 | case VK_RASTERIZATION_ORDER_STRICT_AMD: |
8204 | return "VK_RASTERIZATION_ORDER_STRICT_AMD" ; |
8205 | default: |
8206 | return "Unhandled VkRasterizationOrderAMD" ; |
8207 | } |
8208 | } |
8209 | |
8210 | |
8211 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
8212 | |
8213 | static inline const char* string_VkVideoEncodeH264CapabilityFlagBitsEXT(VkVideoEncodeH264CapabilityFlagBitsEXT input_value) |
8214 | { |
8215 | switch (input_value) |
8216 | { |
8217 | case VK_VIDEO_ENCODE_H264_CAPABILITY_B_FRAME_IN_L1_LIST_BIT_EXT: |
8218 | return "VK_VIDEO_ENCODE_H264_CAPABILITY_B_FRAME_IN_L1_LIST_BIT_EXT" ; |
8219 | case VK_VIDEO_ENCODE_H264_CAPABILITY_CABAC_BIT_EXT: |
8220 | return "VK_VIDEO_ENCODE_H264_CAPABILITY_CABAC_BIT_EXT" ; |
8221 | case VK_VIDEO_ENCODE_H264_CAPABILITY_CAVLC_BIT_EXT: |
8222 | return "VK_VIDEO_ENCODE_H264_CAPABILITY_CAVLC_BIT_EXT" ; |
8223 | case VK_VIDEO_ENCODE_H264_CAPABILITY_CHROMA_QP_OFFSET_BIT_EXT: |
8224 | return "VK_VIDEO_ENCODE_H264_CAPABILITY_CHROMA_QP_OFFSET_BIT_EXT" ; |
8225 | case VK_VIDEO_ENCODE_H264_CAPABILITY_DEBLOCKING_FILTER_DISABLED_BIT_EXT: |
8226 | return "VK_VIDEO_ENCODE_H264_CAPABILITY_DEBLOCKING_FILTER_DISABLED_BIT_EXT" ; |
8227 | case VK_VIDEO_ENCODE_H264_CAPABILITY_DEBLOCKING_FILTER_ENABLED_BIT_EXT: |
8228 | return "VK_VIDEO_ENCODE_H264_CAPABILITY_DEBLOCKING_FILTER_ENABLED_BIT_EXT" ; |
8229 | case VK_VIDEO_ENCODE_H264_CAPABILITY_DEBLOCKING_FILTER_PARTIAL_BIT_EXT: |
8230 | return "VK_VIDEO_ENCODE_H264_CAPABILITY_DEBLOCKING_FILTER_PARTIAL_BIT_EXT" ; |
8231 | case VK_VIDEO_ENCODE_H264_CAPABILITY_DIFFERENT_REFERENCE_FINAL_LISTS_BIT_EXT: |
8232 | return "VK_VIDEO_ENCODE_H264_CAPABILITY_DIFFERENT_REFERENCE_FINAL_LISTS_BIT_EXT" ; |
8233 | case VK_VIDEO_ENCODE_H264_CAPABILITY_DIFFERENT_SLICE_TYPE_BIT_EXT: |
8234 | return "VK_VIDEO_ENCODE_H264_CAPABILITY_DIFFERENT_SLICE_TYPE_BIT_EXT" ; |
8235 | case VK_VIDEO_ENCODE_H264_CAPABILITY_DIRECT_8X8_INFERENCE_DISABLED_BIT_EXT: |
8236 | return "VK_VIDEO_ENCODE_H264_CAPABILITY_DIRECT_8X8_INFERENCE_DISABLED_BIT_EXT" ; |
8237 | case VK_VIDEO_ENCODE_H264_CAPABILITY_DIRECT_8X8_INFERENCE_ENABLED_BIT_EXT: |
8238 | return "VK_VIDEO_ENCODE_H264_CAPABILITY_DIRECT_8X8_INFERENCE_ENABLED_BIT_EXT" ; |
8239 | case VK_VIDEO_ENCODE_H264_CAPABILITY_DISABLE_DIRECT_SPATIAL_MV_PRED_BIT_EXT: |
8240 | return "VK_VIDEO_ENCODE_H264_CAPABILITY_DISABLE_DIRECT_SPATIAL_MV_PRED_BIT_EXT" ; |
8241 | case VK_VIDEO_ENCODE_H264_CAPABILITY_HRD_COMPLIANCE_BIT_EXT: |
8242 | return "VK_VIDEO_ENCODE_H264_CAPABILITY_HRD_COMPLIANCE_BIT_EXT" ; |
8243 | case VK_VIDEO_ENCODE_H264_CAPABILITY_MULTIPLE_SLICE_PER_FRAME_BIT_EXT: |
8244 | return "VK_VIDEO_ENCODE_H264_CAPABILITY_MULTIPLE_SLICE_PER_FRAME_BIT_EXT" ; |
8245 | case VK_VIDEO_ENCODE_H264_CAPABILITY_PIC_INIT_QP_MINUS26_BIT_EXT: |
8246 | return "VK_VIDEO_ENCODE_H264_CAPABILITY_PIC_INIT_QP_MINUS26_BIT_EXT" ; |
8247 | case VK_VIDEO_ENCODE_H264_CAPABILITY_QPPRIME_Y_ZERO_TRANSFORM_BYPASS_BIT_EXT: |
8248 | return "VK_VIDEO_ENCODE_H264_CAPABILITY_QPPRIME_Y_ZERO_TRANSFORM_BYPASS_BIT_EXT" ; |
8249 | case VK_VIDEO_ENCODE_H264_CAPABILITY_ROW_UNALIGNED_SLICE_BIT_EXT: |
8250 | return "VK_VIDEO_ENCODE_H264_CAPABILITY_ROW_UNALIGNED_SLICE_BIT_EXT" ; |
8251 | case VK_VIDEO_ENCODE_H264_CAPABILITY_SCALING_LISTS_BIT_EXT: |
8252 | return "VK_VIDEO_ENCODE_H264_CAPABILITY_SCALING_LISTS_BIT_EXT" ; |
8253 | case VK_VIDEO_ENCODE_H264_CAPABILITY_SECOND_CHROMA_QP_OFFSET_BIT_EXT: |
8254 | return "VK_VIDEO_ENCODE_H264_CAPABILITY_SECOND_CHROMA_QP_OFFSET_BIT_EXT" ; |
8255 | case VK_VIDEO_ENCODE_H264_CAPABILITY_SEPARATE_COLOUR_PLANE_BIT_EXT: |
8256 | return "VK_VIDEO_ENCODE_H264_CAPABILITY_SEPARATE_COLOUR_PLANE_BIT_EXT" ; |
8257 | case VK_VIDEO_ENCODE_H264_CAPABILITY_SLICE_MB_COUNT_BIT_EXT: |
8258 | return "VK_VIDEO_ENCODE_H264_CAPABILITY_SLICE_MB_COUNT_BIT_EXT" ; |
8259 | case VK_VIDEO_ENCODE_H264_CAPABILITY_TRANSFORM_8X8_BIT_EXT: |
8260 | return "VK_VIDEO_ENCODE_H264_CAPABILITY_TRANSFORM_8X8_BIT_EXT" ; |
8261 | case VK_VIDEO_ENCODE_H264_CAPABILITY_WEIGHTED_BIPRED_EXPLICIT_BIT_EXT: |
8262 | return "VK_VIDEO_ENCODE_H264_CAPABILITY_WEIGHTED_BIPRED_EXPLICIT_BIT_EXT" ; |
8263 | case VK_VIDEO_ENCODE_H264_CAPABILITY_WEIGHTED_BIPRED_IMPLICIT_BIT_EXT: |
8264 | return "VK_VIDEO_ENCODE_H264_CAPABILITY_WEIGHTED_BIPRED_IMPLICIT_BIT_EXT" ; |
8265 | case VK_VIDEO_ENCODE_H264_CAPABILITY_WEIGHTED_PRED_BIT_EXT: |
8266 | return "VK_VIDEO_ENCODE_H264_CAPABILITY_WEIGHTED_PRED_BIT_EXT" ; |
8267 | case VK_VIDEO_ENCODE_H264_CAPABILITY_WEIGHTED_PRED_NO_TABLE_BIT_EXT: |
8268 | return "VK_VIDEO_ENCODE_H264_CAPABILITY_WEIGHTED_PRED_NO_TABLE_BIT_EXT" ; |
8269 | default: |
8270 | return "Unhandled VkVideoEncodeH264CapabilityFlagBitsEXT" ; |
8271 | } |
8272 | } |
8273 | |
8274 | static inline std::string string_VkVideoEncodeH264CapabilityFlagsEXT(VkVideoEncodeH264CapabilityFlagsEXT input_value) |
8275 | { |
8276 | std::string ret; |
8277 | int index = 0; |
8278 | while(input_value) { |
8279 | if (input_value & 1) { |
8280 | if( !ret.empty()) ret.append("|" ); |
8281 | ret.append(string_VkVideoEncodeH264CapabilityFlagBitsEXT(static_cast<VkVideoEncodeH264CapabilityFlagBitsEXT>(1U << index))); |
8282 | } |
8283 | ++index; |
8284 | input_value >>= 1; |
8285 | } |
8286 | if (ret.empty()) ret.append("VkVideoEncodeH264CapabilityFlagsEXT(0)" ); |
8287 | return ret; |
8288 | } |
8289 | #endif // VK_ENABLE_BETA_EXTENSIONS |
8290 | |
8291 | |
8292 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
8293 | |
8294 | static inline const char* string_VkVideoEncodeH264RateControlStructureEXT(VkVideoEncodeH264RateControlStructureEXT input_value) |
8295 | { |
8296 | switch (input_value) |
8297 | { |
8298 | case VK_VIDEO_ENCODE_H264_RATE_CONTROL_STRUCTURE_DYADIC_EXT: |
8299 | return "VK_VIDEO_ENCODE_H264_RATE_CONTROL_STRUCTURE_DYADIC_EXT" ; |
8300 | case VK_VIDEO_ENCODE_H264_RATE_CONTROL_STRUCTURE_FLAT_EXT: |
8301 | return "VK_VIDEO_ENCODE_H264_RATE_CONTROL_STRUCTURE_FLAT_EXT" ; |
8302 | case VK_VIDEO_ENCODE_H264_RATE_CONTROL_STRUCTURE_UNKNOWN_EXT: |
8303 | return "VK_VIDEO_ENCODE_H264_RATE_CONTROL_STRUCTURE_UNKNOWN_EXT" ; |
8304 | default: |
8305 | return "Unhandled VkVideoEncodeH264RateControlStructureEXT" ; |
8306 | } |
8307 | } |
8308 | #endif // VK_ENABLE_BETA_EXTENSIONS |
8309 | |
8310 | |
8311 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
8312 | |
8313 | static inline const char* string_VkVideoEncodeH265CapabilityFlagBitsEXT(VkVideoEncodeH265CapabilityFlagBitsEXT input_value) |
8314 | { |
8315 | switch (input_value) |
8316 | { |
8317 | case VK_VIDEO_ENCODE_H265_CAPABILITY_B_FRAME_IN_L1_LIST_BIT_EXT: |
8318 | return "VK_VIDEO_ENCODE_H265_CAPABILITY_B_FRAME_IN_L1_LIST_BIT_EXT" ; |
8319 | case VK_VIDEO_ENCODE_H265_CAPABILITY_DEBLOCKING_FILTER_OVERRIDE_ENABLED_BIT_EXT: |
8320 | return "VK_VIDEO_ENCODE_H265_CAPABILITY_DEBLOCKING_FILTER_OVERRIDE_ENABLED_BIT_EXT" ; |
8321 | case VK_VIDEO_ENCODE_H265_CAPABILITY_DEPENDENT_SLICE_SEGMENT_BIT_EXT: |
8322 | return "VK_VIDEO_ENCODE_H265_CAPABILITY_DEPENDENT_SLICE_SEGMENT_BIT_EXT" ; |
8323 | case VK_VIDEO_ENCODE_H265_CAPABILITY_DIFFERENT_REFERENCE_FINAL_LISTS_BIT_EXT: |
8324 | return "VK_VIDEO_ENCODE_H265_CAPABILITY_DIFFERENT_REFERENCE_FINAL_LISTS_BIT_EXT" ; |
8325 | case VK_VIDEO_ENCODE_H265_CAPABILITY_DIFFERENT_SLICE_TYPE_BIT_EXT: |
8326 | return "VK_VIDEO_ENCODE_H265_CAPABILITY_DIFFERENT_SLICE_TYPE_BIT_EXT" ; |
8327 | case VK_VIDEO_ENCODE_H265_CAPABILITY_ENTROPY_CODING_SYNC_ENABLED_BIT_EXT: |
8328 | return "VK_VIDEO_ENCODE_H265_CAPABILITY_ENTROPY_CODING_SYNC_ENABLED_BIT_EXT" ; |
8329 | case VK_VIDEO_ENCODE_H265_CAPABILITY_HRD_COMPLIANCE_BIT_EXT: |
8330 | return "VK_VIDEO_ENCODE_H265_CAPABILITY_HRD_COMPLIANCE_BIT_EXT" ; |
8331 | case VK_VIDEO_ENCODE_H265_CAPABILITY_INIT_QP_MINUS26_BIT_EXT: |
8332 | return "VK_VIDEO_ENCODE_H265_CAPABILITY_INIT_QP_MINUS26_BIT_EXT" ; |
8333 | case VK_VIDEO_ENCODE_H265_CAPABILITY_LOG2_PARALLEL_MERGE_LEVEL_MINUS2_BIT_EXT: |
8334 | return "VK_VIDEO_ENCODE_H265_CAPABILITY_LOG2_PARALLEL_MERGE_LEVEL_MINUS2_BIT_EXT" ; |
8335 | case VK_VIDEO_ENCODE_H265_CAPABILITY_MULTIPLE_SLICE_PER_TILE_BIT_EXT: |
8336 | return "VK_VIDEO_ENCODE_H265_CAPABILITY_MULTIPLE_SLICE_PER_TILE_BIT_EXT" ; |
8337 | case VK_VIDEO_ENCODE_H265_CAPABILITY_MULTIPLE_TILE_PER_FRAME_BIT_EXT: |
8338 | return "VK_VIDEO_ENCODE_H265_CAPABILITY_MULTIPLE_TILE_PER_FRAME_BIT_EXT" ; |
8339 | case VK_VIDEO_ENCODE_H265_CAPABILITY_MULTIPLE_TILE_PER_SLICE_BIT_EXT: |
8340 | return "VK_VIDEO_ENCODE_H265_CAPABILITY_MULTIPLE_TILE_PER_SLICE_BIT_EXT" ; |
8341 | case VK_VIDEO_ENCODE_H265_CAPABILITY_PCM_ENABLE_BIT_EXT: |
8342 | return "VK_VIDEO_ENCODE_H265_CAPABILITY_PCM_ENABLE_BIT_EXT" ; |
8343 | case VK_VIDEO_ENCODE_H265_CAPABILITY_PPS_SLICE_CHROMA_QP_OFFSETS_PRESENT_BIT_EXT: |
8344 | return "VK_VIDEO_ENCODE_H265_CAPABILITY_PPS_SLICE_CHROMA_QP_OFFSETS_PRESENT_BIT_EXT" ; |
8345 | case VK_VIDEO_ENCODE_H265_CAPABILITY_ROW_UNALIGNED_SLICE_SEGMENT_BIT_EXT: |
8346 | return "VK_VIDEO_ENCODE_H265_CAPABILITY_ROW_UNALIGNED_SLICE_SEGMENT_BIT_EXT" ; |
8347 | case VK_VIDEO_ENCODE_H265_CAPABILITY_SAMPLE_ADAPTIVE_OFFSET_ENABLED_BIT_EXT: |
8348 | return "VK_VIDEO_ENCODE_H265_CAPABILITY_SAMPLE_ADAPTIVE_OFFSET_ENABLED_BIT_EXT" ; |
8349 | case VK_VIDEO_ENCODE_H265_CAPABILITY_SCALING_LISTS_BIT_EXT: |
8350 | return "VK_VIDEO_ENCODE_H265_CAPABILITY_SCALING_LISTS_BIT_EXT" ; |
8351 | case VK_VIDEO_ENCODE_H265_CAPABILITY_SEPARATE_COLOUR_PLANE_BIT_EXT: |
8352 | return "VK_VIDEO_ENCODE_H265_CAPABILITY_SEPARATE_COLOUR_PLANE_BIT_EXT" ; |
8353 | case VK_VIDEO_ENCODE_H265_CAPABILITY_SIGN_DATA_HIDING_ENABLED_BIT_EXT: |
8354 | return "VK_VIDEO_ENCODE_H265_CAPABILITY_SIGN_DATA_HIDING_ENABLED_BIT_EXT" ; |
8355 | case VK_VIDEO_ENCODE_H265_CAPABILITY_SLICE_SEGMENT_CTB_COUNT_BIT_EXT: |
8356 | return "VK_VIDEO_ENCODE_H265_CAPABILITY_SLICE_SEGMENT_CTB_COUNT_BIT_EXT" ; |
8357 | case VK_VIDEO_ENCODE_H265_CAPABILITY_SPS_TEMPORAL_MVP_ENABLED_BIT_EXT: |
8358 | return "VK_VIDEO_ENCODE_H265_CAPABILITY_SPS_TEMPORAL_MVP_ENABLED_BIT_EXT" ; |
8359 | case VK_VIDEO_ENCODE_H265_CAPABILITY_TRANSFORM_SKIP_DISABLED_BIT_EXT: |
8360 | return "VK_VIDEO_ENCODE_H265_CAPABILITY_TRANSFORM_SKIP_DISABLED_BIT_EXT" ; |
8361 | case VK_VIDEO_ENCODE_H265_CAPABILITY_TRANSFORM_SKIP_ENABLED_BIT_EXT: |
8362 | return "VK_VIDEO_ENCODE_H265_CAPABILITY_TRANSFORM_SKIP_ENABLED_BIT_EXT" ; |
8363 | case VK_VIDEO_ENCODE_H265_CAPABILITY_TRANSQUANT_BYPASS_ENABLED_BIT_EXT: |
8364 | return "VK_VIDEO_ENCODE_H265_CAPABILITY_TRANSQUANT_BYPASS_ENABLED_BIT_EXT" ; |
8365 | case VK_VIDEO_ENCODE_H265_CAPABILITY_WEIGHTED_BIPRED_BIT_EXT: |
8366 | return "VK_VIDEO_ENCODE_H265_CAPABILITY_WEIGHTED_BIPRED_BIT_EXT" ; |
8367 | case VK_VIDEO_ENCODE_H265_CAPABILITY_WEIGHTED_PRED_BIT_EXT: |
8368 | return "VK_VIDEO_ENCODE_H265_CAPABILITY_WEIGHTED_PRED_BIT_EXT" ; |
8369 | case VK_VIDEO_ENCODE_H265_CAPABILITY_WEIGHTED_PRED_NO_TABLE_BIT_EXT: |
8370 | return "VK_VIDEO_ENCODE_H265_CAPABILITY_WEIGHTED_PRED_NO_TABLE_BIT_EXT" ; |
8371 | default: |
8372 | return "Unhandled VkVideoEncodeH265CapabilityFlagBitsEXT" ; |
8373 | } |
8374 | } |
8375 | |
8376 | static inline std::string string_VkVideoEncodeH265CapabilityFlagsEXT(VkVideoEncodeH265CapabilityFlagsEXT input_value) |
8377 | { |
8378 | std::string ret; |
8379 | int index = 0; |
8380 | while(input_value) { |
8381 | if (input_value & 1) { |
8382 | if( !ret.empty()) ret.append("|" ); |
8383 | ret.append(string_VkVideoEncodeH265CapabilityFlagBitsEXT(static_cast<VkVideoEncodeH265CapabilityFlagBitsEXT>(1U << index))); |
8384 | } |
8385 | ++index; |
8386 | input_value >>= 1; |
8387 | } |
8388 | if (ret.empty()) ret.append("VkVideoEncodeH265CapabilityFlagsEXT(0)" ); |
8389 | return ret; |
8390 | } |
8391 | #endif // VK_ENABLE_BETA_EXTENSIONS |
8392 | |
8393 | |
8394 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
8395 | |
8396 | static inline const char* string_VkVideoEncodeH265CtbSizeFlagBitsEXT(VkVideoEncodeH265CtbSizeFlagBitsEXT input_value) |
8397 | { |
8398 | switch (input_value) |
8399 | { |
8400 | case VK_VIDEO_ENCODE_H265_CTB_SIZE_16_BIT_EXT: |
8401 | return "VK_VIDEO_ENCODE_H265_CTB_SIZE_16_BIT_EXT" ; |
8402 | case VK_VIDEO_ENCODE_H265_CTB_SIZE_32_BIT_EXT: |
8403 | return "VK_VIDEO_ENCODE_H265_CTB_SIZE_32_BIT_EXT" ; |
8404 | case VK_VIDEO_ENCODE_H265_CTB_SIZE_64_BIT_EXT: |
8405 | return "VK_VIDEO_ENCODE_H265_CTB_SIZE_64_BIT_EXT" ; |
8406 | default: |
8407 | return "Unhandled VkVideoEncodeH265CtbSizeFlagBitsEXT" ; |
8408 | } |
8409 | } |
8410 | |
8411 | static inline std::string string_VkVideoEncodeH265CtbSizeFlagsEXT(VkVideoEncodeH265CtbSizeFlagsEXT input_value) |
8412 | { |
8413 | std::string ret; |
8414 | int index = 0; |
8415 | while(input_value) { |
8416 | if (input_value & 1) { |
8417 | if( !ret.empty()) ret.append("|" ); |
8418 | ret.append(string_VkVideoEncodeH265CtbSizeFlagBitsEXT(static_cast<VkVideoEncodeH265CtbSizeFlagBitsEXT>(1U << index))); |
8419 | } |
8420 | ++index; |
8421 | input_value >>= 1; |
8422 | } |
8423 | if (ret.empty()) ret.append("VkVideoEncodeH265CtbSizeFlagsEXT(0)" ); |
8424 | return ret; |
8425 | } |
8426 | #endif // VK_ENABLE_BETA_EXTENSIONS |
8427 | |
8428 | |
8429 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
8430 | |
8431 | static inline const char* string_VkVideoEncodeH265TransformBlockSizeFlagBitsEXT(VkVideoEncodeH265TransformBlockSizeFlagBitsEXT input_value) |
8432 | { |
8433 | switch (input_value) |
8434 | { |
8435 | case VK_VIDEO_ENCODE_H265_TRANSFORM_BLOCK_SIZE_16_BIT_EXT: |
8436 | return "VK_VIDEO_ENCODE_H265_TRANSFORM_BLOCK_SIZE_16_BIT_EXT" ; |
8437 | case VK_VIDEO_ENCODE_H265_TRANSFORM_BLOCK_SIZE_32_BIT_EXT: |
8438 | return "VK_VIDEO_ENCODE_H265_TRANSFORM_BLOCK_SIZE_32_BIT_EXT" ; |
8439 | case VK_VIDEO_ENCODE_H265_TRANSFORM_BLOCK_SIZE_4_BIT_EXT: |
8440 | return "VK_VIDEO_ENCODE_H265_TRANSFORM_BLOCK_SIZE_4_BIT_EXT" ; |
8441 | case VK_VIDEO_ENCODE_H265_TRANSFORM_BLOCK_SIZE_8_BIT_EXT: |
8442 | return "VK_VIDEO_ENCODE_H265_TRANSFORM_BLOCK_SIZE_8_BIT_EXT" ; |
8443 | default: |
8444 | return "Unhandled VkVideoEncodeH265TransformBlockSizeFlagBitsEXT" ; |
8445 | } |
8446 | } |
8447 | |
8448 | static inline std::string string_VkVideoEncodeH265TransformBlockSizeFlagsEXT(VkVideoEncodeH265TransformBlockSizeFlagsEXT input_value) |
8449 | { |
8450 | std::string ret; |
8451 | int index = 0; |
8452 | while(input_value) { |
8453 | if (input_value & 1) { |
8454 | if( !ret.empty()) ret.append("|" ); |
8455 | ret.append(string_VkVideoEncodeH265TransformBlockSizeFlagBitsEXT(static_cast<VkVideoEncodeH265TransformBlockSizeFlagBitsEXT>(1U << index))); |
8456 | } |
8457 | ++index; |
8458 | input_value >>= 1; |
8459 | } |
8460 | if (ret.empty()) ret.append("VkVideoEncodeH265TransformBlockSizeFlagsEXT(0)" ); |
8461 | return ret; |
8462 | } |
8463 | #endif // VK_ENABLE_BETA_EXTENSIONS |
8464 | |
8465 | |
8466 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
8467 | |
8468 | static inline const char* string_VkVideoEncodeH265RateControlStructureEXT(VkVideoEncodeH265RateControlStructureEXT input_value) |
8469 | { |
8470 | switch (input_value) |
8471 | { |
8472 | case VK_VIDEO_ENCODE_H265_RATE_CONTROL_STRUCTURE_DYADIC_EXT: |
8473 | return "VK_VIDEO_ENCODE_H265_RATE_CONTROL_STRUCTURE_DYADIC_EXT" ; |
8474 | case VK_VIDEO_ENCODE_H265_RATE_CONTROL_STRUCTURE_FLAT_EXT: |
8475 | return "VK_VIDEO_ENCODE_H265_RATE_CONTROL_STRUCTURE_FLAT_EXT" ; |
8476 | case VK_VIDEO_ENCODE_H265_RATE_CONTROL_STRUCTURE_UNKNOWN_EXT: |
8477 | return "VK_VIDEO_ENCODE_H265_RATE_CONTROL_STRUCTURE_UNKNOWN_EXT" ; |
8478 | default: |
8479 | return "Unhandled VkVideoEncodeH265RateControlStructureEXT" ; |
8480 | } |
8481 | } |
8482 | #endif // VK_ENABLE_BETA_EXTENSIONS |
8483 | |
8484 | static inline const char* string_VkShaderInfoTypeAMD(VkShaderInfoTypeAMD input_value) |
8485 | { |
8486 | switch (input_value) |
8487 | { |
8488 | case VK_SHADER_INFO_TYPE_BINARY_AMD: |
8489 | return "VK_SHADER_INFO_TYPE_BINARY_AMD" ; |
8490 | case VK_SHADER_INFO_TYPE_DISASSEMBLY_AMD: |
8491 | return "VK_SHADER_INFO_TYPE_DISASSEMBLY_AMD" ; |
8492 | case VK_SHADER_INFO_TYPE_STATISTICS_AMD: |
8493 | return "VK_SHADER_INFO_TYPE_STATISTICS_AMD" ; |
8494 | default: |
8495 | return "Unhandled VkShaderInfoTypeAMD" ; |
8496 | } |
8497 | } |
8498 | |
8499 | static inline const char* string_VkExternalMemoryHandleTypeFlagBitsNV(VkExternalMemoryHandleTypeFlagBitsNV input_value) |
8500 | { |
8501 | switch (input_value) |
8502 | { |
8503 | case VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_BIT_NV: |
8504 | return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_BIT_NV" ; |
8505 | case VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_KMT_BIT_NV: |
8506 | return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_KMT_BIT_NV" ; |
8507 | case VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT_NV: |
8508 | return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT_NV" ; |
8509 | case VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_NV: |
8510 | return "VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_NV" ; |
8511 | default: |
8512 | return "Unhandled VkExternalMemoryHandleTypeFlagBitsNV" ; |
8513 | } |
8514 | } |
8515 | |
8516 | static inline std::string string_VkExternalMemoryHandleTypeFlagsNV(VkExternalMemoryHandleTypeFlagsNV input_value) |
8517 | { |
8518 | std::string ret; |
8519 | int index = 0; |
8520 | while(input_value) { |
8521 | if (input_value & 1) { |
8522 | if( !ret.empty()) ret.append("|" ); |
8523 | ret.append(string_VkExternalMemoryHandleTypeFlagBitsNV(static_cast<VkExternalMemoryHandleTypeFlagBitsNV>(1U << index))); |
8524 | } |
8525 | ++index; |
8526 | input_value >>= 1; |
8527 | } |
8528 | if (ret.empty()) ret.append("VkExternalMemoryHandleTypeFlagsNV(0)" ); |
8529 | return ret; |
8530 | } |
8531 | |
8532 | static inline const char* string_VkExternalMemoryFeatureFlagBitsNV(VkExternalMemoryFeatureFlagBitsNV input_value) |
8533 | { |
8534 | switch (input_value) |
8535 | { |
8536 | case VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT_NV: |
8537 | return "VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT_NV" ; |
8538 | case VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT_NV: |
8539 | return "VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT_NV" ; |
8540 | case VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT_NV: |
8541 | return "VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT_NV" ; |
8542 | default: |
8543 | return "Unhandled VkExternalMemoryFeatureFlagBitsNV" ; |
8544 | } |
8545 | } |
8546 | |
8547 | static inline std::string string_VkExternalMemoryFeatureFlagsNV(VkExternalMemoryFeatureFlagsNV input_value) |
8548 | { |
8549 | std::string ret; |
8550 | int index = 0; |
8551 | while(input_value) { |
8552 | if (input_value & 1) { |
8553 | if( !ret.empty()) ret.append("|" ); |
8554 | ret.append(string_VkExternalMemoryFeatureFlagBitsNV(static_cast<VkExternalMemoryFeatureFlagBitsNV>(1U << index))); |
8555 | } |
8556 | ++index; |
8557 | input_value >>= 1; |
8558 | } |
8559 | if (ret.empty()) ret.append("VkExternalMemoryFeatureFlagsNV(0)" ); |
8560 | return ret; |
8561 | } |
8562 | |
8563 | static inline const char* string_VkValidationCheckEXT(VkValidationCheckEXT input_value) |
8564 | { |
8565 | switch (input_value) |
8566 | { |
8567 | case VK_VALIDATION_CHECK_ALL_EXT: |
8568 | return "VK_VALIDATION_CHECK_ALL_EXT" ; |
8569 | case VK_VALIDATION_CHECK_SHADERS_EXT: |
8570 | return "VK_VALIDATION_CHECK_SHADERS_EXT" ; |
8571 | default: |
8572 | return "Unhandled VkValidationCheckEXT" ; |
8573 | } |
8574 | } |
8575 | |
8576 | static inline const char* string_VkPipelineRobustnessBufferBehaviorEXT(VkPipelineRobustnessBufferBehaviorEXT input_value) |
8577 | { |
8578 | switch (input_value) |
8579 | { |
8580 | case VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_DEVICE_DEFAULT_EXT: |
8581 | return "VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_DEVICE_DEFAULT_EXT" ; |
8582 | case VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_DISABLED_EXT: |
8583 | return "VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_DISABLED_EXT" ; |
8584 | case VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2_EXT: |
8585 | return "VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2_EXT" ; |
8586 | case VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_EXT: |
8587 | return "VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_EXT" ; |
8588 | default: |
8589 | return "Unhandled VkPipelineRobustnessBufferBehaviorEXT" ; |
8590 | } |
8591 | } |
8592 | |
8593 | static inline const char* string_VkPipelineRobustnessImageBehaviorEXT(VkPipelineRobustnessImageBehaviorEXT input_value) |
8594 | { |
8595 | switch (input_value) |
8596 | { |
8597 | case VK_PIPELINE_ROBUSTNESS_IMAGE_BEHAVIOR_DEVICE_DEFAULT_EXT: |
8598 | return "VK_PIPELINE_ROBUSTNESS_IMAGE_BEHAVIOR_DEVICE_DEFAULT_EXT" ; |
8599 | case VK_PIPELINE_ROBUSTNESS_IMAGE_BEHAVIOR_DISABLED_EXT: |
8600 | return "VK_PIPELINE_ROBUSTNESS_IMAGE_BEHAVIOR_DISABLED_EXT" ; |
8601 | case VK_PIPELINE_ROBUSTNESS_IMAGE_BEHAVIOR_ROBUST_IMAGE_ACCESS_2_EXT: |
8602 | return "VK_PIPELINE_ROBUSTNESS_IMAGE_BEHAVIOR_ROBUST_IMAGE_ACCESS_2_EXT" ; |
8603 | case VK_PIPELINE_ROBUSTNESS_IMAGE_BEHAVIOR_ROBUST_IMAGE_ACCESS_EXT: |
8604 | return "VK_PIPELINE_ROBUSTNESS_IMAGE_BEHAVIOR_ROBUST_IMAGE_ACCESS_EXT" ; |
8605 | default: |
8606 | return "Unhandled VkPipelineRobustnessImageBehaviorEXT" ; |
8607 | } |
8608 | } |
8609 | |
8610 | static inline const char* string_VkConditionalRenderingFlagBitsEXT(VkConditionalRenderingFlagBitsEXT input_value) |
8611 | { |
8612 | switch (input_value) |
8613 | { |
8614 | case VK_CONDITIONAL_RENDERING_INVERTED_BIT_EXT: |
8615 | return "VK_CONDITIONAL_RENDERING_INVERTED_BIT_EXT" ; |
8616 | default: |
8617 | return "Unhandled VkConditionalRenderingFlagBitsEXT" ; |
8618 | } |
8619 | } |
8620 | |
8621 | static inline std::string string_VkConditionalRenderingFlagsEXT(VkConditionalRenderingFlagsEXT input_value) |
8622 | { |
8623 | std::string ret; |
8624 | int index = 0; |
8625 | while(input_value) { |
8626 | if (input_value & 1) { |
8627 | if( !ret.empty()) ret.append("|" ); |
8628 | ret.append(string_VkConditionalRenderingFlagBitsEXT(static_cast<VkConditionalRenderingFlagBitsEXT>(1U << index))); |
8629 | } |
8630 | ++index; |
8631 | input_value >>= 1; |
8632 | } |
8633 | if (ret.empty()) ret.append("VkConditionalRenderingFlagsEXT(0)" ); |
8634 | return ret; |
8635 | } |
8636 | |
8637 | static inline const char* string_VkSurfaceCounterFlagBitsEXT(VkSurfaceCounterFlagBitsEXT input_value) |
8638 | { |
8639 | switch (input_value) |
8640 | { |
8641 | case VK_SURFACE_COUNTER_VBLANK_BIT_EXT: |
8642 | return "VK_SURFACE_COUNTER_VBLANK_BIT_EXT" ; |
8643 | default: |
8644 | return "Unhandled VkSurfaceCounterFlagBitsEXT" ; |
8645 | } |
8646 | } |
8647 | |
8648 | static inline std::string string_VkSurfaceCounterFlagsEXT(VkSurfaceCounterFlagsEXT input_value) |
8649 | { |
8650 | std::string ret; |
8651 | int index = 0; |
8652 | while(input_value) { |
8653 | if (input_value & 1) { |
8654 | if( !ret.empty()) ret.append("|" ); |
8655 | ret.append(string_VkSurfaceCounterFlagBitsEXT(static_cast<VkSurfaceCounterFlagBitsEXT>(1U << index))); |
8656 | } |
8657 | ++index; |
8658 | input_value >>= 1; |
8659 | } |
8660 | if (ret.empty()) ret.append("VkSurfaceCounterFlagsEXT(0)" ); |
8661 | return ret; |
8662 | } |
8663 | |
8664 | static inline const char* string_VkDisplayPowerStateEXT(VkDisplayPowerStateEXT input_value) |
8665 | { |
8666 | switch (input_value) |
8667 | { |
8668 | case VK_DISPLAY_POWER_STATE_OFF_EXT: |
8669 | return "VK_DISPLAY_POWER_STATE_OFF_EXT" ; |
8670 | case VK_DISPLAY_POWER_STATE_ON_EXT: |
8671 | return "VK_DISPLAY_POWER_STATE_ON_EXT" ; |
8672 | case VK_DISPLAY_POWER_STATE_SUSPEND_EXT: |
8673 | return "VK_DISPLAY_POWER_STATE_SUSPEND_EXT" ; |
8674 | default: |
8675 | return "Unhandled VkDisplayPowerStateEXT" ; |
8676 | } |
8677 | } |
8678 | |
8679 | static inline const char* string_VkDeviceEventTypeEXT(VkDeviceEventTypeEXT input_value) |
8680 | { |
8681 | switch (input_value) |
8682 | { |
8683 | case VK_DEVICE_EVENT_TYPE_DISPLAY_HOTPLUG_EXT: |
8684 | return "VK_DEVICE_EVENT_TYPE_DISPLAY_HOTPLUG_EXT" ; |
8685 | default: |
8686 | return "Unhandled VkDeviceEventTypeEXT" ; |
8687 | } |
8688 | } |
8689 | |
8690 | static inline const char* string_VkDisplayEventTypeEXT(VkDisplayEventTypeEXT input_value) |
8691 | { |
8692 | switch (input_value) |
8693 | { |
8694 | case VK_DISPLAY_EVENT_TYPE_FIRST_PIXEL_OUT_EXT: |
8695 | return "VK_DISPLAY_EVENT_TYPE_FIRST_PIXEL_OUT_EXT" ; |
8696 | default: |
8697 | return "Unhandled VkDisplayEventTypeEXT" ; |
8698 | } |
8699 | } |
8700 | |
8701 | static inline const char* string_VkViewportCoordinateSwizzleNV(VkViewportCoordinateSwizzleNV input_value) |
8702 | { |
8703 | switch (input_value) |
8704 | { |
8705 | case VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_W_NV: |
8706 | return "VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_W_NV" ; |
8707 | case VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_X_NV: |
8708 | return "VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_X_NV" ; |
8709 | case VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_Y_NV: |
8710 | return "VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_Y_NV" ; |
8711 | case VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_Z_NV: |
8712 | return "VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_Z_NV" ; |
8713 | case VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_W_NV: |
8714 | return "VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_W_NV" ; |
8715 | case VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_X_NV: |
8716 | return "VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_X_NV" ; |
8717 | case VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_Y_NV: |
8718 | return "VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_Y_NV" ; |
8719 | case VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_Z_NV: |
8720 | return "VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_Z_NV" ; |
8721 | default: |
8722 | return "Unhandled VkViewportCoordinateSwizzleNV" ; |
8723 | } |
8724 | } |
8725 | |
8726 | static inline const char* string_VkDiscardRectangleModeEXT(VkDiscardRectangleModeEXT input_value) |
8727 | { |
8728 | switch (input_value) |
8729 | { |
8730 | case VK_DISCARD_RECTANGLE_MODE_EXCLUSIVE_EXT: |
8731 | return "VK_DISCARD_RECTANGLE_MODE_EXCLUSIVE_EXT" ; |
8732 | case VK_DISCARD_RECTANGLE_MODE_INCLUSIVE_EXT: |
8733 | return "VK_DISCARD_RECTANGLE_MODE_INCLUSIVE_EXT" ; |
8734 | default: |
8735 | return "Unhandled VkDiscardRectangleModeEXT" ; |
8736 | } |
8737 | } |
8738 | |
8739 | static inline const char* string_VkConservativeRasterizationModeEXT(VkConservativeRasterizationModeEXT input_value) |
8740 | { |
8741 | switch (input_value) |
8742 | { |
8743 | case VK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT: |
8744 | return "VK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT" ; |
8745 | case VK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT: |
8746 | return "VK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT" ; |
8747 | case VK_CONSERVATIVE_RASTERIZATION_MODE_UNDERESTIMATE_EXT: |
8748 | return "VK_CONSERVATIVE_RASTERIZATION_MODE_UNDERESTIMATE_EXT" ; |
8749 | default: |
8750 | return "Unhandled VkConservativeRasterizationModeEXT" ; |
8751 | } |
8752 | } |
8753 | |
8754 | static inline const char* string_VkDebugUtilsMessageSeverityFlagBitsEXT(VkDebugUtilsMessageSeverityFlagBitsEXT input_value) |
8755 | { |
8756 | switch (input_value) |
8757 | { |
8758 | case VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT: |
8759 | return "VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT" ; |
8760 | case VK_DEBUG_UTILS_MESSAGE_SEVERITY_INFO_BIT_EXT: |
8761 | return "VK_DEBUG_UTILS_MESSAGE_SEVERITY_INFO_BIT_EXT" ; |
8762 | case VK_DEBUG_UTILS_MESSAGE_SEVERITY_VERBOSE_BIT_EXT: |
8763 | return "VK_DEBUG_UTILS_MESSAGE_SEVERITY_VERBOSE_BIT_EXT" ; |
8764 | case VK_DEBUG_UTILS_MESSAGE_SEVERITY_WARNING_BIT_EXT: |
8765 | return "VK_DEBUG_UTILS_MESSAGE_SEVERITY_WARNING_BIT_EXT" ; |
8766 | default: |
8767 | return "Unhandled VkDebugUtilsMessageSeverityFlagBitsEXT" ; |
8768 | } |
8769 | } |
8770 | |
8771 | static inline std::string string_VkDebugUtilsMessageSeverityFlagsEXT(VkDebugUtilsMessageSeverityFlagsEXT input_value) |
8772 | { |
8773 | std::string ret; |
8774 | int index = 0; |
8775 | while(input_value) { |
8776 | if (input_value & 1) { |
8777 | if( !ret.empty()) ret.append("|" ); |
8778 | ret.append(string_VkDebugUtilsMessageSeverityFlagBitsEXT(static_cast<VkDebugUtilsMessageSeverityFlagBitsEXT>(1U << index))); |
8779 | } |
8780 | ++index; |
8781 | input_value >>= 1; |
8782 | } |
8783 | if (ret.empty()) ret.append("VkDebugUtilsMessageSeverityFlagsEXT(0)" ); |
8784 | return ret; |
8785 | } |
8786 | |
8787 | static inline const char* string_VkDebugUtilsMessageTypeFlagBitsEXT(VkDebugUtilsMessageTypeFlagBitsEXT input_value) |
8788 | { |
8789 | switch (input_value) |
8790 | { |
8791 | case VK_DEBUG_UTILS_MESSAGE_TYPE_DEVICE_ADDRESS_BINDING_BIT_EXT: |
8792 | return "VK_DEBUG_UTILS_MESSAGE_TYPE_DEVICE_ADDRESS_BINDING_BIT_EXT" ; |
8793 | case VK_DEBUG_UTILS_MESSAGE_TYPE_GENERAL_BIT_EXT: |
8794 | return "VK_DEBUG_UTILS_MESSAGE_TYPE_GENERAL_BIT_EXT" ; |
8795 | case VK_DEBUG_UTILS_MESSAGE_TYPE_PERFORMANCE_BIT_EXT: |
8796 | return "VK_DEBUG_UTILS_MESSAGE_TYPE_PERFORMANCE_BIT_EXT" ; |
8797 | case VK_DEBUG_UTILS_MESSAGE_TYPE_VALIDATION_BIT_EXT: |
8798 | return "VK_DEBUG_UTILS_MESSAGE_TYPE_VALIDATION_BIT_EXT" ; |
8799 | default: |
8800 | return "Unhandled VkDebugUtilsMessageTypeFlagBitsEXT" ; |
8801 | } |
8802 | } |
8803 | |
8804 | static inline std::string string_VkDebugUtilsMessageTypeFlagsEXT(VkDebugUtilsMessageTypeFlagsEXT input_value) |
8805 | { |
8806 | std::string ret; |
8807 | int index = 0; |
8808 | while(input_value) { |
8809 | if (input_value & 1) { |
8810 | if( !ret.empty()) ret.append("|" ); |
8811 | ret.append(string_VkDebugUtilsMessageTypeFlagBitsEXT(static_cast<VkDebugUtilsMessageTypeFlagBitsEXT>(1U << index))); |
8812 | } |
8813 | ++index; |
8814 | input_value >>= 1; |
8815 | } |
8816 | if (ret.empty()) ret.append("VkDebugUtilsMessageTypeFlagsEXT(0)" ); |
8817 | return ret; |
8818 | } |
8819 | |
8820 | static inline const char* string_VkSamplerReductionModeEXT(VkSamplerReductionModeEXT input_value) |
8821 | { |
8822 | switch (input_value) |
8823 | { |
8824 | case VK_SAMPLER_REDUCTION_MODE_MAX: |
8825 | return "VK_SAMPLER_REDUCTION_MODE_MAX" ; |
8826 | case VK_SAMPLER_REDUCTION_MODE_MIN: |
8827 | return "VK_SAMPLER_REDUCTION_MODE_MIN" ; |
8828 | case VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE: |
8829 | return "VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE" ; |
8830 | default: |
8831 | return "Unhandled VkSamplerReductionModeEXT" ; |
8832 | } |
8833 | } |
8834 | |
8835 | static inline const char* string_VkBlendOverlapEXT(VkBlendOverlapEXT input_value) |
8836 | { |
8837 | switch (input_value) |
8838 | { |
8839 | case VK_BLEND_OVERLAP_CONJOINT_EXT: |
8840 | return "VK_BLEND_OVERLAP_CONJOINT_EXT" ; |
8841 | case VK_BLEND_OVERLAP_DISJOINT_EXT: |
8842 | return "VK_BLEND_OVERLAP_DISJOINT_EXT" ; |
8843 | case VK_BLEND_OVERLAP_UNCORRELATED_EXT: |
8844 | return "VK_BLEND_OVERLAP_UNCORRELATED_EXT" ; |
8845 | default: |
8846 | return "Unhandled VkBlendOverlapEXT" ; |
8847 | } |
8848 | } |
8849 | |
8850 | static inline const char* string_VkCoverageModulationModeNV(VkCoverageModulationModeNV input_value) |
8851 | { |
8852 | switch (input_value) |
8853 | { |
8854 | case VK_COVERAGE_MODULATION_MODE_ALPHA_NV: |
8855 | return "VK_COVERAGE_MODULATION_MODE_ALPHA_NV" ; |
8856 | case VK_COVERAGE_MODULATION_MODE_NONE_NV: |
8857 | return "VK_COVERAGE_MODULATION_MODE_NONE_NV" ; |
8858 | case VK_COVERAGE_MODULATION_MODE_RGBA_NV: |
8859 | return "VK_COVERAGE_MODULATION_MODE_RGBA_NV" ; |
8860 | case VK_COVERAGE_MODULATION_MODE_RGB_NV: |
8861 | return "VK_COVERAGE_MODULATION_MODE_RGB_NV" ; |
8862 | default: |
8863 | return "Unhandled VkCoverageModulationModeNV" ; |
8864 | } |
8865 | } |
8866 | |
8867 | static inline const char* (VkValidationCacheHeaderVersionEXT input_value) |
8868 | { |
8869 | switch (input_value) |
8870 | { |
8871 | case VK_VALIDATION_CACHE_HEADER_VERSION_ONE_EXT: |
8872 | return "VK_VALIDATION_CACHE_HEADER_VERSION_ONE_EXT" ; |
8873 | default: |
8874 | return "Unhandled VkValidationCacheHeaderVersionEXT" ; |
8875 | } |
8876 | } |
8877 | |
8878 | static inline const char* string_VkDescriptorBindingFlagBitsEXT(VkDescriptorBindingFlagBitsEXT input_value) |
8879 | { |
8880 | switch (input_value) |
8881 | { |
8882 | case VK_DESCRIPTOR_BINDING_PARTIALLY_BOUND_BIT: |
8883 | return "VK_DESCRIPTOR_BINDING_PARTIALLY_BOUND_BIT" ; |
8884 | case VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT: |
8885 | return "VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT" ; |
8886 | case VK_DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT: |
8887 | return "VK_DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT" ; |
8888 | case VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT: |
8889 | return "VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT" ; |
8890 | default: |
8891 | return "Unhandled VkDescriptorBindingFlagBitsEXT" ; |
8892 | } |
8893 | } |
8894 | |
8895 | static inline std::string string_VkDescriptorBindingFlagsEXT(VkDescriptorBindingFlagsEXT input_value) |
8896 | { |
8897 | std::string ret; |
8898 | int index = 0; |
8899 | while(input_value) { |
8900 | if (input_value & 1) { |
8901 | if( !ret.empty()) ret.append("|" ); |
8902 | ret.append(string_VkDescriptorBindingFlagBitsEXT(static_cast<VkDescriptorBindingFlagBitsEXT>(1U << index))); |
8903 | } |
8904 | ++index; |
8905 | input_value >>= 1; |
8906 | } |
8907 | if (ret.empty()) ret.append("VkDescriptorBindingFlagsEXT(0)" ); |
8908 | return ret; |
8909 | } |
8910 | |
8911 | static inline const char* string_VkShadingRatePaletteEntryNV(VkShadingRatePaletteEntryNV input_value) |
8912 | { |
8913 | switch (input_value) |
8914 | { |
8915 | case VK_SHADING_RATE_PALETTE_ENTRY_16_INVOCATIONS_PER_PIXEL_NV: |
8916 | return "VK_SHADING_RATE_PALETTE_ENTRY_16_INVOCATIONS_PER_PIXEL_NV" ; |
8917 | case VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_1X2_PIXELS_NV: |
8918 | return "VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_1X2_PIXELS_NV" ; |
8919 | case VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X1_PIXELS_NV: |
8920 | return "VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X1_PIXELS_NV" ; |
8921 | case VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X2_PIXELS_NV: |
8922 | return "VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X2_PIXELS_NV" ; |
8923 | case VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X4_PIXELS_NV: |
8924 | return "VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X4_PIXELS_NV" ; |
8925 | case VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_4X2_PIXELS_NV: |
8926 | return "VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_4X2_PIXELS_NV" ; |
8927 | case VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_4X4_PIXELS_NV: |
8928 | return "VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_4X4_PIXELS_NV" ; |
8929 | case VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_PIXEL_NV: |
8930 | return "VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_PIXEL_NV" ; |
8931 | case VK_SHADING_RATE_PALETTE_ENTRY_2_INVOCATIONS_PER_PIXEL_NV: |
8932 | return "VK_SHADING_RATE_PALETTE_ENTRY_2_INVOCATIONS_PER_PIXEL_NV" ; |
8933 | case VK_SHADING_RATE_PALETTE_ENTRY_4_INVOCATIONS_PER_PIXEL_NV: |
8934 | return "VK_SHADING_RATE_PALETTE_ENTRY_4_INVOCATIONS_PER_PIXEL_NV" ; |
8935 | case VK_SHADING_RATE_PALETTE_ENTRY_8_INVOCATIONS_PER_PIXEL_NV: |
8936 | return "VK_SHADING_RATE_PALETTE_ENTRY_8_INVOCATIONS_PER_PIXEL_NV" ; |
8937 | case VK_SHADING_RATE_PALETTE_ENTRY_NO_INVOCATIONS_NV: |
8938 | return "VK_SHADING_RATE_PALETTE_ENTRY_NO_INVOCATIONS_NV" ; |
8939 | default: |
8940 | return "Unhandled VkShadingRatePaletteEntryNV" ; |
8941 | } |
8942 | } |
8943 | |
8944 | static inline const char* string_VkCoarseSampleOrderTypeNV(VkCoarseSampleOrderTypeNV input_value) |
8945 | { |
8946 | switch (input_value) |
8947 | { |
8948 | case VK_COARSE_SAMPLE_ORDER_TYPE_CUSTOM_NV: |
8949 | return "VK_COARSE_SAMPLE_ORDER_TYPE_CUSTOM_NV" ; |
8950 | case VK_COARSE_SAMPLE_ORDER_TYPE_DEFAULT_NV: |
8951 | return "VK_COARSE_SAMPLE_ORDER_TYPE_DEFAULT_NV" ; |
8952 | case VK_COARSE_SAMPLE_ORDER_TYPE_PIXEL_MAJOR_NV: |
8953 | return "VK_COARSE_SAMPLE_ORDER_TYPE_PIXEL_MAJOR_NV" ; |
8954 | case VK_COARSE_SAMPLE_ORDER_TYPE_SAMPLE_MAJOR_NV: |
8955 | return "VK_COARSE_SAMPLE_ORDER_TYPE_SAMPLE_MAJOR_NV" ; |
8956 | default: |
8957 | return "Unhandled VkCoarseSampleOrderTypeNV" ; |
8958 | } |
8959 | } |
8960 | |
8961 | static inline const char* string_VkRayTracingShaderGroupTypeKHR(VkRayTracingShaderGroupTypeKHR input_value) |
8962 | { |
8963 | switch (input_value) |
8964 | { |
8965 | case VK_RAY_TRACING_SHADER_GROUP_TYPE_GENERAL_KHR: |
8966 | return "VK_RAY_TRACING_SHADER_GROUP_TYPE_GENERAL_KHR" ; |
8967 | case VK_RAY_TRACING_SHADER_GROUP_TYPE_PROCEDURAL_HIT_GROUP_KHR: |
8968 | return "VK_RAY_TRACING_SHADER_GROUP_TYPE_PROCEDURAL_HIT_GROUP_KHR" ; |
8969 | case VK_RAY_TRACING_SHADER_GROUP_TYPE_TRIANGLES_HIT_GROUP_KHR: |
8970 | return "VK_RAY_TRACING_SHADER_GROUP_TYPE_TRIANGLES_HIT_GROUP_KHR" ; |
8971 | default: |
8972 | return "Unhandled VkRayTracingShaderGroupTypeKHR" ; |
8973 | } |
8974 | } |
8975 | |
8976 | static inline const char* string_VkRayTracingShaderGroupTypeNV(VkRayTracingShaderGroupTypeNV input_value) |
8977 | { |
8978 | switch (input_value) |
8979 | { |
8980 | case VK_RAY_TRACING_SHADER_GROUP_TYPE_GENERAL_KHR: |
8981 | return "VK_RAY_TRACING_SHADER_GROUP_TYPE_GENERAL_KHR" ; |
8982 | case VK_RAY_TRACING_SHADER_GROUP_TYPE_PROCEDURAL_HIT_GROUP_KHR: |
8983 | return "VK_RAY_TRACING_SHADER_GROUP_TYPE_PROCEDURAL_HIT_GROUP_KHR" ; |
8984 | case VK_RAY_TRACING_SHADER_GROUP_TYPE_TRIANGLES_HIT_GROUP_KHR: |
8985 | return "VK_RAY_TRACING_SHADER_GROUP_TYPE_TRIANGLES_HIT_GROUP_KHR" ; |
8986 | default: |
8987 | return "Unhandled VkRayTracingShaderGroupTypeNV" ; |
8988 | } |
8989 | } |
8990 | |
8991 | static inline const char* string_VkGeometryTypeKHR(VkGeometryTypeKHR input_value) |
8992 | { |
8993 | switch (input_value) |
8994 | { |
8995 | case VK_GEOMETRY_TYPE_AABBS_KHR: |
8996 | return "VK_GEOMETRY_TYPE_AABBS_KHR" ; |
8997 | case VK_GEOMETRY_TYPE_INSTANCES_KHR: |
8998 | return "VK_GEOMETRY_TYPE_INSTANCES_KHR" ; |
8999 | case VK_GEOMETRY_TYPE_TRIANGLES_KHR: |
9000 | return "VK_GEOMETRY_TYPE_TRIANGLES_KHR" ; |
9001 | default: |
9002 | return "Unhandled VkGeometryTypeKHR" ; |
9003 | } |
9004 | } |
9005 | |
9006 | static inline const char* string_VkGeometryTypeNV(VkGeometryTypeNV input_value) |
9007 | { |
9008 | switch (input_value) |
9009 | { |
9010 | case VK_GEOMETRY_TYPE_AABBS_KHR: |
9011 | return "VK_GEOMETRY_TYPE_AABBS_KHR" ; |
9012 | case VK_GEOMETRY_TYPE_INSTANCES_KHR: |
9013 | return "VK_GEOMETRY_TYPE_INSTANCES_KHR" ; |
9014 | case VK_GEOMETRY_TYPE_TRIANGLES_KHR: |
9015 | return "VK_GEOMETRY_TYPE_TRIANGLES_KHR" ; |
9016 | default: |
9017 | return "Unhandled VkGeometryTypeNV" ; |
9018 | } |
9019 | } |
9020 | |
9021 | static inline const char* string_VkAccelerationStructureTypeKHR(VkAccelerationStructureTypeKHR input_value) |
9022 | { |
9023 | switch (input_value) |
9024 | { |
9025 | case VK_ACCELERATION_STRUCTURE_TYPE_BOTTOM_LEVEL_KHR: |
9026 | return "VK_ACCELERATION_STRUCTURE_TYPE_BOTTOM_LEVEL_KHR" ; |
9027 | case VK_ACCELERATION_STRUCTURE_TYPE_GENERIC_KHR: |
9028 | return "VK_ACCELERATION_STRUCTURE_TYPE_GENERIC_KHR" ; |
9029 | case VK_ACCELERATION_STRUCTURE_TYPE_TOP_LEVEL_KHR: |
9030 | return "VK_ACCELERATION_STRUCTURE_TYPE_TOP_LEVEL_KHR" ; |
9031 | default: |
9032 | return "Unhandled VkAccelerationStructureTypeKHR" ; |
9033 | } |
9034 | } |
9035 | |
9036 | static inline const char* string_VkAccelerationStructureTypeNV(VkAccelerationStructureTypeNV input_value) |
9037 | { |
9038 | switch (input_value) |
9039 | { |
9040 | case VK_ACCELERATION_STRUCTURE_TYPE_BOTTOM_LEVEL_KHR: |
9041 | return "VK_ACCELERATION_STRUCTURE_TYPE_BOTTOM_LEVEL_KHR" ; |
9042 | case VK_ACCELERATION_STRUCTURE_TYPE_GENERIC_KHR: |
9043 | return "VK_ACCELERATION_STRUCTURE_TYPE_GENERIC_KHR" ; |
9044 | case VK_ACCELERATION_STRUCTURE_TYPE_TOP_LEVEL_KHR: |
9045 | return "VK_ACCELERATION_STRUCTURE_TYPE_TOP_LEVEL_KHR" ; |
9046 | default: |
9047 | return "Unhandled VkAccelerationStructureTypeNV" ; |
9048 | } |
9049 | } |
9050 | |
9051 | static inline const char* string_VkGeometryFlagBitsKHR(VkGeometryFlagBitsKHR input_value) |
9052 | { |
9053 | switch (input_value) |
9054 | { |
9055 | case VK_GEOMETRY_NO_DUPLICATE_ANY_HIT_INVOCATION_BIT_KHR: |
9056 | return "VK_GEOMETRY_NO_DUPLICATE_ANY_HIT_INVOCATION_BIT_KHR" ; |
9057 | case VK_GEOMETRY_OPAQUE_BIT_KHR: |
9058 | return "VK_GEOMETRY_OPAQUE_BIT_KHR" ; |
9059 | default: |
9060 | return "Unhandled VkGeometryFlagBitsKHR" ; |
9061 | } |
9062 | } |
9063 | |
9064 | static inline std::string string_VkGeometryFlagsKHR(VkGeometryFlagsKHR input_value) |
9065 | { |
9066 | std::string ret; |
9067 | int index = 0; |
9068 | while(input_value) { |
9069 | if (input_value & 1) { |
9070 | if( !ret.empty()) ret.append("|" ); |
9071 | ret.append(string_VkGeometryFlagBitsKHR(static_cast<VkGeometryFlagBitsKHR>(1U << index))); |
9072 | } |
9073 | ++index; |
9074 | input_value >>= 1; |
9075 | } |
9076 | if (ret.empty()) ret.append("VkGeometryFlagsKHR(0)" ); |
9077 | return ret; |
9078 | } |
9079 | |
9080 | static inline const char* string_VkGeometryFlagBitsNV(VkGeometryFlagBitsNV input_value) |
9081 | { |
9082 | switch (input_value) |
9083 | { |
9084 | case VK_GEOMETRY_NO_DUPLICATE_ANY_HIT_INVOCATION_BIT_KHR: |
9085 | return "VK_GEOMETRY_NO_DUPLICATE_ANY_HIT_INVOCATION_BIT_KHR" ; |
9086 | case VK_GEOMETRY_OPAQUE_BIT_KHR: |
9087 | return "VK_GEOMETRY_OPAQUE_BIT_KHR" ; |
9088 | default: |
9089 | return "Unhandled VkGeometryFlagBitsNV" ; |
9090 | } |
9091 | } |
9092 | |
9093 | static inline std::string string_VkGeometryFlagsNV(VkGeometryFlagsNV input_value) |
9094 | { |
9095 | std::string ret; |
9096 | int index = 0; |
9097 | while(input_value) { |
9098 | if (input_value & 1) { |
9099 | if( !ret.empty()) ret.append("|" ); |
9100 | ret.append(string_VkGeometryFlagBitsNV(static_cast<VkGeometryFlagBitsNV>(1U << index))); |
9101 | } |
9102 | ++index; |
9103 | input_value >>= 1; |
9104 | } |
9105 | if (ret.empty()) ret.append("VkGeometryFlagsNV(0)" ); |
9106 | return ret; |
9107 | } |
9108 | |
9109 | static inline const char* string_VkGeometryInstanceFlagBitsKHR(VkGeometryInstanceFlagBitsKHR input_value) |
9110 | { |
9111 | switch (input_value) |
9112 | { |
9113 | case VK_GEOMETRY_INSTANCE_DISABLE_OPACITY_MICROMAPS_EXT: |
9114 | return "VK_GEOMETRY_INSTANCE_DISABLE_OPACITY_MICROMAPS_EXT" ; |
9115 | case VK_GEOMETRY_INSTANCE_FORCE_NO_OPAQUE_BIT_KHR: |
9116 | return "VK_GEOMETRY_INSTANCE_FORCE_NO_OPAQUE_BIT_KHR" ; |
9117 | case VK_GEOMETRY_INSTANCE_FORCE_OPACITY_MICROMAP_2_STATE_EXT: |
9118 | return "VK_GEOMETRY_INSTANCE_FORCE_OPACITY_MICROMAP_2_STATE_EXT" ; |
9119 | case VK_GEOMETRY_INSTANCE_FORCE_OPAQUE_BIT_KHR: |
9120 | return "VK_GEOMETRY_INSTANCE_FORCE_OPAQUE_BIT_KHR" ; |
9121 | case VK_GEOMETRY_INSTANCE_TRIANGLE_FACING_CULL_DISABLE_BIT_KHR: |
9122 | return "VK_GEOMETRY_INSTANCE_TRIANGLE_FACING_CULL_DISABLE_BIT_KHR" ; |
9123 | case VK_GEOMETRY_INSTANCE_TRIANGLE_FLIP_FACING_BIT_KHR: |
9124 | return "VK_GEOMETRY_INSTANCE_TRIANGLE_FLIP_FACING_BIT_KHR" ; |
9125 | default: |
9126 | return "Unhandled VkGeometryInstanceFlagBitsKHR" ; |
9127 | } |
9128 | } |
9129 | |
9130 | static inline std::string string_VkGeometryInstanceFlagsKHR(VkGeometryInstanceFlagsKHR input_value) |
9131 | { |
9132 | std::string ret; |
9133 | int index = 0; |
9134 | while(input_value) { |
9135 | if (input_value & 1) { |
9136 | if( !ret.empty()) ret.append("|" ); |
9137 | ret.append(string_VkGeometryInstanceFlagBitsKHR(static_cast<VkGeometryInstanceFlagBitsKHR>(1U << index))); |
9138 | } |
9139 | ++index; |
9140 | input_value >>= 1; |
9141 | } |
9142 | if (ret.empty()) ret.append("VkGeometryInstanceFlagsKHR(0)" ); |
9143 | return ret; |
9144 | } |
9145 | |
9146 | static inline const char* string_VkGeometryInstanceFlagBitsNV(VkGeometryInstanceFlagBitsNV input_value) |
9147 | { |
9148 | switch (input_value) |
9149 | { |
9150 | case VK_GEOMETRY_INSTANCE_DISABLE_OPACITY_MICROMAPS_EXT: |
9151 | return "VK_GEOMETRY_INSTANCE_DISABLE_OPACITY_MICROMAPS_EXT" ; |
9152 | case VK_GEOMETRY_INSTANCE_FORCE_NO_OPAQUE_BIT_KHR: |
9153 | return "VK_GEOMETRY_INSTANCE_FORCE_NO_OPAQUE_BIT_KHR" ; |
9154 | case VK_GEOMETRY_INSTANCE_FORCE_OPACITY_MICROMAP_2_STATE_EXT: |
9155 | return "VK_GEOMETRY_INSTANCE_FORCE_OPACITY_MICROMAP_2_STATE_EXT" ; |
9156 | case VK_GEOMETRY_INSTANCE_FORCE_OPAQUE_BIT_KHR: |
9157 | return "VK_GEOMETRY_INSTANCE_FORCE_OPAQUE_BIT_KHR" ; |
9158 | case VK_GEOMETRY_INSTANCE_TRIANGLE_FACING_CULL_DISABLE_BIT_KHR: |
9159 | return "VK_GEOMETRY_INSTANCE_TRIANGLE_FACING_CULL_DISABLE_BIT_KHR" ; |
9160 | case VK_GEOMETRY_INSTANCE_TRIANGLE_FLIP_FACING_BIT_KHR: |
9161 | return "VK_GEOMETRY_INSTANCE_TRIANGLE_FLIP_FACING_BIT_KHR" ; |
9162 | default: |
9163 | return "Unhandled VkGeometryInstanceFlagBitsNV" ; |
9164 | } |
9165 | } |
9166 | |
9167 | static inline std::string string_VkGeometryInstanceFlagsNV(VkGeometryInstanceFlagsNV input_value) |
9168 | { |
9169 | std::string ret; |
9170 | int index = 0; |
9171 | while(input_value) { |
9172 | if (input_value & 1) { |
9173 | if( !ret.empty()) ret.append("|" ); |
9174 | ret.append(string_VkGeometryInstanceFlagBitsNV(static_cast<VkGeometryInstanceFlagBitsNV>(1U << index))); |
9175 | } |
9176 | ++index; |
9177 | input_value >>= 1; |
9178 | } |
9179 | if (ret.empty()) ret.append("VkGeometryInstanceFlagsNV(0)" ); |
9180 | return ret; |
9181 | } |
9182 | |
9183 | static inline const char* string_VkBuildAccelerationStructureFlagBitsKHR(VkBuildAccelerationStructureFlagBitsKHR input_value) |
9184 | { |
9185 | switch (input_value) |
9186 | { |
9187 | case VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_COMPACTION_BIT_KHR: |
9188 | return "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_COMPACTION_BIT_KHR" ; |
9189 | case VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DATA_ACCESS_KHR: |
9190 | return "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DATA_ACCESS_KHR" ; |
9191 | case VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DISABLE_OPACITY_MICROMAPS_EXT: |
9192 | return "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DISABLE_OPACITY_MICROMAPS_EXT" ; |
9193 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
9194 | case VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DISPLACEMENT_MICROMAP_UPDATE_NV: |
9195 | return "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DISPLACEMENT_MICROMAP_UPDATE_NV" ; |
9196 | #endif // VK_ENABLE_BETA_EXTENSIONS |
9197 | case VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_OPACITY_MICROMAP_DATA_UPDATE_EXT: |
9198 | return "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_OPACITY_MICROMAP_DATA_UPDATE_EXT" ; |
9199 | case VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_OPACITY_MICROMAP_UPDATE_EXT: |
9200 | return "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_OPACITY_MICROMAP_UPDATE_EXT" ; |
9201 | case VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_UPDATE_BIT_KHR: |
9202 | return "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_UPDATE_BIT_KHR" ; |
9203 | case VK_BUILD_ACCELERATION_STRUCTURE_LOW_MEMORY_BIT_KHR: |
9204 | return "VK_BUILD_ACCELERATION_STRUCTURE_LOW_MEMORY_BIT_KHR" ; |
9205 | case VK_BUILD_ACCELERATION_STRUCTURE_MOTION_BIT_NV: |
9206 | return "VK_BUILD_ACCELERATION_STRUCTURE_MOTION_BIT_NV" ; |
9207 | case VK_BUILD_ACCELERATION_STRUCTURE_PREFER_FAST_BUILD_BIT_KHR: |
9208 | return "VK_BUILD_ACCELERATION_STRUCTURE_PREFER_FAST_BUILD_BIT_KHR" ; |
9209 | case VK_BUILD_ACCELERATION_STRUCTURE_PREFER_FAST_TRACE_BIT_KHR: |
9210 | return "VK_BUILD_ACCELERATION_STRUCTURE_PREFER_FAST_TRACE_BIT_KHR" ; |
9211 | default: |
9212 | return "Unhandled VkBuildAccelerationStructureFlagBitsKHR" ; |
9213 | } |
9214 | } |
9215 | |
9216 | static inline std::string string_VkBuildAccelerationStructureFlagsKHR(VkBuildAccelerationStructureFlagsKHR input_value) |
9217 | { |
9218 | std::string ret; |
9219 | int index = 0; |
9220 | while(input_value) { |
9221 | if (input_value & 1) { |
9222 | if( !ret.empty()) ret.append("|" ); |
9223 | ret.append(string_VkBuildAccelerationStructureFlagBitsKHR(static_cast<VkBuildAccelerationStructureFlagBitsKHR>(1U << index))); |
9224 | } |
9225 | ++index; |
9226 | input_value >>= 1; |
9227 | } |
9228 | if (ret.empty()) ret.append("VkBuildAccelerationStructureFlagsKHR(0)" ); |
9229 | return ret; |
9230 | } |
9231 | |
9232 | static inline const char* string_VkBuildAccelerationStructureFlagBitsNV(VkBuildAccelerationStructureFlagBitsNV input_value) |
9233 | { |
9234 | switch (input_value) |
9235 | { |
9236 | case VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_COMPACTION_BIT_KHR: |
9237 | return "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_COMPACTION_BIT_KHR" ; |
9238 | case VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DATA_ACCESS_KHR: |
9239 | return "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DATA_ACCESS_KHR" ; |
9240 | case VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DISABLE_OPACITY_MICROMAPS_EXT: |
9241 | return "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DISABLE_OPACITY_MICROMAPS_EXT" ; |
9242 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
9243 | case VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DISPLACEMENT_MICROMAP_UPDATE_NV: |
9244 | return "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DISPLACEMENT_MICROMAP_UPDATE_NV" ; |
9245 | #endif // VK_ENABLE_BETA_EXTENSIONS |
9246 | case VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_OPACITY_MICROMAP_DATA_UPDATE_EXT: |
9247 | return "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_OPACITY_MICROMAP_DATA_UPDATE_EXT" ; |
9248 | case VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_OPACITY_MICROMAP_UPDATE_EXT: |
9249 | return "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_OPACITY_MICROMAP_UPDATE_EXT" ; |
9250 | case VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_UPDATE_BIT_KHR: |
9251 | return "VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_UPDATE_BIT_KHR" ; |
9252 | case VK_BUILD_ACCELERATION_STRUCTURE_LOW_MEMORY_BIT_KHR: |
9253 | return "VK_BUILD_ACCELERATION_STRUCTURE_LOW_MEMORY_BIT_KHR" ; |
9254 | case VK_BUILD_ACCELERATION_STRUCTURE_MOTION_BIT_NV: |
9255 | return "VK_BUILD_ACCELERATION_STRUCTURE_MOTION_BIT_NV" ; |
9256 | case VK_BUILD_ACCELERATION_STRUCTURE_PREFER_FAST_BUILD_BIT_KHR: |
9257 | return "VK_BUILD_ACCELERATION_STRUCTURE_PREFER_FAST_BUILD_BIT_KHR" ; |
9258 | case VK_BUILD_ACCELERATION_STRUCTURE_PREFER_FAST_TRACE_BIT_KHR: |
9259 | return "VK_BUILD_ACCELERATION_STRUCTURE_PREFER_FAST_TRACE_BIT_KHR" ; |
9260 | default: |
9261 | return "Unhandled VkBuildAccelerationStructureFlagBitsNV" ; |
9262 | } |
9263 | } |
9264 | |
9265 | static inline std::string string_VkBuildAccelerationStructureFlagsNV(VkBuildAccelerationStructureFlagsNV input_value) |
9266 | { |
9267 | std::string ret; |
9268 | int index = 0; |
9269 | while(input_value) { |
9270 | if (input_value & 1) { |
9271 | if( !ret.empty()) ret.append("|" ); |
9272 | ret.append(string_VkBuildAccelerationStructureFlagBitsNV(static_cast<VkBuildAccelerationStructureFlagBitsNV>(1U << index))); |
9273 | } |
9274 | ++index; |
9275 | input_value >>= 1; |
9276 | } |
9277 | if (ret.empty()) ret.append("VkBuildAccelerationStructureFlagsNV(0)" ); |
9278 | return ret; |
9279 | } |
9280 | |
9281 | static inline const char* string_VkCopyAccelerationStructureModeKHR(VkCopyAccelerationStructureModeKHR input_value) |
9282 | { |
9283 | switch (input_value) |
9284 | { |
9285 | case VK_COPY_ACCELERATION_STRUCTURE_MODE_CLONE_KHR: |
9286 | return "VK_COPY_ACCELERATION_STRUCTURE_MODE_CLONE_KHR" ; |
9287 | case VK_COPY_ACCELERATION_STRUCTURE_MODE_COMPACT_KHR: |
9288 | return "VK_COPY_ACCELERATION_STRUCTURE_MODE_COMPACT_KHR" ; |
9289 | case VK_COPY_ACCELERATION_STRUCTURE_MODE_DESERIALIZE_KHR: |
9290 | return "VK_COPY_ACCELERATION_STRUCTURE_MODE_DESERIALIZE_KHR" ; |
9291 | case VK_COPY_ACCELERATION_STRUCTURE_MODE_SERIALIZE_KHR: |
9292 | return "VK_COPY_ACCELERATION_STRUCTURE_MODE_SERIALIZE_KHR" ; |
9293 | default: |
9294 | return "Unhandled VkCopyAccelerationStructureModeKHR" ; |
9295 | } |
9296 | } |
9297 | |
9298 | static inline const char* string_VkCopyAccelerationStructureModeNV(VkCopyAccelerationStructureModeNV input_value) |
9299 | { |
9300 | switch (input_value) |
9301 | { |
9302 | case VK_COPY_ACCELERATION_STRUCTURE_MODE_CLONE_KHR: |
9303 | return "VK_COPY_ACCELERATION_STRUCTURE_MODE_CLONE_KHR" ; |
9304 | case VK_COPY_ACCELERATION_STRUCTURE_MODE_COMPACT_KHR: |
9305 | return "VK_COPY_ACCELERATION_STRUCTURE_MODE_COMPACT_KHR" ; |
9306 | case VK_COPY_ACCELERATION_STRUCTURE_MODE_DESERIALIZE_KHR: |
9307 | return "VK_COPY_ACCELERATION_STRUCTURE_MODE_DESERIALIZE_KHR" ; |
9308 | case VK_COPY_ACCELERATION_STRUCTURE_MODE_SERIALIZE_KHR: |
9309 | return "VK_COPY_ACCELERATION_STRUCTURE_MODE_SERIALIZE_KHR" ; |
9310 | default: |
9311 | return "Unhandled VkCopyAccelerationStructureModeNV" ; |
9312 | } |
9313 | } |
9314 | |
9315 | static inline const char* string_VkAccelerationStructureMemoryRequirementsTypeNV(VkAccelerationStructureMemoryRequirementsTypeNV input_value) |
9316 | { |
9317 | switch (input_value) |
9318 | { |
9319 | case VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_BUILD_SCRATCH_NV: |
9320 | return "VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_BUILD_SCRATCH_NV" ; |
9321 | case VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_OBJECT_NV: |
9322 | return "VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_OBJECT_NV" ; |
9323 | case VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_UPDATE_SCRATCH_NV: |
9324 | return "VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_UPDATE_SCRATCH_NV" ; |
9325 | default: |
9326 | return "Unhandled VkAccelerationStructureMemoryRequirementsTypeNV" ; |
9327 | } |
9328 | } |
9329 | |
9330 | static inline const char* string_VkQueueGlobalPriorityEXT(VkQueueGlobalPriorityEXT input_value) |
9331 | { |
9332 | switch (input_value) |
9333 | { |
9334 | case VK_QUEUE_GLOBAL_PRIORITY_HIGH_KHR: |
9335 | return "VK_QUEUE_GLOBAL_PRIORITY_HIGH_KHR" ; |
9336 | case VK_QUEUE_GLOBAL_PRIORITY_LOW_KHR: |
9337 | return "VK_QUEUE_GLOBAL_PRIORITY_LOW_KHR" ; |
9338 | case VK_QUEUE_GLOBAL_PRIORITY_MEDIUM_KHR: |
9339 | return "VK_QUEUE_GLOBAL_PRIORITY_MEDIUM_KHR" ; |
9340 | case VK_QUEUE_GLOBAL_PRIORITY_REALTIME_KHR: |
9341 | return "VK_QUEUE_GLOBAL_PRIORITY_REALTIME_KHR" ; |
9342 | default: |
9343 | return "Unhandled VkQueueGlobalPriorityEXT" ; |
9344 | } |
9345 | } |
9346 | |
9347 | static inline const char* string_VkTimeDomainEXT(VkTimeDomainEXT input_value) |
9348 | { |
9349 | switch (input_value) |
9350 | { |
9351 | case VK_TIME_DOMAIN_CLOCK_MONOTONIC_EXT: |
9352 | return "VK_TIME_DOMAIN_CLOCK_MONOTONIC_EXT" ; |
9353 | case VK_TIME_DOMAIN_CLOCK_MONOTONIC_RAW_EXT: |
9354 | return "VK_TIME_DOMAIN_CLOCK_MONOTONIC_RAW_EXT" ; |
9355 | case VK_TIME_DOMAIN_DEVICE_EXT: |
9356 | return "VK_TIME_DOMAIN_DEVICE_EXT" ; |
9357 | case VK_TIME_DOMAIN_QUERY_PERFORMANCE_COUNTER_EXT: |
9358 | return "VK_TIME_DOMAIN_QUERY_PERFORMANCE_COUNTER_EXT" ; |
9359 | default: |
9360 | return "Unhandled VkTimeDomainEXT" ; |
9361 | } |
9362 | } |
9363 | |
9364 | static inline const char* string_VkMemoryOverallocationBehaviorAMD(VkMemoryOverallocationBehaviorAMD input_value) |
9365 | { |
9366 | switch (input_value) |
9367 | { |
9368 | case VK_MEMORY_OVERALLOCATION_BEHAVIOR_ALLOWED_AMD: |
9369 | return "VK_MEMORY_OVERALLOCATION_BEHAVIOR_ALLOWED_AMD" ; |
9370 | case VK_MEMORY_OVERALLOCATION_BEHAVIOR_DEFAULT_AMD: |
9371 | return "VK_MEMORY_OVERALLOCATION_BEHAVIOR_DEFAULT_AMD" ; |
9372 | case VK_MEMORY_OVERALLOCATION_BEHAVIOR_DISALLOWED_AMD: |
9373 | return "VK_MEMORY_OVERALLOCATION_BEHAVIOR_DISALLOWED_AMD" ; |
9374 | default: |
9375 | return "Unhandled VkMemoryOverallocationBehaviorAMD" ; |
9376 | } |
9377 | } |
9378 | |
9379 | static inline const char* string_VkPipelineCreationFeedbackFlagBitsEXT(VkPipelineCreationFeedbackFlagBitsEXT input_value) |
9380 | { |
9381 | switch (input_value) |
9382 | { |
9383 | case VK_PIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BIT: |
9384 | return "VK_PIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BIT" ; |
9385 | case VK_PIPELINE_CREATION_FEEDBACK_BASE_PIPELINE_ACCELERATION_BIT: |
9386 | return "VK_PIPELINE_CREATION_FEEDBACK_BASE_PIPELINE_ACCELERATION_BIT" ; |
9387 | case VK_PIPELINE_CREATION_FEEDBACK_VALID_BIT: |
9388 | return "VK_PIPELINE_CREATION_FEEDBACK_VALID_BIT" ; |
9389 | default: |
9390 | return "Unhandled VkPipelineCreationFeedbackFlagBitsEXT" ; |
9391 | } |
9392 | } |
9393 | |
9394 | static inline std::string string_VkPipelineCreationFeedbackFlagsEXT(VkPipelineCreationFeedbackFlagsEXT input_value) |
9395 | { |
9396 | std::string ret; |
9397 | int index = 0; |
9398 | while(input_value) { |
9399 | if (input_value & 1) { |
9400 | if( !ret.empty()) ret.append("|" ); |
9401 | ret.append(string_VkPipelineCreationFeedbackFlagBitsEXT(static_cast<VkPipelineCreationFeedbackFlagBitsEXT>(1U << index))); |
9402 | } |
9403 | ++index; |
9404 | input_value >>= 1; |
9405 | } |
9406 | if (ret.empty()) ret.append("VkPipelineCreationFeedbackFlagsEXT(0)" ); |
9407 | return ret; |
9408 | } |
9409 | |
9410 | static inline const char* string_VkPerformanceConfigurationTypeINTEL(VkPerformanceConfigurationTypeINTEL input_value) |
9411 | { |
9412 | switch (input_value) |
9413 | { |
9414 | case VK_PERFORMANCE_CONFIGURATION_TYPE_COMMAND_QUEUE_METRICS_DISCOVERY_ACTIVATED_INTEL: |
9415 | return "VK_PERFORMANCE_CONFIGURATION_TYPE_COMMAND_QUEUE_METRICS_DISCOVERY_ACTIVATED_INTEL" ; |
9416 | default: |
9417 | return "Unhandled VkPerformanceConfigurationTypeINTEL" ; |
9418 | } |
9419 | } |
9420 | |
9421 | static inline const char* string_VkQueryPoolSamplingModeINTEL(VkQueryPoolSamplingModeINTEL input_value) |
9422 | { |
9423 | switch (input_value) |
9424 | { |
9425 | case VK_QUERY_POOL_SAMPLING_MODE_MANUAL_INTEL: |
9426 | return "VK_QUERY_POOL_SAMPLING_MODE_MANUAL_INTEL" ; |
9427 | default: |
9428 | return "Unhandled VkQueryPoolSamplingModeINTEL" ; |
9429 | } |
9430 | } |
9431 | |
9432 | static inline const char* string_VkPerformanceOverrideTypeINTEL(VkPerformanceOverrideTypeINTEL input_value) |
9433 | { |
9434 | switch (input_value) |
9435 | { |
9436 | case VK_PERFORMANCE_OVERRIDE_TYPE_FLUSH_GPU_CACHES_INTEL: |
9437 | return "VK_PERFORMANCE_OVERRIDE_TYPE_FLUSH_GPU_CACHES_INTEL" ; |
9438 | case VK_PERFORMANCE_OVERRIDE_TYPE_NULL_HARDWARE_INTEL: |
9439 | return "VK_PERFORMANCE_OVERRIDE_TYPE_NULL_HARDWARE_INTEL" ; |
9440 | default: |
9441 | return "Unhandled VkPerformanceOverrideTypeINTEL" ; |
9442 | } |
9443 | } |
9444 | |
9445 | static inline const char* string_VkPerformanceParameterTypeINTEL(VkPerformanceParameterTypeINTEL input_value) |
9446 | { |
9447 | switch (input_value) |
9448 | { |
9449 | case VK_PERFORMANCE_PARAMETER_TYPE_HW_COUNTERS_SUPPORTED_INTEL: |
9450 | return "VK_PERFORMANCE_PARAMETER_TYPE_HW_COUNTERS_SUPPORTED_INTEL" ; |
9451 | case VK_PERFORMANCE_PARAMETER_TYPE_STREAM_MARKER_VALID_BITS_INTEL: |
9452 | return "VK_PERFORMANCE_PARAMETER_TYPE_STREAM_MARKER_VALID_BITS_INTEL" ; |
9453 | default: |
9454 | return "Unhandled VkPerformanceParameterTypeINTEL" ; |
9455 | } |
9456 | } |
9457 | |
9458 | static inline const char* string_VkPerformanceValueTypeINTEL(VkPerformanceValueTypeINTEL input_value) |
9459 | { |
9460 | switch (input_value) |
9461 | { |
9462 | case VK_PERFORMANCE_VALUE_TYPE_BOOL_INTEL: |
9463 | return "VK_PERFORMANCE_VALUE_TYPE_BOOL_INTEL" ; |
9464 | case VK_PERFORMANCE_VALUE_TYPE_FLOAT_INTEL: |
9465 | return "VK_PERFORMANCE_VALUE_TYPE_FLOAT_INTEL" ; |
9466 | case VK_PERFORMANCE_VALUE_TYPE_STRING_INTEL: |
9467 | return "VK_PERFORMANCE_VALUE_TYPE_STRING_INTEL" ; |
9468 | case VK_PERFORMANCE_VALUE_TYPE_UINT32_INTEL: |
9469 | return "VK_PERFORMANCE_VALUE_TYPE_UINT32_INTEL" ; |
9470 | case VK_PERFORMANCE_VALUE_TYPE_UINT64_INTEL: |
9471 | return "VK_PERFORMANCE_VALUE_TYPE_UINT64_INTEL" ; |
9472 | default: |
9473 | return "Unhandled VkPerformanceValueTypeINTEL" ; |
9474 | } |
9475 | } |
9476 | |
9477 | static inline const char* string_VkToolPurposeFlagBitsEXT(VkToolPurposeFlagBitsEXT input_value) |
9478 | { |
9479 | switch (input_value) |
9480 | { |
9481 | case VK_TOOL_PURPOSE_ADDITIONAL_FEATURES_BIT: |
9482 | return "VK_TOOL_PURPOSE_ADDITIONAL_FEATURES_BIT" ; |
9483 | case VK_TOOL_PURPOSE_DEBUG_MARKERS_BIT_EXT: |
9484 | return "VK_TOOL_PURPOSE_DEBUG_MARKERS_BIT_EXT" ; |
9485 | case VK_TOOL_PURPOSE_DEBUG_REPORTING_BIT_EXT: |
9486 | return "VK_TOOL_PURPOSE_DEBUG_REPORTING_BIT_EXT" ; |
9487 | case VK_TOOL_PURPOSE_MODIFYING_FEATURES_BIT: |
9488 | return "VK_TOOL_PURPOSE_MODIFYING_FEATURES_BIT" ; |
9489 | case VK_TOOL_PURPOSE_PROFILING_BIT: |
9490 | return "VK_TOOL_PURPOSE_PROFILING_BIT" ; |
9491 | case VK_TOOL_PURPOSE_TRACING_BIT: |
9492 | return "VK_TOOL_PURPOSE_TRACING_BIT" ; |
9493 | case VK_TOOL_PURPOSE_VALIDATION_BIT: |
9494 | return "VK_TOOL_PURPOSE_VALIDATION_BIT" ; |
9495 | default: |
9496 | return "Unhandled VkToolPurposeFlagBitsEXT" ; |
9497 | } |
9498 | } |
9499 | |
9500 | static inline std::string string_VkToolPurposeFlagsEXT(VkToolPurposeFlagsEXT input_value) |
9501 | { |
9502 | std::string ret; |
9503 | int index = 0; |
9504 | while(input_value) { |
9505 | if (input_value & 1) { |
9506 | if( !ret.empty()) ret.append("|" ); |
9507 | ret.append(string_VkToolPurposeFlagBitsEXT(static_cast<VkToolPurposeFlagBitsEXT>(1U << index))); |
9508 | } |
9509 | ++index; |
9510 | input_value >>= 1; |
9511 | } |
9512 | if (ret.empty()) ret.append("VkToolPurposeFlagsEXT(0)" ); |
9513 | return ret; |
9514 | } |
9515 | |
9516 | static inline const char* string_VkValidationFeatureEnableEXT(VkValidationFeatureEnableEXT input_value) |
9517 | { |
9518 | switch (input_value) |
9519 | { |
9520 | case VK_VALIDATION_FEATURE_ENABLE_BEST_PRACTICES_EXT: |
9521 | return "VK_VALIDATION_FEATURE_ENABLE_BEST_PRACTICES_EXT" ; |
9522 | case VK_VALIDATION_FEATURE_ENABLE_DEBUG_PRINTF_EXT: |
9523 | return "VK_VALIDATION_FEATURE_ENABLE_DEBUG_PRINTF_EXT" ; |
9524 | case VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_EXT: |
9525 | return "VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_EXT" ; |
9526 | case VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_RESERVE_BINDING_SLOT_EXT: |
9527 | return "VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_RESERVE_BINDING_SLOT_EXT" ; |
9528 | case VK_VALIDATION_FEATURE_ENABLE_SYNCHRONIZATION_VALIDATION_EXT: |
9529 | return "VK_VALIDATION_FEATURE_ENABLE_SYNCHRONIZATION_VALIDATION_EXT" ; |
9530 | default: |
9531 | return "Unhandled VkValidationFeatureEnableEXT" ; |
9532 | } |
9533 | } |
9534 | |
9535 | static inline const char* string_VkValidationFeatureDisableEXT(VkValidationFeatureDisableEXT input_value) |
9536 | { |
9537 | switch (input_value) |
9538 | { |
9539 | case VK_VALIDATION_FEATURE_DISABLE_ALL_EXT: |
9540 | return "VK_VALIDATION_FEATURE_DISABLE_ALL_EXT" ; |
9541 | case VK_VALIDATION_FEATURE_DISABLE_API_PARAMETERS_EXT: |
9542 | return "VK_VALIDATION_FEATURE_DISABLE_API_PARAMETERS_EXT" ; |
9543 | case VK_VALIDATION_FEATURE_DISABLE_CORE_CHECKS_EXT: |
9544 | return "VK_VALIDATION_FEATURE_DISABLE_CORE_CHECKS_EXT" ; |
9545 | case VK_VALIDATION_FEATURE_DISABLE_OBJECT_LIFETIMES_EXT: |
9546 | return "VK_VALIDATION_FEATURE_DISABLE_OBJECT_LIFETIMES_EXT" ; |
9547 | case VK_VALIDATION_FEATURE_DISABLE_SHADERS_EXT: |
9548 | return "VK_VALIDATION_FEATURE_DISABLE_SHADERS_EXT" ; |
9549 | case VK_VALIDATION_FEATURE_DISABLE_SHADER_VALIDATION_CACHE_EXT: |
9550 | return "VK_VALIDATION_FEATURE_DISABLE_SHADER_VALIDATION_CACHE_EXT" ; |
9551 | case VK_VALIDATION_FEATURE_DISABLE_THREAD_SAFETY_EXT: |
9552 | return "VK_VALIDATION_FEATURE_DISABLE_THREAD_SAFETY_EXT" ; |
9553 | case VK_VALIDATION_FEATURE_DISABLE_UNIQUE_HANDLES_EXT: |
9554 | return "VK_VALIDATION_FEATURE_DISABLE_UNIQUE_HANDLES_EXT" ; |
9555 | default: |
9556 | return "Unhandled VkValidationFeatureDisableEXT" ; |
9557 | } |
9558 | } |
9559 | |
9560 | static inline const char* string_VkComponentTypeNV(VkComponentTypeNV input_value) |
9561 | { |
9562 | switch (input_value) |
9563 | { |
9564 | case VK_COMPONENT_TYPE_FLOAT16_NV: |
9565 | return "VK_COMPONENT_TYPE_FLOAT16_NV" ; |
9566 | case VK_COMPONENT_TYPE_FLOAT32_NV: |
9567 | return "VK_COMPONENT_TYPE_FLOAT32_NV" ; |
9568 | case VK_COMPONENT_TYPE_FLOAT64_NV: |
9569 | return "VK_COMPONENT_TYPE_FLOAT64_NV" ; |
9570 | case VK_COMPONENT_TYPE_SINT16_NV: |
9571 | return "VK_COMPONENT_TYPE_SINT16_NV" ; |
9572 | case VK_COMPONENT_TYPE_SINT32_NV: |
9573 | return "VK_COMPONENT_TYPE_SINT32_NV" ; |
9574 | case VK_COMPONENT_TYPE_SINT64_NV: |
9575 | return "VK_COMPONENT_TYPE_SINT64_NV" ; |
9576 | case VK_COMPONENT_TYPE_SINT8_NV: |
9577 | return "VK_COMPONENT_TYPE_SINT8_NV" ; |
9578 | case VK_COMPONENT_TYPE_UINT16_NV: |
9579 | return "VK_COMPONENT_TYPE_UINT16_NV" ; |
9580 | case VK_COMPONENT_TYPE_UINT32_NV: |
9581 | return "VK_COMPONENT_TYPE_UINT32_NV" ; |
9582 | case VK_COMPONENT_TYPE_UINT64_NV: |
9583 | return "VK_COMPONENT_TYPE_UINT64_NV" ; |
9584 | case VK_COMPONENT_TYPE_UINT8_NV: |
9585 | return "VK_COMPONENT_TYPE_UINT8_NV" ; |
9586 | default: |
9587 | return "Unhandled VkComponentTypeNV" ; |
9588 | } |
9589 | } |
9590 | |
9591 | static inline const char* string_VkScopeNV(VkScopeNV input_value) |
9592 | { |
9593 | switch (input_value) |
9594 | { |
9595 | case VK_SCOPE_DEVICE_NV: |
9596 | return "VK_SCOPE_DEVICE_NV" ; |
9597 | case VK_SCOPE_QUEUE_FAMILY_NV: |
9598 | return "VK_SCOPE_QUEUE_FAMILY_NV" ; |
9599 | case VK_SCOPE_SUBGROUP_NV: |
9600 | return "VK_SCOPE_SUBGROUP_NV" ; |
9601 | case VK_SCOPE_WORKGROUP_NV: |
9602 | return "VK_SCOPE_WORKGROUP_NV" ; |
9603 | default: |
9604 | return "Unhandled VkScopeNV" ; |
9605 | } |
9606 | } |
9607 | |
9608 | static inline const char* string_VkCoverageReductionModeNV(VkCoverageReductionModeNV input_value) |
9609 | { |
9610 | switch (input_value) |
9611 | { |
9612 | case VK_COVERAGE_REDUCTION_MODE_MERGE_NV: |
9613 | return "VK_COVERAGE_REDUCTION_MODE_MERGE_NV" ; |
9614 | case VK_COVERAGE_REDUCTION_MODE_TRUNCATE_NV: |
9615 | return "VK_COVERAGE_REDUCTION_MODE_TRUNCATE_NV" ; |
9616 | default: |
9617 | return "Unhandled VkCoverageReductionModeNV" ; |
9618 | } |
9619 | } |
9620 | |
9621 | static inline const char* string_VkProvokingVertexModeEXT(VkProvokingVertexModeEXT input_value) |
9622 | { |
9623 | switch (input_value) |
9624 | { |
9625 | case VK_PROVOKING_VERTEX_MODE_FIRST_VERTEX_EXT: |
9626 | return "VK_PROVOKING_VERTEX_MODE_FIRST_VERTEX_EXT" ; |
9627 | case VK_PROVOKING_VERTEX_MODE_LAST_VERTEX_EXT: |
9628 | return "VK_PROVOKING_VERTEX_MODE_LAST_VERTEX_EXT" ; |
9629 | default: |
9630 | return "Unhandled VkProvokingVertexModeEXT" ; |
9631 | } |
9632 | } |
9633 | |
9634 | |
9635 | #ifdef VK_USE_PLATFORM_WIN32_KHR |
9636 | |
9637 | static inline const char* string_VkFullScreenExclusiveEXT(VkFullScreenExclusiveEXT input_value) |
9638 | { |
9639 | switch (input_value) |
9640 | { |
9641 | case VK_FULL_SCREEN_EXCLUSIVE_ALLOWED_EXT: |
9642 | return "VK_FULL_SCREEN_EXCLUSIVE_ALLOWED_EXT" ; |
9643 | case VK_FULL_SCREEN_EXCLUSIVE_APPLICATION_CONTROLLED_EXT: |
9644 | return "VK_FULL_SCREEN_EXCLUSIVE_APPLICATION_CONTROLLED_EXT" ; |
9645 | case VK_FULL_SCREEN_EXCLUSIVE_DEFAULT_EXT: |
9646 | return "VK_FULL_SCREEN_EXCLUSIVE_DEFAULT_EXT" ; |
9647 | case VK_FULL_SCREEN_EXCLUSIVE_DISALLOWED_EXT: |
9648 | return "VK_FULL_SCREEN_EXCLUSIVE_DISALLOWED_EXT" ; |
9649 | default: |
9650 | return "Unhandled VkFullScreenExclusiveEXT" ; |
9651 | } |
9652 | } |
9653 | #endif // VK_USE_PLATFORM_WIN32_KHR |
9654 | |
9655 | static inline const char* string_VkLineRasterizationModeEXT(VkLineRasterizationModeEXT input_value) |
9656 | { |
9657 | switch (input_value) |
9658 | { |
9659 | case VK_LINE_RASTERIZATION_MODE_BRESENHAM_EXT: |
9660 | return "VK_LINE_RASTERIZATION_MODE_BRESENHAM_EXT" ; |
9661 | case VK_LINE_RASTERIZATION_MODE_DEFAULT_EXT: |
9662 | return "VK_LINE_RASTERIZATION_MODE_DEFAULT_EXT" ; |
9663 | case VK_LINE_RASTERIZATION_MODE_RECTANGULAR_EXT: |
9664 | return "VK_LINE_RASTERIZATION_MODE_RECTANGULAR_EXT" ; |
9665 | case VK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_EXT: |
9666 | return "VK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_EXT" ; |
9667 | default: |
9668 | return "Unhandled VkLineRasterizationModeEXT" ; |
9669 | } |
9670 | } |
9671 | |
9672 | static inline const char* string_VkPresentScalingFlagBitsEXT(VkPresentScalingFlagBitsEXT input_value) |
9673 | { |
9674 | switch (input_value) |
9675 | { |
9676 | case VK_PRESENT_SCALING_ASPECT_RATIO_STRETCH_BIT_EXT: |
9677 | return "VK_PRESENT_SCALING_ASPECT_RATIO_STRETCH_BIT_EXT" ; |
9678 | case VK_PRESENT_SCALING_ONE_TO_ONE_BIT_EXT: |
9679 | return "VK_PRESENT_SCALING_ONE_TO_ONE_BIT_EXT" ; |
9680 | case VK_PRESENT_SCALING_STRETCH_BIT_EXT: |
9681 | return "VK_PRESENT_SCALING_STRETCH_BIT_EXT" ; |
9682 | default: |
9683 | return "Unhandled VkPresentScalingFlagBitsEXT" ; |
9684 | } |
9685 | } |
9686 | |
9687 | static inline std::string string_VkPresentScalingFlagsEXT(VkPresentScalingFlagsEXT input_value) |
9688 | { |
9689 | std::string ret; |
9690 | int index = 0; |
9691 | while(input_value) { |
9692 | if (input_value & 1) { |
9693 | if( !ret.empty()) ret.append("|" ); |
9694 | ret.append(string_VkPresentScalingFlagBitsEXT(static_cast<VkPresentScalingFlagBitsEXT>(1U << index))); |
9695 | } |
9696 | ++index; |
9697 | input_value >>= 1; |
9698 | } |
9699 | if (ret.empty()) ret.append("VkPresentScalingFlagsEXT(0)" ); |
9700 | return ret; |
9701 | } |
9702 | |
9703 | static inline const char* string_VkPresentGravityFlagBitsEXT(VkPresentGravityFlagBitsEXT input_value) |
9704 | { |
9705 | switch (input_value) |
9706 | { |
9707 | case VK_PRESENT_GRAVITY_CENTERED_BIT_EXT: |
9708 | return "VK_PRESENT_GRAVITY_CENTERED_BIT_EXT" ; |
9709 | case VK_PRESENT_GRAVITY_MAX_BIT_EXT: |
9710 | return "VK_PRESENT_GRAVITY_MAX_BIT_EXT" ; |
9711 | case VK_PRESENT_GRAVITY_MIN_BIT_EXT: |
9712 | return "VK_PRESENT_GRAVITY_MIN_BIT_EXT" ; |
9713 | default: |
9714 | return "Unhandled VkPresentGravityFlagBitsEXT" ; |
9715 | } |
9716 | } |
9717 | |
9718 | static inline std::string string_VkPresentGravityFlagsEXT(VkPresentGravityFlagsEXT input_value) |
9719 | { |
9720 | std::string ret; |
9721 | int index = 0; |
9722 | while(input_value) { |
9723 | if (input_value & 1) { |
9724 | if( !ret.empty()) ret.append("|" ); |
9725 | ret.append(string_VkPresentGravityFlagBitsEXT(static_cast<VkPresentGravityFlagBitsEXT>(1U << index))); |
9726 | } |
9727 | ++index; |
9728 | input_value >>= 1; |
9729 | } |
9730 | if (ret.empty()) ret.append("VkPresentGravityFlagsEXT(0)" ); |
9731 | return ret; |
9732 | } |
9733 | |
9734 | static inline const char* string_VkIndirectStateFlagBitsNV(VkIndirectStateFlagBitsNV input_value) |
9735 | { |
9736 | switch (input_value) |
9737 | { |
9738 | case VK_INDIRECT_STATE_FLAG_FRONTFACE_BIT_NV: |
9739 | return "VK_INDIRECT_STATE_FLAG_FRONTFACE_BIT_NV" ; |
9740 | default: |
9741 | return "Unhandled VkIndirectStateFlagBitsNV" ; |
9742 | } |
9743 | } |
9744 | |
9745 | static inline std::string string_VkIndirectStateFlagsNV(VkIndirectStateFlagsNV input_value) |
9746 | { |
9747 | std::string ret; |
9748 | int index = 0; |
9749 | while(input_value) { |
9750 | if (input_value & 1) { |
9751 | if( !ret.empty()) ret.append("|" ); |
9752 | ret.append(string_VkIndirectStateFlagBitsNV(static_cast<VkIndirectStateFlagBitsNV>(1U << index))); |
9753 | } |
9754 | ++index; |
9755 | input_value >>= 1; |
9756 | } |
9757 | if (ret.empty()) ret.append("VkIndirectStateFlagsNV(0)" ); |
9758 | return ret; |
9759 | } |
9760 | |
9761 | static inline const char* string_VkIndirectCommandsTokenTypeNV(VkIndirectCommandsTokenTypeNV input_value) |
9762 | { |
9763 | switch (input_value) |
9764 | { |
9765 | case VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_INDEXED_NV: |
9766 | return "VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_INDEXED_NV" ; |
9767 | case VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_MESH_TASKS_NV: |
9768 | return "VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_MESH_TASKS_NV" ; |
9769 | case VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_NV: |
9770 | return "VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_NV" ; |
9771 | case VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_TASKS_NV: |
9772 | return "VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_TASKS_NV" ; |
9773 | case VK_INDIRECT_COMMANDS_TOKEN_TYPE_INDEX_BUFFER_NV: |
9774 | return "VK_INDIRECT_COMMANDS_TOKEN_TYPE_INDEX_BUFFER_NV" ; |
9775 | case VK_INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_CONSTANT_NV: |
9776 | return "VK_INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_CONSTANT_NV" ; |
9777 | case VK_INDIRECT_COMMANDS_TOKEN_TYPE_SHADER_GROUP_NV: |
9778 | return "VK_INDIRECT_COMMANDS_TOKEN_TYPE_SHADER_GROUP_NV" ; |
9779 | case VK_INDIRECT_COMMANDS_TOKEN_TYPE_STATE_FLAGS_NV: |
9780 | return "VK_INDIRECT_COMMANDS_TOKEN_TYPE_STATE_FLAGS_NV" ; |
9781 | case VK_INDIRECT_COMMANDS_TOKEN_TYPE_VERTEX_BUFFER_NV: |
9782 | return "VK_INDIRECT_COMMANDS_TOKEN_TYPE_VERTEX_BUFFER_NV" ; |
9783 | default: |
9784 | return "Unhandled VkIndirectCommandsTokenTypeNV" ; |
9785 | } |
9786 | } |
9787 | |
9788 | static inline const char* string_VkIndirectCommandsLayoutUsageFlagBitsNV(VkIndirectCommandsLayoutUsageFlagBitsNV input_value) |
9789 | { |
9790 | switch (input_value) |
9791 | { |
9792 | case VK_INDIRECT_COMMANDS_LAYOUT_USAGE_EXPLICIT_PREPROCESS_BIT_NV: |
9793 | return "VK_INDIRECT_COMMANDS_LAYOUT_USAGE_EXPLICIT_PREPROCESS_BIT_NV" ; |
9794 | case VK_INDIRECT_COMMANDS_LAYOUT_USAGE_INDEXED_SEQUENCES_BIT_NV: |
9795 | return "VK_INDIRECT_COMMANDS_LAYOUT_USAGE_INDEXED_SEQUENCES_BIT_NV" ; |
9796 | case VK_INDIRECT_COMMANDS_LAYOUT_USAGE_UNORDERED_SEQUENCES_BIT_NV: |
9797 | return "VK_INDIRECT_COMMANDS_LAYOUT_USAGE_UNORDERED_SEQUENCES_BIT_NV" ; |
9798 | default: |
9799 | return "Unhandled VkIndirectCommandsLayoutUsageFlagBitsNV" ; |
9800 | } |
9801 | } |
9802 | |
9803 | static inline std::string string_VkIndirectCommandsLayoutUsageFlagsNV(VkIndirectCommandsLayoutUsageFlagsNV input_value) |
9804 | { |
9805 | std::string ret; |
9806 | int index = 0; |
9807 | while(input_value) { |
9808 | if (input_value & 1) { |
9809 | if( !ret.empty()) ret.append("|" ); |
9810 | ret.append(string_VkIndirectCommandsLayoutUsageFlagBitsNV(static_cast<VkIndirectCommandsLayoutUsageFlagBitsNV>(1U << index))); |
9811 | } |
9812 | ++index; |
9813 | input_value >>= 1; |
9814 | } |
9815 | if (ret.empty()) ret.append("VkIndirectCommandsLayoutUsageFlagsNV(0)" ); |
9816 | return ret; |
9817 | } |
9818 | |
9819 | static inline const char* string_VkDeviceMemoryReportEventTypeEXT(VkDeviceMemoryReportEventTypeEXT input_value) |
9820 | { |
9821 | switch (input_value) |
9822 | { |
9823 | case VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_ALLOCATE_EXT: |
9824 | return "VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_ALLOCATE_EXT" ; |
9825 | case VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_ALLOCATION_FAILED_EXT: |
9826 | return "VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_ALLOCATION_FAILED_EXT" ; |
9827 | case VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_FREE_EXT: |
9828 | return "VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_FREE_EXT" ; |
9829 | case VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_IMPORT_EXT: |
9830 | return "VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_IMPORT_EXT" ; |
9831 | case VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_UNIMPORT_EXT: |
9832 | return "VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_UNIMPORT_EXT" ; |
9833 | default: |
9834 | return "Unhandled VkDeviceMemoryReportEventTypeEXT" ; |
9835 | } |
9836 | } |
9837 | |
9838 | static inline const char* string_VkDeviceDiagnosticsConfigFlagBitsNV(VkDeviceDiagnosticsConfigFlagBitsNV input_value) |
9839 | { |
9840 | switch (input_value) |
9841 | { |
9842 | case VK_DEVICE_DIAGNOSTICS_CONFIG_ENABLE_AUTOMATIC_CHECKPOINTS_BIT_NV: |
9843 | return "VK_DEVICE_DIAGNOSTICS_CONFIG_ENABLE_AUTOMATIC_CHECKPOINTS_BIT_NV" ; |
9844 | case VK_DEVICE_DIAGNOSTICS_CONFIG_ENABLE_RESOURCE_TRACKING_BIT_NV: |
9845 | return "VK_DEVICE_DIAGNOSTICS_CONFIG_ENABLE_RESOURCE_TRACKING_BIT_NV" ; |
9846 | case VK_DEVICE_DIAGNOSTICS_CONFIG_ENABLE_SHADER_DEBUG_INFO_BIT_NV: |
9847 | return "VK_DEVICE_DIAGNOSTICS_CONFIG_ENABLE_SHADER_DEBUG_INFO_BIT_NV" ; |
9848 | case VK_DEVICE_DIAGNOSTICS_CONFIG_ENABLE_SHADER_ERROR_REPORTING_BIT_NV: |
9849 | return "VK_DEVICE_DIAGNOSTICS_CONFIG_ENABLE_SHADER_ERROR_REPORTING_BIT_NV" ; |
9850 | default: |
9851 | return "Unhandled VkDeviceDiagnosticsConfigFlagBitsNV" ; |
9852 | } |
9853 | } |
9854 | |
9855 | static inline std::string string_VkDeviceDiagnosticsConfigFlagsNV(VkDeviceDiagnosticsConfigFlagsNV input_value) |
9856 | { |
9857 | std::string ret; |
9858 | int index = 0; |
9859 | while(input_value) { |
9860 | if (input_value & 1) { |
9861 | if( !ret.empty()) ret.append("|" ); |
9862 | ret.append(string_VkDeviceDiagnosticsConfigFlagBitsNV(static_cast<VkDeviceDiagnosticsConfigFlagBitsNV>(1U << index))); |
9863 | } |
9864 | ++index; |
9865 | input_value >>= 1; |
9866 | } |
9867 | if (ret.empty()) ret.append("VkDeviceDiagnosticsConfigFlagsNV(0)" ); |
9868 | return ret; |
9869 | } |
9870 | |
9871 | |
9872 | #ifdef VK_USE_PLATFORM_METAL_EXT |
9873 | |
9874 | static inline const char* string_VkExportMetalObjectTypeFlagBitsEXT(VkExportMetalObjectTypeFlagBitsEXT input_value) |
9875 | { |
9876 | switch (input_value) |
9877 | { |
9878 | case VK_EXPORT_METAL_OBJECT_TYPE_METAL_BUFFER_BIT_EXT: |
9879 | return "VK_EXPORT_METAL_OBJECT_TYPE_METAL_BUFFER_BIT_EXT" ; |
9880 | case VK_EXPORT_METAL_OBJECT_TYPE_METAL_COMMAND_QUEUE_BIT_EXT: |
9881 | return "VK_EXPORT_METAL_OBJECT_TYPE_METAL_COMMAND_QUEUE_BIT_EXT" ; |
9882 | case VK_EXPORT_METAL_OBJECT_TYPE_METAL_DEVICE_BIT_EXT: |
9883 | return "VK_EXPORT_METAL_OBJECT_TYPE_METAL_DEVICE_BIT_EXT" ; |
9884 | case VK_EXPORT_METAL_OBJECT_TYPE_METAL_IOSURFACE_BIT_EXT: |
9885 | return "VK_EXPORT_METAL_OBJECT_TYPE_METAL_IOSURFACE_BIT_EXT" ; |
9886 | case VK_EXPORT_METAL_OBJECT_TYPE_METAL_SHARED_EVENT_BIT_EXT: |
9887 | return "VK_EXPORT_METAL_OBJECT_TYPE_METAL_SHARED_EVENT_BIT_EXT" ; |
9888 | case VK_EXPORT_METAL_OBJECT_TYPE_METAL_TEXTURE_BIT_EXT: |
9889 | return "VK_EXPORT_METAL_OBJECT_TYPE_METAL_TEXTURE_BIT_EXT" ; |
9890 | default: |
9891 | return "Unhandled VkExportMetalObjectTypeFlagBitsEXT" ; |
9892 | } |
9893 | } |
9894 | |
9895 | static inline std::string string_VkExportMetalObjectTypeFlagsEXT(VkExportMetalObjectTypeFlagsEXT input_value) |
9896 | { |
9897 | std::string ret; |
9898 | int index = 0; |
9899 | while(input_value) { |
9900 | if (input_value & 1) { |
9901 | if( !ret.empty()) ret.append("|" ); |
9902 | ret.append(string_VkExportMetalObjectTypeFlagBitsEXT(static_cast<VkExportMetalObjectTypeFlagBitsEXT>(1U << index))); |
9903 | } |
9904 | ++index; |
9905 | input_value >>= 1; |
9906 | } |
9907 | if (ret.empty()) ret.append("VkExportMetalObjectTypeFlagsEXT(0)" ); |
9908 | return ret; |
9909 | } |
9910 | #endif // VK_USE_PLATFORM_METAL_EXT |
9911 | |
9912 | static inline const char* string_VkGraphicsPipelineLibraryFlagBitsEXT(VkGraphicsPipelineLibraryFlagBitsEXT input_value) |
9913 | { |
9914 | switch (input_value) |
9915 | { |
9916 | case VK_GRAPHICS_PIPELINE_LIBRARY_FRAGMENT_OUTPUT_INTERFACE_BIT_EXT: |
9917 | return "VK_GRAPHICS_PIPELINE_LIBRARY_FRAGMENT_OUTPUT_INTERFACE_BIT_EXT" ; |
9918 | case VK_GRAPHICS_PIPELINE_LIBRARY_FRAGMENT_SHADER_BIT_EXT: |
9919 | return "VK_GRAPHICS_PIPELINE_LIBRARY_FRAGMENT_SHADER_BIT_EXT" ; |
9920 | case VK_GRAPHICS_PIPELINE_LIBRARY_PRE_RASTERIZATION_SHADERS_BIT_EXT: |
9921 | return "VK_GRAPHICS_PIPELINE_LIBRARY_PRE_RASTERIZATION_SHADERS_BIT_EXT" ; |
9922 | case VK_GRAPHICS_PIPELINE_LIBRARY_VERTEX_INPUT_INTERFACE_BIT_EXT: |
9923 | return "VK_GRAPHICS_PIPELINE_LIBRARY_VERTEX_INPUT_INTERFACE_BIT_EXT" ; |
9924 | default: |
9925 | return "Unhandled VkGraphicsPipelineLibraryFlagBitsEXT" ; |
9926 | } |
9927 | } |
9928 | |
9929 | static inline std::string string_VkGraphicsPipelineLibraryFlagsEXT(VkGraphicsPipelineLibraryFlagsEXT input_value) |
9930 | { |
9931 | std::string ret; |
9932 | int index = 0; |
9933 | while(input_value) { |
9934 | if (input_value & 1) { |
9935 | if( !ret.empty()) ret.append("|" ); |
9936 | ret.append(string_VkGraphicsPipelineLibraryFlagBitsEXT(static_cast<VkGraphicsPipelineLibraryFlagBitsEXT>(1U << index))); |
9937 | } |
9938 | ++index; |
9939 | input_value >>= 1; |
9940 | } |
9941 | if (ret.empty()) ret.append("VkGraphicsPipelineLibraryFlagsEXT(0)" ); |
9942 | return ret; |
9943 | } |
9944 | |
9945 | static inline const char* string_VkFragmentShadingRateTypeNV(VkFragmentShadingRateTypeNV input_value) |
9946 | { |
9947 | switch (input_value) |
9948 | { |
9949 | case VK_FRAGMENT_SHADING_RATE_TYPE_ENUMS_NV: |
9950 | return "VK_FRAGMENT_SHADING_RATE_TYPE_ENUMS_NV" ; |
9951 | case VK_FRAGMENT_SHADING_RATE_TYPE_FRAGMENT_SIZE_NV: |
9952 | return "VK_FRAGMENT_SHADING_RATE_TYPE_FRAGMENT_SIZE_NV" ; |
9953 | default: |
9954 | return "Unhandled VkFragmentShadingRateTypeNV" ; |
9955 | } |
9956 | } |
9957 | |
9958 | static inline const char* string_VkFragmentShadingRateNV(VkFragmentShadingRateNV input_value) |
9959 | { |
9960 | switch (input_value) |
9961 | { |
9962 | case VK_FRAGMENT_SHADING_RATE_16_INVOCATIONS_PER_PIXEL_NV: |
9963 | return "VK_FRAGMENT_SHADING_RATE_16_INVOCATIONS_PER_PIXEL_NV" ; |
9964 | case VK_FRAGMENT_SHADING_RATE_1_INVOCATION_PER_1X2_PIXELS_NV: |
9965 | return "VK_FRAGMENT_SHADING_RATE_1_INVOCATION_PER_1X2_PIXELS_NV" ; |
9966 | case VK_FRAGMENT_SHADING_RATE_1_INVOCATION_PER_2X1_PIXELS_NV: |
9967 | return "VK_FRAGMENT_SHADING_RATE_1_INVOCATION_PER_2X1_PIXELS_NV" ; |
9968 | case VK_FRAGMENT_SHADING_RATE_1_INVOCATION_PER_2X2_PIXELS_NV: |
9969 | return "VK_FRAGMENT_SHADING_RATE_1_INVOCATION_PER_2X2_PIXELS_NV" ; |
9970 | case VK_FRAGMENT_SHADING_RATE_1_INVOCATION_PER_2X4_PIXELS_NV: |
9971 | return "VK_FRAGMENT_SHADING_RATE_1_INVOCATION_PER_2X4_PIXELS_NV" ; |
9972 | case VK_FRAGMENT_SHADING_RATE_1_INVOCATION_PER_4X2_PIXELS_NV: |
9973 | return "VK_FRAGMENT_SHADING_RATE_1_INVOCATION_PER_4X2_PIXELS_NV" ; |
9974 | case VK_FRAGMENT_SHADING_RATE_1_INVOCATION_PER_4X4_PIXELS_NV: |
9975 | return "VK_FRAGMENT_SHADING_RATE_1_INVOCATION_PER_4X4_PIXELS_NV" ; |
9976 | case VK_FRAGMENT_SHADING_RATE_1_INVOCATION_PER_PIXEL_NV: |
9977 | return "VK_FRAGMENT_SHADING_RATE_1_INVOCATION_PER_PIXEL_NV" ; |
9978 | case VK_FRAGMENT_SHADING_RATE_2_INVOCATIONS_PER_PIXEL_NV: |
9979 | return "VK_FRAGMENT_SHADING_RATE_2_INVOCATIONS_PER_PIXEL_NV" ; |
9980 | case VK_FRAGMENT_SHADING_RATE_4_INVOCATIONS_PER_PIXEL_NV: |
9981 | return "VK_FRAGMENT_SHADING_RATE_4_INVOCATIONS_PER_PIXEL_NV" ; |
9982 | case VK_FRAGMENT_SHADING_RATE_8_INVOCATIONS_PER_PIXEL_NV: |
9983 | return "VK_FRAGMENT_SHADING_RATE_8_INVOCATIONS_PER_PIXEL_NV" ; |
9984 | case VK_FRAGMENT_SHADING_RATE_NO_INVOCATIONS_NV: |
9985 | return "VK_FRAGMENT_SHADING_RATE_NO_INVOCATIONS_NV" ; |
9986 | default: |
9987 | return "Unhandled VkFragmentShadingRateNV" ; |
9988 | } |
9989 | } |
9990 | |
9991 | static inline const char* string_VkAccelerationStructureMotionInstanceTypeNV(VkAccelerationStructureMotionInstanceTypeNV input_value) |
9992 | { |
9993 | switch (input_value) |
9994 | { |
9995 | case VK_ACCELERATION_STRUCTURE_MOTION_INSTANCE_TYPE_MATRIX_MOTION_NV: |
9996 | return "VK_ACCELERATION_STRUCTURE_MOTION_INSTANCE_TYPE_MATRIX_MOTION_NV" ; |
9997 | case VK_ACCELERATION_STRUCTURE_MOTION_INSTANCE_TYPE_SRT_MOTION_NV: |
9998 | return "VK_ACCELERATION_STRUCTURE_MOTION_INSTANCE_TYPE_SRT_MOTION_NV" ; |
9999 | case VK_ACCELERATION_STRUCTURE_MOTION_INSTANCE_TYPE_STATIC_NV: |
10000 | return "VK_ACCELERATION_STRUCTURE_MOTION_INSTANCE_TYPE_STATIC_NV" ; |
10001 | default: |
10002 | return "Unhandled VkAccelerationStructureMotionInstanceTypeNV" ; |
10003 | } |
10004 | } |
10005 | |
10006 | static inline const char* string_VkImageCompressionFlagBitsEXT(VkImageCompressionFlagBitsEXT input_value) |
10007 | { |
10008 | switch (input_value) |
10009 | { |
10010 | case VK_IMAGE_COMPRESSION_DEFAULT_EXT: |
10011 | return "VK_IMAGE_COMPRESSION_DEFAULT_EXT" ; |
10012 | case VK_IMAGE_COMPRESSION_DISABLED_EXT: |
10013 | return "VK_IMAGE_COMPRESSION_DISABLED_EXT" ; |
10014 | case VK_IMAGE_COMPRESSION_FIXED_RATE_DEFAULT_EXT: |
10015 | return "VK_IMAGE_COMPRESSION_FIXED_RATE_DEFAULT_EXT" ; |
10016 | case VK_IMAGE_COMPRESSION_FIXED_RATE_EXPLICIT_EXT: |
10017 | return "VK_IMAGE_COMPRESSION_FIXED_RATE_EXPLICIT_EXT" ; |
10018 | default: |
10019 | return "Unhandled VkImageCompressionFlagBitsEXT" ; |
10020 | } |
10021 | } |
10022 | |
10023 | static inline std::string string_VkImageCompressionFlagsEXT(VkImageCompressionFlagsEXT input_value) |
10024 | { |
10025 | std::string ret; |
10026 | int index = 0; |
10027 | while(input_value) { |
10028 | if (input_value & 1) { |
10029 | if( !ret.empty()) ret.append("|" ); |
10030 | ret.append(string_VkImageCompressionFlagBitsEXT(static_cast<VkImageCompressionFlagBitsEXT>(1U << index))); |
10031 | } |
10032 | ++index; |
10033 | input_value >>= 1; |
10034 | } |
10035 | if (ret.empty()) ret.append("VkImageCompressionFlagsEXT(0)" ); |
10036 | return ret; |
10037 | } |
10038 | |
10039 | static inline const char* string_VkImageCompressionFixedRateFlagBitsEXT(VkImageCompressionFixedRateFlagBitsEXT input_value) |
10040 | { |
10041 | switch (input_value) |
10042 | { |
10043 | case VK_IMAGE_COMPRESSION_FIXED_RATE_10BPC_BIT_EXT: |
10044 | return "VK_IMAGE_COMPRESSION_FIXED_RATE_10BPC_BIT_EXT" ; |
10045 | case VK_IMAGE_COMPRESSION_FIXED_RATE_11BPC_BIT_EXT: |
10046 | return "VK_IMAGE_COMPRESSION_FIXED_RATE_11BPC_BIT_EXT" ; |
10047 | case VK_IMAGE_COMPRESSION_FIXED_RATE_12BPC_BIT_EXT: |
10048 | return "VK_IMAGE_COMPRESSION_FIXED_RATE_12BPC_BIT_EXT" ; |
10049 | case VK_IMAGE_COMPRESSION_FIXED_RATE_13BPC_BIT_EXT: |
10050 | return "VK_IMAGE_COMPRESSION_FIXED_RATE_13BPC_BIT_EXT" ; |
10051 | case VK_IMAGE_COMPRESSION_FIXED_RATE_14BPC_BIT_EXT: |
10052 | return "VK_IMAGE_COMPRESSION_FIXED_RATE_14BPC_BIT_EXT" ; |
10053 | case VK_IMAGE_COMPRESSION_FIXED_RATE_15BPC_BIT_EXT: |
10054 | return "VK_IMAGE_COMPRESSION_FIXED_RATE_15BPC_BIT_EXT" ; |
10055 | case VK_IMAGE_COMPRESSION_FIXED_RATE_16BPC_BIT_EXT: |
10056 | return "VK_IMAGE_COMPRESSION_FIXED_RATE_16BPC_BIT_EXT" ; |
10057 | case VK_IMAGE_COMPRESSION_FIXED_RATE_17BPC_BIT_EXT: |
10058 | return "VK_IMAGE_COMPRESSION_FIXED_RATE_17BPC_BIT_EXT" ; |
10059 | case VK_IMAGE_COMPRESSION_FIXED_RATE_18BPC_BIT_EXT: |
10060 | return "VK_IMAGE_COMPRESSION_FIXED_RATE_18BPC_BIT_EXT" ; |
10061 | case VK_IMAGE_COMPRESSION_FIXED_RATE_19BPC_BIT_EXT: |
10062 | return "VK_IMAGE_COMPRESSION_FIXED_RATE_19BPC_BIT_EXT" ; |
10063 | case VK_IMAGE_COMPRESSION_FIXED_RATE_1BPC_BIT_EXT: |
10064 | return "VK_IMAGE_COMPRESSION_FIXED_RATE_1BPC_BIT_EXT" ; |
10065 | case VK_IMAGE_COMPRESSION_FIXED_RATE_20BPC_BIT_EXT: |
10066 | return "VK_IMAGE_COMPRESSION_FIXED_RATE_20BPC_BIT_EXT" ; |
10067 | case VK_IMAGE_COMPRESSION_FIXED_RATE_21BPC_BIT_EXT: |
10068 | return "VK_IMAGE_COMPRESSION_FIXED_RATE_21BPC_BIT_EXT" ; |
10069 | case VK_IMAGE_COMPRESSION_FIXED_RATE_22BPC_BIT_EXT: |
10070 | return "VK_IMAGE_COMPRESSION_FIXED_RATE_22BPC_BIT_EXT" ; |
10071 | case VK_IMAGE_COMPRESSION_FIXED_RATE_23BPC_BIT_EXT: |
10072 | return "VK_IMAGE_COMPRESSION_FIXED_RATE_23BPC_BIT_EXT" ; |
10073 | case VK_IMAGE_COMPRESSION_FIXED_RATE_24BPC_BIT_EXT: |
10074 | return "VK_IMAGE_COMPRESSION_FIXED_RATE_24BPC_BIT_EXT" ; |
10075 | case VK_IMAGE_COMPRESSION_FIXED_RATE_2BPC_BIT_EXT: |
10076 | return "VK_IMAGE_COMPRESSION_FIXED_RATE_2BPC_BIT_EXT" ; |
10077 | case VK_IMAGE_COMPRESSION_FIXED_RATE_3BPC_BIT_EXT: |
10078 | return "VK_IMAGE_COMPRESSION_FIXED_RATE_3BPC_BIT_EXT" ; |
10079 | case VK_IMAGE_COMPRESSION_FIXED_RATE_4BPC_BIT_EXT: |
10080 | return "VK_IMAGE_COMPRESSION_FIXED_RATE_4BPC_BIT_EXT" ; |
10081 | case VK_IMAGE_COMPRESSION_FIXED_RATE_5BPC_BIT_EXT: |
10082 | return "VK_IMAGE_COMPRESSION_FIXED_RATE_5BPC_BIT_EXT" ; |
10083 | case VK_IMAGE_COMPRESSION_FIXED_RATE_6BPC_BIT_EXT: |
10084 | return "VK_IMAGE_COMPRESSION_FIXED_RATE_6BPC_BIT_EXT" ; |
10085 | case VK_IMAGE_COMPRESSION_FIXED_RATE_7BPC_BIT_EXT: |
10086 | return "VK_IMAGE_COMPRESSION_FIXED_RATE_7BPC_BIT_EXT" ; |
10087 | case VK_IMAGE_COMPRESSION_FIXED_RATE_8BPC_BIT_EXT: |
10088 | return "VK_IMAGE_COMPRESSION_FIXED_RATE_8BPC_BIT_EXT" ; |
10089 | case VK_IMAGE_COMPRESSION_FIXED_RATE_9BPC_BIT_EXT: |
10090 | return "VK_IMAGE_COMPRESSION_FIXED_RATE_9BPC_BIT_EXT" ; |
10091 | case VK_IMAGE_COMPRESSION_FIXED_RATE_NONE_EXT: |
10092 | return "VK_IMAGE_COMPRESSION_FIXED_RATE_NONE_EXT" ; |
10093 | default: |
10094 | return "Unhandled VkImageCompressionFixedRateFlagBitsEXT" ; |
10095 | } |
10096 | } |
10097 | |
10098 | static inline std::string string_VkImageCompressionFixedRateFlagsEXT(VkImageCompressionFixedRateFlagsEXT input_value) |
10099 | { |
10100 | std::string ret; |
10101 | int index = 0; |
10102 | while(input_value) { |
10103 | if (input_value & 1) { |
10104 | if( !ret.empty()) ret.append("|" ); |
10105 | ret.append(string_VkImageCompressionFixedRateFlagBitsEXT(static_cast<VkImageCompressionFixedRateFlagBitsEXT>(1U << index))); |
10106 | } |
10107 | ++index; |
10108 | input_value >>= 1; |
10109 | } |
10110 | if (ret.empty()) ret.append("VkImageCompressionFixedRateFlagsEXT(0)" ); |
10111 | return ret; |
10112 | } |
10113 | |
10114 | static inline const char* string_VkDeviceFaultAddressTypeEXT(VkDeviceFaultAddressTypeEXT input_value) |
10115 | { |
10116 | switch (input_value) |
10117 | { |
10118 | case VK_DEVICE_FAULT_ADDRESS_TYPE_EXECUTE_INVALID_EXT: |
10119 | return "VK_DEVICE_FAULT_ADDRESS_TYPE_EXECUTE_INVALID_EXT" ; |
10120 | case VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_FAULT_EXT: |
10121 | return "VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_FAULT_EXT" ; |
10122 | case VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_INVALID_EXT: |
10123 | return "VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_INVALID_EXT" ; |
10124 | case VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_UNKNOWN_EXT: |
10125 | return "VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_UNKNOWN_EXT" ; |
10126 | case VK_DEVICE_FAULT_ADDRESS_TYPE_NONE_EXT: |
10127 | return "VK_DEVICE_FAULT_ADDRESS_TYPE_NONE_EXT" ; |
10128 | case VK_DEVICE_FAULT_ADDRESS_TYPE_READ_INVALID_EXT: |
10129 | return "VK_DEVICE_FAULT_ADDRESS_TYPE_READ_INVALID_EXT" ; |
10130 | case VK_DEVICE_FAULT_ADDRESS_TYPE_WRITE_INVALID_EXT: |
10131 | return "VK_DEVICE_FAULT_ADDRESS_TYPE_WRITE_INVALID_EXT" ; |
10132 | default: |
10133 | return "Unhandled VkDeviceFaultAddressTypeEXT" ; |
10134 | } |
10135 | } |
10136 | |
10137 | static inline const char* (VkDeviceFaultVendorBinaryHeaderVersionEXT input_value) |
10138 | { |
10139 | switch (input_value) |
10140 | { |
10141 | case VK_DEVICE_FAULT_VENDOR_BINARY_HEADER_VERSION_ONE_EXT: |
10142 | return "VK_DEVICE_FAULT_VENDOR_BINARY_HEADER_VERSION_ONE_EXT" ; |
10143 | default: |
10144 | return "Unhandled VkDeviceFaultVendorBinaryHeaderVersionEXT" ; |
10145 | } |
10146 | } |
10147 | |
10148 | static inline const char* string_VkDeviceAddressBindingFlagBitsEXT(VkDeviceAddressBindingFlagBitsEXT input_value) |
10149 | { |
10150 | switch (input_value) |
10151 | { |
10152 | case VK_DEVICE_ADDRESS_BINDING_INTERNAL_OBJECT_BIT_EXT: |
10153 | return "VK_DEVICE_ADDRESS_BINDING_INTERNAL_OBJECT_BIT_EXT" ; |
10154 | default: |
10155 | return "Unhandled VkDeviceAddressBindingFlagBitsEXT" ; |
10156 | } |
10157 | } |
10158 | |
10159 | static inline std::string string_VkDeviceAddressBindingFlagsEXT(VkDeviceAddressBindingFlagsEXT input_value) |
10160 | { |
10161 | std::string ret; |
10162 | int index = 0; |
10163 | while(input_value) { |
10164 | if (input_value & 1) { |
10165 | if( !ret.empty()) ret.append("|" ); |
10166 | ret.append(string_VkDeviceAddressBindingFlagBitsEXT(static_cast<VkDeviceAddressBindingFlagBitsEXT>(1U << index))); |
10167 | } |
10168 | ++index; |
10169 | input_value >>= 1; |
10170 | } |
10171 | if (ret.empty()) ret.append("VkDeviceAddressBindingFlagsEXT(0)" ); |
10172 | return ret; |
10173 | } |
10174 | |
10175 | static inline const char* string_VkDeviceAddressBindingTypeEXT(VkDeviceAddressBindingTypeEXT input_value) |
10176 | { |
10177 | switch (input_value) |
10178 | { |
10179 | case VK_DEVICE_ADDRESS_BINDING_TYPE_BIND_EXT: |
10180 | return "VK_DEVICE_ADDRESS_BINDING_TYPE_BIND_EXT" ; |
10181 | case VK_DEVICE_ADDRESS_BINDING_TYPE_UNBIND_EXT: |
10182 | return "VK_DEVICE_ADDRESS_BINDING_TYPE_UNBIND_EXT" ; |
10183 | default: |
10184 | return "Unhandled VkDeviceAddressBindingTypeEXT" ; |
10185 | } |
10186 | } |
10187 | |
10188 | |
10189 | #ifdef VK_USE_PLATFORM_FUCHSIA |
10190 | |
10191 | static inline const char* string_VkImageConstraintsInfoFlagBitsFUCHSIA(VkImageConstraintsInfoFlagBitsFUCHSIA input_value) |
10192 | { |
10193 | switch (input_value) |
10194 | { |
10195 | case VK_IMAGE_CONSTRAINTS_INFO_CPU_READ_OFTEN_FUCHSIA: |
10196 | return "VK_IMAGE_CONSTRAINTS_INFO_CPU_READ_OFTEN_FUCHSIA" ; |
10197 | case VK_IMAGE_CONSTRAINTS_INFO_CPU_READ_RARELY_FUCHSIA: |
10198 | return "VK_IMAGE_CONSTRAINTS_INFO_CPU_READ_RARELY_FUCHSIA" ; |
10199 | case VK_IMAGE_CONSTRAINTS_INFO_CPU_WRITE_OFTEN_FUCHSIA: |
10200 | return "VK_IMAGE_CONSTRAINTS_INFO_CPU_WRITE_OFTEN_FUCHSIA" ; |
10201 | case VK_IMAGE_CONSTRAINTS_INFO_CPU_WRITE_RARELY_FUCHSIA: |
10202 | return "VK_IMAGE_CONSTRAINTS_INFO_CPU_WRITE_RARELY_FUCHSIA" ; |
10203 | case VK_IMAGE_CONSTRAINTS_INFO_PROTECTED_OPTIONAL_FUCHSIA: |
10204 | return "VK_IMAGE_CONSTRAINTS_INFO_PROTECTED_OPTIONAL_FUCHSIA" ; |
10205 | default: |
10206 | return "Unhandled VkImageConstraintsInfoFlagBitsFUCHSIA" ; |
10207 | } |
10208 | } |
10209 | |
10210 | static inline std::string string_VkImageConstraintsInfoFlagsFUCHSIA(VkImageConstraintsInfoFlagsFUCHSIA input_value) |
10211 | { |
10212 | std::string ret; |
10213 | int index = 0; |
10214 | while(input_value) { |
10215 | if (input_value & 1) { |
10216 | if( !ret.empty()) ret.append("|" ); |
10217 | ret.append(string_VkImageConstraintsInfoFlagBitsFUCHSIA(static_cast<VkImageConstraintsInfoFlagBitsFUCHSIA>(1U << index))); |
10218 | } |
10219 | ++index; |
10220 | input_value >>= 1; |
10221 | } |
10222 | if (ret.empty()) ret.append("VkImageConstraintsInfoFlagsFUCHSIA(0)" ); |
10223 | return ret; |
10224 | } |
10225 | #endif // VK_USE_PLATFORM_FUCHSIA |
10226 | |
10227 | static inline const char* string_VkMicromapTypeEXT(VkMicromapTypeEXT input_value) |
10228 | { |
10229 | switch (input_value) |
10230 | { |
10231 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
10232 | case VK_MICROMAP_TYPE_DISPLACEMENT_MICROMAP_NV: |
10233 | return "VK_MICROMAP_TYPE_DISPLACEMENT_MICROMAP_NV" ; |
10234 | #endif // VK_ENABLE_BETA_EXTENSIONS |
10235 | case VK_MICROMAP_TYPE_OPACITY_MICROMAP_EXT: |
10236 | return "VK_MICROMAP_TYPE_OPACITY_MICROMAP_EXT" ; |
10237 | default: |
10238 | return "Unhandled VkMicromapTypeEXT" ; |
10239 | } |
10240 | } |
10241 | |
10242 | static inline const char* string_VkBuildMicromapFlagBitsEXT(VkBuildMicromapFlagBitsEXT input_value) |
10243 | { |
10244 | switch (input_value) |
10245 | { |
10246 | case VK_BUILD_MICROMAP_ALLOW_COMPACTION_BIT_EXT: |
10247 | return "VK_BUILD_MICROMAP_ALLOW_COMPACTION_BIT_EXT" ; |
10248 | case VK_BUILD_MICROMAP_PREFER_FAST_BUILD_BIT_EXT: |
10249 | return "VK_BUILD_MICROMAP_PREFER_FAST_BUILD_BIT_EXT" ; |
10250 | case VK_BUILD_MICROMAP_PREFER_FAST_TRACE_BIT_EXT: |
10251 | return "VK_BUILD_MICROMAP_PREFER_FAST_TRACE_BIT_EXT" ; |
10252 | default: |
10253 | return "Unhandled VkBuildMicromapFlagBitsEXT" ; |
10254 | } |
10255 | } |
10256 | |
10257 | static inline std::string string_VkBuildMicromapFlagsEXT(VkBuildMicromapFlagsEXT input_value) |
10258 | { |
10259 | std::string ret; |
10260 | int index = 0; |
10261 | while(input_value) { |
10262 | if (input_value & 1) { |
10263 | if( !ret.empty()) ret.append("|" ); |
10264 | ret.append(string_VkBuildMicromapFlagBitsEXT(static_cast<VkBuildMicromapFlagBitsEXT>(1U << index))); |
10265 | } |
10266 | ++index; |
10267 | input_value >>= 1; |
10268 | } |
10269 | if (ret.empty()) ret.append("VkBuildMicromapFlagsEXT(0)" ); |
10270 | return ret; |
10271 | } |
10272 | |
10273 | static inline const char* string_VkBuildMicromapModeEXT(VkBuildMicromapModeEXT input_value) |
10274 | { |
10275 | switch (input_value) |
10276 | { |
10277 | case VK_BUILD_MICROMAP_MODE_BUILD_EXT: |
10278 | return "VK_BUILD_MICROMAP_MODE_BUILD_EXT" ; |
10279 | default: |
10280 | return "Unhandled VkBuildMicromapModeEXT" ; |
10281 | } |
10282 | } |
10283 | |
10284 | static inline const char* string_VkMicromapCreateFlagBitsEXT(VkMicromapCreateFlagBitsEXT input_value) |
10285 | { |
10286 | switch (input_value) |
10287 | { |
10288 | case VK_MICROMAP_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT_EXT: |
10289 | return "VK_MICROMAP_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT_EXT" ; |
10290 | default: |
10291 | return "Unhandled VkMicromapCreateFlagBitsEXT" ; |
10292 | } |
10293 | } |
10294 | |
10295 | static inline std::string string_VkMicromapCreateFlagsEXT(VkMicromapCreateFlagsEXT input_value) |
10296 | { |
10297 | std::string ret; |
10298 | int index = 0; |
10299 | while(input_value) { |
10300 | if (input_value & 1) { |
10301 | if( !ret.empty()) ret.append("|" ); |
10302 | ret.append(string_VkMicromapCreateFlagBitsEXT(static_cast<VkMicromapCreateFlagBitsEXT>(1U << index))); |
10303 | } |
10304 | ++index; |
10305 | input_value >>= 1; |
10306 | } |
10307 | if (ret.empty()) ret.append("VkMicromapCreateFlagsEXT(0)" ); |
10308 | return ret; |
10309 | } |
10310 | |
10311 | static inline const char* string_VkCopyMicromapModeEXT(VkCopyMicromapModeEXT input_value) |
10312 | { |
10313 | switch (input_value) |
10314 | { |
10315 | case VK_COPY_MICROMAP_MODE_CLONE_EXT: |
10316 | return "VK_COPY_MICROMAP_MODE_CLONE_EXT" ; |
10317 | case VK_COPY_MICROMAP_MODE_COMPACT_EXT: |
10318 | return "VK_COPY_MICROMAP_MODE_COMPACT_EXT" ; |
10319 | case VK_COPY_MICROMAP_MODE_DESERIALIZE_EXT: |
10320 | return "VK_COPY_MICROMAP_MODE_DESERIALIZE_EXT" ; |
10321 | case VK_COPY_MICROMAP_MODE_SERIALIZE_EXT: |
10322 | return "VK_COPY_MICROMAP_MODE_SERIALIZE_EXT" ; |
10323 | default: |
10324 | return "Unhandled VkCopyMicromapModeEXT" ; |
10325 | } |
10326 | } |
10327 | |
10328 | static inline const char* string_VkOpacityMicromapFormatEXT(VkOpacityMicromapFormatEXT input_value) |
10329 | { |
10330 | switch (input_value) |
10331 | { |
10332 | case VK_OPACITY_MICROMAP_FORMAT_2_STATE_EXT: |
10333 | return "VK_OPACITY_MICROMAP_FORMAT_2_STATE_EXT" ; |
10334 | case VK_OPACITY_MICROMAP_FORMAT_4_STATE_EXT: |
10335 | return "VK_OPACITY_MICROMAP_FORMAT_4_STATE_EXT" ; |
10336 | default: |
10337 | return "Unhandled VkOpacityMicromapFormatEXT" ; |
10338 | } |
10339 | } |
10340 | |
10341 | static inline const char* string_VkOpacityMicromapSpecialIndexEXT(VkOpacityMicromapSpecialIndexEXT input_value) |
10342 | { |
10343 | switch (input_value) |
10344 | { |
10345 | case VK_OPACITY_MICROMAP_SPECIAL_INDEX_FULLY_OPAQUE_EXT: |
10346 | return "VK_OPACITY_MICROMAP_SPECIAL_INDEX_FULLY_OPAQUE_EXT" ; |
10347 | case VK_OPACITY_MICROMAP_SPECIAL_INDEX_FULLY_TRANSPARENT_EXT: |
10348 | return "VK_OPACITY_MICROMAP_SPECIAL_INDEX_FULLY_TRANSPARENT_EXT" ; |
10349 | case VK_OPACITY_MICROMAP_SPECIAL_INDEX_FULLY_UNKNOWN_OPAQUE_EXT: |
10350 | return "VK_OPACITY_MICROMAP_SPECIAL_INDEX_FULLY_UNKNOWN_OPAQUE_EXT" ; |
10351 | case VK_OPACITY_MICROMAP_SPECIAL_INDEX_FULLY_UNKNOWN_TRANSPARENT_EXT: |
10352 | return "VK_OPACITY_MICROMAP_SPECIAL_INDEX_FULLY_UNKNOWN_TRANSPARENT_EXT" ; |
10353 | default: |
10354 | return "Unhandled VkOpacityMicromapSpecialIndexEXT" ; |
10355 | } |
10356 | } |
10357 | |
10358 | static inline const char* string_VkAccelerationStructureCompatibilityKHR(VkAccelerationStructureCompatibilityKHR input_value) |
10359 | { |
10360 | switch (input_value) |
10361 | { |
10362 | case VK_ACCELERATION_STRUCTURE_COMPATIBILITY_COMPATIBLE_KHR: |
10363 | return "VK_ACCELERATION_STRUCTURE_COMPATIBILITY_COMPATIBLE_KHR" ; |
10364 | case VK_ACCELERATION_STRUCTURE_COMPATIBILITY_INCOMPATIBLE_KHR: |
10365 | return "VK_ACCELERATION_STRUCTURE_COMPATIBILITY_INCOMPATIBLE_KHR" ; |
10366 | default: |
10367 | return "Unhandled VkAccelerationStructureCompatibilityKHR" ; |
10368 | } |
10369 | } |
10370 | |
10371 | static inline const char* string_VkAccelerationStructureBuildTypeKHR(VkAccelerationStructureBuildTypeKHR input_value) |
10372 | { |
10373 | switch (input_value) |
10374 | { |
10375 | case VK_ACCELERATION_STRUCTURE_BUILD_TYPE_DEVICE_KHR: |
10376 | return "VK_ACCELERATION_STRUCTURE_BUILD_TYPE_DEVICE_KHR" ; |
10377 | case VK_ACCELERATION_STRUCTURE_BUILD_TYPE_HOST_KHR: |
10378 | return "VK_ACCELERATION_STRUCTURE_BUILD_TYPE_HOST_KHR" ; |
10379 | case VK_ACCELERATION_STRUCTURE_BUILD_TYPE_HOST_OR_DEVICE_KHR: |
10380 | return "VK_ACCELERATION_STRUCTURE_BUILD_TYPE_HOST_OR_DEVICE_KHR" ; |
10381 | default: |
10382 | return "Unhandled VkAccelerationStructureBuildTypeKHR" ; |
10383 | } |
10384 | } |
10385 | |
10386 | |
10387 | #ifdef VK_ENABLE_BETA_EXTENSIONS |
10388 | |
10389 | static inline const char* string_VkDisplacementMicromapFormatNV(VkDisplacementMicromapFormatNV input_value) |
10390 | { |
10391 | switch (input_value) |
10392 | { |
10393 | case VK_DISPLACEMENT_MICROMAP_FORMAT_1024_TRIANGLES_128_BYTES_NV: |
10394 | return "VK_DISPLACEMENT_MICROMAP_FORMAT_1024_TRIANGLES_128_BYTES_NV" ; |
10395 | case VK_DISPLACEMENT_MICROMAP_FORMAT_256_TRIANGLES_128_BYTES_NV: |
10396 | return "VK_DISPLACEMENT_MICROMAP_FORMAT_256_TRIANGLES_128_BYTES_NV" ; |
10397 | case VK_DISPLACEMENT_MICROMAP_FORMAT_64_TRIANGLES_64_BYTES_NV: |
10398 | return "VK_DISPLACEMENT_MICROMAP_FORMAT_64_TRIANGLES_64_BYTES_NV" ; |
10399 | default: |
10400 | return "Unhandled VkDisplacementMicromapFormatNV" ; |
10401 | } |
10402 | } |
10403 | #endif // VK_ENABLE_BETA_EXTENSIONS |
10404 | |
10405 | static inline const char* string_VkMemoryDecompressionMethodFlagBitsNV(uint64_t input_value) |
10406 | { |
10407 | switch (input_value) |
10408 | { |
10409 | case VK_MEMORY_DECOMPRESSION_METHOD_GDEFLATE_1_0_BIT_NV: |
10410 | return "VK_MEMORY_DECOMPRESSION_METHOD_GDEFLATE_1_0_BIT_NV" ; |
10411 | default: |
10412 | return "Unhandled VkMemoryDecompressionMethodFlagBitsNV" ; |
10413 | } |
10414 | } |
10415 | |
10416 | static inline std::string string_VkMemoryDecompressionMethodFlagsNV(VkMemoryDecompressionMethodFlagsNV input_value) |
10417 | { |
10418 | std::string ret; |
10419 | int index = 0; |
10420 | while(input_value) { |
10421 | if (input_value & 1) { |
10422 | if( !ret.empty()) ret.append("|" ); |
10423 | ret.append(string_VkMemoryDecompressionMethodFlagBitsNV(static_cast<uint64_t>(1ULL << index))); |
10424 | } |
10425 | ++index; |
10426 | input_value >>= 1; |
10427 | } |
10428 | if (ret.empty()) ret.append("VkMemoryDecompressionMethodFlagsNV(0)" ); |
10429 | return ret; |
10430 | } |
10431 | |
10432 | static inline const char* string_VkSubpassMergeStatusEXT(VkSubpassMergeStatusEXT input_value) |
10433 | { |
10434 | switch (input_value) |
10435 | { |
10436 | case VK_SUBPASS_MERGE_STATUS_DISALLOWED_EXT: |
10437 | return "VK_SUBPASS_MERGE_STATUS_DISALLOWED_EXT" ; |
10438 | case VK_SUBPASS_MERGE_STATUS_MERGED_EXT: |
10439 | return "VK_SUBPASS_MERGE_STATUS_MERGED_EXT" ; |
10440 | case VK_SUBPASS_MERGE_STATUS_NOT_MERGED_ALIASING_EXT: |
10441 | return "VK_SUBPASS_MERGE_STATUS_NOT_MERGED_ALIASING_EXT" ; |
10442 | case VK_SUBPASS_MERGE_STATUS_NOT_MERGED_DEPENDENCIES_EXT: |
10443 | return "VK_SUBPASS_MERGE_STATUS_NOT_MERGED_DEPENDENCIES_EXT" ; |
10444 | case VK_SUBPASS_MERGE_STATUS_NOT_MERGED_DEPTH_STENCIL_COUNT_EXT: |
10445 | return "VK_SUBPASS_MERGE_STATUS_NOT_MERGED_DEPTH_STENCIL_COUNT_EXT" ; |
10446 | case VK_SUBPASS_MERGE_STATUS_NOT_MERGED_INCOMPATIBLE_INPUT_ATTACHMENT_EXT: |
10447 | return "VK_SUBPASS_MERGE_STATUS_NOT_MERGED_INCOMPATIBLE_INPUT_ATTACHMENT_EXT" ; |
10448 | case VK_SUBPASS_MERGE_STATUS_NOT_MERGED_INSUFFICIENT_STORAGE_EXT: |
10449 | return "VK_SUBPASS_MERGE_STATUS_NOT_MERGED_INSUFFICIENT_STORAGE_EXT" ; |
10450 | case VK_SUBPASS_MERGE_STATUS_NOT_MERGED_RESOLVE_ATTACHMENT_REUSE_EXT: |
10451 | return "VK_SUBPASS_MERGE_STATUS_NOT_MERGED_RESOLVE_ATTACHMENT_REUSE_EXT" ; |
10452 | case VK_SUBPASS_MERGE_STATUS_NOT_MERGED_SAMPLES_MISMATCH_EXT: |
10453 | return "VK_SUBPASS_MERGE_STATUS_NOT_MERGED_SAMPLES_MISMATCH_EXT" ; |
10454 | case VK_SUBPASS_MERGE_STATUS_NOT_MERGED_SIDE_EFFECTS_EXT: |
10455 | return "VK_SUBPASS_MERGE_STATUS_NOT_MERGED_SIDE_EFFECTS_EXT" ; |
10456 | case VK_SUBPASS_MERGE_STATUS_NOT_MERGED_SINGLE_SUBPASS_EXT: |
10457 | return "VK_SUBPASS_MERGE_STATUS_NOT_MERGED_SINGLE_SUBPASS_EXT" ; |
10458 | case VK_SUBPASS_MERGE_STATUS_NOT_MERGED_TOO_MANY_ATTACHMENTS_EXT: |
10459 | return "VK_SUBPASS_MERGE_STATUS_NOT_MERGED_TOO_MANY_ATTACHMENTS_EXT" ; |
10460 | case VK_SUBPASS_MERGE_STATUS_NOT_MERGED_UNSPECIFIED_EXT: |
10461 | return "VK_SUBPASS_MERGE_STATUS_NOT_MERGED_UNSPECIFIED_EXT" ; |
10462 | case VK_SUBPASS_MERGE_STATUS_NOT_MERGED_VIEWS_MISMATCH_EXT: |
10463 | return "VK_SUBPASS_MERGE_STATUS_NOT_MERGED_VIEWS_MISMATCH_EXT" ; |
10464 | default: |
10465 | return "Unhandled VkSubpassMergeStatusEXT" ; |
10466 | } |
10467 | } |
10468 | |
10469 | static inline const char* string_VkDirectDriverLoadingModeLUNARG(VkDirectDriverLoadingModeLUNARG input_value) |
10470 | { |
10471 | switch (input_value) |
10472 | { |
10473 | case VK_DIRECT_DRIVER_LOADING_MODE_EXCLUSIVE_LUNARG: |
10474 | return "VK_DIRECT_DRIVER_LOADING_MODE_EXCLUSIVE_LUNARG" ; |
10475 | case VK_DIRECT_DRIVER_LOADING_MODE_INCLUSIVE_LUNARG: |
10476 | return "VK_DIRECT_DRIVER_LOADING_MODE_INCLUSIVE_LUNARG" ; |
10477 | default: |
10478 | return "Unhandled VkDirectDriverLoadingModeLUNARG" ; |
10479 | } |
10480 | } |
10481 | |
10482 | static inline const char* string_VkOpticalFlowGridSizeFlagBitsNV(VkOpticalFlowGridSizeFlagBitsNV input_value) |
10483 | { |
10484 | switch (input_value) |
10485 | { |
10486 | case VK_OPTICAL_FLOW_GRID_SIZE_1X1_BIT_NV: |
10487 | return "VK_OPTICAL_FLOW_GRID_SIZE_1X1_BIT_NV" ; |
10488 | case VK_OPTICAL_FLOW_GRID_SIZE_2X2_BIT_NV: |
10489 | return "VK_OPTICAL_FLOW_GRID_SIZE_2X2_BIT_NV" ; |
10490 | case VK_OPTICAL_FLOW_GRID_SIZE_4X4_BIT_NV: |
10491 | return "VK_OPTICAL_FLOW_GRID_SIZE_4X4_BIT_NV" ; |
10492 | case VK_OPTICAL_FLOW_GRID_SIZE_8X8_BIT_NV: |
10493 | return "VK_OPTICAL_FLOW_GRID_SIZE_8X8_BIT_NV" ; |
10494 | case VK_OPTICAL_FLOW_GRID_SIZE_UNKNOWN_NV: |
10495 | return "VK_OPTICAL_FLOW_GRID_SIZE_UNKNOWN_NV" ; |
10496 | default: |
10497 | return "Unhandled VkOpticalFlowGridSizeFlagBitsNV" ; |
10498 | } |
10499 | } |
10500 | |
10501 | static inline std::string string_VkOpticalFlowGridSizeFlagsNV(VkOpticalFlowGridSizeFlagsNV input_value) |
10502 | { |
10503 | std::string ret; |
10504 | int index = 0; |
10505 | while(input_value) { |
10506 | if (input_value & 1) { |
10507 | if( !ret.empty()) ret.append("|" ); |
10508 | ret.append(string_VkOpticalFlowGridSizeFlagBitsNV(static_cast<VkOpticalFlowGridSizeFlagBitsNV>(1U << index))); |
10509 | } |
10510 | ++index; |
10511 | input_value >>= 1; |
10512 | } |
10513 | if (ret.empty()) ret.append("VkOpticalFlowGridSizeFlagsNV(0)" ); |
10514 | return ret; |
10515 | } |
10516 | |
10517 | static inline const char* string_VkOpticalFlowUsageFlagBitsNV(VkOpticalFlowUsageFlagBitsNV input_value) |
10518 | { |
10519 | switch (input_value) |
10520 | { |
10521 | case VK_OPTICAL_FLOW_USAGE_COST_BIT_NV: |
10522 | return "VK_OPTICAL_FLOW_USAGE_COST_BIT_NV" ; |
10523 | case VK_OPTICAL_FLOW_USAGE_GLOBAL_FLOW_BIT_NV: |
10524 | return "VK_OPTICAL_FLOW_USAGE_GLOBAL_FLOW_BIT_NV" ; |
10525 | case VK_OPTICAL_FLOW_USAGE_HINT_BIT_NV: |
10526 | return "VK_OPTICAL_FLOW_USAGE_HINT_BIT_NV" ; |
10527 | case VK_OPTICAL_FLOW_USAGE_INPUT_BIT_NV: |
10528 | return "VK_OPTICAL_FLOW_USAGE_INPUT_BIT_NV" ; |
10529 | case VK_OPTICAL_FLOW_USAGE_OUTPUT_BIT_NV: |
10530 | return "VK_OPTICAL_FLOW_USAGE_OUTPUT_BIT_NV" ; |
10531 | case VK_OPTICAL_FLOW_USAGE_UNKNOWN_NV: |
10532 | return "VK_OPTICAL_FLOW_USAGE_UNKNOWN_NV" ; |
10533 | default: |
10534 | return "Unhandled VkOpticalFlowUsageFlagBitsNV" ; |
10535 | } |
10536 | } |
10537 | |
10538 | static inline std::string string_VkOpticalFlowUsageFlagsNV(VkOpticalFlowUsageFlagsNV input_value) |
10539 | { |
10540 | std::string ret; |
10541 | int index = 0; |
10542 | while(input_value) { |
10543 | if (input_value & 1) { |
10544 | if( !ret.empty()) ret.append("|" ); |
10545 | ret.append(string_VkOpticalFlowUsageFlagBitsNV(static_cast<VkOpticalFlowUsageFlagBitsNV>(1U << index))); |
10546 | } |
10547 | ++index; |
10548 | input_value >>= 1; |
10549 | } |
10550 | if (ret.empty()) ret.append("VkOpticalFlowUsageFlagsNV(0)" ); |
10551 | return ret; |
10552 | } |
10553 | |
10554 | static inline const char* string_VkOpticalFlowPerformanceLevelNV(VkOpticalFlowPerformanceLevelNV input_value) |
10555 | { |
10556 | switch (input_value) |
10557 | { |
10558 | case VK_OPTICAL_FLOW_PERFORMANCE_LEVEL_FAST_NV: |
10559 | return "VK_OPTICAL_FLOW_PERFORMANCE_LEVEL_FAST_NV" ; |
10560 | case VK_OPTICAL_FLOW_PERFORMANCE_LEVEL_MEDIUM_NV: |
10561 | return "VK_OPTICAL_FLOW_PERFORMANCE_LEVEL_MEDIUM_NV" ; |
10562 | case VK_OPTICAL_FLOW_PERFORMANCE_LEVEL_SLOW_NV: |
10563 | return "VK_OPTICAL_FLOW_PERFORMANCE_LEVEL_SLOW_NV" ; |
10564 | case VK_OPTICAL_FLOW_PERFORMANCE_LEVEL_UNKNOWN_NV: |
10565 | return "VK_OPTICAL_FLOW_PERFORMANCE_LEVEL_UNKNOWN_NV" ; |
10566 | default: |
10567 | return "Unhandled VkOpticalFlowPerformanceLevelNV" ; |
10568 | } |
10569 | } |
10570 | |
10571 | static inline const char* string_VkOpticalFlowSessionBindingPointNV(VkOpticalFlowSessionBindingPointNV input_value) |
10572 | { |
10573 | switch (input_value) |
10574 | { |
10575 | case VK_OPTICAL_FLOW_SESSION_BINDING_POINT_BACKWARD_COST_NV: |
10576 | return "VK_OPTICAL_FLOW_SESSION_BINDING_POINT_BACKWARD_COST_NV" ; |
10577 | case VK_OPTICAL_FLOW_SESSION_BINDING_POINT_BACKWARD_FLOW_VECTOR_NV: |
10578 | return "VK_OPTICAL_FLOW_SESSION_BINDING_POINT_BACKWARD_FLOW_VECTOR_NV" ; |
10579 | case VK_OPTICAL_FLOW_SESSION_BINDING_POINT_COST_NV: |
10580 | return "VK_OPTICAL_FLOW_SESSION_BINDING_POINT_COST_NV" ; |
10581 | case VK_OPTICAL_FLOW_SESSION_BINDING_POINT_FLOW_VECTOR_NV: |
10582 | return "VK_OPTICAL_FLOW_SESSION_BINDING_POINT_FLOW_VECTOR_NV" ; |
10583 | case VK_OPTICAL_FLOW_SESSION_BINDING_POINT_GLOBAL_FLOW_NV: |
10584 | return "VK_OPTICAL_FLOW_SESSION_BINDING_POINT_GLOBAL_FLOW_NV" ; |
10585 | case VK_OPTICAL_FLOW_SESSION_BINDING_POINT_HINT_NV: |
10586 | return "VK_OPTICAL_FLOW_SESSION_BINDING_POINT_HINT_NV" ; |
10587 | case VK_OPTICAL_FLOW_SESSION_BINDING_POINT_INPUT_NV: |
10588 | return "VK_OPTICAL_FLOW_SESSION_BINDING_POINT_INPUT_NV" ; |
10589 | case VK_OPTICAL_FLOW_SESSION_BINDING_POINT_REFERENCE_NV: |
10590 | return "VK_OPTICAL_FLOW_SESSION_BINDING_POINT_REFERENCE_NV" ; |
10591 | case VK_OPTICAL_FLOW_SESSION_BINDING_POINT_UNKNOWN_NV: |
10592 | return "VK_OPTICAL_FLOW_SESSION_BINDING_POINT_UNKNOWN_NV" ; |
10593 | default: |
10594 | return "Unhandled VkOpticalFlowSessionBindingPointNV" ; |
10595 | } |
10596 | } |
10597 | |
10598 | static inline const char* string_VkOpticalFlowSessionCreateFlagBitsNV(VkOpticalFlowSessionCreateFlagBitsNV input_value) |
10599 | { |
10600 | switch (input_value) |
10601 | { |
10602 | case VK_OPTICAL_FLOW_SESSION_CREATE_ALLOW_REGIONS_BIT_NV: |
10603 | return "VK_OPTICAL_FLOW_SESSION_CREATE_ALLOW_REGIONS_BIT_NV" ; |
10604 | case VK_OPTICAL_FLOW_SESSION_CREATE_BOTH_DIRECTIONS_BIT_NV: |
10605 | return "VK_OPTICAL_FLOW_SESSION_CREATE_BOTH_DIRECTIONS_BIT_NV" ; |
10606 | case VK_OPTICAL_FLOW_SESSION_CREATE_ENABLE_COST_BIT_NV: |
10607 | return "VK_OPTICAL_FLOW_SESSION_CREATE_ENABLE_COST_BIT_NV" ; |
10608 | case VK_OPTICAL_FLOW_SESSION_CREATE_ENABLE_GLOBAL_FLOW_BIT_NV: |
10609 | return "VK_OPTICAL_FLOW_SESSION_CREATE_ENABLE_GLOBAL_FLOW_BIT_NV" ; |
10610 | case VK_OPTICAL_FLOW_SESSION_CREATE_ENABLE_HINT_BIT_NV: |
10611 | return "VK_OPTICAL_FLOW_SESSION_CREATE_ENABLE_HINT_BIT_NV" ; |
10612 | default: |
10613 | return "Unhandled VkOpticalFlowSessionCreateFlagBitsNV" ; |
10614 | } |
10615 | } |
10616 | |
10617 | static inline std::string string_VkOpticalFlowSessionCreateFlagsNV(VkOpticalFlowSessionCreateFlagsNV input_value) |
10618 | { |
10619 | std::string ret; |
10620 | int index = 0; |
10621 | while(input_value) { |
10622 | if (input_value & 1) { |
10623 | if( !ret.empty()) ret.append("|" ); |
10624 | ret.append(string_VkOpticalFlowSessionCreateFlagBitsNV(static_cast<VkOpticalFlowSessionCreateFlagBitsNV>(1U << index))); |
10625 | } |
10626 | ++index; |
10627 | input_value >>= 1; |
10628 | } |
10629 | if (ret.empty()) ret.append("VkOpticalFlowSessionCreateFlagsNV(0)" ); |
10630 | return ret; |
10631 | } |
10632 | |
10633 | static inline const char* string_VkOpticalFlowExecuteFlagBitsNV(VkOpticalFlowExecuteFlagBitsNV input_value) |
10634 | { |
10635 | switch (input_value) |
10636 | { |
10637 | case VK_OPTICAL_FLOW_EXECUTE_DISABLE_TEMPORAL_HINTS_BIT_NV: |
10638 | return "VK_OPTICAL_FLOW_EXECUTE_DISABLE_TEMPORAL_HINTS_BIT_NV" ; |
10639 | default: |
10640 | return "Unhandled VkOpticalFlowExecuteFlagBitsNV" ; |
10641 | } |
10642 | } |
10643 | |
10644 | static inline std::string string_VkOpticalFlowExecuteFlagsNV(VkOpticalFlowExecuteFlagsNV input_value) |
10645 | { |
10646 | std::string ret; |
10647 | int index = 0; |
10648 | while(input_value) { |
10649 | if (input_value & 1) { |
10650 | if( !ret.empty()) ret.append("|" ); |
10651 | ret.append(string_VkOpticalFlowExecuteFlagBitsNV(static_cast<VkOpticalFlowExecuteFlagBitsNV>(1U << index))); |
10652 | } |
10653 | ++index; |
10654 | input_value >>= 1; |
10655 | } |
10656 | if (ret.empty()) ret.append("VkOpticalFlowExecuteFlagsNV(0)" ); |
10657 | return ret; |
10658 | } |
10659 | |
10660 | static inline const char* string_VkShaderCreateFlagBitsEXT(VkShaderCreateFlagBitsEXT input_value) |
10661 | { |
10662 | switch (input_value) |
10663 | { |
10664 | case VK_SHADER_CREATE_ALLOW_VARYING_SUBGROUP_SIZE_BIT_EXT: |
10665 | return "VK_SHADER_CREATE_ALLOW_VARYING_SUBGROUP_SIZE_BIT_EXT" ; |
10666 | case VK_SHADER_CREATE_DISPATCH_BASE_BIT_EXT: |
10667 | return "VK_SHADER_CREATE_DISPATCH_BASE_BIT_EXT" ; |
10668 | case VK_SHADER_CREATE_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT: |
10669 | return "VK_SHADER_CREATE_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT" ; |
10670 | case VK_SHADER_CREATE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_EXT: |
10671 | return "VK_SHADER_CREATE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_EXT" ; |
10672 | case VK_SHADER_CREATE_LINK_STAGE_BIT_EXT: |
10673 | return "VK_SHADER_CREATE_LINK_STAGE_BIT_EXT" ; |
10674 | case VK_SHADER_CREATE_NO_TASK_SHADER_BIT_EXT: |
10675 | return "VK_SHADER_CREATE_NO_TASK_SHADER_BIT_EXT" ; |
10676 | case VK_SHADER_CREATE_REQUIRE_FULL_SUBGROUPS_BIT_EXT: |
10677 | return "VK_SHADER_CREATE_REQUIRE_FULL_SUBGROUPS_BIT_EXT" ; |
10678 | default: |
10679 | return "Unhandled VkShaderCreateFlagBitsEXT" ; |
10680 | } |
10681 | } |
10682 | |
10683 | static inline std::string string_VkShaderCreateFlagsEXT(VkShaderCreateFlagsEXT input_value) |
10684 | { |
10685 | std::string ret; |
10686 | int index = 0; |
10687 | while(input_value) { |
10688 | if (input_value & 1) { |
10689 | if( !ret.empty()) ret.append("|" ); |
10690 | ret.append(string_VkShaderCreateFlagBitsEXT(static_cast<VkShaderCreateFlagBitsEXT>(1U << index))); |
10691 | } |
10692 | ++index; |
10693 | input_value >>= 1; |
10694 | } |
10695 | if (ret.empty()) ret.append("VkShaderCreateFlagsEXT(0)" ); |
10696 | return ret; |
10697 | } |
10698 | |
10699 | static inline const char* string_VkShaderCodeTypeEXT(VkShaderCodeTypeEXT input_value) |
10700 | { |
10701 | switch (input_value) |
10702 | { |
10703 | case VK_SHADER_CODE_TYPE_BINARY_EXT: |
10704 | return "VK_SHADER_CODE_TYPE_BINARY_EXT" ; |
10705 | case VK_SHADER_CODE_TYPE_SPIRV_EXT: |
10706 | return "VK_SHADER_CODE_TYPE_SPIRV_EXT" ; |
10707 | default: |
10708 | return "Unhandled VkShaderCodeTypeEXT" ; |
10709 | } |
10710 | } |
10711 | |
10712 | static inline const char* string_VkRayTracingInvocationReorderModeNV(VkRayTracingInvocationReorderModeNV input_value) |
10713 | { |
10714 | switch (input_value) |
10715 | { |
10716 | case VK_RAY_TRACING_INVOCATION_REORDER_MODE_NONE_NV: |
10717 | return "VK_RAY_TRACING_INVOCATION_REORDER_MODE_NONE_NV" ; |
10718 | case VK_RAY_TRACING_INVOCATION_REORDER_MODE_REORDER_NV: |
10719 | return "VK_RAY_TRACING_INVOCATION_REORDER_MODE_REORDER_NV" ; |
10720 | default: |
10721 | return "Unhandled VkRayTracingInvocationReorderModeNV" ; |
10722 | } |
10723 | } |
10724 | |
10725 | static inline const char* string_VkBuildAccelerationStructureModeKHR(VkBuildAccelerationStructureModeKHR input_value) |
10726 | { |
10727 | switch (input_value) |
10728 | { |
10729 | case VK_BUILD_ACCELERATION_STRUCTURE_MODE_BUILD_KHR: |
10730 | return "VK_BUILD_ACCELERATION_STRUCTURE_MODE_BUILD_KHR" ; |
10731 | case VK_BUILD_ACCELERATION_STRUCTURE_MODE_UPDATE_KHR: |
10732 | return "VK_BUILD_ACCELERATION_STRUCTURE_MODE_UPDATE_KHR" ; |
10733 | default: |
10734 | return "Unhandled VkBuildAccelerationStructureModeKHR" ; |
10735 | } |
10736 | } |
10737 | |
10738 | static inline const char* string_VkAccelerationStructureCreateFlagBitsKHR(VkAccelerationStructureCreateFlagBitsKHR input_value) |
10739 | { |
10740 | switch (input_value) |
10741 | { |
10742 | case VK_ACCELERATION_STRUCTURE_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_EXT: |
10743 | return "VK_ACCELERATION_STRUCTURE_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_EXT" ; |
10744 | case VK_ACCELERATION_STRUCTURE_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT_KHR: |
10745 | return "VK_ACCELERATION_STRUCTURE_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT_KHR" ; |
10746 | case VK_ACCELERATION_STRUCTURE_CREATE_MOTION_BIT_NV: |
10747 | return "VK_ACCELERATION_STRUCTURE_CREATE_MOTION_BIT_NV" ; |
10748 | default: |
10749 | return "Unhandled VkAccelerationStructureCreateFlagBitsKHR" ; |
10750 | } |
10751 | } |
10752 | |
10753 | static inline std::string string_VkAccelerationStructureCreateFlagsKHR(VkAccelerationStructureCreateFlagsKHR input_value) |
10754 | { |
10755 | std::string ret; |
10756 | int index = 0; |
10757 | while(input_value) { |
10758 | if (input_value & 1) { |
10759 | if( !ret.empty()) ret.append("|" ); |
10760 | ret.append(string_VkAccelerationStructureCreateFlagBitsKHR(static_cast<VkAccelerationStructureCreateFlagBitsKHR>(1U << index))); |
10761 | } |
10762 | ++index; |
10763 | input_value >>= 1; |
10764 | } |
10765 | if (ret.empty()) ret.append("VkAccelerationStructureCreateFlagsKHR(0)" ); |
10766 | return ret; |
10767 | } |
10768 | |
10769 | static inline const char* string_VkShaderGroupShaderKHR(VkShaderGroupShaderKHR input_value) |
10770 | { |
10771 | switch (input_value) |
10772 | { |
10773 | case VK_SHADER_GROUP_SHADER_ANY_HIT_KHR: |
10774 | return "VK_SHADER_GROUP_SHADER_ANY_HIT_KHR" ; |
10775 | case VK_SHADER_GROUP_SHADER_CLOSEST_HIT_KHR: |
10776 | return "VK_SHADER_GROUP_SHADER_CLOSEST_HIT_KHR" ; |
10777 | case VK_SHADER_GROUP_SHADER_GENERAL_KHR: |
10778 | return "VK_SHADER_GROUP_SHADER_GENERAL_KHR" ; |
10779 | case VK_SHADER_GROUP_SHADER_INTERSECTION_KHR: |
10780 | return "VK_SHADER_GROUP_SHADER_INTERSECTION_KHR" ; |
10781 | default: |
10782 | return "Unhandled VkShaderGroupShaderKHR" ; |
10783 | } |
10784 | } |
10785 | |
10786 | static inline const char * GetPhysDevFeatureString(uint32_t index) { |
10787 | const char * IndexToPhysDevFeatureString[] = { |
10788 | "robustBufferAccess" , |
10789 | "fullDrawIndexUint32" , |
10790 | "imageCubeArray" , |
10791 | "independentBlend" , |
10792 | "geometryShader" , |
10793 | "tessellationShader" , |
10794 | "sampleRateShading" , |
10795 | "dualSrcBlend" , |
10796 | "logicOp" , |
10797 | "multiDrawIndirect" , |
10798 | "drawIndirectFirstInstance" , |
10799 | "depthClamp" , |
10800 | "depthBiasClamp" , |
10801 | "fillModeNonSolid" , |
10802 | "depthBounds" , |
10803 | "wideLines" , |
10804 | "largePoints" , |
10805 | "alphaToOne" , |
10806 | "multiViewport" , |
10807 | "samplerAnisotropy" , |
10808 | "textureCompressionETC2" , |
10809 | "textureCompressionASTC_LDR" , |
10810 | "textureCompressionBC" , |
10811 | "occlusionQueryPrecise" , |
10812 | "pipelineStatisticsQuery" , |
10813 | "vertexPipelineStoresAndAtomics" , |
10814 | "fragmentStoresAndAtomics" , |
10815 | "shaderTessellationAndGeometryPointSize" , |
10816 | "shaderImageGatherExtended" , |
10817 | "shaderStorageImageExtendedFormats" , |
10818 | "shaderStorageImageMultisample" , |
10819 | "shaderStorageImageReadWithoutFormat" , |
10820 | "shaderStorageImageWriteWithoutFormat" , |
10821 | "shaderUniformBufferArrayDynamicIndexing" , |
10822 | "shaderSampledImageArrayDynamicIndexing" , |
10823 | "shaderStorageBufferArrayDynamicIndexing" , |
10824 | "shaderStorageImageArrayDynamicIndexing" , |
10825 | "shaderClipDistance" , |
10826 | "shaderCullDistance" , |
10827 | "shaderFloat64" , |
10828 | "shaderInt64" , |
10829 | "shaderInt16" , |
10830 | "shaderResourceResidency" , |
10831 | "shaderResourceMinLod" , |
10832 | "sparseBinding" , |
10833 | "sparseResidencyBuffer" , |
10834 | "sparseResidencyImage2D" , |
10835 | "sparseResidencyImage3D" , |
10836 | "sparseResidency2Samples" , |
10837 | "sparseResidency4Samples" , |
10838 | "sparseResidency8Samples" , |
10839 | "sparseResidency16Samples" , |
10840 | "sparseResidencyAliased" , |
10841 | "variableMultisampleRate" , |
10842 | "inheritedQueries" , |
10843 | }; |
10844 | |
10845 | return IndexToPhysDevFeatureString[index]; |
10846 | } |
10847 | |
10848 | static inline bool IsDuplicatePnext(VkStructureType input_value) |
10849 | { |
10850 | switch (input_value) |
10851 | { |
10852 | case VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT: |
10853 | case VK_STRUCTURE_TYPE_DEVICE_DEVICE_MEMORY_REPORT_CREATE_INFO_EXT: |
10854 | case VK_STRUCTURE_TYPE_DEVICE_PRIVATE_DATA_CREATE_INFO: |
10855 | case VK_STRUCTURE_TYPE_EXPORT_METAL_BUFFER_INFO_EXT: |
10856 | case VK_STRUCTURE_TYPE_EXPORT_METAL_COMMAND_QUEUE_INFO_EXT: |
10857 | case VK_STRUCTURE_TYPE_EXPORT_METAL_IO_SURFACE_INFO_EXT: |
10858 | case VK_STRUCTURE_TYPE_EXPORT_METAL_OBJECT_CREATE_INFO_EXT: |
10859 | case VK_STRUCTURE_TYPE_EXPORT_METAL_SHARED_EVENT_INFO_EXT: |
10860 | case VK_STRUCTURE_TYPE_EXPORT_METAL_TEXTURE_INFO_EXT: |
10861 | case VK_STRUCTURE_TYPE_IMPORT_METAL_TEXTURE_INFO_EXT: |
10862 | return true; |
10863 | default: |
10864 | return false; |
10865 | } |
10866 | } |
10867 | |