resolve merge conflicts of 5248f97c88 to vulkan.
[platform/upstream/VK-GL-CTS.git] / external / vulkancts / framework / vulkan / vkStrUtilImpl.inl
1 /* WARNING: This is auto-generated file. Do not modify, since changes will
2  * be lost! Modify the generating script instead.
3  */
4 template<> const char*  getTypeName<VkInstance>                         (void) { return "VkInstance";                           }
5 template<> const char*  getTypeName<VkPhysicalDevice>           (void) { return "VkPhysicalDevice";                     }
6 template<> const char*  getTypeName<VkDevice>                           (void) { return "VkDevice";                                     }
7 template<> const char*  getTypeName<VkQueue>                            (void) { return "VkQueue";                                      }
8 template<> const char*  getTypeName<VkSemaphore>                        (void) { return "VkSemaphore";                          }
9 template<> const char*  getTypeName<VkCommandBuffer>            (void) { return "VkCommandBuffer";                      }
10 template<> const char*  getTypeName<VkFence>                            (void) { return "VkFence";                                      }
11 template<> const char*  getTypeName<VkDeviceMemory>                     (void) { return "VkDeviceMemory";                       }
12 template<> const char*  getTypeName<VkBuffer>                           (void) { return "VkBuffer";                                     }
13 template<> const char*  getTypeName<VkImage>                            (void) { return "VkImage";                                      }
14 template<> const char*  getTypeName<VkEvent>                            (void) { return "VkEvent";                                      }
15 template<> const char*  getTypeName<VkQueryPool>                        (void) { return "VkQueryPool";                          }
16 template<> const char*  getTypeName<VkBufferView>                       (void) { return "VkBufferView";                         }
17 template<> const char*  getTypeName<VkImageView>                        (void) { return "VkImageView";                          }
18 template<> const char*  getTypeName<VkShaderModule>                     (void) { return "VkShaderModule";                       }
19 template<> const char*  getTypeName<VkPipelineCache>            (void) { return "VkPipelineCache";                      }
20 template<> const char*  getTypeName<VkPipelineLayout>           (void) { return "VkPipelineLayout";                     }
21 template<> const char*  getTypeName<VkRenderPass>                       (void) { return "VkRenderPass";                         }
22 template<> const char*  getTypeName<VkPipeline>                         (void) { return "VkPipeline";                           }
23 template<> const char*  getTypeName<VkDescriptorSetLayout>      (void) { return "VkDescriptorSetLayout";        }
24 template<> const char*  getTypeName<VkSampler>                          (void) { return "VkSampler";                            }
25 template<> const char*  getTypeName<VkDescriptorPool>           (void) { return "VkDescriptorPool";                     }
26 template<> const char*  getTypeName<VkDescriptorSet>            (void) { return "VkDescriptorSet";                      }
27 template<> const char*  getTypeName<VkFramebuffer>                      (void) { return "VkFramebuffer";                        }
28 template<> const char*  getTypeName<VkCommandPool>                      (void) { return "VkCommandPool";                        }
29 template<> const char*  getTypeName<VkSurfaceKHR>                       (void) { return "VkSurfaceKHR";                         }
30 template<> const char*  getTypeName<VkSwapchainKHR>                     (void) { return "VkSwapchainKHR";                       }
31 template<> const char*  getTypeName<VkDisplayKHR>                       (void) { return "VkDisplayKHR";                         }
32 template<> const char*  getTypeName<VkDisplayModeKHR>           (void) { return "VkDisplayModeKHR";                     }
33
34 const char* getPipelineCacheHeaderVersionName (VkPipelineCacheHeaderVersion value)
35 {
36         switch (value)
37         {
38                 case VK_PIPELINE_CACHE_HEADER_VERSION_ONE:      return "VK_PIPELINE_CACHE_HEADER_VERSION_ONE";
39                 default:                                                                        return DE_NULL;
40         }
41 }
42
43 const char* getResultName (VkResult value)
44 {
45         switch (value)
46         {
47                 case VK_SUCCESS:                                                return "VK_SUCCESS";
48                 case VK_NOT_READY:                                              return "VK_NOT_READY";
49                 case VK_TIMEOUT:                                                return "VK_TIMEOUT";
50                 case VK_EVENT_SET:                                              return "VK_EVENT_SET";
51                 case VK_EVENT_RESET:                                    return "VK_EVENT_RESET";
52                 case VK_INCOMPLETE:                                             return "VK_INCOMPLETE";
53                 case VK_ERROR_OUT_OF_HOST_MEMORY:               return "VK_ERROR_OUT_OF_HOST_MEMORY";
54                 case VK_ERROR_OUT_OF_DEVICE_MEMORY:             return "VK_ERROR_OUT_OF_DEVICE_MEMORY";
55                 case VK_ERROR_INITIALIZATION_FAILED:    return "VK_ERROR_INITIALIZATION_FAILED";
56                 case VK_ERROR_DEVICE_LOST:                              return "VK_ERROR_DEVICE_LOST";
57                 case VK_ERROR_MEMORY_MAP_FAILED:                return "VK_ERROR_MEMORY_MAP_FAILED";
58                 case VK_ERROR_LAYER_NOT_PRESENT:                return "VK_ERROR_LAYER_NOT_PRESENT";
59                 case VK_ERROR_EXTENSION_NOT_PRESENT:    return "VK_ERROR_EXTENSION_NOT_PRESENT";
60                 case VK_ERROR_FEATURE_NOT_PRESENT:              return "VK_ERROR_FEATURE_NOT_PRESENT";
61                 case VK_ERROR_INCOMPATIBLE_DRIVER:              return "VK_ERROR_INCOMPATIBLE_DRIVER";
62                 case VK_ERROR_TOO_MANY_OBJECTS:                 return "VK_ERROR_TOO_MANY_OBJECTS";
63                 case VK_ERROR_FORMAT_NOT_SUPPORTED:             return "VK_ERROR_FORMAT_NOT_SUPPORTED";
64                 case VK_ERROR_SURFACE_LOST_KHR:                 return "VK_ERROR_SURFACE_LOST_KHR";
65                 case VK_SUBOPTIMAL_KHR:                                 return "VK_SUBOPTIMAL_KHR";
66                 case VK_ERROR_OUT_OF_DATE_KHR:                  return "VK_ERROR_OUT_OF_DATE_KHR";
67                 case VK_ERROR_INCOMPATIBLE_DISPLAY_KHR: return "VK_ERROR_INCOMPATIBLE_DISPLAY_KHR";
68                 case VK_ERROR_NATIVE_WINDOW_IN_USE_KHR: return "VK_ERROR_NATIVE_WINDOW_IN_USE_KHR";
69                 case VK_ERROR_VALIDATION_FAILED_EXT:    return "VK_ERROR_VALIDATION_FAILED_EXT";
70                 default:                                                                return DE_NULL;
71         }
72 }
73
74 const char* getStructureTypeName (VkStructureType value)
75 {
76         switch (value)
77         {
78                 case VK_STRUCTURE_TYPE_APPLICATION_INFO:                                                        return "VK_STRUCTURE_TYPE_APPLICATION_INFO";
79                 case VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO:                                            return "VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO";
80                 case VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO:                                        return "VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO";
81                 case VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO:                                                      return "VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO";
82                 case VK_STRUCTURE_TYPE_SUBMIT_INFO:                                                                     return "VK_STRUCTURE_TYPE_SUBMIT_INFO";
83                 case VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO:                                            return "VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO";
84                 case VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE:                                                     return "VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE";
85                 case VK_STRUCTURE_TYPE_BIND_SPARSE_INFO:                                                        return "VK_STRUCTURE_TYPE_BIND_SPARSE_INFO";
86                 case VK_STRUCTURE_TYPE_FENCE_CREATE_INFO:                                                       return "VK_STRUCTURE_TYPE_FENCE_CREATE_INFO";
87                 case VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO:                                           return "VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO";
88                 case VK_STRUCTURE_TYPE_EVENT_CREATE_INFO:                                                       return "VK_STRUCTURE_TYPE_EVENT_CREATE_INFO";
89                 case VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO:                                          return "VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO";
90                 case VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO:                                                      return "VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO";
91                 case VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO:                                         return "VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO";
92                 case VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO:                                                       return "VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO";
93                 case VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO:                                          return "VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO";
94                 case VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO:                                       return "VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO";
95                 case VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO:                                      return "VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO";
96                 case VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO:                       return "VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO";
97                 case VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO:         return "VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO";
98                 case VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO:       return "VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO";
99                 case VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO:         return "VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO";
100                 case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO:                     return "VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO";
101                 case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO:        return "VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO";
102                 case VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO:          return "VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO";
103                 case VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO:        return "VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO";
104                 case VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO:          return "VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO";
105                 case VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO:                      return "VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO";
106                 case VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO:                           return "VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO";
107                 case VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO:                            return "VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO";
108                 case VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO:                                     return "VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO";
109                 case VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO:                                                     return "VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO";
110                 case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO:                       return "VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO";
111                 case VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO:                                     return "VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO";
112                 case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO:                            return "VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO";
113                 case VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET:                                            return "VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET";
114                 case VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET:                                                     return "VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET";
115                 case VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO:                                         return "VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO";
116                 case VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO:                                         return "VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO";
117                 case VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO:                                        return "VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO";
118                 case VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO:                            return "VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO";
119                 case VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO:                         return "VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO";
120                 case VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO:                                       return "VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO";
121                 case VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO:                                          return "VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO";
122                 case VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER:                                           return "VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER";
123                 case VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER:                                            return "VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER";
124                 case VK_STRUCTURE_TYPE_MEMORY_BARRIER:                                                          return "VK_STRUCTURE_TYPE_MEMORY_BARRIER";
125                 case VK_STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO:                                     return "VK_STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO";
126                 case VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO:                                       return "VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO";
127                 case VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR:                                       return "VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR";
128                 case VK_STRUCTURE_TYPE_PRESENT_INFO_KHR:                                                        return "VK_STRUCTURE_TYPE_PRESENT_INFO_KHR";
129                 case VK_STRUCTURE_TYPE_DISPLAY_MODE_CREATE_INFO_KHR:                            return "VK_STRUCTURE_TYPE_DISPLAY_MODE_CREATE_INFO_KHR";
130                 case VK_STRUCTURE_TYPE_DISPLAY_SURFACE_CREATE_INFO_KHR:                         return "VK_STRUCTURE_TYPE_DISPLAY_SURFACE_CREATE_INFO_KHR";
131                 case VK_STRUCTURE_TYPE_DISPLAY_PRESENT_INFO_KHR:                                        return "VK_STRUCTURE_TYPE_DISPLAY_PRESENT_INFO_KHR";
132                 case VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR:                            return "VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR";
133                 case VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR:                                     return "VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR";
134                 case VK_STRUCTURE_TYPE_WAYLAND_SURFACE_CREATE_INFO_KHR:                         return "VK_STRUCTURE_TYPE_WAYLAND_SURFACE_CREATE_INFO_KHR";
135                 case VK_STRUCTURE_TYPE_MIR_SURFACE_CREATE_INFO_KHR:                                     return "VK_STRUCTURE_TYPE_MIR_SURFACE_CREATE_INFO_KHR";
136                 case VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR:                         return "VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR";
137                 case VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR:                           return "VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR";
138                 case VK_STRUCTURE_TYPE_DEBUG_REPORT_CREATE_INFO_EXT:                            return "VK_STRUCTURE_TYPE_DEBUG_REPORT_CREATE_INFO_EXT";
139                 default:                                                                                                                        return DE_NULL;
140         }
141 }
142
143 const char* getSystemAllocationScopeName (VkSystemAllocationScope value)
144 {
145         switch (value)
146         {
147                 case VK_SYSTEM_ALLOCATION_SCOPE_COMMAND:        return "VK_SYSTEM_ALLOCATION_SCOPE_COMMAND";
148                 case VK_SYSTEM_ALLOCATION_SCOPE_OBJECT:         return "VK_SYSTEM_ALLOCATION_SCOPE_OBJECT";
149                 case VK_SYSTEM_ALLOCATION_SCOPE_CACHE:          return "VK_SYSTEM_ALLOCATION_SCOPE_CACHE";
150                 case VK_SYSTEM_ALLOCATION_SCOPE_DEVICE:         return "VK_SYSTEM_ALLOCATION_SCOPE_DEVICE";
151                 case VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE:       return "VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE";
152                 default:                                                                        return DE_NULL;
153         }
154 }
155
156 const char* getInternalAllocationTypeName (VkInternalAllocationType value)
157 {
158         switch (value)
159         {
160                 case VK_INTERNAL_ALLOCATION_TYPE_EXECUTABLE:    return "VK_INTERNAL_ALLOCATION_TYPE_EXECUTABLE";
161                 default:                                                                                return DE_NULL;
162         }
163 }
164
165 const char* getFormatName (VkFormat value)
166 {
167         switch (value)
168         {
169                 case VK_FORMAT_UNDEFINED:                                       return "VK_FORMAT_UNDEFINED";
170                 case VK_FORMAT_R4G4_UNORM_PACK8:                        return "VK_FORMAT_R4G4_UNORM_PACK8";
171                 case VK_FORMAT_R4G4B4A4_UNORM_PACK16:           return "VK_FORMAT_R4G4B4A4_UNORM_PACK16";
172                 case VK_FORMAT_B4G4R4A4_UNORM_PACK16:           return "VK_FORMAT_B4G4R4A4_UNORM_PACK16";
173                 case VK_FORMAT_R5G6B5_UNORM_PACK16:                     return "VK_FORMAT_R5G6B5_UNORM_PACK16";
174                 case VK_FORMAT_B5G6R5_UNORM_PACK16:                     return "VK_FORMAT_B5G6R5_UNORM_PACK16";
175                 case VK_FORMAT_R5G5B5A1_UNORM_PACK16:           return "VK_FORMAT_R5G5B5A1_UNORM_PACK16";
176                 case VK_FORMAT_B5G5R5A1_UNORM_PACK16:           return "VK_FORMAT_B5G5R5A1_UNORM_PACK16";
177                 case VK_FORMAT_A1R5G5B5_UNORM_PACK16:           return "VK_FORMAT_A1R5G5B5_UNORM_PACK16";
178                 case VK_FORMAT_R8_UNORM:                                        return "VK_FORMAT_R8_UNORM";
179                 case VK_FORMAT_R8_SNORM:                                        return "VK_FORMAT_R8_SNORM";
180                 case VK_FORMAT_R8_USCALED:                                      return "VK_FORMAT_R8_USCALED";
181                 case VK_FORMAT_R8_SSCALED:                                      return "VK_FORMAT_R8_SSCALED";
182                 case VK_FORMAT_R8_UINT:                                         return "VK_FORMAT_R8_UINT";
183                 case VK_FORMAT_R8_SINT:                                         return "VK_FORMAT_R8_SINT";
184                 case VK_FORMAT_R8_SRGB:                                         return "VK_FORMAT_R8_SRGB";
185                 case VK_FORMAT_R8G8_UNORM:                                      return "VK_FORMAT_R8G8_UNORM";
186                 case VK_FORMAT_R8G8_SNORM:                                      return "VK_FORMAT_R8G8_SNORM";
187                 case VK_FORMAT_R8G8_USCALED:                            return "VK_FORMAT_R8G8_USCALED";
188                 case VK_FORMAT_R8G8_SSCALED:                            return "VK_FORMAT_R8G8_SSCALED";
189                 case VK_FORMAT_R8G8_UINT:                                       return "VK_FORMAT_R8G8_UINT";
190                 case VK_FORMAT_R8G8_SINT:                                       return "VK_FORMAT_R8G8_SINT";
191                 case VK_FORMAT_R8G8_SRGB:                                       return "VK_FORMAT_R8G8_SRGB";
192                 case VK_FORMAT_R8G8B8_UNORM:                            return "VK_FORMAT_R8G8B8_UNORM";
193                 case VK_FORMAT_R8G8B8_SNORM:                            return "VK_FORMAT_R8G8B8_SNORM";
194                 case VK_FORMAT_R8G8B8_USCALED:                          return "VK_FORMAT_R8G8B8_USCALED";
195                 case VK_FORMAT_R8G8B8_SSCALED:                          return "VK_FORMAT_R8G8B8_SSCALED";
196                 case VK_FORMAT_R8G8B8_UINT:                                     return "VK_FORMAT_R8G8B8_UINT";
197                 case VK_FORMAT_R8G8B8_SINT:                                     return "VK_FORMAT_R8G8B8_SINT";
198                 case VK_FORMAT_R8G8B8_SRGB:                                     return "VK_FORMAT_R8G8B8_SRGB";
199                 case VK_FORMAT_B8G8R8_UNORM:                            return "VK_FORMAT_B8G8R8_UNORM";
200                 case VK_FORMAT_B8G8R8_SNORM:                            return "VK_FORMAT_B8G8R8_SNORM";
201                 case VK_FORMAT_B8G8R8_USCALED:                          return "VK_FORMAT_B8G8R8_USCALED";
202                 case VK_FORMAT_B8G8R8_SSCALED:                          return "VK_FORMAT_B8G8R8_SSCALED";
203                 case VK_FORMAT_B8G8R8_UINT:                                     return "VK_FORMAT_B8G8R8_UINT";
204                 case VK_FORMAT_B8G8R8_SINT:                                     return "VK_FORMAT_B8G8R8_SINT";
205                 case VK_FORMAT_B8G8R8_SRGB:                                     return "VK_FORMAT_B8G8R8_SRGB";
206                 case VK_FORMAT_R8G8B8A8_UNORM:                          return "VK_FORMAT_R8G8B8A8_UNORM";
207                 case VK_FORMAT_R8G8B8A8_SNORM:                          return "VK_FORMAT_R8G8B8A8_SNORM";
208                 case VK_FORMAT_R8G8B8A8_USCALED:                        return "VK_FORMAT_R8G8B8A8_USCALED";
209                 case VK_FORMAT_R8G8B8A8_SSCALED:                        return "VK_FORMAT_R8G8B8A8_SSCALED";
210                 case VK_FORMAT_R8G8B8A8_UINT:                           return "VK_FORMAT_R8G8B8A8_UINT";
211                 case VK_FORMAT_R8G8B8A8_SINT:                           return "VK_FORMAT_R8G8B8A8_SINT";
212                 case VK_FORMAT_R8G8B8A8_SRGB:                           return "VK_FORMAT_R8G8B8A8_SRGB";
213                 case VK_FORMAT_B8G8R8A8_UNORM:                          return "VK_FORMAT_B8G8R8A8_UNORM";
214                 case VK_FORMAT_B8G8R8A8_SNORM:                          return "VK_FORMAT_B8G8R8A8_SNORM";
215                 case VK_FORMAT_B8G8R8A8_USCALED:                        return "VK_FORMAT_B8G8R8A8_USCALED";
216                 case VK_FORMAT_B8G8R8A8_SSCALED:                        return "VK_FORMAT_B8G8R8A8_SSCALED";
217                 case VK_FORMAT_B8G8R8A8_UINT:                           return "VK_FORMAT_B8G8R8A8_UINT";
218                 case VK_FORMAT_B8G8R8A8_SINT:                           return "VK_FORMAT_B8G8R8A8_SINT";
219                 case VK_FORMAT_B8G8R8A8_SRGB:                           return "VK_FORMAT_B8G8R8A8_SRGB";
220                 case VK_FORMAT_A8B8G8R8_UNORM_PACK32:           return "VK_FORMAT_A8B8G8R8_UNORM_PACK32";
221                 case VK_FORMAT_A8B8G8R8_SNORM_PACK32:           return "VK_FORMAT_A8B8G8R8_SNORM_PACK32";
222                 case VK_FORMAT_A8B8G8R8_USCALED_PACK32:         return "VK_FORMAT_A8B8G8R8_USCALED_PACK32";
223                 case VK_FORMAT_A8B8G8R8_SSCALED_PACK32:         return "VK_FORMAT_A8B8G8R8_SSCALED_PACK32";
224                 case VK_FORMAT_A8B8G8R8_UINT_PACK32:            return "VK_FORMAT_A8B8G8R8_UINT_PACK32";
225                 case VK_FORMAT_A8B8G8R8_SINT_PACK32:            return "VK_FORMAT_A8B8G8R8_SINT_PACK32";
226                 case VK_FORMAT_A8B8G8R8_SRGB_PACK32:            return "VK_FORMAT_A8B8G8R8_SRGB_PACK32";
227                 case VK_FORMAT_A2R10G10B10_UNORM_PACK32:        return "VK_FORMAT_A2R10G10B10_UNORM_PACK32";
228                 case VK_FORMAT_A2R10G10B10_SNORM_PACK32:        return "VK_FORMAT_A2R10G10B10_SNORM_PACK32";
229                 case VK_FORMAT_A2R10G10B10_USCALED_PACK32:      return "VK_FORMAT_A2R10G10B10_USCALED_PACK32";
230                 case VK_FORMAT_A2R10G10B10_SSCALED_PACK32:      return "VK_FORMAT_A2R10G10B10_SSCALED_PACK32";
231                 case VK_FORMAT_A2R10G10B10_UINT_PACK32:         return "VK_FORMAT_A2R10G10B10_UINT_PACK32";
232                 case VK_FORMAT_A2R10G10B10_SINT_PACK32:         return "VK_FORMAT_A2R10G10B10_SINT_PACK32";
233                 case VK_FORMAT_A2B10G10R10_UNORM_PACK32:        return "VK_FORMAT_A2B10G10R10_UNORM_PACK32";
234                 case VK_FORMAT_A2B10G10R10_SNORM_PACK32:        return "VK_FORMAT_A2B10G10R10_SNORM_PACK32";
235                 case VK_FORMAT_A2B10G10R10_USCALED_PACK32:      return "VK_FORMAT_A2B10G10R10_USCALED_PACK32";
236                 case VK_FORMAT_A2B10G10R10_SSCALED_PACK32:      return "VK_FORMAT_A2B10G10R10_SSCALED_PACK32";
237                 case VK_FORMAT_A2B10G10R10_UINT_PACK32:         return "VK_FORMAT_A2B10G10R10_UINT_PACK32";
238                 case VK_FORMAT_A2B10G10R10_SINT_PACK32:         return "VK_FORMAT_A2B10G10R10_SINT_PACK32";
239                 case VK_FORMAT_R16_UNORM:                                       return "VK_FORMAT_R16_UNORM";
240                 case VK_FORMAT_R16_SNORM:                                       return "VK_FORMAT_R16_SNORM";
241                 case VK_FORMAT_R16_USCALED:                                     return "VK_FORMAT_R16_USCALED";
242                 case VK_FORMAT_R16_SSCALED:                                     return "VK_FORMAT_R16_SSCALED";
243                 case VK_FORMAT_R16_UINT:                                        return "VK_FORMAT_R16_UINT";
244                 case VK_FORMAT_R16_SINT:                                        return "VK_FORMAT_R16_SINT";
245                 case VK_FORMAT_R16_SFLOAT:                                      return "VK_FORMAT_R16_SFLOAT";
246                 case VK_FORMAT_R16G16_UNORM:                            return "VK_FORMAT_R16G16_UNORM";
247                 case VK_FORMAT_R16G16_SNORM:                            return "VK_FORMAT_R16G16_SNORM";
248                 case VK_FORMAT_R16G16_USCALED:                          return "VK_FORMAT_R16G16_USCALED";
249                 case VK_FORMAT_R16G16_SSCALED:                          return "VK_FORMAT_R16G16_SSCALED";
250                 case VK_FORMAT_R16G16_UINT:                                     return "VK_FORMAT_R16G16_UINT";
251                 case VK_FORMAT_R16G16_SINT:                                     return "VK_FORMAT_R16G16_SINT";
252                 case VK_FORMAT_R16G16_SFLOAT:                           return "VK_FORMAT_R16G16_SFLOAT";
253                 case VK_FORMAT_R16G16B16_UNORM:                         return "VK_FORMAT_R16G16B16_UNORM";
254                 case VK_FORMAT_R16G16B16_SNORM:                         return "VK_FORMAT_R16G16B16_SNORM";
255                 case VK_FORMAT_R16G16B16_USCALED:                       return "VK_FORMAT_R16G16B16_USCALED";
256                 case VK_FORMAT_R16G16B16_SSCALED:                       return "VK_FORMAT_R16G16B16_SSCALED";
257                 case VK_FORMAT_R16G16B16_UINT:                          return "VK_FORMAT_R16G16B16_UINT";
258                 case VK_FORMAT_R16G16B16_SINT:                          return "VK_FORMAT_R16G16B16_SINT";
259                 case VK_FORMAT_R16G16B16_SFLOAT:                        return "VK_FORMAT_R16G16B16_SFLOAT";
260                 case VK_FORMAT_R16G16B16A16_UNORM:                      return "VK_FORMAT_R16G16B16A16_UNORM";
261                 case VK_FORMAT_R16G16B16A16_SNORM:                      return "VK_FORMAT_R16G16B16A16_SNORM";
262                 case VK_FORMAT_R16G16B16A16_USCALED:            return "VK_FORMAT_R16G16B16A16_USCALED";
263                 case VK_FORMAT_R16G16B16A16_SSCALED:            return "VK_FORMAT_R16G16B16A16_SSCALED";
264                 case VK_FORMAT_R16G16B16A16_UINT:                       return "VK_FORMAT_R16G16B16A16_UINT";
265                 case VK_FORMAT_R16G16B16A16_SINT:                       return "VK_FORMAT_R16G16B16A16_SINT";
266                 case VK_FORMAT_R16G16B16A16_SFLOAT:                     return "VK_FORMAT_R16G16B16A16_SFLOAT";
267                 case VK_FORMAT_R32_UINT:                                        return "VK_FORMAT_R32_UINT";
268                 case VK_FORMAT_R32_SINT:                                        return "VK_FORMAT_R32_SINT";
269                 case VK_FORMAT_R32_SFLOAT:                                      return "VK_FORMAT_R32_SFLOAT";
270                 case VK_FORMAT_R32G32_UINT:                                     return "VK_FORMAT_R32G32_UINT";
271                 case VK_FORMAT_R32G32_SINT:                                     return "VK_FORMAT_R32G32_SINT";
272                 case VK_FORMAT_R32G32_SFLOAT:                           return "VK_FORMAT_R32G32_SFLOAT";
273                 case VK_FORMAT_R32G32B32_UINT:                          return "VK_FORMAT_R32G32B32_UINT";
274                 case VK_FORMAT_R32G32B32_SINT:                          return "VK_FORMAT_R32G32B32_SINT";
275                 case VK_FORMAT_R32G32B32_SFLOAT:                        return "VK_FORMAT_R32G32B32_SFLOAT";
276                 case VK_FORMAT_R32G32B32A32_UINT:                       return "VK_FORMAT_R32G32B32A32_UINT";
277                 case VK_FORMAT_R32G32B32A32_SINT:                       return "VK_FORMAT_R32G32B32A32_SINT";
278                 case VK_FORMAT_R32G32B32A32_SFLOAT:                     return "VK_FORMAT_R32G32B32A32_SFLOAT";
279                 case VK_FORMAT_R64_UINT:                                        return "VK_FORMAT_R64_UINT";
280                 case VK_FORMAT_R64_SINT:                                        return "VK_FORMAT_R64_SINT";
281                 case VK_FORMAT_R64_SFLOAT:                                      return "VK_FORMAT_R64_SFLOAT";
282                 case VK_FORMAT_R64G64_UINT:                                     return "VK_FORMAT_R64G64_UINT";
283                 case VK_FORMAT_R64G64_SINT:                                     return "VK_FORMAT_R64G64_SINT";
284                 case VK_FORMAT_R64G64_SFLOAT:                           return "VK_FORMAT_R64G64_SFLOAT";
285                 case VK_FORMAT_R64G64B64_UINT:                          return "VK_FORMAT_R64G64B64_UINT";
286                 case VK_FORMAT_R64G64B64_SINT:                          return "VK_FORMAT_R64G64B64_SINT";
287                 case VK_FORMAT_R64G64B64_SFLOAT:                        return "VK_FORMAT_R64G64B64_SFLOAT";
288                 case VK_FORMAT_R64G64B64A64_UINT:                       return "VK_FORMAT_R64G64B64A64_UINT";
289                 case VK_FORMAT_R64G64B64A64_SINT:                       return "VK_FORMAT_R64G64B64A64_SINT";
290                 case VK_FORMAT_R64G64B64A64_SFLOAT:                     return "VK_FORMAT_R64G64B64A64_SFLOAT";
291                 case VK_FORMAT_B10G11R11_UFLOAT_PACK32:         return "VK_FORMAT_B10G11R11_UFLOAT_PACK32";
292                 case VK_FORMAT_E5B9G9R9_UFLOAT_PACK32:          return "VK_FORMAT_E5B9G9R9_UFLOAT_PACK32";
293                 case VK_FORMAT_D16_UNORM:                                       return "VK_FORMAT_D16_UNORM";
294                 case VK_FORMAT_X8_D24_UNORM_PACK32:                     return "VK_FORMAT_X8_D24_UNORM_PACK32";
295                 case VK_FORMAT_D32_SFLOAT:                                      return "VK_FORMAT_D32_SFLOAT";
296                 case VK_FORMAT_S8_UINT:                                         return "VK_FORMAT_S8_UINT";
297                 case VK_FORMAT_D16_UNORM_S8_UINT:                       return "VK_FORMAT_D16_UNORM_S8_UINT";
298                 case VK_FORMAT_D24_UNORM_S8_UINT:                       return "VK_FORMAT_D24_UNORM_S8_UINT";
299                 case VK_FORMAT_D32_SFLOAT_S8_UINT:                      return "VK_FORMAT_D32_SFLOAT_S8_UINT";
300                 case VK_FORMAT_BC1_RGB_UNORM_BLOCK:                     return "VK_FORMAT_BC1_RGB_UNORM_BLOCK";
301                 case VK_FORMAT_BC1_RGB_SRGB_BLOCK:                      return "VK_FORMAT_BC1_RGB_SRGB_BLOCK";
302                 case VK_FORMAT_BC1_RGBA_UNORM_BLOCK:            return "VK_FORMAT_BC1_RGBA_UNORM_BLOCK";
303                 case VK_FORMAT_BC1_RGBA_SRGB_BLOCK:                     return "VK_FORMAT_BC1_RGBA_SRGB_BLOCK";
304                 case VK_FORMAT_BC2_UNORM_BLOCK:                         return "VK_FORMAT_BC2_UNORM_BLOCK";
305                 case VK_FORMAT_BC2_SRGB_BLOCK:                          return "VK_FORMAT_BC2_SRGB_BLOCK";
306                 case VK_FORMAT_BC3_UNORM_BLOCK:                         return "VK_FORMAT_BC3_UNORM_BLOCK";
307                 case VK_FORMAT_BC3_SRGB_BLOCK:                          return "VK_FORMAT_BC3_SRGB_BLOCK";
308                 case VK_FORMAT_BC4_UNORM_BLOCK:                         return "VK_FORMAT_BC4_UNORM_BLOCK";
309                 case VK_FORMAT_BC4_SNORM_BLOCK:                         return "VK_FORMAT_BC4_SNORM_BLOCK";
310                 case VK_FORMAT_BC5_UNORM_BLOCK:                         return "VK_FORMAT_BC5_UNORM_BLOCK";
311                 case VK_FORMAT_BC5_SNORM_BLOCK:                         return "VK_FORMAT_BC5_SNORM_BLOCK";
312                 case VK_FORMAT_BC6H_UFLOAT_BLOCK:                       return "VK_FORMAT_BC6H_UFLOAT_BLOCK";
313                 case VK_FORMAT_BC6H_SFLOAT_BLOCK:                       return "VK_FORMAT_BC6H_SFLOAT_BLOCK";
314                 case VK_FORMAT_BC7_UNORM_BLOCK:                         return "VK_FORMAT_BC7_UNORM_BLOCK";
315                 case VK_FORMAT_BC7_SRGB_BLOCK:                          return "VK_FORMAT_BC7_SRGB_BLOCK";
316                 case VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK:         return "VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK";
317                 case VK_FORMAT_ETC2_R8G8B8_SRGB_BLOCK:          return "VK_FORMAT_ETC2_R8G8B8_SRGB_BLOCK";
318                 case VK_FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK:       return "VK_FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK";
319                 case VK_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK:        return "VK_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK";
320                 case VK_FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK:       return "VK_FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK";
321                 case VK_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK:        return "VK_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK";
322                 case VK_FORMAT_EAC_R11_UNORM_BLOCK:                     return "VK_FORMAT_EAC_R11_UNORM_BLOCK";
323                 case VK_FORMAT_EAC_R11_SNORM_BLOCK:                     return "VK_FORMAT_EAC_R11_SNORM_BLOCK";
324                 case VK_FORMAT_EAC_R11G11_UNORM_BLOCK:          return "VK_FORMAT_EAC_R11G11_UNORM_BLOCK";
325                 case VK_FORMAT_EAC_R11G11_SNORM_BLOCK:          return "VK_FORMAT_EAC_R11G11_SNORM_BLOCK";
326                 case VK_FORMAT_ASTC_4x4_UNORM_BLOCK:            return "VK_FORMAT_ASTC_4x4_UNORM_BLOCK";
327                 case VK_FORMAT_ASTC_4x4_SRGB_BLOCK:                     return "VK_FORMAT_ASTC_4x4_SRGB_BLOCK";
328                 case VK_FORMAT_ASTC_5x4_UNORM_BLOCK:            return "VK_FORMAT_ASTC_5x4_UNORM_BLOCK";
329                 case VK_FORMAT_ASTC_5x4_SRGB_BLOCK:                     return "VK_FORMAT_ASTC_5x4_SRGB_BLOCK";
330                 case VK_FORMAT_ASTC_5x5_UNORM_BLOCK:            return "VK_FORMAT_ASTC_5x5_UNORM_BLOCK";
331                 case VK_FORMAT_ASTC_5x5_SRGB_BLOCK:                     return "VK_FORMAT_ASTC_5x5_SRGB_BLOCK";
332                 case VK_FORMAT_ASTC_6x5_UNORM_BLOCK:            return "VK_FORMAT_ASTC_6x5_UNORM_BLOCK";
333                 case VK_FORMAT_ASTC_6x5_SRGB_BLOCK:                     return "VK_FORMAT_ASTC_6x5_SRGB_BLOCK";
334                 case VK_FORMAT_ASTC_6x6_UNORM_BLOCK:            return "VK_FORMAT_ASTC_6x6_UNORM_BLOCK";
335                 case VK_FORMAT_ASTC_6x6_SRGB_BLOCK:                     return "VK_FORMAT_ASTC_6x6_SRGB_BLOCK";
336                 case VK_FORMAT_ASTC_8x5_UNORM_BLOCK:            return "VK_FORMAT_ASTC_8x5_UNORM_BLOCK";
337                 case VK_FORMAT_ASTC_8x5_SRGB_BLOCK:                     return "VK_FORMAT_ASTC_8x5_SRGB_BLOCK";
338                 case VK_FORMAT_ASTC_8x6_UNORM_BLOCK:            return "VK_FORMAT_ASTC_8x6_UNORM_BLOCK";
339                 case VK_FORMAT_ASTC_8x6_SRGB_BLOCK:                     return "VK_FORMAT_ASTC_8x6_SRGB_BLOCK";
340                 case VK_FORMAT_ASTC_8x8_UNORM_BLOCK:            return "VK_FORMAT_ASTC_8x8_UNORM_BLOCK";
341                 case VK_FORMAT_ASTC_8x8_SRGB_BLOCK:                     return "VK_FORMAT_ASTC_8x8_SRGB_BLOCK";
342                 case VK_FORMAT_ASTC_10x5_UNORM_BLOCK:           return "VK_FORMAT_ASTC_10x5_UNORM_BLOCK";
343                 case VK_FORMAT_ASTC_10x5_SRGB_BLOCK:            return "VK_FORMAT_ASTC_10x5_SRGB_BLOCK";
344                 case VK_FORMAT_ASTC_10x6_UNORM_BLOCK:           return "VK_FORMAT_ASTC_10x6_UNORM_BLOCK";
345                 case VK_FORMAT_ASTC_10x6_SRGB_BLOCK:            return "VK_FORMAT_ASTC_10x6_SRGB_BLOCK";
346                 case VK_FORMAT_ASTC_10x8_UNORM_BLOCK:           return "VK_FORMAT_ASTC_10x8_UNORM_BLOCK";
347                 case VK_FORMAT_ASTC_10x8_SRGB_BLOCK:            return "VK_FORMAT_ASTC_10x8_SRGB_BLOCK";
348                 case VK_FORMAT_ASTC_10x10_UNORM_BLOCK:          return "VK_FORMAT_ASTC_10x10_UNORM_BLOCK";
349                 case VK_FORMAT_ASTC_10x10_SRGB_BLOCK:           return "VK_FORMAT_ASTC_10x10_SRGB_BLOCK";
350                 case VK_FORMAT_ASTC_12x10_UNORM_BLOCK:          return "VK_FORMAT_ASTC_12x10_UNORM_BLOCK";
351                 case VK_FORMAT_ASTC_12x10_SRGB_BLOCK:           return "VK_FORMAT_ASTC_12x10_SRGB_BLOCK";
352                 case VK_FORMAT_ASTC_12x12_UNORM_BLOCK:          return "VK_FORMAT_ASTC_12x12_UNORM_BLOCK";
353                 case VK_FORMAT_ASTC_12x12_SRGB_BLOCK:           return "VK_FORMAT_ASTC_12x12_SRGB_BLOCK";
354                 default:                                                                        return DE_NULL;
355         }
356 }
357
358 const char* getImageTypeName (VkImageType value)
359 {
360         switch (value)
361         {
362                 case VK_IMAGE_TYPE_1D:  return "VK_IMAGE_TYPE_1D";
363                 case VK_IMAGE_TYPE_2D:  return "VK_IMAGE_TYPE_2D";
364                 case VK_IMAGE_TYPE_3D:  return "VK_IMAGE_TYPE_3D";
365                 default:                                return DE_NULL;
366         }
367 }
368
369 const char* getImageTilingName (VkImageTiling value)
370 {
371         switch (value)
372         {
373                 case VK_IMAGE_TILING_OPTIMAL:   return "VK_IMAGE_TILING_OPTIMAL";
374                 case VK_IMAGE_TILING_LINEAR:    return "VK_IMAGE_TILING_LINEAR";
375                 default:                                                return DE_NULL;
376         }
377 }
378
379 const char* getPhysicalDeviceTypeName (VkPhysicalDeviceType value)
380 {
381         switch (value)
382         {
383                 case VK_PHYSICAL_DEVICE_TYPE_OTHER:                             return "VK_PHYSICAL_DEVICE_TYPE_OTHER";
384                 case VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU:    return "VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU";
385                 case VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU:              return "VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU";
386                 case VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU:               return "VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU";
387                 case VK_PHYSICAL_DEVICE_TYPE_CPU:                               return "VK_PHYSICAL_DEVICE_TYPE_CPU";
388                 default:                                                                                return DE_NULL;
389         }
390 }
391
392 const char* getQueryTypeName (VkQueryType value)
393 {
394         switch (value)
395         {
396                 case VK_QUERY_TYPE_OCCLUSION:                   return "VK_QUERY_TYPE_OCCLUSION";
397                 case VK_QUERY_TYPE_PIPELINE_STATISTICS: return "VK_QUERY_TYPE_PIPELINE_STATISTICS";
398                 case VK_QUERY_TYPE_TIMESTAMP:                   return "VK_QUERY_TYPE_TIMESTAMP";
399                 default:                                                                return DE_NULL;
400         }
401 }
402
403 const char* getSharingModeName (VkSharingMode value)
404 {
405         switch (value)
406         {
407                 case VK_SHARING_MODE_EXCLUSIVE:         return "VK_SHARING_MODE_EXCLUSIVE";
408                 case VK_SHARING_MODE_CONCURRENT:        return "VK_SHARING_MODE_CONCURRENT";
409                 default:                                                        return DE_NULL;
410         }
411 }
412
413 const char* getImageLayoutName (VkImageLayout value)
414 {
415         switch (value)
416         {
417                 case VK_IMAGE_LAYOUT_UNDEFINED:                                                 return "VK_IMAGE_LAYOUT_UNDEFINED";
418                 case VK_IMAGE_LAYOUT_GENERAL:                                                   return "VK_IMAGE_LAYOUT_GENERAL";
419                 case VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL:                  return "VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL";
420                 case VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL:  return "VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL";
421                 case VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL:   return "VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL";
422                 case VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL:                  return "VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL";
423                 case VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL:                              return "VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL";
424                 case VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL:                              return "VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL";
425                 case VK_IMAGE_LAYOUT_PREINITIALIZED:                                    return "VK_IMAGE_LAYOUT_PREINITIALIZED";
426                 case VK_IMAGE_LAYOUT_PRESENT_SRC_KHR:                                   return "VK_IMAGE_LAYOUT_PRESENT_SRC_KHR";
427                 default:                                                                                                return DE_NULL;
428         }
429 }
430
431 const char* getImageViewTypeName (VkImageViewType value)
432 {
433         switch (value)
434         {
435                 case VK_IMAGE_VIEW_TYPE_1D:                     return "VK_IMAGE_VIEW_TYPE_1D";
436                 case VK_IMAGE_VIEW_TYPE_2D:                     return "VK_IMAGE_VIEW_TYPE_2D";
437                 case VK_IMAGE_VIEW_TYPE_3D:                     return "VK_IMAGE_VIEW_TYPE_3D";
438                 case VK_IMAGE_VIEW_TYPE_CUBE:           return "VK_IMAGE_VIEW_TYPE_CUBE";
439                 case VK_IMAGE_VIEW_TYPE_1D_ARRAY:       return "VK_IMAGE_VIEW_TYPE_1D_ARRAY";
440                 case VK_IMAGE_VIEW_TYPE_2D_ARRAY:       return "VK_IMAGE_VIEW_TYPE_2D_ARRAY";
441                 case VK_IMAGE_VIEW_TYPE_CUBE_ARRAY:     return "VK_IMAGE_VIEW_TYPE_CUBE_ARRAY";
442                 default:                                                        return DE_NULL;
443         }
444 }
445
446 const char* getComponentSwizzleName (VkComponentSwizzle value)
447 {
448         switch (value)
449         {
450                 case VK_COMPONENT_SWIZZLE_IDENTITY:     return "VK_COMPONENT_SWIZZLE_IDENTITY";
451                 case VK_COMPONENT_SWIZZLE_ZERO:         return "VK_COMPONENT_SWIZZLE_ZERO";
452                 case VK_COMPONENT_SWIZZLE_ONE:          return "VK_COMPONENT_SWIZZLE_ONE";
453                 case VK_COMPONENT_SWIZZLE_R:            return "VK_COMPONENT_SWIZZLE_R";
454                 case VK_COMPONENT_SWIZZLE_G:            return "VK_COMPONENT_SWIZZLE_G";
455                 case VK_COMPONENT_SWIZZLE_B:            return "VK_COMPONENT_SWIZZLE_B";
456                 case VK_COMPONENT_SWIZZLE_A:            return "VK_COMPONENT_SWIZZLE_A";
457                 default:                                                        return DE_NULL;
458         }
459 }
460
461 const char* getVertexInputRateName (VkVertexInputRate value)
462 {
463         switch (value)
464         {
465                 case VK_VERTEX_INPUT_RATE_VERTEX:       return "VK_VERTEX_INPUT_RATE_VERTEX";
466                 case VK_VERTEX_INPUT_RATE_INSTANCE:     return "VK_VERTEX_INPUT_RATE_INSTANCE";
467                 default:                                                        return DE_NULL;
468         }
469 }
470
471 const char* getPrimitiveTopologyName (VkPrimitiveTopology value)
472 {
473         switch (value)
474         {
475                 case VK_PRIMITIVE_TOPOLOGY_POINT_LIST:                                          return "VK_PRIMITIVE_TOPOLOGY_POINT_LIST";
476                 case VK_PRIMITIVE_TOPOLOGY_LINE_LIST:                                           return "VK_PRIMITIVE_TOPOLOGY_LINE_LIST";
477                 case VK_PRIMITIVE_TOPOLOGY_LINE_STRIP:                                          return "VK_PRIMITIVE_TOPOLOGY_LINE_STRIP";
478                 case VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST:                                       return "VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST";
479                 case VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP:                                      return "VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP";
480                 case VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN:                                        return "VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN";
481                 case VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY:            return "VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY";
482                 case VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY:           return "VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY";
483                 case VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY:        return "VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY";
484                 case VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY:       return "VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY";
485                 case VK_PRIMITIVE_TOPOLOGY_PATCH_LIST:                                          return "VK_PRIMITIVE_TOPOLOGY_PATCH_LIST";
486                 default:                                                                                                        return DE_NULL;
487         }
488 }
489
490 const char* getPolygonModeName (VkPolygonMode value)
491 {
492         switch (value)
493         {
494                 case VK_POLYGON_MODE_FILL:      return "VK_POLYGON_MODE_FILL";
495                 case VK_POLYGON_MODE_LINE:      return "VK_POLYGON_MODE_LINE";
496                 case VK_POLYGON_MODE_POINT:     return "VK_POLYGON_MODE_POINT";
497                 default:                                        return DE_NULL;
498         }
499 }
500
501 const char* getFrontFaceName (VkFrontFace value)
502 {
503         switch (value)
504         {
505                 case VK_FRONT_FACE_COUNTER_CLOCKWISE:   return "VK_FRONT_FACE_COUNTER_CLOCKWISE";
506                 case VK_FRONT_FACE_CLOCKWISE:                   return "VK_FRONT_FACE_CLOCKWISE";
507                 default:                                                                return DE_NULL;
508         }
509 }
510
511 const char* getCompareOpName (VkCompareOp value)
512 {
513         switch (value)
514         {
515                 case VK_COMPARE_OP_NEVER:                               return "VK_COMPARE_OP_NEVER";
516                 case VK_COMPARE_OP_LESS:                                return "VK_COMPARE_OP_LESS";
517                 case VK_COMPARE_OP_EQUAL:                               return "VK_COMPARE_OP_EQUAL";
518                 case VK_COMPARE_OP_LESS_OR_EQUAL:               return "VK_COMPARE_OP_LESS_OR_EQUAL";
519                 case VK_COMPARE_OP_GREATER:                             return "VK_COMPARE_OP_GREATER";
520                 case VK_COMPARE_OP_NOT_EQUAL:                   return "VK_COMPARE_OP_NOT_EQUAL";
521                 case VK_COMPARE_OP_GREATER_OR_EQUAL:    return "VK_COMPARE_OP_GREATER_OR_EQUAL";
522                 case VK_COMPARE_OP_ALWAYS:                              return "VK_COMPARE_OP_ALWAYS";
523                 default:                                                                return DE_NULL;
524         }
525 }
526
527 const char* getStencilOpName (VkStencilOp value)
528 {
529         switch (value)
530         {
531                 case VK_STENCIL_OP_KEEP:                                return "VK_STENCIL_OP_KEEP";
532                 case VK_STENCIL_OP_ZERO:                                return "VK_STENCIL_OP_ZERO";
533                 case VK_STENCIL_OP_REPLACE:                             return "VK_STENCIL_OP_REPLACE";
534                 case VK_STENCIL_OP_INCREMENT_AND_CLAMP: return "VK_STENCIL_OP_INCREMENT_AND_CLAMP";
535                 case VK_STENCIL_OP_DECREMENT_AND_CLAMP: return "VK_STENCIL_OP_DECREMENT_AND_CLAMP";
536                 case VK_STENCIL_OP_INVERT:                              return "VK_STENCIL_OP_INVERT";
537                 case VK_STENCIL_OP_INCREMENT_AND_WRAP:  return "VK_STENCIL_OP_INCREMENT_AND_WRAP";
538                 case VK_STENCIL_OP_DECREMENT_AND_WRAP:  return "VK_STENCIL_OP_DECREMENT_AND_WRAP";
539                 default:                                                                return DE_NULL;
540         }
541 }
542
543 const char* getLogicOpName (VkLogicOp value)
544 {
545         switch (value)
546         {
547                 case VK_LOGIC_OP_CLEAR:                 return "VK_LOGIC_OP_CLEAR";
548                 case VK_LOGIC_OP_AND:                   return "VK_LOGIC_OP_AND";
549                 case VK_LOGIC_OP_AND_REVERSE:   return "VK_LOGIC_OP_AND_REVERSE";
550                 case VK_LOGIC_OP_COPY:                  return "VK_LOGIC_OP_COPY";
551                 case VK_LOGIC_OP_AND_INVERTED:  return "VK_LOGIC_OP_AND_INVERTED";
552                 case VK_LOGIC_OP_NO_OP:                 return "VK_LOGIC_OP_NO_OP";
553                 case VK_LOGIC_OP_XOR:                   return "VK_LOGIC_OP_XOR";
554                 case VK_LOGIC_OP_OR:                    return "VK_LOGIC_OP_OR";
555                 case VK_LOGIC_OP_NOR:                   return "VK_LOGIC_OP_NOR";
556                 case VK_LOGIC_OP_EQUIVALENT:    return "VK_LOGIC_OP_EQUIVALENT";
557                 case VK_LOGIC_OP_INVERT:                return "VK_LOGIC_OP_INVERT";
558                 case VK_LOGIC_OP_OR_REVERSE:    return "VK_LOGIC_OP_OR_REVERSE";
559                 case VK_LOGIC_OP_COPY_INVERTED: return "VK_LOGIC_OP_COPY_INVERTED";
560                 case VK_LOGIC_OP_OR_INVERTED:   return "VK_LOGIC_OP_OR_INVERTED";
561                 case VK_LOGIC_OP_NAND:                  return "VK_LOGIC_OP_NAND";
562                 case VK_LOGIC_OP_SET:                   return "VK_LOGIC_OP_SET";
563                 default:                                                return DE_NULL;
564         }
565 }
566
567 const char* getBlendFactorName (VkBlendFactor value)
568 {
569         switch (value)
570         {
571                 case VK_BLEND_FACTOR_ZERO:                                              return "VK_BLEND_FACTOR_ZERO";
572                 case VK_BLEND_FACTOR_ONE:                                               return "VK_BLEND_FACTOR_ONE";
573                 case VK_BLEND_FACTOR_SRC_COLOR:                                 return "VK_BLEND_FACTOR_SRC_COLOR";
574                 case VK_BLEND_FACTOR_ONE_MINUS_SRC_COLOR:               return "VK_BLEND_FACTOR_ONE_MINUS_SRC_COLOR";
575                 case VK_BLEND_FACTOR_DST_COLOR:                                 return "VK_BLEND_FACTOR_DST_COLOR";
576                 case VK_BLEND_FACTOR_ONE_MINUS_DST_COLOR:               return "VK_BLEND_FACTOR_ONE_MINUS_DST_COLOR";
577                 case VK_BLEND_FACTOR_SRC_ALPHA:                                 return "VK_BLEND_FACTOR_SRC_ALPHA";
578                 case VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA:               return "VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA";
579                 case VK_BLEND_FACTOR_DST_ALPHA:                                 return "VK_BLEND_FACTOR_DST_ALPHA";
580                 case VK_BLEND_FACTOR_ONE_MINUS_DST_ALPHA:               return "VK_BLEND_FACTOR_ONE_MINUS_DST_ALPHA";
581                 case VK_BLEND_FACTOR_CONSTANT_COLOR:                    return "VK_BLEND_FACTOR_CONSTANT_COLOR";
582                 case VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR:  return "VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR";
583                 case VK_BLEND_FACTOR_CONSTANT_ALPHA:                    return "VK_BLEND_FACTOR_CONSTANT_ALPHA";
584                 case VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA:  return "VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA";
585                 case VK_BLEND_FACTOR_SRC_ALPHA_SATURATE:                return "VK_BLEND_FACTOR_SRC_ALPHA_SATURATE";
586                 case VK_BLEND_FACTOR_SRC1_COLOR:                                return "VK_BLEND_FACTOR_SRC1_COLOR";
587                 case VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR:              return "VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR";
588                 case VK_BLEND_FACTOR_SRC1_ALPHA:                                return "VK_BLEND_FACTOR_SRC1_ALPHA";
589                 case VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA:              return "VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA";
590                 default:                                                                                return DE_NULL;
591         }
592 }
593
594 const char* getBlendOpName (VkBlendOp value)
595 {
596         switch (value)
597         {
598                 case VK_BLEND_OP_ADD:                           return "VK_BLEND_OP_ADD";
599                 case VK_BLEND_OP_SUBTRACT:                      return "VK_BLEND_OP_SUBTRACT";
600                 case VK_BLEND_OP_REVERSE_SUBTRACT:      return "VK_BLEND_OP_REVERSE_SUBTRACT";
601                 case VK_BLEND_OP_MIN:                           return "VK_BLEND_OP_MIN";
602                 case VK_BLEND_OP_MAX:                           return "VK_BLEND_OP_MAX";
603                 default:                                                        return DE_NULL;
604         }
605 }
606
607 const char* getDynamicStateName (VkDynamicState value)
608 {
609         switch (value)
610         {
611                 case VK_DYNAMIC_STATE_VIEWPORT:                         return "VK_DYNAMIC_STATE_VIEWPORT";
612                 case VK_DYNAMIC_STATE_SCISSOR:                          return "VK_DYNAMIC_STATE_SCISSOR";
613                 case VK_DYNAMIC_STATE_LINE_WIDTH:                       return "VK_DYNAMIC_STATE_LINE_WIDTH";
614                 case VK_DYNAMIC_STATE_DEPTH_BIAS:                       return "VK_DYNAMIC_STATE_DEPTH_BIAS";
615                 case VK_DYNAMIC_STATE_BLEND_CONSTANTS:          return "VK_DYNAMIC_STATE_BLEND_CONSTANTS";
616                 case VK_DYNAMIC_STATE_DEPTH_BOUNDS:                     return "VK_DYNAMIC_STATE_DEPTH_BOUNDS";
617                 case VK_DYNAMIC_STATE_STENCIL_COMPARE_MASK:     return "VK_DYNAMIC_STATE_STENCIL_COMPARE_MASK";
618                 case VK_DYNAMIC_STATE_STENCIL_WRITE_MASK:       return "VK_DYNAMIC_STATE_STENCIL_WRITE_MASK";
619                 case VK_DYNAMIC_STATE_STENCIL_REFERENCE:        return "VK_DYNAMIC_STATE_STENCIL_REFERENCE";
620                 default:                                                                        return DE_NULL;
621         }
622 }
623
624 const char* getFilterName (VkFilter value)
625 {
626         switch (value)
627         {
628                 case VK_FILTER_NEAREST: return "VK_FILTER_NEAREST";
629                 case VK_FILTER_LINEAR:  return "VK_FILTER_LINEAR";
630                 default:                                return DE_NULL;
631         }
632 }
633
634 const char* getSamplerMipmapModeName (VkSamplerMipmapMode value)
635 {
636         switch (value)
637         {
638                 case VK_SAMPLER_MIPMAP_MODE_NEAREST:    return "VK_SAMPLER_MIPMAP_MODE_NEAREST";
639                 case VK_SAMPLER_MIPMAP_MODE_LINEAR:             return "VK_SAMPLER_MIPMAP_MODE_LINEAR";
640                 default:                                                                return DE_NULL;
641         }
642 }
643
644 const char* getSamplerAddressModeName (VkSamplerAddressMode value)
645 {
646         switch (value)
647         {
648                 case VK_SAMPLER_ADDRESS_MODE_REPEAT:                            return "VK_SAMPLER_ADDRESS_MODE_REPEAT";
649                 case VK_SAMPLER_ADDRESS_MODE_MIRRORED_REPEAT:           return "VK_SAMPLER_ADDRESS_MODE_MIRRORED_REPEAT";
650                 case VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE:                     return "VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE";
651                 case VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER:           return "VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER";
652                 case VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE:      return "VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE";
653                 default:                                                                                        return DE_NULL;
654         }
655 }
656
657 const char* getBorderColorName (VkBorderColor value)
658 {
659         switch (value)
660         {
661                 case VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK:   return "VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK";
662                 case VK_BORDER_COLOR_INT_TRANSPARENT_BLACK:             return "VK_BORDER_COLOR_INT_TRANSPARENT_BLACK";
663                 case VK_BORDER_COLOR_FLOAT_OPAQUE_BLACK:                return "VK_BORDER_COLOR_FLOAT_OPAQUE_BLACK";
664                 case VK_BORDER_COLOR_INT_OPAQUE_BLACK:                  return "VK_BORDER_COLOR_INT_OPAQUE_BLACK";
665                 case VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE:                return "VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE";
666                 case VK_BORDER_COLOR_INT_OPAQUE_WHITE:                  return "VK_BORDER_COLOR_INT_OPAQUE_WHITE";
667                 default:                                                                                return DE_NULL;
668         }
669 }
670
671 const char* getDescriptorTypeName (VkDescriptorType value)
672 {
673         switch (value)
674         {
675                 case VK_DESCRIPTOR_TYPE_SAMPLER:                                return "VK_DESCRIPTOR_TYPE_SAMPLER";
676                 case VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER: return "VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER";
677                 case VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE:                  return "VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE";
678                 case VK_DESCRIPTOR_TYPE_STORAGE_IMAGE:                  return "VK_DESCRIPTOR_TYPE_STORAGE_IMAGE";
679                 case VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER:   return "VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER";
680                 case VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER:   return "VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER";
681                 case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER:                 return "VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER";
682                 case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER:                 return "VK_DESCRIPTOR_TYPE_STORAGE_BUFFER";
683                 case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC: return "VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC";
684                 case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC: return "VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC";
685                 case VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT:               return "VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT";
686                 default:                                                                                return DE_NULL;
687         }
688 }
689
690 const char* getAttachmentLoadOpName (VkAttachmentLoadOp value)
691 {
692         switch (value)
693         {
694                 case VK_ATTACHMENT_LOAD_OP_LOAD:                return "VK_ATTACHMENT_LOAD_OP_LOAD";
695                 case VK_ATTACHMENT_LOAD_OP_CLEAR:               return "VK_ATTACHMENT_LOAD_OP_CLEAR";
696                 case VK_ATTACHMENT_LOAD_OP_DONT_CARE:   return "VK_ATTACHMENT_LOAD_OP_DONT_CARE";
697                 default:                                                                return DE_NULL;
698         }
699 }
700
701 const char* getAttachmentStoreOpName (VkAttachmentStoreOp value)
702 {
703         switch (value)
704         {
705                 case VK_ATTACHMENT_STORE_OP_STORE:              return "VK_ATTACHMENT_STORE_OP_STORE";
706                 case VK_ATTACHMENT_STORE_OP_DONT_CARE:  return "VK_ATTACHMENT_STORE_OP_DONT_CARE";
707                 default:                                                                return DE_NULL;
708         }
709 }
710
711 const char* getPipelineBindPointName (VkPipelineBindPoint value)
712 {
713         switch (value)
714         {
715                 case VK_PIPELINE_BIND_POINT_GRAPHICS:   return "VK_PIPELINE_BIND_POINT_GRAPHICS";
716                 case VK_PIPELINE_BIND_POINT_COMPUTE:    return "VK_PIPELINE_BIND_POINT_COMPUTE";
717                 default:                                                                return DE_NULL;
718         }
719 }
720
721 const char* getCommandBufferLevelName (VkCommandBufferLevel value)
722 {
723         switch (value)
724         {
725                 case VK_COMMAND_BUFFER_LEVEL_PRIMARY:   return "VK_COMMAND_BUFFER_LEVEL_PRIMARY";
726                 case VK_COMMAND_BUFFER_LEVEL_SECONDARY: return "VK_COMMAND_BUFFER_LEVEL_SECONDARY";
727                 default:                                                                return DE_NULL;
728         }
729 }
730
731 const char* getIndexTypeName (VkIndexType value)
732 {
733         switch (value)
734         {
735                 case VK_INDEX_TYPE_UINT16:      return "VK_INDEX_TYPE_UINT16";
736                 case VK_INDEX_TYPE_UINT32:      return "VK_INDEX_TYPE_UINT32";
737                 default:                                        return DE_NULL;
738         }
739 }
740
741 const char* getSubpassContentsName (VkSubpassContents value)
742 {
743         switch (value)
744         {
745                 case VK_SUBPASS_CONTENTS_INLINE:                                        return "VK_SUBPASS_CONTENTS_INLINE";
746                 case VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS:     return "VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS";
747                 default:                                                                                        return DE_NULL;
748         }
749 }
750
751 const char* getColorSpaceKHRName (VkColorSpaceKHR value)
752 {
753         switch (value)
754         {
755                 case VK_COLORSPACE_SRGB_NONLINEAR_KHR:  return "VK_COLORSPACE_SRGB_NONLINEAR_KHR";
756                 default:                                                                return DE_NULL;
757         }
758 }
759
760 const char* getPresentModeKHRName (VkPresentModeKHR value)
761 {
762         switch (value)
763         {
764                 case VK_PRESENT_MODE_IMMEDIATE_KHR:             return "VK_PRESENT_MODE_IMMEDIATE_KHR";
765                 case VK_PRESENT_MODE_MAILBOX_KHR:               return "VK_PRESENT_MODE_MAILBOX_KHR";
766                 case VK_PRESENT_MODE_FIFO_KHR:                  return "VK_PRESENT_MODE_FIFO_KHR";
767                 case VK_PRESENT_MODE_FIFO_RELAXED_KHR:  return "VK_PRESENT_MODE_FIFO_RELAXED_KHR";
768                 default:                                                                return DE_NULL;
769         }
770 }
771
772 tcu::Format::Bitfield<32> getFormatFeatureFlagsStr (VkFormatFeatureFlags value)
773 {
774         static const tcu::Format::BitDesc s_desc[] =
775         {
776                 tcu::Format::BitDesc(VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT,                               "VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT"),
777                 tcu::Format::BitDesc(VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT,                               "VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT"),
778                 tcu::Format::BitDesc(VK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT,                "VK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT"),
779                 tcu::Format::BitDesc(VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT,                "VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT"),
780                 tcu::Format::BitDesc(VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT,                "VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT"),
781                 tcu::Format::BitDesc(VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT, "VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT"),
782                 tcu::Format::BitDesc(VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT,                               "VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT"),
783                 tcu::Format::BitDesc(VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT,                    "VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT"),
784                 tcu::Format::BitDesc(VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT,              "VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT"),
785                 tcu::Format::BitDesc(VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT,    "VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT"),
786                 tcu::Format::BitDesc(VK_FORMAT_FEATURE_BLIT_SRC_BIT,                                    "VK_FORMAT_FEATURE_BLIT_SRC_BIT"),
787                 tcu::Format::BitDesc(VK_FORMAT_FEATURE_BLIT_DST_BIT,                                    "VK_FORMAT_FEATURE_BLIT_DST_BIT"),
788         };
789         return tcu::Format::Bitfield<32>(value, DE_ARRAY_BEGIN(s_desc), DE_ARRAY_END(s_desc));
790 }
791
792 tcu::Format::Bitfield<32> getImageUsageFlagsStr (VkImageUsageFlags value)
793 {
794         static const tcu::Format::BitDesc s_desc[] =
795         {
796                 tcu::Format::BitDesc(VK_IMAGE_USAGE_TRANSFER_SRC_BIT,                           "VK_IMAGE_USAGE_TRANSFER_SRC_BIT"),
797                 tcu::Format::BitDesc(VK_IMAGE_USAGE_TRANSFER_DST_BIT,                           "VK_IMAGE_USAGE_TRANSFER_DST_BIT"),
798                 tcu::Format::BitDesc(VK_IMAGE_USAGE_SAMPLED_BIT,                                        "VK_IMAGE_USAGE_SAMPLED_BIT"),
799                 tcu::Format::BitDesc(VK_IMAGE_USAGE_STORAGE_BIT,                                        "VK_IMAGE_USAGE_STORAGE_BIT"),
800                 tcu::Format::BitDesc(VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT,                       "VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT"),
801                 tcu::Format::BitDesc(VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT,       "VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT"),
802                 tcu::Format::BitDesc(VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT,           "VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT"),
803                 tcu::Format::BitDesc(VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT,                       "VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT"),
804         };
805         return tcu::Format::Bitfield<32>(value, DE_ARRAY_BEGIN(s_desc), DE_ARRAY_END(s_desc));
806 }
807
808 tcu::Format::Bitfield<32> getImageCreateFlagsStr (VkImageCreateFlags value)
809 {
810         static const tcu::Format::BitDesc s_desc[] =
811         {
812                 tcu::Format::BitDesc(VK_IMAGE_CREATE_SPARSE_BINDING_BIT,        "VK_IMAGE_CREATE_SPARSE_BINDING_BIT"),
813                 tcu::Format::BitDesc(VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT,      "VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT"),
814                 tcu::Format::BitDesc(VK_IMAGE_CREATE_SPARSE_ALIASED_BIT,        "VK_IMAGE_CREATE_SPARSE_ALIASED_BIT"),
815                 tcu::Format::BitDesc(VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT,        "VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT"),
816                 tcu::Format::BitDesc(VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT,       "VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT"),
817         };
818         return tcu::Format::Bitfield<32>(value, DE_ARRAY_BEGIN(s_desc), DE_ARRAY_END(s_desc));
819 }
820
821 tcu::Format::Bitfield<32> getSampleCountFlagsStr (VkSampleCountFlags value)
822 {
823         static const tcu::Format::BitDesc s_desc[] =
824         {
825                 tcu::Format::BitDesc(VK_SAMPLE_COUNT_1_BIT,             "VK_SAMPLE_COUNT_1_BIT"),
826                 tcu::Format::BitDesc(VK_SAMPLE_COUNT_2_BIT,             "VK_SAMPLE_COUNT_2_BIT"),
827                 tcu::Format::BitDesc(VK_SAMPLE_COUNT_4_BIT,             "VK_SAMPLE_COUNT_4_BIT"),
828                 tcu::Format::BitDesc(VK_SAMPLE_COUNT_8_BIT,             "VK_SAMPLE_COUNT_8_BIT"),
829                 tcu::Format::BitDesc(VK_SAMPLE_COUNT_16_BIT,    "VK_SAMPLE_COUNT_16_BIT"),
830                 tcu::Format::BitDesc(VK_SAMPLE_COUNT_32_BIT,    "VK_SAMPLE_COUNT_32_BIT"),
831                 tcu::Format::BitDesc(VK_SAMPLE_COUNT_64_BIT,    "VK_SAMPLE_COUNT_64_BIT"),
832         };
833         return tcu::Format::Bitfield<32>(value, DE_ARRAY_BEGIN(s_desc), DE_ARRAY_END(s_desc));
834 }
835
836 tcu::Format::Bitfield<32> getQueueFlagsStr (VkQueueFlags value)
837 {
838         static const tcu::Format::BitDesc s_desc[] =
839         {
840                 tcu::Format::BitDesc(VK_QUEUE_GRAPHICS_BIT,                     "VK_QUEUE_GRAPHICS_BIT"),
841                 tcu::Format::BitDesc(VK_QUEUE_COMPUTE_BIT,                      "VK_QUEUE_COMPUTE_BIT"),
842                 tcu::Format::BitDesc(VK_QUEUE_TRANSFER_BIT,                     "VK_QUEUE_TRANSFER_BIT"),
843                 tcu::Format::BitDesc(VK_QUEUE_SPARSE_BINDING_BIT,       "VK_QUEUE_SPARSE_BINDING_BIT"),
844         };
845         return tcu::Format::Bitfield<32>(value, DE_ARRAY_BEGIN(s_desc), DE_ARRAY_END(s_desc));
846 }
847
848 tcu::Format::Bitfield<32> getMemoryPropertyFlagsStr (VkMemoryPropertyFlags value)
849 {
850         static const tcu::Format::BitDesc s_desc[] =
851         {
852                 tcu::Format::BitDesc(VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT,               "VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT"),
853                 tcu::Format::BitDesc(VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT,               "VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT"),
854                 tcu::Format::BitDesc(VK_MEMORY_PROPERTY_HOST_COHERENT_BIT,              "VK_MEMORY_PROPERTY_HOST_COHERENT_BIT"),
855                 tcu::Format::BitDesc(VK_MEMORY_PROPERTY_HOST_CACHED_BIT,                "VK_MEMORY_PROPERTY_HOST_CACHED_BIT"),
856                 tcu::Format::BitDesc(VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT,   "VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT"),
857         };
858         return tcu::Format::Bitfield<32>(value, DE_ARRAY_BEGIN(s_desc), DE_ARRAY_END(s_desc));
859 }
860
861 tcu::Format::Bitfield<32> getMemoryHeapFlagsStr (VkMemoryHeapFlags value)
862 {
863         static const tcu::Format::BitDesc s_desc[] =
864         {
865                 tcu::Format::BitDesc(VK_MEMORY_HEAP_DEVICE_LOCAL_BIT,   "VK_MEMORY_HEAP_DEVICE_LOCAL_BIT"),
866         };
867         return tcu::Format::Bitfield<32>(value, DE_ARRAY_BEGIN(s_desc), DE_ARRAY_END(s_desc));
868 }
869
870 tcu::Format::Bitfield<32> getPipelineStageFlagsStr (VkPipelineStageFlags value)
871 {
872         static const tcu::Format::BitDesc s_desc[] =
873         {
874                 tcu::Format::BitDesc(VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT,                                         "VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT"),
875                 tcu::Format::BitDesc(VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT,                                       "VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT"),
876                 tcu::Format::BitDesc(VK_PIPELINE_STAGE_VERTEX_INPUT_BIT,                                        "VK_PIPELINE_STAGE_VERTEX_INPUT_BIT"),
877                 tcu::Format::BitDesc(VK_PIPELINE_STAGE_VERTEX_SHADER_BIT,                                       "VK_PIPELINE_STAGE_VERTEX_SHADER_BIT"),
878                 tcu::Format::BitDesc(VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT,         "VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT"),
879                 tcu::Format::BitDesc(VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT,      "VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT"),
880                 tcu::Format::BitDesc(VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT,                                     "VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT"),
881                 tcu::Format::BitDesc(VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT,                                     "VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT"),
882                 tcu::Format::BitDesc(VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT,                        "VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT"),
883                 tcu::Format::BitDesc(VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT,                         "VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT"),
884                 tcu::Format::BitDesc(VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT,                     "VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT"),
885                 tcu::Format::BitDesc(VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT,                                      "VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT"),
886                 tcu::Format::BitDesc(VK_PIPELINE_STAGE_TRANSFER_BIT,                                            "VK_PIPELINE_STAGE_TRANSFER_BIT"),
887                 tcu::Format::BitDesc(VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT,                                      "VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT"),
888                 tcu::Format::BitDesc(VK_PIPELINE_STAGE_HOST_BIT,                                                        "VK_PIPELINE_STAGE_HOST_BIT"),
889                 tcu::Format::BitDesc(VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT,                                        "VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT"),
890                 tcu::Format::BitDesc(VK_PIPELINE_STAGE_ALL_COMMANDS_BIT,                                        "VK_PIPELINE_STAGE_ALL_COMMANDS_BIT"),
891         };
892         return tcu::Format::Bitfield<32>(value, DE_ARRAY_BEGIN(s_desc), DE_ARRAY_END(s_desc));
893 }
894
895 tcu::Format::Bitfield<32> getImageAspectFlagsStr (VkImageAspectFlags value)
896 {
897         static const tcu::Format::BitDesc s_desc[] =
898         {
899                 tcu::Format::BitDesc(VK_IMAGE_ASPECT_COLOR_BIT,         "VK_IMAGE_ASPECT_COLOR_BIT"),
900                 tcu::Format::BitDesc(VK_IMAGE_ASPECT_DEPTH_BIT,         "VK_IMAGE_ASPECT_DEPTH_BIT"),
901                 tcu::Format::BitDesc(VK_IMAGE_ASPECT_STENCIL_BIT,       "VK_IMAGE_ASPECT_STENCIL_BIT"),
902                 tcu::Format::BitDesc(VK_IMAGE_ASPECT_METADATA_BIT,      "VK_IMAGE_ASPECT_METADATA_BIT"),
903         };
904         return tcu::Format::Bitfield<32>(value, DE_ARRAY_BEGIN(s_desc), DE_ARRAY_END(s_desc));
905 }
906
907 tcu::Format::Bitfield<32> getSparseImageFormatFlagsStr (VkSparseImageFormatFlags value)
908 {
909         static const tcu::Format::BitDesc s_desc[] =
910         {
911                 tcu::Format::BitDesc(VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT,                 "VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT"),
912                 tcu::Format::BitDesc(VK_SPARSE_IMAGE_FORMAT_ALIGNED_MIP_SIZE_BIT,               "VK_SPARSE_IMAGE_FORMAT_ALIGNED_MIP_SIZE_BIT"),
913                 tcu::Format::BitDesc(VK_SPARSE_IMAGE_FORMAT_NONSTANDARD_BLOCK_SIZE_BIT, "VK_SPARSE_IMAGE_FORMAT_NONSTANDARD_BLOCK_SIZE_BIT"),
914         };
915         return tcu::Format::Bitfield<32>(value, DE_ARRAY_BEGIN(s_desc), DE_ARRAY_END(s_desc));
916 }
917
918 tcu::Format::Bitfield<32> getSparseMemoryBindFlagsStr (VkSparseMemoryBindFlags value)
919 {
920         static const tcu::Format::BitDesc s_desc[] =
921         {
922                 tcu::Format::BitDesc(VK_SPARSE_MEMORY_BIND_METADATA_BIT,        "VK_SPARSE_MEMORY_BIND_METADATA_BIT"),
923         };
924         return tcu::Format::Bitfield<32>(value, DE_ARRAY_BEGIN(s_desc), DE_ARRAY_END(s_desc));
925 }
926
927 tcu::Format::Bitfield<32> getFenceCreateFlagsStr (VkFenceCreateFlags value)
928 {
929         static const tcu::Format::BitDesc s_desc[] =
930         {
931                 tcu::Format::BitDesc(VK_FENCE_CREATE_SIGNALED_BIT,      "VK_FENCE_CREATE_SIGNALED_BIT"),
932         };
933         return tcu::Format::Bitfield<32>(value, DE_ARRAY_BEGIN(s_desc), DE_ARRAY_END(s_desc));
934 }
935
936 tcu::Format::Bitfield<32> getQueryPipelineStatisticFlagsStr (VkQueryPipelineStatisticFlags value)
937 {
938         static const tcu::Format::BitDesc s_desc[] =
939         {
940                 tcu::Format::BitDesc(VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT,                                           "VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT"),
941                 tcu::Format::BitDesc(VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT,                                         "VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT"),
942                 tcu::Format::BitDesc(VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT,                                         "VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT"),
943                 tcu::Format::BitDesc(VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT,                                       "VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT"),
944                 tcu::Format::BitDesc(VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT,                                        "VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT"),
945                 tcu::Format::BitDesc(VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT,                                                      "VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT"),
946                 tcu::Format::BitDesc(VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT,                                                       "VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT"),
947                 tcu::Format::BitDesc(VK_QUERY_PIPELINE_STATISTIC_FRAGMENT_SHADER_INVOCATIONS_BIT,                                       "VK_QUERY_PIPELINE_STATISTIC_FRAGMENT_SHADER_INVOCATIONS_BIT"),
948                 tcu::Format::BitDesc(VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT,                       "VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT"),
949                 tcu::Format::BitDesc(VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT,        "VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT"),
950                 tcu::Format::BitDesc(VK_QUERY_PIPELINE_STATISTIC_COMPUTE_SHADER_INVOCATIONS_BIT,                                        "VK_QUERY_PIPELINE_STATISTIC_COMPUTE_SHADER_INVOCATIONS_BIT"),
951         };
952         return tcu::Format::Bitfield<32>(value, DE_ARRAY_BEGIN(s_desc), DE_ARRAY_END(s_desc));
953 }
954
955 tcu::Format::Bitfield<32> getQueryResultFlagsStr (VkQueryResultFlags value)
956 {
957         static const tcu::Format::BitDesc s_desc[] =
958         {
959                 tcu::Format::BitDesc(VK_QUERY_RESULT_64_BIT,                            "VK_QUERY_RESULT_64_BIT"),
960                 tcu::Format::BitDesc(VK_QUERY_RESULT_WAIT_BIT,                          "VK_QUERY_RESULT_WAIT_BIT"),
961                 tcu::Format::BitDesc(VK_QUERY_RESULT_WITH_AVAILABILITY_BIT,     "VK_QUERY_RESULT_WITH_AVAILABILITY_BIT"),
962                 tcu::Format::BitDesc(VK_QUERY_RESULT_PARTIAL_BIT,                       "VK_QUERY_RESULT_PARTIAL_BIT"),
963         };
964         return tcu::Format::Bitfield<32>(value, DE_ARRAY_BEGIN(s_desc), DE_ARRAY_END(s_desc));
965 }
966
967 tcu::Format::Bitfield<32> getBufferCreateFlagsStr (VkBufferCreateFlags value)
968 {
969         static const tcu::Format::BitDesc s_desc[] =
970         {
971                 tcu::Format::BitDesc(VK_BUFFER_CREATE_SPARSE_BINDING_BIT,       "VK_BUFFER_CREATE_SPARSE_BINDING_BIT"),
972                 tcu::Format::BitDesc(VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT,     "VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT"),
973                 tcu::Format::BitDesc(VK_BUFFER_CREATE_SPARSE_ALIASED_BIT,       "VK_BUFFER_CREATE_SPARSE_ALIASED_BIT"),
974         };
975         return tcu::Format::Bitfield<32>(value, DE_ARRAY_BEGIN(s_desc), DE_ARRAY_END(s_desc));
976 }
977
978 tcu::Format::Bitfield<32> getBufferUsageFlagsStr (VkBufferUsageFlags value)
979 {
980         static const tcu::Format::BitDesc s_desc[] =
981         {
982                 tcu::Format::BitDesc(VK_BUFFER_USAGE_TRANSFER_SRC_BIT,                  "VK_BUFFER_USAGE_TRANSFER_SRC_BIT"),
983                 tcu::Format::BitDesc(VK_BUFFER_USAGE_TRANSFER_DST_BIT,                  "VK_BUFFER_USAGE_TRANSFER_DST_BIT"),
984                 tcu::Format::BitDesc(VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT,  "VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT"),
985                 tcu::Format::BitDesc(VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT,  "VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT"),
986                 tcu::Format::BitDesc(VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT,                "VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT"),
987                 tcu::Format::BitDesc(VK_BUFFER_USAGE_STORAGE_BUFFER_BIT,                "VK_BUFFER_USAGE_STORAGE_BUFFER_BIT"),
988                 tcu::Format::BitDesc(VK_BUFFER_USAGE_INDEX_BUFFER_BIT,                  "VK_BUFFER_USAGE_INDEX_BUFFER_BIT"),
989                 tcu::Format::BitDesc(VK_BUFFER_USAGE_VERTEX_BUFFER_BIT,                 "VK_BUFFER_USAGE_VERTEX_BUFFER_BIT"),
990                 tcu::Format::BitDesc(VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT,               "VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT"),
991         };
992         return tcu::Format::Bitfield<32>(value, DE_ARRAY_BEGIN(s_desc), DE_ARRAY_END(s_desc));
993 }
994
995 tcu::Format::Bitfield<32> getPipelineCreateFlagsStr (VkPipelineCreateFlags value)
996 {
997         static const tcu::Format::BitDesc s_desc[] =
998         {
999                 tcu::Format::BitDesc(VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT,       "VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT"),
1000                 tcu::Format::BitDesc(VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT,          "VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT"),
1001                 tcu::Format::BitDesc(VK_PIPELINE_CREATE_DERIVATIVE_BIT,                         "VK_PIPELINE_CREATE_DERIVATIVE_BIT"),
1002         };
1003         return tcu::Format::Bitfield<32>(value, DE_ARRAY_BEGIN(s_desc), DE_ARRAY_END(s_desc));
1004 }
1005
1006 tcu::Format::Bitfield<32> getShaderStageFlagsStr (VkShaderStageFlags value)
1007 {
1008         static const tcu::Format::BitDesc s_desc[] =
1009         {
1010                 tcu::Format::BitDesc(VK_SHADER_STAGE_VERTEX_BIT,                                        "VK_SHADER_STAGE_VERTEX_BIT"),
1011                 tcu::Format::BitDesc(VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,          "VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT"),
1012                 tcu::Format::BitDesc(VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT,       "VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT"),
1013                 tcu::Format::BitDesc(VK_SHADER_STAGE_GEOMETRY_BIT,                                      "VK_SHADER_STAGE_GEOMETRY_BIT"),
1014                 tcu::Format::BitDesc(VK_SHADER_STAGE_FRAGMENT_BIT,                                      "VK_SHADER_STAGE_FRAGMENT_BIT"),
1015                 tcu::Format::BitDesc(VK_SHADER_STAGE_COMPUTE_BIT,                                       "VK_SHADER_STAGE_COMPUTE_BIT"),
1016                 tcu::Format::BitDesc(VK_SHADER_STAGE_ALL_GRAPHICS,                                      "VK_SHADER_STAGE_ALL_GRAPHICS"),
1017                 tcu::Format::BitDesc(VK_SHADER_STAGE_ALL,                                                       "VK_SHADER_STAGE_ALL"),
1018         };
1019         return tcu::Format::Bitfield<32>(value, DE_ARRAY_BEGIN(s_desc), DE_ARRAY_END(s_desc));
1020 }
1021
1022 tcu::Format::Bitfield<32> getCullModeFlagsStr (VkCullModeFlags value)
1023 {
1024         static const tcu::Format::BitDesc s_desc[] =
1025         {
1026                 tcu::Format::BitDesc(VK_CULL_MODE_NONE,                         "VK_CULL_MODE_NONE"),
1027                 tcu::Format::BitDesc(VK_CULL_MODE_FRONT_BIT,            "VK_CULL_MODE_FRONT_BIT"),
1028                 tcu::Format::BitDesc(VK_CULL_MODE_BACK_BIT,                     "VK_CULL_MODE_BACK_BIT"),
1029                 tcu::Format::BitDesc(VK_CULL_MODE_FRONT_AND_BACK,       "VK_CULL_MODE_FRONT_AND_BACK"),
1030         };
1031         return tcu::Format::Bitfield<32>(value, DE_ARRAY_BEGIN(s_desc), DE_ARRAY_END(s_desc));
1032 }
1033
1034 tcu::Format::Bitfield<32> getColorComponentFlagsStr (VkColorComponentFlags value)
1035 {
1036         static const tcu::Format::BitDesc s_desc[] =
1037         {
1038                 tcu::Format::BitDesc(VK_COLOR_COMPONENT_R_BIT,  "VK_COLOR_COMPONENT_R_BIT"),
1039                 tcu::Format::BitDesc(VK_COLOR_COMPONENT_G_BIT,  "VK_COLOR_COMPONENT_G_BIT"),
1040                 tcu::Format::BitDesc(VK_COLOR_COMPONENT_B_BIT,  "VK_COLOR_COMPONENT_B_BIT"),
1041                 tcu::Format::BitDesc(VK_COLOR_COMPONENT_A_BIT,  "VK_COLOR_COMPONENT_A_BIT"),
1042         };
1043         return tcu::Format::Bitfield<32>(value, DE_ARRAY_BEGIN(s_desc), DE_ARRAY_END(s_desc));
1044 }
1045
1046 tcu::Format::Bitfield<32> getDescriptorPoolCreateFlagsStr (VkDescriptorPoolCreateFlags value)
1047 {
1048         static const tcu::Format::BitDesc s_desc[] =
1049         {
1050                 tcu::Format::BitDesc(VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, "VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT"),
1051         };
1052         return tcu::Format::Bitfield<32>(value, DE_ARRAY_BEGIN(s_desc), DE_ARRAY_END(s_desc));
1053 }
1054
1055 tcu::Format::Bitfield<32> getAttachmentDescriptionFlagsStr (VkAttachmentDescriptionFlags value)
1056 {
1057         static const tcu::Format::BitDesc s_desc[] =
1058         {
1059                 tcu::Format::BitDesc(VK_ATTACHMENT_DESCRIPTION_MAY_ALIAS_BIT,   "VK_ATTACHMENT_DESCRIPTION_MAY_ALIAS_BIT"),
1060         };
1061         return tcu::Format::Bitfield<32>(value, DE_ARRAY_BEGIN(s_desc), DE_ARRAY_END(s_desc));
1062 }
1063
1064 tcu::Format::Bitfield<32> getAccessFlagsStr (VkAccessFlags value)
1065 {
1066         static const tcu::Format::BitDesc s_desc[] =
1067         {
1068                 tcu::Format::BitDesc(VK_ACCESS_INDIRECT_COMMAND_READ_BIT,                       "VK_ACCESS_INDIRECT_COMMAND_READ_BIT"),
1069                 tcu::Format::BitDesc(VK_ACCESS_INDEX_READ_BIT,                                          "VK_ACCESS_INDEX_READ_BIT"),
1070                 tcu::Format::BitDesc(VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT,                       "VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT"),
1071                 tcu::Format::BitDesc(VK_ACCESS_UNIFORM_READ_BIT,                                        "VK_ACCESS_UNIFORM_READ_BIT"),
1072                 tcu::Format::BitDesc(VK_ACCESS_INPUT_ATTACHMENT_READ_BIT,                       "VK_ACCESS_INPUT_ATTACHMENT_READ_BIT"),
1073                 tcu::Format::BitDesc(VK_ACCESS_SHADER_READ_BIT,                                         "VK_ACCESS_SHADER_READ_BIT"),
1074                 tcu::Format::BitDesc(VK_ACCESS_SHADER_WRITE_BIT,                                        "VK_ACCESS_SHADER_WRITE_BIT"),
1075                 tcu::Format::BitDesc(VK_ACCESS_COLOR_ATTACHMENT_READ_BIT,                       "VK_ACCESS_COLOR_ATTACHMENT_READ_BIT"),
1076                 tcu::Format::BitDesc(VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT,                      "VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT"),
1077                 tcu::Format::BitDesc(VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT,       "VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT"),
1078                 tcu::Format::BitDesc(VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT,      "VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT"),
1079                 tcu::Format::BitDesc(VK_ACCESS_TRANSFER_READ_BIT,                                       "VK_ACCESS_TRANSFER_READ_BIT"),
1080                 tcu::Format::BitDesc(VK_ACCESS_TRANSFER_WRITE_BIT,                                      "VK_ACCESS_TRANSFER_WRITE_BIT"),
1081                 tcu::Format::BitDesc(VK_ACCESS_HOST_READ_BIT,                                           "VK_ACCESS_HOST_READ_BIT"),
1082                 tcu::Format::BitDesc(VK_ACCESS_HOST_WRITE_BIT,                                          "VK_ACCESS_HOST_WRITE_BIT"),
1083                 tcu::Format::BitDesc(VK_ACCESS_MEMORY_READ_BIT,                                         "VK_ACCESS_MEMORY_READ_BIT"),
1084                 tcu::Format::BitDesc(VK_ACCESS_MEMORY_WRITE_BIT,                                        "VK_ACCESS_MEMORY_WRITE_BIT"),
1085         };
1086         return tcu::Format::Bitfield<32>(value, DE_ARRAY_BEGIN(s_desc), DE_ARRAY_END(s_desc));
1087 }
1088
1089 tcu::Format::Bitfield<32> getDependencyFlagsStr (VkDependencyFlags value)
1090 {
1091         static const tcu::Format::BitDesc s_desc[] =
1092         {
1093                 tcu::Format::BitDesc(VK_DEPENDENCY_BY_REGION_BIT,       "VK_DEPENDENCY_BY_REGION_BIT"),
1094         };
1095         return tcu::Format::Bitfield<32>(value, DE_ARRAY_BEGIN(s_desc), DE_ARRAY_END(s_desc));
1096 }
1097
1098 tcu::Format::Bitfield<32> getCommandPoolCreateFlagsStr (VkCommandPoolCreateFlags value)
1099 {
1100         static const tcu::Format::BitDesc s_desc[] =
1101         {
1102                 tcu::Format::BitDesc(VK_COMMAND_POOL_CREATE_TRANSIENT_BIT,                              "VK_COMMAND_POOL_CREATE_TRANSIENT_BIT"),
1103                 tcu::Format::BitDesc(VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT,   "VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT"),
1104         };
1105         return tcu::Format::Bitfield<32>(value, DE_ARRAY_BEGIN(s_desc), DE_ARRAY_END(s_desc));
1106 }
1107
1108 tcu::Format::Bitfield<32> getCommandPoolResetFlagsStr (VkCommandPoolResetFlags value)
1109 {
1110         static const tcu::Format::BitDesc s_desc[] =
1111         {
1112                 tcu::Format::BitDesc(VK_COMMAND_POOL_RESET_RELEASE_RESOURCES_BIT,       "VK_COMMAND_POOL_RESET_RELEASE_RESOURCES_BIT"),
1113         };
1114         return tcu::Format::Bitfield<32>(value, DE_ARRAY_BEGIN(s_desc), DE_ARRAY_END(s_desc));
1115 }
1116
1117 tcu::Format::Bitfield<32> getCommandBufferUsageFlagsStr (VkCommandBufferUsageFlags value)
1118 {
1119         static const tcu::Format::BitDesc s_desc[] =
1120         {
1121                 tcu::Format::BitDesc(VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT,               "VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT"),
1122                 tcu::Format::BitDesc(VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT,  "VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT"),
1123                 tcu::Format::BitDesc(VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT,              "VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT"),
1124         };
1125         return tcu::Format::Bitfield<32>(value, DE_ARRAY_BEGIN(s_desc), DE_ARRAY_END(s_desc));
1126 }
1127
1128 tcu::Format::Bitfield<32> getQueryControlFlagsStr (VkQueryControlFlags value)
1129 {
1130         static const tcu::Format::BitDesc s_desc[] =
1131         {
1132                 tcu::Format::BitDesc(VK_QUERY_CONTROL_PRECISE_BIT,      "VK_QUERY_CONTROL_PRECISE_BIT"),
1133         };
1134         return tcu::Format::Bitfield<32>(value, DE_ARRAY_BEGIN(s_desc), DE_ARRAY_END(s_desc));
1135 }
1136
1137 tcu::Format::Bitfield<32> getCommandBufferResetFlagsStr (VkCommandBufferResetFlags value)
1138 {
1139         static const tcu::Format::BitDesc s_desc[] =
1140         {
1141                 tcu::Format::BitDesc(VK_COMMAND_BUFFER_RESET_RELEASE_RESOURCES_BIT,     "VK_COMMAND_BUFFER_RESET_RELEASE_RESOURCES_BIT"),
1142         };
1143         return tcu::Format::Bitfield<32>(value, DE_ARRAY_BEGIN(s_desc), DE_ARRAY_END(s_desc));
1144 }
1145
1146 tcu::Format::Bitfield<32> getStencilFaceFlagsStr (VkStencilFaceFlags value)
1147 {
1148         static const tcu::Format::BitDesc s_desc[] =
1149         {
1150                 tcu::Format::BitDesc(VK_STENCIL_FACE_FRONT_BIT, "VK_STENCIL_FACE_FRONT_BIT"),
1151                 tcu::Format::BitDesc(VK_STENCIL_FACE_BACK_BIT,  "VK_STENCIL_FACE_BACK_BIT"),
1152                 tcu::Format::BitDesc(VK_STENCIL_FRONT_AND_BACK, "VK_STENCIL_FRONT_AND_BACK"),
1153         };
1154         return tcu::Format::Bitfield<32>(value, DE_ARRAY_BEGIN(s_desc), DE_ARRAY_END(s_desc));
1155 }
1156
1157 tcu::Format::Bitfield<32> getSurfaceTransformFlagsKHRStr (VkSurfaceTransformFlagsKHR value)
1158 {
1159         static const tcu::Format::BitDesc s_desc[] =
1160         {
1161                 tcu::Format::BitDesc(VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR,                                             "VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR"),
1162                 tcu::Format::BitDesc(VK_SURFACE_TRANSFORM_ROTATE_90_BIT_KHR,                                    "VK_SURFACE_TRANSFORM_ROTATE_90_BIT_KHR"),
1163                 tcu::Format::BitDesc(VK_SURFACE_TRANSFORM_ROTATE_180_BIT_KHR,                                   "VK_SURFACE_TRANSFORM_ROTATE_180_BIT_KHR"),
1164                 tcu::Format::BitDesc(VK_SURFACE_TRANSFORM_ROTATE_270_BIT_KHR,                                   "VK_SURFACE_TRANSFORM_ROTATE_270_BIT_KHR"),
1165                 tcu::Format::BitDesc(VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_BIT_KHR,                    "VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_BIT_KHR"),
1166                 tcu::Format::BitDesc(VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_90_BIT_KHR,  "VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_90_BIT_KHR"),
1167                 tcu::Format::BitDesc(VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_180_BIT_KHR, "VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_180_BIT_KHR"),
1168                 tcu::Format::BitDesc(VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_270_BIT_KHR, "VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_270_BIT_KHR"),
1169                 tcu::Format::BitDesc(VK_SURFACE_TRANSFORM_INHERIT_BIT_KHR,                                              "VK_SURFACE_TRANSFORM_INHERIT_BIT_KHR"),
1170         };
1171         return tcu::Format::Bitfield<32>(value, DE_ARRAY_BEGIN(s_desc), DE_ARRAY_END(s_desc));
1172 }
1173
1174 tcu::Format::Bitfield<32> getCompositeAlphaFlagsKHRStr (VkCompositeAlphaFlagsKHR value)
1175 {
1176         static const tcu::Format::BitDesc s_desc[] =
1177         {
1178                 tcu::Format::BitDesc(VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR,                         "VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR"),
1179                 tcu::Format::BitDesc(VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR,         "VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR"),
1180                 tcu::Format::BitDesc(VK_COMPOSITE_ALPHA_POST_MULTIPLIED_BIT_KHR,        "VK_COMPOSITE_ALPHA_POST_MULTIPLIED_BIT_KHR"),
1181                 tcu::Format::BitDesc(VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR,                        "VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR"),
1182         };
1183         return tcu::Format::Bitfield<32>(value, DE_ARRAY_BEGIN(s_desc), DE_ARRAY_END(s_desc));
1184 }
1185
1186 tcu::Format::Bitfield<32> getDisplayPlaneAlphaFlagsKHRStr (VkDisplayPlaneAlphaFlagsKHR value)
1187 {
1188         static const tcu::Format::BitDesc s_desc[] =
1189         {
1190                 tcu::Format::BitDesc(VK_DISPLAY_PLANE_ALPHA_OPAQUE_BIT_KHR,                                             "VK_DISPLAY_PLANE_ALPHA_OPAQUE_BIT_KHR"),
1191                 tcu::Format::BitDesc(VK_DISPLAY_PLANE_ALPHA_GLOBAL_BIT_KHR,                                             "VK_DISPLAY_PLANE_ALPHA_GLOBAL_BIT_KHR"),
1192                 tcu::Format::BitDesc(VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_BIT_KHR,                                  "VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_BIT_KHR"),
1193                 tcu::Format::BitDesc(VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_PREMULTIPLIED_BIT_KHR,    "VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_PREMULTIPLIED_BIT_KHR"),
1194         };
1195         return tcu::Format::Bitfield<32>(value, DE_ARRAY_BEGIN(s_desc), DE_ARRAY_END(s_desc));
1196 }
1197
1198 tcu::Format::Bitfield<32> getInstanceCreateFlagsStr (VkInstanceCreateFlags value)
1199 {
1200         return tcu::Format::Bitfield<32>(value, DE_NULL, DE_NULL);
1201 }
1202
1203 tcu::Format::Bitfield<32> getDeviceCreateFlagsStr (VkDeviceCreateFlags value)
1204 {
1205         return tcu::Format::Bitfield<32>(value, DE_NULL, DE_NULL);
1206 }
1207
1208 tcu::Format::Bitfield<32> getDeviceQueueCreateFlagsStr (VkDeviceQueueCreateFlags value)
1209 {
1210         return tcu::Format::Bitfield<32>(value, DE_NULL, DE_NULL);
1211 }
1212
1213 tcu::Format::Bitfield<32> getMemoryMapFlagsStr (VkMemoryMapFlags value)
1214 {
1215         return tcu::Format::Bitfield<32>(value, DE_NULL, DE_NULL);
1216 }
1217
1218 tcu::Format::Bitfield<32> getSemaphoreCreateFlagsStr (VkSemaphoreCreateFlags value)
1219 {
1220         return tcu::Format::Bitfield<32>(value, DE_NULL, DE_NULL);
1221 }
1222
1223 tcu::Format::Bitfield<32> getEventCreateFlagsStr (VkEventCreateFlags value)
1224 {
1225         return tcu::Format::Bitfield<32>(value, DE_NULL, DE_NULL);
1226 }
1227
1228 tcu::Format::Bitfield<32> getQueryPoolCreateFlagsStr (VkQueryPoolCreateFlags value)
1229 {
1230         return tcu::Format::Bitfield<32>(value, DE_NULL, DE_NULL);
1231 }
1232
1233 tcu::Format::Bitfield<32> getBufferViewCreateFlagsStr (VkBufferViewCreateFlags value)
1234 {
1235         return tcu::Format::Bitfield<32>(value, DE_NULL, DE_NULL);
1236 }
1237
1238 tcu::Format::Bitfield<32> getImageViewCreateFlagsStr (VkImageViewCreateFlags value)
1239 {
1240         return tcu::Format::Bitfield<32>(value, DE_NULL, DE_NULL);
1241 }
1242
1243 tcu::Format::Bitfield<32> getShaderModuleCreateFlagsStr (VkShaderModuleCreateFlags value)
1244 {
1245         return tcu::Format::Bitfield<32>(value, DE_NULL, DE_NULL);
1246 }
1247
1248 tcu::Format::Bitfield<32> getPipelineCacheCreateFlagsStr (VkPipelineCacheCreateFlags value)
1249 {
1250         return tcu::Format::Bitfield<32>(value, DE_NULL, DE_NULL);
1251 }
1252
1253 tcu::Format::Bitfield<32> getPipelineShaderStageCreateFlagsStr (VkPipelineShaderStageCreateFlags value)
1254 {
1255         return tcu::Format::Bitfield<32>(value, DE_NULL, DE_NULL);
1256 }
1257
1258 tcu::Format::Bitfield<32> getPipelineVertexInputStateCreateFlagsStr (VkPipelineVertexInputStateCreateFlags value)
1259 {
1260         return tcu::Format::Bitfield<32>(value, DE_NULL, DE_NULL);
1261 }
1262
1263 tcu::Format::Bitfield<32> getPipelineInputAssemblyStateCreateFlagsStr (VkPipelineInputAssemblyStateCreateFlags value)
1264 {
1265         return tcu::Format::Bitfield<32>(value, DE_NULL, DE_NULL);
1266 }
1267
1268 tcu::Format::Bitfield<32> getPipelineTessellationStateCreateFlagsStr (VkPipelineTessellationStateCreateFlags value)
1269 {
1270         return tcu::Format::Bitfield<32>(value, DE_NULL, DE_NULL);
1271 }
1272
1273 tcu::Format::Bitfield<32> getPipelineViewportStateCreateFlagsStr (VkPipelineViewportStateCreateFlags value)
1274 {
1275         return tcu::Format::Bitfield<32>(value, DE_NULL, DE_NULL);
1276 }
1277
1278 tcu::Format::Bitfield<32> getPipelineRasterizationStateCreateFlagsStr (VkPipelineRasterizationStateCreateFlags value)
1279 {
1280         return tcu::Format::Bitfield<32>(value, DE_NULL, DE_NULL);
1281 }
1282
1283 tcu::Format::Bitfield<32> getPipelineMultisampleStateCreateFlagsStr (VkPipelineMultisampleStateCreateFlags value)
1284 {
1285         return tcu::Format::Bitfield<32>(value, DE_NULL, DE_NULL);
1286 }
1287
1288 tcu::Format::Bitfield<32> getPipelineDepthStencilStateCreateFlagsStr (VkPipelineDepthStencilStateCreateFlags value)
1289 {
1290         return tcu::Format::Bitfield<32>(value, DE_NULL, DE_NULL);
1291 }
1292
1293 tcu::Format::Bitfield<32> getPipelineColorBlendStateCreateFlagsStr (VkPipelineColorBlendStateCreateFlags value)
1294 {
1295         return tcu::Format::Bitfield<32>(value, DE_NULL, DE_NULL);
1296 }
1297
1298 tcu::Format::Bitfield<32> getPipelineDynamicStateCreateFlagsStr (VkPipelineDynamicStateCreateFlags value)
1299 {
1300         return tcu::Format::Bitfield<32>(value, DE_NULL, DE_NULL);
1301 }
1302
1303 tcu::Format::Bitfield<32> getPipelineLayoutCreateFlagsStr (VkPipelineLayoutCreateFlags value)
1304 {
1305         return tcu::Format::Bitfield<32>(value, DE_NULL, DE_NULL);
1306 }
1307
1308 tcu::Format::Bitfield<32> getSamplerCreateFlagsStr (VkSamplerCreateFlags value)
1309 {
1310         return tcu::Format::Bitfield<32>(value, DE_NULL, DE_NULL);
1311 }
1312
1313 tcu::Format::Bitfield<32> getDescriptorSetLayoutCreateFlagsStr (VkDescriptorSetLayoutCreateFlags value)
1314 {
1315         return tcu::Format::Bitfield<32>(value, DE_NULL, DE_NULL);
1316 }
1317
1318 tcu::Format::Bitfield<32> getDescriptorPoolResetFlagsStr (VkDescriptorPoolResetFlags value)
1319 {
1320         return tcu::Format::Bitfield<32>(value, DE_NULL, DE_NULL);
1321 }
1322
1323 tcu::Format::Bitfield<32> getFramebufferCreateFlagsStr (VkFramebufferCreateFlags value)
1324 {
1325         return tcu::Format::Bitfield<32>(value, DE_NULL, DE_NULL);
1326 }
1327
1328 tcu::Format::Bitfield<32> getRenderPassCreateFlagsStr (VkRenderPassCreateFlags value)
1329 {
1330         return tcu::Format::Bitfield<32>(value, DE_NULL, DE_NULL);
1331 }
1332
1333 tcu::Format::Bitfield<32> getSubpassDescriptionFlagsStr (VkSubpassDescriptionFlags value)
1334 {
1335         return tcu::Format::Bitfield<32>(value, DE_NULL, DE_NULL);
1336 }
1337
1338 tcu::Format::Bitfield<32> getSwapchainCreateFlagsKHRStr (VkSwapchainCreateFlagsKHR value)
1339 {
1340         return tcu::Format::Bitfield<32>(value, DE_NULL, DE_NULL);
1341 }
1342
1343 tcu::Format::Bitfield<32> getDisplayModeCreateFlagsKHRStr (VkDisplayModeCreateFlagsKHR value)
1344 {
1345         return tcu::Format::Bitfield<32>(value, DE_NULL, DE_NULL);
1346 }
1347
1348 tcu::Format::Bitfield<32> getDisplaySurfaceCreateFlagsKHRStr (VkDisplaySurfaceCreateFlagsKHR value)
1349 {
1350         return tcu::Format::Bitfield<32>(value, DE_NULL, DE_NULL);
1351 }
1352
1353 tcu::Format::Bitfield<32> getXlibSurfaceCreateFlagsKHRStr (VkXlibSurfaceCreateFlagsKHR value)
1354 {
1355         return tcu::Format::Bitfield<32>(value, DE_NULL, DE_NULL);
1356 }
1357
1358 tcu::Format::Bitfield<32> getXcbSurfaceCreateFlagsKHRStr (VkXcbSurfaceCreateFlagsKHR value)
1359 {
1360         return tcu::Format::Bitfield<32>(value, DE_NULL, DE_NULL);
1361 }
1362
1363 tcu::Format::Bitfield<32> getWaylandSurfaceCreateFlagsKHRStr (VkWaylandSurfaceCreateFlagsKHR value)
1364 {
1365         return tcu::Format::Bitfield<32>(value, DE_NULL, DE_NULL);
1366 }
1367
1368 tcu::Format::Bitfield<32> getMirSurfaceCreateFlagsKHRStr (VkMirSurfaceCreateFlagsKHR value)
1369 {
1370         return tcu::Format::Bitfield<32>(value, DE_NULL, DE_NULL);
1371 }
1372
1373 tcu::Format::Bitfield<32> getAndroidSurfaceCreateFlagsKHRStr (VkAndroidSurfaceCreateFlagsKHR value)
1374 {
1375         return tcu::Format::Bitfield<32>(value, DE_NULL, DE_NULL);
1376 }
1377
1378 tcu::Format::Bitfield<32> getWin32SurfaceCreateFlagsKHRStr (VkWin32SurfaceCreateFlagsKHR value)
1379 {
1380         return tcu::Format::Bitfield<32>(value, DE_NULL, DE_NULL);
1381 }
1382
1383 std::ostream& operator<< (std::ostream& s, const VkApplicationInfo& value)
1384 {
1385         s << "VkApplicationInfo = {\n";
1386         s << "\tsType = " << value.sType << '\n';
1387         s << "\tpNext = " << value.pNext << '\n';
1388         s << "\tpApplicationName = " << getCharPtrStr(value.pApplicationName) << '\n';
1389         s << "\tapplicationVersion = " << value.applicationVersion << '\n';
1390         s << "\tpEngineName = " << getCharPtrStr(value.pEngineName) << '\n';
1391         s << "\tengineVersion = " << value.engineVersion << '\n';
1392         s << "\tapiVersion = " << value.apiVersion << '\n';
1393         s << '}';
1394         return s;
1395 }
1396
1397 std::ostream& operator<< (std::ostream& s, const VkInstanceCreateInfo& value)
1398 {
1399         s << "VkInstanceCreateInfo = {\n";
1400         s << "\tsType = " << value.sType << '\n';
1401         s << "\tpNext = " << value.pNext << '\n';
1402         s << "\tflags = " << getInstanceCreateFlagsStr(value.flags) << '\n';
1403         s << "\tpApplicationInfo = " << value.pApplicationInfo << '\n';
1404         s << "\tenabledLayerCount = " << value.enabledLayerCount << '\n';
1405         s << "\tppEnabledLayerNames = " << value.ppEnabledLayerNames << '\n';
1406         s << "\tenabledExtensionCount = " << value.enabledExtensionCount << '\n';
1407         s << "\tppEnabledExtensionNames = " << value.ppEnabledExtensionNames << '\n';
1408         s << '}';
1409         return s;
1410 }
1411
1412 std::ostream& operator<< (std::ostream& s, const VkAllocationCallbacks& value)
1413 {
1414         s << "VkAllocationCallbacks = {\n";
1415         s << "\tpUserData = " << value.pUserData << '\n';
1416         s << "\tpfnAllocation = " << value.pfnAllocation << '\n';
1417         s << "\tpfnReallocation = " << value.pfnReallocation << '\n';
1418         s << "\tpfnFree = " << value.pfnFree << '\n';
1419         s << "\tpfnInternalAllocation = " << value.pfnInternalAllocation << '\n';
1420         s << "\tpfnInternalFree = " << value.pfnInternalFree << '\n';
1421         s << '}';
1422         return s;
1423 }
1424
1425 std::ostream& operator<< (std::ostream& s, const VkPhysicalDeviceFeatures& value)
1426 {
1427         s << "VkPhysicalDeviceFeatures = {\n";
1428         s << "\trobustBufferAccess = " << value.robustBufferAccess << '\n';
1429         s << "\tfullDrawIndexUint32 = " << value.fullDrawIndexUint32 << '\n';
1430         s << "\timageCubeArray = " << value.imageCubeArray << '\n';
1431         s << "\tindependentBlend = " << value.independentBlend << '\n';
1432         s << "\tgeometryShader = " << value.geometryShader << '\n';
1433         s << "\ttessellationShader = " << value.tessellationShader << '\n';
1434         s << "\tsampleRateShading = " << value.sampleRateShading << '\n';
1435         s << "\tdualSrcBlend = " << value.dualSrcBlend << '\n';
1436         s << "\tlogicOp = " << value.logicOp << '\n';
1437         s << "\tmultiDrawIndirect = " << value.multiDrawIndirect << '\n';
1438         s << "\tdrawIndirectFirstInstance = " << value.drawIndirectFirstInstance << '\n';
1439         s << "\tdepthClamp = " << value.depthClamp << '\n';
1440         s << "\tdepthBiasClamp = " << value.depthBiasClamp << '\n';
1441         s << "\tfillModeNonSolid = " << value.fillModeNonSolid << '\n';
1442         s << "\tdepthBounds = " << value.depthBounds << '\n';
1443         s << "\twideLines = " << value.wideLines << '\n';
1444         s << "\tlargePoints = " << value.largePoints << '\n';
1445         s << "\talphaToOne = " << value.alphaToOne << '\n';
1446         s << "\tmultiViewport = " << value.multiViewport << '\n';
1447         s << "\tsamplerAnisotropy = " << value.samplerAnisotropy << '\n';
1448         s << "\ttextureCompressionETC2 = " << value.textureCompressionETC2 << '\n';
1449         s << "\ttextureCompressionASTC_LDR = " << value.textureCompressionASTC_LDR << '\n';
1450         s << "\ttextureCompressionBC = " << value.textureCompressionBC << '\n';
1451         s << "\tocclusionQueryPrecise = " << value.occlusionQueryPrecise << '\n';
1452         s << "\tpipelineStatisticsQuery = " << value.pipelineStatisticsQuery << '\n';
1453         s << "\tvertexPipelineStoresAndAtomics = " << value.vertexPipelineStoresAndAtomics << '\n';
1454         s << "\tfragmentStoresAndAtomics = " << value.fragmentStoresAndAtomics << '\n';
1455         s << "\tshaderTessellationAndGeometryPointSize = " << value.shaderTessellationAndGeometryPointSize << '\n';
1456         s << "\tshaderImageGatherExtended = " << value.shaderImageGatherExtended << '\n';
1457         s << "\tshaderStorageImageExtendedFormats = " << value.shaderStorageImageExtendedFormats << '\n';
1458         s << "\tshaderStorageImageMultisample = " << value.shaderStorageImageMultisample << '\n';
1459         s << "\tshaderStorageImageReadWithoutFormat = " << value.shaderStorageImageReadWithoutFormat << '\n';
1460         s << "\tshaderStorageImageWriteWithoutFormat = " << value.shaderStorageImageWriteWithoutFormat << '\n';
1461         s << "\tshaderUniformBufferArrayDynamicIndexing = " << value.shaderUniformBufferArrayDynamicIndexing << '\n';
1462         s << "\tshaderSampledImageArrayDynamicIndexing = " << value.shaderSampledImageArrayDynamicIndexing << '\n';
1463         s << "\tshaderStorageBufferArrayDynamicIndexing = " << value.shaderStorageBufferArrayDynamicIndexing << '\n';
1464         s << "\tshaderStorageImageArrayDynamicIndexing = " << value.shaderStorageImageArrayDynamicIndexing << '\n';
1465         s << "\tshaderClipDistance = " << value.shaderClipDistance << '\n';
1466         s << "\tshaderCullDistance = " << value.shaderCullDistance << '\n';
1467         s << "\tshaderFloat64 = " << value.shaderFloat64 << '\n';
1468         s << "\tshaderInt64 = " << value.shaderInt64 << '\n';
1469         s << "\tshaderInt16 = " << value.shaderInt16 << '\n';
1470         s << "\tshaderResourceResidency = " << value.shaderResourceResidency << '\n';
1471         s << "\tshaderResourceMinLod = " << value.shaderResourceMinLod << '\n';
1472         s << "\tsparseBinding = " << value.sparseBinding << '\n';
1473         s << "\tsparseResidencyBuffer = " << value.sparseResidencyBuffer << '\n';
1474         s << "\tsparseResidencyImage2D = " << value.sparseResidencyImage2D << '\n';
1475         s << "\tsparseResidencyImage3D = " << value.sparseResidencyImage3D << '\n';
1476         s << "\tsparseResidency2Samples = " << value.sparseResidency2Samples << '\n';
1477         s << "\tsparseResidency4Samples = " << value.sparseResidency4Samples << '\n';
1478         s << "\tsparseResidency8Samples = " << value.sparseResidency8Samples << '\n';
1479         s << "\tsparseResidency16Samples = " << value.sparseResidency16Samples << '\n';
1480         s << "\tsparseResidencyAliased = " << value.sparseResidencyAliased << '\n';
1481         s << "\tvariableMultisampleRate = " << value.variableMultisampleRate << '\n';
1482         s << "\tinheritedQueries = " << value.inheritedQueries << '\n';
1483         s << '}';
1484         return s;
1485 }
1486
1487 std::ostream& operator<< (std::ostream& s, const VkFormatProperties& value)
1488 {
1489         s << "VkFormatProperties = {\n";
1490         s << "\tlinearTilingFeatures = " << getFormatFeatureFlagsStr(value.linearTilingFeatures) << '\n';
1491         s << "\toptimalTilingFeatures = " << getFormatFeatureFlagsStr(value.optimalTilingFeatures) << '\n';
1492         s << "\tbufferFeatures = " << getFormatFeatureFlagsStr(value.bufferFeatures) << '\n';
1493         s << '}';
1494         return s;
1495 }
1496
1497 std::ostream& operator<< (std::ostream& s, const VkExtent3D& value)
1498 {
1499         s << "VkExtent3D = {\n";
1500         s << "\twidth = " << value.width << '\n';
1501         s << "\theight = " << value.height << '\n';
1502         s << "\tdepth = " << value.depth << '\n';
1503         s << '}';
1504         return s;
1505 }
1506
1507 std::ostream& operator<< (std::ostream& s, const VkImageFormatProperties& value)
1508 {
1509         s << "VkImageFormatProperties = {\n";
1510         s << "\tmaxExtent = " << value.maxExtent << '\n';
1511         s << "\tmaxMipLevels = " << value.maxMipLevels << '\n';
1512         s << "\tmaxArrayLayers = " << value.maxArrayLayers << '\n';
1513         s << "\tsampleCounts = " << getSampleCountFlagsStr(value.sampleCounts) << '\n';
1514         s << "\tmaxResourceSize = " << value.maxResourceSize << '\n';
1515         s << '}';
1516         return s;
1517 }
1518
1519 std::ostream& operator<< (std::ostream& s, const VkPhysicalDeviceLimits& value)
1520 {
1521         s << "VkPhysicalDeviceLimits = {\n";
1522         s << "\tmaxImageDimension1D = " << value.maxImageDimension1D << '\n';
1523         s << "\tmaxImageDimension2D = " << value.maxImageDimension2D << '\n';
1524         s << "\tmaxImageDimension3D = " << value.maxImageDimension3D << '\n';
1525         s << "\tmaxImageDimensionCube = " << value.maxImageDimensionCube << '\n';
1526         s << "\tmaxImageArrayLayers = " << value.maxImageArrayLayers << '\n';
1527         s << "\tmaxTexelBufferElements = " << value.maxTexelBufferElements << '\n';
1528         s << "\tmaxUniformBufferRange = " << value.maxUniformBufferRange << '\n';
1529         s << "\tmaxStorageBufferRange = " << value.maxStorageBufferRange << '\n';
1530         s << "\tmaxPushConstantsSize = " << value.maxPushConstantsSize << '\n';
1531         s << "\tmaxMemoryAllocationCount = " << value.maxMemoryAllocationCount << '\n';
1532         s << "\tmaxSamplerAllocationCount = " << value.maxSamplerAllocationCount << '\n';
1533         s << "\tbufferImageGranularity = " << value.bufferImageGranularity << '\n';
1534         s << "\tsparseAddressSpaceSize = " << value.sparseAddressSpaceSize << '\n';
1535         s << "\tmaxBoundDescriptorSets = " << value.maxBoundDescriptorSets << '\n';
1536         s << "\tmaxPerStageDescriptorSamplers = " << value.maxPerStageDescriptorSamplers << '\n';
1537         s << "\tmaxPerStageDescriptorUniformBuffers = " << value.maxPerStageDescriptorUniformBuffers << '\n';
1538         s << "\tmaxPerStageDescriptorStorageBuffers = " << value.maxPerStageDescriptorStorageBuffers << '\n';
1539         s << "\tmaxPerStageDescriptorSampledImages = " << value.maxPerStageDescriptorSampledImages << '\n';
1540         s << "\tmaxPerStageDescriptorStorageImages = " << value.maxPerStageDescriptorStorageImages << '\n';
1541         s << "\tmaxPerStageDescriptorInputAttachments = " << value.maxPerStageDescriptorInputAttachments << '\n';
1542         s << "\tmaxPerStageResources = " << value.maxPerStageResources << '\n';
1543         s << "\tmaxDescriptorSetSamplers = " << value.maxDescriptorSetSamplers << '\n';
1544         s << "\tmaxDescriptorSetUniformBuffers = " << value.maxDescriptorSetUniformBuffers << '\n';
1545         s << "\tmaxDescriptorSetUniformBuffersDynamic = " << value.maxDescriptorSetUniformBuffersDynamic << '\n';
1546         s << "\tmaxDescriptorSetStorageBuffers = " << value.maxDescriptorSetStorageBuffers << '\n';
1547         s << "\tmaxDescriptorSetStorageBuffersDynamic = " << value.maxDescriptorSetStorageBuffersDynamic << '\n';
1548         s << "\tmaxDescriptorSetSampledImages = " << value.maxDescriptorSetSampledImages << '\n';
1549         s << "\tmaxDescriptorSetStorageImages = " << value.maxDescriptorSetStorageImages << '\n';
1550         s << "\tmaxDescriptorSetInputAttachments = " << value.maxDescriptorSetInputAttachments << '\n';
1551         s << "\tmaxVertexInputAttributes = " << value.maxVertexInputAttributes << '\n';
1552         s << "\tmaxVertexInputBindings = " << value.maxVertexInputBindings << '\n';
1553         s << "\tmaxVertexInputAttributeOffset = " << value.maxVertexInputAttributeOffset << '\n';
1554         s << "\tmaxVertexInputBindingStride = " << value.maxVertexInputBindingStride << '\n';
1555         s << "\tmaxVertexOutputComponents = " << value.maxVertexOutputComponents << '\n';
1556         s << "\tmaxTessellationGenerationLevel = " << value.maxTessellationGenerationLevel << '\n';
1557         s << "\tmaxTessellationPatchSize = " << value.maxTessellationPatchSize << '\n';
1558         s << "\tmaxTessellationControlPerVertexInputComponents = " << value.maxTessellationControlPerVertexInputComponents << '\n';
1559         s << "\tmaxTessellationControlPerVertexOutputComponents = " << value.maxTessellationControlPerVertexOutputComponents << '\n';
1560         s << "\tmaxTessellationControlPerPatchOutputComponents = " << value.maxTessellationControlPerPatchOutputComponents << '\n';
1561         s << "\tmaxTessellationControlTotalOutputComponents = " << value.maxTessellationControlTotalOutputComponents << '\n';
1562         s << "\tmaxTessellationEvaluationInputComponents = " << value.maxTessellationEvaluationInputComponents << '\n';
1563         s << "\tmaxTessellationEvaluationOutputComponents = " << value.maxTessellationEvaluationOutputComponents << '\n';
1564         s << "\tmaxGeometryShaderInvocations = " << value.maxGeometryShaderInvocations << '\n';
1565         s << "\tmaxGeometryInputComponents = " << value.maxGeometryInputComponents << '\n';
1566         s << "\tmaxGeometryOutputComponents = " << value.maxGeometryOutputComponents << '\n';
1567         s << "\tmaxGeometryOutputVertices = " << value.maxGeometryOutputVertices << '\n';
1568         s << "\tmaxGeometryTotalOutputComponents = " << value.maxGeometryTotalOutputComponents << '\n';
1569         s << "\tmaxFragmentInputComponents = " << value.maxFragmentInputComponents << '\n';
1570         s << "\tmaxFragmentOutputAttachments = " << value.maxFragmentOutputAttachments << '\n';
1571         s << "\tmaxFragmentDualSrcAttachments = " << value.maxFragmentDualSrcAttachments << '\n';
1572         s << "\tmaxFragmentCombinedOutputResources = " << value.maxFragmentCombinedOutputResources << '\n';
1573         s << "\tmaxComputeSharedMemorySize = " << value.maxComputeSharedMemorySize << '\n';
1574         s << "\tmaxComputeWorkGroupCount = " << '\n' << tcu::formatArray(DE_ARRAY_BEGIN(value.maxComputeWorkGroupCount), DE_ARRAY_END(value.maxComputeWorkGroupCount)) << '\n';
1575         s << "\tmaxComputeWorkGroupInvocations = " << value.maxComputeWorkGroupInvocations << '\n';
1576         s << "\tmaxComputeWorkGroupSize = " << '\n' << tcu::formatArray(DE_ARRAY_BEGIN(value.maxComputeWorkGroupSize), DE_ARRAY_END(value.maxComputeWorkGroupSize)) << '\n';
1577         s << "\tsubPixelPrecisionBits = " << value.subPixelPrecisionBits << '\n';
1578         s << "\tsubTexelPrecisionBits = " << value.subTexelPrecisionBits << '\n';
1579         s << "\tmipmapPrecisionBits = " << value.mipmapPrecisionBits << '\n';
1580         s << "\tmaxDrawIndexedIndexValue = " << value.maxDrawIndexedIndexValue << '\n';
1581         s << "\tmaxDrawIndirectCount = " << value.maxDrawIndirectCount << '\n';
1582         s << "\tmaxSamplerLodBias = " << value.maxSamplerLodBias << '\n';
1583         s << "\tmaxSamplerAnisotropy = " << value.maxSamplerAnisotropy << '\n';
1584         s << "\tmaxViewports = " << value.maxViewports << '\n';
1585         s << "\tmaxViewportDimensions = " << '\n' << tcu::formatArray(DE_ARRAY_BEGIN(value.maxViewportDimensions), DE_ARRAY_END(value.maxViewportDimensions)) << '\n';
1586         s << "\tviewportBoundsRange = " << '\n' << tcu::formatArray(DE_ARRAY_BEGIN(value.viewportBoundsRange), DE_ARRAY_END(value.viewportBoundsRange)) << '\n';
1587         s << "\tviewportSubPixelBits = " << value.viewportSubPixelBits << '\n';
1588         s << "\tminMemoryMapAlignment = " << value.minMemoryMapAlignment << '\n';
1589         s << "\tminTexelBufferOffsetAlignment = " << value.minTexelBufferOffsetAlignment << '\n';
1590         s << "\tminUniformBufferOffsetAlignment = " << value.minUniformBufferOffsetAlignment << '\n';
1591         s << "\tminStorageBufferOffsetAlignment = " << value.minStorageBufferOffsetAlignment << '\n';
1592         s << "\tminTexelOffset = " << value.minTexelOffset << '\n';
1593         s << "\tmaxTexelOffset = " << value.maxTexelOffset << '\n';
1594         s << "\tminTexelGatherOffset = " << value.minTexelGatherOffset << '\n';
1595         s << "\tmaxTexelGatherOffset = " << value.maxTexelGatherOffset << '\n';
1596         s << "\tminInterpolationOffset = " << value.minInterpolationOffset << '\n';
1597         s << "\tmaxInterpolationOffset = " << value.maxInterpolationOffset << '\n';
1598         s << "\tsubPixelInterpolationOffsetBits = " << value.subPixelInterpolationOffsetBits << '\n';
1599         s << "\tmaxFramebufferWidth = " << value.maxFramebufferWidth << '\n';
1600         s << "\tmaxFramebufferHeight = " << value.maxFramebufferHeight << '\n';
1601         s << "\tmaxFramebufferLayers = " << value.maxFramebufferLayers << '\n';
1602         s << "\tframebufferColorSampleCounts = " << getSampleCountFlagsStr(value.framebufferColorSampleCounts) << '\n';
1603         s << "\tframebufferDepthSampleCounts = " << getSampleCountFlagsStr(value.framebufferDepthSampleCounts) << '\n';
1604         s << "\tframebufferStencilSampleCounts = " << getSampleCountFlagsStr(value.framebufferStencilSampleCounts) << '\n';
1605         s << "\tframebufferNoAttachmentsSampleCounts = " << getSampleCountFlagsStr(value.framebufferNoAttachmentsSampleCounts) << '\n';
1606         s << "\tmaxColorAttachments = " << value.maxColorAttachments << '\n';
1607         s << "\tsampledImageColorSampleCounts = " << getSampleCountFlagsStr(value.sampledImageColorSampleCounts) << '\n';
1608         s << "\tsampledImageIntegerSampleCounts = " << getSampleCountFlagsStr(value.sampledImageIntegerSampleCounts) << '\n';
1609         s << "\tsampledImageDepthSampleCounts = " << getSampleCountFlagsStr(value.sampledImageDepthSampleCounts) << '\n';
1610         s << "\tsampledImageStencilSampleCounts = " << getSampleCountFlagsStr(value.sampledImageStencilSampleCounts) << '\n';
1611         s << "\tstorageImageSampleCounts = " << getSampleCountFlagsStr(value.storageImageSampleCounts) << '\n';
1612         s << "\tmaxSampleMaskWords = " << value.maxSampleMaskWords << '\n';
1613         s << "\ttimestampComputeAndGraphics = " << value.timestampComputeAndGraphics << '\n';
1614         s << "\ttimestampPeriod = " << value.timestampPeriod << '\n';
1615         s << "\tmaxClipDistances = " << value.maxClipDistances << '\n';
1616         s << "\tmaxCullDistances = " << value.maxCullDistances << '\n';
1617         s << "\tmaxCombinedClipAndCullDistances = " << value.maxCombinedClipAndCullDistances << '\n';
1618         s << "\tdiscreteQueuePriorities = " << value.discreteQueuePriorities << '\n';
1619         s << "\tpointSizeRange = " << '\n' << tcu::formatArray(DE_ARRAY_BEGIN(value.pointSizeRange), DE_ARRAY_END(value.pointSizeRange)) << '\n';
1620         s << "\tlineWidthRange = " << '\n' << tcu::formatArray(DE_ARRAY_BEGIN(value.lineWidthRange), DE_ARRAY_END(value.lineWidthRange)) << '\n';
1621         s << "\tpointSizeGranularity = " << value.pointSizeGranularity << '\n';
1622         s << "\tlineWidthGranularity = " << value.lineWidthGranularity << '\n';
1623         s << "\tstrictLines = " << value.strictLines << '\n';
1624         s << "\tstandardSampleLocations = " << value.standardSampleLocations << '\n';
1625         s << "\toptimalBufferCopyOffsetAlignment = " << value.optimalBufferCopyOffsetAlignment << '\n';
1626         s << "\toptimalBufferCopyRowPitchAlignment = " << value.optimalBufferCopyRowPitchAlignment << '\n';
1627         s << "\tnonCoherentAtomSize = " << value.nonCoherentAtomSize << '\n';
1628         s << '}';
1629         return s;
1630 }
1631
1632 std::ostream& operator<< (std::ostream& s, const VkPhysicalDeviceSparseProperties& value)
1633 {
1634         s << "VkPhysicalDeviceSparseProperties = {\n";
1635         s << "\tresidencyStandard2DBlockShape = " << value.residencyStandard2DBlockShape << '\n';
1636         s << "\tresidencyStandard2DMultisampleBlockShape = " << value.residencyStandard2DMultisampleBlockShape << '\n';
1637         s << "\tresidencyStandard3DBlockShape = " << value.residencyStandard3DBlockShape << '\n';
1638         s << "\tresidencyAlignedMipSize = " << value.residencyAlignedMipSize << '\n';
1639         s << "\tresidencyNonResidentStrict = " << value.residencyNonResidentStrict << '\n';
1640         s << '}';
1641         return s;
1642 }
1643
1644 std::ostream& operator<< (std::ostream& s, const VkPhysicalDeviceProperties& value)
1645 {
1646         s << "VkPhysicalDeviceProperties = {\n";
1647         s << "\tapiVersion = " << value.apiVersion << '\n';
1648         s << "\tdriverVersion = " << value.driverVersion << '\n';
1649         s << "\tvendorID = " << value.vendorID << '\n';
1650         s << "\tdeviceID = " << value.deviceID << '\n';
1651         s << "\tdeviceType = " << value.deviceType << '\n';
1652         s << "\tdeviceName = " << (const char*)value.deviceName << '\n';
1653         s << "\tpipelineCacheUUID = " << '\n' << tcu::formatArray(tcu::Format::HexIterator<deUint8>(DE_ARRAY_BEGIN(value.pipelineCacheUUID)), tcu::Format::HexIterator<deUint8>(DE_ARRAY_END(value.pipelineCacheUUID))) << '\n';
1654         s << "\tlimits = " << value.limits << '\n';
1655         s << "\tsparseProperties = " << value.sparseProperties << '\n';
1656         s << '}';
1657         return s;
1658 }
1659
1660 std::ostream& operator<< (std::ostream& s, const VkQueueFamilyProperties& value)
1661 {
1662         s << "VkQueueFamilyProperties = {\n";
1663         s << "\tqueueFlags = " << getQueueFlagsStr(value.queueFlags) << '\n';
1664         s << "\tqueueCount = " << value.queueCount << '\n';
1665         s << "\ttimestampValidBits = " << value.timestampValidBits << '\n';
1666         s << "\tminImageTransferGranularity = " << value.minImageTransferGranularity << '\n';
1667         s << '}';
1668         return s;
1669 }
1670
1671 std::ostream& operator<< (std::ostream& s, const VkMemoryType& value)
1672 {
1673         s << "VkMemoryType = {\n";
1674         s << "\tpropertyFlags = " << getMemoryPropertyFlagsStr(value.propertyFlags) << '\n';
1675         s << "\theapIndex = " << value.heapIndex << '\n';
1676         s << '}';
1677         return s;
1678 }
1679
1680 std::ostream& operator<< (std::ostream& s, const VkMemoryHeap& value)
1681 {
1682         s << "VkMemoryHeap = {\n";
1683         s << "\tsize = " << value.size << '\n';
1684         s << "\tflags = " << getMemoryHeapFlagsStr(value.flags) << '\n';
1685         s << '}';
1686         return s;
1687 }
1688
1689 std::ostream& operator<< (std::ostream& s, const VkPhysicalDeviceMemoryProperties& value)
1690 {
1691         s << "VkPhysicalDeviceMemoryProperties = {\n";
1692         s << "\tmemoryTypeCount = " << value.memoryTypeCount << '\n';
1693         s << "\tmemoryTypes = " << '\n' << tcu::formatArray(DE_ARRAY_BEGIN(value.memoryTypes), DE_ARRAY_END(value.memoryTypes)) << '\n';
1694         s << "\tmemoryHeapCount = " << value.memoryHeapCount << '\n';
1695         s << "\tmemoryHeaps = " << '\n' << tcu::formatArray(DE_ARRAY_BEGIN(value.memoryHeaps), DE_ARRAY_END(value.memoryHeaps)) << '\n';
1696         s << '}';
1697         return s;
1698 }
1699
1700 std::ostream& operator<< (std::ostream& s, const VkDeviceQueueCreateInfo& value)
1701 {
1702         s << "VkDeviceQueueCreateInfo = {\n";
1703         s << "\tsType = " << value.sType << '\n';
1704         s << "\tpNext = " << value.pNext << '\n';
1705         s << "\tflags = " << getDeviceQueueCreateFlagsStr(value.flags) << '\n';
1706         s << "\tqueueFamilyIndex = " << value.queueFamilyIndex << '\n';
1707         s << "\tqueueCount = " << value.queueCount << '\n';
1708         s << "\tpQueuePriorities = " << value.pQueuePriorities << '\n';
1709         s << '}';
1710         return s;
1711 }
1712
1713 std::ostream& operator<< (std::ostream& s, const VkDeviceCreateInfo& value)
1714 {
1715         s << "VkDeviceCreateInfo = {\n";
1716         s << "\tsType = " << value.sType << '\n';
1717         s << "\tpNext = " << value.pNext << '\n';
1718         s << "\tflags = " << getDeviceCreateFlagsStr(value.flags) << '\n';
1719         s << "\tqueueCreateInfoCount = " << value.queueCreateInfoCount << '\n';
1720         s << "\tpQueueCreateInfos = " << value.pQueueCreateInfos << '\n';
1721         s << "\tenabledLayerCount = " << value.enabledLayerCount << '\n';
1722         s << "\tppEnabledLayerNames = " << value.ppEnabledLayerNames << '\n';
1723         s << "\tenabledExtensionCount = " << value.enabledExtensionCount << '\n';
1724         s << "\tppEnabledExtensionNames = " << value.ppEnabledExtensionNames << '\n';
1725         s << "\tpEnabledFeatures = " << value.pEnabledFeatures << '\n';
1726         s << '}';
1727         return s;
1728 }
1729
1730 std::ostream& operator<< (std::ostream& s, const VkExtensionProperties& value)
1731 {
1732         s << "VkExtensionProperties = {\n";
1733         s << "\textensionName = " << (const char*)value.extensionName << '\n';
1734         s << "\tspecVersion = " << value.specVersion << '\n';
1735         s << '}';
1736         return s;
1737 }
1738
1739 std::ostream& operator<< (std::ostream& s, const VkLayerProperties& value)
1740 {
1741         s << "VkLayerProperties = {\n";
1742         s << "\tlayerName = " << (const char*)value.layerName << '\n';
1743         s << "\tspecVersion = " << value.specVersion << '\n';
1744         s << "\timplementationVersion = " << value.implementationVersion << '\n';
1745         s << "\tdescription = " << (const char*)value.description << '\n';
1746         s << '}';
1747         return s;
1748 }
1749
1750 std::ostream& operator<< (std::ostream& s, const VkSubmitInfo& value)
1751 {
1752         s << "VkSubmitInfo = {\n";
1753         s << "\tsType = " << value.sType << '\n';
1754         s << "\tpNext = " << value.pNext << '\n';
1755         s << "\twaitSemaphoreCount = " << value.waitSemaphoreCount << '\n';
1756         s << "\tpWaitSemaphores = " << value.pWaitSemaphores << '\n';
1757         s << "\tpWaitDstStageMask = " << value.pWaitDstStageMask << '\n';
1758         s << "\tcommandBufferCount = " << value.commandBufferCount << '\n';
1759         s << "\tpCommandBuffers = " << value.pCommandBuffers << '\n';
1760         s << "\tsignalSemaphoreCount = " << value.signalSemaphoreCount << '\n';
1761         s << "\tpSignalSemaphores = " << value.pSignalSemaphores << '\n';
1762         s << '}';
1763         return s;
1764 }
1765
1766 std::ostream& operator<< (std::ostream& s, const VkMemoryAllocateInfo& value)
1767 {
1768         s << "VkMemoryAllocateInfo = {\n";
1769         s << "\tsType = " << value.sType << '\n';
1770         s << "\tpNext = " << value.pNext << '\n';
1771         s << "\tallocationSize = " << value.allocationSize << '\n';
1772         s << "\tmemoryTypeIndex = " << value.memoryTypeIndex << '\n';
1773         s << '}';
1774         return s;
1775 }
1776
1777 std::ostream& operator<< (std::ostream& s, const VkMappedMemoryRange& value)
1778 {
1779         s << "VkMappedMemoryRange = {\n";
1780         s << "\tsType = " << value.sType << '\n';
1781         s << "\tpNext = " << value.pNext << '\n';
1782         s << "\tmemory = " << value.memory << '\n';
1783         s << "\toffset = " << value.offset << '\n';
1784         s << "\tsize = " << value.size << '\n';
1785         s << '}';
1786         return s;
1787 }
1788
1789 std::ostream& operator<< (std::ostream& s, const VkMemoryRequirements& value)
1790 {
1791         s << "VkMemoryRequirements = {\n";
1792         s << "\tsize = " << value.size << '\n';
1793         s << "\talignment = " << value.alignment << '\n';
1794         s << "\tmemoryTypeBits = " << value.memoryTypeBits << '\n';
1795         s << '}';
1796         return s;
1797 }
1798
1799 std::ostream& operator<< (std::ostream& s, const VkSparseImageFormatProperties& value)
1800 {
1801         s << "VkSparseImageFormatProperties = {\n";
1802         s << "\taspectMask = " << getImageAspectFlagsStr(value.aspectMask) << '\n';
1803         s << "\timageGranularity = " << value.imageGranularity << '\n';
1804         s << "\tflags = " << getSparseImageFormatFlagsStr(value.flags) << '\n';
1805         s << '}';
1806         return s;
1807 }
1808
1809 std::ostream& operator<< (std::ostream& s, const VkSparseImageMemoryRequirements& value)
1810 {
1811         s << "VkSparseImageMemoryRequirements = {\n";
1812         s << "\tformatProperties = " << value.formatProperties << '\n';
1813         s << "\timageMipTailFirstLod = " << value.imageMipTailFirstLod << '\n';
1814         s << "\timageMipTailSize = " << value.imageMipTailSize << '\n';
1815         s << "\timageMipTailOffset = " << value.imageMipTailOffset << '\n';
1816         s << "\timageMipTailStride = " << value.imageMipTailStride << '\n';
1817         s << '}';
1818         return s;
1819 }
1820
1821 std::ostream& operator<< (std::ostream& s, const VkSparseMemoryBind& value)
1822 {
1823         s << "VkSparseMemoryBind = {\n";
1824         s << "\tresourceOffset = " << value.resourceOffset << '\n';
1825         s << "\tsize = " << value.size << '\n';
1826         s << "\tmemory = " << value.memory << '\n';
1827         s << "\tmemoryOffset = " << value.memoryOffset << '\n';
1828         s << "\tflags = " << getSparseMemoryBindFlagsStr(value.flags) << '\n';
1829         s << '}';
1830         return s;
1831 }
1832
1833 std::ostream& operator<< (std::ostream& s, const VkSparseBufferMemoryBindInfo& value)
1834 {
1835         s << "VkSparseBufferMemoryBindInfo = {\n";
1836         s << "\tbuffer = " << value.buffer << '\n';
1837         s << "\tbindCount = " << value.bindCount << '\n';
1838         s << "\tpBinds = " << value.pBinds << '\n';
1839         s << '}';
1840         return s;
1841 }
1842
1843 std::ostream& operator<< (std::ostream& s, const VkSparseImageOpaqueMemoryBindInfo& value)
1844 {
1845         s << "VkSparseImageOpaqueMemoryBindInfo = {\n";
1846         s << "\timage = " << value.image << '\n';
1847         s << "\tbindCount = " << value.bindCount << '\n';
1848         s << "\tpBinds = " << value.pBinds << '\n';
1849         s << '}';
1850         return s;
1851 }
1852
1853 std::ostream& operator<< (std::ostream& s, const VkImageSubresource& value)
1854 {
1855         s << "VkImageSubresource = {\n";
1856         s << "\taspectMask = " << getImageAspectFlagsStr(value.aspectMask) << '\n';
1857         s << "\tmipLevel = " << value.mipLevel << '\n';
1858         s << "\tarrayLayer = " << value.arrayLayer << '\n';
1859         s << '}';
1860         return s;
1861 }
1862
1863 std::ostream& operator<< (std::ostream& s, const VkOffset3D& value)
1864 {
1865         s << "VkOffset3D = {\n";
1866         s << "\tx = " << value.x << '\n';
1867         s << "\ty = " << value.y << '\n';
1868         s << "\tz = " << value.z << '\n';
1869         s << '}';
1870         return s;
1871 }
1872
1873 std::ostream& operator<< (std::ostream& s, const VkSparseImageMemoryBind& value)
1874 {
1875         s << "VkSparseImageMemoryBind = {\n";
1876         s << "\tsubresource = " << value.subresource << '\n';
1877         s << "\toffset = " << value.offset << '\n';
1878         s << "\textent = " << value.extent << '\n';
1879         s << "\tmemory = " << value.memory << '\n';
1880         s << "\tmemoryOffset = " << value.memoryOffset << '\n';
1881         s << "\tflags = " << getSparseMemoryBindFlagsStr(value.flags) << '\n';
1882         s << '}';
1883         return s;
1884 }
1885
1886 std::ostream& operator<< (std::ostream& s, const VkSparseImageMemoryBindInfo& value)
1887 {
1888         s << "VkSparseImageMemoryBindInfo = {\n";
1889         s << "\timage = " << value.image << '\n';
1890         s << "\tbindCount = " << value.bindCount << '\n';
1891         s << "\tpBinds = " << value.pBinds << '\n';
1892         s << '}';
1893         return s;
1894 }
1895
1896 std::ostream& operator<< (std::ostream& s, const VkBindSparseInfo& value)
1897 {
1898         s << "VkBindSparseInfo = {\n";
1899         s << "\tsType = " << value.sType << '\n';
1900         s << "\tpNext = " << value.pNext << '\n';
1901         s << "\twaitSemaphoreCount = " << value.waitSemaphoreCount << '\n';
1902         s << "\tpWaitSemaphores = " << value.pWaitSemaphores << '\n';
1903         s << "\tbufferBindCount = " << value.bufferBindCount << '\n';
1904         s << "\tpBufferBinds = " << value.pBufferBinds << '\n';
1905         s << "\timageOpaqueBindCount = " << value.imageOpaqueBindCount << '\n';
1906         s << "\tpImageOpaqueBinds = " << value.pImageOpaqueBinds << '\n';
1907         s << "\timageBindCount = " << value.imageBindCount << '\n';
1908         s << "\tpImageBinds = " << value.pImageBinds << '\n';
1909         s << "\tsignalSemaphoreCount = " << value.signalSemaphoreCount << '\n';
1910         s << "\tpSignalSemaphores = " << value.pSignalSemaphores << '\n';
1911         s << '}';
1912         return s;
1913 }
1914
1915 std::ostream& operator<< (std::ostream& s, const VkFenceCreateInfo& value)
1916 {
1917         s << "VkFenceCreateInfo = {\n";
1918         s << "\tsType = " << value.sType << '\n';
1919         s << "\tpNext = " << value.pNext << '\n';
1920         s << "\tflags = " << getFenceCreateFlagsStr(value.flags) << '\n';
1921         s << '}';
1922         return s;
1923 }
1924
1925 std::ostream& operator<< (std::ostream& s, const VkSemaphoreCreateInfo& value)
1926 {
1927         s << "VkSemaphoreCreateInfo = {\n";
1928         s << "\tsType = " << value.sType << '\n';
1929         s << "\tpNext = " << value.pNext << '\n';
1930         s << "\tflags = " << getSemaphoreCreateFlagsStr(value.flags) << '\n';
1931         s << '}';
1932         return s;
1933 }
1934
1935 std::ostream& operator<< (std::ostream& s, const VkEventCreateInfo& value)
1936 {
1937         s << "VkEventCreateInfo = {\n";
1938         s << "\tsType = " << value.sType << '\n';
1939         s << "\tpNext = " << value.pNext << '\n';
1940         s << "\tflags = " << getEventCreateFlagsStr(value.flags) << '\n';
1941         s << '}';
1942         return s;
1943 }
1944
1945 std::ostream& operator<< (std::ostream& s, const VkQueryPoolCreateInfo& value)
1946 {
1947         s << "VkQueryPoolCreateInfo = {\n";
1948         s << "\tsType = " << value.sType << '\n';
1949         s << "\tpNext = " << value.pNext << '\n';
1950         s << "\tflags = " << getQueryPoolCreateFlagsStr(value.flags) << '\n';
1951         s << "\tqueryType = " << value.queryType << '\n';
1952         s << "\tqueryCount = " << value.queryCount << '\n';
1953         s << "\tpipelineStatistics = " << getQueryPipelineStatisticFlagsStr(value.pipelineStatistics) << '\n';
1954         s << '}';
1955         return s;
1956 }
1957
1958 std::ostream& operator<< (std::ostream& s, const VkBufferCreateInfo& value)
1959 {
1960         s << "VkBufferCreateInfo = {\n";
1961         s << "\tsType = " << value.sType << '\n';
1962         s << "\tpNext = " << value.pNext << '\n';
1963         s << "\tflags = " << getBufferCreateFlagsStr(value.flags) << '\n';
1964         s << "\tsize = " << value.size << '\n';
1965         s << "\tusage = " << getBufferUsageFlagsStr(value.usage) << '\n';
1966         s << "\tsharingMode = " << value.sharingMode << '\n';
1967         s << "\tqueueFamilyIndexCount = " << value.queueFamilyIndexCount << '\n';
1968         s << "\tpQueueFamilyIndices = " << value.pQueueFamilyIndices << '\n';
1969         s << '}';
1970         return s;
1971 }
1972
1973 std::ostream& operator<< (std::ostream& s, const VkBufferViewCreateInfo& value)
1974 {
1975         s << "VkBufferViewCreateInfo = {\n";
1976         s << "\tsType = " << value.sType << '\n';
1977         s << "\tpNext = " << value.pNext << '\n';
1978         s << "\tflags = " << getBufferViewCreateFlagsStr(value.flags) << '\n';
1979         s << "\tbuffer = " << value.buffer << '\n';
1980         s << "\tformat = " << value.format << '\n';
1981         s << "\toffset = " << value.offset << '\n';
1982         s << "\trange = " << value.range << '\n';
1983         s << '}';
1984         return s;
1985 }
1986
1987 std::ostream& operator<< (std::ostream& s, const VkImageCreateInfo& value)
1988 {
1989         s << "VkImageCreateInfo = {\n";
1990         s << "\tsType = " << value.sType << '\n';
1991         s << "\tpNext = " << value.pNext << '\n';
1992         s << "\tflags = " << getImageCreateFlagsStr(value.flags) << '\n';
1993         s << "\timageType = " << value.imageType << '\n';
1994         s << "\tformat = " << value.format << '\n';
1995         s << "\textent = " << value.extent << '\n';
1996         s << "\tmipLevels = " << value.mipLevels << '\n';
1997         s << "\tarrayLayers = " << value.arrayLayers << '\n';
1998         s << "\tsamples = " << value.samples << '\n';
1999         s << "\ttiling = " << value.tiling << '\n';
2000         s << "\tusage = " << getImageUsageFlagsStr(value.usage) << '\n';
2001         s << "\tsharingMode = " << value.sharingMode << '\n';
2002         s << "\tqueueFamilyIndexCount = " << value.queueFamilyIndexCount << '\n';
2003         s << "\tpQueueFamilyIndices = " << value.pQueueFamilyIndices << '\n';
2004         s << "\tinitialLayout = " << value.initialLayout << '\n';
2005         s << '}';
2006         return s;
2007 }
2008
2009 std::ostream& operator<< (std::ostream& s, const VkSubresourceLayout& value)
2010 {
2011         s << "VkSubresourceLayout = {\n";
2012         s << "\toffset = " << value.offset << '\n';
2013         s << "\tsize = " << value.size << '\n';
2014         s << "\trowPitch = " << value.rowPitch << '\n';
2015         s << "\tarrayPitch = " << value.arrayPitch << '\n';
2016         s << "\tdepthPitch = " << value.depthPitch << '\n';
2017         s << '}';
2018         return s;
2019 }
2020
2021 std::ostream& operator<< (std::ostream& s, const VkComponentMapping& value)
2022 {
2023         s << "VkComponentMapping = {\n";
2024         s << "\tr = " << value.r << '\n';
2025         s << "\tg = " << value.g << '\n';
2026         s << "\tb = " << value.b << '\n';
2027         s << "\ta = " << value.a << '\n';
2028         s << '}';
2029         return s;
2030 }
2031
2032 std::ostream& operator<< (std::ostream& s, const VkImageSubresourceRange& value)
2033 {
2034         s << "VkImageSubresourceRange = {\n";
2035         s << "\taspectMask = " << getImageAspectFlagsStr(value.aspectMask) << '\n';
2036         s << "\tbaseMipLevel = " << value.baseMipLevel << '\n';
2037         s << "\tlevelCount = " << value.levelCount << '\n';
2038         s << "\tbaseArrayLayer = " << value.baseArrayLayer << '\n';
2039         s << "\tlayerCount = " << value.layerCount << '\n';
2040         s << '}';
2041         return s;
2042 }
2043
2044 std::ostream& operator<< (std::ostream& s, const VkImageViewCreateInfo& value)
2045 {
2046         s << "VkImageViewCreateInfo = {\n";
2047         s << "\tsType = " << value.sType << '\n';
2048         s << "\tpNext = " << value.pNext << '\n';
2049         s << "\tflags = " << getImageViewCreateFlagsStr(value.flags) << '\n';
2050         s << "\timage = " << value.image << '\n';
2051         s << "\tviewType = " << value.viewType << '\n';
2052         s << "\tformat = " << value.format << '\n';
2053         s << "\tcomponents = " << value.components << '\n';
2054         s << "\tsubresourceRange = " << value.subresourceRange << '\n';
2055         s << '}';
2056         return s;
2057 }
2058
2059 std::ostream& operator<< (std::ostream& s, const VkShaderModuleCreateInfo& value)
2060 {
2061         s << "VkShaderModuleCreateInfo = {\n";
2062         s << "\tsType = " << value.sType << '\n';
2063         s << "\tpNext = " << value.pNext << '\n';
2064         s << "\tflags = " << getShaderModuleCreateFlagsStr(value.flags) << '\n';
2065         s << "\tcodeSize = " << value.codeSize << '\n';
2066         s << "\tpCode = " << value.pCode << '\n';
2067         s << '}';
2068         return s;
2069 }
2070
2071 std::ostream& operator<< (std::ostream& s, const VkPipelineCacheCreateInfo& value)
2072 {
2073         s << "VkPipelineCacheCreateInfo = {\n";
2074         s << "\tsType = " << value.sType << '\n';
2075         s << "\tpNext = " << value.pNext << '\n';
2076         s << "\tflags = " << getPipelineCacheCreateFlagsStr(value.flags) << '\n';
2077         s << "\tinitialDataSize = " << value.initialDataSize << '\n';
2078         s << "\tpInitialData = " << value.pInitialData << '\n';
2079         s << '}';
2080         return s;
2081 }
2082
2083 std::ostream& operator<< (std::ostream& s, const VkSpecializationMapEntry& value)
2084 {
2085         s << "VkSpecializationMapEntry = {\n";
2086         s << "\tconstantID = " << value.constantID << '\n';
2087         s << "\toffset = " << value.offset << '\n';
2088         s << "\tsize = " << value.size << '\n';
2089         s << '}';
2090         return s;
2091 }
2092
2093 std::ostream& operator<< (std::ostream& s, const VkSpecializationInfo& value)
2094 {
2095         s << "VkSpecializationInfo = {\n";
2096         s << "\tmapEntryCount = " << value.mapEntryCount << '\n';
2097         s << "\tpMapEntries = " << value.pMapEntries << '\n';
2098         s << "\tdataSize = " << value.dataSize << '\n';
2099         s << "\tpData = " << value.pData << '\n';
2100         s << '}';
2101         return s;
2102 }
2103
2104 std::ostream& operator<< (std::ostream& s, const VkPipelineShaderStageCreateInfo& value)
2105 {
2106         s << "VkPipelineShaderStageCreateInfo = {\n";
2107         s << "\tsType = " << value.sType << '\n';
2108         s << "\tpNext = " << value.pNext << '\n';
2109         s << "\tflags = " << getPipelineShaderStageCreateFlagsStr(value.flags) << '\n';
2110         s << "\tstage = " << value.stage << '\n';
2111         s << "\tmodule = " << value.module << '\n';
2112         s << "\tpName = " << getCharPtrStr(value.pName) << '\n';
2113         s << "\tpSpecializationInfo = " << value.pSpecializationInfo << '\n';
2114         s << '}';
2115         return s;
2116 }
2117
2118 std::ostream& operator<< (std::ostream& s, const VkVertexInputBindingDescription& value)
2119 {
2120         s << "VkVertexInputBindingDescription = {\n";
2121         s << "\tbinding = " << value.binding << '\n';
2122         s << "\tstride = " << value.stride << '\n';
2123         s << "\tinputRate = " << value.inputRate << '\n';
2124         s << '}';
2125         return s;
2126 }
2127
2128 std::ostream& operator<< (std::ostream& s, const VkVertexInputAttributeDescription& value)
2129 {
2130         s << "VkVertexInputAttributeDescription = {\n";
2131         s << "\tlocation = " << value.location << '\n';
2132         s << "\tbinding = " << value.binding << '\n';
2133         s << "\tformat = " << value.format << '\n';
2134         s << "\toffset = " << value.offset << '\n';
2135         s << '}';
2136         return s;
2137 }
2138
2139 std::ostream& operator<< (std::ostream& s, const VkPipelineVertexInputStateCreateInfo& value)
2140 {
2141         s << "VkPipelineVertexInputStateCreateInfo = {\n";
2142         s << "\tsType = " << value.sType << '\n';
2143         s << "\tpNext = " << value.pNext << '\n';
2144         s << "\tflags = " << getPipelineVertexInputStateCreateFlagsStr(value.flags) << '\n';
2145         s << "\tvertexBindingDescriptionCount = " << value.vertexBindingDescriptionCount << '\n';
2146         s << "\tpVertexBindingDescriptions = " << value.pVertexBindingDescriptions << '\n';
2147         s << "\tvertexAttributeDescriptionCount = " << value.vertexAttributeDescriptionCount << '\n';
2148         s << "\tpVertexAttributeDescriptions = " << value.pVertexAttributeDescriptions << '\n';
2149         s << '}';
2150         return s;
2151 }
2152
2153 std::ostream& operator<< (std::ostream& s, const VkPipelineInputAssemblyStateCreateInfo& value)
2154 {
2155         s << "VkPipelineInputAssemblyStateCreateInfo = {\n";
2156         s << "\tsType = " << value.sType << '\n';
2157         s << "\tpNext = " << value.pNext << '\n';
2158         s << "\tflags = " << getPipelineInputAssemblyStateCreateFlagsStr(value.flags) << '\n';
2159         s << "\ttopology = " << value.topology << '\n';
2160         s << "\tprimitiveRestartEnable = " << value.primitiveRestartEnable << '\n';
2161         s << '}';
2162         return s;
2163 }
2164
2165 std::ostream& operator<< (std::ostream& s, const VkPipelineTessellationStateCreateInfo& value)
2166 {
2167         s << "VkPipelineTessellationStateCreateInfo = {\n";
2168         s << "\tsType = " << value.sType << '\n';
2169         s << "\tpNext = " << value.pNext << '\n';
2170         s << "\tflags = " << getPipelineTessellationStateCreateFlagsStr(value.flags) << '\n';
2171         s << "\tpatchControlPoints = " << value.patchControlPoints << '\n';
2172         s << '}';
2173         return s;
2174 }
2175
2176 std::ostream& operator<< (std::ostream& s, const VkViewport& value)
2177 {
2178         s << "VkViewport = {\n";
2179         s << "\tx = " << value.x << '\n';
2180         s << "\ty = " << value.y << '\n';
2181         s << "\twidth = " << value.width << '\n';
2182         s << "\theight = " << value.height << '\n';
2183         s << "\tminDepth = " << value.minDepth << '\n';
2184         s << "\tmaxDepth = " << value.maxDepth << '\n';
2185         s << '}';
2186         return s;
2187 }
2188
2189 std::ostream& operator<< (std::ostream& s, const VkOffset2D& value)
2190 {
2191         s << "VkOffset2D = {\n";
2192         s << "\tx = " << value.x << '\n';
2193         s << "\ty = " << value.y << '\n';
2194         s << '}';
2195         return s;
2196 }
2197
2198 std::ostream& operator<< (std::ostream& s, const VkExtent2D& value)
2199 {
2200         s << "VkExtent2D = {\n";
2201         s << "\twidth = " << value.width << '\n';
2202         s << "\theight = " << value.height << '\n';
2203         s << '}';
2204         return s;
2205 }
2206
2207 std::ostream& operator<< (std::ostream& s, const VkRect2D& value)
2208 {
2209         s << "VkRect2D = {\n";
2210         s << "\toffset = " << value.offset << '\n';
2211         s << "\textent = " << value.extent << '\n';
2212         s << '}';
2213         return s;
2214 }
2215
2216 std::ostream& operator<< (std::ostream& s, const VkPipelineViewportStateCreateInfo& value)
2217 {
2218         s << "VkPipelineViewportStateCreateInfo = {\n";
2219         s << "\tsType = " << value.sType << '\n';
2220         s << "\tpNext = " << value.pNext << '\n';
2221         s << "\tflags = " << getPipelineViewportStateCreateFlagsStr(value.flags) << '\n';
2222         s << "\tviewportCount = " << value.viewportCount << '\n';
2223         s << "\tpViewports = " << value.pViewports << '\n';
2224         s << "\tscissorCount = " << value.scissorCount << '\n';
2225         s << "\tpScissors = " << value.pScissors << '\n';
2226         s << '}';
2227         return s;
2228 }
2229
2230 std::ostream& operator<< (std::ostream& s, const VkPipelineRasterizationStateCreateInfo& value)
2231 {
2232         s << "VkPipelineRasterizationStateCreateInfo = {\n";
2233         s << "\tsType = " << value.sType << '\n';
2234         s << "\tpNext = " << value.pNext << '\n';
2235         s << "\tflags = " << getPipelineRasterizationStateCreateFlagsStr(value.flags) << '\n';
2236         s << "\tdepthClampEnable = " << value.depthClampEnable << '\n';
2237         s << "\trasterizerDiscardEnable = " << value.rasterizerDiscardEnable << '\n';
2238         s << "\tpolygonMode = " << value.polygonMode << '\n';
2239         s << "\tcullMode = " << getCullModeFlagsStr(value.cullMode) << '\n';
2240         s << "\tfrontFace = " << value.frontFace << '\n';
2241         s << "\tdepthBiasEnable = " << value.depthBiasEnable << '\n';
2242         s << "\tdepthBiasConstantFactor = " << value.depthBiasConstantFactor << '\n';
2243         s << "\tdepthBiasClamp = " << value.depthBiasClamp << '\n';
2244         s << "\tdepthBiasSlopeFactor = " << value.depthBiasSlopeFactor << '\n';
2245         s << "\tlineWidth = " << value.lineWidth << '\n';
2246         s << '}';
2247         return s;
2248 }
2249
2250 std::ostream& operator<< (std::ostream& s, const VkPipelineMultisampleStateCreateInfo& value)
2251 {
2252         s << "VkPipelineMultisampleStateCreateInfo = {\n";
2253         s << "\tsType = " << value.sType << '\n';
2254         s << "\tpNext = " << value.pNext << '\n';
2255         s << "\tflags = " << getPipelineMultisampleStateCreateFlagsStr(value.flags) << '\n';
2256         s << "\trasterizationSamples = " << value.rasterizationSamples << '\n';
2257         s << "\tsampleShadingEnable = " << value.sampleShadingEnable << '\n';
2258         s << "\tminSampleShading = " << value.minSampleShading << '\n';
2259         s << "\tpSampleMask = " << value.pSampleMask << '\n';
2260         s << "\talphaToCoverageEnable = " << value.alphaToCoverageEnable << '\n';
2261         s << "\talphaToOneEnable = " << value.alphaToOneEnable << '\n';
2262         s << '}';
2263         return s;
2264 }
2265
2266 std::ostream& operator<< (std::ostream& s, const VkStencilOpState& value)
2267 {
2268         s << "VkStencilOpState = {\n";
2269         s << "\tfailOp = " << value.failOp << '\n';
2270         s << "\tpassOp = " << value.passOp << '\n';
2271         s << "\tdepthFailOp = " << value.depthFailOp << '\n';
2272         s << "\tcompareOp = " << value.compareOp << '\n';
2273         s << "\tcompareMask = " << value.compareMask << '\n';
2274         s << "\twriteMask = " << value.writeMask << '\n';
2275         s << "\treference = " << value.reference << '\n';
2276         s << '}';
2277         return s;
2278 }
2279
2280 std::ostream& operator<< (std::ostream& s, const VkPipelineDepthStencilStateCreateInfo& value)
2281 {
2282         s << "VkPipelineDepthStencilStateCreateInfo = {\n";
2283         s << "\tsType = " << value.sType << '\n';
2284         s << "\tpNext = " << value.pNext << '\n';
2285         s << "\tflags = " << getPipelineDepthStencilStateCreateFlagsStr(value.flags) << '\n';
2286         s << "\tdepthTestEnable = " << value.depthTestEnable << '\n';
2287         s << "\tdepthWriteEnable = " << value.depthWriteEnable << '\n';
2288         s << "\tdepthCompareOp = " << value.depthCompareOp << '\n';
2289         s << "\tdepthBoundsTestEnable = " << value.depthBoundsTestEnable << '\n';
2290         s << "\tstencilTestEnable = " << value.stencilTestEnable << '\n';
2291         s << "\tfront = " << value.front << '\n';
2292         s << "\tback = " << value.back << '\n';
2293         s << "\tminDepthBounds = " << value.minDepthBounds << '\n';
2294         s << "\tmaxDepthBounds = " << value.maxDepthBounds << '\n';
2295         s << '}';
2296         return s;
2297 }
2298
2299 std::ostream& operator<< (std::ostream& s, const VkPipelineColorBlendAttachmentState& value)
2300 {
2301         s << "VkPipelineColorBlendAttachmentState = {\n";
2302         s << "\tblendEnable = " << value.blendEnable << '\n';
2303         s << "\tsrcColorBlendFactor = " << value.srcColorBlendFactor << '\n';
2304         s << "\tdstColorBlendFactor = " << value.dstColorBlendFactor << '\n';
2305         s << "\tcolorBlendOp = " << value.colorBlendOp << '\n';
2306         s << "\tsrcAlphaBlendFactor = " << value.srcAlphaBlendFactor << '\n';
2307         s << "\tdstAlphaBlendFactor = " << value.dstAlphaBlendFactor << '\n';
2308         s << "\talphaBlendOp = " << value.alphaBlendOp << '\n';
2309         s << "\tcolorWriteMask = " << getColorComponentFlagsStr(value.colorWriteMask) << '\n';
2310         s << '}';
2311         return s;
2312 }
2313
2314 std::ostream& operator<< (std::ostream& s, const VkPipelineColorBlendStateCreateInfo& value)
2315 {
2316         s << "VkPipelineColorBlendStateCreateInfo = {\n";
2317         s << "\tsType = " << value.sType << '\n';
2318         s << "\tpNext = " << value.pNext << '\n';
2319         s << "\tflags = " << getPipelineColorBlendStateCreateFlagsStr(value.flags) << '\n';
2320         s << "\tlogicOpEnable = " << value.logicOpEnable << '\n';
2321         s << "\tlogicOp = " << value.logicOp << '\n';
2322         s << "\tattachmentCount = " << value.attachmentCount << '\n';
2323         s << "\tpAttachments = " << value.pAttachments << '\n';
2324         s << "\tblendConstants = " << '\n' << tcu::formatArray(DE_ARRAY_BEGIN(value.blendConstants), DE_ARRAY_END(value.blendConstants)) << '\n';
2325         s << '}';
2326         return s;
2327 }
2328
2329 std::ostream& operator<< (std::ostream& s, const VkPipelineDynamicStateCreateInfo& value)
2330 {
2331         s << "VkPipelineDynamicStateCreateInfo = {\n";
2332         s << "\tsType = " << value.sType << '\n';
2333         s << "\tpNext = " << value.pNext << '\n';
2334         s << "\tflags = " << getPipelineDynamicStateCreateFlagsStr(value.flags) << '\n';
2335         s << "\tdynamicStateCount = " << value.dynamicStateCount << '\n';
2336         s << "\tpDynamicStates = " << value.pDynamicStates << '\n';
2337         s << '}';
2338         return s;
2339 }
2340
2341 std::ostream& operator<< (std::ostream& s, const VkGraphicsPipelineCreateInfo& value)
2342 {
2343         s << "VkGraphicsPipelineCreateInfo = {\n";
2344         s << "\tsType = " << value.sType << '\n';
2345         s << "\tpNext = " << value.pNext << '\n';
2346         s << "\tflags = " << getPipelineCreateFlagsStr(value.flags) << '\n';
2347         s << "\tstageCount = " << value.stageCount << '\n';
2348         s << "\tpStages = " << value.pStages << '\n';
2349         s << "\tpVertexInputState = " << value.pVertexInputState << '\n';
2350         s << "\tpInputAssemblyState = " << value.pInputAssemblyState << '\n';
2351         s << "\tpTessellationState = " << value.pTessellationState << '\n';
2352         s << "\tpViewportState = " << value.pViewportState << '\n';
2353         s << "\tpRasterizationState = " << value.pRasterizationState << '\n';
2354         s << "\tpMultisampleState = " << value.pMultisampleState << '\n';
2355         s << "\tpDepthStencilState = " << value.pDepthStencilState << '\n';
2356         s << "\tpColorBlendState = " << value.pColorBlendState << '\n';
2357         s << "\tpDynamicState = " << value.pDynamicState << '\n';
2358         s << "\tlayout = " << value.layout << '\n';
2359         s << "\trenderPass = " << value.renderPass << '\n';
2360         s << "\tsubpass = " << value.subpass << '\n';
2361         s << "\tbasePipelineHandle = " << value.basePipelineHandle << '\n';
2362         s << "\tbasePipelineIndex = " << value.basePipelineIndex << '\n';
2363         s << '}';
2364         return s;
2365 }
2366
2367 std::ostream& operator<< (std::ostream& s, const VkComputePipelineCreateInfo& value)
2368 {
2369         s << "VkComputePipelineCreateInfo = {\n";
2370         s << "\tsType = " << value.sType << '\n';
2371         s << "\tpNext = " << value.pNext << '\n';
2372         s << "\tflags = " << getPipelineCreateFlagsStr(value.flags) << '\n';
2373         s << "\tstage = " << value.stage << '\n';
2374         s << "\tlayout = " << value.layout << '\n';
2375         s << "\tbasePipelineHandle = " << value.basePipelineHandle << '\n';
2376         s << "\tbasePipelineIndex = " << value.basePipelineIndex << '\n';
2377         s << '}';
2378         return s;
2379 }
2380
2381 std::ostream& operator<< (std::ostream& s, const VkPushConstantRange& value)
2382 {
2383         s << "VkPushConstantRange = {\n";
2384         s << "\tstageFlags = " << getShaderStageFlagsStr(value.stageFlags) << '\n';
2385         s << "\toffset = " << value.offset << '\n';
2386         s << "\tsize = " << value.size << '\n';
2387         s << '}';
2388         return s;
2389 }
2390
2391 std::ostream& operator<< (std::ostream& s, const VkPipelineLayoutCreateInfo& value)
2392 {
2393         s << "VkPipelineLayoutCreateInfo = {\n";
2394         s << "\tsType = " << value.sType << '\n';
2395         s << "\tpNext = " << value.pNext << '\n';
2396         s << "\tflags = " << getPipelineLayoutCreateFlagsStr(value.flags) << '\n';
2397         s << "\tsetLayoutCount = " << value.setLayoutCount << '\n';
2398         s << "\tpSetLayouts = " << value.pSetLayouts << '\n';
2399         s << "\tpushConstantRangeCount = " << value.pushConstantRangeCount << '\n';
2400         s << "\tpPushConstantRanges = " << value.pPushConstantRanges << '\n';
2401         s << '}';
2402         return s;
2403 }
2404
2405 std::ostream& operator<< (std::ostream& s, const VkSamplerCreateInfo& value)
2406 {
2407         s << "VkSamplerCreateInfo = {\n";
2408         s << "\tsType = " << value.sType << '\n';
2409         s << "\tpNext = " << value.pNext << '\n';
2410         s << "\tflags = " << getSamplerCreateFlagsStr(value.flags) << '\n';
2411         s << "\tmagFilter = " << value.magFilter << '\n';
2412         s << "\tminFilter = " << value.minFilter << '\n';
2413         s << "\tmipmapMode = " << value.mipmapMode << '\n';
2414         s << "\taddressModeU = " << value.addressModeU << '\n';
2415         s << "\taddressModeV = " << value.addressModeV << '\n';
2416         s << "\taddressModeW = " << value.addressModeW << '\n';
2417         s << "\tmipLodBias = " << value.mipLodBias << '\n';
2418         s << "\tanisotropyEnable = " << value.anisotropyEnable << '\n';
2419         s << "\tmaxAnisotropy = " << value.maxAnisotropy << '\n';
2420         s << "\tcompareEnable = " << value.compareEnable << '\n';
2421         s << "\tcompareOp = " << value.compareOp << '\n';
2422         s << "\tminLod = " << value.minLod << '\n';
2423         s << "\tmaxLod = " << value.maxLod << '\n';
2424         s << "\tborderColor = " << value.borderColor << '\n';
2425         s << "\tunnormalizedCoordinates = " << value.unnormalizedCoordinates << '\n';
2426         s << '}';
2427         return s;
2428 }
2429
2430 std::ostream& operator<< (std::ostream& s, const VkDescriptorSetLayoutBinding& value)
2431 {
2432         s << "VkDescriptorSetLayoutBinding = {\n";
2433         s << "\tbinding = " << value.binding << '\n';
2434         s << "\tdescriptorType = " << value.descriptorType << '\n';
2435         s << "\tdescriptorCount = " << value.descriptorCount << '\n';
2436         s << "\tstageFlags = " << getShaderStageFlagsStr(value.stageFlags) << '\n';
2437         s << "\tpImmutableSamplers = " << value.pImmutableSamplers << '\n';
2438         s << '}';
2439         return s;
2440 }
2441
2442 std::ostream& operator<< (std::ostream& s, const VkDescriptorSetLayoutCreateInfo& value)
2443 {
2444         s << "VkDescriptorSetLayoutCreateInfo = {\n";
2445         s << "\tsType = " << value.sType << '\n';
2446         s << "\tpNext = " << value.pNext << '\n';
2447         s << "\tflags = " << getDescriptorSetLayoutCreateFlagsStr(value.flags) << '\n';
2448         s << "\tbindingCount = " << value.bindingCount << '\n';
2449         s << "\tpBindings = " << value.pBindings << '\n';
2450         s << '}';
2451         return s;
2452 }
2453
2454 std::ostream& operator<< (std::ostream& s, const VkDescriptorPoolSize& value)
2455 {
2456         s << "VkDescriptorPoolSize = {\n";
2457         s << "\ttype = " << value.type << '\n';
2458         s << "\tdescriptorCount = " << value.descriptorCount << '\n';
2459         s << '}';
2460         return s;
2461 }
2462
2463 std::ostream& operator<< (std::ostream& s, const VkDescriptorPoolCreateInfo& value)
2464 {
2465         s << "VkDescriptorPoolCreateInfo = {\n";
2466         s << "\tsType = " << value.sType << '\n';
2467         s << "\tpNext = " << value.pNext << '\n';
2468         s << "\tflags = " << getDescriptorPoolCreateFlagsStr(value.flags) << '\n';
2469         s << "\tmaxSets = " << value.maxSets << '\n';
2470         s << "\tpoolSizeCount = " << value.poolSizeCount << '\n';
2471         s << "\tpPoolSizes = " << value.pPoolSizes << '\n';
2472         s << '}';
2473         return s;
2474 }
2475
2476 std::ostream& operator<< (std::ostream& s, const VkDescriptorSetAllocateInfo& value)
2477 {
2478         s << "VkDescriptorSetAllocateInfo = {\n";
2479         s << "\tsType = " << value.sType << '\n';
2480         s << "\tpNext = " << value.pNext << '\n';
2481         s << "\tdescriptorPool = " << value.descriptorPool << '\n';
2482         s << "\tdescriptorSetCount = " << value.descriptorSetCount << '\n';
2483         s << "\tpSetLayouts = " << value.pSetLayouts << '\n';
2484         s << '}';
2485         return s;
2486 }
2487
2488 std::ostream& operator<< (std::ostream& s, const VkDescriptorImageInfo& value)
2489 {
2490         s << "VkDescriptorImageInfo = {\n";
2491         s << "\tsampler = " << value.sampler << '\n';
2492         s << "\timageView = " << value.imageView << '\n';
2493         s << "\timageLayout = " << value.imageLayout << '\n';
2494         s << '}';
2495         return s;
2496 }
2497
2498 std::ostream& operator<< (std::ostream& s, const VkDescriptorBufferInfo& value)
2499 {
2500         s << "VkDescriptorBufferInfo = {\n";
2501         s << "\tbuffer = " << value.buffer << '\n';
2502         s << "\toffset = " << value.offset << '\n';
2503         s << "\trange = " << value.range << '\n';
2504         s << '}';
2505         return s;
2506 }
2507
2508 std::ostream& operator<< (std::ostream& s, const VkWriteDescriptorSet& value)
2509 {
2510         s << "VkWriteDescriptorSet = {\n";
2511         s << "\tsType = " << value.sType << '\n';
2512         s << "\tpNext = " << value.pNext << '\n';
2513         s << "\tdstSet = " << value.dstSet << '\n';
2514         s << "\tdstBinding = " << value.dstBinding << '\n';
2515         s << "\tdstArrayElement = " << value.dstArrayElement << '\n';
2516         s << "\tdescriptorCount = " << value.descriptorCount << '\n';
2517         s << "\tdescriptorType = " << value.descriptorType << '\n';
2518         s << "\tpImageInfo = " << value.pImageInfo << '\n';
2519         s << "\tpBufferInfo = " << value.pBufferInfo << '\n';
2520         s << "\tpTexelBufferView = " << value.pTexelBufferView << '\n';
2521         s << '}';
2522         return s;
2523 }
2524
2525 std::ostream& operator<< (std::ostream& s, const VkCopyDescriptorSet& value)
2526 {
2527         s << "VkCopyDescriptorSet = {\n";
2528         s << "\tsType = " << value.sType << '\n';
2529         s << "\tpNext = " << value.pNext << '\n';
2530         s << "\tsrcSet = " << value.srcSet << '\n';
2531         s << "\tsrcBinding = " << value.srcBinding << '\n';
2532         s << "\tsrcArrayElement = " << value.srcArrayElement << '\n';
2533         s << "\tdstSet = " << value.dstSet << '\n';
2534         s << "\tdstBinding = " << value.dstBinding << '\n';
2535         s << "\tdstArrayElement = " << value.dstArrayElement << '\n';
2536         s << "\tdescriptorCount = " << value.descriptorCount << '\n';
2537         s << '}';
2538         return s;
2539 }
2540
2541 std::ostream& operator<< (std::ostream& s, const VkFramebufferCreateInfo& value)
2542 {
2543         s << "VkFramebufferCreateInfo = {\n";
2544         s << "\tsType = " << value.sType << '\n';
2545         s << "\tpNext = " << value.pNext << '\n';
2546         s << "\tflags = " << getFramebufferCreateFlagsStr(value.flags) << '\n';
2547         s << "\trenderPass = " << value.renderPass << '\n';
2548         s << "\tattachmentCount = " << value.attachmentCount << '\n';
2549         s << "\tpAttachments = " << value.pAttachments << '\n';
2550         s << "\twidth = " << value.width << '\n';
2551         s << "\theight = " << value.height << '\n';
2552         s << "\tlayers = " << value.layers << '\n';
2553         s << '}';
2554         return s;
2555 }
2556
2557 std::ostream& operator<< (std::ostream& s, const VkAttachmentDescription& value)
2558 {
2559         s << "VkAttachmentDescription = {\n";
2560         s << "\tflags = " << getAttachmentDescriptionFlagsStr(value.flags) << '\n';
2561         s << "\tformat = " << value.format << '\n';
2562         s << "\tsamples = " << value.samples << '\n';
2563         s << "\tloadOp = " << value.loadOp << '\n';
2564         s << "\tstoreOp = " << value.storeOp << '\n';
2565         s << "\tstencilLoadOp = " << value.stencilLoadOp << '\n';
2566         s << "\tstencilStoreOp = " << value.stencilStoreOp << '\n';
2567         s << "\tinitialLayout = " << value.initialLayout << '\n';
2568         s << "\tfinalLayout = " << value.finalLayout << '\n';
2569         s << '}';
2570         return s;
2571 }
2572
2573 std::ostream& operator<< (std::ostream& s, const VkAttachmentReference& value)
2574 {
2575         s << "VkAttachmentReference = {\n";
2576         s << "\tattachment = " << value.attachment << '\n';
2577         s << "\tlayout = " << value.layout << '\n';
2578         s << '}';
2579         return s;
2580 }
2581
2582 std::ostream& operator<< (std::ostream& s, const VkSubpassDescription& value)
2583 {
2584         s << "VkSubpassDescription = {\n";
2585         s << "\tflags = " << getSubpassDescriptionFlagsStr(value.flags) << '\n';
2586         s << "\tpipelineBindPoint = " << value.pipelineBindPoint << '\n';
2587         s << "\tinputAttachmentCount = " << value.inputAttachmentCount << '\n';
2588         s << "\tpInputAttachments = " << value.pInputAttachments << '\n';
2589         s << "\tcolorAttachmentCount = " << value.colorAttachmentCount << '\n';
2590         s << "\tpColorAttachments = " << value.pColorAttachments << '\n';
2591         s << "\tpResolveAttachments = " << value.pResolveAttachments << '\n';
2592         s << "\tpDepthStencilAttachment = " << value.pDepthStencilAttachment << '\n';
2593         s << "\tpreserveAttachmentCount = " << value.preserveAttachmentCount << '\n';
2594         s << "\tpPreserveAttachments = " << value.pPreserveAttachments << '\n';
2595         s << '}';
2596         return s;
2597 }
2598
2599 std::ostream& operator<< (std::ostream& s, const VkSubpassDependency& value)
2600 {
2601         s << "VkSubpassDependency = {\n";
2602         s << "\tsrcSubpass = " << value.srcSubpass << '\n';
2603         s << "\tdstSubpass = " << value.dstSubpass << '\n';
2604         s << "\tsrcStageMask = " << getPipelineStageFlagsStr(value.srcStageMask) << '\n';
2605         s << "\tdstStageMask = " << getPipelineStageFlagsStr(value.dstStageMask) << '\n';
2606         s << "\tsrcAccessMask = " << getAccessFlagsStr(value.srcAccessMask) << '\n';
2607         s << "\tdstAccessMask = " << getAccessFlagsStr(value.dstAccessMask) << '\n';
2608         s << "\tdependencyFlags = " << getDependencyFlagsStr(value.dependencyFlags) << '\n';
2609         s << '}';
2610         return s;
2611 }
2612
2613 std::ostream& operator<< (std::ostream& s, const VkRenderPassCreateInfo& value)
2614 {
2615         s << "VkRenderPassCreateInfo = {\n";
2616         s << "\tsType = " << value.sType << '\n';
2617         s << "\tpNext = " << value.pNext << '\n';
2618         s << "\tflags = " << getRenderPassCreateFlagsStr(value.flags) << '\n';
2619         s << "\tattachmentCount = " << value.attachmentCount << '\n';
2620         s << "\tpAttachments = " << value.pAttachments << '\n';
2621         s << "\tsubpassCount = " << value.subpassCount << '\n';
2622         s << "\tpSubpasses = " << value.pSubpasses << '\n';
2623         s << "\tdependencyCount = " << value.dependencyCount << '\n';
2624         s << "\tpDependencies = " << value.pDependencies << '\n';
2625         s << '}';
2626         return s;
2627 }
2628
2629 std::ostream& operator<< (std::ostream& s, const VkCommandPoolCreateInfo& value)
2630 {
2631         s << "VkCommandPoolCreateInfo = {\n";
2632         s << "\tsType = " << value.sType << '\n';
2633         s << "\tpNext = " << value.pNext << '\n';
2634         s << "\tflags = " << getCommandPoolCreateFlagsStr(value.flags) << '\n';
2635         s << "\tqueueFamilyIndex = " << value.queueFamilyIndex << '\n';
2636         s << '}';
2637         return s;
2638 }
2639
2640 std::ostream& operator<< (std::ostream& s, const VkCommandBufferAllocateInfo& value)
2641 {
2642         s << "VkCommandBufferAllocateInfo = {\n";
2643         s << "\tsType = " << value.sType << '\n';
2644         s << "\tpNext = " << value.pNext << '\n';
2645         s << "\tcommandPool = " << value.commandPool << '\n';
2646         s << "\tlevel = " << value.level << '\n';
2647         s << "\tcommandBufferCount = " << value.commandBufferCount << '\n';
2648         s << '}';
2649         return s;
2650 }
2651
2652 std::ostream& operator<< (std::ostream& s, const VkCommandBufferInheritanceInfo& value)
2653 {
2654         s << "VkCommandBufferInheritanceInfo = {\n";
2655         s << "\tsType = " << value.sType << '\n';
2656         s << "\tpNext = " << value.pNext << '\n';
2657         s << "\trenderPass = " << value.renderPass << '\n';
2658         s << "\tsubpass = " << value.subpass << '\n';
2659         s << "\tframebuffer = " << value.framebuffer << '\n';
2660         s << "\tocclusionQueryEnable = " << value.occlusionQueryEnable << '\n';
2661         s << "\tqueryFlags = " << getQueryControlFlagsStr(value.queryFlags) << '\n';
2662         s << "\tpipelineStatistics = " << getQueryPipelineStatisticFlagsStr(value.pipelineStatistics) << '\n';
2663         s << '}';
2664         return s;
2665 }
2666
2667 std::ostream& operator<< (std::ostream& s, const VkCommandBufferBeginInfo& value)
2668 {
2669         s << "VkCommandBufferBeginInfo = {\n";
2670         s << "\tsType = " << value.sType << '\n';
2671         s << "\tpNext = " << value.pNext << '\n';
2672         s << "\tflags = " << getCommandBufferUsageFlagsStr(value.flags) << '\n';
2673         s << "\tpInheritanceInfo = " << value.pInheritanceInfo << '\n';
2674         s << '}';
2675         return s;
2676 }
2677
2678 std::ostream& operator<< (std::ostream& s, const VkBufferCopy& value)
2679 {
2680         s << "VkBufferCopy = {\n";
2681         s << "\tsrcOffset = " << value.srcOffset << '\n';
2682         s << "\tdstOffset = " << value.dstOffset << '\n';
2683         s << "\tsize = " << value.size << '\n';
2684         s << '}';
2685         return s;
2686 }
2687
2688 std::ostream& operator<< (std::ostream& s, const VkImageSubresourceLayers& value)
2689 {
2690         s << "VkImageSubresourceLayers = {\n";
2691         s << "\taspectMask = " << getImageAspectFlagsStr(value.aspectMask) << '\n';
2692         s << "\tmipLevel = " << value.mipLevel << '\n';
2693         s << "\tbaseArrayLayer = " << value.baseArrayLayer << '\n';
2694         s << "\tlayerCount = " << value.layerCount << '\n';
2695         s << '}';
2696         return s;
2697 }
2698
2699 std::ostream& operator<< (std::ostream& s, const VkImageCopy& value)
2700 {
2701         s << "VkImageCopy = {\n";
2702         s << "\tsrcSubresource = " << value.srcSubresource << '\n';
2703         s << "\tsrcOffset = " << value.srcOffset << '\n';
2704         s << "\tdstSubresource = " << value.dstSubresource << '\n';
2705         s << "\tdstOffset = " << value.dstOffset << '\n';
2706         s << "\textent = " << value.extent << '\n';
2707         s << '}';
2708         return s;
2709 }
2710
2711 std::ostream& operator<< (std::ostream& s, const VkImageBlit& value)
2712 {
2713         s << "VkImageBlit = {\n";
2714         s << "\tsrcSubresource = " << value.srcSubresource << '\n';
2715         s << "\tsrcOffsets = " << '\n' << tcu::formatArray(DE_ARRAY_BEGIN(value.srcOffsets), DE_ARRAY_END(value.srcOffsets)) << '\n';
2716         s << "\tdstSubresource = " << value.dstSubresource << '\n';
2717         s << "\tdstOffsets = " << '\n' << tcu::formatArray(DE_ARRAY_BEGIN(value.dstOffsets), DE_ARRAY_END(value.dstOffsets)) << '\n';
2718         s << '}';
2719         return s;
2720 }
2721
2722 std::ostream& operator<< (std::ostream& s, const VkBufferImageCopy& value)
2723 {
2724         s << "VkBufferImageCopy = {\n";
2725         s << "\tbufferOffset = " << value.bufferOffset << '\n';
2726         s << "\tbufferRowLength = " << value.bufferRowLength << '\n';
2727         s << "\tbufferImageHeight = " << value.bufferImageHeight << '\n';
2728         s << "\timageSubresource = " << value.imageSubresource << '\n';
2729         s << "\timageOffset = " << value.imageOffset << '\n';
2730         s << "\timageExtent = " << value.imageExtent << '\n';
2731         s << '}';
2732         return s;
2733 }
2734
2735 std::ostream& operator<< (std::ostream& s, const VkClearColorValue& value)
2736 {
2737         s << "VkClearColorValue = {\n";
2738         s << "\tfloat32 = " << '\n' << tcu::formatArray(DE_ARRAY_BEGIN(value.float32), DE_ARRAY_END(value.float32)) << '\n';
2739         s << "\tint32 = " << '\n' << tcu::formatArray(DE_ARRAY_BEGIN(value.int32), DE_ARRAY_END(value.int32)) << '\n';
2740         s << "\tuint32 = " << '\n' << tcu::formatArray(DE_ARRAY_BEGIN(value.uint32), DE_ARRAY_END(value.uint32)) << '\n';
2741         s << '}';
2742         return s;
2743 }
2744
2745 std::ostream& operator<< (std::ostream& s, const VkClearDepthStencilValue& value)
2746 {
2747         s << "VkClearDepthStencilValue = {\n";
2748         s << "\tdepth = " << value.depth << '\n';
2749         s << "\tstencil = " << value.stencil << '\n';
2750         s << '}';
2751         return s;
2752 }
2753
2754 std::ostream& operator<< (std::ostream& s, const VkClearValue& value)
2755 {
2756         s << "VkClearValue = {\n";
2757         s << "\tcolor = " << value.color << '\n';
2758         s << "\tdepthStencil = " << value.depthStencil << '\n';
2759         s << '}';
2760         return s;
2761 }
2762
2763 std::ostream& operator<< (std::ostream& s, const VkClearAttachment& value)
2764 {
2765         s << "VkClearAttachment = {\n";
2766         s << "\taspectMask = " << getImageAspectFlagsStr(value.aspectMask) << '\n';
2767         s << "\tcolorAttachment = " << value.colorAttachment << '\n';
2768         s << "\tclearValue = " << value.clearValue << '\n';
2769         s << '}';
2770         return s;
2771 }
2772
2773 std::ostream& operator<< (std::ostream& s, const VkClearRect& value)
2774 {
2775         s << "VkClearRect = {\n";
2776         s << "\trect = " << value.rect << '\n';
2777         s << "\tbaseArrayLayer = " << value.baseArrayLayer << '\n';
2778         s << "\tlayerCount = " << value.layerCount << '\n';
2779         s << '}';
2780         return s;
2781 }
2782
2783 std::ostream& operator<< (std::ostream& s, const VkImageResolve& value)
2784 {
2785         s << "VkImageResolve = {\n";
2786         s << "\tsrcSubresource = " << value.srcSubresource << '\n';
2787         s << "\tsrcOffset = " << value.srcOffset << '\n';
2788         s << "\tdstSubresource = " << value.dstSubresource << '\n';
2789         s << "\tdstOffset = " << value.dstOffset << '\n';
2790         s << "\textent = " << value.extent << '\n';
2791         s << '}';
2792         return s;
2793 }
2794
2795 std::ostream& operator<< (std::ostream& s, const VkMemoryBarrier& value)
2796 {
2797         s << "VkMemoryBarrier = {\n";
2798         s << "\tsType = " << value.sType << '\n';
2799         s << "\tpNext = " << value.pNext << '\n';
2800         s << "\tsrcAccessMask = " << getAccessFlagsStr(value.srcAccessMask) << '\n';
2801         s << "\tdstAccessMask = " << getAccessFlagsStr(value.dstAccessMask) << '\n';
2802         s << '}';
2803         return s;
2804 }
2805
2806 std::ostream& operator<< (std::ostream& s, const VkBufferMemoryBarrier& value)
2807 {
2808         s << "VkBufferMemoryBarrier = {\n";
2809         s << "\tsType = " << value.sType << '\n';
2810         s << "\tpNext = " << value.pNext << '\n';
2811         s << "\tsrcAccessMask = " << getAccessFlagsStr(value.srcAccessMask) << '\n';
2812         s << "\tdstAccessMask = " << getAccessFlagsStr(value.dstAccessMask) << '\n';
2813         s << "\tsrcQueueFamilyIndex = " << value.srcQueueFamilyIndex << '\n';
2814         s << "\tdstQueueFamilyIndex = " << value.dstQueueFamilyIndex << '\n';
2815         s << "\tbuffer = " << value.buffer << '\n';
2816         s << "\toffset = " << value.offset << '\n';
2817         s << "\tsize = " << value.size << '\n';
2818         s << '}';
2819         return s;
2820 }
2821
2822 std::ostream& operator<< (std::ostream& s, const VkImageMemoryBarrier& value)
2823 {
2824         s << "VkImageMemoryBarrier = {\n";
2825         s << "\tsType = " << value.sType << '\n';
2826         s << "\tpNext = " << value.pNext << '\n';
2827         s << "\tsrcAccessMask = " << getAccessFlagsStr(value.srcAccessMask) << '\n';
2828         s << "\tdstAccessMask = " << getAccessFlagsStr(value.dstAccessMask) << '\n';
2829         s << "\toldLayout = " << value.oldLayout << '\n';
2830         s << "\tnewLayout = " << value.newLayout << '\n';
2831         s << "\tsrcQueueFamilyIndex = " << value.srcQueueFamilyIndex << '\n';
2832         s << "\tdstQueueFamilyIndex = " << value.dstQueueFamilyIndex << '\n';
2833         s << "\timage = " << value.image << '\n';
2834         s << "\tsubresourceRange = " << value.subresourceRange << '\n';
2835         s << '}';
2836         return s;
2837 }
2838
2839 std::ostream& operator<< (std::ostream& s, const VkRenderPassBeginInfo& value)
2840 {
2841         s << "VkRenderPassBeginInfo = {\n";
2842         s << "\tsType = " << value.sType << '\n';
2843         s << "\tpNext = " << value.pNext << '\n';
2844         s << "\trenderPass = " << value.renderPass << '\n';
2845         s << "\tframebuffer = " << value.framebuffer << '\n';
2846         s << "\trenderArea = " << value.renderArea << '\n';
2847         s << "\tclearValueCount = " << value.clearValueCount << '\n';
2848         s << "\tpClearValues = " << value.pClearValues << '\n';
2849         s << '}';
2850         return s;
2851 }
2852
2853 std::ostream& operator<< (std::ostream& s, const VkDispatchIndirectCommand& value)
2854 {
2855         s << "VkDispatchIndirectCommand = {\n";
2856         s << "\tx = " << value.x << '\n';
2857         s << "\ty = " << value.y << '\n';
2858         s << "\tz = " << value.z << '\n';
2859         s << '}';
2860         return s;
2861 }
2862
2863 std::ostream& operator<< (std::ostream& s, const VkDrawIndexedIndirectCommand& value)
2864 {
2865         s << "VkDrawIndexedIndirectCommand = {\n";
2866         s << "\tindexCount = " << value.indexCount << '\n';
2867         s << "\tinstanceCount = " << value.instanceCount << '\n';
2868         s << "\tfirstIndex = " << value.firstIndex << '\n';
2869         s << "\tvertexOffset = " << value.vertexOffset << '\n';
2870         s << "\tfirstInstance = " << value.firstInstance << '\n';
2871         s << '}';
2872         return s;
2873 }
2874
2875 std::ostream& operator<< (std::ostream& s, const VkDrawIndirectCommand& value)
2876 {
2877         s << "VkDrawIndirectCommand = {\n";
2878         s << "\tvertexCount = " << value.vertexCount << '\n';
2879         s << "\tinstanceCount = " << value.instanceCount << '\n';
2880         s << "\tfirstVertex = " << value.firstVertex << '\n';
2881         s << "\tfirstInstance = " << value.firstInstance << '\n';
2882         s << '}';
2883         return s;
2884 }