1 // Copyright (C) 2018 The Android Open Source Project
2 // Copyright (C) 2018 Google Inc.
3 //
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 // http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 
16 // Autogenerated module goldfish_vk_transform
17 //
18 // (impl) generated by codegen/vulkan/vulkan-docs-next/scripts/genvk.py -registry
19 // codegen/vulkan/vulkan-docs-next/xml/vk.xml -registryGfxstream
20 // codegen/vulkan/vulkan-docs-next/xml/vk_gfxstream.xml cereal -o host/vulkan/cereal
21 //
22 // Please do not modify directly;
23 // re-run gfxstream-protocols/scripts/generate-vulkan-sources.sh,
24 // or directly from Python by defining:
25 // VULKAN_REGISTRY_XML_DIR : Directory containing vk.xml
26 // VULKAN_REGISTRY_SCRIPTS_DIR : Directory containing genvk.py
27 // CEREAL_OUTPUT_DIR: Where to put the generated sources.
28 //
29 // python3 $VULKAN_REGISTRY_SCRIPTS_DIR/genvk.py -registry $VULKAN_REGISTRY_XML_DIR/vk.xml cereal -o
30 // $CEREAL_OUTPUT_DIR
31 //
32 
33 #include "goldfish_vk_transform.h"
34 
35 #include "VkDecoderGlobalState.h"
36 
37 namespace gfxstream {
38 namespace vk {
39 
40 void transform_tohost_extension_struct(VkDecoderGlobalState* resourceTracker,
41                                        void* structExtension_out);
42 
43 void transform_fromhost_extension_struct(VkDecoderGlobalState* resourceTracker,
44                                          void* structExtension_out);
45 
46 #ifdef VK_VERSION_1_0
transform_tohost_VkExtent2D(VkDecoderGlobalState * resourceTracker,VkExtent2D * toTransform)47 void transform_tohost_VkExtent2D(VkDecoderGlobalState* resourceTracker, VkExtent2D* toTransform) {
48     (void)resourceTracker;
49     (void)toTransform;
50 }
51 
transform_fromhost_VkExtent2D(VkDecoderGlobalState * resourceTracker,VkExtent2D * toTransform)52 void transform_fromhost_VkExtent2D(VkDecoderGlobalState* resourceTracker, VkExtent2D* toTransform) {
53     (void)resourceTracker;
54     (void)toTransform;
55 }
56 
transform_tohost_VkExtent3D(VkDecoderGlobalState * resourceTracker,VkExtent3D * toTransform)57 void transform_tohost_VkExtent3D(VkDecoderGlobalState* resourceTracker, VkExtent3D* toTransform) {
58     (void)resourceTracker;
59     (void)toTransform;
60 }
61 
transform_fromhost_VkExtent3D(VkDecoderGlobalState * resourceTracker,VkExtent3D * toTransform)62 void transform_fromhost_VkExtent3D(VkDecoderGlobalState* resourceTracker, VkExtent3D* toTransform) {
63     (void)resourceTracker;
64     (void)toTransform;
65 }
66 
transform_tohost_VkOffset2D(VkDecoderGlobalState * resourceTracker,VkOffset2D * toTransform)67 void transform_tohost_VkOffset2D(VkDecoderGlobalState* resourceTracker, VkOffset2D* toTransform) {
68     (void)resourceTracker;
69     (void)toTransform;
70 }
71 
transform_fromhost_VkOffset2D(VkDecoderGlobalState * resourceTracker,VkOffset2D * toTransform)72 void transform_fromhost_VkOffset2D(VkDecoderGlobalState* resourceTracker, VkOffset2D* toTransform) {
73     (void)resourceTracker;
74     (void)toTransform;
75 }
76 
transform_tohost_VkOffset3D(VkDecoderGlobalState * resourceTracker,VkOffset3D * toTransform)77 void transform_tohost_VkOffset3D(VkDecoderGlobalState* resourceTracker, VkOffset3D* toTransform) {
78     (void)resourceTracker;
79     (void)toTransform;
80 }
81 
transform_fromhost_VkOffset3D(VkDecoderGlobalState * resourceTracker,VkOffset3D * toTransform)82 void transform_fromhost_VkOffset3D(VkDecoderGlobalState* resourceTracker, VkOffset3D* toTransform) {
83     (void)resourceTracker;
84     (void)toTransform;
85 }
86 
transform_tohost_VkRect2D(VkDecoderGlobalState * resourceTracker,VkRect2D * toTransform)87 void transform_tohost_VkRect2D(VkDecoderGlobalState* resourceTracker, VkRect2D* toTransform) {
88     (void)resourceTracker;
89     (void)toTransform;
90     transform_tohost_VkOffset2D(resourceTracker, (VkOffset2D*)(&toTransform->offset));
91     transform_tohost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->extent));
92 }
93 
transform_fromhost_VkRect2D(VkDecoderGlobalState * resourceTracker,VkRect2D * toTransform)94 void transform_fromhost_VkRect2D(VkDecoderGlobalState* resourceTracker, VkRect2D* toTransform) {
95     (void)resourceTracker;
96     (void)toTransform;
97     transform_fromhost_VkOffset2D(resourceTracker, (VkOffset2D*)(&toTransform->offset));
98     transform_fromhost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->extent));
99 }
100 
transform_tohost_VkBaseInStructure(VkDecoderGlobalState * resourceTracker,VkBaseInStructure * toTransform)101 void transform_tohost_VkBaseInStructure(VkDecoderGlobalState* resourceTracker,
102                                         VkBaseInStructure* toTransform) {
103     (void)resourceTracker;
104     (void)toTransform;
105     if (toTransform->pNext) {
106         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
107     }
108 }
109 
transform_fromhost_VkBaseInStructure(VkDecoderGlobalState * resourceTracker,VkBaseInStructure * toTransform)110 void transform_fromhost_VkBaseInStructure(VkDecoderGlobalState* resourceTracker,
111                                           VkBaseInStructure* toTransform) {
112     (void)resourceTracker;
113     (void)toTransform;
114     if (toTransform->pNext) {
115         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
116     }
117 }
118 
transform_tohost_VkBaseOutStructure(VkDecoderGlobalState * resourceTracker,VkBaseOutStructure * toTransform)119 void transform_tohost_VkBaseOutStructure(VkDecoderGlobalState* resourceTracker,
120                                          VkBaseOutStructure* toTransform) {
121     (void)resourceTracker;
122     (void)toTransform;
123     if (toTransform->pNext) {
124         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
125     }
126 }
127 
transform_fromhost_VkBaseOutStructure(VkDecoderGlobalState * resourceTracker,VkBaseOutStructure * toTransform)128 void transform_fromhost_VkBaseOutStructure(VkDecoderGlobalState* resourceTracker,
129                                            VkBaseOutStructure* toTransform) {
130     (void)resourceTracker;
131     (void)toTransform;
132     if (toTransform->pNext) {
133         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
134     }
135 }
136 
transform_tohost_VkBufferMemoryBarrier(VkDecoderGlobalState * resourceTracker,VkBufferMemoryBarrier * toTransform)137 void transform_tohost_VkBufferMemoryBarrier(VkDecoderGlobalState* resourceTracker,
138                                             VkBufferMemoryBarrier* toTransform) {
139     (void)resourceTracker;
140     (void)toTransform;
141     if (toTransform->pNext) {
142         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
143     }
144 }
145 
transform_fromhost_VkBufferMemoryBarrier(VkDecoderGlobalState * resourceTracker,VkBufferMemoryBarrier * toTransform)146 void transform_fromhost_VkBufferMemoryBarrier(VkDecoderGlobalState* resourceTracker,
147                                               VkBufferMemoryBarrier* toTransform) {
148     (void)resourceTracker;
149     (void)toTransform;
150     if (toTransform->pNext) {
151         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
152     }
153 }
154 
transform_tohost_VkDispatchIndirectCommand(VkDecoderGlobalState * resourceTracker,VkDispatchIndirectCommand * toTransform)155 void transform_tohost_VkDispatchIndirectCommand(VkDecoderGlobalState* resourceTracker,
156                                                 VkDispatchIndirectCommand* toTransform) {
157     (void)resourceTracker;
158     (void)toTransform;
159 }
160 
transform_fromhost_VkDispatchIndirectCommand(VkDecoderGlobalState * resourceTracker,VkDispatchIndirectCommand * toTransform)161 void transform_fromhost_VkDispatchIndirectCommand(VkDecoderGlobalState* resourceTracker,
162                                                   VkDispatchIndirectCommand* toTransform) {
163     (void)resourceTracker;
164     (void)toTransform;
165 }
166 
transform_tohost_VkDrawIndexedIndirectCommand(VkDecoderGlobalState * resourceTracker,VkDrawIndexedIndirectCommand * toTransform)167 void transform_tohost_VkDrawIndexedIndirectCommand(VkDecoderGlobalState* resourceTracker,
168                                                    VkDrawIndexedIndirectCommand* toTransform) {
169     (void)resourceTracker;
170     (void)toTransform;
171 }
172 
transform_fromhost_VkDrawIndexedIndirectCommand(VkDecoderGlobalState * resourceTracker,VkDrawIndexedIndirectCommand * toTransform)173 void transform_fromhost_VkDrawIndexedIndirectCommand(VkDecoderGlobalState* resourceTracker,
174                                                      VkDrawIndexedIndirectCommand* toTransform) {
175     (void)resourceTracker;
176     (void)toTransform;
177 }
178 
transform_tohost_VkDrawIndirectCommand(VkDecoderGlobalState * resourceTracker,VkDrawIndirectCommand * toTransform)179 void transform_tohost_VkDrawIndirectCommand(VkDecoderGlobalState* resourceTracker,
180                                             VkDrawIndirectCommand* toTransform) {
181     (void)resourceTracker;
182     (void)toTransform;
183 }
184 
transform_fromhost_VkDrawIndirectCommand(VkDecoderGlobalState * resourceTracker,VkDrawIndirectCommand * toTransform)185 void transform_fromhost_VkDrawIndirectCommand(VkDecoderGlobalState* resourceTracker,
186                                               VkDrawIndirectCommand* toTransform) {
187     (void)resourceTracker;
188     (void)toTransform;
189 }
190 
transform_tohost_VkImageSubresourceRange(VkDecoderGlobalState * resourceTracker,VkImageSubresourceRange * toTransform)191 void transform_tohost_VkImageSubresourceRange(VkDecoderGlobalState* resourceTracker,
192                                               VkImageSubresourceRange* toTransform) {
193     (void)resourceTracker;
194     (void)toTransform;
195 }
196 
transform_fromhost_VkImageSubresourceRange(VkDecoderGlobalState * resourceTracker,VkImageSubresourceRange * toTransform)197 void transform_fromhost_VkImageSubresourceRange(VkDecoderGlobalState* resourceTracker,
198                                                 VkImageSubresourceRange* toTransform) {
199     (void)resourceTracker;
200     (void)toTransform;
201 }
202 
transform_tohost_VkImageMemoryBarrier(VkDecoderGlobalState * resourceTracker,VkImageMemoryBarrier * toTransform)203 void transform_tohost_VkImageMemoryBarrier(VkDecoderGlobalState* resourceTracker,
204                                            VkImageMemoryBarrier* toTransform) {
205     (void)resourceTracker;
206     (void)toTransform;
207     if (toTransform->pNext) {
208         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
209     }
210     transform_tohost_VkImageSubresourceRange(
211         resourceTracker, (VkImageSubresourceRange*)(&toTransform->subresourceRange));
212 }
213 
transform_fromhost_VkImageMemoryBarrier(VkDecoderGlobalState * resourceTracker,VkImageMemoryBarrier * toTransform)214 void transform_fromhost_VkImageMemoryBarrier(VkDecoderGlobalState* resourceTracker,
215                                              VkImageMemoryBarrier* toTransform) {
216     (void)resourceTracker;
217     (void)toTransform;
218     if (toTransform->pNext) {
219         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
220     }
221     transform_fromhost_VkImageSubresourceRange(
222         resourceTracker, (VkImageSubresourceRange*)(&toTransform->subresourceRange));
223 }
224 
transform_tohost_VkMemoryBarrier(VkDecoderGlobalState * resourceTracker,VkMemoryBarrier * toTransform)225 void transform_tohost_VkMemoryBarrier(VkDecoderGlobalState* resourceTracker,
226                                       VkMemoryBarrier* toTransform) {
227     (void)resourceTracker;
228     (void)toTransform;
229     if (toTransform->pNext) {
230         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
231     }
232 }
233 
transform_fromhost_VkMemoryBarrier(VkDecoderGlobalState * resourceTracker,VkMemoryBarrier * toTransform)234 void transform_fromhost_VkMemoryBarrier(VkDecoderGlobalState* resourceTracker,
235                                         VkMemoryBarrier* toTransform) {
236     (void)resourceTracker;
237     (void)toTransform;
238     if (toTransform->pNext) {
239         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
240     }
241 }
242 
transform_tohost_VkPipelineCacheHeaderVersionOne(VkDecoderGlobalState * resourceTracker,VkPipelineCacheHeaderVersionOne * toTransform)243 void transform_tohost_VkPipelineCacheHeaderVersionOne(
244     VkDecoderGlobalState* resourceTracker, VkPipelineCacheHeaderVersionOne* toTransform) {
245     (void)resourceTracker;
246     (void)toTransform;
247 }
248 
transform_fromhost_VkPipelineCacheHeaderVersionOne(VkDecoderGlobalState * resourceTracker,VkPipelineCacheHeaderVersionOne * toTransform)249 void transform_fromhost_VkPipelineCacheHeaderVersionOne(
250     VkDecoderGlobalState* resourceTracker, VkPipelineCacheHeaderVersionOne* toTransform) {
251     (void)resourceTracker;
252     (void)toTransform;
253 }
254 
transform_tohost_VkAllocationCallbacks(VkDecoderGlobalState * resourceTracker,VkAllocationCallbacks * toTransform)255 void transform_tohost_VkAllocationCallbacks(VkDecoderGlobalState* resourceTracker,
256                                             VkAllocationCallbacks* toTransform) {
257     (void)resourceTracker;
258     (void)toTransform;
259 }
260 
transform_fromhost_VkAllocationCallbacks(VkDecoderGlobalState * resourceTracker,VkAllocationCallbacks * toTransform)261 void transform_fromhost_VkAllocationCallbacks(VkDecoderGlobalState* resourceTracker,
262                                               VkAllocationCallbacks* toTransform) {
263     (void)resourceTracker;
264     (void)toTransform;
265 }
266 
transform_tohost_VkApplicationInfo(VkDecoderGlobalState * resourceTracker,VkApplicationInfo * toTransform)267 void transform_tohost_VkApplicationInfo(VkDecoderGlobalState* resourceTracker,
268                                         VkApplicationInfo* toTransform) {
269     (void)resourceTracker;
270     (void)toTransform;
271     if (toTransform->pNext) {
272         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
273     }
274 }
275 
transform_fromhost_VkApplicationInfo(VkDecoderGlobalState * resourceTracker,VkApplicationInfo * toTransform)276 void transform_fromhost_VkApplicationInfo(VkDecoderGlobalState* resourceTracker,
277                                           VkApplicationInfo* toTransform) {
278     (void)resourceTracker;
279     (void)toTransform;
280     if (toTransform->pNext) {
281         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
282     }
283 }
284 
transform_tohost_VkFormatProperties(VkDecoderGlobalState * resourceTracker,VkFormatProperties * toTransform)285 void transform_tohost_VkFormatProperties(VkDecoderGlobalState* resourceTracker,
286                                          VkFormatProperties* toTransform) {
287     (void)resourceTracker;
288     (void)toTransform;
289 }
290 
transform_fromhost_VkFormatProperties(VkDecoderGlobalState * resourceTracker,VkFormatProperties * toTransform)291 void transform_fromhost_VkFormatProperties(VkDecoderGlobalState* resourceTracker,
292                                            VkFormatProperties* toTransform) {
293     (void)resourceTracker;
294     (void)toTransform;
295 }
296 
transform_tohost_VkImageFormatProperties(VkDecoderGlobalState * resourceTracker,VkImageFormatProperties * toTransform)297 void transform_tohost_VkImageFormatProperties(VkDecoderGlobalState* resourceTracker,
298                                               VkImageFormatProperties* toTransform) {
299     (void)resourceTracker;
300     (void)toTransform;
301     transform_tohost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->maxExtent));
302 }
303 
transform_fromhost_VkImageFormatProperties(VkDecoderGlobalState * resourceTracker,VkImageFormatProperties * toTransform)304 void transform_fromhost_VkImageFormatProperties(VkDecoderGlobalState* resourceTracker,
305                                                 VkImageFormatProperties* toTransform) {
306     (void)resourceTracker;
307     (void)toTransform;
308     transform_fromhost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->maxExtent));
309 }
310 
transform_tohost_VkInstanceCreateInfo(VkDecoderGlobalState * resourceTracker,VkInstanceCreateInfo * toTransform)311 void transform_tohost_VkInstanceCreateInfo(VkDecoderGlobalState* resourceTracker,
312                                            VkInstanceCreateInfo* toTransform) {
313     (void)resourceTracker;
314     (void)toTransform;
315     if (toTransform->pNext) {
316         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
317     }
318     if (toTransform->pApplicationInfo) {
319         transform_tohost_VkApplicationInfo(resourceTracker,
320                                            (VkApplicationInfo*)(toTransform->pApplicationInfo));
321     }
322 }
323 
transform_fromhost_VkInstanceCreateInfo(VkDecoderGlobalState * resourceTracker,VkInstanceCreateInfo * toTransform)324 void transform_fromhost_VkInstanceCreateInfo(VkDecoderGlobalState* resourceTracker,
325                                              VkInstanceCreateInfo* toTransform) {
326     (void)resourceTracker;
327     (void)toTransform;
328     if (toTransform->pNext) {
329         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
330     }
331     if (toTransform->pApplicationInfo) {
332         transform_fromhost_VkApplicationInfo(resourceTracker,
333                                              (VkApplicationInfo*)(toTransform->pApplicationInfo));
334     }
335 }
336 
transform_tohost_VkMemoryHeap(VkDecoderGlobalState * resourceTracker,VkMemoryHeap * toTransform)337 void transform_tohost_VkMemoryHeap(VkDecoderGlobalState* resourceTracker,
338                                    VkMemoryHeap* toTransform) {
339     (void)resourceTracker;
340     (void)toTransform;
341 }
342 
transform_fromhost_VkMemoryHeap(VkDecoderGlobalState * resourceTracker,VkMemoryHeap * toTransform)343 void transform_fromhost_VkMemoryHeap(VkDecoderGlobalState* resourceTracker,
344                                      VkMemoryHeap* toTransform) {
345     (void)resourceTracker;
346     (void)toTransform;
347 }
348 
transform_tohost_VkMemoryType(VkDecoderGlobalState * resourceTracker,VkMemoryType * toTransform)349 void transform_tohost_VkMemoryType(VkDecoderGlobalState* resourceTracker,
350                                    VkMemoryType* toTransform) {
351     (void)resourceTracker;
352     (void)toTransform;
353 }
354 
transform_fromhost_VkMemoryType(VkDecoderGlobalState * resourceTracker,VkMemoryType * toTransform)355 void transform_fromhost_VkMemoryType(VkDecoderGlobalState* resourceTracker,
356                                      VkMemoryType* toTransform) {
357     (void)resourceTracker;
358     (void)toTransform;
359 }
360 
transform_tohost_VkPhysicalDeviceFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceFeatures * toTransform)361 void transform_tohost_VkPhysicalDeviceFeatures(VkDecoderGlobalState* resourceTracker,
362                                                VkPhysicalDeviceFeatures* toTransform) {
363     (void)resourceTracker;
364     (void)toTransform;
365 }
366 
transform_fromhost_VkPhysicalDeviceFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceFeatures * toTransform)367 void transform_fromhost_VkPhysicalDeviceFeatures(VkDecoderGlobalState* resourceTracker,
368                                                  VkPhysicalDeviceFeatures* toTransform) {
369     (void)resourceTracker;
370     (void)toTransform;
371 }
372 
transform_tohost_VkPhysicalDeviceLimits(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceLimits * toTransform)373 void transform_tohost_VkPhysicalDeviceLimits(VkDecoderGlobalState* resourceTracker,
374                                              VkPhysicalDeviceLimits* toTransform) {
375     (void)resourceTracker;
376     (void)toTransform;
377 }
378 
transform_fromhost_VkPhysicalDeviceLimits(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceLimits * toTransform)379 void transform_fromhost_VkPhysicalDeviceLimits(VkDecoderGlobalState* resourceTracker,
380                                                VkPhysicalDeviceLimits* toTransform) {
381     (void)resourceTracker;
382     (void)toTransform;
383 }
384 
transform_tohost_VkPhysicalDeviceMemoryProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceMemoryProperties * toTransform)385 void transform_tohost_VkPhysicalDeviceMemoryProperties(
386     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceMemoryProperties* toTransform) {
387     (void)resourceTracker;
388     (void)toTransform;
389     for (uint32_t i = 0; i < (uint32_t)VK_MAX_MEMORY_TYPES; ++i) {
390         transform_tohost_VkMemoryType(resourceTracker,
391                                       (VkMemoryType*)(toTransform->memoryTypes + i));
392     }
393     for (uint32_t i = 0; i < (uint32_t)VK_MAX_MEMORY_HEAPS; ++i) {
394         transform_tohost_VkMemoryHeap(resourceTracker,
395                                       (VkMemoryHeap*)(toTransform->memoryHeaps + i));
396     }
397 }
398 
transform_fromhost_VkPhysicalDeviceMemoryProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceMemoryProperties * toTransform)399 void transform_fromhost_VkPhysicalDeviceMemoryProperties(
400     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceMemoryProperties* toTransform) {
401     (void)resourceTracker;
402     (void)toTransform;
403     for (uint32_t i = 0; i < (uint32_t)VK_MAX_MEMORY_TYPES; ++i) {
404         transform_fromhost_VkMemoryType(resourceTracker,
405                                         (VkMemoryType*)(toTransform->memoryTypes + i));
406     }
407     for (uint32_t i = 0; i < (uint32_t)VK_MAX_MEMORY_HEAPS; ++i) {
408         transform_fromhost_VkMemoryHeap(resourceTracker,
409                                         (VkMemoryHeap*)(toTransform->memoryHeaps + i));
410     }
411 }
412 
transform_tohost_VkPhysicalDeviceSparseProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceSparseProperties * toTransform)413 void transform_tohost_VkPhysicalDeviceSparseProperties(
414     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceSparseProperties* toTransform) {
415     (void)resourceTracker;
416     (void)toTransform;
417 }
418 
transform_fromhost_VkPhysicalDeviceSparseProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceSparseProperties * toTransform)419 void transform_fromhost_VkPhysicalDeviceSparseProperties(
420     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceSparseProperties* toTransform) {
421     (void)resourceTracker;
422     (void)toTransform;
423 }
424 
transform_tohost_VkPhysicalDeviceProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceProperties * toTransform)425 void transform_tohost_VkPhysicalDeviceProperties(VkDecoderGlobalState* resourceTracker,
426                                                  VkPhysicalDeviceProperties* toTransform) {
427     (void)resourceTracker;
428     (void)toTransform;
429     transform_tohost_VkPhysicalDeviceLimits(resourceTracker,
430                                             (VkPhysicalDeviceLimits*)(&toTransform->limits));
431     transform_tohost_VkPhysicalDeviceSparseProperties(
432         resourceTracker, (VkPhysicalDeviceSparseProperties*)(&toTransform->sparseProperties));
433 }
434 
transform_fromhost_VkPhysicalDeviceProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceProperties * toTransform)435 void transform_fromhost_VkPhysicalDeviceProperties(VkDecoderGlobalState* resourceTracker,
436                                                    VkPhysicalDeviceProperties* toTransform) {
437     (void)resourceTracker;
438     (void)toTransform;
439     transform_fromhost_VkPhysicalDeviceLimits(resourceTracker,
440                                               (VkPhysicalDeviceLimits*)(&toTransform->limits));
441     transform_fromhost_VkPhysicalDeviceSparseProperties(
442         resourceTracker, (VkPhysicalDeviceSparseProperties*)(&toTransform->sparseProperties));
443 }
444 
transform_tohost_VkQueueFamilyProperties(VkDecoderGlobalState * resourceTracker,VkQueueFamilyProperties * toTransform)445 void transform_tohost_VkQueueFamilyProperties(VkDecoderGlobalState* resourceTracker,
446                                               VkQueueFamilyProperties* toTransform) {
447     (void)resourceTracker;
448     (void)toTransform;
449     transform_tohost_VkExtent3D(resourceTracker,
450                                 (VkExtent3D*)(&toTransform->minImageTransferGranularity));
451 }
452 
transform_fromhost_VkQueueFamilyProperties(VkDecoderGlobalState * resourceTracker,VkQueueFamilyProperties * toTransform)453 void transform_fromhost_VkQueueFamilyProperties(VkDecoderGlobalState* resourceTracker,
454                                                 VkQueueFamilyProperties* toTransform) {
455     (void)resourceTracker;
456     (void)toTransform;
457     transform_fromhost_VkExtent3D(resourceTracker,
458                                   (VkExtent3D*)(&toTransform->minImageTransferGranularity));
459 }
460 
transform_tohost_VkDeviceQueueCreateInfo(VkDecoderGlobalState * resourceTracker,VkDeviceQueueCreateInfo * toTransform)461 void transform_tohost_VkDeviceQueueCreateInfo(VkDecoderGlobalState* resourceTracker,
462                                               VkDeviceQueueCreateInfo* toTransform) {
463     (void)resourceTracker;
464     (void)toTransform;
465     if (toTransform->pNext) {
466         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
467     }
468 }
469 
transform_fromhost_VkDeviceQueueCreateInfo(VkDecoderGlobalState * resourceTracker,VkDeviceQueueCreateInfo * toTransform)470 void transform_fromhost_VkDeviceQueueCreateInfo(VkDecoderGlobalState* resourceTracker,
471                                                 VkDeviceQueueCreateInfo* toTransform) {
472     (void)resourceTracker;
473     (void)toTransform;
474     if (toTransform->pNext) {
475         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
476     }
477 }
478 
transform_tohost_VkDeviceCreateInfo(VkDecoderGlobalState * resourceTracker,VkDeviceCreateInfo * toTransform)479 void transform_tohost_VkDeviceCreateInfo(VkDecoderGlobalState* resourceTracker,
480                                          VkDeviceCreateInfo* toTransform) {
481     (void)resourceTracker;
482     (void)toTransform;
483     if (toTransform->pNext) {
484         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
485     }
486     if (toTransform) {
487         if (toTransform->pQueueCreateInfos) {
488             for (uint32_t i = 0; i < (uint32_t)toTransform->queueCreateInfoCount; ++i) {
489                 transform_tohost_VkDeviceQueueCreateInfo(
490                     resourceTracker,
491                     (VkDeviceQueueCreateInfo*)(toTransform->pQueueCreateInfos + i));
492             }
493         }
494     }
495     if (toTransform->pEnabledFeatures) {
496         transform_tohost_VkPhysicalDeviceFeatures(
497             resourceTracker, (VkPhysicalDeviceFeatures*)(toTransform->pEnabledFeatures));
498     }
499 }
500 
transform_fromhost_VkDeviceCreateInfo(VkDecoderGlobalState * resourceTracker,VkDeviceCreateInfo * toTransform)501 void transform_fromhost_VkDeviceCreateInfo(VkDecoderGlobalState* resourceTracker,
502                                            VkDeviceCreateInfo* toTransform) {
503     (void)resourceTracker;
504     (void)toTransform;
505     if (toTransform->pNext) {
506         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
507     }
508     if (toTransform) {
509         if (toTransform->pQueueCreateInfos) {
510             for (uint32_t i = 0; i < (uint32_t)toTransform->queueCreateInfoCount; ++i) {
511                 transform_fromhost_VkDeviceQueueCreateInfo(
512                     resourceTracker,
513                     (VkDeviceQueueCreateInfo*)(toTransform->pQueueCreateInfos + i));
514             }
515         }
516     }
517     if (toTransform->pEnabledFeatures) {
518         transform_fromhost_VkPhysicalDeviceFeatures(
519             resourceTracker, (VkPhysicalDeviceFeatures*)(toTransform->pEnabledFeatures));
520     }
521 }
522 
transform_tohost_VkExtensionProperties(VkDecoderGlobalState * resourceTracker,VkExtensionProperties * toTransform)523 void transform_tohost_VkExtensionProperties(VkDecoderGlobalState* resourceTracker,
524                                             VkExtensionProperties* toTransform) {
525     (void)resourceTracker;
526     (void)toTransform;
527 }
528 
transform_fromhost_VkExtensionProperties(VkDecoderGlobalState * resourceTracker,VkExtensionProperties * toTransform)529 void transform_fromhost_VkExtensionProperties(VkDecoderGlobalState* resourceTracker,
530                                               VkExtensionProperties* toTransform) {
531     (void)resourceTracker;
532     (void)toTransform;
533 }
534 
transform_tohost_VkLayerProperties(VkDecoderGlobalState * resourceTracker,VkLayerProperties * toTransform)535 void transform_tohost_VkLayerProperties(VkDecoderGlobalState* resourceTracker,
536                                         VkLayerProperties* toTransform) {
537     (void)resourceTracker;
538     (void)toTransform;
539 }
540 
transform_fromhost_VkLayerProperties(VkDecoderGlobalState * resourceTracker,VkLayerProperties * toTransform)541 void transform_fromhost_VkLayerProperties(VkDecoderGlobalState* resourceTracker,
542                                           VkLayerProperties* toTransform) {
543     (void)resourceTracker;
544     (void)toTransform;
545 }
546 
transform_tohost_VkSubmitInfo(VkDecoderGlobalState * resourceTracker,VkSubmitInfo * toTransform)547 void transform_tohost_VkSubmitInfo(VkDecoderGlobalState* resourceTracker,
548                                    VkSubmitInfo* toTransform) {
549     (void)resourceTracker;
550     (void)toTransform;
551     if (toTransform->pNext) {
552         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
553     }
554 }
555 
transform_fromhost_VkSubmitInfo(VkDecoderGlobalState * resourceTracker,VkSubmitInfo * toTransform)556 void transform_fromhost_VkSubmitInfo(VkDecoderGlobalState* resourceTracker,
557                                      VkSubmitInfo* toTransform) {
558     (void)resourceTracker;
559     (void)toTransform;
560     if (toTransform->pNext) {
561         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
562     }
563 }
564 
transform_tohost_VkMappedMemoryRange(VkDecoderGlobalState * resourceTracker,VkMappedMemoryRange * toTransform)565 void transform_tohost_VkMappedMemoryRange(VkDecoderGlobalState* resourceTracker,
566                                           VkMappedMemoryRange* toTransform) {
567     (void)resourceTracker;
568     (void)toTransform;
569     resourceTracker->deviceMemoryTransform_tohost(
570         (VkDeviceMemory*)&toTransform->memory, 1, (VkDeviceSize*)&toTransform->offset, 1,
571         (VkDeviceSize*)&toTransform->size, 1, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
572     if (toTransform->pNext) {
573         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
574     }
575 }
576 
transform_fromhost_VkMappedMemoryRange(VkDecoderGlobalState * resourceTracker,VkMappedMemoryRange * toTransform)577 void transform_fromhost_VkMappedMemoryRange(VkDecoderGlobalState* resourceTracker,
578                                             VkMappedMemoryRange* toTransform) {
579     (void)resourceTracker;
580     (void)toTransform;
581     resourceTracker->deviceMemoryTransform_fromhost(
582         (VkDeviceMemory*)&toTransform->memory, 1, (VkDeviceSize*)&toTransform->offset, 1,
583         (VkDeviceSize*)&toTransform->size, 1, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
584     if (toTransform->pNext) {
585         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
586     }
587 }
588 
transform_tohost_VkMemoryAllocateInfo(VkDecoderGlobalState * resourceTracker,VkMemoryAllocateInfo * toTransform)589 void transform_tohost_VkMemoryAllocateInfo(VkDecoderGlobalState* resourceTracker,
590                                            VkMemoryAllocateInfo* toTransform) {
591     (void)resourceTracker;
592     (void)toTransform;
593     resourceTracker->deviceMemoryTransform_tohost(
594         (VkDeviceMemory*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (VkDeviceSize*)nullptr, 0,
595         (uint32_t*)&toTransform->memoryTypeIndex, 1, (uint32_t*)nullptr, 0);
596     if (toTransform->pNext) {
597         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
598     }
599 }
600 
transform_fromhost_VkMemoryAllocateInfo(VkDecoderGlobalState * resourceTracker,VkMemoryAllocateInfo * toTransform)601 void transform_fromhost_VkMemoryAllocateInfo(VkDecoderGlobalState* resourceTracker,
602                                              VkMemoryAllocateInfo* toTransform) {
603     (void)resourceTracker;
604     (void)toTransform;
605     resourceTracker->deviceMemoryTransform_fromhost(
606         (VkDeviceMemory*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (VkDeviceSize*)nullptr, 0,
607         (uint32_t*)&toTransform->memoryTypeIndex, 1, (uint32_t*)nullptr, 0);
608     if (toTransform->pNext) {
609         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
610     }
611 }
612 
transform_tohost_VkMemoryRequirements(VkDecoderGlobalState * resourceTracker,VkMemoryRequirements * toTransform)613 void transform_tohost_VkMemoryRequirements(VkDecoderGlobalState* resourceTracker,
614                                            VkMemoryRequirements* toTransform) {
615     (void)resourceTracker;
616     (void)toTransform;
617     resourceTracker->deviceMemoryTransform_tohost(
618         (VkDeviceMemory*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (VkDeviceSize*)nullptr, 0,
619         (uint32_t*)nullptr, 0, (uint32_t*)&toTransform->memoryTypeBits, 1);
620 }
621 
transform_fromhost_VkMemoryRequirements(VkDecoderGlobalState * resourceTracker,VkMemoryRequirements * toTransform)622 void transform_fromhost_VkMemoryRequirements(VkDecoderGlobalState* resourceTracker,
623                                              VkMemoryRequirements* toTransform) {
624     (void)resourceTracker;
625     (void)toTransform;
626     resourceTracker->deviceMemoryTransform_fromhost(
627         (VkDeviceMemory*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (VkDeviceSize*)nullptr, 0,
628         (uint32_t*)nullptr, 0, (uint32_t*)&toTransform->memoryTypeBits, 1);
629 }
630 
transform_tohost_VkSparseMemoryBind(VkDecoderGlobalState * resourceTracker,VkSparseMemoryBind * toTransform)631 void transform_tohost_VkSparseMemoryBind(VkDecoderGlobalState* resourceTracker,
632                                          VkSparseMemoryBind* toTransform) {
633     (void)resourceTracker;
634     (void)toTransform;
635     resourceTracker->deviceMemoryTransform_tohost(
636         (VkDeviceMemory*)&toTransform->memory, 1, (VkDeviceSize*)&toTransform->memoryOffset, 1,
637         (VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
638 }
639 
transform_fromhost_VkSparseMemoryBind(VkDecoderGlobalState * resourceTracker,VkSparseMemoryBind * toTransform)640 void transform_fromhost_VkSparseMemoryBind(VkDecoderGlobalState* resourceTracker,
641                                            VkSparseMemoryBind* toTransform) {
642     (void)resourceTracker;
643     (void)toTransform;
644     resourceTracker->deviceMemoryTransform_fromhost(
645         (VkDeviceMemory*)&toTransform->memory, 1, (VkDeviceSize*)&toTransform->memoryOffset, 1,
646         (VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
647 }
648 
transform_tohost_VkSparseBufferMemoryBindInfo(VkDecoderGlobalState * resourceTracker,VkSparseBufferMemoryBindInfo * toTransform)649 void transform_tohost_VkSparseBufferMemoryBindInfo(VkDecoderGlobalState* resourceTracker,
650                                                    VkSparseBufferMemoryBindInfo* toTransform) {
651     (void)resourceTracker;
652     (void)toTransform;
653     if (toTransform) {
654         if (toTransform->pBinds) {
655             for (uint32_t i = 0; i < (uint32_t)toTransform->bindCount; ++i) {
656                 transform_tohost_VkSparseMemoryBind(resourceTracker,
657                                                     (VkSparseMemoryBind*)(toTransform->pBinds + i));
658             }
659         }
660     }
661 }
662 
transform_fromhost_VkSparseBufferMemoryBindInfo(VkDecoderGlobalState * resourceTracker,VkSparseBufferMemoryBindInfo * toTransform)663 void transform_fromhost_VkSparseBufferMemoryBindInfo(VkDecoderGlobalState* resourceTracker,
664                                                      VkSparseBufferMemoryBindInfo* toTransform) {
665     (void)resourceTracker;
666     (void)toTransform;
667     if (toTransform) {
668         if (toTransform->pBinds) {
669             for (uint32_t i = 0; i < (uint32_t)toTransform->bindCount; ++i) {
670                 transform_fromhost_VkSparseMemoryBind(
671                     resourceTracker, (VkSparseMemoryBind*)(toTransform->pBinds + i));
672             }
673         }
674     }
675 }
676 
transform_tohost_VkSparseImageOpaqueMemoryBindInfo(VkDecoderGlobalState * resourceTracker,VkSparseImageOpaqueMemoryBindInfo * toTransform)677 void transform_tohost_VkSparseImageOpaqueMemoryBindInfo(
678     VkDecoderGlobalState* resourceTracker, VkSparseImageOpaqueMemoryBindInfo* toTransform) {
679     (void)resourceTracker;
680     (void)toTransform;
681     if (toTransform) {
682         if (toTransform->pBinds) {
683             for (uint32_t i = 0; i < (uint32_t)toTransform->bindCount; ++i) {
684                 transform_tohost_VkSparseMemoryBind(resourceTracker,
685                                                     (VkSparseMemoryBind*)(toTransform->pBinds + i));
686             }
687         }
688     }
689 }
690 
transform_fromhost_VkSparseImageOpaqueMemoryBindInfo(VkDecoderGlobalState * resourceTracker,VkSparseImageOpaqueMemoryBindInfo * toTransform)691 void transform_fromhost_VkSparseImageOpaqueMemoryBindInfo(
692     VkDecoderGlobalState* resourceTracker, VkSparseImageOpaqueMemoryBindInfo* toTransform) {
693     (void)resourceTracker;
694     (void)toTransform;
695     if (toTransform) {
696         if (toTransform->pBinds) {
697             for (uint32_t i = 0; i < (uint32_t)toTransform->bindCount; ++i) {
698                 transform_fromhost_VkSparseMemoryBind(
699                     resourceTracker, (VkSparseMemoryBind*)(toTransform->pBinds + i));
700             }
701         }
702     }
703 }
704 
transform_tohost_VkImageSubresource(VkDecoderGlobalState * resourceTracker,VkImageSubresource * toTransform)705 void transform_tohost_VkImageSubresource(VkDecoderGlobalState* resourceTracker,
706                                          VkImageSubresource* toTransform) {
707     (void)resourceTracker;
708     (void)toTransform;
709 }
710 
transform_fromhost_VkImageSubresource(VkDecoderGlobalState * resourceTracker,VkImageSubresource * toTransform)711 void transform_fromhost_VkImageSubresource(VkDecoderGlobalState* resourceTracker,
712                                            VkImageSubresource* toTransform) {
713     (void)resourceTracker;
714     (void)toTransform;
715 }
716 
transform_tohost_VkSparseImageMemoryBind(VkDecoderGlobalState * resourceTracker,VkSparseImageMemoryBind * toTransform)717 void transform_tohost_VkSparseImageMemoryBind(VkDecoderGlobalState* resourceTracker,
718                                               VkSparseImageMemoryBind* toTransform) {
719     (void)resourceTracker;
720     (void)toTransform;
721     resourceTracker->deviceMemoryTransform_tohost(
722         (VkDeviceMemory*)&toTransform->memory, 1, (VkDeviceSize*)&toTransform->memoryOffset, 1,
723         (VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
724     transform_tohost_VkImageSubresource(resourceTracker,
725                                         (VkImageSubresource*)(&toTransform->subresource));
726     transform_tohost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->offset));
727     transform_tohost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->extent));
728 }
729 
transform_fromhost_VkSparseImageMemoryBind(VkDecoderGlobalState * resourceTracker,VkSparseImageMemoryBind * toTransform)730 void transform_fromhost_VkSparseImageMemoryBind(VkDecoderGlobalState* resourceTracker,
731                                                 VkSparseImageMemoryBind* toTransform) {
732     (void)resourceTracker;
733     (void)toTransform;
734     resourceTracker->deviceMemoryTransform_fromhost(
735         (VkDeviceMemory*)&toTransform->memory, 1, (VkDeviceSize*)&toTransform->memoryOffset, 1,
736         (VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
737     transform_fromhost_VkImageSubresource(resourceTracker,
738                                           (VkImageSubresource*)(&toTransform->subresource));
739     transform_fromhost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->offset));
740     transform_fromhost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->extent));
741 }
742 
transform_tohost_VkSparseImageMemoryBindInfo(VkDecoderGlobalState * resourceTracker,VkSparseImageMemoryBindInfo * toTransform)743 void transform_tohost_VkSparseImageMemoryBindInfo(VkDecoderGlobalState* resourceTracker,
744                                                   VkSparseImageMemoryBindInfo* toTransform) {
745     (void)resourceTracker;
746     (void)toTransform;
747     if (toTransform) {
748         if (toTransform->pBinds) {
749             for (uint32_t i = 0; i < (uint32_t)toTransform->bindCount; ++i) {
750                 transform_tohost_VkSparseImageMemoryBind(
751                     resourceTracker, (VkSparseImageMemoryBind*)(toTransform->pBinds + i));
752             }
753         }
754     }
755 }
756 
transform_fromhost_VkSparseImageMemoryBindInfo(VkDecoderGlobalState * resourceTracker,VkSparseImageMemoryBindInfo * toTransform)757 void transform_fromhost_VkSparseImageMemoryBindInfo(VkDecoderGlobalState* resourceTracker,
758                                                     VkSparseImageMemoryBindInfo* toTransform) {
759     (void)resourceTracker;
760     (void)toTransform;
761     if (toTransform) {
762         if (toTransform->pBinds) {
763             for (uint32_t i = 0; i < (uint32_t)toTransform->bindCount; ++i) {
764                 transform_fromhost_VkSparseImageMemoryBind(
765                     resourceTracker, (VkSparseImageMemoryBind*)(toTransform->pBinds + i));
766             }
767         }
768     }
769 }
770 
transform_tohost_VkBindSparseInfo(VkDecoderGlobalState * resourceTracker,VkBindSparseInfo * toTransform)771 void transform_tohost_VkBindSparseInfo(VkDecoderGlobalState* resourceTracker,
772                                        VkBindSparseInfo* toTransform) {
773     (void)resourceTracker;
774     (void)toTransform;
775     if (toTransform->pNext) {
776         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
777     }
778     if (toTransform) {
779         if (toTransform->pBufferBinds) {
780             for (uint32_t i = 0; i < (uint32_t)toTransform->bufferBindCount; ++i) {
781                 transform_tohost_VkSparseBufferMemoryBindInfo(
782                     resourceTracker,
783                     (VkSparseBufferMemoryBindInfo*)(toTransform->pBufferBinds + i));
784             }
785         }
786     }
787     if (toTransform) {
788         if (toTransform->pImageOpaqueBinds) {
789             for (uint32_t i = 0; i < (uint32_t)toTransform->imageOpaqueBindCount; ++i) {
790                 transform_tohost_VkSparseImageOpaqueMemoryBindInfo(
791                     resourceTracker,
792                     (VkSparseImageOpaqueMemoryBindInfo*)(toTransform->pImageOpaqueBinds + i));
793             }
794         }
795     }
796     if (toTransform) {
797         if (toTransform->pImageBinds) {
798             for (uint32_t i = 0; i < (uint32_t)toTransform->imageBindCount; ++i) {
799                 transform_tohost_VkSparseImageMemoryBindInfo(
800                     resourceTracker, (VkSparseImageMemoryBindInfo*)(toTransform->pImageBinds + i));
801             }
802         }
803     }
804 }
805 
transform_fromhost_VkBindSparseInfo(VkDecoderGlobalState * resourceTracker,VkBindSparseInfo * toTransform)806 void transform_fromhost_VkBindSparseInfo(VkDecoderGlobalState* resourceTracker,
807                                          VkBindSparseInfo* toTransform) {
808     (void)resourceTracker;
809     (void)toTransform;
810     if (toTransform->pNext) {
811         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
812     }
813     if (toTransform) {
814         if (toTransform->pBufferBinds) {
815             for (uint32_t i = 0; i < (uint32_t)toTransform->bufferBindCount; ++i) {
816                 transform_fromhost_VkSparseBufferMemoryBindInfo(
817                     resourceTracker,
818                     (VkSparseBufferMemoryBindInfo*)(toTransform->pBufferBinds + i));
819             }
820         }
821     }
822     if (toTransform) {
823         if (toTransform->pImageOpaqueBinds) {
824             for (uint32_t i = 0; i < (uint32_t)toTransform->imageOpaqueBindCount; ++i) {
825                 transform_fromhost_VkSparseImageOpaqueMemoryBindInfo(
826                     resourceTracker,
827                     (VkSparseImageOpaqueMemoryBindInfo*)(toTransform->pImageOpaqueBinds + i));
828             }
829         }
830     }
831     if (toTransform) {
832         if (toTransform->pImageBinds) {
833             for (uint32_t i = 0; i < (uint32_t)toTransform->imageBindCount; ++i) {
834                 transform_fromhost_VkSparseImageMemoryBindInfo(
835                     resourceTracker, (VkSparseImageMemoryBindInfo*)(toTransform->pImageBinds + i));
836             }
837         }
838     }
839 }
840 
transform_tohost_VkSparseImageFormatProperties(VkDecoderGlobalState * resourceTracker,VkSparseImageFormatProperties * toTransform)841 void transform_tohost_VkSparseImageFormatProperties(VkDecoderGlobalState* resourceTracker,
842                                                     VkSparseImageFormatProperties* toTransform) {
843     (void)resourceTracker;
844     (void)toTransform;
845     transform_tohost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->imageGranularity));
846 }
847 
transform_fromhost_VkSparseImageFormatProperties(VkDecoderGlobalState * resourceTracker,VkSparseImageFormatProperties * toTransform)848 void transform_fromhost_VkSparseImageFormatProperties(VkDecoderGlobalState* resourceTracker,
849                                                       VkSparseImageFormatProperties* toTransform) {
850     (void)resourceTracker;
851     (void)toTransform;
852     transform_fromhost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->imageGranularity));
853 }
854 
transform_tohost_VkSparseImageMemoryRequirements(VkDecoderGlobalState * resourceTracker,VkSparseImageMemoryRequirements * toTransform)855 void transform_tohost_VkSparseImageMemoryRequirements(
856     VkDecoderGlobalState* resourceTracker, VkSparseImageMemoryRequirements* toTransform) {
857     (void)resourceTracker;
858     (void)toTransform;
859     transform_tohost_VkSparseImageFormatProperties(
860         resourceTracker, (VkSparseImageFormatProperties*)(&toTransform->formatProperties));
861 }
862 
transform_fromhost_VkSparseImageMemoryRequirements(VkDecoderGlobalState * resourceTracker,VkSparseImageMemoryRequirements * toTransform)863 void transform_fromhost_VkSparseImageMemoryRequirements(
864     VkDecoderGlobalState* resourceTracker, VkSparseImageMemoryRequirements* toTransform) {
865     (void)resourceTracker;
866     (void)toTransform;
867     transform_fromhost_VkSparseImageFormatProperties(
868         resourceTracker, (VkSparseImageFormatProperties*)(&toTransform->formatProperties));
869 }
870 
transform_tohost_VkFenceCreateInfo(VkDecoderGlobalState * resourceTracker,VkFenceCreateInfo * toTransform)871 void transform_tohost_VkFenceCreateInfo(VkDecoderGlobalState* resourceTracker,
872                                         VkFenceCreateInfo* toTransform) {
873     (void)resourceTracker;
874     (void)toTransform;
875     if (toTransform->pNext) {
876         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
877     }
878 }
879 
transform_fromhost_VkFenceCreateInfo(VkDecoderGlobalState * resourceTracker,VkFenceCreateInfo * toTransform)880 void transform_fromhost_VkFenceCreateInfo(VkDecoderGlobalState* resourceTracker,
881                                           VkFenceCreateInfo* toTransform) {
882     (void)resourceTracker;
883     (void)toTransform;
884     if (toTransform->pNext) {
885         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
886     }
887 }
888 
transform_tohost_VkSemaphoreCreateInfo(VkDecoderGlobalState * resourceTracker,VkSemaphoreCreateInfo * toTransform)889 void transform_tohost_VkSemaphoreCreateInfo(VkDecoderGlobalState* resourceTracker,
890                                             VkSemaphoreCreateInfo* toTransform) {
891     (void)resourceTracker;
892     (void)toTransform;
893     if (toTransform->pNext) {
894         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
895     }
896 }
897 
transform_fromhost_VkSemaphoreCreateInfo(VkDecoderGlobalState * resourceTracker,VkSemaphoreCreateInfo * toTransform)898 void transform_fromhost_VkSemaphoreCreateInfo(VkDecoderGlobalState* resourceTracker,
899                                               VkSemaphoreCreateInfo* toTransform) {
900     (void)resourceTracker;
901     (void)toTransform;
902     if (toTransform->pNext) {
903         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
904     }
905 }
906 
transform_tohost_VkEventCreateInfo(VkDecoderGlobalState * resourceTracker,VkEventCreateInfo * toTransform)907 void transform_tohost_VkEventCreateInfo(VkDecoderGlobalState* resourceTracker,
908                                         VkEventCreateInfo* toTransform) {
909     (void)resourceTracker;
910     (void)toTransform;
911     if (toTransform->pNext) {
912         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
913     }
914 }
915 
transform_fromhost_VkEventCreateInfo(VkDecoderGlobalState * resourceTracker,VkEventCreateInfo * toTransform)916 void transform_fromhost_VkEventCreateInfo(VkDecoderGlobalState* resourceTracker,
917                                           VkEventCreateInfo* toTransform) {
918     (void)resourceTracker;
919     (void)toTransform;
920     if (toTransform->pNext) {
921         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
922     }
923 }
924 
transform_tohost_VkQueryPoolCreateInfo(VkDecoderGlobalState * resourceTracker,VkQueryPoolCreateInfo * toTransform)925 void transform_tohost_VkQueryPoolCreateInfo(VkDecoderGlobalState* resourceTracker,
926                                             VkQueryPoolCreateInfo* toTransform) {
927     (void)resourceTracker;
928     (void)toTransform;
929     if (toTransform->pNext) {
930         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
931     }
932 }
933 
transform_fromhost_VkQueryPoolCreateInfo(VkDecoderGlobalState * resourceTracker,VkQueryPoolCreateInfo * toTransform)934 void transform_fromhost_VkQueryPoolCreateInfo(VkDecoderGlobalState* resourceTracker,
935                                               VkQueryPoolCreateInfo* toTransform) {
936     (void)resourceTracker;
937     (void)toTransform;
938     if (toTransform->pNext) {
939         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
940     }
941 }
942 
transform_tohost_VkBufferCreateInfo(VkDecoderGlobalState * resourceTracker,VkBufferCreateInfo * toTransform)943 void transform_tohost_VkBufferCreateInfo(VkDecoderGlobalState* resourceTracker,
944                                          VkBufferCreateInfo* toTransform) {
945     (void)resourceTracker;
946     (void)toTransform;
947     if (toTransform->pNext) {
948         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
949     }
950 }
951 
transform_fromhost_VkBufferCreateInfo(VkDecoderGlobalState * resourceTracker,VkBufferCreateInfo * toTransform)952 void transform_fromhost_VkBufferCreateInfo(VkDecoderGlobalState* resourceTracker,
953                                            VkBufferCreateInfo* toTransform) {
954     (void)resourceTracker;
955     (void)toTransform;
956     if (toTransform->pNext) {
957         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
958     }
959 }
960 
transform_tohost_VkBufferViewCreateInfo(VkDecoderGlobalState * resourceTracker,VkBufferViewCreateInfo * toTransform)961 void transform_tohost_VkBufferViewCreateInfo(VkDecoderGlobalState* resourceTracker,
962                                              VkBufferViewCreateInfo* toTransform) {
963     (void)resourceTracker;
964     (void)toTransform;
965     if (toTransform->pNext) {
966         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
967     }
968 }
969 
transform_fromhost_VkBufferViewCreateInfo(VkDecoderGlobalState * resourceTracker,VkBufferViewCreateInfo * toTransform)970 void transform_fromhost_VkBufferViewCreateInfo(VkDecoderGlobalState* resourceTracker,
971                                                VkBufferViewCreateInfo* toTransform) {
972     (void)resourceTracker;
973     (void)toTransform;
974     if (toTransform->pNext) {
975         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
976     }
977 }
978 
transform_tohost_VkImageCreateInfo(VkDecoderGlobalState * resourceTracker,VkImageCreateInfo * toTransform)979 void transform_tohost_VkImageCreateInfo(VkDecoderGlobalState* resourceTracker,
980                                         VkImageCreateInfo* toTransform) {
981     (void)resourceTracker;
982     (void)toTransform;
983     if (toTransform->pNext) {
984         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
985     }
986     transform_tohost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->extent));
987 }
988 
transform_fromhost_VkImageCreateInfo(VkDecoderGlobalState * resourceTracker,VkImageCreateInfo * toTransform)989 void transform_fromhost_VkImageCreateInfo(VkDecoderGlobalState* resourceTracker,
990                                           VkImageCreateInfo* toTransform) {
991     (void)resourceTracker;
992     (void)toTransform;
993     if (toTransform->pNext) {
994         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
995     }
996     transform_fromhost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->extent));
997 }
998 
transform_tohost_VkSubresourceLayout(VkDecoderGlobalState * resourceTracker,VkSubresourceLayout * toTransform)999 void transform_tohost_VkSubresourceLayout(VkDecoderGlobalState* resourceTracker,
1000                                           VkSubresourceLayout* toTransform) {
1001     (void)resourceTracker;
1002     (void)toTransform;
1003 }
1004 
transform_fromhost_VkSubresourceLayout(VkDecoderGlobalState * resourceTracker,VkSubresourceLayout * toTransform)1005 void transform_fromhost_VkSubresourceLayout(VkDecoderGlobalState* resourceTracker,
1006                                             VkSubresourceLayout* toTransform) {
1007     (void)resourceTracker;
1008     (void)toTransform;
1009 }
1010 
transform_tohost_VkComponentMapping(VkDecoderGlobalState * resourceTracker,VkComponentMapping * toTransform)1011 void transform_tohost_VkComponentMapping(VkDecoderGlobalState* resourceTracker,
1012                                          VkComponentMapping* toTransform) {
1013     (void)resourceTracker;
1014     (void)toTransform;
1015 }
1016 
transform_fromhost_VkComponentMapping(VkDecoderGlobalState * resourceTracker,VkComponentMapping * toTransform)1017 void transform_fromhost_VkComponentMapping(VkDecoderGlobalState* resourceTracker,
1018                                            VkComponentMapping* toTransform) {
1019     (void)resourceTracker;
1020     (void)toTransform;
1021 }
1022 
transform_tohost_VkImageViewCreateInfo(VkDecoderGlobalState * resourceTracker,VkImageViewCreateInfo * toTransform)1023 void transform_tohost_VkImageViewCreateInfo(VkDecoderGlobalState* resourceTracker,
1024                                             VkImageViewCreateInfo* toTransform) {
1025     (void)resourceTracker;
1026     (void)toTransform;
1027     if (toTransform->pNext) {
1028         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1029     }
1030     transform_tohost_VkComponentMapping(resourceTracker,
1031                                         (VkComponentMapping*)(&toTransform->components));
1032     transform_tohost_VkImageSubresourceRange(
1033         resourceTracker, (VkImageSubresourceRange*)(&toTransform->subresourceRange));
1034 }
1035 
transform_fromhost_VkImageViewCreateInfo(VkDecoderGlobalState * resourceTracker,VkImageViewCreateInfo * toTransform)1036 void transform_fromhost_VkImageViewCreateInfo(VkDecoderGlobalState* resourceTracker,
1037                                               VkImageViewCreateInfo* toTransform) {
1038     (void)resourceTracker;
1039     (void)toTransform;
1040     if (toTransform->pNext) {
1041         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1042     }
1043     transform_fromhost_VkComponentMapping(resourceTracker,
1044                                           (VkComponentMapping*)(&toTransform->components));
1045     transform_fromhost_VkImageSubresourceRange(
1046         resourceTracker, (VkImageSubresourceRange*)(&toTransform->subresourceRange));
1047 }
1048 
transform_tohost_VkShaderModuleCreateInfo(VkDecoderGlobalState * resourceTracker,VkShaderModuleCreateInfo * toTransform)1049 void transform_tohost_VkShaderModuleCreateInfo(VkDecoderGlobalState* resourceTracker,
1050                                                VkShaderModuleCreateInfo* toTransform) {
1051     (void)resourceTracker;
1052     (void)toTransform;
1053     if (toTransform->pNext) {
1054         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1055     }
1056 }
1057 
transform_fromhost_VkShaderModuleCreateInfo(VkDecoderGlobalState * resourceTracker,VkShaderModuleCreateInfo * toTransform)1058 void transform_fromhost_VkShaderModuleCreateInfo(VkDecoderGlobalState* resourceTracker,
1059                                                  VkShaderModuleCreateInfo* toTransform) {
1060     (void)resourceTracker;
1061     (void)toTransform;
1062     if (toTransform->pNext) {
1063         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1064     }
1065 }
1066 
transform_tohost_VkPipelineCacheCreateInfo(VkDecoderGlobalState * resourceTracker,VkPipelineCacheCreateInfo * toTransform)1067 void transform_tohost_VkPipelineCacheCreateInfo(VkDecoderGlobalState* resourceTracker,
1068                                                 VkPipelineCacheCreateInfo* toTransform) {
1069     (void)resourceTracker;
1070     (void)toTransform;
1071     if (toTransform->pNext) {
1072         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1073     }
1074 }
1075 
transform_fromhost_VkPipelineCacheCreateInfo(VkDecoderGlobalState * resourceTracker,VkPipelineCacheCreateInfo * toTransform)1076 void transform_fromhost_VkPipelineCacheCreateInfo(VkDecoderGlobalState* resourceTracker,
1077                                                   VkPipelineCacheCreateInfo* toTransform) {
1078     (void)resourceTracker;
1079     (void)toTransform;
1080     if (toTransform->pNext) {
1081         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1082     }
1083 }
1084 
transform_tohost_VkSpecializationMapEntry(VkDecoderGlobalState * resourceTracker,VkSpecializationMapEntry * toTransform)1085 void transform_tohost_VkSpecializationMapEntry(VkDecoderGlobalState* resourceTracker,
1086                                                VkSpecializationMapEntry* toTransform) {
1087     (void)resourceTracker;
1088     (void)toTransform;
1089 }
1090 
transform_fromhost_VkSpecializationMapEntry(VkDecoderGlobalState * resourceTracker,VkSpecializationMapEntry * toTransform)1091 void transform_fromhost_VkSpecializationMapEntry(VkDecoderGlobalState* resourceTracker,
1092                                                  VkSpecializationMapEntry* toTransform) {
1093     (void)resourceTracker;
1094     (void)toTransform;
1095 }
1096 
transform_tohost_VkSpecializationInfo(VkDecoderGlobalState * resourceTracker,VkSpecializationInfo * toTransform)1097 void transform_tohost_VkSpecializationInfo(VkDecoderGlobalState* resourceTracker,
1098                                            VkSpecializationInfo* toTransform) {
1099     (void)resourceTracker;
1100     (void)toTransform;
1101     if (toTransform) {
1102         if (toTransform->pMapEntries) {
1103             for (uint32_t i = 0; i < (uint32_t)toTransform->mapEntryCount; ++i) {
1104                 transform_tohost_VkSpecializationMapEntry(
1105                     resourceTracker, (VkSpecializationMapEntry*)(toTransform->pMapEntries + i));
1106             }
1107         }
1108     }
1109 }
1110 
transform_fromhost_VkSpecializationInfo(VkDecoderGlobalState * resourceTracker,VkSpecializationInfo * toTransform)1111 void transform_fromhost_VkSpecializationInfo(VkDecoderGlobalState* resourceTracker,
1112                                              VkSpecializationInfo* toTransform) {
1113     (void)resourceTracker;
1114     (void)toTransform;
1115     if (toTransform) {
1116         if (toTransform->pMapEntries) {
1117             for (uint32_t i = 0; i < (uint32_t)toTransform->mapEntryCount; ++i) {
1118                 transform_fromhost_VkSpecializationMapEntry(
1119                     resourceTracker, (VkSpecializationMapEntry*)(toTransform->pMapEntries + i));
1120             }
1121         }
1122     }
1123 }
1124 
transform_tohost_VkPipelineShaderStageCreateInfo(VkDecoderGlobalState * resourceTracker,VkPipelineShaderStageCreateInfo * toTransform)1125 void transform_tohost_VkPipelineShaderStageCreateInfo(
1126     VkDecoderGlobalState* resourceTracker, VkPipelineShaderStageCreateInfo* toTransform) {
1127     (void)resourceTracker;
1128     (void)toTransform;
1129     if (toTransform->pNext) {
1130         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1131     }
1132     if (toTransform->pSpecializationInfo) {
1133         transform_tohost_VkSpecializationInfo(
1134             resourceTracker, (VkSpecializationInfo*)(toTransform->pSpecializationInfo));
1135     }
1136 }
1137 
transform_fromhost_VkPipelineShaderStageCreateInfo(VkDecoderGlobalState * resourceTracker,VkPipelineShaderStageCreateInfo * toTransform)1138 void transform_fromhost_VkPipelineShaderStageCreateInfo(
1139     VkDecoderGlobalState* resourceTracker, VkPipelineShaderStageCreateInfo* toTransform) {
1140     (void)resourceTracker;
1141     (void)toTransform;
1142     if (toTransform->pNext) {
1143         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1144     }
1145     if (toTransform->pSpecializationInfo) {
1146         transform_fromhost_VkSpecializationInfo(
1147             resourceTracker, (VkSpecializationInfo*)(toTransform->pSpecializationInfo));
1148     }
1149 }
1150 
transform_tohost_VkComputePipelineCreateInfo(VkDecoderGlobalState * resourceTracker,VkComputePipelineCreateInfo * toTransform)1151 void transform_tohost_VkComputePipelineCreateInfo(VkDecoderGlobalState* resourceTracker,
1152                                                   VkComputePipelineCreateInfo* toTransform) {
1153     (void)resourceTracker;
1154     (void)toTransform;
1155     if (toTransform->pNext) {
1156         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1157     }
1158     transform_tohost_VkPipelineShaderStageCreateInfo(
1159         resourceTracker, (VkPipelineShaderStageCreateInfo*)(&toTransform->stage));
1160 }
1161 
transform_fromhost_VkComputePipelineCreateInfo(VkDecoderGlobalState * resourceTracker,VkComputePipelineCreateInfo * toTransform)1162 void transform_fromhost_VkComputePipelineCreateInfo(VkDecoderGlobalState* resourceTracker,
1163                                                     VkComputePipelineCreateInfo* toTransform) {
1164     (void)resourceTracker;
1165     (void)toTransform;
1166     if (toTransform->pNext) {
1167         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1168     }
1169     transform_fromhost_VkPipelineShaderStageCreateInfo(
1170         resourceTracker, (VkPipelineShaderStageCreateInfo*)(&toTransform->stage));
1171 }
1172 
transform_tohost_VkVertexInputBindingDescription(VkDecoderGlobalState * resourceTracker,VkVertexInputBindingDescription * toTransform)1173 void transform_tohost_VkVertexInputBindingDescription(
1174     VkDecoderGlobalState* resourceTracker, VkVertexInputBindingDescription* toTransform) {
1175     (void)resourceTracker;
1176     (void)toTransform;
1177 }
1178 
transform_fromhost_VkVertexInputBindingDescription(VkDecoderGlobalState * resourceTracker,VkVertexInputBindingDescription * toTransform)1179 void transform_fromhost_VkVertexInputBindingDescription(
1180     VkDecoderGlobalState* resourceTracker, VkVertexInputBindingDescription* toTransform) {
1181     (void)resourceTracker;
1182     (void)toTransform;
1183 }
1184 
transform_tohost_VkVertexInputAttributeDescription(VkDecoderGlobalState * resourceTracker,VkVertexInputAttributeDescription * toTransform)1185 void transform_tohost_VkVertexInputAttributeDescription(
1186     VkDecoderGlobalState* resourceTracker, VkVertexInputAttributeDescription* toTransform) {
1187     (void)resourceTracker;
1188     (void)toTransform;
1189 }
1190 
transform_fromhost_VkVertexInputAttributeDescription(VkDecoderGlobalState * resourceTracker,VkVertexInputAttributeDescription * toTransform)1191 void transform_fromhost_VkVertexInputAttributeDescription(
1192     VkDecoderGlobalState* resourceTracker, VkVertexInputAttributeDescription* toTransform) {
1193     (void)resourceTracker;
1194     (void)toTransform;
1195 }
1196 
transform_tohost_VkPipelineVertexInputStateCreateInfo(VkDecoderGlobalState * resourceTracker,VkPipelineVertexInputStateCreateInfo * toTransform)1197 void transform_tohost_VkPipelineVertexInputStateCreateInfo(
1198     VkDecoderGlobalState* resourceTracker, VkPipelineVertexInputStateCreateInfo* toTransform) {
1199     (void)resourceTracker;
1200     (void)toTransform;
1201     if (toTransform->pNext) {
1202         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1203     }
1204     if (toTransform) {
1205         if (toTransform->pVertexBindingDescriptions) {
1206             for (uint32_t i = 0; i < (uint32_t)toTransform->vertexBindingDescriptionCount; ++i) {
1207                 transform_tohost_VkVertexInputBindingDescription(
1208                     resourceTracker,
1209                     (VkVertexInputBindingDescription*)(toTransform->pVertexBindingDescriptions +
1210                                                        i));
1211             }
1212         }
1213     }
1214     if (toTransform) {
1215         if (toTransform->pVertexAttributeDescriptions) {
1216             for (uint32_t i = 0; i < (uint32_t)toTransform->vertexAttributeDescriptionCount; ++i) {
1217                 transform_tohost_VkVertexInputAttributeDescription(
1218                     resourceTracker,
1219                     (VkVertexInputAttributeDescription*)(toTransform->pVertexAttributeDescriptions +
1220                                                          i));
1221             }
1222         }
1223     }
1224 }
1225 
transform_fromhost_VkPipelineVertexInputStateCreateInfo(VkDecoderGlobalState * resourceTracker,VkPipelineVertexInputStateCreateInfo * toTransform)1226 void transform_fromhost_VkPipelineVertexInputStateCreateInfo(
1227     VkDecoderGlobalState* resourceTracker, VkPipelineVertexInputStateCreateInfo* toTransform) {
1228     (void)resourceTracker;
1229     (void)toTransform;
1230     if (toTransform->pNext) {
1231         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1232     }
1233     if (toTransform) {
1234         if (toTransform->pVertexBindingDescriptions) {
1235             for (uint32_t i = 0; i < (uint32_t)toTransform->vertexBindingDescriptionCount; ++i) {
1236                 transform_fromhost_VkVertexInputBindingDescription(
1237                     resourceTracker,
1238                     (VkVertexInputBindingDescription*)(toTransform->pVertexBindingDescriptions +
1239                                                        i));
1240             }
1241         }
1242     }
1243     if (toTransform) {
1244         if (toTransform->pVertexAttributeDescriptions) {
1245             for (uint32_t i = 0; i < (uint32_t)toTransform->vertexAttributeDescriptionCount; ++i) {
1246                 transform_fromhost_VkVertexInputAttributeDescription(
1247                     resourceTracker,
1248                     (VkVertexInputAttributeDescription*)(toTransform->pVertexAttributeDescriptions +
1249                                                          i));
1250             }
1251         }
1252     }
1253 }
1254 
transform_tohost_VkPipelineInputAssemblyStateCreateInfo(VkDecoderGlobalState * resourceTracker,VkPipelineInputAssemblyStateCreateInfo * toTransform)1255 void transform_tohost_VkPipelineInputAssemblyStateCreateInfo(
1256     VkDecoderGlobalState* resourceTracker, VkPipelineInputAssemblyStateCreateInfo* toTransform) {
1257     (void)resourceTracker;
1258     (void)toTransform;
1259     if (toTransform->pNext) {
1260         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1261     }
1262 }
1263 
transform_fromhost_VkPipelineInputAssemblyStateCreateInfo(VkDecoderGlobalState * resourceTracker,VkPipelineInputAssemblyStateCreateInfo * toTransform)1264 void transform_fromhost_VkPipelineInputAssemblyStateCreateInfo(
1265     VkDecoderGlobalState* resourceTracker, VkPipelineInputAssemblyStateCreateInfo* toTransform) {
1266     (void)resourceTracker;
1267     (void)toTransform;
1268     if (toTransform->pNext) {
1269         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1270     }
1271 }
1272 
transform_tohost_VkPipelineTessellationStateCreateInfo(VkDecoderGlobalState * resourceTracker,VkPipelineTessellationStateCreateInfo * toTransform)1273 void transform_tohost_VkPipelineTessellationStateCreateInfo(
1274     VkDecoderGlobalState* resourceTracker, VkPipelineTessellationStateCreateInfo* toTransform) {
1275     (void)resourceTracker;
1276     (void)toTransform;
1277     if (toTransform->pNext) {
1278         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1279     }
1280 }
1281 
transform_fromhost_VkPipelineTessellationStateCreateInfo(VkDecoderGlobalState * resourceTracker,VkPipelineTessellationStateCreateInfo * toTransform)1282 void transform_fromhost_VkPipelineTessellationStateCreateInfo(
1283     VkDecoderGlobalState* resourceTracker, VkPipelineTessellationStateCreateInfo* toTransform) {
1284     (void)resourceTracker;
1285     (void)toTransform;
1286     if (toTransform->pNext) {
1287         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1288     }
1289 }
1290 
transform_tohost_VkViewport(VkDecoderGlobalState * resourceTracker,VkViewport * toTransform)1291 void transform_tohost_VkViewport(VkDecoderGlobalState* resourceTracker, VkViewport* toTransform) {
1292     (void)resourceTracker;
1293     (void)toTransform;
1294 }
1295 
transform_fromhost_VkViewport(VkDecoderGlobalState * resourceTracker,VkViewport * toTransform)1296 void transform_fromhost_VkViewport(VkDecoderGlobalState* resourceTracker, VkViewport* toTransform) {
1297     (void)resourceTracker;
1298     (void)toTransform;
1299 }
1300 
transform_tohost_VkPipelineViewportStateCreateInfo(VkDecoderGlobalState * resourceTracker,VkPipelineViewportStateCreateInfo * toTransform)1301 void transform_tohost_VkPipelineViewportStateCreateInfo(
1302     VkDecoderGlobalState* resourceTracker, VkPipelineViewportStateCreateInfo* toTransform) {
1303     (void)resourceTracker;
1304     (void)toTransform;
1305     if (toTransform->pNext) {
1306         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1307     }
1308     if (toTransform) {
1309         if (toTransform->pViewports) {
1310             for (uint32_t i = 0; i < (uint32_t)toTransform->viewportCount; ++i) {
1311                 transform_tohost_VkViewport(resourceTracker,
1312                                             (VkViewport*)(toTransform->pViewports + i));
1313             }
1314         }
1315     }
1316     if (toTransform) {
1317         if (toTransform->pScissors) {
1318             for (uint32_t i = 0; i < (uint32_t)toTransform->scissorCount; ++i) {
1319                 transform_tohost_VkRect2D(resourceTracker, (VkRect2D*)(toTransform->pScissors + i));
1320             }
1321         }
1322     }
1323 }
1324 
transform_fromhost_VkPipelineViewportStateCreateInfo(VkDecoderGlobalState * resourceTracker,VkPipelineViewportStateCreateInfo * toTransform)1325 void transform_fromhost_VkPipelineViewportStateCreateInfo(
1326     VkDecoderGlobalState* resourceTracker, VkPipelineViewportStateCreateInfo* toTransform) {
1327     (void)resourceTracker;
1328     (void)toTransform;
1329     if (toTransform->pNext) {
1330         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1331     }
1332     if (toTransform) {
1333         if (toTransform->pViewports) {
1334             for (uint32_t i = 0; i < (uint32_t)toTransform->viewportCount; ++i) {
1335                 transform_fromhost_VkViewport(resourceTracker,
1336                                               (VkViewport*)(toTransform->pViewports + i));
1337             }
1338         }
1339     }
1340     if (toTransform) {
1341         if (toTransform->pScissors) {
1342             for (uint32_t i = 0; i < (uint32_t)toTransform->scissorCount; ++i) {
1343                 transform_fromhost_VkRect2D(resourceTracker,
1344                                             (VkRect2D*)(toTransform->pScissors + i));
1345             }
1346         }
1347     }
1348 }
1349 
transform_tohost_VkPipelineRasterizationStateCreateInfo(VkDecoderGlobalState * resourceTracker,VkPipelineRasterizationStateCreateInfo * toTransform)1350 void transform_tohost_VkPipelineRasterizationStateCreateInfo(
1351     VkDecoderGlobalState* resourceTracker, VkPipelineRasterizationStateCreateInfo* toTransform) {
1352     (void)resourceTracker;
1353     (void)toTransform;
1354     if (toTransform->pNext) {
1355         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1356     }
1357 }
1358 
transform_fromhost_VkPipelineRasterizationStateCreateInfo(VkDecoderGlobalState * resourceTracker,VkPipelineRasterizationStateCreateInfo * toTransform)1359 void transform_fromhost_VkPipelineRasterizationStateCreateInfo(
1360     VkDecoderGlobalState* resourceTracker, VkPipelineRasterizationStateCreateInfo* toTransform) {
1361     (void)resourceTracker;
1362     (void)toTransform;
1363     if (toTransform->pNext) {
1364         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1365     }
1366 }
1367 
transform_tohost_VkPipelineMultisampleStateCreateInfo(VkDecoderGlobalState * resourceTracker,VkPipelineMultisampleStateCreateInfo * toTransform)1368 void transform_tohost_VkPipelineMultisampleStateCreateInfo(
1369     VkDecoderGlobalState* resourceTracker, VkPipelineMultisampleStateCreateInfo* toTransform) {
1370     (void)resourceTracker;
1371     (void)toTransform;
1372     if (toTransform->pNext) {
1373         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1374     }
1375 }
1376 
transform_fromhost_VkPipelineMultisampleStateCreateInfo(VkDecoderGlobalState * resourceTracker,VkPipelineMultisampleStateCreateInfo * toTransform)1377 void transform_fromhost_VkPipelineMultisampleStateCreateInfo(
1378     VkDecoderGlobalState* resourceTracker, VkPipelineMultisampleStateCreateInfo* toTransform) {
1379     (void)resourceTracker;
1380     (void)toTransform;
1381     if (toTransform->pNext) {
1382         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1383     }
1384 }
1385 
transform_tohost_VkStencilOpState(VkDecoderGlobalState * resourceTracker,VkStencilOpState * toTransform)1386 void transform_tohost_VkStencilOpState(VkDecoderGlobalState* resourceTracker,
1387                                        VkStencilOpState* toTransform) {
1388     (void)resourceTracker;
1389     (void)toTransform;
1390 }
1391 
transform_fromhost_VkStencilOpState(VkDecoderGlobalState * resourceTracker,VkStencilOpState * toTransform)1392 void transform_fromhost_VkStencilOpState(VkDecoderGlobalState* resourceTracker,
1393                                          VkStencilOpState* toTransform) {
1394     (void)resourceTracker;
1395     (void)toTransform;
1396 }
1397 
transform_tohost_VkPipelineDepthStencilStateCreateInfo(VkDecoderGlobalState * resourceTracker,VkPipelineDepthStencilStateCreateInfo * toTransform)1398 void transform_tohost_VkPipelineDepthStencilStateCreateInfo(
1399     VkDecoderGlobalState* resourceTracker, VkPipelineDepthStencilStateCreateInfo* toTransform) {
1400     (void)resourceTracker;
1401     (void)toTransform;
1402     if (toTransform->pNext) {
1403         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1404     }
1405     transform_tohost_VkStencilOpState(resourceTracker, (VkStencilOpState*)(&toTransform->front));
1406     transform_tohost_VkStencilOpState(resourceTracker, (VkStencilOpState*)(&toTransform->back));
1407 }
1408 
transform_fromhost_VkPipelineDepthStencilStateCreateInfo(VkDecoderGlobalState * resourceTracker,VkPipelineDepthStencilStateCreateInfo * toTransform)1409 void transform_fromhost_VkPipelineDepthStencilStateCreateInfo(
1410     VkDecoderGlobalState* resourceTracker, VkPipelineDepthStencilStateCreateInfo* toTransform) {
1411     (void)resourceTracker;
1412     (void)toTransform;
1413     if (toTransform->pNext) {
1414         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1415     }
1416     transform_fromhost_VkStencilOpState(resourceTracker, (VkStencilOpState*)(&toTransform->front));
1417     transform_fromhost_VkStencilOpState(resourceTracker, (VkStencilOpState*)(&toTransform->back));
1418 }
1419 
transform_tohost_VkPipelineColorBlendAttachmentState(VkDecoderGlobalState * resourceTracker,VkPipelineColorBlendAttachmentState * toTransform)1420 void transform_tohost_VkPipelineColorBlendAttachmentState(
1421     VkDecoderGlobalState* resourceTracker, VkPipelineColorBlendAttachmentState* toTransform) {
1422     (void)resourceTracker;
1423     (void)toTransform;
1424 }
1425 
transform_fromhost_VkPipelineColorBlendAttachmentState(VkDecoderGlobalState * resourceTracker,VkPipelineColorBlendAttachmentState * toTransform)1426 void transform_fromhost_VkPipelineColorBlendAttachmentState(
1427     VkDecoderGlobalState* resourceTracker, VkPipelineColorBlendAttachmentState* toTransform) {
1428     (void)resourceTracker;
1429     (void)toTransform;
1430 }
1431 
transform_tohost_VkPipelineColorBlendStateCreateInfo(VkDecoderGlobalState * resourceTracker,VkPipelineColorBlendStateCreateInfo * toTransform)1432 void transform_tohost_VkPipelineColorBlendStateCreateInfo(
1433     VkDecoderGlobalState* resourceTracker, VkPipelineColorBlendStateCreateInfo* toTransform) {
1434     (void)resourceTracker;
1435     (void)toTransform;
1436     if (toTransform->pNext) {
1437         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1438     }
1439     if (toTransform) {
1440         if (toTransform->pAttachments) {
1441             for (uint32_t i = 0; i < (uint32_t)toTransform->attachmentCount; ++i) {
1442                 transform_tohost_VkPipelineColorBlendAttachmentState(
1443                     resourceTracker,
1444                     (VkPipelineColorBlendAttachmentState*)(toTransform->pAttachments + i));
1445             }
1446         }
1447     }
1448 }
1449 
transform_fromhost_VkPipelineColorBlendStateCreateInfo(VkDecoderGlobalState * resourceTracker,VkPipelineColorBlendStateCreateInfo * toTransform)1450 void transform_fromhost_VkPipelineColorBlendStateCreateInfo(
1451     VkDecoderGlobalState* resourceTracker, VkPipelineColorBlendStateCreateInfo* toTransform) {
1452     (void)resourceTracker;
1453     (void)toTransform;
1454     if (toTransform->pNext) {
1455         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1456     }
1457     if (toTransform) {
1458         if (toTransform->pAttachments) {
1459             for (uint32_t i = 0; i < (uint32_t)toTransform->attachmentCount; ++i) {
1460                 transform_fromhost_VkPipelineColorBlendAttachmentState(
1461                     resourceTracker,
1462                     (VkPipelineColorBlendAttachmentState*)(toTransform->pAttachments + i));
1463             }
1464         }
1465     }
1466 }
1467 
transform_tohost_VkPipelineDynamicStateCreateInfo(VkDecoderGlobalState * resourceTracker,VkPipelineDynamicStateCreateInfo * toTransform)1468 void transform_tohost_VkPipelineDynamicStateCreateInfo(
1469     VkDecoderGlobalState* resourceTracker, VkPipelineDynamicStateCreateInfo* toTransform) {
1470     (void)resourceTracker;
1471     (void)toTransform;
1472     if (toTransform->pNext) {
1473         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1474     }
1475 }
1476 
transform_fromhost_VkPipelineDynamicStateCreateInfo(VkDecoderGlobalState * resourceTracker,VkPipelineDynamicStateCreateInfo * toTransform)1477 void transform_fromhost_VkPipelineDynamicStateCreateInfo(
1478     VkDecoderGlobalState* resourceTracker, VkPipelineDynamicStateCreateInfo* toTransform) {
1479     (void)resourceTracker;
1480     (void)toTransform;
1481     if (toTransform->pNext) {
1482         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1483     }
1484 }
1485 
transform_tohost_VkGraphicsPipelineCreateInfo(VkDecoderGlobalState * resourceTracker,VkGraphicsPipelineCreateInfo * toTransform)1486 void transform_tohost_VkGraphicsPipelineCreateInfo(VkDecoderGlobalState* resourceTracker,
1487                                                    VkGraphicsPipelineCreateInfo* toTransform) {
1488     (void)resourceTracker;
1489     (void)toTransform;
1490     if (toTransform->pNext) {
1491         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1492     }
1493     if (toTransform) {
1494         if (toTransform->pStages) {
1495             for (uint32_t i = 0; i < (uint32_t)toTransform->stageCount; ++i) {
1496                 transform_tohost_VkPipelineShaderStageCreateInfo(
1497                     resourceTracker, (VkPipelineShaderStageCreateInfo*)(toTransform->pStages + i));
1498             }
1499         }
1500     }
1501     if (toTransform->pVertexInputState) {
1502         transform_tohost_VkPipelineVertexInputStateCreateInfo(
1503             resourceTracker,
1504             (VkPipelineVertexInputStateCreateInfo*)(toTransform->pVertexInputState));
1505     }
1506     if (toTransform->pInputAssemblyState) {
1507         transform_tohost_VkPipelineInputAssemblyStateCreateInfo(
1508             resourceTracker,
1509             (VkPipelineInputAssemblyStateCreateInfo*)(toTransform->pInputAssemblyState));
1510     }
1511     if (toTransform->pTessellationState) {
1512         transform_tohost_VkPipelineTessellationStateCreateInfo(
1513             resourceTracker,
1514             (VkPipelineTessellationStateCreateInfo*)(toTransform->pTessellationState));
1515     }
1516     if (toTransform->pViewportState) {
1517         transform_tohost_VkPipelineViewportStateCreateInfo(
1518             resourceTracker, (VkPipelineViewportStateCreateInfo*)(toTransform->pViewportState));
1519     }
1520     if (toTransform->pRasterizationState) {
1521         transform_tohost_VkPipelineRasterizationStateCreateInfo(
1522             resourceTracker,
1523             (VkPipelineRasterizationStateCreateInfo*)(toTransform->pRasterizationState));
1524     }
1525     if (toTransform->pMultisampleState) {
1526         transform_tohost_VkPipelineMultisampleStateCreateInfo(
1527             resourceTracker,
1528             (VkPipelineMultisampleStateCreateInfo*)(toTransform->pMultisampleState));
1529     }
1530     if (toTransform->pDepthStencilState) {
1531         transform_tohost_VkPipelineDepthStencilStateCreateInfo(
1532             resourceTracker,
1533             (VkPipelineDepthStencilStateCreateInfo*)(toTransform->pDepthStencilState));
1534     }
1535     if (toTransform->pColorBlendState) {
1536         transform_tohost_VkPipelineColorBlendStateCreateInfo(
1537             resourceTracker, (VkPipelineColorBlendStateCreateInfo*)(toTransform->pColorBlendState));
1538     }
1539     if (toTransform->pDynamicState) {
1540         transform_tohost_VkPipelineDynamicStateCreateInfo(
1541             resourceTracker, (VkPipelineDynamicStateCreateInfo*)(toTransform->pDynamicState));
1542     }
1543 }
1544 
transform_fromhost_VkGraphicsPipelineCreateInfo(VkDecoderGlobalState * resourceTracker,VkGraphicsPipelineCreateInfo * toTransform)1545 void transform_fromhost_VkGraphicsPipelineCreateInfo(VkDecoderGlobalState* resourceTracker,
1546                                                      VkGraphicsPipelineCreateInfo* toTransform) {
1547     (void)resourceTracker;
1548     (void)toTransform;
1549     if (toTransform->pNext) {
1550         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1551     }
1552     if (toTransform) {
1553         if (toTransform->pStages) {
1554             for (uint32_t i = 0; i < (uint32_t)toTransform->stageCount; ++i) {
1555                 transform_fromhost_VkPipelineShaderStageCreateInfo(
1556                     resourceTracker, (VkPipelineShaderStageCreateInfo*)(toTransform->pStages + i));
1557             }
1558         }
1559     }
1560     if (toTransform->pVertexInputState) {
1561         transform_fromhost_VkPipelineVertexInputStateCreateInfo(
1562             resourceTracker,
1563             (VkPipelineVertexInputStateCreateInfo*)(toTransform->pVertexInputState));
1564     }
1565     if (toTransform->pInputAssemblyState) {
1566         transform_fromhost_VkPipelineInputAssemblyStateCreateInfo(
1567             resourceTracker,
1568             (VkPipelineInputAssemblyStateCreateInfo*)(toTransform->pInputAssemblyState));
1569     }
1570     if (toTransform->pTessellationState) {
1571         transform_fromhost_VkPipelineTessellationStateCreateInfo(
1572             resourceTracker,
1573             (VkPipelineTessellationStateCreateInfo*)(toTransform->pTessellationState));
1574     }
1575     if (toTransform->pViewportState) {
1576         transform_fromhost_VkPipelineViewportStateCreateInfo(
1577             resourceTracker, (VkPipelineViewportStateCreateInfo*)(toTransform->pViewportState));
1578     }
1579     if (toTransform->pRasterizationState) {
1580         transform_fromhost_VkPipelineRasterizationStateCreateInfo(
1581             resourceTracker,
1582             (VkPipelineRasterizationStateCreateInfo*)(toTransform->pRasterizationState));
1583     }
1584     if (toTransform->pMultisampleState) {
1585         transform_fromhost_VkPipelineMultisampleStateCreateInfo(
1586             resourceTracker,
1587             (VkPipelineMultisampleStateCreateInfo*)(toTransform->pMultisampleState));
1588     }
1589     if (toTransform->pDepthStencilState) {
1590         transform_fromhost_VkPipelineDepthStencilStateCreateInfo(
1591             resourceTracker,
1592             (VkPipelineDepthStencilStateCreateInfo*)(toTransform->pDepthStencilState));
1593     }
1594     if (toTransform->pColorBlendState) {
1595         transform_fromhost_VkPipelineColorBlendStateCreateInfo(
1596             resourceTracker, (VkPipelineColorBlendStateCreateInfo*)(toTransform->pColorBlendState));
1597     }
1598     if (toTransform->pDynamicState) {
1599         transform_fromhost_VkPipelineDynamicStateCreateInfo(
1600             resourceTracker, (VkPipelineDynamicStateCreateInfo*)(toTransform->pDynamicState));
1601     }
1602 }
1603 
transform_tohost_VkPushConstantRange(VkDecoderGlobalState * resourceTracker,VkPushConstantRange * toTransform)1604 void transform_tohost_VkPushConstantRange(VkDecoderGlobalState* resourceTracker,
1605                                           VkPushConstantRange* toTransform) {
1606     (void)resourceTracker;
1607     (void)toTransform;
1608 }
1609 
transform_fromhost_VkPushConstantRange(VkDecoderGlobalState * resourceTracker,VkPushConstantRange * toTransform)1610 void transform_fromhost_VkPushConstantRange(VkDecoderGlobalState* resourceTracker,
1611                                             VkPushConstantRange* toTransform) {
1612     (void)resourceTracker;
1613     (void)toTransform;
1614 }
1615 
transform_tohost_VkPipelineLayoutCreateInfo(VkDecoderGlobalState * resourceTracker,VkPipelineLayoutCreateInfo * toTransform)1616 void transform_tohost_VkPipelineLayoutCreateInfo(VkDecoderGlobalState* resourceTracker,
1617                                                  VkPipelineLayoutCreateInfo* toTransform) {
1618     (void)resourceTracker;
1619     (void)toTransform;
1620     if (toTransform->pNext) {
1621         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1622     }
1623     if (toTransform) {
1624         if (toTransform->pPushConstantRanges) {
1625             for (uint32_t i = 0; i < (uint32_t)toTransform->pushConstantRangeCount; ++i) {
1626                 transform_tohost_VkPushConstantRange(
1627                     resourceTracker, (VkPushConstantRange*)(toTransform->pPushConstantRanges + i));
1628             }
1629         }
1630     }
1631 }
1632 
transform_fromhost_VkPipelineLayoutCreateInfo(VkDecoderGlobalState * resourceTracker,VkPipelineLayoutCreateInfo * toTransform)1633 void transform_fromhost_VkPipelineLayoutCreateInfo(VkDecoderGlobalState* resourceTracker,
1634                                                    VkPipelineLayoutCreateInfo* toTransform) {
1635     (void)resourceTracker;
1636     (void)toTransform;
1637     if (toTransform->pNext) {
1638         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1639     }
1640     if (toTransform) {
1641         if (toTransform->pPushConstantRanges) {
1642             for (uint32_t i = 0; i < (uint32_t)toTransform->pushConstantRangeCount; ++i) {
1643                 transform_fromhost_VkPushConstantRange(
1644                     resourceTracker, (VkPushConstantRange*)(toTransform->pPushConstantRanges + i));
1645             }
1646         }
1647     }
1648 }
1649 
transform_tohost_VkSamplerCreateInfo(VkDecoderGlobalState * resourceTracker,VkSamplerCreateInfo * toTransform)1650 void transform_tohost_VkSamplerCreateInfo(VkDecoderGlobalState* resourceTracker,
1651                                           VkSamplerCreateInfo* toTransform) {
1652     (void)resourceTracker;
1653     (void)toTransform;
1654     if (toTransform->pNext) {
1655         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1656     }
1657 }
1658 
transform_fromhost_VkSamplerCreateInfo(VkDecoderGlobalState * resourceTracker,VkSamplerCreateInfo * toTransform)1659 void transform_fromhost_VkSamplerCreateInfo(VkDecoderGlobalState* resourceTracker,
1660                                             VkSamplerCreateInfo* toTransform) {
1661     (void)resourceTracker;
1662     (void)toTransform;
1663     if (toTransform->pNext) {
1664         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1665     }
1666 }
1667 
transform_tohost_VkCopyDescriptorSet(VkDecoderGlobalState * resourceTracker,VkCopyDescriptorSet * toTransform)1668 void transform_tohost_VkCopyDescriptorSet(VkDecoderGlobalState* resourceTracker,
1669                                           VkCopyDescriptorSet* toTransform) {
1670     (void)resourceTracker;
1671     (void)toTransform;
1672     if (toTransform->pNext) {
1673         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1674     }
1675 }
1676 
transform_fromhost_VkCopyDescriptorSet(VkDecoderGlobalState * resourceTracker,VkCopyDescriptorSet * toTransform)1677 void transform_fromhost_VkCopyDescriptorSet(VkDecoderGlobalState* resourceTracker,
1678                                             VkCopyDescriptorSet* toTransform) {
1679     (void)resourceTracker;
1680     (void)toTransform;
1681     if (toTransform->pNext) {
1682         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1683     }
1684 }
1685 
transform_tohost_VkDescriptorBufferInfo(VkDecoderGlobalState * resourceTracker,VkDescriptorBufferInfo * toTransform)1686 void transform_tohost_VkDescriptorBufferInfo(VkDecoderGlobalState* resourceTracker,
1687                                              VkDescriptorBufferInfo* toTransform) {
1688     (void)resourceTracker;
1689     (void)toTransform;
1690 }
1691 
transform_fromhost_VkDescriptorBufferInfo(VkDecoderGlobalState * resourceTracker,VkDescriptorBufferInfo * toTransform)1692 void transform_fromhost_VkDescriptorBufferInfo(VkDecoderGlobalState* resourceTracker,
1693                                                VkDescriptorBufferInfo* toTransform) {
1694     (void)resourceTracker;
1695     (void)toTransform;
1696 }
1697 
transform_tohost_VkDescriptorImageInfo(VkDecoderGlobalState * resourceTracker,VkDescriptorImageInfo * toTransform)1698 void transform_tohost_VkDescriptorImageInfo(VkDecoderGlobalState* resourceTracker,
1699                                             VkDescriptorImageInfo* toTransform) {
1700     (void)resourceTracker;
1701     (void)toTransform;
1702 }
1703 
transform_fromhost_VkDescriptorImageInfo(VkDecoderGlobalState * resourceTracker,VkDescriptorImageInfo * toTransform)1704 void transform_fromhost_VkDescriptorImageInfo(VkDecoderGlobalState* resourceTracker,
1705                                               VkDescriptorImageInfo* toTransform) {
1706     (void)resourceTracker;
1707     (void)toTransform;
1708 }
1709 
transform_tohost_VkDescriptorPoolSize(VkDecoderGlobalState * resourceTracker,VkDescriptorPoolSize * toTransform)1710 void transform_tohost_VkDescriptorPoolSize(VkDecoderGlobalState* resourceTracker,
1711                                            VkDescriptorPoolSize* toTransform) {
1712     (void)resourceTracker;
1713     (void)toTransform;
1714 }
1715 
transform_fromhost_VkDescriptorPoolSize(VkDecoderGlobalState * resourceTracker,VkDescriptorPoolSize * toTransform)1716 void transform_fromhost_VkDescriptorPoolSize(VkDecoderGlobalState* resourceTracker,
1717                                              VkDescriptorPoolSize* toTransform) {
1718     (void)resourceTracker;
1719     (void)toTransform;
1720 }
1721 
transform_tohost_VkDescriptorPoolCreateInfo(VkDecoderGlobalState * resourceTracker,VkDescriptorPoolCreateInfo * toTransform)1722 void transform_tohost_VkDescriptorPoolCreateInfo(VkDecoderGlobalState* resourceTracker,
1723                                                  VkDescriptorPoolCreateInfo* toTransform) {
1724     (void)resourceTracker;
1725     (void)toTransform;
1726     if (toTransform->pNext) {
1727         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1728     }
1729     if (toTransform) {
1730         if (toTransform->pPoolSizes) {
1731             for (uint32_t i = 0; i < (uint32_t)toTransform->poolSizeCount; ++i) {
1732                 transform_tohost_VkDescriptorPoolSize(
1733                     resourceTracker, (VkDescriptorPoolSize*)(toTransform->pPoolSizes + i));
1734             }
1735         }
1736     }
1737 }
1738 
transform_fromhost_VkDescriptorPoolCreateInfo(VkDecoderGlobalState * resourceTracker,VkDescriptorPoolCreateInfo * toTransform)1739 void transform_fromhost_VkDescriptorPoolCreateInfo(VkDecoderGlobalState* resourceTracker,
1740                                                    VkDescriptorPoolCreateInfo* toTransform) {
1741     (void)resourceTracker;
1742     (void)toTransform;
1743     if (toTransform->pNext) {
1744         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1745     }
1746     if (toTransform) {
1747         if (toTransform->pPoolSizes) {
1748             for (uint32_t i = 0; i < (uint32_t)toTransform->poolSizeCount; ++i) {
1749                 transform_fromhost_VkDescriptorPoolSize(
1750                     resourceTracker, (VkDescriptorPoolSize*)(toTransform->pPoolSizes + i));
1751             }
1752         }
1753     }
1754 }
1755 
transform_tohost_VkDescriptorSetAllocateInfo(VkDecoderGlobalState * resourceTracker,VkDescriptorSetAllocateInfo * toTransform)1756 void transform_tohost_VkDescriptorSetAllocateInfo(VkDecoderGlobalState* resourceTracker,
1757                                                   VkDescriptorSetAllocateInfo* toTransform) {
1758     (void)resourceTracker;
1759     (void)toTransform;
1760     if (toTransform->pNext) {
1761         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1762     }
1763 }
1764 
transform_fromhost_VkDescriptorSetAllocateInfo(VkDecoderGlobalState * resourceTracker,VkDescriptorSetAllocateInfo * toTransform)1765 void transform_fromhost_VkDescriptorSetAllocateInfo(VkDecoderGlobalState* resourceTracker,
1766                                                     VkDescriptorSetAllocateInfo* toTransform) {
1767     (void)resourceTracker;
1768     (void)toTransform;
1769     if (toTransform->pNext) {
1770         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1771     }
1772 }
1773 
transform_tohost_VkDescriptorSetLayoutBinding(VkDecoderGlobalState * resourceTracker,VkDescriptorSetLayoutBinding * toTransform)1774 void transform_tohost_VkDescriptorSetLayoutBinding(VkDecoderGlobalState* resourceTracker,
1775                                                    VkDescriptorSetLayoutBinding* toTransform) {
1776     (void)resourceTracker;
1777     (void)toTransform;
1778 }
1779 
transform_fromhost_VkDescriptorSetLayoutBinding(VkDecoderGlobalState * resourceTracker,VkDescriptorSetLayoutBinding * toTransform)1780 void transform_fromhost_VkDescriptorSetLayoutBinding(VkDecoderGlobalState* resourceTracker,
1781                                                      VkDescriptorSetLayoutBinding* toTransform) {
1782     (void)resourceTracker;
1783     (void)toTransform;
1784 }
1785 
transform_tohost_VkDescriptorSetLayoutCreateInfo(VkDecoderGlobalState * resourceTracker,VkDescriptorSetLayoutCreateInfo * toTransform)1786 void transform_tohost_VkDescriptorSetLayoutCreateInfo(
1787     VkDecoderGlobalState* resourceTracker, VkDescriptorSetLayoutCreateInfo* toTransform) {
1788     (void)resourceTracker;
1789     (void)toTransform;
1790     if (toTransform->pNext) {
1791         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1792     }
1793     if (toTransform) {
1794         if (toTransform->pBindings) {
1795             for (uint32_t i = 0; i < (uint32_t)toTransform->bindingCount; ++i) {
1796                 transform_tohost_VkDescriptorSetLayoutBinding(
1797                     resourceTracker, (VkDescriptorSetLayoutBinding*)(toTransform->pBindings + i));
1798             }
1799         }
1800     }
1801 }
1802 
transform_fromhost_VkDescriptorSetLayoutCreateInfo(VkDecoderGlobalState * resourceTracker,VkDescriptorSetLayoutCreateInfo * toTransform)1803 void transform_fromhost_VkDescriptorSetLayoutCreateInfo(
1804     VkDecoderGlobalState* resourceTracker, VkDescriptorSetLayoutCreateInfo* toTransform) {
1805     (void)resourceTracker;
1806     (void)toTransform;
1807     if (toTransform->pNext) {
1808         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1809     }
1810     if (toTransform) {
1811         if (toTransform->pBindings) {
1812             for (uint32_t i = 0; i < (uint32_t)toTransform->bindingCount; ++i) {
1813                 transform_fromhost_VkDescriptorSetLayoutBinding(
1814                     resourceTracker, (VkDescriptorSetLayoutBinding*)(toTransform->pBindings + i));
1815             }
1816         }
1817     }
1818 }
1819 
transform_tohost_VkWriteDescriptorSet(VkDecoderGlobalState * resourceTracker,VkWriteDescriptorSet * toTransform)1820 void transform_tohost_VkWriteDescriptorSet(VkDecoderGlobalState* resourceTracker,
1821                                            VkWriteDescriptorSet* toTransform) {
1822     (void)resourceTracker;
1823     (void)toTransform;
1824     if (toTransform->pNext) {
1825         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1826     }
1827     if (toTransform) {
1828         if (toTransform->pImageInfo) {
1829             for (uint32_t i = 0; i < (uint32_t)toTransform->descriptorCount; ++i) {
1830                 transform_tohost_VkDescriptorImageInfo(
1831                     resourceTracker, (VkDescriptorImageInfo*)(toTransform->pImageInfo + i));
1832             }
1833         }
1834     }
1835     if (toTransform) {
1836         if (toTransform->pBufferInfo) {
1837             for (uint32_t i = 0; i < (uint32_t)toTransform->descriptorCount; ++i) {
1838                 transform_tohost_VkDescriptorBufferInfo(
1839                     resourceTracker, (VkDescriptorBufferInfo*)(toTransform->pBufferInfo + i));
1840             }
1841         }
1842     }
1843 }
1844 
transform_fromhost_VkWriteDescriptorSet(VkDecoderGlobalState * resourceTracker,VkWriteDescriptorSet * toTransform)1845 void transform_fromhost_VkWriteDescriptorSet(VkDecoderGlobalState* resourceTracker,
1846                                              VkWriteDescriptorSet* toTransform) {
1847     (void)resourceTracker;
1848     (void)toTransform;
1849     if (toTransform->pNext) {
1850         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1851     }
1852     if (toTransform) {
1853         if (toTransform->pImageInfo) {
1854             for (uint32_t i = 0; i < (uint32_t)toTransform->descriptorCount; ++i) {
1855                 transform_fromhost_VkDescriptorImageInfo(
1856                     resourceTracker, (VkDescriptorImageInfo*)(toTransform->pImageInfo + i));
1857             }
1858         }
1859     }
1860     if (toTransform) {
1861         if (toTransform->pBufferInfo) {
1862             for (uint32_t i = 0; i < (uint32_t)toTransform->descriptorCount; ++i) {
1863                 transform_fromhost_VkDescriptorBufferInfo(
1864                     resourceTracker, (VkDescriptorBufferInfo*)(toTransform->pBufferInfo + i));
1865             }
1866         }
1867     }
1868 }
1869 
transform_tohost_VkAttachmentDescription(VkDecoderGlobalState * resourceTracker,VkAttachmentDescription * toTransform)1870 void transform_tohost_VkAttachmentDescription(VkDecoderGlobalState* resourceTracker,
1871                                               VkAttachmentDescription* toTransform) {
1872     (void)resourceTracker;
1873     (void)toTransform;
1874 }
1875 
transform_fromhost_VkAttachmentDescription(VkDecoderGlobalState * resourceTracker,VkAttachmentDescription * toTransform)1876 void transform_fromhost_VkAttachmentDescription(VkDecoderGlobalState* resourceTracker,
1877                                                 VkAttachmentDescription* toTransform) {
1878     (void)resourceTracker;
1879     (void)toTransform;
1880 }
1881 
transform_tohost_VkAttachmentReference(VkDecoderGlobalState * resourceTracker,VkAttachmentReference * toTransform)1882 void transform_tohost_VkAttachmentReference(VkDecoderGlobalState* resourceTracker,
1883                                             VkAttachmentReference* toTransform) {
1884     (void)resourceTracker;
1885     (void)toTransform;
1886 }
1887 
transform_fromhost_VkAttachmentReference(VkDecoderGlobalState * resourceTracker,VkAttachmentReference * toTransform)1888 void transform_fromhost_VkAttachmentReference(VkDecoderGlobalState* resourceTracker,
1889                                               VkAttachmentReference* toTransform) {
1890     (void)resourceTracker;
1891     (void)toTransform;
1892 }
1893 
transform_tohost_VkFramebufferCreateInfo(VkDecoderGlobalState * resourceTracker,VkFramebufferCreateInfo * toTransform)1894 void transform_tohost_VkFramebufferCreateInfo(VkDecoderGlobalState* resourceTracker,
1895                                               VkFramebufferCreateInfo* toTransform) {
1896     (void)resourceTracker;
1897     (void)toTransform;
1898     if (toTransform->pNext) {
1899         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1900     }
1901 }
1902 
transform_fromhost_VkFramebufferCreateInfo(VkDecoderGlobalState * resourceTracker,VkFramebufferCreateInfo * toTransform)1903 void transform_fromhost_VkFramebufferCreateInfo(VkDecoderGlobalState* resourceTracker,
1904                                                 VkFramebufferCreateInfo* toTransform) {
1905     (void)resourceTracker;
1906     (void)toTransform;
1907     if (toTransform->pNext) {
1908         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
1909     }
1910 }
1911 
transform_tohost_VkSubpassDescription(VkDecoderGlobalState * resourceTracker,VkSubpassDescription * toTransform)1912 void transform_tohost_VkSubpassDescription(VkDecoderGlobalState* resourceTracker,
1913                                            VkSubpassDescription* toTransform) {
1914     (void)resourceTracker;
1915     (void)toTransform;
1916     if (toTransform) {
1917         if (toTransform->pInputAttachments) {
1918             for (uint32_t i = 0; i < (uint32_t)toTransform->inputAttachmentCount; ++i) {
1919                 transform_tohost_VkAttachmentReference(
1920                     resourceTracker, (VkAttachmentReference*)(toTransform->pInputAttachments + i));
1921             }
1922         }
1923     }
1924     if (toTransform) {
1925         if (toTransform->pColorAttachments) {
1926             for (uint32_t i = 0; i < (uint32_t)toTransform->colorAttachmentCount; ++i) {
1927                 transform_tohost_VkAttachmentReference(
1928                     resourceTracker, (VkAttachmentReference*)(toTransform->pColorAttachments + i));
1929             }
1930         }
1931     }
1932     if (toTransform) {
1933         if (toTransform->pResolveAttachments) {
1934             for (uint32_t i = 0; i < (uint32_t)toTransform->colorAttachmentCount; ++i) {
1935                 transform_tohost_VkAttachmentReference(
1936                     resourceTracker,
1937                     (VkAttachmentReference*)(toTransform->pResolveAttachments + i));
1938             }
1939         }
1940     }
1941     if (toTransform->pDepthStencilAttachment) {
1942         transform_tohost_VkAttachmentReference(
1943             resourceTracker, (VkAttachmentReference*)(toTransform->pDepthStencilAttachment));
1944     }
1945 }
1946 
transform_fromhost_VkSubpassDescription(VkDecoderGlobalState * resourceTracker,VkSubpassDescription * toTransform)1947 void transform_fromhost_VkSubpassDescription(VkDecoderGlobalState* resourceTracker,
1948                                              VkSubpassDescription* toTransform) {
1949     (void)resourceTracker;
1950     (void)toTransform;
1951     if (toTransform) {
1952         if (toTransform->pInputAttachments) {
1953             for (uint32_t i = 0; i < (uint32_t)toTransform->inputAttachmentCount; ++i) {
1954                 transform_fromhost_VkAttachmentReference(
1955                     resourceTracker, (VkAttachmentReference*)(toTransform->pInputAttachments + i));
1956             }
1957         }
1958     }
1959     if (toTransform) {
1960         if (toTransform->pColorAttachments) {
1961             for (uint32_t i = 0; i < (uint32_t)toTransform->colorAttachmentCount; ++i) {
1962                 transform_fromhost_VkAttachmentReference(
1963                     resourceTracker, (VkAttachmentReference*)(toTransform->pColorAttachments + i));
1964             }
1965         }
1966     }
1967     if (toTransform) {
1968         if (toTransform->pResolveAttachments) {
1969             for (uint32_t i = 0; i < (uint32_t)toTransform->colorAttachmentCount; ++i) {
1970                 transform_fromhost_VkAttachmentReference(
1971                     resourceTracker,
1972                     (VkAttachmentReference*)(toTransform->pResolveAttachments + i));
1973             }
1974         }
1975     }
1976     if (toTransform->pDepthStencilAttachment) {
1977         transform_fromhost_VkAttachmentReference(
1978             resourceTracker, (VkAttachmentReference*)(toTransform->pDepthStencilAttachment));
1979     }
1980 }
1981 
transform_tohost_VkSubpassDependency(VkDecoderGlobalState * resourceTracker,VkSubpassDependency * toTransform)1982 void transform_tohost_VkSubpassDependency(VkDecoderGlobalState* resourceTracker,
1983                                           VkSubpassDependency* toTransform) {
1984     (void)resourceTracker;
1985     (void)toTransform;
1986 }
1987 
transform_fromhost_VkSubpassDependency(VkDecoderGlobalState * resourceTracker,VkSubpassDependency * toTransform)1988 void transform_fromhost_VkSubpassDependency(VkDecoderGlobalState* resourceTracker,
1989                                             VkSubpassDependency* toTransform) {
1990     (void)resourceTracker;
1991     (void)toTransform;
1992 }
1993 
transform_tohost_VkRenderPassCreateInfo(VkDecoderGlobalState * resourceTracker,VkRenderPassCreateInfo * toTransform)1994 void transform_tohost_VkRenderPassCreateInfo(VkDecoderGlobalState* resourceTracker,
1995                                              VkRenderPassCreateInfo* toTransform) {
1996     (void)resourceTracker;
1997     (void)toTransform;
1998     if (toTransform->pNext) {
1999         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2000     }
2001     if (toTransform) {
2002         if (toTransform->pAttachments) {
2003             for (uint32_t i = 0; i < (uint32_t)toTransform->attachmentCount; ++i) {
2004                 transform_tohost_VkAttachmentDescription(
2005                     resourceTracker, (VkAttachmentDescription*)(toTransform->pAttachments + i));
2006             }
2007         }
2008     }
2009     if (toTransform) {
2010         if (toTransform->pSubpasses) {
2011             for (uint32_t i = 0; i < (uint32_t)toTransform->subpassCount; ++i) {
2012                 transform_tohost_VkSubpassDescription(
2013                     resourceTracker, (VkSubpassDescription*)(toTransform->pSubpasses + i));
2014             }
2015         }
2016     }
2017     if (toTransform) {
2018         if (toTransform->pDependencies) {
2019             for (uint32_t i = 0; i < (uint32_t)toTransform->dependencyCount; ++i) {
2020                 transform_tohost_VkSubpassDependency(
2021                     resourceTracker, (VkSubpassDependency*)(toTransform->pDependencies + i));
2022             }
2023         }
2024     }
2025 }
2026 
transform_fromhost_VkRenderPassCreateInfo(VkDecoderGlobalState * resourceTracker,VkRenderPassCreateInfo * toTransform)2027 void transform_fromhost_VkRenderPassCreateInfo(VkDecoderGlobalState* resourceTracker,
2028                                                VkRenderPassCreateInfo* toTransform) {
2029     (void)resourceTracker;
2030     (void)toTransform;
2031     if (toTransform->pNext) {
2032         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2033     }
2034     if (toTransform) {
2035         if (toTransform->pAttachments) {
2036             for (uint32_t i = 0; i < (uint32_t)toTransform->attachmentCount; ++i) {
2037                 transform_fromhost_VkAttachmentDescription(
2038                     resourceTracker, (VkAttachmentDescription*)(toTransform->pAttachments + i));
2039             }
2040         }
2041     }
2042     if (toTransform) {
2043         if (toTransform->pSubpasses) {
2044             for (uint32_t i = 0; i < (uint32_t)toTransform->subpassCount; ++i) {
2045                 transform_fromhost_VkSubpassDescription(
2046                     resourceTracker, (VkSubpassDescription*)(toTransform->pSubpasses + i));
2047             }
2048         }
2049     }
2050     if (toTransform) {
2051         if (toTransform->pDependencies) {
2052             for (uint32_t i = 0; i < (uint32_t)toTransform->dependencyCount; ++i) {
2053                 transform_fromhost_VkSubpassDependency(
2054                     resourceTracker, (VkSubpassDependency*)(toTransform->pDependencies + i));
2055             }
2056         }
2057     }
2058 }
2059 
transform_tohost_VkCommandPoolCreateInfo(VkDecoderGlobalState * resourceTracker,VkCommandPoolCreateInfo * toTransform)2060 void transform_tohost_VkCommandPoolCreateInfo(VkDecoderGlobalState* resourceTracker,
2061                                               VkCommandPoolCreateInfo* toTransform) {
2062     (void)resourceTracker;
2063     (void)toTransform;
2064     if (toTransform->pNext) {
2065         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2066     }
2067 }
2068 
transform_fromhost_VkCommandPoolCreateInfo(VkDecoderGlobalState * resourceTracker,VkCommandPoolCreateInfo * toTransform)2069 void transform_fromhost_VkCommandPoolCreateInfo(VkDecoderGlobalState* resourceTracker,
2070                                                 VkCommandPoolCreateInfo* toTransform) {
2071     (void)resourceTracker;
2072     (void)toTransform;
2073     if (toTransform->pNext) {
2074         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2075     }
2076 }
2077 
transform_tohost_VkCommandBufferAllocateInfo(VkDecoderGlobalState * resourceTracker,VkCommandBufferAllocateInfo * toTransform)2078 void transform_tohost_VkCommandBufferAllocateInfo(VkDecoderGlobalState* resourceTracker,
2079                                                   VkCommandBufferAllocateInfo* toTransform) {
2080     (void)resourceTracker;
2081     (void)toTransform;
2082     if (toTransform->pNext) {
2083         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2084     }
2085 }
2086 
transform_fromhost_VkCommandBufferAllocateInfo(VkDecoderGlobalState * resourceTracker,VkCommandBufferAllocateInfo * toTransform)2087 void transform_fromhost_VkCommandBufferAllocateInfo(VkDecoderGlobalState* resourceTracker,
2088                                                     VkCommandBufferAllocateInfo* toTransform) {
2089     (void)resourceTracker;
2090     (void)toTransform;
2091     if (toTransform->pNext) {
2092         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2093     }
2094 }
2095 
transform_tohost_VkCommandBufferInheritanceInfo(VkDecoderGlobalState * resourceTracker,VkCommandBufferInheritanceInfo * toTransform)2096 void transform_tohost_VkCommandBufferInheritanceInfo(VkDecoderGlobalState* resourceTracker,
2097                                                      VkCommandBufferInheritanceInfo* toTransform) {
2098     (void)resourceTracker;
2099     (void)toTransform;
2100     if (toTransform->pNext) {
2101         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2102     }
2103 }
2104 
transform_fromhost_VkCommandBufferInheritanceInfo(VkDecoderGlobalState * resourceTracker,VkCommandBufferInheritanceInfo * toTransform)2105 void transform_fromhost_VkCommandBufferInheritanceInfo(
2106     VkDecoderGlobalState* resourceTracker, VkCommandBufferInheritanceInfo* toTransform) {
2107     (void)resourceTracker;
2108     (void)toTransform;
2109     if (toTransform->pNext) {
2110         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2111     }
2112 }
2113 
transform_tohost_VkCommandBufferBeginInfo(VkDecoderGlobalState * resourceTracker,VkCommandBufferBeginInfo * toTransform)2114 void transform_tohost_VkCommandBufferBeginInfo(VkDecoderGlobalState* resourceTracker,
2115                                                VkCommandBufferBeginInfo* toTransform) {
2116     (void)resourceTracker;
2117     (void)toTransform;
2118     if (toTransform->pNext) {
2119         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2120     }
2121     if (toTransform->pInheritanceInfo) {
2122         transform_tohost_VkCommandBufferInheritanceInfo(
2123             resourceTracker, (VkCommandBufferInheritanceInfo*)(toTransform->pInheritanceInfo));
2124     }
2125 }
2126 
transform_fromhost_VkCommandBufferBeginInfo(VkDecoderGlobalState * resourceTracker,VkCommandBufferBeginInfo * toTransform)2127 void transform_fromhost_VkCommandBufferBeginInfo(VkDecoderGlobalState* resourceTracker,
2128                                                  VkCommandBufferBeginInfo* toTransform) {
2129     (void)resourceTracker;
2130     (void)toTransform;
2131     if (toTransform->pNext) {
2132         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2133     }
2134     if (toTransform->pInheritanceInfo) {
2135         transform_fromhost_VkCommandBufferInheritanceInfo(
2136             resourceTracker, (VkCommandBufferInheritanceInfo*)(toTransform->pInheritanceInfo));
2137     }
2138 }
2139 
transform_tohost_VkBufferCopy(VkDecoderGlobalState * resourceTracker,VkBufferCopy * toTransform)2140 void transform_tohost_VkBufferCopy(VkDecoderGlobalState* resourceTracker,
2141                                    VkBufferCopy* toTransform) {
2142     (void)resourceTracker;
2143     (void)toTransform;
2144 }
2145 
transform_fromhost_VkBufferCopy(VkDecoderGlobalState * resourceTracker,VkBufferCopy * toTransform)2146 void transform_fromhost_VkBufferCopy(VkDecoderGlobalState* resourceTracker,
2147                                      VkBufferCopy* toTransform) {
2148     (void)resourceTracker;
2149     (void)toTransform;
2150 }
2151 
transform_tohost_VkImageSubresourceLayers(VkDecoderGlobalState * resourceTracker,VkImageSubresourceLayers * toTransform)2152 void transform_tohost_VkImageSubresourceLayers(VkDecoderGlobalState* resourceTracker,
2153                                                VkImageSubresourceLayers* toTransform) {
2154     (void)resourceTracker;
2155     (void)toTransform;
2156 }
2157 
transform_fromhost_VkImageSubresourceLayers(VkDecoderGlobalState * resourceTracker,VkImageSubresourceLayers * toTransform)2158 void transform_fromhost_VkImageSubresourceLayers(VkDecoderGlobalState* resourceTracker,
2159                                                  VkImageSubresourceLayers* toTransform) {
2160     (void)resourceTracker;
2161     (void)toTransform;
2162 }
2163 
transform_tohost_VkBufferImageCopy(VkDecoderGlobalState * resourceTracker,VkBufferImageCopy * toTransform)2164 void transform_tohost_VkBufferImageCopy(VkDecoderGlobalState* resourceTracker,
2165                                         VkBufferImageCopy* toTransform) {
2166     (void)resourceTracker;
2167     (void)toTransform;
2168     transform_tohost_VkImageSubresourceLayers(
2169         resourceTracker, (VkImageSubresourceLayers*)(&toTransform->imageSubresource));
2170     transform_tohost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->imageOffset));
2171     transform_tohost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->imageExtent));
2172 }
2173 
transform_fromhost_VkBufferImageCopy(VkDecoderGlobalState * resourceTracker,VkBufferImageCopy * toTransform)2174 void transform_fromhost_VkBufferImageCopy(VkDecoderGlobalState* resourceTracker,
2175                                           VkBufferImageCopy* toTransform) {
2176     (void)resourceTracker;
2177     (void)toTransform;
2178     transform_fromhost_VkImageSubresourceLayers(
2179         resourceTracker, (VkImageSubresourceLayers*)(&toTransform->imageSubresource));
2180     transform_fromhost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->imageOffset));
2181     transform_fromhost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->imageExtent));
2182 }
2183 
transform_tohost_VkClearColorValue(VkDecoderGlobalState * resourceTracker,VkClearColorValue * toTransform)2184 void transform_tohost_VkClearColorValue(VkDecoderGlobalState* resourceTracker,
2185                                         VkClearColorValue* toTransform) {
2186     (void)resourceTracker;
2187     (void)toTransform;
2188 }
2189 
transform_fromhost_VkClearColorValue(VkDecoderGlobalState * resourceTracker,VkClearColorValue * toTransform)2190 void transform_fromhost_VkClearColorValue(VkDecoderGlobalState* resourceTracker,
2191                                           VkClearColorValue* toTransform) {
2192     (void)resourceTracker;
2193     (void)toTransform;
2194 }
2195 
transform_tohost_VkClearDepthStencilValue(VkDecoderGlobalState * resourceTracker,VkClearDepthStencilValue * toTransform)2196 void transform_tohost_VkClearDepthStencilValue(VkDecoderGlobalState* resourceTracker,
2197                                                VkClearDepthStencilValue* toTransform) {
2198     (void)resourceTracker;
2199     (void)toTransform;
2200 }
2201 
transform_fromhost_VkClearDepthStencilValue(VkDecoderGlobalState * resourceTracker,VkClearDepthStencilValue * toTransform)2202 void transform_fromhost_VkClearDepthStencilValue(VkDecoderGlobalState* resourceTracker,
2203                                                  VkClearDepthStencilValue* toTransform) {
2204     (void)resourceTracker;
2205     (void)toTransform;
2206 }
2207 
transform_tohost_VkClearValue(VkDecoderGlobalState * resourceTracker,VkClearValue * toTransform)2208 void transform_tohost_VkClearValue(VkDecoderGlobalState* resourceTracker,
2209                                    VkClearValue* toTransform) {
2210     (void)resourceTracker;
2211     (void)toTransform;
2212     transform_tohost_VkClearColorValue(resourceTracker, (VkClearColorValue*)(&toTransform->color));
2213     transform_tohost_VkClearDepthStencilValue(
2214         resourceTracker, (VkClearDepthStencilValue*)(&toTransform->depthStencil));
2215 }
2216 
transform_fromhost_VkClearValue(VkDecoderGlobalState * resourceTracker,VkClearValue * toTransform)2217 void transform_fromhost_VkClearValue(VkDecoderGlobalState* resourceTracker,
2218                                      VkClearValue* toTransform) {
2219     (void)resourceTracker;
2220     (void)toTransform;
2221     transform_fromhost_VkClearColorValue(resourceTracker,
2222                                          (VkClearColorValue*)(&toTransform->color));
2223     transform_fromhost_VkClearDepthStencilValue(
2224         resourceTracker, (VkClearDepthStencilValue*)(&toTransform->depthStencil));
2225 }
2226 
transform_tohost_VkClearAttachment(VkDecoderGlobalState * resourceTracker,VkClearAttachment * toTransform)2227 void transform_tohost_VkClearAttachment(VkDecoderGlobalState* resourceTracker,
2228                                         VkClearAttachment* toTransform) {
2229     (void)resourceTracker;
2230     (void)toTransform;
2231     transform_tohost_VkClearValue(resourceTracker, (VkClearValue*)(&toTransform->clearValue));
2232 }
2233 
transform_fromhost_VkClearAttachment(VkDecoderGlobalState * resourceTracker,VkClearAttachment * toTransform)2234 void transform_fromhost_VkClearAttachment(VkDecoderGlobalState* resourceTracker,
2235                                           VkClearAttachment* toTransform) {
2236     (void)resourceTracker;
2237     (void)toTransform;
2238     transform_fromhost_VkClearValue(resourceTracker, (VkClearValue*)(&toTransform->clearValue));
2239 }
2240 
transform_tohost_VkClearRect(VkDecoderGlobalState * resourceTracker,VkClearRect * toTransform)2241 void transform_tohost_VkClearRect(VkDecoderGlobalState* resourceTracker, VkClearRect* toTransform) {
2242     (void)resourceTracker;
2243     (void)toTransform;
2244     transform_tohost_VkRect2D(resourceTracker, (VkRect2D*)(&toTransform->rect));
2245 }
2246 
transform_fromhost_VkClearRect(VkDecoderGlobalState * resourceTracker,VkClearRect * toTransform)2247 void transform_fromhost_VkClearRect(VkDecoderGlobalState* resourceTracker,
2248                                     VkClearRect* toTransform) {
2249     (void)resourceTracker;
2250     (void)toTransform;
2251     transform_fromhost_VkRect2D(resourceTracker, (VkRect2D*)(&toTransform->rect));
2252 }
2253 
transform_tohost_VkImageBlit(VkDecoderGlobalState * resourceTracker,VkImageBlit * toTransform)2254 void transform_tohost_VkImageBlit(VkDecoderGlobalState* resourceTracker, VkImageBlit* toTransform) {
2255     (void)resourceTracker;
2256     (void)toTransform;
2257     transform_tohost_VkImageSubresourceLayers(
2258         resourceTracker, (VkImageSubresourceLayers*)(&toTransform->srcSubresource));
2259     for (uint32_t i = 0; i < (uint32_t)2; ++i) {
2260         transform_tohost_VkOffset3D(resourceTracker, (VkOffset3D*)(toTransform->srcOffsets + i));
2261     }
2262     transform_tohost_VkImageSubresourceLayers(
2263         resourceTracker, (VkImageSubresourceLayers*)(&toTransform->dstSubresource));
2264     for (uint32_t i = 0; i < (uint32_t)2; ++i) {
2265         transform_tohost_VkOffset3D(resourceTracker, (VkOffset3D*)(toTransform->dstOffsets + i));
2266     }
2267 }
2268 
transform_fromhost_VkImageBlit(VkDecoderGlobalState * resourceTracker,VkImageBlit * toTransform)2269 void transform_fromhost_VkImageBlit(VkDecoderGlobalState* resourceTracker,
2270                                     VkImageBlit* toTransform) {
2271     (void)resourceTracker;
2272     (void)toTransform;
2273     transform_fromhost_VkImageSubresourceLayers(
2274         resourceTracker, (VkImageSubresourceLayers*)(&toTransform->srcSubresource));
2275     for (uint32_t i = 0; i < (uint32_t)2; ++i) {
2276         transform_fromhost_VkOffset3D(resourceTracker, (VkOffset3D*)(toTransform->srcOffsets + i));
2277     }
2278     transform_fromhost_VkImageSubresourceLayers(
2279         resourceTracker, (VkImageSubresourceLayers*)(&toTransform->dstSubresource));
2280     for (uint32_t i = 0; i < (uint32_t)2; ++i) {
2281         transform_fromhost_VkOffset3D(resourceTracker, (VkOffset3D*)(toTransform->dstOffsets + i));
2282     }
2283 }
2284 
transform_tohost_VkImageCopy(VkDecoderGlobalState * resourceTracker,VkImageCopy * toTransform)2285 void transform_tohost_VkImageCopy(VkDecoderGlobalState* resourceTracker, VkImageCopy* toTransform) {
2286     (void)resourceTracker;
2287     (void)toTransform;
2288     transform_tohost_VkImageSubresourceLayers(
2289         resourceTracker, (VkImageSubresourceLayers*)(&toTransform->srcSubresource));
2290     transform_tohost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->srcOffset));
2291     transform_tohost_VkImageSubresourceLayers(
2292         resourceTracker, (VkImageSubresourceLayers*)(&toTransform->dstSubresource));
2293     transform_tohost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->dstOffset));
2294     transform_tohost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->extent));
2295 }
2296 
transform_fromhost_VkImageCopy(VkDecoderGlobalState * resourceTracker,VkImageCopy * toTransform)2297 void transform_fromhost_VkImageCopy(VkDecoderGlobalState* resourceTracker,
2298                                     VkImageCopy* toTransform) {
2299     (void)resourceTracker;
2300     (void)toTransform;
2301     transform_fromhost_VkImageSubresourceLayers(
2302         resourceTracker, (VkImageSubresourceLayers*)(&toTransform->srcSubresource));
2303     transform_fromhost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->srcOffset));
2304     transform_fromhost_VkImageSubresourceLayers(
2305         resourceTracker, (VkImageSubresourceLayers*)(&toTransform->dstSubresource));
2306     transform_fromhost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->dstOffset));
2307     transform_fromhost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->extent));
2308 }
2309 
transform_tohost_VkImageResolve(VkDecoderGlobalState * resourceTracker,VkImageResolve * toTransform)2310 void transform_tohost_VkImageResolve(VkDecoderGlobalState* resourceTracker,
2311                                      VkImageResolve* toTransform) {
2312     (void)resourceTracker;
2313     (void)toTransform;
2314     transform_tohost_VkImageSubresourceLayers(
2315         resourceTracker, (VkImageSubresourceLayers*)(&toTransform->srcSubresource));
2316     transform_tohost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->srcOffset));
2317     transform_tohost_VkImageSubresourceLayers(
2318         resourceTracker, (VkImageSubresourceLayers*)(&toTransform->dstSubresource));
2319     transform_tohost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->dstOffset));
2320     transform_tohost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->extent));
2321 }
2322 
transform_fromhost_VkImageResolve(VkDecoderGlobalState * resourceTracker,VkImageResolve * toTransform)2323 void transform_fromhost_VkImageResolve(VkDecoderGlobalState* resourceTracker,
2324                                        VkImageResolve* toTransform) {
2325     (void)resourceTracker;
2326     (void)toTransform;
2327     transform_fromhost_VkImageSubresourceLayers(
2328         resourceTracker, (VkImageSubresourceLayers*)(&toTransform->srcSubresource));
2329     transform_fromhost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->srcOffset));
2330     transform_fromhost_VkImageSubresourceLayers(
2331         resourceTracker, (VkImageSubresourceLayers*)(&toTransform->dstSubresource));
2332     transform_fromhost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->dstOffset));
2333     transform_fromhost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->extent));
2334 }
2335 
transform_tohost_VkRenderPassBeginInfo(VkDecoderGlobalState * resourceTracker,VkRenderPassBeginInfo * toTransform)2336 void transform_tohost_VkRenderPassBeginInfo(VkDecoderGlobalState* resourceTracker,
2337                                             VkRenderPassBeginInfo* toTransform) {
2338     (void)resourceTracker;
2339     (void)toTransform;
2340     if (toTransform->pNext) {
2341         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2342     }
2343     transform_tohost_VkRect2D(resourceTracker, (VkRect2D*)(&toTransform->renderArea));
2344     if (toTransform) {
2345         if (toTransform->pClearValues) {
2346             for (uint32_t i = 0; i < (uint32_t)toTransform->clearValueCount; ++i) {
2347                 transform_tohost_VkClearValue(resourceTracker,
2348                                               (VkClearValue*)(toTransform->pClearValues + i));
2349             }
2350         }
2351     }
2352 }
2353 
transform_fromhost_VkRenderPassBeginInfo(VkDecoderGlobalState * resourceTracker,VkRenderPassBeginInfo * toTransform)2354 void transform_fromhost_VkRenderPassBeginInfo(VkDecoderGlobalState* resourceTracker,
2355                                               VkRenderPassBeginInfo* toTransform) {
2356     (void)resourceTracker;
2357     (void)toTransform;
2358     if (toTransform->pNext) {
2359         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2360     }
2361     transform_fromhost_VkRect2D(resourceTracker, (VkRect2D*)(&toTransform->renderArea));
2362     if (toTransform) {
2363         if (toTransform->pClearValues) {
2364             for (uint32_t i = 0; i < (uint32_t)toTransform->clearValueCount; ++i) {
2365                 transform_fromhost_VkClearValue(resourceTracker,
2366                                                 (VkClearValue*)(toTransform->pClearValues + i));
2367             }
2368         }
2369     }
2370 }
2371 
2372 #endif
2373 #ifdef VK_VERSION_1_1
transform_tohost_VkPhysicalDeviceSubgroupProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceSubgroupProperties * toTransform)2374 void transform_tohost_VkPhysicalDeviceSubgroupProperties(
2375     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceSubgroupProperties* toTransform) {
2376     (void)resourceTracker;
2377     (void)toTransform;
2378     if (toTransform->pNext) {
2379         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2380     }
2381 }
2382 
transform_fromhost_VkPhysicalDeviceSubgroupProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceSubgroupProperties * toTransform)2383 void transform_fromhost_VkPhysicalDeviceSubgroupProperties(
2384     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceSubgroupProperties* toTransform) {
2385     (void)resourceTracker;
2386     (void)toTransform;
2387     if (toTransform->pNext) {
2388         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2389     }
2390 }
2391 
transform_tohost_VkBindBufferMemoryInfo(VkDecoderGlobalState * resourceTracker,VkBindBufferMemoryInfo * toTransform)2392 void transform_tohost_VkBindBufferMemoryInfo(VkDecoderGlobalState* resourceTracker,
2393                                              VkBindBufferMemoryInfo* toTransform) {
2394     (void)resourceTracker;
2395     (void)toTransform;
2396     resourceTracker->deviceMemoryTransform_tohost(
2397         (VkDeviceMemory*)&toTransform->memory, 1, (VkDeviceSize*)&toTransform->memoryOffset, 1,
2398         (VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
2399     if (toTransform->pNext) {
2400         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2401     }
2402 }
2403 
transform_fromhost_VkBindBufferMemoryInfo(VkDecoderGlobalState * resourceTracker,VkBindBufferMemoryInfo * toTransform)2404 void transform_fromhost_VkBindBufferMemoryInfo(VkDecoderGlobalState* resourceTracker,
2405                                                VkBindBufferMemoryInfo* toTransform) {
2406     (void)resourceTracker;
2407     (void)toTransform;
2408     resourceTracker->deviceMemoryTransform_fromhost(
2409         (VkDeviceMemory*)&toTransform->memory, 1, (VkDeviceSize*)&toTransform->memoryOffset, 1,
2410         (VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
2411     if (toTransform->pNext) {
2412         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2413     }
2414 }
2415 
transform_tohost_VkBindImageMemoryInfo(VkDecoderGlobalState * resourceTracker,VkBindImageMemoryInfo * toTransform)2416 void transform_tohost_VkBindImageMemoryInfo(VkDecoderGlobalState* resourceTracker,
2417                                             VkBindImageMemoryInfo* toTransform) {
2418     (void)resourceTracker;
2419     (void)toTransform;
2420     resourceTracker->deviceMemoryTransform_tohost(
2421         (VkDeviceMemory*)&toTransform->memory, 1, (VkDeviceSize*)&toTransform->memoryOffset, 1,
2422         (VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
2423     if (toTransform->pNext) {
2424         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2425     }
2426 }
2427 
transform_fromhost_VkBindImageMemoryInfo(VkDecoderGlobalState * resourceTracker,VkBindImageMemoryInfo * toTransform)2428 void transform_fromhost_VkBindImageMemoryInfo(VkDecoderGlobalState* resourceTracker,
2429                                               VkBindImageMemoryInfo* toTransform) {
2430     (void)resourceTracker;
2431     (void)toTransform;
2432     resourceTracker->deviceMemoryTransform_fromhost(
2433         (VkDeviceMemory*)&toTransform->memory, 1, (VkDeviceSize*)&toTransform->memoryOffset, 1,
2434         (VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
2435     if (toTransform->pNext) {
2436         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2437     }
2438 }
2439 
transform_tohost_VkPhysicalDevice16BitStorageFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDevice16BitStorageFeatures * toTransform)2440 void transform_tohost_VkPhysicalDevice16BitStorageFeatures(
2441     VkDecoderGlobalState* resourceTracker, VkPhysicalDevice16BitStorageFeatures* toTransform) {
2442     (void)resourceTracker;
2443     (void)toTransform;
2444     if (toTransform->pNext) {
2445         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2446     }
2447 }
2448 
transform_fromhost_VkPhysicalDevice16BitStorageFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDevice16BitStorageFeatures * toTransform)2449 void transform_fromhost_VkPhysicalDevice16BitStorageFeatures(
2450     VkDecoderGlobalState* resourceTracker, VkPhysicalDevice16BitStorageFeatures* toTransform) {
2451     (void)resourceTracker;
2452     (void)toTransform;
2453     if (toTransform->pNext) {
2454         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2455     }
2456 }
2457 
transform_tohost_VkMemoryDedicatedRequirements(VkDecoderGlobalState * resourceTracker,VkMemoryDedicatedRequirements * toTransform)2458 void transform_tohost_VkMemoryDedicatedRequirements(VkDecoderGlobalState* resourceTracker,
2459                                                     VkMemoryDedicatedRequirements* toTransform) {
2460     (void)resourceTracker;
2461     (void)toTransform;
2462     if (toTransform->pNext) {
2463         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2464     }
2465 }
2466 
transform_fromhost_VkMemoryDedicatedRequirements(VkDecoderGlobalState * resourceTracker,VkMemoryDedicatedRequirements * toTransform)2467 void transform_fromhost_VkMemoryDedicatedRequirements(VkDecoderGlobalState* resourceTracker,
2468                                                       VkMemoryDedicatedRequirements* toTransform) {
2469     (void)resourceTracker;
2470     (void)toTransform;
2471     if (toTransform->pNext) {
2472         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2473     }
2474 }
2475 
transform_tohost_VkMemoryDedicatedAllocateInfo(VkDecoderGlobalState * resourceTracker,VkMemoryDedicatedAllocateInfo * toTransform)2476 void transform_tohost_VkMemoryDedicatedAllocateInfo(VkDecoderGlobalState* resourceTracker,
2477                                                     VkMemoryDedicatedAllocateInfo* toTransform) {
2478     (void)resourceTracker;
2479     (void)toTransform;
2480     if (toTransform->pNext) {
2481         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2482     }
2483 }
2484 
transform_fromhost_VkMemoryDedicatedAllocateInfo(VkDecoderGlobalState * resourceTracker,VkMemoryDedicatedAllocateInfo * toTransform)2485 void transform_fromhost_VkMemoryDedicatedAllocateInfo(VkDecoderGlobalState* resourceTracker,
2486                                                       VkMemoryDedicatedAllocateInfo* toTransform) {
2487     (void)resourceTracker;
2488     (void)toTransform;
2489     if (toTransform->pNext) {
2490         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2491     }
2492 }
2493 
transform_tohost_VkMemoryAllocateFlagsInfo(VkDecoderGlobalState * resourceTracker,VkMemoryAllocateFlagsInfo * toTransform)2494 void transform_tohost_VkMemoryAllocateFlagsInfo(VkDecoderGlobalState* resourceTracker,
2495                                                 VkMemoryAllocateFlagsInfo* toTransform) {
2496     (void)resourceTracker;
2497     (void)toTransform;
2498     if (toTransform->pNext) {
2499         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2500     }
2501 }
2502 
transform_fromhost_VkMemoryAllocateFlagsInfo(VkDecoderGlobalState * resourceTracker,VkMemoryAllocateFlagsInfo * toTransform)2503 void transform_fromhost_VkMemoryAllocateFlagsInfo(VkDecoderGlobalState* resourceTracker,
2504                                                   VkMemoryAllocateFlagsInfo* toTransform) {
2505     (void)resourceTracker;
2506     (void)toTransform;
2507     if (toTransform->pNext) {
2508         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2509     }
2510 }
2511 
transform_tohost_VkDeviceGroupRenderPassBeginInfo(VkDecoderGlobalState * resourceTracker,VkDeviceGroupRenderPassBeginInfo * toTransform)2512 void transform_tohost_VkDeviceGroupRenderPassBeginInfo(
2513     VkDecoderGlobalState* resourceTracker, VkDeviceGroupRenderPassBeginInfo* toTransform) {
2514     (void)resourceTracker;
2515     (void)toTransform;
2516     if (toTransform->pNext) {
2517         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2518     }
2519     if (toTransform) {
2520         if (toTransform->pDeviceRenderAreas) {
2521             for (uint32_t i = 0; i < (uint32_t)toTransform->deviceRenderAreaCount; ++i) {
2522                 transform_tohost_VkRect2D(resourceTracker,
2523                                           (VkRect2D*)(toTransform->pDeviceRenderAreas + i));
2524             }
2525         }
2526     }
2527 }
2528 
transform_fromhost_VkDeviceGroupRenderPassBeginInfo(VkDecoderGlobalState * resourceTracker,VkDeviceGroupRenderPassBeginInfo * toTransform)2529 void transform_fromhost_VkDeviceGroupRenderPassBeginInfo(
2530     VkDecoderGlobalState* resourceTracker, VkDeviceGroupRenderPassBeginInfo* toTransform) {
2531     (void)resourceTracker;
2532     (void)toTransform;
2533     if (toTransform->pNext) {
2534         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2535     }
2536     if (toTransform) {
2537         if (toTransform->pDeviceRenderAreas) {
2538             for (uint32_t i = 0; i < (uint32_t)toTransform->deviceRenderAreaCount; ++i) {
2539                 transform_fromhost_VkRect2D(resourceTracker,
2540                                             (VkRect2D*)(toTransform->pDeviceRenderAreas + i));
2541             }
2542         }
2543     }
2544 }
2545 
transform_tohost_VkDeviceGroupCommandBufferBeginInfo(VkDecoderGlobalState * resourceTracker,VkDeviceGroupCommandBufferBeginInfo * toTransform)2546 void transform_tohost_VkDeviceGroupCommandBufferBeginInfo(
2547     VkDecoderGlobalState* resourceTracker, VkDeviceGroupCommandBufferBeginInfo* toTransform) {
2548     (void)resourceTracker;
2549     (void)toTransform;
2550     if (toTransform->pNext) {
2551         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2552     }
2553 }
2554 
transform_fromhost_VkDeviceGroupCommandBufferBeginInfo(VkDecoderGlobalState * resourceTracker,VkDeviceGroupCommandBufferBeginInfo * toTransform)2555 void transform_fromhost_VkDeviceGroupCommandBufferBeginInfo(
2556     VkDecoderGlobalState* resourceTracker, VkDeviceGroupCommandBufferBeginInfo* toTransform) {
2557     (void)resourceTracker;
2558     (void)toTransform;
2559     if (toTransform->pNext) {
2560         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2561     }
2562 }
2563 
transform_tohost_VkDeviceGroupSubmitInfo(VkDecoderGlobalState * resourceTracker,VkDeviceGroupSubmitInfo * toTransform)2564 void transform_tohost_VkDeviceGroupSubmitInfo(VkDecoderGlobalState* resourceTracker,
2565                                               VkDeviceGroupSubmitInfo* toTransform) {
2566     (void)resourceTracker;
2567     (void)toTransform;
2568     if (toTransform->pNext) {
2569         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2570     }
2571 }
2572 
transform_fromhost_VkDeviceGroupSubmitInfo(VkDecoderGlobalState * resourceTracker,VkDeviceGroupSubmitInfo * toTransform)2573 void transform_fromhost_VkDeviceGroupSubmitInfo(VkDecoderGlobalState* resourceTracker,
2574                                                 VkDeviceGroupSubmitInfo* toTransform) {
2575     (void)resourceTracker;
2576     (void)toTransform;
2577     if (toTransform->pNext) {
2578         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2579     }
2580 }
2581 
transform_tohost_VkDeviceGroupBindSparseInfo(VkDecoderGlobalState * resourceTracker,VkDeviceGroupBindSparseInfo * toTransform)2582 void transform_tohost_VkDeviceGroupBindSparseInfo(VkDecoderGlobalState* resourceTracker,
2583                                                   VkDeviceGroupBindSparseInfo* toTransform) {
2584     (void)resourceTracker;
2585     (void)toTransform;
2586     if (toTransform->pNext) {
2587         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2588     }
2589 }
2590 
transform_fromhost_VkDeviceGroupBindSparseInfo(VkDecoderGlobalState * resourceTracker,VkDeviceGroupBindSparseInfo * toTransform)2591 void transform_fromhost_VkDeviceGroupBindSparseInfo(VkDecoderGlobalState* resourceTracker,
2592                                                     VkDeviceGroupBindSparseInfo* toTransform) {
2593     (void)resourceTracker;
2594     (void)toTransform;
2595     if (toTransform->pNext) {
2596         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2597     }
2598 }
2599 
transform_tohost_VkBindBufferMemoryDeviceGroupInfo(VkDecoderGlobalState * resourceTracker,VkBindBufferMemoryDeviceGroupInfo * toTransform)2600 void transform_tohost_VkBindBufferMemoryDeviceGroupInfo(
2601     VkDecoderGlobalState* resourceTracker, VkBindBufferMemoryDeviceGroupInfo* toTransform) {
2602     (void)resourceTracker;
2603     (void)toTransform;
2604     if (toTransform->pNext) {
2605         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2606     }
2607 }
2608 
transform_fromhost_VkBindBufferMemoryDeviceGroupInfo(VkDecoderGlobalState * resourceTracker,VkBindBufferMemoryDeviceGroupInfo * toTransform)2609 void transform_fromhost_VkBindBufferMemoryDeviceGroupInfo(
2610     VkDecoderGlobalState* resourceTracker, VkBindBufferMemoryDeviceGroupInfo* toTransform) {
2611     (void)resourceTracker;
2612     (void)toTransform;
2613     if (toTransform->pNext) {
2614         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2615     }
2616 }
2617 
transform_tohost_VkBindImageMemoryDeviceGroupInfo(VkDecoderGlobalState * resourceTracker,VkBindImageMemoryDeviceGroupInfo * toTransform)2618 void transform_tohost_VkBindImageMemoryDeviceGroupInfo(
2619     VkDecoderGlobalState* resourceTracker, VkBindImageMemoryDeviceGroupInfo* toTransform) {
2620     (void)resourceTracker;
2621     (void)toTransform;
2622     if (toTransform->pNext) {
2623         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2624     }
2625     if (toTransform) {
2626         if (toTransform->pSplitInstanceBindRegions) {
2627             for (uint32_t i = 0; i < (uint32_t)toTransform->splitInstanceBindRegionCount; ++i) {
2628                 transform_tohost_VkRect2D(resourceTracker,
2629                                           (VkRect2D*)(toTransform->pSplitInstanceBindRegions + i));
2630             }
2631         }
2632     }
2633 }
2634 
transform_fromhost_VkBindImageMemoryDeviceGroupInfo(VkDecoderGlobalState * resourceTracker,VkBindImageMemoryDeviceGroupInfo * toTransform)2635 void transform_fromhost_VkBindImageMemoryDeviceGroupInfo(
2636     VkDecoderGlobalState* resourceTracker, VkBindImageMemoryDeviceGroupInfo* toTransform) {
2637     (void)resourceTracker;
2638     (void)toTransform;
2639     if (toTransform->pNext) {
2640         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2641     }
2642     if (toTransform) {
2643         if (toTransform->pSplitInstanceBindRegions) {
2644             for (uint32_t i = 0; i < (uint32_t)toTransform->splitInstanceBindRegionCount; ++i) {
2645                 transform_fromhost_VkRect2D(
2646                     resourceTracker, (VkRect2D*)(toTransform->pSplitInstanceBindRegions + i));
2647             }
2648         }
2649     }
2650 }
2651 
transform_tohost_VkPhysicalDeviceGroupProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceGroupProperties * toTransform)2652 void transform_tohost_VkPhysicalDeviceGroupProperties(
2653     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceGroupProperties* toTransform) {
2654     (void)resourceTracker;
2655     (void)toTransform;
2656     if (toTransform->pNext) {
2657         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2658     }
2659 }
2660 
transform_fromhost_VkPhysicalDeviceGroupProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceGroupProperties * toTransform)2661 void transform_fromhost_VkPhysicalDeviceGroupProperties(
2662     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceGroupProperties* toTransform) {
2663     (void)resourceTracker;
2664     (void)toTransform;
2665     if (toTransform->pNext) {
2666         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2667     }
2668 }
2669 
transform_tohost_VkDeviceGroupDeviceCreateInfo(VkDecoderGlobalState * resourceTracker,VkDeviceGroupDeviceCreateInfo * toTransform)2670 void transform_tohost_VkDeviceGroupDeviceCreateInfo(VkDecoderGlobalState* resourceTracker,
2671                                                     VkDeviceGroupDeviceCreateInfo* toTransform) {
2672     (void)resourceTracker;
2673     (void)toTransform;
2674     if (toTransform->pNext) {
2675         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2676     }
2677 }
2678 
transform_fromhost_VkDeviceGroupDeviceCreateInfo(VkDecoderGlobalState * resourceTracker,VkDeviceGroupDeviceCreateInfo * toTransform)2679 void transform_fromhost_VkDeviceGroupDeviceCreateInfo(VkDecoderGlobalState* resourceTracker,
2680                                                       VkDeviceGroupDeviceCreateInfo* toTransform) {
2681     (void)resourceTracker;
2682     (void)toTransform;
2683     if (toTransform->pNext) {
2684         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2685     }
2686 }
2687 
transform_tohost_VkBufferMemoryRequirementsInfo2(VkDecoderGlobalState * resourceTracker,VkBufferMemoryRequirementsInfo2 * toTransform)2688 void transform_tohost_VkBufferMemoryRequirementsInfo2(
2689     VkDecoderGlobalState* resourceTracker, VkBufferMemoryRequirementsInfo2* toTransform) {
2690     (void)resourceTracker;
2691     (void)toTransform;
2692     if (toTransform->pNext) {
2693         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2694     }
2695 }
2696 
transform_fromhost_VkBufferMemoryRequirementsInfo2(VkDecoderGlobalState * resourceTracker,VkBufferMemoryRequirementsInfo2 * toTransform)2697 void transform_fromhost_VkBufferMemoryRequirementsInfo2(
2698     VkDecoderGlobalState* resourceTracker, VkBufferMemoryRequirementsInfo2* toTransform) {
2699     (void)resourceTracker;
2700     (void)toTransform;
2701     if (toTransform->pNext) {
2702         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2703     }
2704 }
2705 
transform_tohost_VkImageMemoryRequirementsInfo2(VkDecoderGlobalState * resourceTracker,VkImageMemoryRequirementsInfo2 * toTransform)2706 void transform_tohost_VkImageMemoryRequirementsInfo2(VkDecoderGlobalState* resourceTracker,
2707                                                      VkImageMemoryRequirementsInfo2* toTransform) {
2708     (void)resourceTracker;
2709     (void)toTransform;
2710     if (toTransform->pNext) {
2711         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2712     }
2713 }
2714 
transform_fromhost_VkImageMemoryRequirementsInfo2(VkDecoderGlobalState * resourceTracker,VkImageMemoryRequirementsInfo2 * toTransform)2715 void transform_fromhost_VkImageMemoryRequirementsInfo2(
2716     VkDecoderGlobalState* resourceTracker, VkImageMemoryRequirementsInfo2* toTransform) {
2717     (void)resourceTracker;
2718     (void)toTransform;
2719     if (toTransform->pNext) {
2720         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2721     }
2722 }
2723 
transform_tohost_VkImageSparseMemoryRequirementsInfo2(VkDecoderGlobalState * resourceTracker,VkImageSparseMemoryRequirementsInfo2 * toTransform)2724 void transform_tohost_VkImageSparseMemoryRequirementsInfo2(
2725     VkDecoderGlobalState* resourceTracker, VkImageSparseMemoryRequirementsInfo2* toTransform) {
2726     (void)resourceTracker;
2727     (void)toTransform;
2728     if (toTransform->pNext) {
2729         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2730     }
2731 }
2732 
transform_fromhost_VkImageSparseMemoryRequirementsInfo2(VkDecoderGlobalState * resourceTracker,VkImageSparseMemoryRequirementsInfo2 * toTransform)2733 void transform_fromhost_VkImageSparseMemoryRequirementsInfo2(
2734     VkDecoderGlobalState* resourceTracker, VkImageSparseMemoryRequirementsInfo2* toTransform) {
2735     (void)resourceTracker;
2736     (void)toTransform;
2737     if (toTransform->pNext) {
2738         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2739     }
2740 }
2741 
transform_tohost_VkMemoryRequirements2(VkDecoderGlobalState * resourceTracker,VkMemoryRequirements2 * toTransform)2742 void transform_tohost_VkMemoryRequirements2(VkDecoderGlobalState* resourceTracker,
2743                                             VkMemoryRequirements2* toTransform) {
2744     (void)resourceTracker;
2745     (void)toTransform;
2746     if (toTransform->pNext) {
2747         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2748     }
2749     transform_tohost_VkMemoryRequirements(
2750         resourceTracker, (VkMemoryRequirements*)(&toTransform->memoryRequirements));
2751 }
2752 
transform_fromhost_VkMemoryRequirements2(VkDecoderGlobalState * resourceTracker,VkMemoryRequirements2 * toTransform)2753 void transform_fromhost_VkMemoryRequirements2(VkDecoderGlobalState* resourceTracker,
2754                                               VkMemoryRequirements2* toTransform) {
2755     (void)resourceTracker;
2756     (void)toTransform;
2757     if (toTransform->pNext) {
2758         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2759     }
2760     transform_fromhost_VkMemoryRequirements(
2761         resourceTracker, (VkMemoryRequirements*)(&toTransform->memoryRequirements));
2762 }
2763 
transform_tohost_VkSparseImageMemoryRequirements2(VkDecoderGlobalState * resourceTracker,VkSparseImageMemoryRequirements2 * toTransform)2764 void transform_tohost_VkSparseImageMemoryRequirements2(
2765     VkDecoderGlobalState* resourceTracker, VkSparseImageMemoryRequirements2* toTransform) {
2766     (void)resourceTracker;
2767     (void)toTransform;
2768     if (toTransform->pNext) {
2769         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2770     }
2771     transform_tohost_VkSparseImageMemoryRequirements(
2772         resourceTracker, (VkSparseImageMemoryRequirements*)(&toTransform->memoryRequirements));
2773 }
2774 
transform_fromhost_VkSparseImageMemoryRequirements2(VkDecoderGlobalState * resourceTracker,VkSparseImageMemoryRequirements2 * toTransform)2775 void transform_fromhost_VkSparseImageMemoryRequirements2(
2776     VkDecoderGlobalState* resourceTracker, VkSparseImageMemoryRequirements2* toTransform) {
2777     (void)resourceTracker;
2778     (void)toTransform;
2779     if (toTransform->pNext) {
2780         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2781     }
2782     transform_fromhost_VkSparseImageMemoryRequirements(
2783         resourceTracker, (VkSparseImageMemoryRequirements*)(&toTransform->memoryRequirements));
2784 }
2785 
transform_tohost_VkPhysicalDeviceFeatures2(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceFeatures2 * toTransform)2786 void transform_tohost_VkPhysicalDeviceFeatures2(VkDecoderGlobalState* resourceTracker,
2787                                                 VkPhysicalDeviceFeatures2* toTransform) {
2788     (void)resourceTracker;
2789     (void)toTransform;
2790     if (toTransform->pNext) {
2791         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2792     }
2793     transform_tohost_VkPhysicalDeviceFeatures(resourceTracker,
2794                                               (VkPhysicalDeviceFeatures*)(&toTransform->features));
2795 }
2796 
transform_fromhost_VkPhysicalDeviceFeatures2(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceFeatures2 * toTransform)2797 void transform_fromhost_VkPhysicalDeviceFeatures2(VkDecoderGlobalState* resourceTracker,
2798                                                   VkPhysicalDeviceFeatures2* toTransform) {
2799     (void)resourceTracker;
2800     (void)toTransform;
2801     if (toTransform->pNext) {
2802         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2803     }
2804     transform_fromhost_VkPhysicalDeviceFeatures(
2805         resourceTracker, (VkPhysicalDeviceFeatures*)(&toTransform->features));
2806 }
2807 
transform_tohost_VkPhysicalDeviceProperties2(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceProperties2 * toTransform)2808 void transform_tohost_VkPhysicalDeviceProperties2(VkDecoderGlobalState* resourceTracker,
2809                                                   VkPhysicalDeviceProperties2* toTransform) {
2810     (void)resourceTracker;
2811     (void)toTransform;
2812     if (toTransform->pNext) {
2813         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2814     }
2815     transform_tohost_VkPhysicalDeviceProperties(
2816         resourceTracker, (VkPhysicalDeviceProperties*)(&toTransform->properties));
2817 }
2818 
transform_fromhost_VkPhysicalDeviceProperties2(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceProperties2 * toTransform)2819 void transform_fromhost_VkPhysicalDeviceProperties2(VkDecoderGlobalState* resourceTracker,
2820                                                     VkPhysicalDeviceProperties2* toTransform) {
2821     (void)resourceTracker;
2822     (void)toTransform;
2823     if (toTransform->pNext) {
2824         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2825     }
2826     transform_fromhost_VkPhysicalDeviceProperties(
2827         resourceTracker, (VkPhysicalDeviceProperties*)(&toTransform->properties));
2828 }
2829 
transform_tohost_VkFormatProperties2(VkDecoderGlobalState * resourceTracker,VkFormatProperties2 * toTransform)2830 void transform_tohost_VkFormatProperties2(VkDecoderGlobalState* resourceTracker,
2831                                           VkFormatProperties2* toTransform) {
2832     (void)resourceTracker;
2833     (void)toTransform;
2834     if (toTransform->pNext) {
2835         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2836     }
2837     transform_tohost_VkFormatProperties(resourceTracker,
2838                                         (VkFormatProperties*)(&toTransform->formatProperties));
2839 }
2840 
transform_fromhost_VkFormatProperties2(VkDecoderGlobalState * resourceTracker,VkFormatProperties2 * toTransform)2841 void transform_fromhost_VkFormatProperties2(VkDecoderGlobalState* resourceTracker,
2842                                             VkFormatProperties2* toTransform) {
2843     (void)resourceTracker;
2844     (void)toTransform;
2845     if (toTransform->pNext) {
2846         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2847     }
2848     transform_fromhost_VkFormatProperties(resourceTracker,
2849                                           (VkFormatProperties*)(&toTransform->formatProperties));
2850 }
2851 
transform_tohost_VkImageFormatProperties2(VkDecoderGlobalState * resourceTracker,VkImageFormatProperties2 * toTransform)2852 void transform_tohost_VkImageFormatProperties2(VkDecoderGlobalState* resourceTracker,
2853                                                VkImageFormatProperties2* toTransform) {
2854     (void)resourceTracker;
2855     (void)toTransform;
2856     if (toTransform->pNext) {
2857         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2858     }
2859     transform_tohost_VkImageFormatProperties(
2860         resourceTracker, (VkImageFormatProperties*)(&toTransform->imageFormatProperties));
2861 }
2862 
transform_fromhost_VkImageFormatProperties2(VkDecoderGlobalState * resourceTracker,VkImageFormatProperties2 * toTransform)2863 void transform_fromhost_VkImageFormatProperties2(VkDecoderGlobalState* resourceTracker,
2864                                                  VkImageFormatProperties2* toTransform) {
2865     (void)resourceTracker;
2866     (void)toTransform;
2867     if (toTransform->pNext) {
2868         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2869     }
2870     transform_fromhost_VkImageFormatProperties(
2871         resourceTracker, (VkImageFormatProperties*)(&toTransform->imageFormatProperties));
2872 }
2873 
transform_tohost_VkPhysicalDeviceImageFormatInfo2(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceImageFormatInfo2 * toTransform)2874 void transform_tohost_VkPhysicalDeviceImageFormatInfo2(
2875     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceImageFormatInfo2* toTransform) {
2876     (void)resourceTracker;
2877     (void)toTransform;
2878     if (toTransform->pNext) {
2879         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2880     }
2881 }
2882 
transform_fromhost_VkPhysicalDeviceImageFormatInfo2(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceImageFormatInfo2 * toTransform)2883 void transform_fromhost_VkPhysicalDeviceImageFormatInfo2(
2884     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceImageFormatInfo2* toTransform) {
2885     (void)resourceTracker;
2886     (void)toTransform;
2887     if (toTransform->pNext) {
2888         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2889     }
2890 }
2891 
transform_tohost_VkQueueFamilyProperties2(VkDecoderGlobalState * resourceTracker,VkQueueFamilyProperties2 * toTransform)2892 void transform_tohost_VkQueueFamilyProperties2(VkDecoderGlobalState* resourceTracker,
2893                                                VkQueueFamilyProperties2* toTransform) {
2894     (void)resourceTracker;
2895     (void)toTransform;
2896     if (toTransform->pNext) {
2897         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2898     }
2899     transform_tohost_VkQueueFamilyProperties(
2900         resourceTracker, (VkQueueFamilyProperties*)(&toTransform->queueFamilyProperties));
2901 }
2902 
transform_fromhost_VkQueueFamilyProperties2(VkDecoderGlobalState * resourceTracker,VkQueueFamilyProperties2 * toTransform)2903 void transform_fromhost_VkQueueFamilyProperties2(VkDecoderGlobalState* resourceTracker,
2904                                                  VkQueueFamilyProperties2* toTransform) {
2905     (void)resourceTracker;
2906     (void)toTransform;
2907     if (toTransform->pNext) {
2908         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2909     }
2910     transform_fromhost_VkQueueFamilyProperties(
2911         resourceTracker, (VkQueueFamilyProperties*)(&toTransform->queueFamilyProperties));
2912 }
2913 
transform_tohost_VkPhysicalDeviceMemoryProperties2(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceMemoryProperties2 * toTransform)2914 void transform_tohost_VkPhysicalDeviceMemoryProperties2(
2915     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceMemoryProperties2* toTransform) {
2916     (void)resourceTracker;
2917     (void)toTransform;
2918     if (toTransform->pNext) {
2919         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2920     }
2921     transform_tohost_VkPhysicalDeviceMemoryProperties(
2922         resourceTracker, (VkPhysicalDeviceMemoryProperties*)(&toTransform->memoryProperties));
2923 }
2924 
transform_fromhost_VkPhysicalDeviceMemoryProperties2(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceMemoryProperties2 * toTransform)2925 void transform_fromhost_VkPhysicalDeviceMemoryProperties2(
2926     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceMemoryProperties2* toTransform) {
2927     (void)resourceTracker;
2928     (void)toTransform;
2929     if (toTransform->pNext) {
2930         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2931     }
2932     transform_fromhost_VkPhysicalDeviceMemoryProperties(
2933         resourceTracker, (VkPhysicalDeviceMemoryProperties*)(&toTransform->memoryProperties));
2934 }
2935 
transform_tohost_VkSparseImageFormatProperties2(VkDecoderGlobalState * resourceTracker,VkSparseImageFormatProperties2 * toTransform)2936 void transform_tohost_VkSparseImageFormatProperties2(VkDecoderGlobalState* resourceTracker,
2937                                                      VkSparseImageFormatProperties2* toTransform) {
2938     (void)resourceTracker;
2939     (void)toTransform;
2940     if (toTransform->pNext) {
2941         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2942     }
2943     transform_tohost_VkSparseImageFormatProperties(
2944         resourceTracker, (VkSparseImageFormatProperties*)(&toTransform->properties));
2945 }
2946 
transform_fromhost_VkSparseImageFormatProperties2(VkDecoderGlobalState * resourceTracker,VkSparseImageFormatProperties2 * toTransform)2947 void transform_fromhost_VkSparseImageFormatProperties2(
2948     VkDecoderGlobalState* resourceTracker, VkSparseImageFormatProperties2* toTransform) {
2949     (void)resourceTracker;
2950     (void)toTransform;
2951     if (toTransform->pNext) {
2952         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2953     }
2954     transform_fromhost_VkSparseImageFormatProperties(
2955         resourceTracker, (VkSparseImageFormatProperties*)(&toTransform->properties));
2956 }
2957 
transform_tohost_VkPhysicalDeviceSparseImageFormatInfo2(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceSparseImageFormatInfo2 * toTransform)2958 void transform_tohost_VkPhysicalDeviceSparseImageFormatInfo2(
2959     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceSparseImageFormatInfo2* toTransform) {
2960     (void)resourceTracker;
2961     (void)toTransform;
2962     if (toTransform->pNext) {
2963         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2964     }
2965 }
2966 
transform_fromhost_VkPhysicalDeviceSparseImageFormatInfo2(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceSparseImageFormatInfo2 * toTransform)2967 void transform_fromhost_VkPhysicalDeviceSparseImageFormatInfo2(
2968     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceSparseImageFormatInfo2* toTransform) {
2969     (void)resourceTracker;
2970     (void)toTransform;
2971     if (toTransform->pNext) {
2972         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2973     }
2974 }
2975 
transform_tohost_VkPhysicalDevicePointClippingProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDevicePointClippingProperties * toTransform)2976 void transform_tohost_VkPhysicalDevicePointClippingProperties(
2977     VkDecoderGlobalState* resourceTracker, VkPhysicalDevicePointClippingProperties* toTransform) {
2978     (void)resourceTracker;
2979     (void)toTransform;
2980     if (toTransform->pNext) {
2981         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2982     }
2983 }
2984 
transform_fromhost_VkPhysicalDevicePointClippingProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDevicePointClippingProperties * toTransform)2985 void transform_fromhost_VkPhysicalDevicePointClippingProperties(
2986     VkDecoderGlobalState* resourceTracker, VkPhysicalDevicePointClippingProperties* toTransform) {
2987     (void)resourceTracker;
2988     (void)toTransform;
2989     if (toTransform->pNext) {
2990         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
2991     }
2992 }
2993 
transform_tohost_VkInputAttachmentAspectReference(VkDecoderGlobalState * resourceTracker,VkInputAttachmentAspectReference * toTransform)2994 void transform_tohost_VkInputAttachmentAspectReference(
2995     VkDecoderGlobalState* resourceTracker, VkInputAttachmentAspectReference* toTransform) {
2996     (void)resourceTracker;
2997     (void)toTransform;
2998 }
2999 
transform_fromhost_VkInputAttachmentAspectReference(VkDecoderGlobalState * resourceTracker,VkInputAttachmentAspectReference * toTransform)3000 void transform_fromhost_VkInputAttachmentAspectReference(
3001     VkDecoderGlobalState* resourceTracker, VkInputAttachmentAspectReference* toTransform) {
3002     (void)resourceTracker;
3003     (void)toTransform;
3004 }
3005 
transform_tohost_VkRenderPassInputAttachmentAspectCreateInfo(VkDecoderGlobalState * resourceTracker,VkRenderPassInputAttachmentAspectCreateInfo * toTransform)3006 void transform_tohost_VkRenderPassInputAttachmentAspectCreateInfo(
3007     VkDecoderGlobalState* resourceTracker,
3008     VkRenderPassInputAttachmentAspectCreateInfo* toTransform) {
3009     (void)resourceTracker;
3010     (void)toTransform;
3011     if (toTransform->pNext) {
3012         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3013     }
3014     if (toTransform) {
3015         if (toTransform->pAspectReferences) {
3016             for (uint32_t i = 0; i < (uint32_t)toTransform->aspectReferenceCount; ++i) {
3017                 transform_tohost_VkInputAttachmentAspectReference(
3018                     resourceTracker,
3019                     (VkInputAttachmentAspectReference*)(toTransform->pAspectReferences + i));
3020             }
3021         }
3022     }
3023 }
3024 
transform_fromhost_VkRenderPassInputAttachmentAspectCreateInfo(VkDecoderGlobalState * resourceTracker,VkRenderPassInputAttachmentAspectCreateInfo * toTransform)3025 void transform_fromhost_VkRenderPassInputAttachmentAspectCreateInfo(
3026     VkDecoderGlobalState* resourceTracker,
3027     VkRenderPassInputAttachmentAspectCreateInfo* toTransform) {
3028     (void)resourceTracker;
3029     (void)toTransform;
3030     if (toTransform->pNext) {
3031         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3032     }
3033     if (toTransform) {
3034         if (toTransform->pAspectReferences) {
3035             for (uint32_t i = 0; i < (uint32_t)toTransform->aspectReferenceCount; ++i) {
3036                 transform_fromhost_VkInputAttachmentAspectReference(
3037                     resourceTracker,
3038                     (VkInputAttachmentAspectReference*)(toTransform->pAspectReferences + i));
3039             }
3040         }
3041     }
3042 }
3043 
transform_tohost_VkImageViewUsageCreateInfo(VkDecoderGlobalState * resourceTracker,VkImageViewUsageCreateInfo * toTransform)3044 void transform_tohost_VkImageViewUsageCreateInfo(VkDecoderGlobalState* resourceTracker,
3045                                                  VkImageViewUsageCreateInfo* toTransform) {
3046     (void)resourceTracker;
3047     (void)toTransform;
3048     if (toTransform->pNext) {
3049         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3050     }
3051 }
3052 
transform_fromhost_VkImageViewUsageCreateInfo(VkDecoderGlobalState * resourceTracker,VkImageViewUsageCreateInfo * toTransform)3053 void transform_fromhost_VkImageViewUsageCreateInfo(VkDecoderGlobalState* resourceTracker,
3054                                                    VkImageViewUsageCreateInfo* toTransform) {
3055     (void)resourceTracker;
3056     (void)toTransform;
3057     if (toTransform->pNext) {
3058         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3059     }
3060 }
3061 
transform_tohost_VkPipelineTessellationDomainOriginStateCreateInfo(VkDecoderGlobalState * resourceTracker,VkPipelineTessellationDomainOriginStateCreateInfo * toTransform)3062 void transform_tohost_VkPipelineTessellationDomainOriginStateCreateInfo(
3063     VkDecoderGlobalState* resourceTracker,
3064     VkPipelineTessellationDomainOriginStateCreateInfo* toTransform) {
3065     (void)resourceTracker;
3066     (void)toTransform;
3067     if (toTransform->pNext) {
3068         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3069     }
3070 }
3071 
transform_fromhost_VkPipelineTessellationDomainOriginStateCreateInfo(VkDecoderGlobalState * resourceTracker,VkPipelineTessellationDomainOriginStateCreateInfo * toTransform)3072 void transform_fromhost_VkPipelineTessellationDomainOriginStateCreateInfo(
3073     VkDecoderGlobalState* resourceTracker,
3074     VkPipelineTessellationDomainOriginStateCreateInfo* toTransform) {
3075     (void)resourceTracker;
3076     (void)toTransform;
3077     if (toTransform->pNext) {
3078         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3079     }
3080 }
3081 
transform_tohost_VkRenderPassMultiviewCreateInfo(VkDecoderGlobalState * resourceTracker,VkRenderPassMultiviewCreateInfo * toTransform)3082 void transform_tohost_VkRenderPassMultiviewCreateInfo(
3083     VkDecoderGlobalState* resourceTracker, VkRenderPassMultiviewCreateInfo* toTransform) {
3084     (void)resourceTracker;
3085     (void)toTransform;
3086     if (toTransform->pNext) {
3087         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3088     }
3089 }
3090 
transform_fromhost_VkRenderPassMultiviewCreateInfo(VkDecoderGlobalState * resourceTracker,VkRenderPassMultiviewCreateInfo * toTransform)3091 void transform_fromhost_VkRenderPassMultiviewCreateInfo(
3092     VkDecoderGlobalState* resourceTracker, VkRenderPassMultiviewCreateInfo* toTransform) {
3093     (void)resourceTracker;
3094     (void)toTransform;
3095     if (toTransform->pNext) {
3096         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3097     }
3098 }
3099 
transform_tohost_VkPhysicalDeviceMultiviewFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceMultiviewFeatures * toTransform)3100 void transform_tohost_VkPhysicalDeviceMultiviewFeatures(
3101     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceMultiviewFeatures* toTransform) {
3102     (void)resourceTracker;
3103     (void)toTransform;
3104     if (toTransform->pNext) {
3105         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3106     }
3107 }
3108 
transform_fromhost_VkPhysicalDeviceMultiviewFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceMultiviewFeatures * toTransform)3109 void transform_fromhost_VkPhysicalDeviceMultiviewFeatures(
3110     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceMultiviewFeatures* toTransform) {
3111     (void)resourceTracker;
3112     (void)toTransform;
3113     if (toTransform->pNext) {
3114         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3115     }
3116 }
3117 
transform_tohost_VkPhysicalDeviceMultiviewProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceMultiviewProperties * toTransform)3118 void transform_tohost_VkPhysicalDeviceMultiviewProperties(
3119     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceMultiviewProperties* toTransform) {
3120     (void)resourceTracker;
3121     (void)toTransform;
3122     if (toTransform->pNext) {
3123         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3124     }
3125 }
3126 
transform_fromhost_VkPhysicalDeviceMultiviewProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceMultiviewProperties * toTransform)3127 void transform_fromhost_VkPhysicalDeviceMultiviewProperties(
3128     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceMultiviewProperties* toTransform) {
3129     (void)resourceTracker;
3130     (void)toTransform;
3131     if (toTransform->pNext) {
3132         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3133     }
3134 }
3135 
transform_tohost_VkPhysicalDeviceVariablePointersFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceVariablePointersFeatures * toTransform)3136 void transform_tohost_VkPhysicalDeviceVariablePointersFeatures(
3137     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceVariablePointersFeatures* toTransform) {
3138     (void)resourceTracker;
3139     (void)toTransform;
3140     if (toTransform->pNext) {
3141         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3142     }
3143 }
3144 
transform_fromhost_VkPhysicalDeviceVariablePointersFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceVariablePointersFeatures * toTransform)3145 void transform_fromhost_VkPhysicalDeviceVariablePointersFeatures(
3146     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceVariablePointersFeatures* toTransform) {
3147     (void)resourceTracker;
3148     (void)toTransform;
3149     if (toTransform->pNext) {
3150         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3151     }
3152 }
3153 
transform_tohost_VkPhysicalDeviceProtectedMemoryFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceProtectedMemoryFeatures * toTransform)3154 void transform_tohost_VkPhysicalDeviceProtectedMemoryFeatures(
3155     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceProtectedMemoryFeatures* toTransform) {
3156     (void)resourceTracker;
3157     (void)toTransform;
3158     if (toTransform->pNext) {
3159         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3160     }
3161 }
3162 
transform_fromhost_VkPhysicalDeviceProtectedMemoryFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceProtectedMemoryFeatures * toTransform)3163 void transform_fromhost_VkPhysicalDeviceProtectedMemoryFeatures(
3164     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceProtectedMemoryFeatures* toTransform) {
3165     (void)resourceTracker;
3166     (void)toTransform;
3167     if (toTransform->pNext) {
3168         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3169     }
3170 }
3171 
transform_tohost_VkPhysicalDeviceProtectedMemoryProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceProtectedMemoryProperties * toTransform)3172 void transform_tohost_VkPhysicalDeviceProtectedMemoryProperties(
3173     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceProtectedMemoryProperties* toTransform) {
3174     (void)resourceTracker;
3175     (void)toTransform;
3176     if (toTransform->pNext) {
3177         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3178     }
3179 }
3180 
transform_fromhost_VkPhysicalDeviceProtectedMemoryProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceProtectedMemoryProperties * toTransform)3181 void transform_fromhost_VkPhysicalDeviceProtectedMemoryProperties(
3182     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceProtectedMemoryProperties* toTransform) {
3183     (void)resourceTracker;
3184     (void)toTransform;
3185     if (toTransform->pNext) {
3186         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3187     }
3188 }
3189 
transform_tohost_VkDeviceQueueInfo2(VkDecoderGlobalState * resourceTracker,VkDeviceQueueInfo2 * toTransform)3190 void transform_tohost_VkDeviceQueueInfo2(VkDecoderGlobalState* resourceTracker,
3191                                          VkDeviceQueueInfo2* toTransform) {
3192     (void)resourceTracker;
3193     (void)toTransform;
3194     if (toTransform->pNext) {
3195         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3196     }
3197 }
3198 
transform_fromhost_VkDeviceQueueInfo2(VkDecoderGlobalState * resourceTracker,VkDeviceQueueInfo2 * toTransform)3199 void transform_fromhost_VkDeviceQueueInfo2(VkDecoderGlobalState* resourceTracker,
3200                                            VkDeviceQueueInfo2* toTransform) {
3201     (void)resourceTracker;
3202     (void)toTransform;
3203     if (toTransform->pNext) {
3204         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3205     }
3206 }
3207 
transform_tohost_VkProtectedSubmitInfo(VkDecoderGlobalState * resourceTracker,VkProtectedSubmitInfo * toTransform)3208 void transform_tohost_VkProtectedSubmitInfo(VkDecoderGlobalState* resourceTracker,
3209                                             VkProtectedSubmitInfo* toTransform) {
3210     (void)resourceTracker;
3211     (void)toTransform;
3212     if (toTransform->pNext) {
3213         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3214     }
3215 }
3216 
transform_fromhost_VkProtectedSubmitInfo(VkDecoderGlobalState * resourceTracker,VkProtectedSubmitInfo * toTransform)3217 void transform_fromhost_VkProtectedSubmitInfo(VkDecoderGlobalState* resourceTracker,
3218                                               VkProtectedSubmitInfo* toTransform) {
3219     (void)resourceTracker;
3220     (void)toTransform;
3221     if (toTransform->pNext) {
3222         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3223     }
3224 }
3225 
transform_tohost_VkSamplerYcbcrConversionCreateInfo(VkDecoderGlobalState * resourceTracker,VkSamplerYcbcrConversionCreateInfo * toTransform)3226 void transform_tohost_VkSamplerYcbcrConversionCreateInfo(
3227     VkDecoderGlobalState* resourceTracker, VkSamplerYcbcrConversionCreateInfo* toTransform) {
3228     (void)resourceTracker;
3229     (void)toTransform;
3230     if (toTransform->pNext) {
3231         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3232     }
3233     transform_tohost_VkComponentMapping(resourceTracker,
3234                                         (VkComponentMapping*)(&toTransform->components));
3235 }
3236 
transform_fromhost_VkSamplerYcbcrConversionCreateInfo(VkDecoderGlobalState * resourceTracker,VkSamplerYcbcrConversionCreateInfo * toTransform)3237 void transform_fromhost_VkSamplerYcbcrConversionCreateInfo(
3238     VkDecoderGlobalState* resourceTracker, VkSamplerYcbcrConversionCreateInfo* toTransform) {
3239     (void)resourceTracker;
3240     (void)toTransform;
3241     if (toTransform->pNext) {
3242         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3243     }
3244     transform_fromhost_VkComponentMapping(resourceTracker,
3245                                           (VkComponentMapping*)(&toTransform->components));
3246 }
3247 
transform_tohost_VkSamplerYcbcrConversionInfo(VkDecoderGlobalState * resourceTracker,VkSamplerYcbcrConversionInfo * toTransform)3248 void transform_tohost_VkSamplerYcbcrConversionInfo(VkDecoderGlobalState* resourceTracker,
3249                                                    VkSamplerYcbcrConversionInfo* toTransform) {
3250     (void)resourceTracker;
3251     (void)toTransform;
3252     if (toTransform->pNext) {
3253         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3254     }
3255 }
3256 
transform_fromhost_VkSamplerYcbcrConversionInfo(VkDecoderGlobalState * resourceTracker,VkSamplerYcbcrConversionInfo * toTransform)3257 void transform_fromhost_VkSamplerYcbcrConversionInfo(VkDecoderGlobalState* resourceTracker,
3258                                                      VkSamplerYcbcrConversionInfo* toTransform) {
3259     (void)resourceTracker;
3260     (void)toTransform;
3261     if (toTransform->pNext) {
3262         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3263     }
3264 }
3265 
transform_tohost_VkBindImagePlaneMemoryInfo(VkDecoderGlobalState * resourceTracker,VkBindImagePlaneMemoryInfo * toTransform)3266 void transform_tohost_VkBindImagePlaneMemoryInfo(VkDecoderGlobalState* resourceTracker,
3267                                                  VkBindImagePlaneMemoryInfo* toTransform) {
3268     (void)resourceTracker;
3269     (void)toTransform;
3270     if (toTransform->pNext) {
3271         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3272     }
3273 }
3274 
transform_fromhost_VkBindImagePlaneMemoryInfo(VkDecoderGlobalState * resourceTracker,VkBindImagePlaneMemoryInfo * toTransform)3275 void transform_fromhost_VkBindImagePlaneMemoryInfo(VkDecoderGlobalState* resourceTracker,
3276                                                    VkBindImagePlaneMemoryInfo* toTransform) {
3277     (void)resourceTracker;
3278     (void)toTransform;
3279     if (toTransform->pNext) {
3280         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3281     }
3282 }
3283 
transform_tohost_VkImagePlaneMemoryRequirementsInfo(VkDecoderGlobalState * resourceTracker,VkImagePlaneMemoryRequirementsInfo * toTransform)3284 void transform_tohost_VkImagePlaneMemoryRequirementsInfo(
3285     VkDecoderGlobalState* resourceTracker, VkImagePlaneMemoryRequirementsInfo* toTransform) {
3286     (void)resourceTracker;
3287     (void)toTransform;
3288     if (toTransform->pNext) {
3289         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3290     }
3291 }
3292 
transform_fromhost_VkImagePlaneMemoryRequirementsInfo(VkDecoderGlobalState * resourceTracker,VkImagePlaneMemoryRequirementsInfo * toTransform)3293 void transform_fromhost_VkImagePlaneMemoryRequirementsInfo(
3294     VkDecoderGlobalState* resourceTracker, VkImagePlaneMemoryRequirementsInfo* toTransform) {
3295     (void)resourceTracker;
3296     (void)toTransform;
3297     if (toTransform->pNext) {
3298         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3299     }
3300 }
3301 
transform_tohost_VkPhysicalDeviceSamplerYcbcrConversionFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceSamplerYcbcrConversionFeatures * toTransform)3302 void transform_tohost_VkPhysicalDeviceSamplerYcbcrConversionFeatures(
3303     VkDecoderGlobalState* resourceTracker,
3304     VkPhysicalDeviceSamplerYcbcrConversionFeatures* toTransform) {
3305     (void)resourceTracker;
3306     (void)toTransform;
3307     if (toTransform->pNext) {
3308         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3309     }
3310 }
3311 
transform_fromhost_VkPhysicalDeviceSamplerYcbcrConversionFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceSamplerYcbcrConversionFeatures * toTransform)3312 void transform_fromhost_VkPhysicalDeviceSamplerYcbcrConversionFeatures(
3313     VkDecoderGlobalState* resourceTracker,
3314     VkPhysicalDeviceSamplerYcbcrConversionFeatures* toTransform) {
3315     (void)resourceTracker;
3316     (void)toTransform;
3317     if (toTransform->pNext) {
3318         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3319     }
3320 }
3321 
transform_tohost_VkSamplerYcbcrConversionImageFormatProperties(VkDecoderGlobalState * resourceTracker,VkSamplerYcbcrConversionImageFormatProperties * toTransform)3322 void transform_tohost_VkSamplerYcbcrConversionImageFormatProperties(
3323     VkDecoderGlobalState* resourceTracker,
3324     VkSamplerYcbcrConversionImageFormatProperties* toTransform) {
3325     (void)resourceTracker;
3326     (void)toTransform;
3327     if (toTransform->pNext) {
3328         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3329     }
3330 }
3331 
transform_fromhost_VkSamplerYcbcrConversionImageFormatProperties(VkDecoderGlobalState * resourceTracker,VkSamplerYcbcrConversionImageFormatProperties * toTransform)3332 void transform_fromhost_VkSamplerYcbcrConversionImageFormatProperties(
3333     VkDecoderGlobalState* resourceTracker,
3334     VkSamplerYcbcrConversionImageFormatProperties* toTransform) {
3335     (void)resourceTracker;
3336     (void)toTransform;
3337     if (toTransform->pNext) {
3338         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3339     }
3340 }
3341 
transform_tohost_VkDescriptorUpdateTemplateEntry(VkDecoderGlobalState * resourceTracker,VkDescriptorUpdateTemplateEntry * toTransform)3342 void transform_tohost_VkDescriptorUpdateTemplateEntry(
3343     VkDecoderGlobalState* resourceTracker, VkDescriptorUpdateTemplateEntry* toTransform) {
3344     (void)resourceTracker;
3345     (void)toTransform;
3346 }
3347 
transform_fromhost_VkDescriptorUpdateTemplateEntry(VkDecoderGlobalState * resourceTracker,VkDescriptorUpdateTemplateEntry * toTransform)3348 void transform_fromhost_VkDescriptorUpdateTemplateEntry(
3349     VkDecoderGlobalState* resourceTracker, VkDescriptorUpdateTemplateEntry* toTransform) {
3350     (void)resourceTracker;
3351     (void)toTransform;
3352 }
3353 
transform_tohost_VkDescriptorUpdateTemplateCreateInfo(VkDecoderGlobalState * resourceTracker,VkDescriptorUpdateTemplateCreateInfo * toTransform)3354 void transform_tohost_VkDescriptorUpdateTemplateCreateInfo(
3355     VkDecoderGlobalState* resourceTracker, VkDescriptorUpdateTemplateCreateInfo* toTransform) {
3356     (void)resourceTracker;
3357     (void)toTransform;
3358     if (toTransform->pNext) {
3359         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3360     }
3361     if (toTransform) {
3362         if (toTransform->pDescriptorUpdateEntries) {
3363             for (uint32_t i = 0; i < (uint32_t)toTransform->descriptorUpdateEntryCount; ++i) {
3364                 transform_tohost_VkDescriptorUpdateTemplateEntry(
3365                     resourceTracker,
3366                     (VkDescriptorUpdateTemplateEntry*)(toTransform->pDescriptorUpdateEntries + i));
3367             }
3368         }
3369     }
3370 }
3371 
transform_fromhost_VkDescriptorUpdateTemplateCreateInfo(VkDecoderGlobalState * resourceTracker,VkDescriptorUpdateTemplateCreateInfo * toTransform)3372 void transform_fromhost_VkDescriptorUpdateTemplateCreateInfo(
3373     VkDecoderGlobalState* resourceTracker, VkDescriptorUpdateTemplateCreateInfo* toTransform) {
3374     (void)resourceTracker;
3375     (void)toTransform;
3376     if (toTransform->pNext) {
3377         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3378     }
3379     if (toTransform) {
3380         if (toTransform->pDescriptorUpdateEntries) {
3381             for (uint32_t i = 0; i < (uint32_t)toTransform->descriptorUpdateEntryCount; ++i) {
3382                 transform_fromhost_VkDescriptorUpdateTemplateEntry(
3383                     resourceTracker,
3384                     (VkDescriptorUpdateTemplateEntry*)(toTransform->pDescriptorUpdateEntries + i));
3385             }
3386         }
3387     }
3388 }
3389 
transform_tohost_VkExternalMemoryProperties(VkDecoderGlobalState * resourceTracker,VkExternalMemoryProperties * toTransform)3390 void transform_tohost_VkExternalMemoryProperties(VkDecoderGlobalState* resourceTracker,
3391                                                  VkExternalMemoryProperties* toTransform) {
3392     (void)resourceTracker;
3393     (void)toTransform;
3394 }
3395 
transform_fromhost_VkExternalMemoryProperties(VkDecoderGlobalState * resourceTracker,VkExternalMemoryProperties * toTransform)3396 void transform_fromhost_VkExternalMemoryProperties(VkDecoderGlobalState* resourceTracker,
3397                                                    VkExternalMemoryProperties* toTransform) {
3398     (void)resourceTracker;
3399     (void)toTransform;
3400 }
3401 
transform_tohost_VkPhysicalDeviceExternalImageFormatInfo(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceExternalImageFormatInfo * toTransform)3402 void transform_tohost_VkPhysicalDeviceExternalImageFormatInfo(
3403     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceExternalImageFormatInfo* toTransform) {
3404     (void)resourceTracker;
3405     (void)toTransform;
3406     if (toTransform->pNext) {
3407         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3408     }
3409 }
3410 
transform_fromhost_VkPhysicalDeviceExternalImageFormatInfo(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceExternalImageFormatInfo * toTransform)3411 void transform_fromhost_VkPhysicalDeviceExternalImageFormatInfo(
3412     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceExternalImageFormatInfo* toTransform) {
3413     (void)resourceTracker;
3414     (void)toTransform;
3415     if (toTransform->pNext) {
3416         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3417     }
3418 }
3419 
transform_tohost_VkExternalImageFormatProperties(VkDecoderGlobalState * resourceTracker,VkExternalImageFormatProperties * toTransform)3420 void transform_tohost_VkExternalImageFormatProperties(
3421     VkDecoderGlobalState* resourceTracker, VkExternalImageFormatProperties* toTransform) {
3422     (void)resourceTracker;
3423     (void)toTransform;
3424     if (toTransform->pNext) {
3425         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3426     }
3427     resourceTracker->transformImpl_VkExternalMemoryProperties_tohost(
3428         &toTransform->externalMemoryProperties, 1);
3429     transform_tohost_VkExternalMemoryProperties(
3430         resourceTracker, (VkExternalMemoryProperties*)(&toTransform->externalMemoryProperties));
3431 }
3432 
transform_fromhost_VkExternalImageFormatProperties(VkDecoderGlobalState * resourceTracker,VkExternalImageFormatProperties * toTransform)3433 void transform_fromhost_VkExternalImageFormatProperties(
3434     VkDecoderGlobalState* resourceTracker, VkExternalImageFormatProperties* toTransform) {
3435     (void)resourceTracker;
3436     (void)toTransform;
3437     if (toTransform->pNext) {
3438         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3439     }
3440     resourceTracker->transformImpl_VkExternalMemoryProperties_fromhost(
3441         &toTransform->externalMemoryProperties, 1);
3442     transform_fromhost_VkExternalMemoryProperties(
3443         resourceTracker, (VkExternalMemoryProperties*)(&toTransform->externalMemoryProperties));
3444 }
3445 
transform_tohost_VkPhysicalDeviceExternalBufferInfo(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceExternalBufferInfo * toTransform)3446 void transform_tohost_VkPhysicalDeviceExternalBufferInfo(
3447     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceExternalBufferInfo* toTransform) {
3448     (void)resourceTracker;
3449     (void)toTransform;
3450     if (toTransform->pNext) {
3451         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3452     }
3453 }
3454 
transform_fromhost_VkPhysicalDeviceExternalBufferInfo(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceExternalBufferInfo * toTransform)3455 void transform_fromhost_VkPhysicalDeviceExternalBufferInfo(
3456     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceExternalBufferInfo* toTransform) {
3457     (void)resourceTracker;
3458     (void)toTransform;
3459     if (toTransform->pNext) {
3460         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3461     }
3462 }
3463 
transform_tohost_VkExternalBufferProperties(VkDecoderGlobalState * resourceTracker,VkExternalBufferProperties * toTransform)3464 void transform_tohost_VkExternalBufferProperties(VkDecoderGlobalState* resourceTracker,
3465                                                  VkExternalBufferProperties* toTransform) {
3466     (void)resourceTracker;
3467     (void)toTransform;
3468     if (toTransform->pNext) {
3469         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3470     }
3471     resourceTracker->transformImpl_VkExternalMemoryProperties_tohost(
3472         &toTransform->externalMemoryProperties, 1);
3473     transform_tohost_VkExternalMemoryProperties(
3474         resourceTracker, (VkExternalMemoryProperties*)(&toTransform->externalMemoryProperties));
3475 }
3476 
transform_fromhost_VkExternalBufferProperties(VkDecoderGlobalState * resourceTracker,VkExternalBufferProperties * toTransform)3477 void transform_fromhost_VkExternalBufferProperties(VkDecoderGlobalState* resourceTracker,
3478                                                    VkExternalBufferProperties* toTransform) {
3479     (void)resourceTracker;
3480     (void)toTransform;
3481     if (toTransform->pNext) {
3482         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3483     }
3484     resourceTracker->transformImpl_VkExternalMemoryProperties_fromhost(
3485         &toTransform->externalMemoryProperties, 1);
3486     transform_fromhost_VkExternalMemoryProperties(
3487         resourceTracker, (VkExternalMemoryProperties*)(&toTransform->externalMemoryProperties));
3488 }
3489 
transform_tohost_VkPhysicalDeviceIDProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceIDProperties * toTransform)3490 void transform_tohost_VkPhysicalDeviceIDProperties(VkDecoderGlobalState* resourceTracker,
3491                                                    VkPhysicalDeviceIDProperties* toTransform) {
3492     (void)resourceTracker;
3493     (void)toTransform;
3494     if (toTransform->pNext) {
3495         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3496     }
3497 }
3498 
transform_fromhost_VkPhysicalDeviceIDProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceIDProperties * toTransform)3499 void transform_fromhost_VkPhysicalDeviceIDProperties(VkDecoderGlobalState* resourceTracker,
3500                                                      VkPhysicalDeviceIDProperties* toTransform) {
3501     (void)resourceTracker;
3502     (void)toTransform;
3503     if (toTransform->pNext) {
3504         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3505     }
3506 }
3507 
transform_tohost_VkExternalMemoryImageCreateInfo(VkDecoderGlobalState * resourceTracker,VkExternalMemoryImageCreateInfo * toTransform)3508 void transform_tohost_VkExternalMemoryImageCreateInfo(
3509     VkDecoderGlobalState* resourceTracker, VkExternalMemoryImageCreateInfo* toTransform) {
3510     (void)resourceTracker;
3511     (void)toTransform;
3512     if (toTransform->pNext) {
3513         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3514     }
3515 }
3516 
transform_fromhost_VkExternalMemoryImageCreateInfo(VkDecoderGlobalState * resourceTracker,VkExternalMemoryImageCreateInfo * toTransform)3517 void transform_fromhost_VkExternalMemoryImageCreateInfo(
3518     VkDecoderGlobalState* resourceTracker, VkExternalMemoryImageCreateInfo* toTransform) {
3519     (void)resourceTracker;
3520     (void)toTransform;
3521     if (toTransform->pNext) {
3522         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3523     }
3524 }
3525 
transform_tohost_VkExternalMemoryBufferCreateInfo(VkDecoderGlobalState * resourceTracker,VkExternalMemoryBufferCreateInfo * toTransform)3526 void transform_tohost_VkExternalMemoryBufferCreateInfo(
3527     VkDecoderGlobalState* resourceTracker, VkExternalMemoryBufferCreateInfo* toTransform) {
3528     (void)resourceTracker;
3529     (void)toTransform;
3530     if (toTransform->pNext) {
3531         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3532     }
3533 }
3534 
transform_fromhost_VkExternalMemoryBufferCreateInfo(VkDecoderGlobalState * resourceTracker,VkExternalMemoryBufferCreateInfo * toTransform)3535 void transform_fromhost_VkExternalMemoryBufferCreateInfo(
3536     VkDecoderGlobalState* resourceTracker, VkExternalMemoryBufferCreateInfo* toTransform) {
3537     (void)resourceTracker;
3538     (void)toTransform;
3539     if (toTransform->pNext) {
3540         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3541     }
3542 }
3543 
transform_tohost_VkExportMemoryAllocateInfo(VkDecoderGlobalState * resourceTracker,VkExportMemoryAllocateInfo * toTransform)3544 void transform_tohost_VkExportMemoryAllocateInfo(VkDecoderGlobalState* resourceTracker,
3545                                                  VkExportMemoryAllocateInfo* toTransform) {
3546     (void)resourceTracker;
3547     (void)toTransform;
3548     if (toTransform->pNext) {
3549         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3550     }
3551 }
3552 
transform_fromhost_VkExportMemoryAllocateInfo(VkDecoderGlobalState * resourceTracker,VkExportMemoryAllocateInfo * toTransform)3553 void transform_fromhost_VkExportMemoryAllocateInfo(VkDecoderGlobalState* resourceTracker,
3554                                                    VkExportMemoryAllocateInfo* toTransform) {
3555     (void)resourceTracker;
3556     (void)toTransform;
3557     if (toTransform->pNext) {
3558         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3559     }
3560 }
3561 
transform_tohost_VkPhysicalDeviceExternalFenceInfo(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceExternalFenceInfo * toTransform)3562 void transform_tohost_VkPhysicalDeviceExternalFenceInfo(
3563     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceExternalFenceInfo* toTransform) {
3564     (void)resourceTracker;
3565     (void)toTransform;
3566     if (toTransform->pNext) {
3567         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3568     }
3569 }
3570 
transform_fromhost_VkPhysicalDeviceExternalFenceInfo(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceExternalFenceInfo * toTransform)3571 void transform_fromhost_VkPhysicalDeviceExternalFenceInfo(
3572     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceExternalFenceInfo* toTransform) {
3573     (void)resourceTracker;
3574     (void)toTransform;
3575     if (toTransform->pNext) {
3576         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3577     }
3578 }
3579 
transform_tohost_VkExternalFenceProperties(VkDecoderGlobalState * resourceTracker,VkExternalFenceProperties * toTransform)3580 void transform_tohost_VkExternalFenceProperties(VkDecoderGlobalState* resourceTracker,
3581                                                 VkExternalFenceProperties* toTransform) {
3582     (void)resourceTracker;
3583     (void)toTransform;
3584     if (toTransform->pNext) {
3585         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3586     }
3587 }
3588 
transform_fromhost_VkExternalFenceProperties(VkDecoderGlobalState * resourceTracker,VkExternalFenceProperties * toTransform)3589 void transform_fromhost_VkExternalFenceProperties(VkDecoderGlobalState* resourceTracker,
3590                                                   VkExternalFenceProperties* toTransform) {
3591     (void)resourceTracker;
3592     (void)toTransform;
3593     if (toTransform->pNext) {
3594         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3595     }
3596 }
3597 
transform_tohost_VkExportFenceCreateInfo(VkDecoderGlobalState * resourceTracker,VkExportFenceCreateInfo * toTransform)3598 void transform_tohost_VkExportFenceCreateInfo(VkDecoderGlobalState* resourceTracker,
3599                                               VkExportFenceCreateInfo* toTransform) {
3600     (void)resourceTracker;
3601     (void)toTransform;
3602     if (toTransform->pNext) {
3603         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3604     }
3605 }
3606 
transform_fromhost_VkExportFenceCreateInfo(VkDecoderGlobalState * resourceTracker,VkExportFenceCreateInfo * toTransform)3607 void transform_fromhost_VkExportFenceCreateInfo(VkDecoderGlobalState* resourceTracker,
3608                                                 VkExportFenceCreateInfo* toTransform) {
3609     (void)resourceTracker;
3610     (void)toTransform;
3611     if (toTransform->pNext) {
3612         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3613     }
3614 }
3615 
transform_tohost_VkExportSemaphoreCreateInfo(VkDecoderGlobalState * resourceTracker,VkExportSemaphoreCreateInfo * toTransform)3616 void transform_tohost_VkExportSemaphoreCreateInfo(VkDecoderGlobalState* resourceTracker,
3617                                                   VkExportSemaphoreCreateInfo* toTransform) {
3618     (void)resourceTracker;
3619     (void)toTransform;
3620     if (toTransform->pNext) {
3621         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3622     }
3623 }
3624 
transform_fromhost_VkExportSemaphoreCreateInfo(VkDecoderGlobalState * resourceTracker,VkExportSemaphoreCreateInfo * toTransform)3625 void transform_fromhost_VkExportSemaphoreCreateInfo(VkDecoderGlobalState* resourceTracker,
3626                                                     VkExportSemaphoreCreateInfo* toTransform) {
3627     (void)resourceTracker;
3628     (void)toTransform;
3629     if (toTransform->pNext) {
3630         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3631     }
3632 }
3633 
transform_tohost_VkPhysicalDeviceExternalSemaphoreInfo(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceExternalSemaphoreInfo * toTransform)3634 void transform_tohost_VkPhysicalDeviceExternalSemaphoreInfo(
3635     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceExternalSemaphoreInfo* toTransform) {
3636     (void)resourceTracker;
3637     (void)toTransform;
3638     if (toTransform->pNext) {
3639         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3640     }
3641 }
3642 
transform_fromhost_VkPhysicalDeviceExternalSemaphoreInfo(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceExternalSemaphoreInfo * toTransform)3643 void transform_fromhost_VkPhysicalDeviceExternalSemaphoreInfo(
3644     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceExternalSemaphoreInfo* toTransform) {
3645     (void)resourceTracker;
3646     (void)toTransform;
3647     if (toTransform->pNext) {
3648         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3649     }
3650 }
3651 
transform_tohost_VkExternalSemaphoreProperties(VkDecoderGlobalState * resourceTracker,VkExternalSemaphoreProperties * toTransform)3652 void transform_tohost_VkExternalSemaphoreProperties(VkDecoderGlobalState* resourceTracker,
3653                                                     VkExternalSemaphoreProperties* toTransform) {
3654     (void)resourceTracker;
3655     (void)toTransform;
3656     if (toTransform->pNext) {
3657         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3658     }
3659 }
3660 
transform_fromhost_VkExternalSemaphoreProperties(VkDecoderGlobalState * resourceTracker,VkExternalSemaphoreProperties * toTransform)3661 void transform_fromhost_VkExternalSemaphoreProperties(VkDecoderGlobalState* resourceTracker,
3662                                                       VkExternalSemaphoreProperties* toTransform) {
3663     (void)resourceTracker;
3664     (void)toTransform;
3665     if (toTransform->pNext) {
3666         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3667     }
3668 }
3669 
transform_tohost_VkPhysicalDeviceMaintenance3Properties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceMaintenance3Properties * toTransform)3670 void transform_tohost_VkPhysicalDeviceMaintenance3Properties(
3671     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceMaintenance3Properties* toTransform) {
3672     (void)resourceTracker;
3673     (void)toTransform;
3674     if (toTransform->pNext) {
3675         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3676     }
3677 }
3678 
transform_fromhost_VkPhysicalDeviceMaintenance3Properties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceMaintenance3Properties * toTransform)3679 void transform_fromhost_VkPhysicalDeviceMaintenance3Properties(
3680     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceMaintenance3Properties* toTransform) {
3681     (void)resourceTracker;
3682     (void)toTransform;
3683     if (toTransform->pNext) {
3684         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3685     }
3686 }
3687 
transform_tohost_VkDescriptorSetLayoutSupport(VkDecoderGlobalState * resourceTracker,VkDescriptorSetLayoutSupport * toTransform)3688 void transform_tohost_VkDescriptorSetLayoutSupport(VkDecoderGlobalState* resourceTracker,
3689                                                    VkDescriptorSetLayoutSupport* toTransform) {
3690     (void)resourceTracker;
3691     (void)toTransform;
3692     if (toTransform->pNext) {
3693         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3694     }
3695 }
3696 
transform_fromhost_VkDescriptorSetLayoutSupport(VkDecoderGlobalState * resourceTracker,VkDescriptorSetLayoutSupport * toTransform)3697 void transform_fromhost_VkDescriptorSetLayoutSupport(VkDecoderGlobalState* resourceTracker,
3698                                                      VkDescriptorSetLayoutSupport* toTransform) {
3699     (void)resourceTracker;
3700     (void)toTransform;
3701     if (toTransform->pNext) {
3702         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3703     }
3704 }
3705 
transform_tohost_VkPhysicalDeviceShaderDrawParametersFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceShaderDrawParametersFeatures * toTransform)3706 void transform_tohost_VkPhysicalDeviceShaderDrawParametersFeatures(
3707     VkDecoderGlobalState* resourceTracker,
3708     VkPhysicalDeviceShaderDrawParametersFeatures* toTransform) {
3709     (void)resourceTracker;
3710     (void)toTransform;
3711     if (toTransform->pNext) {
3712         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3713     }
3714 }
3715 
transform_fromhost_VkPhysicalDeviceShaderDrawParametersFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceShaderDrawParametersFeatures * toTransform)3716 void transform_fromhost_VkPhysicalDeviceShaderDrawParametersFeatures(
3717     VkDecoderGlobalState* resourceTracker,
3718     VkPhysicalDeviceShaderDrawParametersFeatures* toTransform) {
3719     (void)resourceTracker;
3720     (void)toTransform;
3721     if (toTransform->pNext) {
3722         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3723     }
3724 }
3725 
3726 #endif
3727 #ifdef VK_VERSION_1_2
transform_tohost_VkPhysicalDeviceVulkan11Features(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceVulkan11Features * toTransform)3728 void transform_tohost_VkPhysicalDeviceVulkan11Features(
3729     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceVulkan11Features* toTransform) {
3730     (void)resourceTracker;
3731     (void)toTransform;
3732     if (toTransform->pNext) {
3733         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3734     }
3735 }
3736 
transform_fromhost_VkPhysicalDeviceVulkan11Features(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceVulkan11Features * toTransform)3737 void transform_fromhost_VkPhysicalDeviceVulkan11Features(
3738     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceVulkan11Features* toTransform) {
3739     (void)resourceTracker;
3740     (void)toTransform;
3741     if (toTransform->pNext) {
3742         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3743     }
3744 }
3745 
transform_tohost_VkPhysicalDeviceVulkan11Properties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceVulkan11Properties * toTransform)3746 void transform_tohost_VkPhysicalDeviceVulkan11Properties(
3747     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceVulkan11Properties* toTransform) {
3748     (void)resourceTracker;
3749     (void)toTransform;
3750     if (toTransform->pNext) {
3751         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3752     }
3753 }
3754 
transform_fromhost_VkPhysicalDeviceVulkan11Properties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceVulkan11Properties * toTransform)3755 void transform_fromhost_VkPhysicalDeviceVulkan11Properties(
3756     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceVulkan11Properties* toTransform) {
3757     (void)resourceTracker;
3758     (void)toTransform;
3759     if (toTransform->pNext) {
3760         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3761     }
3762 }
3763 
transform_tohost_VkPhysicalDeviceVulkan12Features(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceVulkan12Features * toTransform)3764 void transform_tohost_VkPhysicalDeviceVulkan12Features(
3765     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceVulkan12Features* toTransform) {
3766     (void)resourceTracker;
3767     (void)toTransform;
3768     if (toTransform->pNext) {
3769         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3770     }
3771 }
3772 
transform_fromhost_VkPhysicalDeviceVulkan12Features(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceVulkan12Features * toTransform)3773 void transform_fromhost_VkPhysicalDeviceVulkan12Features(
3774     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceVulkan12Features* toTransform) {
3775     (void)resourceTracker;
3776     (void)toTransform;
3777     if (toTransform->pNext) {
3778         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3779     }
3780 }
3781 
transform_tohost_VkConformanceVersion(VkDecoderGlobalState * resourceTracker,VkConformanceVersion * toTransform)3782 void transform_tohost_VkConformanceVersion(VkDecoderGlobalState* resourceTracker,
3783                                            VkConformanceVersion* toTransform) {
3784     (void)resourceTracker;
3785     (void)toTransform;
3786 }
3787 
transform_fromhost_VkConformanceVersion(VkDecoderGlobalState * resourceTracker,VkConformanceVersion * toTransform)3788 void transform_fromhost_VkConformanceVersion(VkDecoderGlobalState* resourceTracker,
3789                                              VkConformanceVersion* toTransform) {
3790     (void)resourceTracker;
3791     (void)toTransform;
3792 }
3793 
transform_tohost_VkPhysicalDeviceVulkan12Properties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceVulkan12Properties * toTransform)3794 void transform_tohost_VkPhysicalDeviceVulkan12Properties(
3795     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceVulkan12Properties* toTransform) {
3796     (void)resourceTracker;
3797     (void)toTransform;
3798     if (toTransform->pNext) {
3799         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3800     }
3801     transform_tohost_VkConformanceVersion(
3802         resourceTracker, (VkConformanceVersion*)(&toTransform->conformanceVersion));
3803 }
3804 
transform_fromhost_VkPhysicalDeviceVulkan12Properties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceVulkan12Properties * toTransform)3805 void transform_fromhost_VkPhysicalDeviceVulkan12Properties(
3806     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceVulkan12Properties* toTransform) {
3807     (void)resourceTracker;
3808     (void)toTransform;
3809     if (toTransform->pNext) {
3810         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3811     }
3812     transform_fromhost_VkConformanceVersion(
3813         resourceTracker, (VkConformanceVersion*)(&toTransform->conformanceVersion));
3814 }
3815 
transform_tohost_VkImageFormatListCreateInfo(VkDecoderGlobalState * resourceTracker,VkImageFormatListCreateInfo * toTransform)3816 void transform_tohost_VkImageFormatListCreateInfo(VkDecoderGlobalState* resourceTracker,
3817                                                   VkImageFormatListCreateInfo* toTransform) {
3818     (void)resourceTracker;
3819     (void)toTransform;
3820     if (toTransform->pNext) {
3821         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3822     }
3823 }
3824 
transform_fromhost_VkImageFormatListCreateInfo(VkDecoderGlobalState * resourceTracker,VkImageFormatListCreateInfo * toTransform)3825 void transform_fromhost_VkImageFormatListCreateInfo(VkDecoderGlobalState* resourceTracker,
3826                                                     VkImageFormatListCreateInfo* toTransform) {
3827     (void)resourceTracker;
3828     (void)toTransform;
3829     if (toTransform->pNext) {
3830         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3831     }
3832 }
3833 
transform_tohost_VkAttachmentDescription2(VkDecoderGlobalState * resourceTracker,VkAttachmentDescription2 * toTransform)3834 void transform_tohost_VkAttachmentDescription2(VkDecoderGlobalState* resourceTracker,
3835                                                VkAttachmentDescription2* toTransform) {
3836     (void)resourceTracker;
3837     (void)toTransform;
3838     if (toTransform->pNext) {
3839         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3840     }
3841 }
3842 
transform_fromhost_VkAttachmentDescription2(VkDecoderGlobalState * resourceTracker,VkAttachmentDescription2 * toTransform)3843 void transform_fromhost_VkAttachmentDescription2(VkDecoderGlobalState* resourceTracker,
3844                                                  VkAttachmentDescription2* toTransform) {
3845     (void)resourceTracker;
3846     (void)toTransform;
3847     if (toTransform->pNext) {
3848         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3849     }
3850 }
3851 
transform_tohost_VkAttachmentReference2(VkDecoderGlobalState * resourceTracker,VkAttachmentReference2 * toTransform)3852 void transform_tohost_VkAttachmentReference2(VkDecoderGlobalState* resourceTracker,
3853                                              VkAttachmentReference2* toTransform) {
3854     (void)resourceTracker;
3855     (void)toTransform;
3856     if (toTransform->pNext) {
3857         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3858     }
3859 }
3860 
transform_fromhost_VkAttachmentReference2(VkDecoderGlobalState * resourceTracker,VkAttachmentReference2 * toTransform)3861 void transform_fromhost_VkAttachmentReference2(VkDecoderGlobalState* resourceTracker,
3862                                                VkAttachmentReference2* toTransform) {
3863     (void)resourceTracker;
3864     (void)toTransform;
3865     if (toTransform->pNext) {
3866         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3867     }
3868 }
3869 
transform_tohost_VkSubpassDescription2(VkDecoderGlobalState * resourceTracker,VkSubpassDescription2 * toTransform)3870 void transform_tohost_VkSubpassDescription2(VkDecoderGlobalState* resourceTracker,
3871                                             VkSubpassDescription2* toTransform) {
3872     (void)resourceTracker;
3873     (void)toTransform;
3874     if (toTransform->pNext) {
3875         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3876     }
3877     if (toTransform) {
3878         if (toTransform->pInputAttachments) {
3879             for (uint32_t i = 0; i < (uint32_t)toTransform->inputAttachmentCount; ++i) {
3880                 transform_tohost_VkAttachmentReference2(
3881                     resourceTracker, (VkAttachmentReference2*)(toTransform->pInputAttachments + i));
3882             }
3883         }
3884     }
3885     if (toTransform) {
3886         if (toTransform->pColorAttachments) {
3887             for (uint32_t i = 0; i < (uint32_t)toTransform->colorAttachmentCount; ++i) {
3888                 transform_tohost_VkAttachmentReference2(
3889                     resourceTracker, (VkAttachmentReference2*)(toTransform->pColorAttachments + i));
3890             }
3891         }
3892     }
3893     if (toTransform) {
3894         if (toTransform->pResolveAttachments) {
3895             for (uint32_t i = 0; i < (uint32_t)toTransform->colorAttachmentCount; ++i) {
3896                 transform_tohost_VkAttachmentReference2(
3897                     resourceTracker,
3898                     (VkAttachmentReference2*)(toTransform->pResolveAttachments + i));
3899             }
3900         }
3901     }
3902     if (toTransform->pDepthStencilAttachment) {
3903         transform_tohost_VkAttachmentReference2(
3904             resourceTracker, (VkAttachmentReference2*)(toTransform->pDepthStencilAttachment));
3905     }
3906 }
3907 
transform_fromhost_VkSubpassDescription2(VkDecoderGlobalState * resourceTracker,VkSubpassDescription2 * toTransform)3908 void transform_fromhost_VkSubpassDescription2(VkDecoderGlobalState* resourceTracker,
3909                                               VkSubpassDescription2* toTransform) {
3910     (void)resourceTracker;
3911     (void)toTransform;
3912     if (toTransform->pNext) {
3913         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3914     }
3915     if (toTransform) {
3916         if (toTransform->pInputAttachments) {
3917             for (uint32_t i = 0; i < (uint32_t)toTransform->inputAttachmentCount; ++i) {
3918                 transform_fromhost_VkAttachmentReference2(
3919                     resourceTracker, (VkAttachmentReference2*)(toTransform->pInputAttachments + i));
3920             }
3921         }
3922     }
3923     if (toTransform) {
3924         if (toTransform->pColorAttachments) {
3925             for (uint32_t i = 0; i < (uint32_t)toTransform->colorAttachmentCount; ++i) {
3926                 transform_fromhost_VkAttachmentReference2(
3927                     resourceTracker, (VkAttachmentReference2*)(toTransform->pColorAttachments + i));
3928             }
3929         }
3930     }
3931     if (toTransform) {
3932         if (toTransform->pResolveAttachments) {
3933             for (uint32_t i = 0; i < (uint32_t)toTransform->colorAttachmentCount; ++i) {
3934                 transform_fromhost_VkAttachmentReference2(
3935                     resourceTracker,
3936                     (VkAttachmentReference2*)(toTransform->pResolveAttachments + i));
3937             }
3938         }
3939     }
3940     if (toTransform->pDepthStencilAttachment) {
3941         transform_fromhost_VkAttachmentReference2(
3942             resourceTracker, (VkAttachmentReference2*)(toTransform->pDepthStencilAttachment));
3943     }
3944 }
3945 
transform_tohost_VkSubpassDependency2(VkDecoderGlobalState * resourceTracker,VkSubpassDependency2 * toTransform)3946 void transform_tohost_VkSubpassDependency2(VkDecoderGlobalState* resourceTracker,
3947                                            VkSubpassDependency2* toTransform) {
3948     (void)resourceTracker;
3949     (void)toTransform;
3950     if (toTransform->pNext) {
3951         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3952     }
3953 }
3954 
transform_fromhost_VkSubpassDependency2(VkDecoderGlobalState * resourceTracker,VkSubpassDependency2 * toTransform)3955 void transform_fromhost_VkSubpassDependency2(VkDecoderGlobalState* resourceTracker,
3956                                              VkSubpassDependency2* toTransform) {
3957     (void)resourceTracker;
3958     (void)toTransform;
3959     if (toTransform->pNext) {
3960         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3961     }
3962 }
3963 
transform_tohost_VkRenderPassCreateInfo2(VkDecoderGlobalState * resourceTracker,VkRenderPassCreateInfo2 * toTransform)3964 void transform_tohost_VkRenderPassCreateInfo2(VkDecoderGlobalState* resourceTracker,
3965                                               VkRenderPassCreateInfo2* toTransform) {
3966     (void)resourceTracker;
3967     (void)toTransform;
3968     if (toTransform->pNext) {
3969         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
3970     }
3971     if (toTransform) {
3972         if (toTransform->pAttachments) {
3973             for (uint32_t i = 0; i < (uint32_t)toTransform->attachmentCount; ++i) {
3974                 transform_tohost_VkAttachmentDescription2(
3975                     resourceTracker, (VkAttachmentDescription2*)(toTransform->pAttachments + i));
3976             }
3977         }
3978     }
3979     if (toTransform) {
3980         if (toTransform->pSubpasses) {
3981             for (uint32_t i = 0; i < (uint32_t)toTransform->subpassCount; ++i) {
3982                 transform_tohost_VkSubpassDescription2(
3983                     resourceTracker, (VkSubpassDescription2*)(toTransform->pSubpasses + i));
3984             }
3985         }
3986     }
3987     if (toTransform) {
3988         if (toTransform->pDependencies) {
3989             for (uint32_t i = 0; i < (uint32_t)toTransform->dependencyCount; ++i) {
3990                 transform_tohost_VkSubpassDependency2(
3991                     resourceTracker, (VkSubpassDependency2*)(toTransform->pDependencies + i));
3992             }
3993         }
3994     }
3995 }
3996 
transform_fromhost_VkRenderPassCreateInfo2(VkDecoderGlobalState * resourceTracker,VkRenderPassCreateInfo2 * toTransform)3997 void transform_fromhost_VkRenderPassCreateInfo2(VkDecoderGlobalState* resourceTracker,
3998                                                 VkRenderPassCreateInfo2* toTransform) {
3999     (void)resourceTracker;
4000     (void)toTransform;
4001     if (toTransform->pNext) {
4002         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4003     }
4004     if (toTransform) {
4005         if (toTransform->pAttachments) {
4006             for (uint32_t i = 0; i < (uint32_t)toTransform->attachmentCount; ++i) {
4007                 transform_fromhost_VkAttachmentDescription2(
4008                     resourceTracker, (VkAttachmentDescription2*)(toTransform->pAttachments + i));
4009             }
4010         }
4011     }
4012     if (toTransform) {
4013         if (toTransform->pSubpasses) {
4014             for (uint32_t i = 0; i < (uint32_t)toTransform->subpassCount; ++i) {
4015                 transform_fromhost_VkSubpassDescription2(
4016                     resourceTracker, (VkSubpassDescription2*)(toTransform->pSubpasses + i));
4017             }
4018         }
4019     }
4020     if (toTransform) {
4021         if (toTransform->pDependencies) {
4022             for (uint32_t i = 0; i < (uint32_t)toTransform->dependencyCount; ++i) {
4023                 transform_fromhost_VkSubpassDependency2(
4024                     resourceTracker, (VkSubpassDependency2*)(toTransform->pDependencies + i));
4025             }
4026         }
4027     }
4028 }
4029 
transform_tohost_VkSubpassBeginInfo(VkDecoderGlobalState * resourceTracker,VkSubpassBeginInfo * toTransform)4030 void transform_tohost_VkSubpassBeginInfo(VkDecoderGlobalState* resourceTracker,
4031                                          VkSubpassBeginInfo* toTransform) {
4032     (void)resourceTracker;
4033     (void)toTransform;
4034     if (toTransform->pNext) {
4035         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4036     }
4037 }
4038 
transform_fromhost_VkSubpassBeginInfo(VkDecoderGlobalState * resourceTracker,VkSubpassBeginInfo * toTransform)4039 void transform_fromhost_VkSubpassBeginInfo(VkDecoderGlobalState* resourceTracker,
4040                                            VkSubpassBeginInfo* toTransform) {
4041     (void)resourceTracker;
4042     (void)toTransform;
4043     if (toTransform->pNext) {
4044         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4045     }
4046 }
4047 
transform_tohost_VkSubpassEndInfo(VkDecoderGlobalState * resourceTracker,VkSubpassEndInfo * toTransform)4048 void transform_tohost_VkSubpassEndInfo(VkDecoderGlobalState* resourceTracker,
4049                                        VkSubpassEndInfo* toTransform) {
4050     (void)resourceTracker;
4051     (void)toTransform;
4052     if (toTransform->pNext) {
4053         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4054     }
4055 }
4056 
transform_fromhost_VkSubpassEndInfo(VkDecoderGlobalState * resourceTracker,VkSubpassEndInfo * toTransform)4057 void transform_fromhost_VkSubpassEndInfo(VkDecoderGlobalState* resourceTracker,
4058                                          VkSubpassEndInfo* toTransform) {
4059     (void)resourceTracker;
4060     (void)toTransform;
4061     if (toTransform->pNext) {
4062         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4063     }
4064 }
4065 
transform_tohost_VkPhysicalDevice8BitStorageFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDevice8BitStorageFeatures * toTransform)4066 void transform_tohost_VkPhysicalDevice8BitStorageFeatures(
4067     VkDecoderGlobalState* resourceTracker, VkPhysicalDevice8BitStorageFeatures* toTransform) {
4068     (void)resourceTracker;
4069     (void)toTransform;
4070     if (toTransform->pNext) {
4071         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4072     }
4073 }
4074 
transform_fromhost_VkPhysicalDevice8BitStorageFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDevice8BitStorageFeatures * toTransform)4075 void transform_fromhost_VkPhysicalDevice8BitStorageFeatures(
4076     VkDecoderGlobalState* resourceTracker, VkPhysicalDevice8BitStorageFeatures* toTransform) {
4077     (void)resourceTracker;
4078     (void)toTransform;
4079     if (toTransform->pNext) {
4080         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4081     }
4082 }
4083 
transform_tohost_VkPhysicalDeviceDriverProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceDriverProperties * toTransform)4084 void transform_tohost_VkPhysicalDeviceDriverProperties(
4085     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceDriverProperties* toTransform) {
4086     (void)resourceTracker;
4087     (void)toTransform;
4088     if (toTransform->pNext) {
4089         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4090     }
4091     transform_tohost_VkConformanceVersion(
4092         resourceTracker, (VkConformanceVersion*)(&toTransform->conformanceVersion));
4093 }
4094 
transform_fromhost_VkPhysicalDeviceDriverProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceDriverProperties * toTransform)4095 void transform_fromhost_VkPhysicalDeviceDriverProperties(
4096     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceDriverProperties* toTransform) {
4097     (void)resourceTracker;
4098     (void)toTransform;
4099     if (toTransform->pNext) {
4100         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4101     }
4102     transform_fromhost_VkConformanceVersion(
4103         resourceTracker, (VkConformanceVersion*)(&toTransform->conformanceVersion));
4104 }
4105 
transform_tohost_VkPhysicalDeviceShaderAtomicInt64Features(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceShaderAtomicInt64Features * toTransform)4106 void transform_tohost_VkPhysicalDeviceShaderAtomicInt64Features(
4107     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceShaderAtomicInt64Features* toTransform) {
4108     (void)resourceTracker;
4109     (void)toTransform;
4110     if (toTransform->pNext) {
4111         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4112     }
4113 }
4114 
transform_fromhost_VkPhysicalDeviceShaderAtomicInt64Features(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceShaderAtomicInt64Features * toTransform)4115 void transform_fromhost_VkPhysicalDeviceShaderAtomicInt64Features(
4116     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceShaderAtomicInt64Features* toTransform) {
4117     (void)resourceTracker;
4118     (void)toTransform;
4119     if (toTransform->pNext) {
4120         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4121     }
4122 }
4123 
transform_tohost_VkPhysicalDeviceShaderFloat16Int8Features(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceShaderFloat16Int8Features * toTransform)4124 void transform_tohost_VkPhysicalDeviceShaderFloat16Int8Features(
4125     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceShaderFloat16Int8Features* toTransform) {
4126     (void)resourceTracker;
4127     (void)toTransform;
4128     if (toTransform->pNext) {
4129         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4130     }
4131 }
4132 
transform_fromhost_VkPhysicalDeviceShaderFloat16Int8Features(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceShaderFloat16Int8Features * toTransform)4133 void transform_fromhost_VkPhysicalDeviceShaderFloat16Int8Features(
4134     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceShaderFloat16Int8Features* toTransform) {
4135     (void)resourceTracker;
4136     (void)toTransform;
4137     if (toTransform->pNext) {
4138         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4139     }
4140 }
4141 
transform_tohost_VkPhysicalDeviceFloatControlsProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceFloatControlsProperties * toTransform)4142 void transform_tohost_VkPhysicalDeviceFloatControlsProperties(
4143     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceFloatControlsProperties* toTransform) {
4144     (void)resourceTracker;
4145     (void)toTransform;
4146     if (toTransform->pNext) {
4147         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4148     }
4149 }
4150 
transform_fromhost_VkPhysicalDeviceFloatControlsProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceFloatControlsProperties * toTransform)4151 void transform_fromhost_VkPhysicalDeviceFloatControlsProperties(
4152     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceFloatControlsProperties* toTransform) {
4153     (void)resourceTracker;
4154     (void)toTransform;
4155     if (toTransform->pNext) {
4156         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4157     }
4158 }
4159 
transform_tohost_VkDescriptorSetLayoutBindingFlagsCreateInfo(VkDecoderGlobalState * resourceTracker,VkDescriptorSetLayoutBindingFlagsCreateInfo * toTransform)4160 void transform_tohost_VkDescriptorSetLayoutBindingFlagsCreateInfo(
4161     VkDecoderGlobalState* resourceTracker,
4162     VkDescriptorSetLayoutBindingFlagsCreateInfo* toTransform) {
4163     (void)resourceTracker;
4164     (void)toTransform;
4165     if (toTransform->pNext) {
4166         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4167     }
4168 }
4169 
transform_fromhost_VkDescriptorSetLayoutBindingFlagsCreateInfo(VkDecoderGlobalState * resourceTracker,VkDescriptorSetLayoutBindingFlagsCreateInfo * toTransform)4170 void transform_fromhost_VkDescriptorSetLayoutBindingFlagsCreateInfo(
4171     VkDecoderGlobalState* resourceTracker,
4172     VkDescriptorSetLayoutBindingFlagsCreateInfo* toTransform) {
4173     (void)resourceTracker;
4174     (void)toTransform;
4175     if (toTransform->pNext) {
4176         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4177     }
4178 }
4179 
transform_tohost_VkPhysicalDeviceDescriptorIndexingFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceDescriptorIndexingFeatures * toTransform)4180 void transform_tohost_VkPhysicalDeviceDescriptorIndexingFeatures(
4181     VkDecoderGlobalState* resourceTracker,
4182     VkPhysicalDeviceDescriptorIndexingFeatures* toTransform) {
4183     (void)resourceTracker;
4184     (void)toTransform;
4185     if (toTransform->pNext) {
4186         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4187     }
4188 }
4189 
transform_fromhost_VkPhysicalDeviceDescriptorIndexingFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceDescriptorIndexingFeatures * toTransform)4190 void transform_fromhost_VkPhysicalDeviceDescriptorIndexingFeatures(
4191     VkDecoderGlobalState* resourceTracker,
4192     VkPhysicalDeviceDescriptorIndexingFeatures* toTransform) {
4193     (void)resourceTracker;
4194     (void)toTransform;
4195     if (toTransform->pNext) {
4196         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4197     }
4198 }
4199 
transform_tohost_VkPhysicalDeviceDescriptorIndexingProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceDescriptorIndexingProperties * toTransform)4200 void transform_tohost_VkPhysicalDeviceDescriptorIndexingProperties(
4201     VkDecoderGlobalState* resourceTracker,
4202     VkPhysicalDeviceDescriptorIndexingProperties* toTransform) {
4203     (void)resourceTracker;
4204     (void)toTransform;
4205     if (toTransform->pNext) {
4206         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4207     }
4208 }
4209 
transform_fromhost_VkPhysicalDeviceDescriptorIndexingProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceDescriptorIndexingProperties * toTransform)4210 void transform_fromhost_VkPhysicalDeviceDescriptorIndexingProperties(
4211     VkDecoderGlobalState* resourceTracker,
4212     VkPhysicalDeviceDescriptorIndexingProperties* toTransform) {
4213     (void)resourceTracker;
4214     (void)toTransform;
4215     if (toTransform->pNext) {
4216         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4217     }
4218 }
4219 
transform_tohost_VkDescriptorSetVariableDescriptorCountAllocateInfo(VkDecoderGlobalState * resourceTracker,VkDescriptorSetVariableDescriptorCountAllocateInfo * toTransform)4220 void transform_tohost_VkDescriptorSetVariableDescriptorCountAllocateInfo(
4221     VkDecoderGlobalState* resourceTracker,
4222     VkDescriptorSetVariableDescriptorCountAllocateInfo* toTransform) {
4223     (void)resourceTracker;
4224     (void)toTransform;
4225     if (toTransform->pNext) {
4226         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4227     }
4228 }
4229 
transform_fromhost_VkDescriptorSetVariableDescriptorCountAllocateInfo(VkDecoderGlobalState * resourceTracker,VkDescriptorSetVariableDescriptorCountAllocateInfo * toTransform)4230 void transform_fromhost_VkDescriptorSetVariableDescriptorCountAllocateInfo(
4231     VkDecoderGlobalState* resourceTracker,
4232     VkDescriptorSetVariableDescriptorCountAllocateInfo* toTransform) {
4233     (void)resourceTracker;
4234     (void)toTransform;
4235     if (toTransform->pNext) {
4236         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4237     }
4238 }
4239 
transform_tohost_VkDescriptorSetVariableDescriptorCountLayoutSupport(VkDecoderGlobalState * resourceTracker,VkDescriptorSetVariableDescriptorCountLayoutSupport * toTransform)4240 void transform_tohost_VkDescriptorSetVariableDescriptorCountLayoutSupport(
4241     VkDecoderGlobalState* resourceTracker,
4242     VkDescriptorSetVariableDescriptorCountLayoutSupport* toTransform) {
4243     (void)resourceTracker;
4244     (void)toTransform;
4245     if (toTransform->pNext) {
4246         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4247     }
4248 }
4249 
transform_fromhost_VkDescriptorSetVariableDescriptorCountLayoutSupport(VkDecoderGlobalState * resourceTracker,VkDescriptorSetVariableDescriptorCountLayoutSupport * toTransform)4250 void transform_fromhost_VkDescriptorSetVariableDescriptorCountLayoutSupport(
4251     VkDecoderGlobalState* resourceTracker,
4252     VkDescriptorSetVariableDescriptorCountLayoutSupport* toTransform) {
4253     (void)resourceTracker;
4254     (void)toTransform;
4255     if (toTransform->pNext) {
4256         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4257     }
4258 }
4259 
transform_tohost_VkSubpassDescriptionDepthStencilResolve(VkDecoderGlobalState * resourceTracker,VkSubpassDescriptionDepthStencilResolve * toTransform)4260 void transform_tohost_VkSubpassDescriptionDepthStencilResolve(
4261     VkDecoderGlobalState* resourceTracker, VkSubpassDescriptionDepthStencilResolve* toTransform) {
4262     (void)resourceTracker;
4263     (void)toTransform;
4264     if (toTransform->pNext) {
4265         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4266     }
4267     if (toTransform->pDepthStencilResolveAttachment) {
4268         transform_tohost_VkAttachmentReference2(
4269             resourceTracker,
4270             (VkAttachmentReference2*)(toTransform->pDepthStencilResolveAttachment));
4271     }
4272 }
4273 
transform_fromhost_VkSubpassDescriptionDepthStencilResolve(VkDecoderGlobalState * resourceTracker,VkSubpassDescriptionDepthStencilResolve * toTransform)4274 void transform_fromhost_VkSubpassDescriptionDepthStencilResolve(
4275     VkDecoderGlobalState* resourceTracker, VkSubpassDescriptionDepthStencilResolve* toTransform) {
4276     (void)resourceTracker;
4277     (void)toTransform;
4278     if (toTransform->pNext) {
4279         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4280     }
4281     if (toTransform->pDepthStencilResolveAttachment) {
4282         transform_fromhost_VkAttachmentReference2(
4283             resourceTracker,
4284             (VkAttachmentReference2*)(toTransform->pDepthStencilResolveAttachment));
4285     }
4286 }
4287 
transform_tohost_VkPhysicalDeviceDepthStencilResolveProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceDepthStencilResolveProperties * toTransform)4288 void transform_tohost_VkPhysicalDeviceDepthStencilResolveProperties(
4289     VkDecoderGlobalState* resourceTracker,
4290     VkPhysicalDeviceDepthStencilResolveProperties* toTransform) {
4291     (void)resourceTracker;
4292     (void)toTransform;
4293     if (toTransform->pNext) {
4294         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4295     }
4296 }
4297 
transform_fromhost_VkPhysicalDeviceDepthStencilResolveProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceDepthStencilResolveProperties * toTransform)4298 void transform_fromhost_VkPhysicalDeviceDepthStencilResolveProperties(
4299     VkDecoderGlobalState* resourceTracker,
4300     VkPhysicalDeviceDepthStencilResolveProperties* toTransform) {
4301     (void)resourceTracker;
4302     (void)toTransform;
4303     if (toTransform->pNext) {
4304         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4305     }
4306 }
4307 
transform_tohost_VkPhysicalDeviceScalarBlockLayoutFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceScalarBlockLayoutFeatures * toTransform)4308 void transform_tohost_VkPhysicalDeviceScalarBlockLayoutFeatures(
4309     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceScalarBlockLayoutFeatures* toTransform) {
4310     (void)resourceTracker;
4311     (void)toTransform;
4312     if (toTransform->pNext) {
4313         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4314     }
4315 }
4316 
transform_fromhost_VkPhysicalDeviceScalarBlockLayoutFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceScalarBlockLayoutFeatures * toTransform)4317 void transform_fromhost_VkPhysicalDeviceScalarBlockLayoutFeatures(
4318     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceScalarBlockLayoutFeatures* toTransform) {
4319     (void)resourceTracker;
4320     (void)toTransform;
4321     if (toTransform->pNext) {
4322         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4323     }
4324 }
4325 
transform_tohost_VkImageStencilUsageCreateInfo(VkDecoderGlobalState * resourceTracker,VkImageStencilUsageCreateInfo * toTransform)4326 void transform_tohost_VkImageStencilUsageCreateInfo(VkDecoderGlobalState* resourceTracker,
4327                                                     VkImageStencilUsageCreateInfo* toTransform) {
4328     (void)resourceTracker;
4329     (void)toTransform;
4330     if (toTransform->pNext) {
4331         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4332     }
4333 }
4334 
transform_fromhost_VkImageStencilUsageCreateInfo(VkDecoderGlobalState * resourceTracker,VkImageStencilUsageCreateInfo * toTransform)4335 void transform_fromhost_VkImageStencilUsageCreateInfo(VkDecoderGlobalState* resourceTracker,
4336                                                       VkImageStencilUsageCreateInfo* toTransform) {
4337     (void)resourceTracker;
4338     (void)toTransform;
4339     if (toTransform->pNext) {
4340         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4341     }
4342 }
4343 
transform_tohost_VkSamplerReductionModeCreateInfo(VkDecoderGlobalState * resourceTracker,VkSamplerReductionModeCreateInfo * toTransform)4344 void transform_tohost_VkSamplerReductionModeCreateInfo(
4345     VkDecoderGlobalState* resourceTracker, VkSamplerReductionModeCreateInfo* toTransform) {
4346     (void)resourceTracker;
4347     (void)toTransform;
4348     if (toTransform->pNext) {
4349         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4350     }
4351 }
4352 
transform_fromhost_VkSamplerReductionModeCreateInfo(VkDecoderGlobalState * resourceTracker,VkSamplerReductionModeCreateInfo * toTransform)4353 void transform_fromhost_VkSamplerReductionModeCreateInfo(
4354     VkDecoderGlobalState* resourceTracker, VkSamplerReductionModeCreateInfo* toTransform) {
4355     (void)resourceTracker;
4356     (void)toTransform;
4357     if (toTransform->pNext) {
4358         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4359     }
4360 }
4361 
transform_tohost_VkPhysicalDeviceSamplerFilterMinmaxProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceSamplerFilterMinmaxProperties * toTransform)4362 void transform_tohost_VkPhysicalDeviceSamplerFilterMinmaxProperties(
4363     VkDecoderGlobalState* resourceTracker,
4364     VkPhysicalDeviceSamplerFilterMinmaxProperties* toTransform) {
4365     (void)resourceTracker;
4366     (void)toTransform;
4367     if (toTransform->pNext) {
4368         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4369     }
4370 }
4371 
transform_fromhost_VkPhysicalDeviceSamplerFilterMinmaxProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceSamplerFilterMinmaxProperties * toTransform)4372 void transform_fromhost_VkPhysicalDeviceSamplerFilterMinmaxProperties(
4373     VkDecoderGlobalState* resourceTracker,
4374     VkPhysicalDeviceSamplerFilterMinmaxProperties* toTransform) {
4375     (void)resourceTracker;
4376     (void)toTransform;
4377     if (toTransform->pNext) {
4378         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4379     }
4380 }
4381 
transform_tohost_VkPhysicalDeviceVulkanMemoryModelFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceVulkanMemoryModelFeatures * toTransform)4382 void transform_tohost_VkPhysicalDeviceVulkanMemoryModelFeatures(
4383     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceVulkanMemoryModelFeatures* toTransform) {
4384     (void)resourceTracker;
4385     (void)toTransform;
4386     if (toTransform->pNext) {
4387         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4388     }
4389 }
4390 
transform_fromhost_VkPhysicalDeviceVulkanMemoryModelFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceVulkanMemoryModelFeatures * toTransform)4391 void transform_fromhost_VkPhysicalDeviceVulkanMemoryModelFeatures(
4392     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceVulkanMemoryModelFeatures* toTransform) {
4393     (void)resourceTracker;
4394     (void)toTransform;
4395     if (toTransform->pNext) {
4396         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4397     }
4398 }
4399 
transform_tohost_VkPhysicalDeviceImagelessFramebufferFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceImagelessFramebufferFeatures * toTransform)4400 void transform_tohost_VkPhysicalDeviceImagelessFramebufferFeatures(
4401     VkDecoderGlobalState* resourceTracker,
4402     VkPhysicalDeviceImagelessFramebufferFeatures* toTransform) {
4403     (void)resourceTracker;
4404     (void)toTransform;
4405     if (toTransform->pNext) {
4406         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4407     }
4408 }
4409 
transform_fromhost_VkPhysicalDeviceImagelessFramebufferFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceImagelessFramebufferFeatures * toTransform)4410 void transform_fromhost_VkPhysicalDeviceImagelessFramebufferFeatures(
4411     VkDecoderGlobalState* resourceTracker,
4412     VkPhysicalDeviceImagelessFramebufferFeatures* toTransform) {
4413     (void)resourceTracker;
4414     (void)toTransform;
4415     if (toTransform->pNext) {
4416         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4417     }
4418 }
4419 
transform_tohost_VkFramebufferAttachmentImageInfo(VkDecoderGlobalState * resourceTracker,VkFramebufferAttachmentImageInfo * toTransform)4420 void transform_tohost_VkFramebufferAttachmentImageInfo(
4421     VkDecoderGlobalState* resourceTracker, VkFramebufferAttachmentImageInfo* toTransform) {
4422     (void)resourceTracker;
4423     (void)toTransform;
4424     if (toTransform->pNext) {
4425         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4426     }
4427 }
4428 
transform_fromhost_VkFramebufferAttachmentImageInfo(VkDecoderGlobalState * resourceTracker,VkFramebufferAttachmentImageInfo * toTransform)4429 void transform_fromhost_VkFramebufferAttachmentImageInfo(
4430     VkDecoderGlobalState* resourceTracker, VkFramebufferAttachmentImageInfo* toTransform) {
4431     (void)resourceTracker;
4432     (void)toTransform;
4433     if (toTransform->pNext) {
4434         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4435     }
4436 }
4437 
transform_tohost_VkFramebufferAttachmentsCreateInfo(VkDecoderGlobalState * resourceTracker,VkFramebufferAttachmentsCreateInfo * toTransform)4438 void transform_tohost_VkFramebufferAttachmentsCreateInfo(
4439     VkDecoderGlobalState* resourceTracker, VkFramebufferAttachmentsCreateInfo* toTransform) {
4440     (void)resourceTracker;
4441     (void)toTransform;
4442     if (toTransform->pNext) {
4443         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4444     }
4445     if (toTransform) {
4446         if (toTransform->pAttachmentImageInfos) {
4447             for (uint32_t i = 0; i < (uint32_t)toTransform->attachmentImageInfoCount; ++i) {
4448                 transform_tohost_VkFramebufferAttachmentImageInfo(
4449                     resourceTracker,
4450                     (VkFramebufferAttachmentImageInfo*)(toTransform->pAttachmentImageInfos + i));
4451             }
4452         }
4453     }
4454 }
4455 
transform_fromhost_VkFramebufferAttachmentsCreateInfo(VkDecoderGlobalState * resourceTracker,VkFramebufferAttachmentsCreateInfo * toTransform)4456 void transform_fromhost_VkFramebufferAttachmentsCreateInfo(
4457     VkDecoderGlobalState* resourceTracker, VkFramebufferAttachmentsCreateInfo* toTransform) {
4458     (void)resourceTracker;
4459     (void)toTransform;
4460     if (toTransform->pNext) {
4461         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4462     }
4463     if (toTransform) {
4464         if (toTransform->pAttachmentImageInfos) {
4465             for (uint32_t i = 0; i < (uint32_t)toTransform->attachmentImageInfoCount; ++i) {
4466                 transform_fromhost_VkFramebufferAttachmentImageInfo(
4467                     resourceTracker,
4468                     (VkFramebufferAttachmentImageInfo*)(toTransform->pAttachmentImageInfos + i));
4469             }
4470         }
4471     }
4472 }
4473 
transform_tohost_VkRenderPassAttachmentBeginInfo(VkDecoderGlobalState * resourceTracker,VkRenderPassAttachmentBeginInfo * toTransform)4474 void transform_tohost_VkRenderPassAttachmentBeginInfo(
4475     VkDecoderGlobalState* resourceTracker, VkRenderPassAttachmentBeginInfo* toTransform) {
4476     (void)resourceTracker;
4477     (void)toTransform;
4478     if (toTransform->pNext) {
4479         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4480     }
4481 }
4482 
transform_fromhost_VkRenderPassAttachmentBeginInfo(VkDecoderGlobalState * resourceTracker,VkRenderPassAttachmentBeginInfo * toTransform)4483 void transform_fromhost_VkRenderPassAttachmentBeginInfo(
4484     VkDecoderGlobalState* resourceTracker, VkRenderPassAttachmentBeginInfo* toTransform) {
4485     (void)resourceTracker;
4486     (void)toTransform;
4487     if (toTransform->pNext) {
4488         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4489     }
4490 }
4491 
transform_tohost_VkPhysicalDeviceUniformBufferStandardLayoutFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceUniformBufferStandardLayoutFeatures * toTransform)4492 void transform_tohost_VkPhysicalDeviceUniformBufferStandardLayoutFeatures(
4493     VkDecoderGlobalState* resourceTracker,
4494     VkPhysicalDeviceUniformBufferStandardLayoutFeatures* toTransform) {
4495     (void)resourceTracker;
4496     (void)toTransform;
4497     if (toTransform->pNext) {
4498         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4499     }
4500 }
4501 
transform_fromhost_VkPhysicalDeviceUniformBufferStandardLayoutFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceUniformBufferStandardLayoutFeatures * toTransform)4502 void transform_fromhost_VkPhysicalDeviceUniformBufferStandardLayoutFeatures(
4503     VkDecoderGlobalState* resourceTracker,
4504     VkPhysicalDeviceUniformBufferStandardLayoutFeatures* toTransform) {
4505     (void)resourceTracker;
4506     (void)toTransform;
4507     if (toTransform->pNext) {
4508         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4509     }
4510 }
4511 
transform_tohost_VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures * toTransform)4512 void transform_tohost_VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures(
4513     VkDecoderGlobalState* resourceTracker,
4514     VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures* toTransform) {
4515     (void)resourceTracker;
4516     (void)toTransform;
4517     if (toTransform->pNext) {
4518         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4519     }
4520 }
4521 
transform_fromhost_VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures * toTransform)4522 void transform_fromhost_VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures(
4523     VkDecoderGlobalState* resourceTracker,
4524     VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures* toTransform) {
4525     (void)resourceTracker;
4526     (void)toTransform;
4527     if (toTransform->pNext) {
4528         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4529     }
4530 }
4531 
transform_tohost_VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures * toTransform)4532 void transform_tohost_VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures(
4533     VkDecoderGlobalState* resourceTracker,
4534     VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures* toTransform) {
4535     (void)resourceTracker;
4536     (void)toTransform;
4537     if (toTransform->pNext) {
4538         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4539     }
4540 }
4541 
transform_fromhost_VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures * toTransform)4542 void transform_fromhost_VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures(
4543     VkDecoderGlobalState* resourceTracker,
4544     VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures* toTransform) {
4545     (void)resourceTracker;
4546     (void)toTransform;
4547     if (toTransform->pNext) {
4548         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4549     }
4550 }
4551 
transform_tohost_VkAttachmentReferenceStencilLayout(VkDecoderGlobalState * resourceTracker,VkAttachmentReferenceStencilLayout * toTransform)4552 void transform_tohost_VkAttachmentReferenceStencilLayout(
4553     VkDecoderGlobalState* resourceTracker, VkAttachmentReferenceStencilLayout* toTransform) {
4554     (void)resourceTracker;
4555     (void)toTransform;
4556     if (toTransform->pNext) {
4557         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4558     }
4559 }
4560 
transform_fromhost_VkAttachmentReferenceStencilLayout(VkDecoderGlobalState * resourceTracker,VkAttachmentReferenceStencilLayout * toTransform)4561 void transform_fromhost_VkAttachmentReferenceStencilLayout(
4562     VkDecoderGlobalState* resourceTracker, VkAttachmentReferenceStencilLayout* toTransform) {
4563     (void)resourceTracker;
4564     (void)toTransform;
4565     if (toTransform->pNext) {
4566         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4567     }
4568 }
4569 
transform_tohost_VkAttachmentDescriptionStencilLayout(VkDecoderGlobalState * resourceTracker,VkAttachmentDescriptionStencilLayout * toTransform)4570 void transform_tohost_VkAttachmentDescriptionStencilLayout(
4571     VkDecoderGlobalState* resourceTracker, VkAttachmentDescriptionStencilLayout* toTransform) {
4572     (void)resourceTracker;
4573     (void)toTransform;
4574     if (toTransform->pNext) {
4575         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4576     }
4577 }
4578 
transform_fromhost_VkAttachmentDescriptionStencilLayout(VkDecoderGlobalState * resourceTracker,VkAttachmentDescriptionStencilLayout * toTransform)4579 void transform_fromhost_VkAttachmentDescriptionStencilLayout(
4580     VkDecoderGlobalState* resourceTracker, VkAttachmentDescriptionStencilLayout* toTransform) {
4581     (void)resourceTracker;
4582     (void)toTransform;
4583     if (toTransform->pNext) {
4584         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4585     }
4586 }
4587 
transform_tohost_VkPhysicalDeviceHostQueryResetFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceHostQueryResetFeatures * toTransform)4588 void transform_tohost_VkPhysicalDeviceHostQueryResetFeatures(
4589     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceHostQueryResetFeatures* toTransform) {
4590     (void)resourceTracker;
4591     (void)toTransform;
4592     if (toTransform->pNext) {
4593         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4594     }
4595 }
4596 
transform_fromhost_VkPhysicalDeviceHostQueryResetFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceHostQueryResetFeatures * toTransform)4597 void transform_fromhost_VkPhysicalDeviceHostQueryResetFeatures(
4598     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceHostQueryResetFeatures* toTransform) {
4599     (void)resourceTracker;
4600     (void)toTransform;
4601     if (toTransform->pNext) {
4602         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4603     }
4604 }
4605 
transform_tohost_VkPhysicalDeviceTimelineSemaphoreFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceTimelineSemaphoreFeatures * toTransform)4606 void transform_tohost_VkPhysicalDeviceTimelineSemaphoreFeatures(
4607     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceTimelineSemaphoreFeatures* toTransform) {
4608     (void)resourceTracker;
4609     (void)toTransform;
4610     if (toTransform->pNext) {
4611         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4612     }
4613 }
4614 
transform_fromhost_VkPhysicalDeviceTimelineSemaphoreFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceTimelineSemaphoreFeatures * toTransform)4615 void transform_fromhost_VkPhysicalDeviceTimelineSemaphoreFeatures(
4616     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceTimelineSemaphoreFeatures* toTransform) {
4617     (void)resourceTracker;
4618     (void)toTransform;
4619     if (toTransform->pNext) {
4620         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4621     }
4622 }
4623 
transform_tohost_VkPhysicalDeviceTimelineSemaphoreProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceTimelineSemaphoreProperties * toTransform)4624 void transform_tohost_VkPhysicalDeviceTimelineSemaphoreProperties(
4625     VkDecoderGlobalState* resourceTracker,
4626     VkPhysicalDeviceTimelineSemaphoreProperties* toTransform) {
4627     (void)resourceTracker;
4628     (void)toTransform;
4629     if (toTransform->pNext) {
4630         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4631     }
4632 }
4633 
transform_fromhost_VkPhysicalDeviceTimelineSemaphoreProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceTimelineSemaphoreProperties * toTransform)4634 void transform_fromhost_VkPhysicalDeviceTimelineSemaphoreProperties(
4635     VkDecoderGlobalState* resourceTracker,
4636     VkPhysicalDeviceTimelineSemaphoreProperties* toTransform) {
4637     (void)resourceTracker;
4638     (void)toTransform;
4639     if (toTransform->pNext) {
4640         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4641     }
4642 }
4643 
transform_tohost_VkSemaphoreTypeCreateInfo(VkDecoderGlobalState * resourceTracker,VkSemaphoreTypeCreateInfo * toTransform)4644 void transform_tohost_VkSemaphoreTypeCreateInfo(VkDecoderGlobalState* resourceTracker,
4645                                                 VkSemaphoreTypeCreateInfo* toTransform) {
4646     (void)resourceTracker;
4647     (void)toTransform;
4648     if (toTransform->pNext) {
4649         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4650     }
4651 }
4652 
transform_fromhost_VkSemaphoreTypeCreateInfo(VkDecoderGlobalState * resourceTracker,VkSemaphoreTypeCreateInfo * toTransform)4653 void transform_fromhost_VkSemaphoreTypeCreateInfo(VkDecoderGlobalState* resourceTracker,
4654                                                   VkSemaphoreTypeCreateInfo* toTransform) {
4655     (void)resourceTracker;
4656     (void)toTransform;
4657     if (toTransform->pNext) {
4658         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4659     }
4660 }
4661 
transform_tohost_VkTimelineSemaphoreSubmitInfo(VkDecoderGlobalState * resourceTracker,VkTimelineSemaphoreSubmitInfo * toTransform)4662 void transform_tohost_VkTimelineSemaphoreSubmitInfo(VkDecoderGlobalState* resourceTracker,
4663                                                     VkTimelineSemaphoreSubmitInfo* toTransform) {
4664     (void)resourceTracker;
4665     (void)toTransform;
4666     if (toTransform->pNext) {
4667         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4668     }
4669 }
4670 
transform_fromhost_VkTimelineSemaphoreSubmitInfo(VkDecoderGlobalState * resourceTracker,VkTimelineSemaphoreSubmitInfo * toTransform)4671 void transform_fromhost_VkTimelineSemaphoreSubmitInfo(VkDecoderGlobalState* resourceTracker,
4672                                                       VkTimelineSemaphoreSubmitInfo* toTransform) {
4673     (void)resourceTracker;
4674     (void)toTransform;
4675     if (toTransform->pNext) {
4676         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4677     }
4678 }
4679 
transform_tohost_VkSemaphoreWaitInfo(VkDecoderGlobalState * resourceTracker,VkSemaphoreWaitInfo * toTransform)4680 void transform_tohost_VkSemaphoreWaitInfo(VkDecoderGlobalState* resourceTracker,
4681                                           VkSemaphoreWaitInfo* toTransform) {
4682     (void)resourceTracker;
4683     (void)toTransform;
4684     if (toTransform->pNext) {
4685         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4686     }
4687 }
4688 
transform_fromhost_VkSemaphoreWaitInfo(VkDecoderGlobalState * resourceTracker,VkSemaphoreWaitInfo * toTransform)4689 void transform_fromhost_VkSemaphoreWaitInfo(VkDecoderGlobalState* resourceTracker,
4690                                             VkSemaphoreWaitInfo* toTransform) {
4691     (void)resourceTracker;
4692     (void)toTransform;
4693     if (toTransform->pNext) {
4694         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4695     }
4696 }
4697 
transform_tohost_VkSemaphoreSignalInfo(VkDecoderGlobalState * resourceTracker,VkSemaphoreSignalInfo * toTransform)4698 void transform_tohost_VkSemaphoreSignalInfo(VkDecoderGlobalState* resourceTracker,
4699                                             VkSemaphoreSignalInfo* toTransform) {
4700     (void)resourceTracker;
4701     (void)toTransform;
4702     if (toTransform->pNext) {
4703         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4704     }
4705 }
4706 
transform_fromhost_VkSemaphoreSignalInfo(VkDecoderGlobalState * resourceTracker,VkSemaphoreSignalInfo * toTransform)4707 void transform_fromhost_VkSemaphoreSignalInfo(VkDecoderGlobalState* resourceTracker,
4708                                               VkSemaphoreSignalInfo* toTransform) {
4709     (void)resourceTracker;
4710     (void)toTransform;
4711     if (toTransform->pNext) {
4712         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4713     }
4714 }
4715 
transform_tohost_VkPhysicalDeviceBufferDeviceAddressFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceBufferDeviceAddressFeatures * toTransform)4716 void transform_tohost_VkPhysicalDeviceBufferDeviceAddressFeatures(
4717     VkDecoderGlobalState* resourceTracker,
4718     VkPhysicalDeviceBufferDeviceAddressFeatures* toTransform) {
4719     (void)resourceTracker;
4720     (void)toTransform;
4721     if (toTransform->pNext) {
4722         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4723     }
4724 }
4725 
transform_fromhost_VkPhysicalDeviceBufferDeviceAddressFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceBufferDeviceAddressFeatures * toTransform)4726 void transform_fromhost_VkPhysicalDeviceBufferDeviceAddressFeatures(
4727     VkDecoderGlobalState* resourceTracker,
4728     VkPhysicalDeviceBufferDeviceAddressFeatures* toTransform) {
4729     (void)resourceTracker;
4730     (void)toTransform;
4731     if (toTransform->pNext) {
4732         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4733     }
4734 }
4735 
transform_tohost_VkBufferDeviceAddressInfo(VkDecoderGlobalState * resourceTracker,VkBufferDeviceAddressInfo * toTransform)4736 void transform_tohost_VkBufferDeviceAddressInfo(VkDecoderGlobalState* resourceTracker,
4737                                                 VkBufferDeviceAddressInfo* toTransform) {
4738     (void)resourceTracker;
4739     (void)toTransform;
4740     if (toTransform->pNext) {
4741         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4742     }
4743 }
4744 
transform_fromhost_VkBufferDeviceAddressInfo(VkDecoderGlobalState * resourceTracker,VkBufferDeviceAddressInfo * toTransform)4745 void transform_fromhost_VkBufferDeviceAddressInfo(VkDecoderGlobalState* resourceTracker,
4746                                                   VkBufferDeviceAddressInfo* toTransform) {
4747     (void)resourceTracker;
4748     (void)toTransform;
4749     if (toTransform->pNext) {
4750         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4751     }
4752 }
4753 
transform_tohost_VkBufferOpaqueCaptureAddressCreateInfo(VkDecoderGlobalState * resourceTracker,VkBufferOpaqueCaptureAddressCreateInfo * toTransform)4754 void transform_tohost_VkBufferOpaqueCaptureAddressCreateInfo(
4755     VkDecoderGlobalState* resourceTracker, VkBufferOpaqueCaptureAddressCreateInfo* toTransform) {
4756     (void)resourceTracker;
4757     (void)toTransform;
4758     if (toTransform->pNext) {
4759         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4760     }
4761 }
4762 
transform_fromhost_VkBufferOpaqueCaptureAddressCreateInfo(VkDecoderGlobalState * resourceTracker,VkBufferOpaqueCaptureAddressCreateInfo * toTransform)4763 void transform_fromhost_VkBufferOpaqueCaptureAddressCreateInfo(
4764     VkDecoderGlobalState* resourceTracker, VkBufferOpaqueCaptureAddressCreateInfo* toTransform) {
4765     (void)resourceTracker;
4766     (void)toTransform;
4767     if (toTransform->pNext) {
4768         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4769     }
4770 }
4771 
transform_tohost_VkMemoryOpaqueCaptureAddressAllocateInfo(VkDecoderGlobalState * resourceTracker,VkMemoryOpaqueCaptureAddressAllocateInfo * toTransform)4772 void transform_tohost_VkMemoryOpaqueCaptureAddressAllocateInfo(
4773     VkDecoderGlobalState* resourceTracker, VkMemoryOpaqueCaptureAddressAllocateInfo* toTransform) {
4774     (void)resourceTracker;
4775     (void)toTransform;
4776     if (toTransform->pNext) {
4777         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4778     }
4779 }
4780 
transform_fromhost_VkMemoryOpaqueCaptureAddressAllocateInfo(VkDecoderGlobalState * resourceTracker,VkMemoryOpaqueCaptureAddressAllocateInfo * toTransform)4781 void transform_fromhost_VkMemoryOpaqueCaptureAddressAllocateInfo(
4782     VkDecoderGlobalState* resourceTracker, VkMemoryOpaqueCaptureAddressAllocateInfo* toTransform) {
4783     (void)resourceTracker;
4784     (void)toTransform;
4785     if (toTransform->pNext) {
4786         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4787     }
4788 }
4789 
transform_tohost_VkDeviceMemoryOpaqueCaptureAddressInfo(VkDecoderGlobalState * resourceTracker,VkDeviceMemoryOpaqueCaptureAddressInfo * toTransform)4790 void transform_tohost_VkDeviceMemoryOpaqueCaptureAddressInfo(
4791     VkDecoderGlobalState* resourceTracker, VkDeviceMemoryOpaqueCaptureAddressInfo* toTransform) {
4792     (void)resourceTracker;
4793     (void)toTransform;
4794     resourceTracker->deviceMemoryTransform_tohost((VkDeviceMemory*)&toTransform->memory, 1,
4795                                                   (VkDeviceSize*)nullptr, 0, (VkDeviceSize*)nullptr,
4796                                                   0, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
4797     if (toTransform->pNext) {
4798         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4799     }
4800 }
4801 
transform_fromhost_VkDeviceMemoryOpaqueCaptureAddressInfo(VkDecoderGlobalState * resourceTracker,VkDeviceMemoryOpaqueCaptureAddressInfo * toTransform)4802 void transform_fromhost_VkDeviceMemoryOpaqueCaptureAddressInfo(
4803     VkDecoderGlobalState* resourceTracker, VkDeviceMemoryOpaqueCaptureAddressInfo* toTransform) {
4804     (void)resourceTracker;
4805     (void)toTransform;
4806     resourceTracker->deviceMemoryTransform_fromhost(
4807         (VkDeviceMemory*)&toTransform->memory, 1, (VkDeviceSize*)nullptr, 0, (VkDeviceSize*)nullptr,
4808         0, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
4809     if (toTransform->pNext) {
4810         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4811     }
4812 }
4813 
4814 #endif
4815 #ifdef VK_VERSION_1_3
transform_tohost_VkPhysicalDeviceVulkan13Features(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceVulkan13Features * toTransform)4816 void transform_tohost_VkPhysicalDeviceVulkan13Features(
4817     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceVulkan13Features* toTransform) {
4818     (void)resourceTracker;
4819     (void)toTransform;
4820     if (toTransform->pNext) {
4821         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4822     }
4823 }
4824 
transform_fromhost_VkPhysicalDeviceVulkan13Features(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceVulkan13Features * toTransform)4825 void transform_fromhost_VkPhysicalDeviceVulkan13Features(
4826     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceVulkan13Features* toTransform) {
4827     (void)resourceTracker;
4828     (void)toTransform;
4829     if (toTransform->pNext) {
4830         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4831     }
4832 }
4833 
transform_tohost_VkPhysicalDeviceVulkan13Properties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceVulkan13Properties * toTransform)4834 void transform_tohost_VkPhysicalDeviceVulkan13Properties(
4835     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceVulkan13Properties* toTransform) {
4836     (void)resourceTracker;
4837     (void)toTransform;
4838     if (toTransform->pNext) {
4839         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4840     }
4841 }
4842 
transform_fromhost_VkPhysicalDeviceVulkan13Properties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceVulkan13Properties * toTransform)4843 void transform_fromhost_VkPhysicalDeviceVulkan13Properties(
4844     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceVulkan13Properties* toTransform) {
4845     (void)resourceTracker;
4846     (void)toTransform;
4847     if (toTransform->pNext) {
4848         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4849     }
4850 }
4851 
transform_tohost_VkPipelineCreationFeedback(VkDecoderGlobalState * resourceTracker,VkPipelineCreationFeedback * toTransform)4852 void transform_tohost_VkPipelineCreationFeedback(VkDecoderGlobalState* resourceTracker,
4853                                                  VkPipelineCreationFeedback* toTransform) {
4854     (void)resourceTracker;
4855     (void)toTransform;
4856 }
4857 
transform_fromhost_VkPipelineCreationFeedback(VkDecoderGlobalState * resourceTracker,VkPipelineCreationFeedback * toTransform)4858 void transform_fromhost_VkPipelineCreationFeedback(VkDecoderGlobalState* resourceTracker,
4859                                                    VkPipelineCreationFeedback* toTransform) {
4860     (void)resourceTracker;
4861     (void)toTransform;
4862 }
4863 
transform_tohost_VkPipelineCreationFeedbackCreateInfo(VkDecoderGlobalState * resourceTracker,VkPipelineCreationFeedbackCreateInfo * toTransform)4864 void transform_tohost_VkPipelineCreationFeedbackCreateInfo(
4865     VkDecoderGlobalState* resourceTracker, VkPipelineCreationFeedbackCreateInfo* toTransform) {
4866     (void)resourceTracker;
4867     (void)toTransform;
4868     if (toTransform->pNext) {
4869         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4870     }
4871     if (toTransform->pPipelineCreationFeedback) {
4872         transform_tohost_VkPipelineCreationFeedback(
4873             resourceTracker, (VkPipelineCreationFeedback*)(toTransform->pPipelineCreationFeedback));
4874     }
4875     if (toTransform) {
4876         if (toTransform->pPipelineStageCreationFeedbacks) {
4877             for (uint32_t i = 0; i < (uint32_t)toTransform->pipelineStageCreationFeedbackCount;
4878                  ++i) {
4879                 transform_tohost_VkPipelineCreationFeedback(
4880                     resourceTracker,
4881                     (VkPipelineCreationFeedback*)(toTransform->pPipelineStageCreationFeedbacks +
4882                                                   i));
4883             }
4884         }
4885     }
4886 }
4887 
transform_fromhost_VkPipelineCreationFeedbackCreateInfo(VkDecoderGlobalState * resourceTracker,VkPipelineCreationFeedbackCreateInfo * toTransform)4888 void transform_fromhost_VkPipelineCreationFeedbackCreateInfo(
4889     VkDecoderGlobalState* resourceTracker, VkPipelineCreationFeedbackCreateInfo* toTransform) {
4890     (void)resourceTracker;
4891     (void)toTransform;
4892     if (toTransform->pNext) {
4893         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4894     }
4895     if (toTransform->pPipelineCreationFeedback) {
4896         transform_fromhost_VkPipelineCreationFeedback(
4897             resourceTracker, (VkPipelineCreationFeedback*)(toTransform->pPipelineCreationFeedback));
4898     }
4899     if (toTransform) {
4900         if (toTransform->pPipelineStageCreationFeedbacks) {
4901             for (uint32_t i = 0; i < (uint32_t)toTransform->pipelineStageCreationFeedbackCount;
4902                  ++i) {
4903                 transform_fromhost_VkPipelineCreationFeedback(
4904                     resourceTracker,
4905                     (VkPipelineCreationFeedback*)(toTransform->pPipelineStageCreationFeedbacks +
4906                                                   i));
4907             }
4908         }
4909     }
4910 }
4911 
transform_tohost_VkPhysicalDeviceShaderTerminateInvocationFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceShaderTerminateInvocationFeatures * toTransform)4912 void transform_tohost_VkPhysicalDeviceShaderTerminateInvocationFeatures(
4913     VkDecoderGlobalState* resourceTracker,
4914     VkPhysicalDeviceShaderTerminateInvocationFeatures* toTransform) {
4915     (void)resourceTracker;
4916     (void)toTransform;
4917     if (toTransform->pNext) {
4918         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4919     }
4920 }
4921 
transform_fromhost_VkPhysicalDeviceShaderTerminateInvocationFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceShaderTerminateInvocationFeatures * toTransform)4922 void transform_fromhost_VkPhysicalDeviceShaderTerminateInvocationFeatures(
4923     VkDecoderGlobalState* resourceTracker,
4924     VkPhysicalDeviceShaderTerminateInvocationFeatures* toTransform) {
4925     (void)resourceTracker;
4926     (void)toTransform;
4927     if (toTransform->pNext) {
4928         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4929     }
4930 }
4931 
transform_tohost_VkPhysicalDeviceToolProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceToolProperties * toTransform)4932 void transform_tohost_VkPhysicalDeviceToolProperties(VkDecoderGlobalState* resourceTracker,
4933                                                      VkPhysicalDeviceToolProperties* toTransform) {
4934     (void)resourceTracker;
4935     (void)toTransform;
4936     if (toTransform->pNext) {
4937         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4938     }
4939 }
4940 
transform_fromhost_VkPhysicalDeviceToolProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceToolProperties * toTransform)4941 void transform_fromhost_VkPhysicalDeviceToolProperties(
4942     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceToolProperties* toTransform) {
4943     (void)resourceTracker;
4944     (void)toTransform;
4945     if (toTransform->pNext) {
4946         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4947     }
4948 }
4949 
transform_tohost_VkPhysicalDeviceShaderDemoteToHelperInvocationFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceShaderDemoteToHelperInvocationFeatures * toTransform)4950 void transform_tohost_VkPhysicalDeviceShaderDemoteToHelperInvocationFeatures(
4951     VkDecoderGlobalState* resourceTracker,
4952     VkPhysicalDeviceShaderDemoteToHelperInvocationFeatures* toTransform) {
4953     (void)resourceTracker;
4954     (void)toTransform;
4955     if (toTransform->pNext) {
4956         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4957     }
4958 }
4959 
transform_fromhost_VkPhysicalDeviceShaderDemoteToHelperInvocationFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceShaderDemoteToHelperInvocationFeatures * toTransform)4960 void transform_fromhost_VkPhysicalDeviceShaderDemoteToHelperInvocationFeatures(
4961     VkDecoderGlobalState* resourceTracker,
4962     VkPhysicalDeviceShaderDemoteToHelperInvocationFeatures* toTransform) {
4963     (void)resourceTracker;
4964     (void)toTransform;
4965     if (toTransform->pNext) {
4966         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4967     }
4968 }
4969 
transform_tohost_VkPhysicalDevicePrivateDataFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDevicePrivateDataFeatures * toTransform)4970 void transform_tohost_VkPhysicalDevicePrivateDataFeatures(
4971     VkDecoderGlobalState* resourceTracker, VkPhysicalDevicePrivateDataFeatures* toTransform) {
4972     (void)resourceTracker;
4973     (void)toTransform;
4974     if (toTransform->pNext) {
4975         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4976     }
4977 }
4978 
transform_fromhost_VkPhysicalDevicePrivateDataFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDevicePrivateDataFeatures * toTransform)4979 void transform_fromhost_VkPhysicalDevicePrivateDataFeatures(
4980     VkDecoderGlobalState* resourceTracker, VkPhysicalDevicePrivateDataFeatures* toTransform) {
4981     (void)resourceTracker;
4982     (void)toTransform;
4983     if (toTransform->pNext) {
4984         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4985     }
4986 }
4987 
transform_tohost_VkDevicePrivateDataCreateInfo(VkDecoderGlobalState * resourceTracker,VkDevicePrivateDataCreateInfo * toTransform)4988 void transform_tohost_VkDevicePrivateDataCreateInfo(VkDecoderGlobalState* resourceTracker,
4989                                                     VkDevicePrivateDataCreateInfo* toTransform) {
4990     (void)resourceTracker;
4991     (void)toTransform;
4992     if (toTransform->pNext) {
4993         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
4994     }
4995 }
4996 
transform_fromhost_VkDevicePrivateDataCreateInfo(VkDecoderGlobalState * resourceTracker,VkDevicePrivateDataCreateInfo * toTransform)4997 void transform_fromhost_VkDevicePrivateDataCreateInfo(VkDecoderGlobalState* resourceTracker,
4998                                                       VkDevicePrivateDataCreateInfo* toTransform) {
4999     (void)resourceTracker;
5000     (void)toTransform;
5001     if (toTransform->pNext) {
5002         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5003     }
5004 }
5005 
transform_tohost_VkPrivateDataSlotCreateInfo(VkDecoderGlobalState * resourceTracker,VkPrivateDataSlotCreateInfo * toTransform)5006 void transform_tohost_VkPrivateDataSlotCreateInfo(VkDecoderGlobalState* resourceTracker,
5007                                                   VkPrivateDataSlotCreateInfo* toTransform) {
5008     (void)resourceTracker;
5009     (void)toTransform;
5010     if (toTransform->pNext) {
5011         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5012     }
5013 }
5014 
transform_fromhost_VkPrivateDataSlotCreateInfo(VkDecoderGlobalState * resourceTracker,VkPrivateDataSlotCreateInfo * toTransform)5015 void transform_fromhost_VkPrivateDataSlotCreateInfo(VkDecoderGlobalState* resourceTracker,
5016                                                     VkPrivateDataSlotCreateInfo* toTransform) {
5017     (void)resourceTracker;
5018     (void)toTransform;
5019     if (toTransform->pNext) {
5020         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5021     }
5022 }
5023 
transform_tohost_VkPhysicalDevicePipelineCreationCacheControlFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDevicePipelineCreationCacheControlFeatures * toTransform)5024 void transform_tohost_VkPhysicalDevicePipelineCreationCacheControlFeatures(
5025     VkDecoderGlobalState* resourceTracker,
5026     VkPhysicalDevicePipelineCreationCacheControlFeatures* toTransform) {
5027     (void)resourceTracker;
5028     (void)toTransform;
5029     if (toTransform->pNext) {
5030         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5031     }
5032 }
5033 
transform_fromhost_VkPhysicalDevicePipelineCreationCacheControlFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDevicePipelineCreationCacheControlFeatures * toTransform)5034 void transform_fromhost_VkPhysicalDevicePipelineCreationCacheControlFeatures(
5035     VkDecoderGlobalState* resourceTracker,
5036     VkPhysicalDevicePipelineCreationCacheControlFeatures* toTransform) {
5037     (void)resourceTracker;
5038     (void)toTransform;
5039     if (toTransform->pNext) {
5040         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5041     }
5042 }
5043 
transform_tohost_VkMemoryBarrier2(VkDecoderGlobalState * resourceTracker,VkMemoryBarrier2 * toTransform)5044 void transform_tohost_VkMemoryBarrier2(VkDecoderGlobalState* resourceTracker,
5045                                        VkMemoryBarrier2* toTransform) {
5046     (void)resourceTracker;
5047     (void)toTransform;
5048     if (toTransform->pNext) {
5049         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5050     }
5051 }
5052 
transform_fromhost_VkMemoryBarrier2(VkDecoderGlobalState * resourceTracker,VkMemoryBarrier2 * toTransform)5053 void transform_fromhost_VkMemoryBarrier2(VkDecoderGlobalState* resourceTracker,
5054                                          VkMemoryBarrier2* toTransform) {
5055     (void)resourceTracker;
5056     (void)toTransform;
5057     if (toTransform->pNext) {
5058         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5059     }
5060 }
5061 
transform_tohost_VkBufferMemoryBarrier2(VkDecoderGlobalState * resourceTracker,VkBufferMemoryBarrier2 * toTransform)5062 void transform_tohost_VkBufferMemoryBarrier2(VkDecoderGlobalState* resourceTracker,
5063                                              VkBufferMemoryBarrier2* toTransform) {
5064     (void)resourceTracker;
5065     (void)toTransform;
5066     if (toTransform->pNext) {
5067         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5068     }
5069 }
5070 
transform_fromhost_VkBufferMemoryBarrier2(VkDecoderGlobalState * resourceTracker,VkBufferMemoryBarrier2 * toTransform)5071 void transform_fromhost_VkBufferMemoryBarrier2(VkDecoderGlobalState* resourceTracker,
5072                                                VkBufferMemoryBarrier2* toTransform) {
5073     (void)resourceTracker;
5074     (void)toTransform;
5075     if (toTransform->pNext) {
5076         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5077     }
5078 }
5079 
transform_tohost_VkImageMemoryBarrier2(VkDecoderGlobalState * resourceTracker,VkImageMemoryBarrier2 * toTransform)5080 void transform_tohost_VkImageMemoryBarrier2(VkDecoderGlobalState* resourceTracker,
5081                                             VkImageMemoryBarrier2* toTransform) {
5082     (void)resourceTracker;
5083     (void)toTransform;
5084     if (toTransform->pNext) {
5085         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5086     }
5087     transform_tohost_VkImageSubresourceRange(
5088         resourceTracker, (VkImageSubresourceRange*)(&toTransform->subresourceRange));
5089 }
5090 
transform_fromhost_VkImageMemoryBarrier2(VkDecoderGlobalState * resourceTracker,VkImageMemoryBarrier2 * toTransform)5091 void transform_fromhost_VkImageMemoryBarrier2(VkDecoderGlobalState* resourceTracker,
5092                                               VkImageMemoryBarrier2* toTransform) {
5093     (void)resourceTracker;
5094     (void)toTransform;
5095     if (toTransform->pNext) {
5096         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5097     }
5098     transform_fromhost_VkImageSubresourceRange(
5099         resourceTracker, (VkImageSubresourceRange*)(&toTransform->subresourceRange));
5100 }
5101 
transform_tohost_VkDependencyInfo(VkDecoderGlobalState * resourceTracker,VkDependencyInfo * toTransform)5102 void transform_tohost_VkDependencyInfo(VkDecoderGlobalState* resourceTracker,
5103                                        VkDependencyInfo* toTransform) {
5104     (void)resourceTracker;
5105     (void)toTransform;
5106     if (toTransform->pNext) {
5107         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5108     }
5109     if (toTransform) {
5110         if (toTransform->pMemoryBarriers) {
5111             for (uint32_t i = 0; i < (uint32_t)toTransform->memoryBarrierCount; ++i) {
5112                 transform_tohost_VkMemoryBarrier2(
5113                     resourceTracker, (VkMemoryBarrier2*)(toTransform->pMemoryBarriers + i));
5114             }
5115         }
5116     }
5117     if (toTransform) {
5118         if (toTransform->pBufferMemoryBarriers) {
5119             for (uint32_t i = 0; i < (uint32_t)toTransform->bufferMemoryBarrierCount; ++i) {
5120                 transform_tohost_VkBufferMemoryBarrier2(
5121                     resourceTracker,
5122                     (VkBufferMemoryBarrier2*)(toTransform->pBufferMemoryBarriers + i));
5123             }
5124         }
5125     }
5126     if (toTransform) {
5127         if (toTransform->pImageMemoryBarriers) {
5128             for (uint32_t i = 0; i < (uint32_t)toTransform->imageMemoryBarrierCount; ++i) {
5129                 transform_tohost_VkImageMemoryBarrier2(
5130                     resourceTracker,
5131                     (VkImageMemoryBarrier2*)(toTransform->pImageMemoryBarriers + i));
5132             }
5133         }
5134     }
5135 }
5136 
transform_fromhost_VkDependencyInfo(VkDecoderGlobalState * resourceTracker,VkDependencyInfo * toTransform)5137 void transform_fromhost_VkDependencyInfo(VkDecoderGlobalState* resourceTracker,
5138                                          VkDependencyInfo* toTransform) {
5139     (void)resourceTracker;
5140     (void)toTransform;
5141     if (toTransform->pNext) {
5142         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5143     }
5144     if (toTransform) {
5145         if (toTransform->pMemoryBarriers) {
5146             for (uint32_t i = 0; i < (uint32_t)toTransform->memoryBarrierCount; ++i) {
5147                 transform_fromhost_VkMemoryBarrier2(
5148                     resourceTracker, (VkMemoryBarrier2*)(toTransform->pMemoryBarriers + i));
5149             }
5150         }
5151     }
5152     if (toTransform) {
5153         if (toTransform->pBufferMemoryBarriers) {
5154             for (uint32_t i = 0; i < (uint32_t)toTransform->bufferMemoryBarrierCount; ++i) {
5155                 transform_fromhost_VkBufferMemoryBarrier2(
5156                     resourceTracker,
5157                     (VkBufferMemoryBarrier2*)(toTransform->pBufferMemoryBarriers + i));
5158             }
5159         }
5160     }
5161     if (toTransform) {
5162         if (toTransform->pImageMemoryBarriers) {
5163             for (uint32_t i = 0; i < (uint32_t)toTransform->imageMemoryBarrierCount; ++i) {
5164                 transform_fromhost_VkImageMemoryBarrier2(
5165                     resourceTracker,
5166                     (VkImageMemoryBarrier2*)(toTransform->pImageMemoryBarriers + i));
5167             }
5168         }
5169     }
5170 }
5171 
transform_tohost_VkSemaphoreSubmitInfo(VkDecoderGlobalState * resourceTracker,VkSemaphoreSubmitInfo * toTransform)5172 void transform_tohost_VkSemaphoreSubmitInfo(VkDecoderGlobalState* resourceTracker,
5173                                             VkSemaphoreSubmitInfo* toTransform) {
5174     (void)resourceTracker;
5175     (void)toTransform;
5176     if (toTransform->pNext) {
5177         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5178     }
5179 }
5180 
transform_fromhost_VkSemaphoreSubmitInfo(VkDecoderGlobalState * resourceTracker,VkSemaphoreSubmitInfo * toTransform)5181 void transform_fromhost_VkSemaphoreSubmitInfo(VkDecoderGlobalState* resourceTracker,
5182                                               VkSemaphoreSubmitInfo* toTransform) {
5183     (void)resourceTracker;
5184     (void)toTransform;
5185     if (toTransform->pNext) {
5186         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5187     }
5188 }
5189 
transform_tohost_VkCommandBufferSubmitInfo(VkDecoderGlobalState * resourceTracker,VkCommandBufferSubmitInfo * toTransform)5190 void transform_tohost_VkCommandBufferSubmitInfo(VkDecoderGlobalState* resourceTracker,
5191                                                 VkCommandBufferSubmitInfo* toTransform) {
5192     (void)resourceTracker;
5193     (void)toTransform;
5194     if (toTransform->pNext) {
5195         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5196     }
5197 }
5198 
transform_fromhost_VkCommandBufferSubmitInfo(VkDecoderGlobalState * resourceTracker,VkCommandBufferSubmitInfo * toTransform)5199 void transform_fromhost_VkCommandBufferSubmitInfo(VkDecoderGlobalState* resourceTracker,
5200                                                   VkCommandBufferSubmitInfo* toTransform) {
5201     (void)resourceTracker;
5202     (void)toTransform;
5203     if (toTransform->pNext) {
5204         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5205     }
5206 }
5207 
transform_tohost_VkSubmitInfo2(VkDecoderGlobalState * resourceTracker,VkSubmitInfo2 * toTransform)5208 void transform_tohost_VkSubmitInfo2(VkDecoderGlobalState* resourceTracker,
5209                                     VkSubmitInfo2* toTransform) {
5210     (void)resourceTracker;
5211     (void)toTransform;
5212     if (toTransform->pNext) {
5213         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5214     }
5215     if (toTransform) {
5216         if (toTransform->pWaitSemaphoreInfos) {
5217             for (uint32_t i = 0; i < (uint32_t)toTransform->waitSemaphoreInfoCount; ++i) {
5218                 transform_tohost_VkSemaphoreSubmitInfo(
5219                     resourceTracker,
5220                     (VkSemaphoreSubmitInfo*)(toTransform->pWaitSemaphoreInfos + i));
5221             }
5222         }
5223     }
5224     if (toTransform) {
5225         if (toTransform->pCommandBufferInfos) {
5226             for (uint32_t i = 0; i < (uint32_t)toTransform->commandBufferInfoCount; ++i) {
5227                 transform_tohost_VkCommandBufferSubmitInfo(
5228                     resourceTracker,
5229                     (VkCommandBufferSubmitInfo*)(toTransform->pCommandBufferInfos + i));
5230             }
5231         }
5232     }
5233     if (toTransform) {
5234         if (toTransform->pSignalSemaphoreInfos) {
5235             for (uint32_t i = 0; i < (uint32_t)toTransform->signalSemaphoreInfoCount; ++i) {
5236                 transform_tohost_VkSemaphoreSubmitInfo(
5237                     resourceTracker,
5238                     (VkSemaphoreSubmitInfo*)(toTransform->pSignalSemaphoreInfos + i));
5239             }
5240         }
5241     }
5242 }
5243 
transform_fromhost_VkSubmitInfo2(VkDecoderGlobalState * resourceTracker,VkSubmitInfo2 * toTransform)5244 void transform_fromhost_VkSubmitInfo2(VkDecoderGlobalState* resourceTracker,
5245                                       VkSubmitInfo2* toTransform) {
5246     (void)resourceTracker;
5247     (void)toTransform;
5248     if (toTransform->pNext) {
5249         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5250     }
5251     if (toTransform) {
5252         if (toTransform->pWaitSemaphoreInfos) {
5253             for (uint32_t i = 0; i < (uint32_t)toTransform->waitSemaphoreInfoCount; ++i) {
5254                 transform_fromhost_VkSemaphoreSubmitInfo(
5255                     resourceTracker,
5256                     (VkSemaphoreSubmitInfo*)(toTransform->pWaitSemaphoreInfos + i));
5257             }
5258         }
5259     }
5260     if (toTransform) {
5261         if (toTransform->pCommandBufferInfos) {
5262             for (uint32_t i = 0; i < (uint32_t)toTransform->commandBufferInfoCount; ++i) {
5263                 transform_fromhost_VkCommandBufferSubmitInfo(
5264                     resourceTracker,
5265                     (VkCommandBufferSubmitInfo*)(toTransform->pCommandBufferInfos + i));
5266             }
5267         }
5268     }
5269     if (toTransform) {
5270         if (toTransform->pSignalSemaphoreInfos) {
5271             for (uint32_t i = 0; i < (uint32_t)toTransform->signalSemaphoreInfoCount; ++i) {
5272                 transform_fromhost_VkSemaphoreSubmitInfo(
5273                     resourceTracker,
5274                     (VkSemaphoreSubmitInfo*)(toTransform->pSignalSemaphoreInfos + i));
5275             }
5276         }
5277     }
5278 }
5279 
transform_tohost_VkPhysicalDeviceSynchronization2Features(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceSynchronization2Features * toTransform)5280 void transform_tohost_VkPhysicalDeviceSynchronization2Features(
5281     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceSynchronization2Features* toTransform) {
5282     (void)resourceTracker;
5283     (void)toTransform;
5284     if (toTransform->pNext) {
5285         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5286     }
5287 }
5288 
transform_fromhost_VkPhysicalDeviceSynchronization2Features(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceSynchronization2Features * toTransform)5289 void transform_fromhost_VkPhysicalDeviceSynchronization2Features(
5290     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceSynchronization2Features* toTransform) {
5291     (void)resourceTracker;
5292     (void)toTransform;
5293     if (toTransform->pNext) {
5294         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5295     }
5296 }
5297 
transform_tohost_VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures * toTransform)5298 void transform_tohost_VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures(
5299     VkDecoderGlobalState* resourceTracker,
5300     VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures* toTransform) {
5301     (void)resourceTracker;
5302     (void)toTransform;
5303     if (toTransform->pNext) {
5304         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5305     }
5306 }
5307 
transform_fromhost_VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures * toTransform)5308 void transform_fromhost_VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures(
5309     VkDecoderGlobalState* resourceTracker,
5310     VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures* toTransform) {
5311     (void)resourceTracker;
5312     (void)toTransform;
5313     if (toTransform->pNext) {
5314         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5315     }
5316 }
5317 
transform_tohost_VkPhysicalDeviceImageRobustnessFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceImageRobustnessFeatures * toTransform)5318 void transform_tohost_VkPhysicalDeviceImageRobustnessFeatures(
5319     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceImageRobustnessFeatures* toTransform) {
5320     (void)resourceTracker;
5321     (void)toTransform;
5322     if (toTransform->pNext) {
5323         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5324     }
5325 }
5326 
transform_fromhost_VkPhysicalDeviceImageRobustnessFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceImageRobustnessFeatures * toTransform)5327 void transform_fromhost_VkPhysicalDeviceImageRobustnessFeatures(
5328     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceImageRobustnessFeatures* toTransform) {
5329     (void)resourceTracker;
5330     (void)toTransform;
5331     if (toTransform->pNext) {
5332         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5333     }
5334 }
5335 
transform_tohost_VkBufferCopy2(VkDecoderGlobalState * resourceTracker,VkBufferCopy2 * toTransform)5336 void transform_tohost_VkBufferCopy2(VkDecoderGlobalState* resourceTracker,
5337                                     VkBufferCopy2* toTransform) {
5338     (void)resourceTracker;
5339     (void)toTransform;
5340     if (toTransform->pNext) {
5341         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5342     }
5343 }
5344 
transform_fromhost_VkBufferCopy2(VkDecoderGlobalState * resourceTracker,VkBufferCopy2 * toTransform)5345 void transform_fromhost_VkBufferCopy2(VkDecoderGlobalState* resourceTracker,
5346                                       VkBufferCopy2* toTransform) {
5347     (void)resourceTracker;
5348     (void)toTransform;
5349     if (toTransform->pNext) {
5350         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5351     }
5352 }
5353 
transform_tohost_VkCopyBufferInfo2(VkDecoderGlobalState * resourceTracker,VkCopyBufferInfo2 * toTransform)5354 void transform_tohost_VkCopyBufferInfo2(VkDecoderGlobalState* resourceTracker,
5355                                         VkCopyBufferInfo2* toTransform) {
5356     (void)resourceTracker;
5357     (void)toTransform;
5358     if (toTransform->pNext) {
5359         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5360     }
5361     if (toTransform) {
5362         if (toTransform->pRegions) {
5363             for (uint32_t i = 0; i < (uint32_t)toTransform->regionCount; ++i) {
5364                 transform_tohost_VkBufferCopy2(resourceTracker,
5365                                                (VkBufferCopy2*)(toTransform->pRegions + i));
5366             }
5367         }
5368     }
5369 }
5370 
transform_fromhost_VkCopyBufferInfo2(VkDecoderGlobalState * resourceTracker,VkCopyBufferInfo2 * toTransform)5371 void transform_fromhost_VkCopyBufferInfo2(VkDecoderGlobalState* resourceTracker,
5372                                           VkCopyBufferInfo2* toTransform) {
5373     (void)resourceTracker;
5374     (void)toTransform;
5375     if (toTransform->pNext) {
5376         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5377     }
5378     if (toTransform) {
5379         if (toTransform->pRegions) {
5380             for (uint32_t i = 0; i < (uint32_t)toTransform->regionCount; ++i) {
5381                 transform_fromhost_VkBufferCopy2(resourceTracker,
5382                                                  (VkBufferCopy2*)(toTransform->pRegions + i));
5383             }
5384         }
5385     }
5386 }
5387 
transform_tohost_VkImageCopy2(VkDecoderGlobalState * resourceTracker,VkImageCopy2 * toTransform)5388 void transform_tohost_VkImageCopy2(VkDecoderGlobalState* resourceTracker,
5389                                    VkImageCopy2* toTransform) {
5390     (void)resourceTracker;
5391     (void)toTransform;
5392     if (toTransform->pNext) {
5393         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5394     }
5395     transform_tohost_VkImageSubresourceLayers(
5396         resourceTracker, (VkImageSubresourceLayers*)(&toTransform->srcSubresource));
5397     transform_tohost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->srcOffset));
5398     transform_tohost_VkImageSubresourceLayers(
5399         resourceTracker, (VkImageSubresourceLayers*)(&toTransform->dstSubresource));
5400     transform_tohost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->dstOffset));
5401     transform_tohost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->extent));
5402 }
5403 
transform_fromhost_VkImageCopy2(VkDecoderGlobalState * resourceTracker,VkImageCopy2 * toTransform)5404 void transform_fromhost_VkImageCopy2(VkDecoderGlobalState* resourceTracker,
5405                                      VkImageCopy2* toTransform) {
5406     (void)resourceTracker;
5407     (void)toTransform;
5408     if (toTransform->pNext) {
5409         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5410     }
5411     transform_fromhost_VkImageSubresourceLayers(
5412         resourceTracker, (VkImageSubresourceLayers*)(&toTransform->srcSubresource));
5413     transform_fromhost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->srcOffset));
5414     transform_fromhost_VkImageSubresourceLayers(
5415         resourceTracker, (VkImageSubresourceLayers*)(&toTransform->dstSubresource));
5416     transform_fromhost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->dstOffset));
5417     transform_fromhost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->extent));
5418 }
5419 
transform_tohost_VkCopyImageInfo2(VkDecoderGlobalState * resourceTracker,VkCopyImageInfo2 * toTransform)5420 void transform_tohost_VkCopyImageInfo2(VkDecoderGlobalState* resourceTracker,
5421                                        VkCopyImageInfo2* toTransform) {
5422     (void)resourceTracker;
5423     (void)toTransform;
5424     if (toTransform->pNext) {
5425         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5426     }
5427     if (toTransform) {
5428         if (toTransform->pRegions) {
5429             for (uint32_t i = 0; i < (uint32_t)toTransform->regionCount; ++i) {
5430                 transform_tohost_VkImageCopy2(resourceTracker,
5431                                               (VkImageCopy2*)(toTransform->pRegions + i));
5432             }
5433         }
5434     }
5435 }
5436 
transform_fromhost_VkCopyImageInfo2(VkDecoderGlobalState * resourceTracker,VkCopyImageInfo2 * toTransform)5437 void transform_fromhost_VkCopyImageInfo2(VkDecoderGlobalState* resourceTracker,
5438                                          VkCopyImageInfo2* toTransform) {
5439     (void)resourceTracker;
5440     (void)toTransform;
5441     if (toTransform->pNext) {
5442         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5443     }
5444     if (toTransform) {
5445         if (toTransform->pRegions) {
5446             for (uint32_t i = 0; i < (uint32_t)toTransform->regionCount; ++i) {
5447                 transform_fromhost_VkImageCopy2(resourceTracker,
5448                                                 (VkImageCopy2*)(toTransform->pRegions + i));
5449             }
5450         }
5451     }
5452 }
5453 
transform_tohost_VkBufferImageCopy2(VkDecoderGlobalState * resourceTracker,VkBufferImageCopy2 * toTransform)5454 void transform_tohost_VkBufferImageCopy2(VkDecoderGlobalState* resourceTracker,
5455                                          VkBufferImageCopy2* toTransform) {
5456     (void)resourceTracker;
5457     (void)toTransform;
5458     if (toTransform->pNext) {
5459         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5460     }
5461     transform_tohost_VkImageSubresourceLayers(
5462         resourceTracker, (VkImageSubresourceLayers*)(&toTransform->imageSubresource));
5463     transform_tohost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->imageOffset));
5464     transform_tohost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->imageExtent));
5465 }
5466 
transform_fromhost_VkBufferImageCopy2(VkDecoderGlobalState * resourceTracker,VkBufferImageCopy2 * toTransform)5467 void transform_fromhost_VkBufferImageCopy2(VkDecoderGlobalState* resourceTracker,
5468                                            VkBufferImageCopy2* toTransform) {
5469     (void)resourceTracker;
5470     (void)toTransform;
5471     if (toTransform->pNext) {
5472         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5473     }
5474     transform_fromhost_VkImageSubresourceLayers(
5475         resourceTracker, (VkImageSubresourceLayers*)(&toTransform->imageSubresource));
5476     transform_fromhost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->imageOffset));
5477     transform_fromhost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->imageExtent));
5478 }
5479 
transform_tohost_VkCopyBufferToImageInfo2(VkDecoderGlobalState * resourceTracker,VkCopyBufferToImageInfo2 * toTransform)5480 void transform_tohost_VkCopyBufferToImageInfo2(VkDecoderGlobalState* resourceTracker,
5481                                                VkCopyBufferToImageInfo2* toTransform) {
5482     (void)resourceTracker;
5483     (void)toTransform;
5484     if (toTransform->pNext) {
5485         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5486     }
5487     if (toTransform) {
5488         if (toTransform->pRegions) {
5489             for (uint32_t i = 0; i < (uint32_t)toTransform->regionCount; ++i) {
5490                 transform_tohost_VkBufferImageCopy2(
5491                     resourceTracker, (VkBufferImageCopy2*)(toTransform->pRegions + i));
5492             }
5493         }
5494     }
5495 }
5496 
transform_fromhost_VkCopyBufferToImageInfo2(VkDecoderGlobalState * resourceTracker,VkCopyBufferToImageInfo2 * toTransform)5497 void transform_fromhost_VkCopyBufferToImageInfo2(VkDecoderGlobalState* resourceTracker,
5498                                                  VkCopyBufferToImageInfo2* toTransform) {
5499     (void)resourceTracker;
5500     (void)toTransform;
5501     if (toTransform->pNext) {
5502         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5503     }
5504     if (toTransform) {
5505         if (toTransform->pRegions) {
5506             for (uint32_t i = 0; i < (uint32_t)toTransform->regionCount; ++i) {
5507                 transform_fromhost_VkBufferImageCopy2(
5508                     resourceTracker, (VkBufferImageCopy2*)(toTransform->pRegions + i));
5509             }
5510         }
5511     }
5512 }
5513 
transform_tohost_VkCopyImageToBufferInfo2(VkDecoderGlobalState * resourceTracker,VkCopyImageToBufferInfo2 * toTransform)5514 void transform_tohost_VkCopyImageToBufferInfo2(VkDecoderGlobalState* resourceTracker,
5515                                                VkCopyImageToBufferInfo2* toTransform) {
5516     (void)resourceTracker;
5517     (void)toTransform;
5518     if (toTransform->pNext) {
5519         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5520     }
5521     if (toTransform) {
5522         if (toTransform->pRegions) {
5523             for (uint32_t i = 0; i < (uint32_t)toTransform->regionCount; ++i) {
5524                 transform_tohost_VkBufferImageCopy2(
5525                     resourceTracker, (VkBufferImageCopy2*)(toTransform->pRegions + i));
5526             }
5527         }
5528     }
5529 }
5530 
transform_fromhost_VkCopyImageToBufferInfo2(VkDecoderGlobalState * resourceTracker,VkCopyImageToBufferInfo2 * toTransform)5531 void transform_fromhost_VkCopyImageToBufferInfo2(VkDecoderGlobalState* resourceTracker,
5532                                                  VkCopyImageToBufferInfo2* toTransform) {
5533     (void)resourceTracker;
5534     (void)toTransform;
5535     if (toTransform->pNext) {
5536         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5537     }
5538     if (toTransform) {
5539         if (toTransform->pRegions) {
5540             for (uint32_t i = 0; i < (uint32_t)toTransform->regionCount; ++i) {
5541                 transform_fromhost_VkBufferImageCopy2(
5542                     resourceTracker, (VkBufferImageCopy2*)(toTransform->pRegions + i));
5543             }
5544         }
5545     }
5546 }
5547 
transform_tohost_VkImageBlit2(VkDecoderGlobalState * resourceTracker,VkImageBlit2 * toTransform)5548 void transform_tohost_VkImageBlit2(VkDecoderGlobalState* resourceTracker,
5549                                    VkImageBlit2* toTransform) {
5550     (void)resourceTracker;
5551     (void)toTransform;
5552     if (toTransform->pNext) {
5553         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5554     }
5555     transform_tohost_VkImageSubresourceLayers(
5556         resourceTracker, (VkImageSubresourceLayers*)(&toTransform->srcSubresource));
5557     for (uint32_t i = 0; i < (uint32_t)2; ++i) {
5558         transform_tohost_VkOffset3D(resourceTracker, (VkOffset3D*)(toTransform->srcOffsets + i));
5559     }
5560     transform_tohost_VkImageSubresourceLayers(
5561         resourceTracker, (VkImageSubresourceLayers*)(&toTransform->dstSubresource));
5562     for (uint32_t i = 0; i < (uint32_t)2; ++i) {
5563         transform_tohost_VkOffset3D(resourceTracker, (VkOffset3D*)(toTransform->dstOffsets + i));
5564     }
5565 }
5566 
transform_fromhost_VkImageBlit2(VkDecoderGlobalState * resourceTracker,VkImageBlit2 * toTransform)5567 void transform_fromhost_VkImageBlit2(VkDecoderGlobalState* resourceTracker,
5568                                      VkImageBlit2* toTransform) {
5569     (void)resourceTracker;
5570     (void)toTransform;
5571     if (toTransform->pNext) {
5572         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5573     }
5574     transform_fromhost_VkImageSubresourceLayers(
5575         resourceTracker, (VkImageSubresourceLayers*)(&toTransform->srcSubresource));
5576     for (uint32_t i = 0; i < (uint32_t)2; ++i) {
5577         transform_fromhost_VkOffset3D(resourceTracker, (VkOffset3D*)(toTransform->srcOffsets + i));
5578     }
5579     transform_fromhost_VkImageSubresourceLayers(
5580         resourceTracker, (VkImageSubresourceLayers*)(&toTransform->dstSubresource));
5581     for (uint32_t i = 0; i < (uint32_t)2; ++i) {
5582         transform_fromhost_VkOffset3D(resourceTracker, (VkOffset3D*)(toTransform->dstOffsets + i));
5583     }
5584 }
5585 
transform_tohost_VkBlitImageInfo2(VkDecoderGlobalState * resourceTracker,VkBlitImageInfo2 * toTransform)5586 void transform_tohost_VkBlitImageInfo2(VkDecoderGlobalState* resourceTracker,
5587                                        VkBlitImageInfo2* toTransform) {
5588     (void)resourceTracker;
5589     (void)toTransform;
5590     if (toTransform->pNext) {
5591         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5592     }
5593     if (toTransform) {
5594         if (toTransform->pRegions) {
5595             for (uint32_t i = 0; i < (uint32_t)toTransform->regionCount; ++i) {
5596                 transform_tohost_VkImageBlit2(resourceTracker,
5597                                               (VkImageBlit2*)(toTransform->pRegions + i));
5598             }
5599         }
5600     }
5601 }
5602 
transform_fromhost_VkBlitImageInfo2(VkDecoderGlobalState * resourceTracker,VkBlitImageInfo2 * toTransform)5603 void transform_fromhost_VkBlitImageInfo2(VkDecoderGlobalState* resourceTracker,
5604                                          VkBlitImageInfo2* toTransform) {
5605     (void)resourceTracker;
5606     (void)toTransform;
5607     if (toTransform->pNext) {
5608         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5609     }
5610     if (toTransform) {
5611         if (toTransform->pRegions) {
5612             for (uint32_t i = 0; i < (uint32_t)toTransform->regionCount; ++i) {
5613                 transform_fromhost_VkImageBlit2(resourceTracker,
5614                                                 (VkImageBlit2*)(toTransform->pRegions + i));
5615             }
5616         }
5617     }
5618 }
5619 
transform_tohost_VkImageResolve2(VkDecoderGlobalState * resourceTracker,VkImageResolve2 * toTransform)5620 void transform_tohost_VkImageResolve2(VkDecoderGlobalState* resourceTracker,
5621                                       VkImageResolve2* toTransform) {
5622     (void)resourceTracker;
5623     (void)toTransform;
5624     if (toTransform->pNext) {
5625         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5626     }
5627     transform_tohost_VkImageSubresourceLayers(
5628         resourceTracker, (VkImageSubresourceLayers*)(&toTransform->srcSubresource));
5629     transform_tohost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->srcOffset));
5630     transform_tohost_VkImageSubresourceLayers(
5631         resourceTracker, (VkImageSubresourceLayers*)(&toTransform->dstSubresource));
5632     transform_tohost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->dstOffset));
5633     transform_tohost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->extent));
5634 }
5635 
transform_fromhost_VkImageResolve2(VkDecoderGlobalState * resourceTracker,VkImageResolve2 * toTransform)5636 void transform_fromhost_VkImageResolve2(VkDecoderGlobalState* resourceTracker,
5637                                         VkImageResolve2* toTransform) {
5638     (void)resourceTracker;
5639     (void)toTransform;
5640     if (toTransform->pNext) {
5641         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5642     }
5643     transform_fromhost_VkImageSubresourceLayers(
5644         resourceTracker, (VkImageSubresourceLayers*)(&toTransform->srcSubresource));
5645     transform_fromhost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->srcOffset));
5646     transform_fromhost_VkImageSubresourceLayers(
5647         resourceTracker, (VkImageSubresourceLayers*)(&toTransform->dstSubresource));
5648     transform_fromhost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->dstOffset));
5649     transform_fromhost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->extent));
5650 }
5651 
transform_tohost_VkResolveImageInfo2(VkDecoderGlobalState * resourceTracker,VkResolveImageInfo2 * toTransform)5652 void transform_tohost_VkResolveImageInfo2(VkDecoderGlobalState* resourceTracker,
5653                                           VkResolveImageInfo2* toTransform) {
5654     (void)resourceTracker;
5655     (void)toTransform;
5656     if (toTransform->pNext) {
5657         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5658     }
5659     if (toTransform) {
5660         if (toTransform->pRegions) {
5661             for (uint32_t i = 0; i < (uint32_t)toTransform->regionCount; ++i) {
5662                 transform_tohost_VkImageResolve2(resourceTracker,
5663                                                  (VkImageResolve2*)(toTransform->pRegions + i));
5664             }
5665         }
5666     }
5667 }
5668 
transform_fromhost_VkResolveImageInfo2(VkDecoderGlobalState * resourceTracker,VkResolveImageInfo2 * toTransform)5669 void transform_fromhost_VkResolveImageInfo2(VkDecoderGlobalState* resourceTracker,
5670                                             VkResolveImageInfo2* toTransform) {
5671     (void)resourceTracker;
5672     (void)toTransform;
5673     if (toTransform->pNext) {
5674         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5675     }
5676     if (toTransform) {
5677         if (toTransform->pRegions) {
5678             for (uint32_t i = 0; i < (uint32_t)toTransform->regionCount; ++i) {
5679                 transform_fromhost_VkImageResolve2(resourceTracker,
5680                                                    (VkImageResolve2*)(toTransform->pRegions + i));
5681             }
5682         }
5683     }
5684 }
5685 
transform_tohost_VkPhysicalDeviceSubgroupSizeControlFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceSubgroupSizeControlFeatures * toTransform)5686 void transform_tohost_VkPhysicalDeviceSubgroupSizeControlFeatures(
5687     VkDecoderGlobalState* resourceTracker,
5688     VkPhysicalDeviceSubgroupSizeControlFeatures* toTransform) {
5689     (void)resourceTracker;
5690     (void)toTransform;
5691     if (toTransform->pNext) {
5692         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5693     }
5694 }
5695 
transform_fromhost_VkPhysicalDeviceSubgroupSizeControlFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceSubgroupSizeControlFeatures * toTransform)5696 void transform_fromhost_VkPhysicalDeviceSubgroupSizeControlFeatures(
5697     VkDecoderGlobalState* resourceTracker,
5698     VkPhysicalDeviceSubgroupSizeControlFeatures* toTransform) {
5699     (void)resourceTracker;
5700     (void)toTransform;
5701     if (toTransform->pNext) {
5702         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5703     }
5704 }
5705 
transform_tohost_VkPhysicalDeviceSubgroupSizeControlProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceSubgroupSizeControlProperties * toTransform)5706 void transform_tohost_VkPhysicalDeviceSubgroupSizeControlProperties(
5707     VkDecoderGlobalState* resourceTracker,
5708     VkPhysicalDeviceSubgroupSizeControlProperties* toTransform) {
5709     (void)resourceTracker;
5710     (void)toTransform;
5711     if (toTransform->pNext) {
5712         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5713     }
5714 }
5715 
transform_fromhost_VkPhysicalDeviceSubgroupSizeControlProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceSubgroupSizeControlProperties * toTransform)5716 void transform_fromhost_VkPhysicalDeviceSubgroupSizeControlProperties(
5717     VkDecoderGlobalState* resourceTracker,
5718     VkPhysicalDeviceSubgroupSizeControlProperties* toTransform) {
5719     (void)resourceTracker;
5720     (void)toTransform;
5721     if (toTransform->pNext) {
5722         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5723     }
5724 }
5725 
transform_tohost_VkPipelineShaderStageRequiredSubgroupSizeCreateInfo(VkDecoderGlobalState * resourceTracker,VkPipelineShaderStageRequiredSubgroupSizeCreateInfo * toTransform)5726 void transform_tohost_VkPipelineShaderStageRequiredSubgroupSizeCreateInfo(
5727     VkDecoderGlobalState* resourceTracker,
5728     VkPipelineShaderStageRequiredSubgroupSizeCreateInfo* toTransform) {
5729     (void)resourceTracker;
5730     (void)toTransform;
5731     if (toTransform->pNext) {
5732         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5733     }
5734 }
5735 
transform_fromhost_VkPipelineShaderStageRequiredSubgroupSizeCreateInfo(VkDecoderGlobalState * resourceTracker,VkPipelineShaderStageRequiredSubgroupSizeCreateInfo * toTransform)5736 void transform_fromhost_VkPipelineShaderStageRequiredSubgroupSizeCreateInfo(
5737     VkDecoderGlobalState* resourceTracker,
5738     VkPipelineShaderStageRequiredSubgroupSizeCreateInfo* toTransform) {
5739     (void)resourceTracker;
5740     (void)toTransform;
5741     if (toTransform->pNext) {
5742         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5743     }
5744 }
5745 
transform_tohost_VkPhysicalDeviceInlineUniformBlockFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceInlineUniformBlockFeatures * toTransform)5746 void transform_tohost_VkPhysicalDeviceInlineUniformBlockFeatures(
5747     VkDecoderGlobalState* resourceTracker,
5748     VkPhysicalDeviceInlineUniformBlockFeatures* toTransform) {
5749     (void)resourceTracker;
5750     (void)toTransform;
5751     if (toTransform->pNext) {
5752         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5753     }
5754 }
5755 
transform_fromhost_VkPhysicalDeviceInlineUniformBlockFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceInlineUniformBlockFeatures * toTransform)5756 void transform_fromhost_VkPhysicalDeviceInlineUniformBlockFeatures(
5757     VkDecoderGlobalState* resourceTracker,
5758     VkPhysicalDeviceInlineUniformBlockFeatures* toTransform) {
5759     (void)resourceTracker;
5760     (void)toTransform;
5761     if (toTransform->pNext) {
5762         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5763     }
5764 }
5765 
transform_tohost_VkPhysicalDeviceInlineUniformBlockProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceInlineUniformBlockProperties * toTransform)5766 void transform_tohost_VkPhysicalDeviceInlineUniformBlockProperties(
5767     VkDecoderGlobalState* resourceTracker,
5768     VkPhysicalDeviceInlineUniformBlockProperties* toTransform) {
5769     (void)resourceTracker;
5770     (void)toTransform;
5771     if (toTransform->pNext) {
5772         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5773     }
5774 }
5775 
transform_fromhost_VkPhysicalDeviceInlineUniformBlockProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceInlineUniformBlockProperties * toTransform)5776 void transform_fromhost_VkPhysicalDeviceInlineUniformBlockProperties(
5777     VkDecoderGlobalState* resourceTracker,
5778     VkPhysicalDeviceInlineUniformBlockProperties* toTransform) {
5779     (void)resourceTracker;
5780     (void)toTransform;
5781     if (toTransform->pNext) {
5782         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5783     }
5784 }
5785 
transform_tohost_VkWriteDescriptorSetInlineUniformBlock(VkDecoderGlobalState * resourceTracker,VkWriteDescriptorSetInlineUniformBlock * toTransform)5786 void transform_tohost_VkWriteDescriptorSetInlineUniformBlock(
5787     VkDecoderGlobalState* resourceTracker, VkWriteDescriptorSetInlineUniformBlock* toTransform) {
5788     (void)resourceTracker;
5789     (void)toTransform;
5790     if (toTransform->pNext) {
5791         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5792     }
5793 }
5794 
transform_fromhost_VkWriteDescriptorSetInlineUniformBlock(VkDecoderGlobalState * resourceTracker,VkWriteDescriptorSetInlineUniformBlock * toTransform)5795 void transform_fromhost_VkWriteDescriptorSetInlineUniformBlock(
5796     VkDecoderGlobalState* resourceTracker, VkWriteDescriptorSetInlineUniformBlock* toTransform) {
5797     (void)resourceTracker;
5798     (void)toTransform;
5799     if (toTransform->pNext) {
5800         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5801     }
5802 }
5803 
transform_tohost_VkDescriptorPoolInlineUniformBlockCreateInfo(VkDecoderGlobalState * resourceTracker,VkDescriptorPoolInlineUniformBlockCreateInfo * toTransform)5804 void transform_tohost_VkDescriptorPoolInlineUniformBlockCreateInfo(
5805     VkDecoderGlobalState* resourceTracker,
5806     VkDescriptorPoolInlineUniformBlockCreateInfo* toTransform) {
5807     (void)resourceTracker;
5808     (void)toTransform;
5809     if (toTransform->pNext) {
5810         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5811     }
5812 }
5813 
transform_fromhost_VkDescriptorPoolInlineUniformBlockCreateInfo(VkDecoderGlobalState * resourceTracker,VkDescriptorPoolInlineUniformBlockCreateInfo * toTransform)5814 void transform_fromhost_VkDescriptorPoolInlineUniformBlockCreateInfo(
5815     VkDecoderGlobalState* resourceTracker,
5816     VkDescriptorPoolInlineUniformBlockCreateInfo* toTransform) {
5817     (void)resourceTracker;
5818     (void)toTransform;
5819     if (toTransform->pNext) {
5820         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5821     }
5822 }
5823 
transform_tohost_VkPhysicalDeviceTextureCompressionASTCHDRFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceTextureCompressionASTCHDRFeatures * toTransform)5824 void transform_tohost_VkPhysicalDeviceTextureCompressionASTCHDRFeatures(
5825     VkDecoderGlobalState* resourceTracker,
5826     VkPhysicalDeviceTextureCompressionASTCHDRFeatures* toTransform) {
5827     (void)resourceTracker;
5828     (void)toTransform;
5829     if (toTransform->pNext) {
5830         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5831     }
5832 }
5833 
transform_fromhost_VkPhysicalDeviceTextureCompressionASTCHDRFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceTextureCompressionASTCHDRFeatures * toTransform)5834 void transform_fromhost_VkPhysicalDeviceTextureCompressionASTCHDRFeatures(
5835     VkDecoderGlobalState* resourceTracker,
5836     VkPhysicalDeviceTextureCompressionASTCHDRFeatures* toTransform) {
5837     (void)resourceTracker;
5838     (void)toTransform;
5839     if (toTransform->pNext) {
5840         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5841     }
5842 }
5843 
transform_tohost_VkRenderingAttachmentInfo(VkDecoderGlobalState * resourceTracker,VkRenderingAttachmentInfo * toTransform)5844 void transform_tohost_VkRenderingAttachmentInfo(VkDecoderGlobalState* resourceTracker,
5845                                                 VkRenderingAttachmentInfo* toTransform) {
5846     (void)resourceTracker;
5847     (void)toTransform;
5848     if (toTransform->pNext) {
5849         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5850     }
5851     transform_tohost_VkClearValue(resourceTracker, (VkClearValue*)(&toTransform->clearValue));
5852 }
5853 
transform_fromhost_VkRenderingAttachmentInfo(VkDecoderGlobalState * resourceTracker,VkRenderingAttachmentInfo * toTransform)5854 void transform_fromhost_VkRenderingAttachmentInfo(VkDecoderGlobalState* resourceTracker,
5855                                                   VkRenderingAttachmentInfo* toTransform) {
5856     (void)resourceTracker;
5857     (void)toTransform;
5858     if (toTransform->pNext) {
5859         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5860     }
5861     transform_fromhost_VkClearValue(resourceTracker, (VkClearValue*)(&toTransform->clearValue));
5862 }
5863 
transform_tohost_VkRenderingInfo(VkDecoderGlobalState * resourceTracker,VkRenderingInfo * toTransform)5864 void transform_tohost_VkRenderingInfo(VkDecoderGlobalState* resourceTracker,
5865                                       VkRenderingInfo* toTransform) {
5866     (void)resourceTracker;
5867     (void)toTransform;
5868     if (toTransform->pNext) {
5869         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5870     }
5871     transform_tohost_VkRect2D(resourceTracker, (VkRect2D*)(&toTransform->renderArea));
5872     if (toTransform) {
5873         if (toTransform->pColorAttachments) {
5874             for (uint32_t i = 0; i < (uint32_t)toTransform->colorAttachmentCount; ++i) {
5875                 transform_tohost_VkRenderingAttachmentInfo(
5876                     resourceTracker,
5877                     (VkRenderingAttachmentInfo*)(toTransform->pColorAttachments + i));
5878             }
5879         }
5880     }
5881     if (toTransform->pDepthAttachment) {
5882         transform_tohost_VkRenderingAttachmentInfo(
5883             resourceTracker, (VkRenderingAttachmentInfo*)(toTransform->pDepthAttachment));
5884     }
5885     if (toTransform->pStencilAttachment) {
5886         transform_tohost_VkRenderingAttachmentInfo(
5887             resourceTracker, (VkRenderingAttachmentInfo*)(toTransform->pStencilAttachment));
5888     }
5889 }
5890 
transform_fromhost_VkRenderingInfo(VkDecoderGlobalState * resourceTracker,VkRenderingInfo * toTransform)5891 void transform_fromhost_VkRenderingInfo(VkDecoderGlobalState* resourceTracker,
5892                                         VkRenderingInfo* toTransform) {
5893     (void)resourceTracker;
5894     (void)toTransform;
5895     if (toTransform->pNext) {
5896         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5897     }
5898     transform_fromhost_VkRect2D(resourceTracker, (VkRect2D*)(&toTransform->renderArea));
5899     if (toTransform) {
5900         if (toTransform->pColorAttachments) {
5901             for (uint32_t i = 0; i < (uint32_t)toTransform->colorAttachmentCount; ++i) {
5902                 transform_fromhost_VkRenderingAttachmentInfo(
5903                     resourceTracker,
5904                     (VkRenderingAttachmentInfo*)(toTransform->pColorAttachments + i));
5905             }
5906         }
5907     }
5908     if (toTransform->pDepthAttachment) {
5909         transform_fromhost_VkRenderingAttachmentInfo(
5910             resourceTracker, (VkRenderingAttachmentInfo*)(toTransform->pDepthAttachment));
5911     }
5912     if (toTransform->pStencilAttachment) {
5913         transform_fromhost_VkRenderingAttachmentInfo(
5914             resourceTracker, (VkRenderingAttachmentInfo*)(toTransform->pStencilAttachment));
5915     }
5916 }
5917 
transform_tohost_VkPipelineRenderingCreateInfo(VkDecoderGlobalState * resourceTracker,VkPipelineRenderingCreateInfo * toTransform)5918 void transform_tohost_VkPipelineRenderingCreateInfo(VkDecoderGlobalState* resourceTracker,
5919                                                     VkPipelineRenderingCreateInfo* toTransform) {
5920     (void)resourceTracker;
5921     (void)toTransform;
5922     if (toTransform->pNext) {
5923         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5924     }
5925 }
5926 
transform_fromhost_VkPipelineRenderingCreateInfo(VkDecoderGlobalState * resourceTracker,VkPipelineRenderingCreateInfo * toTransform)5927 void transform_fromhost_VkPipelineRenderingCreateInfo(VkDecoderGlobalState* resourceTracker,
5928                                                       VkPipelineRenderingCreateInfo* toTransform) {
5929     (void)resourceTracker;
5930     (void)toTransform;
5931     if (toTransform->pNext) {
5932         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5933     }
5934 }
5935 
transform_tohost_VkPhysicalDeviceDynamicRenderingFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceDynamicRenderingFeatures * toTransform)5936 void transform_tohost_VkPhysicalDeviceDynamicRenderingFeatures(
5937     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceDynamicRenderingFeatures* toTransform) {
5938     (void)resourceTracker;
5939     (void)toTransform;
5940     if (toTransform->pNext) {
5941         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5942     }
5943 }
5944 
transform_fromhost_VkPhysicalDeviceDynamicRenderingFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceDynamicRenderingFeatures * toTransform)5945 void transform_fromhost_VkPhysicalDeviceDynamicRenderingFeatures(
5946     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceDynamicRenderingFeatures* toTransform) {
5947     (void)resourceTracker;
5948     (void)toTransform;
5949     if (toTransform->pNext) {
5950         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5951     }
5952 }
5953 
transform_tohost_VkCommandBufferInheritanceRenderingInfo(VkDecoderGlobalState * resourceTracker,VkCommandBufferInheritanceRenderingInfo * toTransform)5954 void transform_tohost_VkCommandBufferInheritanceRenderingInfo(
5955     VkDecoderGlobalState* resourceTracker, VkCommandBufferInheritanceRenderingInfo* toTransform) {
5956     (void)resourceTracker;
5957     (void)toTransform;
5958     if (toTransform->pNext) {
5959         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5960     }
5961 }
5962 
transform_fromhost_VkCommandBufferInheritanceRenderingInfo(VkDecoderGlobalState * resourceTracker,VkCommandBufferInheritanceRenderingInfo * toTransform)5963 void transform_fromhost_VkCommandBufferInheritanceRenderingInfo(
5964     VkDecoderGlobalState* resourceTracker, VkCommandBufferInheritanceRenderingInfo* toTransform) {
5965     (void)resourceTracker;
5966     (void)toTransform;
5967     if (toTransform->pNext) {
5968         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5969     }
5970 }
5971 
transform_tohost_VkPhysicalDeviceShaderIntegerDotProductFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceShaderIntegerDotProductFeatures * toTransform)5972 void transform_tohost_VkPhysicalDeviceShaderIntegerDotProductFeatures(
5973     VkDecoderGlobalState* resourceTracker,
5974     VkPhysicalDeviceShaderIntegerDotProductFeatures* toTransform) {
5975     (void)resourceTracker;
5976     (void)toTransform;
5977     if (toTransform->pNext) {
5978         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5979     }
5980 }
5981 
transform_fromhost_VkPhysicalDeviceShaderIntegerDotProductFeatures(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceShaderIntegerDotProductFeatures * toTransform)5982 void transform_fromhost_VkPhysicalDeviceShaderIntegerDotProductFeatures(
5983     VkDecoderGlobalState* resourceTracker,
5984     VkPhysicalDeviceShaderIntegerDotProductFeatures* toTransform) {
5985     (void)resourceTracker;
5986     (void)toTransform;
5987     if (toTransform->pNext) {
5988         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5989     }
5990 }
5991 
transform_tohost_VkPhysicalDeviceShaderIntegerDotProductProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceShaderIntegerDotProductProperties * toTransform)5992 void transform_tohost_VkPhysicalDeviceShaderIntegerDotProductProperties(
5993     VkDecoderGlobalState* resourceTracker,
5994     VkPhysicalDeviceShaderIntegerDotProductProperties* toTransform) {
5995     (void)resourceTracker;
5996     (void)toTransform;
5997     if (toTransform->pNext) {
5998         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
5999     }
6000 }
6001 
transform_fromhost_VkPhysicalDeviceShaderIntegerDotProductProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceShaderIntegerDotProductProperties * toTransform)6002 void transform_fromhost_VkPhysicalDeviceShaderIntegerDotProductProperties(
6003     VkDecoderGlobalState* resourceTracker,
6004     VkPhysicalDeviceShaderIntegerDotProductProperties* toTransform) {
6005     (void)resourceTracker;
6006     (void)toTransform;
6007     if (toTransform->pNext) {
6008         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6009     }
6010 }
6011 
transform_tohost_VkPhysicalDeviceTexelBufferAlignmentProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceTexelBufferAlignmentProperties * toTransform)6012 void transform_tohost_VkPhysicalDeviceTexelBufferAlignmentProperties(
6013     VkDecoderGlobalState* resourceTracker,
6014     VkPhysicalDeviceTexelBufferAlignmentProperties* toTransform) {
6015     (void)resourceTracker;
6016     (void)toTransform;
6017     if (toTransform->pNext) {
6018         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6019     }
6020 }
6021 
transform_fromhost_VkPhysicalDeviceTexelBufferAlignmentProperties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceTexelBufferAlignmentProperties * toTransform)6022 void transform_fromhost_VkPhysicalDeviceTexelBufferAlignmentProperties(
6023     VkDecoderGlobalState* resourceTracker,
6024     VkPhysicalDeviceTexelBufferAlignmentProperties* toTransform) {
6025     (void)resourceTracker;
6026     (void)toTransform;
6027     if (toTransform->pNext) {
6028         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6029     }
6030 }
6031 
transform_tohost_VkFormatProperties3(VkDecoderGlobalState * resourceTracker,VkFormatProperties3 * toTransform)6032 void transform_tohost_VkFormatProperties3(VkDecoderGlobalState* resourceTracker,
6033                                           VkFormatProperties3* toTransform) {
6034     (void)resourceTracker;
6035     (void)toTransform;
6036     if (toTransform->pNext) {
6037         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6038     }
6039 }
6040 
transform_fromhost_VkFormatProperties3(VkDecoderGlobalState * resourceTracker,VkFormatProperties3 * toTransform)6041 void transform_fromhost_VkFormatProperties3(VkDecoderGlobalState* resourceTracker,
6042                                             VkFormatProperties3* toTransform) {
6043     (void)resourceTracker;
6044     (void)toTransform;
6045     if (toTransform->pNext) {
6046         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6047     }
6048 }
6049 
transform_tohost_VkPhysicalDeviceMaintenance4Features(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceMaintenance4Features * toTransform)6050 void transform_tohost_VkPhysicalDeviceMaintenance4Features(
6051     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceMaintenance4Features* toTransform) {
6052     (void)resourceTracker;
6053     (void)toTransform;
6054     if (toTransform->pNext) {
6055         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6056     }
6057 }
6058 
transform_fromhost_VkPhysicalDeviceMaintenance4Features(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceMaintenance4Features * toTransform)6059 void transform_fromhost_VkPhysicalDeviceMaintenance4Features(
6060     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceMaintenance4Features* toTransform) {
6061     (void)resourceTracker;
6062     (void)toTransform;
6063     if (toTransform->pNext) {
6064         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6065     }
6066 }
6067 
transform_tohost_VkPhysicalDeviceMaintenance4Properties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceMaintenance4Properties * toTransform)6068 void transform_tohost_VkPhysicalDeviceMaintenance4Properties(
6069     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceMaintenance4Properties* toTransform) {
6070     (void)resourceTracker;
6071     (void)toTransform;
6072     if (toTransform->pNext) {
6073         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6074     }
6075 }
6076 
transform_fromhost_VkPhysicalDeviceMaintenance4Properties(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceMaintenance4Properties * toTransform)6077 void transform_fromhost_VkPhysicalDeviceMaintenance4Properties(
6078     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceMaintenance4Properties* toTransform) {
6079     (void)resourceTracker;
6080     (void)toTransform;
6081     if (toTransform->pNext) {
6082         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6083     }
6084 }
6085 
transform_tohost_VkDeviceBufferMemoryRequirements(VkDecoderGlobalState * resourceTracker,VkDeviceBufferMemoryRequirements * toTransform)6086 void transform_tohost_VkDeviceBufferMemoryRequirements(
6087     VkDecoderGlobalState* resourceTracker, VkDeviceBufferMemoryRequirements* toTransform) {
6088     (void)resourceTracker;
6089     (void)toTransform;
6090     if (toTransform->pNext) {
6091         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6092     }
6093     if (toTransform->pCreateInfo) {
6094         transform_tohost_VkBufferCreateInfo(resourceTracker,
6095                                             (VkBufferCreateInfo*)(toTransform->pCreateInfo));
6096     }
6097 }
6098 
transform_fromhost_VkDeviceBufferMemoryRequirements(VkDecoderGlobalState * resourceTracker,VkDeviceBufferMemoryRequirements * toTransform)6099 void transform_fromhost_VkDeviceBufferMemoryRequirements(
6100     VkDecoderGlobalState* resourceTracker, VkDeviceBufferMemoryRequirements* toTransform) {
6101     (void)resourceTracker;
6102     (void)toTransform;
6103     if (toTransform->pNext) {
6104         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6105     }
6106     if (toTransform->pCreateInfo) {
6107         transform_fromhost_VkBufferCreateInfo(resourceTracker,
6108                                               (VkBufferCreateInfo*)(toTransform->pCreateInfo));
6109     }
6110 }
6111 
transform_tohost_VkDeviceImageMemoryRequirements(VkDecoderGlobalState * resourceTracker,VkDeviceImageMemoryRequirements * toTransform)6112 void transform_tohost_VkDeviceImageMemoryRequirements(
6113     VkDecoderGlobalState* resourceTracker, VkDeviceImageMemoryRequirements* toTransform) {
6114     (void)resourceTracker;
6115     (void)toTransform;
6116     if (toTransform->pNext) {
6117         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6118     }
6119     if (toTransform->pCreateInfo) {
6120         resourceTracker->transformImpl_VkImageCreateInfo_tohost(toTransform->pCreateInfo, 1);
6121         transform_tohost_VkImageCreateInfo(resourceTracker,
6122                                            (VkImageCreateInfo*)(toTransform->pCreateInfo));
6123     }
6124 }
6125 
transform_fromhost_VkDeviceImageMemoryRequirements(VkDecoderGlobalState * resourceTracker,VkDeviceImageMemoryRequirements * toTransform)6126 void transform_fromhost_VkDeviceImageMemoryRequirements(
6127     VkDecoderGlobalState* resourceTracker, VkDeviceImageMemoryRequirements* toTransform) {
6128     (void)resourceTracker;
6129     (void)toTransform;
6130     if (toTransform->pNext) {
6131         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6132     }
6133     if (toTransform->pCreateInfo) {
6134         resourceTracker->transformImpl_VkImageCreateInfo_fromhost(toTransform->pCreateInfo, 1);
6135         transform_fromhost_VkImageCreateInfo(resourceTracker,
6136                                              (VkImageCreateInfo*)(toTransform->pCreateInfo));
6137     }
6138 }
6139 
6140 #endif
6141 #ifdef VK_KHR_surface
6142 #endif
6143 #ifdef VK_KHR_swapchain
transform_tohost_VkSwapchainCreateInfoKHR(VkDecoderGlobalState * resourceTracker,VkSwapchainCreateInfoKHR * toTransform)6144 void transform_tohost_VkSwapchainCreateInfoKHR(VkDecoderGlobalState* resourceTracker,
6145                                                VkSwapchainCreateInfoKHR* toTransform) {
6146     (void)resourceTracker;
6147     (void)toTransform;
6148     if (toTransform->pNext) {
6149         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6150     }
6151     transform_tohost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->imageExtent));
6152 }
6153 
transform_fromhost_VkSwapchainCreateInfoKHR(VkDecoderGlobalState * resourceTracker,VkSwapchainCreateInfoKHR * toTransform)6154 void transform_fromhost_VkSwapchainCreateInfoKHR(VkDecoderGlobalState* resourceTracker,
6155                                                  VkSwapchainCreateInfoKHR* toTransform) {
6156     (void)resourceTracker;
6157     (void)toTransform;
6158     if (toTransform->pNext) {
6159         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6160     }
6161     transform_fromhost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->imageExtent));
6162 }
6163 
transform_tohost_VkPresentInfoKHR(VkDecoderGlobalState * resourceTracker,VkPresentInfoKHR * toTransform)6164 void transform_tohost_VkPresentInfoKHR(VkDecoderGlobalState* resourceTracker,
6165                                        VkPresentInfoKHR* toTransform) {
6166     (void)resourceTracker;
6167     (void)toTransform;
6168     if (toTransform->pNext) {
6169         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6170     }
6171 }
6172 
transform_fromhost_VkPresentInfoKHR(VkDecoderGlobalState * resourceTracker,VkPresentInfoKHR * toTransform)6173 void transform_fromhost_VkPresentInfoKHR(VkDecoderGlobalState* resourceTracker,
6174                                          VkPresentInfoKHR* toTransform) {
6175     (void)resourceTracker;
6176     (void)toTransform;
6177     if (toTransform->pNext) {
6178         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6179     }
6180 }
6181 
transform_tohost_VkImageSwapchainCreateInfoKHR(VkDecoderGlobalState * resourceTracker,VkImageSwapchainCreateInfoKHR * toTransform)6182 void transform_tohost_VkImageSwapchainCreateInfoKHR(VkDecoderGlobalState* resourceTracker,
6183                                                     VkImageSwapchainCreateInfoKHR* toTransform) {
6184     (void)resourceTracker;
6185     (void)toTransform;
6186     if (toTransform->pNext) {
6187         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6188     }
6189 }
6190 
transform_fromhost_VkImageSwapchainCreateInfoKHR(VkDecoderGlobalState * resourceTracker,VkImageSwapchainCreateInfoKHR * toTransform)6191 void transform_fromhost_VkImageSwapchainCreateInfoKHR(VkDecoderGlobalState* resourceTracker,
6192                                                       VkImageSwapchainCreateInfoKHR* toTransform) {
6193     (void)resourceTracker;
6194     (void)toTransform;
6195     if (toTransform->pNext) {
6196         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6197     }
6198 }
6199 
transform_tohost_VkBindImageMemorySwapchainInfoKHR(VkDecoderGlobalState * resourceTracker,VkBindImageMemorySwapchainInfoKHR * toTransform)6200 void transform_tohost_VkBindImageMemorySwapchainInfoKHR(
6201     VkDecoderGlobalState* resourceTracker, VkBindImageMemorySwapchainInfoKHR* toTransform) {
6202     (void)resourceTracker;
6203     (void)toTransform;
6204     if (toTransform->pNext) {
6205         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6206     }
6207 }
6208 
transform_fromhost_VkBindImageMemorySwapchainInfoKHR(VkDecoderGlobalState * resourceTracker,VkBindImageMemorySwapchainInfoKHR * toTransform)6209 void transform_fromhost_VkBindImageMemorySwapchainInfoKHR(
6210     VkDecoderGlobalState* resourceTracker, VkBindImageMemorySwapchainInfoKHR* toTransform) {
6211     (void)resourceTracker;
6212     (void)toTransform;
6213     if (toTransform->pNext) {
6214         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6215     }
6216 }
6217 
transform_tohost_VkAcquireNextImageInfoKHR(VkDecoderGlobalState * resourceTracker,VkAcquireNextImageInfoKHR * toTransform)6218 void transform_tohost_VkAcquireNextImageInfoKHR(VkDecoderGlobalState* resourceTracker,
6219                                                 VkAcquireNextImageInfoKHR* toTransform) {
6220     (void)resourceTracker;
6221     (void)toTransform;
6222     if (toTransform->pNext) {
6223         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6224     }
6225 }
6226 
transform_fromhost_VkAcquireNextImageInfoKHR(VkDecoderGlobalState * resourceTracker,VkAcquireNextImageInfoKHR * toTransform)6227 void transform_fromhost_VkAcquireNextImageInfoKHR(VkDecoderGlobalState* resourceTracker,
6228                                                   VkAcquireNextImageInfoKHR* toTransform) {
6229     (void)resourceTracker;
6230     (void)toTransform;
6231     if (toTransform->pNext) {
6232         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6233     }
6234 }
6235 
transform_tohost_VkDeviceGroupPresentCapabilitiesKHR(VkDecoderGlobalState * resourceTracker,VkDeviceGroupPresentCapabilitiesKHR * toTransform)6236 void transform_tohost_VkDeviceGroupPresentCapabilitiesKHR(
6237     VkDecoderGlobalState* resourceTracker, VkDeviceGroupPresentCapabilitiesKHR* toTransform) {
6238     (void)resourceTracker;
6239     (void)toTransform;
6240     if (toTransform->pNext) {
6241         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6242     }
6243 }
6244 
transform_fromhost_VkDeviceGroupPresentCapabilitiesKHR(VkDecoderGlobalState * resourceTracker,VkDeviceGroupPresentCapabilitiesKHR * toTransform)6245 void transform_fromhost_VkDeviceGroupPresentCapabilitiesKHR(
6246     VkDecoderGlobalState* resourceTracker, VkDeviceGroupPresentCapabilitiesKHR* toTransform) {
6247     (void)resourceTracker;
6248     (void)toTransform;
6249     if (toTransform->pNext) {
6250         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6251     }
6252 }
6253 
transform_tohost_VkDeviceGroupPresentInfoKHR(VkDecoderGlobalState * resourceTracker,VkDeviceGroupPresentInfoKHR * toTransform)6254 void transform_tohost_VkDeviceGroupPresentInfoKHR(VkDecoderGlobalState* resourceTracker,
6255                                                   VkDeviceGroupPresentInfoKHR* toTransform) {
6256     (void)resourceTracker;
6257     (void)toTransform;
6258     if (toTransform->pNext) {
6259         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6260     }
6261 }
6262 
transform_fromhost_VkDeviceGroupPresentInfoKHR(VkDecoderGlobalState * resourceTracker,VkDeviceGroupPresentInfoKHR * toTransform)6263 void transform_fromhost_VkDeviceGroupPresentInfoKHR(VkDecoderGlobalState* resourceTracker,
6264                                                     VkDeviceGroupPresentInfoKHR* toTransform) {
6265     (void)resourceTracker;
6266     (void)toTransform;
6267     if (toTransform->pNext) {
6268         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6269     }
6270 }
6271 
transform_tohost_VkDeviceGroupSwapchainCreateInfoKHR(VkDecoderGlobalState * resourceTracker,VkDeviceGroupSwapchainCreateInfoKHR * toTransform)6272 void transform_tohost_VkDeviceGroupSwapchainCreateInfoKHR(
6273     VkDecoderGlobalState* resourceTracker, VkDeviceGroupSwapchainCreateInfoKHR* toTransform) {
6274     (void)resourceTracker;
6275     (void)toTransform;
6276     if (toTransform->pNext) {
6277         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6278     }
6279 }
6280 
transform_fromhost_VkDeviceGroupSwapchainCreateInfoKHR(VkDecoderGlobalState * resourceTracker,VkDeviceGroupSwapchainCreateInfoKHR * toTransform)6281 void transform_fromhost_VkDeviceGroupSwapchainCreateInfoKHR(
6282     VkDecoderGlobalState* resourceTracker, VkDeviceGroupSwapchainCreateInfoKHR* toTransform) {
6283     (void)resourceTracker;
6284     (void)toTransform;
6285     if (toTransform->pNext) {
6286         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6287     }
6288 }
6289 
6290 #endif
6291 #ifdef VK_KHR_xcb_surface
6292 #endif
6293 #ifdef VK_KHR_android_surface
6294 #endif
6295 #ifdef VK_KHR_win32_surface
6296 #endif
6297 #ifdef VK_KHR_dynamic_rendering
transform_tohost_VkRenderingFragmentShadingRateAttachmentInfoKHR(VkDecoderGlobalState * resourceTracker,VkRenderingFragmentShadingRateAttachmentInfoKHR * toTransform)6298 void transform_tohost_VkRenderingFragmentShadingRateAttachmentInfoKHR(
6299     VkDecoderGlobalState* resourceTracker,
6300     VkRenderingFragmentShadingRateAttachmentInfoKHR* toTransform) {
6301     (void)resourceTracker;
6302     (void)toTransform;
6303     if (toTransform->pNext) {
6304         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6305     }
6306     transform_tohost_VkExtent2D(resourceTracker,
6307                                 (VkExtent2D*)(&toTransform->shadingRateAttachmentTexelSize));
6308 }
6309 
transform_fromhost_VkRenderingFragmentShadingRateAttachmentInfoKHR(VkDecoderGlobalState * resourceTracker,VkRenderingFragmentShadingRateAttachmentInfoKHR * toTransform)6310 void transform_fromhost_VkRenderingFragmentShadingRateAttachmentInfoKHR(
6311     VkDecoderGlobalState* resourceTracker,
6312     VkRenderingFragmentShadingRateAttachmentInfoKHR* toTransform) {
6313     (void)resourceTracker;
6314     (void)toTransform;
6315     if (toTransform->pNext) {
6316         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6317     }
6318     transform_fromhost_VkExtent2D(resourceTracker,
6319                                   (VkExtent2D*)(&toTransform->shadingRateAttachmentTexelSize));
6320 }
6321 
transform_tohost_VkRenderingFragmentDensityMapAttachmentInfoEXT(VkDecoderGlobalState * resourceTracker,VkRenderingFragmentDensityMapAttachmentInfoEXT * toTransform)6322 void transform_tohost_VkRenderingFragmentDensityMapAttachmentInfoEXT(
6323     VkDecoderGlobalState* resourceTracker,
6324     VkRenderingFragmentDensityMapAttachmentInfoEXT* toTransform) {
6325     (void)resourceTracker;
6326     (void)toTransform;
6327     if (toTransform->pNext) {
6328         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6329     }
6330 }
6331 
transform_fromhost_VkRenderingFragmentDensityMapAttachmentInfoEXT(VkDecoderGlobalState * resourceTracker,VkRenderingFragmentDensityMapAttachmentInfoEXT * toTransform)6332 void transform_fromhost_VkRenderingFragmentDensityMapAttachmentInfoEXT(
6333     VkDecoderGlobalState* resourceTracker,
6334     VkRenderingFragmentDensityMapAttachmentInfoEXT* toTransform) {
6335     (void)resourceTracker;
6336     (void)toTransform;
6337     if (toTransform->pNext) {
6338         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6339     }
6340 }
6341 
transform_tohost_VkAttachmentSampleCountInfoAMD(VkDecoderGlobalState * resourceTracker,VkAttachmentSampleCountInfoAMD * toTransform)6342 void transform_tohost_VkAttachmentSampleCountInfoAMD(VkDecoderGlobalState* resourceTracker,
6343                                                      VkAttachmentSampleCountInfoAMD* toTransform) {
6344     (void)resourceTracker;
6345     (void)toTransform;
6346     if (toTransform->pNext) {
6347         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6348     }
6349 }
6350 
transform_fromhost_VkAttachmentSampleCountInfoAMD(VkDecoderGlobalState * resourceTracker,VkAttachmentSampleCountInfoAMD * toTransform)6351 void transform_fromhost_VkAttachmentSampleCountInfoAMD(
6352     VkDecoderGlobalState* resourceTracker, VkAttachmentSampleCountInfoAMD* toTransform) {
6353     (void)resourceTracker;
6354     (void)toTransform;
6355     if (toTransform->pNext) {
6356         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6357     }
6358 }
6359 
transform_tohost_VkMultiviewPerViewAttributesInfoNVX(VkDecoderGlobalState * resourceTracker,VkMultiviewPerViewAttributesInfoNVX * toTransform)6360 void transform_tohost_VkMultiviewPerViewAttributesInfoNVX(
6361     VkDecoderGlobalState* resourceTracker, VkMultiviewPerViewAttributesInfoNVX* toTransform) {
6362     (void)resourceTracker;
6363     (void)toTransform;
6364     if (toTransform->pNext) {
6365         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6366     }
6367 }
6368 
transform_fromhost_VkMultiviewPerViewAttributesInfoNVX(VkDecoderGlobalState * resourceTracker,VkMultiviewPerViewAttributesInfoNVX * toTransform)6369 void transform_fromhost_VkMultiviewPerViewAttributesInfoNVX(
6370     VkDecoderGlobalState* resourceTracker, VkMultiviewPerViewAttributesInfoNVX* toTransform) {
6371     (void)resourceTracker;
6372     (void)toTransform;
6373     if (toTransform->pNext) {
6374         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6375     }
6376 }
6377 
6378 #endif
6379 #ifdef VK_KHR_get_physical_device_properties2
6380 #endif
6381 #ifdef VK_KHR_maintenance1
6382 #endif
6383 #ifdef VK_KHR_external_memory_capabilities
6384 #endif
6385 #ifdef VK_KHR_external_memory
6386 #endif
6387 #ifdef VK_KHR_external_memory_win32
6388 #endif
6389 #ifdef VK_KHR_external_memory_fd
6390 #endif
6391 #ifdef VK_KHR_external_semaphore_capabilities
6392 #endif
6393 #ifdef VK_KHR_external_semaphore
6394 #endif
6395 #ifdef VK_KHR_external_semaphore_win32
6396 #endif
6397 #ifdef VK_KHR_external_semaphore_fd
transform_tohost_VkImportSemaphoreFdInfoKHR(VkDecoderGlobalState * resourceTracker,VkImportSemaphoreFdInfoKHR * toTransform)6398 void transform_tohost_VkImportSemaphoreFdInfoKHR(VkDecoderGlobalState* resourceTracker,
6399                                                  VkImportSemaphoreFdInfoKHR* toTransform) {
6400     (void)resourceTracker;
6401     (void)toTransform;
6402     if (toTransform->pNext) {
6403         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6404     }
6405 }
6406 
transform_fromhost_VkImportSemaphoreFdInfoKHR(VkDecoderGlobalState * resourceTracker,VkImportSemaphoreFdInfoKHR * toTransform)6407 void transform_fromhost_VkImportSemaphoreFdInfoKHR(VkDecoderGlobalState* resourceTracker,
6408                                                    VkImportSemaphoreFdInfoKHR* toTransform) {
6409     (void)resourceTracker;
6410     (void)toTransform;
6411     if (toTransform->pNext) {
6412         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6413     }
6414 }
6415 
transform_tohost_VkSemaphoreGetFdInfoKHR(VkDecoderGlobalState * resourceTracker,VkSemaphoreGetFdInfoKHR * toTransform)6416 void transform_tohost_VkSemaphoreGetFdInfoKHR(VkDecoderGlobalState* resourceTracker,
6417                                               VkSemaphoreGetFdInfoKHR* toTransform) {
6418     (void)resourceTracker;
6419     (void)toTransform;
6420     if (toTransform->pNext) {
6421         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6422     }
6423 }
6424 
transform_fromhost_VkSemaphoreGetFdInfoKHR(VkDecoderGlobalState * resourceTracker,VkSemaphoreGetFdInfoKHR * toTransform)6425 void transform_fromhost_VkSemaphoreGetFdInfoKHR(VkDecoderGlobalState* resourceTracker,
6426                                                 VkSemaphoreGetFdInfoKHR* toTransform) {
6427     (void)resourceTracker;
6428     (void)toTransform;
6429     if (toTransform->pNext) {
6430         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6431     }
6432 }
6433 
6434 #endif
6435 #ifdef VK_KHR_shader_float16_int8
6436 #endif
6437 #ifdef VK_KHR_incremental_present
transform_tohost_VkRectLayerKHR(VkDecoderGlobalState * resourceTracker,VkRectLayerKHR * toTransform)6438 void transform_tohost_VkRectLayerKHR(VkDecoderGlobalState* resourceTracker,
6439                                      VkRectLayerKHR* toTransform) {
6440     (void)resourceTracker;
6441     (void)toTransform;
6442     transform_tohost_VkOffset2D(resourceTracker, (VkOffset2D*)(&toTransform->offset));
6443     transform_tohost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->extent));
6444 }
6445 
transform_fromhost_VkRectLayerKHR(VkDecoderGlobalState * resourceTracker,VkRectLayerKHR * toTransform)6446 void transform_fromhost_VkRectLayerKHR(VkDecoderGlobalState* resourceTracker,
6447                                        VkRectLayerKHR* toTransform) {
6448     (void)resourceTracker;
6449     (void)toTransform;
6450     transform_fromhost_VkOffset2D(resourceTracker, (VkOffset2D*)(&toTransform->offset));
6451     transform_fromhost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->extent));
6452 }
6453 
transform_tohost_VkPresentRegionKHR(VkDecoderGlobalState * resourceTracker,VkPresentRegionKHR * toTransform)6454 void transform_tohost_VkPresentRegionKHR(VkDecoderGlobalState* resourceTracker,
6455                                          VkPresentRegionKHR* toTransform) {
6456     (void)resourceTracker;
6457     (void)toTransform;
6458     if (toTransform) {
6459         if (toTransform->pRectangles) {
6460             for (uint32_t i = 0; i < (uint32_t)toTransform->rectangleCount; ++i) {
6461                 transform_tohost_VkRectLayerKHR(resourceTracker,
6462                                                 (VkRectLayerKHR*)(toTransform->pRectangles + i));
6463             }
6464         }
6465     }
6466 }
6467 
transform_fromhost_VkPresentRegionKHR(VkDecoderGlobalState * resourceTracker,VkPresentRegionKHR * toTransform)6468 void transform_fromhost_VkPresentRegionKHR(VkDecoderGlobalState* resourceTracker,
6469                                            VkPresentRegionKHR* toTransform) {
6470     (void)resourceTracker;
6471     (void)toTransform;
6472     if (toTransform) {
6473         if (toTransform->pRectangles) {
6474             for (uint32_t i = 0; i < (uint32_t)toTransform->rectangleCount; ++i) {
6475                 transform_fromhost_VkRectLayerKHR(resourceTracker,
6476                                                   (VkRectLayerKHR*)(toTransform->pRectangles + i));
6477             }
6478         }
6479     }
6480 }
6481 
transform_tohost_VkPresentRegionsKHR(VkDecoderGlobalState * resourceTracker,VkPresentRegionsKHR * toTransform)6482 void transform_tohost_VkPresentRegionsKHR(VkDecoderGlobalState* resourceTracker,
6483                                           VkPresentRegionsKHR* toTransform) {
6484     (void)resourceTracker;
6485     (void)toTransform;
6486     if (toTransform->pNext) {
6487         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6488     }
6489     if (toTransform) {
6490         if (toTransform->pRegions) {
6491             for (uint32_t i = 0; i < (uint32_t)toTransform->swapchainCount; ++i) {
6492                 transform_tohost_VkPresentRegionKHR(
6493                     resourceTracker, (VkPresentRegionKHR*)(toTransform->pRegions + i));
6494             }
6495         }
6496     }
6497 }
6498 
transform_fromhost_VkPresentRegionsKHR(VkDecoderGlobalState * resourceTracker,VkPresentRegionsKHR * toTransform)6499 void transform_fromhost_VkPresentRegionsKHR(VkDecoderGlobalState* resourceTracker,
6500                                             VkPresentRegionsKHR* toTransform) {
6501     (void)resourceTracker;
6502     (void)toTransform;
6503     if (toTransform->pNext) {
6504         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6505     }
6506     if (toTransform) {
6507         if (toTransform->pRegions) {
6508             for (uint32_t i = 0; i < (uint32_t)toTransform->swapchainCount; ++i) {
6509                 transform_fromhost_VkPresentRegionKHR(
6510                     resourceTracker, (VkPresentRegionKHR*)(toTransform->pRegions + i));
6511             }
6512         }
6513     }
6514 }
6515 
6516 #endif
6517 #ifdef VK_KHR_descriptor_update_template
6518 #endif
6519 #ifdef VK_KHR_imageless_framebuffer
6520 #endif
6521 #ifdef VK_KHR_create_renderpass2
6522 #endif
6523 #ifdef VK_KHR_external_fence_capabilities
6524 #endif
6525 #ifdef VK_KHR_external_fence
6526 #endif
6527 #ifdef VK_KHR_external_fence_fd
transform_tohost_VkImportFenceFdInfoKHR(VkDecoderGlobalState * resourceTracker,VkImportFenceFdInfoKHR * toTransform)6528 void transform_tohost_VkImportFenceFdInfoKHR(VkDecoderGlobalState* resourceTracker,
6529                                              VkImportFenceFdInfoKHR* toTransform) {
6530     (void)resourceTracker;
6531     (void)toTransform;
6532     if (toTransform->pNext) {
6533         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6534     }
6535 }
6536 
transform_fromhost_VkImportFenceFdInfoKHR(VkDecoderGlobalState * resourceTracker,VkImportFenceFdInfoKHR * toTransform)6537 void transform_fromhost_VkImportFenceFdInfoKHR(VkDecoderGlobalState* resourceTracker,
6538                                                VkImportFenceFdInfoKHR* toTransform) {
6539     (void)resourceTracker;
6540     (void)toTransform;
6541     if (toTransform->pNext) {
6542         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6543     }
6544 }
6545 
transform_tohost_VkFenceGetFdInfoKHR(VkDecoderGlobalState * resourceTracker,VkFenceGetFdInfoKHR * toTransform)6546 void transform_tohost_VkFenceGetFdInfoKHR(VkDecoderGlobalState* resourceTracker,
6547                                           VkFenceGetFdInfoKHR* toTransform) {
6548     (void)resourceTracker;
6549     (void)toTransform;
6550     if (toTransform->pNext) {
6551         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6552     }
6553 }
6554 
transform_fromhost_VkFenceGetFdInfoKHR(VkDecoderGlobalState * resourceTracker,VkFenceGetFdInfoKHR * toTransform)6555 void transform_fromhost_VkFenceGetFdInfoKHR(VkDecoderGlobalState* resourceTracker,
6556                                             VkFenceGetFdInfoKHR* toTransform) {
6557     (void)resourceTracker;
6558     (void)toTransform;
6559     if (toTransform->pNext) {
6560         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6561     }
6562 }
6563 
6564 #endif
6565 #ifdef VK_KHR_maintenance2
6566 #endif
6567 #ifdef VK_KHR_dedicated_allocation
6568 #endif
6569 #ifdef VK_KHR_storage_buffer_storage_class
6570 #endif
6571 #ifdef VK_KHR_get_memory_requirements2
6572 #endif
6573 #ifdef VK_KHR_image_format_list
6574 #endif
6575 #ifdef VK_KHR_sampler_ycbcr_conversion
6576 #endif
6577 #ifdef VK_KHR_bind_memory2
6578 #endif
6579 #ifdef VK_KHR_maintenance3
6580 #endif
6581 #ifdef VK_KHR_shader_subgroup_extended_types
6582 #endif
6583 #ifdef VK_KHR_vulkan_memory_model
6584 #endif
6585 #ifdef VK_KHR_shader_terminate_invocation
6586 #endif
6587 #ifdef VK_KHR_buffer_device_address
6588 #endif
6589 #ifdef VK_KHR_pipeline_executable_properties
transform_tohost_VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR(VkDecoderGlobalState * resourceTracker,VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR * toTransform)6590 void transform_tohost_VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR(
6591     VkDecoderGlobalState* resourceTracker,
6592     VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR* toTransform) {
6593     (void)resourceTracker;
6594     (void)toTransform;
6595     if (toTransform->pNext) {
6596         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6597     }
6598 }
6599 
transform_fromhost_VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR(VkDecoderGlobalState * resourceTracker,VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR * toTransform)6600 void transform_fromhost_VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR(
6601     VkDecoderGlobalState* resourceTracker,
6602     VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR* toTransform) {
6603     (void)resourceTracker;
6604     (void)toTransform;
6605     if (toTransform->pNext) {
6606         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6607     }
6608 }
6609 
transform_tohost_VkPipelineInfoKHR(VkDecoderGlobalState * resourceTracker,VkPipelineInfoKHR * toTransform)6610 void transform_tohost_VkPipelineInfoKHR(VkDecoderGlobalState* resourceTracker,
6611                                         VkPipelineInfoKHR* toTransform) {
6612     (void)resourceTracker;
6613     (void)toTransform;
6614     if (toTransform->pNext) {
6615         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6616     }
6617 }
6618 
transform_fromhost_VkPipelineInfoKHR(VkDecoderGlobalState * resourceTracker,VkPipelineInfoKHR * toTransform)6619 void transform_fromhost_VkPipelineInfoKHR(VkDecoderGlobalState* resourceTracker,
6620                                           VkPipelineInfoKHR* toTransform) {
6621     (void)resourceTracker;
6622     (void)toTransform;
6623     if (toTransform->pNext) {
6624         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6625     }
6626 }
6627 
transform_tohost_VkPipelineExecutablePropertiesKHR(VkDecoderGlobalState * resourceTracker,VkPipelineExecutablePropertiesKHR * toTransform)6628 void transform_tohost_VkPipelineExecutablePropertiesKHR(
6629     VkDecoderGlobalState* resourceTracker, VkPipelineExecutablePropertiesKHR* toTransform) {
6630     (void)resourceTracker;
6631     (void)toTransform;
6632     if (toTransform->pNext) {
6633         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6634     }
6635 }
6636 
transform_fromhost_VkPipelineExecutablePropertiesKHR(VkDecoderGlobalState * resourceTracker,VkPipelineExecutablePropertiesKHR * toTransform)6637 void transform_fromhost_VkPipelineExecutablePropertiesKHR(
6638     VkDecoderGlobalState* resourceTracker, VkPipelineExecutablePropertiesKHR* toTransform) {
6639     (void)resourceTracker;
6640     (void)toTransform;
6641     if (toTransform->pNext) {
6642         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6643     }
6644 }
6645 
transform_tohost_VkPipelineExecutableInfoKHR(VkDecoderGlobalState * resourceTracker,VkPipelineExecutableInfoKHR * toTransform)6646 void transform_tohost_VkPipelineExecutableInfoKHR(VkDecoderGlobalState* resourceTracker,
6647                                                   VkPipelineExecutableInfoKHR* toTransform) {
6648     (void)resourceTracker;
6649     (void)toTransform;
6650     if (toTransform->pNext) {
6651         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6652     }
6653 }
6654 
transform_fromhost_VkPipelineExecutableInfoKHR(VkDecoderGlobalState * resourceTracker,VkPipelineExecutableInfoKHR * toTransform)6655 void transform_fromhost_VkPipelineExecutableInfoKHR(VkDecoderGlobalState* resourceTracker,
6656                                                     VkPipelineExecutableInfoKHR* toTransform) {
6657     (void)resourceTracker;
6658     (void)toTransform;
6659     if (toTransform->pNext) {
6660         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6661     }
6662 }
6663 
transform_tohost_VkPipelineExecutableStatisticValueKHR(VkDecoderGlobalState * resourceTracker,VkPipelineExecutableStatisticValueKHR * toTransform)6664 void transform_tohost_VkPipelineExecutableStatisticValueKHR(
6665     VkDecoderGlobalState* resourceTracker, VkPipelineExecutableStatisticValueKHR* toTransform) {
6666     (void)resourceTracker;
6667     (void)toTransform;
6668 }
6669 
transform_fromhost_VkPipelineExecutableStatisticValueKHR(VkDecoderGlobalState * resourceTracker,VkPipelineExecutableStatisticValueKHR * toTransform)6670 void transform_fromhost_VkPipelineExecutableStatisticValueKHR(
6671     VkDecoderGlobalState* resourceTracker, VkPipelineExecutableStatisticValueKHR* toTransform) {
6672     (void)resourceTracker;
6673     (void)toTransform;
6674 }
6675 
transform_tohost_VkPipelineExecutableStatisticKHR(VkDecoderGlobalState * resourceTracker,VkPipelineExecutableStatisticKHR * toTransform)6676 void transform_tohost_VkPipelineExecutableStatisticKHR(
6677     VkDecoderGlobalState* resourceTracker, VkPipelineExecutableStatisticKHR* toTransform) {
6678     (void)resourceTracker;
6679     (void)toTransform;
6680     if (toTransform->pNext) {
6681         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6682     }
6683     transform_tohost_VkPipelineExecutableStatisticValueKHR(
6684         resourceTracker, (VkPipelineExecutableStatisticValueKHR*)(&toTransform->value));
6685 }
6686 
transform_fromhost_VkPipelineExecutableStatisticKHR(VkDecoderGlobalState * resourceTracker,VkPipelineExecutableStatisticKHR * toTransform)6687 void transform_fromhost_VkPipelineExecutableStatisticKHR(
6688     VkDecoderGlobalState* resourceTracker, VkPipelineExecutableStatisticKHR* toTransform) {
6689     (void)resourceTracker;
6690     (void)toTransform;
6691     if (toTransform->pNext) {
6692         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6693     }
6694     transform_fromhost_VkPipelineExecutableStatisticValueKHR(
6695         resourceTracker, (VkPipelineExecutableStatisticValueKHR*)(&toTransform->value));
6696 }
6697 
transform_tohost_VkPipelineExecutableInternalRepresentationKHR(VkDecoderGlobalState * resourceTracker,VkPipelineExecutableInternalRepresentationKHR * toTransform)6698 void transform_tohost_VkPipelineExecutableInternalRepresentationKHR(
6699     VkDecoderGlobalState* resourceTracker,
6700     VkPipelineExecutableInternalRepresentationKHR* toTransform) {
6701     (void)resourceTracker;
6702     (void)toTransform;
6703     if (toTransform->pNext) {
6704         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6705     }
6706 }
6707 
transform_fromhost_VkPipelineExecutableInternalRepresentationKHR(VkDecoderGlobalState * resourceTracker,VkPipelineExecutableInternalRepresentationKHR * toTransform)6708 void transform_fromhost_VkPipelineExecutableInternalRepresentationKHR(
6709     VkDecoderGlobalState* resourceTracker,
6710     VkPipelineExecutableInternalRepresentationKHR* toTransform) {
6711     (void)resourceTracker;
6712     (void)toTransform;
6713     if (toTransform->pNext) {
6714         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6715     }
6716 }
6717 
6718 #endif
6719 #ifdef VK_KHR_shader_integer_dot_product
6720 #endif
6721 #ifdef VK_KHR_shader_non_semantic_info
6722 #endif
6723 #ifdef VK_KHR_synchronization2
transform_tohost_VkQueueFamilyCheckpointProperties2NV(VkDecoderGlobalState * resourceTracker,VkQueueFamilyCheckpointProperties2NV * toTransform)6724 void transform_tohost_VkQueueFamilyCheckpointProperties2NV(
6725     VkDecoderGlobalState* resourceTracker, VkQueueFamilyCheckpointProperties2NV* toTransform) {
6726     (void)resourceTracker;
6727     (void)toTransform;
6728     if (toTransform->pNext) {
6729         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6730     }
6731 }
6732 
transform_fromhost_VkQueueFamilyCheckpointProperties2NV(VkDecoderGlobalState * resourceTracker,VkQueueFamilyCheckpointProperties2NV * toTransform)6733 void transform_fromhost_VkQueueFamilyCheckpointProperties2NV(
6734     VkDecoderGlobalState* resourceTracker, VkQueueFamilyCheckpointProperties2NV* toTransform) {
6735     (void)resourceTracker;
6736     (void)toTransform;
6737     if (toTransform->pNext) {
6738         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6739     }
6740 }
6741 
transform_tohost_VkCheckpointData2NV(VkDecoderGlobalState * resourceTracker,VkCheckpointData2NV * toTransform)6742 void transform_tohost_VkCheckpointData2NV(VkDecoderGlobalState* resourceTracker,
6743                                           VkCheckpointData2NV* toTransform) {
6744     (void)resourceTracker;
6745     (void)toTransform;
6746     if (toTransform->pNext) {
6747         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6748     }
6749 }
6750 
transform_fromhost_VkCheckpointData2NV(VkDecoderGlobalState * resourceTracker,VkCheckpointData2NV * toTransform)6751 void transform_fromhost_VkCheckpointData2NV(VkDecoderGlobalState* resourceTracker,
6752                                             VkCheckpointData2NV* toTransform) {
6753     (void)resourceTracker;
6754     (void)toTransform;
6755     if (toTransform->pNext) {
6756         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6757     }
6758 }
6759 
6760 #endif
6761 #ifdef VK_KHR_zero_initialize_workgroup_memory
6762 #endif
6763 #ifdef VK_KHR_copy_commands2
6764 #endif
6765 #ifdef VK_KHR_format_feature_flags2
6766 #endif
6767 #ifdef VK_KHR_maintenance4
6768 #endif
6769 #ifdef VK_KHR_maintenance5
transform_tohost_VkPhysicalDeviceMaintenance5FeaturesKHR(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceMaintenance5FeaturesKHR * toTransform)6770 void transform_tohost_VkPhysicalDeviceMaintenance5FeaturesKHR(
6771     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceMaintenance5FeaturesKHR* toTransform) {
6772     (void)resourceTracker;
6773     (void)toTransform;
6774     if (toTransform->pNext) {
6775         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6776     }
6777 }
6778 
transform_fromhost_VkPhysicalDeviceMaintenance5FeaturesKHR(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceMaintenance5FeaturesKHR * toTransform)6779 void transform_fromhost_VkPhysicalDeviceMaintenance5FeaturesKHR(
6780     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceMaintenance5FeaturesKHR* toTransform) {
6781     (void)resourceTracker;
6782     (void)toTransform;
6783     if (toTransform->pNext) {
6784         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6785     }
6786 }
6787 
transform_tohost_VkPhysicalDeviceMaintenance5PropertiesKHR(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceMaintenance5PropertiesKHR * toTransform)6788 void transform_tohost_VkPhysicalDeviceMaintenance5PropertiesKHR(
6789     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceMaintenance5PropertiesKHR* toTransform) {
6790     (void)resourceTracker;
6791     (void)toTransform;
6792     if (toTransform->pNext) {
6793         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6794     }
6795 }
6796 
transform_fromhost_VkPhysicalDeviceMaintenance5PropertiesKHR(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceMaintenance5PropertiesKHR * toTransform)6797 void transform_fromhost_VkPhysicalDeviceMaintenance5PropertiesKHR(
6798     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceMaintenance5PropertiesKHR* toTransform) {
6799     (void)resourceTracker;
6800     (void)toTransform;
6801     if (toTransform->pNext) {
6802         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6803     }
6804 }
6805 
transform_tohost_VkRenderingAreaInfoKHR(VkDecoderGlobalState * resourceTracker,VkRenderingAreaInfoKHR * toTransform)6806 void transform_tohost_VkRenderingAreaInfoKHR(VkDecoderGlobalState* resourceTracker,
6807                                              VkRenderingAreaInfoKHR* toTransform) {
6808     (void)resourceTracker;
6809     (void)toTransform;
6810     if (toTransform->pNext) {
6811         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6812     }
6813 }
6814 
transform_fromhost_VkRenderingAreaInfoKHR(VkDecoderGlobalState * resourceTracker,VkRenderingAreaInfoKHR * toTransform)6815 void transform_fromhost_VkRenderingAreaInfoKHR(VkDecoderGlobalState* resourceTracker,
6816                                                VkRenderingAreaInfoKHR* toTransform) {
6817     (void)resourceTracker;
6818     (void)toTransform;
6819     if (toTransform->pNext) {
6820         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6821     }
6822 }
6823 
transform_tohost_VkImageSubresource2KHR(VkDecoderGlobalState * resourceTracker,VkImageSubresource2KHR * toTransform)6824 void transform_tohost_VkImageSubresource2KHR(VkDecoderGlobalState* resourceTracker,
6825                                              VkImageSubresource2KHR* toTransform) {
6826     (void)resourceTracker;
6827     (void)toTransform;
6828     if (toTransform->pNext) {
6829         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6830     }
6831     transform_tohost_VkImageSubresource(resourceTracker,
6832                                         (VkImageSubresource*)(&toTransform->imageSubresource));
6833 }
6834 
transform_fromhost_VkImageSubresource2KHR(VkDecoderGlobalState * resourceTracker,VkImageSubresource2KHR * toTransform)6835 void transform_fromhost_VkImageSubresource2KHR(VkDecoderGlobalState* resourceTracker,
6836                                                VkImageSubresource2KHR* toTransform) {
6837     (void)resourceTracker;
6838     (void)toTransform;
6839     if (toTransform->pNext) {
6840         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6841     }
6842     transform_fromhost_VkImageSubresource(resourceTracker,
6843                                           (VkImageSubresource*)(&toTransform->imageSubresource));
6844 }
6845 
transform_tohost_VkDeviceImageSubresourceInfoKHR(VkDecoderGlobalState * resourceTracker,VkDeviceImageSubresourceInfoKHR * toTransform)6846 void transform_tohost_VkDeviceImageSubresourceInfoKHR(
6847     VkDecoderGlobalState* resourceTracker, VkDeviceImageSubresourceInfoKHR* toTransform) {
6848     (void)resourceTracker;
6849     (void)toTransform;
6850     if (toTransform->pNext) {
6851         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6852     }
6853     if (toTransform->pCreateInfo) {
6854         resourceTracker->transformImpl_VkImageCreateInfo_tohost(toTransform->pCreateInfo, 1);
6855         transform_tohost_VkImageCreateInfo(resourceTracker,
6856                                            (VkImageCreateInfo*)(toTransform->pCreateInfo));
6857     }
6858     if (toTransform->pSubresource) {
6859         transform_tohost_VkImageSubresource2KHR(
6860             resourceTracker, (VkImageSubresource2KHR*)(toTransform->pSubresource));
6861     }
6862 }
6863 
transform_fromhost_VkDeviceImageSubresourceInfoKHR(VkDecoderGlobalState * resourceTracker,VkDeviceImageSubresourceInfoKHR * toTransform)6864 void transform_fromhost_VkDeviceImageSubresourceInfoKHR(
6865     VkDecoderGlobalState* resourceTracker, VkDeviceImageSubresourceInfoKHR* toTransform) {
6866     (void)resourceTracker;
6867     (void)toTransform;
6868     if (toTransform->pNext) {
6869         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6870     }
6871     if (toTransform->pCreateInfo) {
6872         resourceTracker->transformImpl_VkImageCreateInfo_fromhost(toTransform->pCreateInfo, 1);
6873         transform_fromhost_VkImageCreateInfo(resourceTracker,
6874                                              (VkImageCreateInfo*)(toTransform->pCreateInfo));
6875     }
6876     if (toTransform->pSubresource) {
6877         transform_fromhost_VkImageSubresource2KHR(
6878             resourceTracker, (VkImageSubresource2KHR*)(toTransform->pSubresource));
6879     }
6880 }
6881 
transform_tohost_VkSubresourceLayout2KHR(VkDecoderGlobalState * resourceTracker,VkSubresourceLayout2KHR * toTransform)6882 void transform_tohost_VkSubresourceLayout2KHR(VkDecoderGlobalState* resourceTracker,
6883                                               VkSubresourceLayout2KHR* toTransform) {
6884     (void)resourceTracker;
6885     (void)toTransform;
6886     if (toTransform->pNext) {
6887         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6888     }
6889     transform_tohost_VkSubresourceLayout(resourceTracker,
6890                                          (VkSubresourceLayout*)(&toTransform->subresourceLayout));
6891 }
6892 
transform_fromhost_VkSubresourceLayout2KHR(VkDecoderGlobalState * resourceTracker,VkSubresourceLayout2KHR * toTransform)6893 void transform_fromhost_VkSubresourceLayout2KHR(VkDecoderGlobalState* resourceTracker,
6894                                                 VkSubresourceLayout2KHR* toTransform) {
6895     (void)resourceTracker;
6896     (void)toTransform;
6897     if (toTransform->pNext) {
6898         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6899     }
6900     transform_fromhost_VkSubresourceLayout(resourceTracker,
6901                                            (VkSubresourceLayout*)(&toTransform->subresourceLayout));
6902 }
6903 
transform_tohost_VkPipelineCreateFlags2CreateInfoKHR(VkDecoderGlobalState * resourceTracker,VkPipelineCreateFlags2CreateInfoKHR * toTransform)6904 void transform_tohost_VkPipelineCreateFlags2CreateInfoKHR(
6905     VkDecoderGlobalState* resourceTracker, VkPipelineCreateFlags2CreateInfoKHR* toTransform) {
6906     (void)resourceTracker;
6907     (void)toTransform;
6908     if (toTransform->pNext) {
6909         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6910     }
6911 }
6912 
transform_fromhost_VkPipelineCreateFlags2CreateInfoKHR(VkDecoderGlobalState * resourceTracker,VkPipelineCreateFlags2CreateInfoKHR * toTransform)6913 void transform_fromhost_VkPipelineCreateFlags2CreateInfoKHR(
6914     VkDecoderGlobalState* resourceTracker, VkPipelineCreateFlags2CreateInfoKHR* toTransform) {
6915     (void)resourceTracker;
6916     (void)toTransform;
6917     if (toTransform->pNext) {
6918         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6919     }
6920 }
6921 
transform_tohost_VkBufferUsageFlags2CreateInfoKHR(VkDecoderGlobalState * resourceTracker,VkBufferUsageFlags2CreateInfoKHR * toTransform)6922 void transform_tohost_VkBufferUsageFlags2CreateInfoKHR(
6923     VkDecoderGlobalState* resourceTracker, VkBufferUsageFlags2CreateInfoKHR* toTransform) {
6924     (void)resourceTracker;
6925     (void)toTransform;
6926     if (toTransform->pNext) {
6927         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6928     }
6929 }
6930 
transform_fromhost_VkBufferUsageFlags2CreateInfoKHR(VkDecoderGlobalState * resourceTracker,VkBufferUsageFlags2CreateInfoKHR * toTransform)6931 void transform_fromhost_VkBufferUsageFlags2CreateInfoKHR(
6932     VkDecoderGlobalState* resourceTracker, VkBufferUsageFlags2CreateInfoKHR* toTransform) {
6933     (void)resourceTracker;
6934     (void)toTransform;
6935     if (toTransform->pNext) {
6936         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6937     }
6938 }
6939 
6940 #endif
6941 #ifdef VK_ANDROID_native_buffer
transform_tohost_VkNativeBufferUsage2ANDROID(VkDecoderGlobalState * resourceTracker,VkNativeBufferUsage2ANDROID * toTransform)6942 void transform_tohost_VkNativeBufferUsage2ANDROID(VkDecoderGlobalState* resourceTracker,
6943                                                   VkNativeBufferUsage2ANDROID* toTransform) {
6944     (void)resourceTracker;
6945     (void)toTransform;
6946 }
6947 
transform_fromhost_VkNativeBufferUsage2ANDROID(VkDecoderGlobalState * resourceTracker,VkNativeBufferUsage2ANDROID * toTransform)6948 void transform_fromhost_VkNativeBufferUsage2ANDROID(VkDecoderGlobalState* resourceTracker,
6949                                                     VkNativeBufferUsage2ANDROID* toTransform) {
6950     (void)resourceTracker;
6951     (void)toTransform;
6952 }
6953 
transform_tohost_VkNativeBufferANDROID(VkDecoderGlobalState * resourceTracker,VkNativeBufferANDROID * toTransform)6954 void transform_tohost_VkNativeBufferANDROID(VkDecoderGlobalState* resourceTracker,
6955                                             VkNativeBufferANDROID* toTransform) {
6956     (void)resourceTracker;
6957     (void)toTransform;
6958     if (toTransform->pNext) {
6959         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6960     }
6961     transform_tohost_VkNativeBufferUsage2ANDROID(
6962         resourceTracker, (VkNativeBufferUsage2ANDROID*)(&toTransform->usage2));
6963 }
6964 
transform_fromhost_VkNativeBufferANDROID(VkDecoderGlobalState * resourceTracker,VkNativeBufferANDROID * toTransform)6965 void transform_fromhost_VkNativeBufferANDROID(VkDecoderGlobalState* resourceTracker,
6966                                               VkNativeBufferANDROID* toTransform) {
6967     (void)resourceTracker;
6968     (void)toTransform;
6969     if (toTransform->pNext) {
6970         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6971     }
6972     transform_fromhost_VkNativeBufferUsage2ANDROID(
6973         resourceTracker, (VkNativeBufferUsage2ANDROID*)(&toTransform->usage2));
6974 }
6975 
transform_tohost_VkSwapchainImageCreateInfoANDROID(VkDecoderGlobalState * resourceTracker,VkSwapchainImageCreateInfoANDROID * toTransform)6976 void transform_tohost_VkSwapchainImageCreateInfoANDROID(
6977     VkDecoderGlobalState* resourceTracker, VkSwapchainImageCreateInfoANDROID* toTransform) {
6978     (void)resourceTracker;
6979     (void)toTransform;
6980     if (toTransform->pNext) {
6981         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6982     }
6983 }
6984 
transform_fromhost_VkSwapchainImageCreateInfoANDROID(VkDecoderGlobalState * resourceTracker,VkSwapchainImageCreateInfoANDROID * toTransform)6985 void transform_fromhost_VkSwapchainImageCreateInfoANDROID(
6986     VkDecoderGlobalState* resourceTracker, VkSwapchainImageCreateInfoANDROID* toTransform) {
6987     (void)resourceTracker;
6988     (void)toTransform;
6989     if (toTransform->pNext) {
6990         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
6991     }
6992 }
6993 
transform_tohost_VkPhysicalDevicePresentationPropertiesANDROID(VkDecoderGlobalState * resourceTracker,VkPhysicalDevicePresentationPropertiesANDROID * toTransform)6994 void transform_tohost_VkPhysicalDevicePresentationPropertiesANDROID(
6995     VkDecoderGlobalState* resourceTracker,
6996     VkPhysicalDevicePresentationPropertiesANDROID* toTransform) {
6997     (void)resourceTracker;
6998     (void)toTransform;
6999     if (toTransform->pNext) {
7000         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7001     }
7002 }
7003 
transform_fromhost_VkPhysicalDevicePresentationPropertiesANDROID(VkDecoderGlobalState * resourceTracker,VkPhysicalDevicePresentationPropertiesANDROID * toTransform)7004 void transform_fromhost_VkPhysicalDevicePresentationPropertiesANDROID(
7005     VkDecoderGlobalState* resourceTracker,
7006     VkPhysicalDevicePresentationPropertiesANDROID* toTransform) {
7007     (void)resourceTracker;
7008     (void)toTransform;
7009     if (toTransform->pNext) {
7010         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7011     }
7012 }
7013 
7014 #endif
7015 #ifdef VK_EXT_transform_feedback
transform_tohost_VkPhysicalDeviceTransformFeedbackFeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceTransformFeedbackFeaturesEXT * toTransform)7016 void transform_tohost_VkPhysicalDeviceTransformFeedbackFeaturesEXT(
7017     VkDecoderGlobalState* resourceTracker,
7018     VkPhysicalDeviceTransformFeedbackFeaturesEXT* toTransform) {
7019     (void)resourceTracker;
7020     (void)toTransform;
7021     if (toTransform->pNext) {
7022         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7023     }
7024 }
7025 
transform_fromhost_VkPhysicalDeviceTransformFeedbackFeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceTransformFeedbackFeaturesEXT * toTransform)7026 void transform_fromhost_VkPhysicalDeviceTransformFeedbackFeaturesEXT(
7027     VkDecoderGlobalState* resourceTracker,
7028     VkPhysicalDeviceTransformFeedbackFeaturesEXT* toTransform) {
7029     (void)resourceTracker;
7030     (void)toTransform;
7031     if (toTransform->pNext) {
7032         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7033     }
7034 }
7035 
transform_tohost_VkPhysicalDeviceTransformFeedbackPropertiesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceTransformFeedbackPropertiesEXT * toTransform)7036 void transform_tohost_VkPhysicalDeviceTransformFeedbackPropertiesEXT(
7037     VkDecoderGlobalState* resourceTracker,
7038     VkPhysicalDeviceTransformFeedbackPropertiesEXT* toTransform) {
7039     (void)resourceTracker;
7040     (void)toTransform;
7041     if (toTransform->pNext) {
7042         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7043     }
7044 }
7045 
transform_fromhost_VkPhysicalDeviceTransformFeedbackPropertiesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceTransformFeedbackPropertiesEXT * toTransform)7046 void transform_fromhost_VkPhysicalDeviceTransformFeedbackPropertiesEXT(
7047     VkDecoderGlobalState* resourceTracker,
7048     VkPhysicalDeviceTransformFeedbackPropertiesEXT* toTransform) {
7049     (void)resourceTracker;
7050     (void)toTransform;
7051     if (toTransform->pNext) {
7052         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7053     }
7054 }
7055 
transform_tohost_VkPipelineRasterizationStateStreamCreateInfoEXT(VkDecoderGlobalState * resourceTracker,VkPipelineRasterizationStateStreamCreateInfoEXT * toTransform)7056 void transform_tohost_VkPipelineRasterizationStateStreamCreateInfoEXT(
7057     VkDecoderGlobalState* resourceTracker,
7058     VkPipelineRasterizationStateStreamCreateInfoEXT* toTransform) {
7059     (void)resourceTracker;
7060     (void)toTransform;
7061     if (toTransform->pNext) {
7062         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7063     }
7064 }
7065 
transform_fromhost_VkPipelineRasterizationStateStreamCreateInfoEXT(VkDecoderGlobalState * resourceTracker,VkPipelineRasterizationStateStreamCreateInfoEXT * toTransform)7066 void transform_fromhost_VkPipelineRasterizationStateStreamCreateInfoEXT(
7067     VkDecoderGlobalState* resourceTracker,
7068     VkPipelineRasterizationStateStreamCreateInfoEXT* toTransform) {
7069     (void)resourceTracker;
7070     (void)toTransform;
7071     if (toTransform->pNext) {
7072         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7073     }
7074 }
7075 
7076 #endif
7077 #ifdef VK_AMD_gpu_shader_half_float
7078 #endif
7079 #ifdef VK_EXT_texture_compression_astc_hdr
7080 #endif
7081 #ifdef VK_EXT_depth_clip_enable
transform_tohost_VkPhysicalDeviceDepthClipEnableFeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceDepthClipEnableFeaturesEXT * toTransform)7082 void transform_tohost_VkPhysicalDeviceDepthClipEnableFeaturesEXT(
7083     VkDecoderGlobalState* resourceTracker,
7084     VkPhysicalDeviceDepthClipEnableFeaturesEXT* toTransform) {
7085     (void)resourceTracker;
7086     (void)toTransform;
7087     if (toTransform->pNext) {
7088         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7089     }
7090 }
7091 
transform_fromhost_VkPhysicalDeviceDepthClipEnableFeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceDepthClipEnableFeaturesEXT * toTransform)7092 void transform_fromhost_VkPhysicalDeviceDepthClipEnableFeaturesEXT(
7093     VkDecoderGlobalState* resourceTracker,
7094     VkPhysicalDeviceDepthClipEnableFeaturesEXT* toTransform) {
7095     (void)resourceTracker;
7096     (void)toTransform;
7097     if (toTransform->pNext) {
7098         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7099     }
7100 }
7101 
transform_tohost_VkPipelineRasterizationDepthClipStateCreateInfoEXT(VkDecoderGlobalState * resourceTracker,VkPipelineRasterizationDepthClipStateCreateInfoEXT * toTransform)7102 void transform_tohost_VkPipelineRasterizationDepthClipStateCreateInfoEXT(
7103     VkDecoderGlobalState* resourceTracker,
7104     VkPipelineRasterizationDepthClipStateCreateInfoEXT* toTransform) {
7105     (void)resourceTracker;
7106     (void)toTransform;
7107     if (toTransform->pNext) {
7108         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7109     }
7110 }
7111 
transform_fromhost_VkPipelineRasterizationDepthClipStateCreateInfoEXT(VkDecoderGlobalState * resourceTracker,VkPipelineRasterizationDepthClipStateCreateInfoEXT * toTransform)7112 void transform_fromhost_VkPipelineRasterizationDepthClipStateCreateInfoEXT(
7113     VkDecoderGlobalState* resourceTracker,
7114     VkPipelineRasterizationDepthClipStateCreateInfoEXT* toTransform) {
7115     (void)resourceTracker;
7116     (void)toTransform;
7117     if (toTransform->pNext) {
7118         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7119     }
7120 }
7121 
7122 #endif
7123 #ifdef VK_EXT_swapchain_colorspace
7124 #endif
7125 #ifdef VK_MVK_moltenvk
7126 #endif
7127 #ifdef VK_EXT_queue_family_foreign
7128 #endif
7129 #ifdef VK_EXT_debug_utils
transform_tohost_VkDebugUtilsLabelEXT(VkDecoderGlobalState * resourceTracker,VkDebugUtilsLabelEXT * toTransform)7130 void transform_tohost_VkDebugUtilsLabelEXT(VkDecoderGlobalState* resourceTracker,
7131                                            VkDebugUtilsLabelEXT* toTransform) {
7132     (void)resourceTracker;
7133     (void)toTransform;
7134     if (toTransform->pNext) {
7135         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7136     }
7137 }
7138 
transform_fromhost_VkDebugUtilsLabelEXT(VkDecoderGlobalState * resourceTracker,VkDebugUtilsLabelEXT * toTransform)7139 void transform_fromhost_VkDebugUtilsLabelEXT(VkDecoderGlobalState* resourceTracker,
7140                                              VkDebugUtilsLabelEXT* toTransform) {
7141     (void)resourceTracker;
7142     (void)toTransform;
7143     if (toTransform->pNext) {
7144         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7145     }
7146 }
7147 
transform_tohost_VkDebugUtilsObjectNameInfoEXT(VkDecoderGlobalState * resourceTracker,VkDebugUtilsObjectNameInfoEXT * toTransform)7148 void transform_tohost_VkDebugUtilsObjectNameInfoEXT(VkDecoderGlobalState* resourceTracker,
7149                                                     VkDebugUtilsObjectNameInfoEXT* toTransform) {
7150     (void)resourceTracker;
7151     (void)toTransform;
7152     if (toTransform->pNext) {
7153         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7154     }
7155 }
7156 
transform_fromhost_VkDebugUtilsObjectNameInfoEXT(VkDecoderGlobalState * resourceTracker,VkDebugUtilsObjectNameInfoEXT * toTransform)7157 void transform_fromhost_VkDebugUtilsObjectNameInfoEXT(VkDecoderGlobalState* resourceTracker,
7158                                                       VkDebugUtilsObjectNameInfoEXT* toTransform) {
7159     (void)resourceTracker;
7160     (void)toTransform;
7161     if (toTransform->pNext) {
7162         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7163     }
7164 }
7165 
transform_tohost_VkDebugUtilsMessengerCallbackDataEXT(VkDecoderGlobalState * resourceTracker,VkDebugUtilsMessengerCallbackDataEXT * toTransform)7166 void transform_tohost_VkDebugUtilsMessengerCallbackDataEXT(
7167     VkDecoderGlobalState* resourceTracker, VkDebugUtilsMessengerCallbackDataEXT* toTransform) {
7168     (void)resourceTracker;
7169     (void)toTransform;
7170     if (toTransform->pNext) {
7171         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7172     }
7173     if (toTransform) {
7174         if (toTransform->pQueueLabels) {
7175             for (uint32_t i = 0; i < (uint32_t)toTransform->queueLabelCount; ++i) {
7176                 transform_tohost_VkDebugUtilsLabelEXT(
7177                     resourceTracker, (VkDebugUtilsLabelEXT*)(toTransform->pQueueLabels + i));
7178             }
7179         }
7180     }
7181     if (toTransform) {
7182         if (toTransform->pCmdBufLabels) {
7183             for (uint32_t i = 0; i < (uint32_t)toTransform->cmdBufLabelCount; ++i) {
7184                 transform_tohost_VkDebugUtilsLabelEXT(
7185                     resourceTracker, (VkDebugUtilsLabelEXT*)(toTransform->pCmdBufLabels + i));
7186             }
7187         }
7188     }
7189     if (toTransform) {
7190         if (toTransform->pObjects) {
7191             for (uint32_t i = 0; i < (uint32_t)toTransform->objectCount; ++i) {
7192                 transform_tohost_VkDebugUtilsObjectNameInfoEXT(
7193                     resourceTracker, (VkDebugUtilsObjectNameInfoEXT*)(toTransform->pObjects + i));
7194             }
7195         }
7196     }
7197 }
7198 
transform_fromhost_VkDebugUtilsMessengerCallbackDataEXT(VkDecoderGlobalState * resourceTracker,VkDebugUtilsMessengerCallbackDataEXT * toTransform)7199 void transform_fromhost_VkDebugUtilsMessengerCallbackDataEXT(
7200     VkDecoderGlobalState* resourceTracker, VkDebugUtilsMessengerCallbackDataEXT* toTransform) {
7201     (void)resourceTracker;
7202     (void)toTransform;
7203     if (toTransform->pNext) {
7204         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7205     }
7206     if (toTransform) {
7207         if (toTransform->pQueueLabels) {
7208             for (uint32_t i = 0; i < (uint32_t)toTransform->queueLabelCount; ++i) {
7209                 transform_fromhost_VkDebugUtilsLabelEXT(
7210                     resourceTracker, (VkDebugUtilsLabelEXT*)(toTransform->pQueueLabels + i));
7211             }
7212         }
7213     }
7214     if (toTransform) {
7215         if (toTransform->pCmdBufLabels) {
7216             for (uint32_t i = 0; i < (uint32_t)toTransform->cmdBufLabelCount; ++i) {
7217                 transform_fromhost_VkDebugUtilsLabelEXT(
7218                     resourceTracker, (VkDebugUtilsLabelEXT*)(toTransform->pCmdBufLabels + i));
7219             }
7220         }
7221     }
7222     if (toTransform) {
7223         if (toTransform->pObjects) {
7224             for (uint32_t i = 0; i < (uint32_t)toTransform->objectCount; ++i) {
7225                 transform_fromhost_VkDebugUtilsObjectNameInfoEXT(
7226                     resourceTracker, (VkDebugUtilsObjectNameInfoEXT*)(toTransform->pObjects + i));
7227             }
7228         }
7229     }
7230 }
7231 
transform_tohost_VkDebugUtilsMessengerCreateInfoEXT(VkDecoderGlobalState * resourceTracker,VkDebugUtilsMessengerCreateInfoEXT * toTransform)7232 void transform_tohost_VkDebugUtilsMessengerCreateInfoEXT(
7233     VkDecoderGlobalState* resourceTracker, VkDebugUtilsMessengerCreateInfoEXT* toTransform) {
7234     (void)resourceTracker;
7235     (void)toTransform;
7236     if (toTransform->pNext) {
7237         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7238     }
7239 }
7240 
transform_fromhost_VkDebugUtilsMessengerCreateInfoEXT(VkDecoderGlobalState * resourceTracker,VkDebugUtilsMessengerCreateInfoEXT * toTransform)7241 void transform_fromhost_VkDebugUtilsMessengerCreateInfoEXT(
7242     VkDecoderGlobalState* resourceTracker, VkDebugUtilsMessengerCreateInfoEXT* toTransform) {
7243     (void)resourceTracker;
7244     (void)toTransform;
7245     if (toTransform->pNext) {
7246         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7247     }
7248 }
7249 
transform_tohost_VkDebugUtilsObjectTagInfoEXT(VkDecoderGlobalState * resourceTracker,VkDebugUtilsObjectTagInfoEXT * toTransform)7250 void transform_tohost_VkDebugUtilsObjectTagInfoEXT(VkDecoderGlobalState* resourceTracker,
7251                                                    VkDebugUtilsObjectTagInfoEXT* toTransform) {
7252     (void)resourceTracker;
7253     (void)toTransform;
7254     if (toTransform->pNext) {
7255         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7256     }
7257 }
7258 
transform_fromhost_VkDebugUtilsObjectTagInfoEXT(VkDecoderGlobalState * resourceTracker,VkDebugUtilsObjectTagInfoEXT * toTransform)7259 void transform_fromhost_VkDebugUtilsObjectTagInfoEXT(VkDecoderGlobalState* resourceTracker,
7260                                                      VkDebugUtilsObjectTagInfoEXT* toTransform) {
7261     (void)resourceTracker;
7262     (void)toTransform;
7263     if (toTransform->pNext) {
7264         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7265     }
7266 }
7267 
7268 #endif
7269 #ifdef VK_ANDROID_external_memory_android_hardware_buffer
7270 #endif
7271 #ifdef VK_EXT_inline_uniform_block
7272 #endif
7273 #ifdef VK_EXT_shader_stencil_export
7274 #endif
7275 #ifdef VK_EXT_vertex_attribute_divisor
transform_tohost_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT * toTransform)7276 void transform_tohost_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT(
7277     VkDecoderGlobalState* resourceTracker,
7278     VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT* toTransform) {
7279     (void)resourceTracker;
7280     (void)toTransform;
7281     if (toTransform->pNext) {
7282         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7283     }
7284 }
7285 
transform_fromhost_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT * toTransform)7286 void transform_fromhost_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT(
7287     VkDecoderGlobalState* resourceTracker,
7288     VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT* toTransform) {
7289     (void)resourceTracker;
7290     (void)toTransform;
7291     if (toTransform->pNext) {
7292         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7293     }
7294 }
7295 
transform_tohost_VkVertexInputBindingDivisorDescriptionEXT(VkDecoderGlobalState * resourceTracker,VkVertexInputBindingDivisorDescriptionEXT * toTransform)7296 void transform_tohost_VkVertexInputBindingDivisorDescriptionEXT(
7297     VkDecoderGlobalState* resourceTracker, VkVertexInputBindingDivisorDescriptionEXT* toTransform) {
7298     (void)resourceTracker;
7299     (void)toTransform;
7300 }
7301 
transform_fromhost_VkVertexInputBindingDivisorDescriptionEXT(VkDecoderGlobalState * resourceTracker,VkVertexInputBindingDivisorDescriptionEXT * toTransform)7302 void transform_fromhost_VkVertexInputBindingDivisorDescriptionEXT(
7303     VkDecoderGlobalState* resourceTracker, VkVertexInputBindingDivisorDescriptionEXT* toTransform) {
7304     (void)resourceTracker;
7305     (void)toTransform;
7306 }
7307 
transform_tohost_VkPipelineVertexInputDivisorStateCreateInfoEXT(VkDecoderGlobalState * resourceTracker,VkPipelineVertexInputDivisorStateCreateInfoEXT * toTransform)7308 void transform_tohost_VkPipelineVertexInputDivisorStateCreateInfoEXT(
7309     VkDecoderGlobalState* resourceTracker,
7310     VkPipelineVertexInputDivisorStateCreateInfoEXT* toTransform) {
7311     (void)resourceTracker;
7312     (void)toTransform;
7313     if (toTransform->pNext) {
7314         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7315     }
7316     if (toTransform) {
7317         if (toTransform->pVertexBindingDivisors) {
7318             for (uint32_t i = 0; i < (uint32_t)toTransform->vertexBindingDivisorCount; ++i) {
7319                 transform_tohost_VkVertexInputBindingDivisorDescriptionEXT(
7320                     resourceTracker,
7321                     (VkVertexInputBindingDivisorDescriptionEXT*)(toTransform
7322                                                                      ->pVertexBindingDivisors +
7323                                                                  i));
7324             }
7325         }
7326     }
7327 }
7328 
transform_fromhost_VkPipelineVertexInputDivisorStateCreateInfoEXT(VkDecoderGlobalState * resourceTracker,VkPipelineVertexInputDivisorStateCreateInfoEXT * toTransform)7329 void transform_fromhost_VkPipelineVertexInputDivisorStateCreateInfoEXT(
7330     VkDecoderGlobalState* resourceTracker,
7331     VkPipelineVertexInputDivisorStateCreateInfoEXT* toTransform) {
7332     (void)resourceTracker;
7333     (void)toTransform;
7334     if (toTransform->pNext) {
7335         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7336     }
7337     if (toTransform) {
7338         if (toTransform->pVertexBindingDivisors) {
7339             for (uint32_t i = 0; i < (uint32_t)toTransform->vertexBindingDivisorCount; ++i) {
7340                 transform_fromhost_VkVertexInputBindingDivisorDescriptionEXT(
7341                     resourceTracker,
7342                     (VkVertexInputBindingDivisorDescriptionEXT*)(toTransform
7343                                                                      ->pVertexBindingDivisors +
7344                                                                  i));
7345             }
7346         }
7347     }
7348 }
7349 
transform_tohost_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT * toTransform)7350 void transform_tohost_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT(
7351     VkDecoderGlobalState* resourceTracker,
7352     VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT* toTransform) {
7353     (void)resourceTracker;
7354     (void)toTransform;
7355     if (toTransform->pNext) {
7356         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7357     }
7358 }
7359 
transform_fromhost_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT * toTransform)7360 void transform_fromhost_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT(
7361     VkDecoderGlobalState* resourceTracker,
7362     VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT* toTransform) {
7363     (void)resourceTracker;
7364     (void)toTransform;
7365     if (toTransform->pNext) {
7366         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7367     }
7368 }
7369 
7370 #endif
7371 #ifdef VK_EXT_pipeline_creation_feedback
7372 #endif
7373 #ifdef VK_NV_shader_subgroup_partitioned
7374 #endif
7375 #ifdef VK_EXT_metal_surface
7376 #endif
7377 #ifdef VK_EXT_fragment_density_map
transform_tohost_VkPhysicalDeviceFragmentDensityMapFeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceFragmentDensityMapFeaturesEXT * toTransform)7378 void transform_tohost_VkPhysicalDeviceFragmentDensityMapFeaturesEXT(
7379     VkDecoderGlobalState* resourceTracker,
7380     VkPhysicalDeviceFragmentDensityMapFeaturesEXT* toTransform) {
7381     (void)resourceTracker;
7382     (void)toTransform;
7383     if (toTransform->pNext) {
7384         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7385     }
7386 }
7387 
transform_fromhost_VkPhysicalDeviceFragmentDensityMapFeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceFragmentDensityMapFeaturesEXT * toTransform)7388 void transform_fromhost_VkPhysicalDeviceFragmentDensityMapFeaturesEXT(
7389     VkDecoderGlobalState* resourceTracker,
7390     VkPhysicalDeviceFragmentDensityMapFeaturesEXT* toTransform) {
7391     (void)resourceTracker;
7392     (void)toTransform;
7393     if (toTransform->pNext) {
7394         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7395     }
7396 }
7397 
transform_tohost_VkPhysicalDeviceFragmentDensityMapPropertiesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceFragmentDensityMapPropertiesEXT * toTransform)7398 void transform_tohost_VkPhysicalDeviceFragmentDensityMapPropertiesEXT(
7399     VkDecoderGlobalState* resourceTracker,
7400     VkPhysicalDeviceFragmentDensityMapPropertiesEXT* toTransform) {
7401     (void)resourceTracker;
7402     (void)toTransform;
7403     if (toTransform->pNext) {
7404         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7405     }
7406     transform_tohost_VkExtent2D(resourceTracker,
7407                                 (VkExtent2D*)(&toTransform->minFragmentDensityTexelSize));
7408     transform_tohost_VkExtent2D(resourceTracker,
7409                                 (VkExtent2D*)(&toTransform->maxFragmentDensityTexelSize));
7410 }
7411 
transform_fromhost_VkPhysicalDeviceFragmentDensityMapPropertiesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceFragmentDensityMapPropertiesEXT * toTransform)7412 void transform_fromhost_VkPhysicalDeviceFragmentDensityMapPropertiesEXT(
7413     VkDecoderGlobalState* resourceTracker,
7414     VkPhysicalDeviceFragmentDensityMapPropertiesEXT* toTransform) {
7415     (void)resourceTracker;
7416     (void)toTransform;
7417     if (toTransform->pNext) {
7418         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7419     }
7420     transform_fromhost_VkExtent2D(resourceTracker,
7421                                   (VkExtent2D*)(&toTransform->minFragmentDensityTexelSize));
7422     transform_fromhost_VkExtent2D(resourceTracker,
7423                                   (VkExtent2D*)(&toTransform->maxFragmentDensityTexelSize));
7424 }
7425 
transform_tohost_VkRenderPassFragmentDensityMapCreateInfoEXT(VkDecoderGlobalState * resourceTracker,VkRenderPassFragmentDensityMapCreateInfoEXT * toTransform)7426 void transform_tohost_VkRenderPassFragmentDensityMapCreateInfoEXT(
7427     VkDecoderGlobalState* resourceTracker,
7428     VkRenderPassFragmentDensityMapCreateInfoEXT* toTransform) {
7429     (void)resourceTracker;
7430     (void)toTransform;
7431     if (toTransform->pNext) {
7432         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7433     }
7434     transform_tohost_VkAttachmentReference(
7435         resourceTracker, (VkAttachmentReference*)(&toTransform->fragmentDensityMapAttachment));
7436 }
7437 
transform_fromhost_VkRenderPassFragmentDensityMapCreateInfoEXT(VkDecoderGlobalState * resourceTracker,VkRenderPassFragmentDensityMapCreateInfoEXT * toTransform)7438 void transform_fromhost_VkRenderPassFragmentDensityMapCreateInfoEXT(
7439     VkDecoderGlobalState* resourceTracker,
7440     VkRenderPassFragmentDensityMapCreateInfoEXT* toTransform) {
7441     (void)resourceTracker;
7442     (void)toTransform;
7443     if (toTransform->pNext) {
7444         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7445     }
7446     transform_fromhost_VkAttachmentReference(
7447         resourceTracker, (VkAttachmentReference*)(&toTransform->fragmentDensityMapAttachment));
7448 }
7449 
7450 #endif
7451 #ifdef VK_EXT_scalar_block_layout
7452 #endif
7453 #ifdef VK_EXT_subgroup_size_control
7454 #endif
7455 #ifdef VK_EXT_tooling_info
7456 #endif
7457 #ifdef VK_EXT_validation_features
transform_tohost_VkValidationFeaturesEXT(VkDecoderGlobalState * resourceTracker,VkValidationFeaturesEXT * toTransform)7458 void transform_tohost_VkValidationFeaturesEXT(VkDecoderGlobalState* resourceTracker,
7459                                               VkValidationFeaturesEXT* toTransform) {
7460     (void)resourceTracker;
7461     (void)toTransform;
7462     if (toTransform->pNext) {
7463         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7464     }
7465 }
7466 
transform_fromhost_VkValidationFeaturesEXT(VkDecoderGlobalState * resourceTracker,VkValidationFeaturesEXT * toTransform)7467 void transform_fromhost_VkValidationFeaturesEXT(VkDecoderGlobalState* resourceTracker,
7468                                                 VkValidationFeaturesEXT* toTransform) {
7469     (void)resourceTracker;
7470     (void)toTransform;
7471     if (toTransform->pNext) {
7472         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7473     }
7474 }
7475 
7476 #endif
7477 #ifdef VK_EXT_provoking_vertex
transform_tohost_VkPhysicalDeviceProvokingVertexFeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceProvokingVertexFeaturesEXT * toTransform)7478 void transform_tohost_VkPhysicalDeviceProvokingVertexFeaturesEXT(
7479     VkDecoderGlobalState* resourceTracker,
7480     VkPhysicalDeviceProvokingVertexFeaturesEXT* toTransform) {
7481     (void)resourceTracker;
7482     (void)toTransform;
7483     if (toTransform->pNext) {
7484         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7485     }
7486 }
7487 
transform_fromhost_VkPhysicalDeviceProvokingVertexFeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceProvokingVertexFeaturesEXT * toTransform)7488 void transform_fromhost_VkPhysicalDeviceProvokingVertexFeaturesEXT(
7489     VkDecoderGlobalState* resourceTracker,
7490     VkPhysicalDeviceProvokingVertexFeaturesEXT* toTransform) {
7491     (void)resourceTracker;
7492     (void)toTransform;
7493     if (toTransform->pNext) {
7494         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7495     }
7496 }
7497 
transform_tohost_VkPhysicalDeviceProvokingVertexPropertiesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceProvokingVertexPropertiesEXT * toTransform)7498 void transform_tohost_VkPhysicalDeviceProvokingVertexPropertiesEXT(
7499     VkDecoderGlobalState* resourceTracker,
7500     VkPhysicalDeviceProvokingVertexPropertiesEXT* toTransform) {
7501     (void)resourceTracker;
7502     (void)toTransform;
7503     if (toTransform->pNext) {
7504         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7505     }
7506 }
7507 
transform_fromhost_VkPhysicalDeviceProvokingVertexPropertiesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceProvokingVertexPropertiesEXT * toTransform)7508 void transform_fromhost_VkPhysicalDeviceProvokingVertexPropertiesEXT(
7509     VkDecoderGlobalState* resourceTracker,
7510     VkPhysicalDeviceProvokingVertexPropertiesEXT* toTransform) {
7511     (void)resourceTracker;
7512     (void)toTransform;
7513     if (toTransform->pNext) {
7514         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7515     }
7516 }
7517 
transform_tohost_VkPipelineRasterizationProvokingVertexStateCreateInfoEXT(VkDecoderGlobalState * resourceTracker,VkPipelineRasterizationProvokingVertexStateCreateInfoEXT * toTransform)7518 void transform_tohost_VkPipelineRasterizationProvokingVertexStateCreateInfoEXT(
7519     VkDecoderGlobalState* resourceTracker,
7520     VkPipelineRasterizationProvokingVertexStateCreateInfoEXT* toTransform) {
7521     (void)resourceTracker;
7522     (void)toTransform;
7523     if (toTransform->pNext) {
7524         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7525     }
7526 }
7527 
transform_fromhost_VkPipelineRasterizationProvokingVertexStateCreateInfoEXT(VkDecoderGlobalState * resourceTracker,VkPipelineRasterizationProvokingVertexStateCreateInfoEXT * toTransform)7528 void transform_fromhost_VkPipelineRasterizationProvokingVertexStateCreateInfoEXT(
7529     VkDecoderGlobalState* resourceTracker,
7530     VkPipelineRasterizationProvokingVertexStateCreateInfoEXT* toTransform) {
7531     (void)resourceTracker;
7532     (void)toTransform;
7533     if (toTransform->pNext) {
7534         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7535     }
7536 }
7537 
7538 #endif
7539 #ifdef VK_EXT_line_rasterization
transform_tohost_VkPhysicalDeviceLineRasterizationFeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceLineRasterizationFeaturesEXT * toTransform)7540 void transform_tohost_VkPhysicalDeviceLineRasterizationFeaturesEXT(
7541     VkDecoderGlobalState* resourceTracker,
7542     VkPhysicalDeviceLineRasterizationFeaturesEXT* toTransform) {
7543     (void)resourceTracker;
7544     (void)toTransform;
7545     if (toTransform->pNext) {
7546         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7547     }
7548 }
7549 
transform_fromhost_VkPhysicalDeviceLineRasterizationFeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceLineRasterizationFeaturesEXT * toTransform)7550 void transform_fromhost_VkPhysicalDeviceLineRasterizationFeaturesEXT(
7551     VkDecoderGlobalState* resourceTracker,
7552     VkPhysicalDeviceLineRasterizationFeaturesEXT* toTransform) {
7553     (void)resourceTracker;
7554     (void)toTransform;
7555     if (toTransform->pNext) {
7556         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7557     }
7558 }
7559 
transform_tohost_VkPhysicalDeviceLineRasterizationPropertiesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceLineRasterizationPropertiesEXT * toTransform)7560 void transform_tohost_VkPhysicalDeviceLineRasterizationPropertiesEXT(
7561     VkDecoderGlobalState* resourceTracker,
7562     VkPhysicalDeviceLineRasterizationPropertiesEXT* toTransform) {
7563     (void)resourceTracker;
7564     (void)toTransform;
7565     if (toTransform->pNext) {
7566         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7567     }
7568 }
7569 
transform_fromhost_VkPhysicalDeviceLineRasterizationPropertiesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceLineRasterizationPropertiesEXT * toTransform)7570 void transform_fromhost_VkPhysicalDeviceLineRasterizationPropertiesEXT(
7571     VkDecoderGlobalState* resourceTracker,
7572     VkPhysicalDeviceLineRasterizationPropertiesEXT* toTransform) {
7573     (void)resourceTracker;
7574     (void)toTransform;
7575     if (toTransform->pNext) {
7576         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7577     }
7578 }
7579 
transform_tohost_VkPipelineRasterizationLineStateCreateInfoEXT(VkDecoderGlobalState * resourceTracker,VkPipelineRasterizationLineStateCreateInfoEXT * toTransform)7580 void transform_tohost_VkPipelineRasterizationLineStateCreateInfoEXT(
7581     VkDecoderGlobalState* resourceTracker,
7582     VkPipelineRasterizationLineStateCreateInfoEXT* toTransform) {
7583     (void)resourceTracker;
7584     (void)toTransform;
7585     if (toTransform->pNext) {
7586         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7587     }
7588 }
7589 
transform_fromhost_VkPipelineRasterizationLineStateCreateInfoEXT(VkDecoderGlobalState * resourceTracker,VkPipelineRasterizationLineStateCreateInfoEXT * toTransform)7590 void transform_fromhost_VkPipelineRasterizationLineStateCreateInfoEXT(
7591     VkDecoderGlobalState* resourceTracker,
7592     VkPipelineRasterizationLineStateCreateInfoEXT* toTransform) {
7593     (void)resourceTracker;
7594     (void)toTransform;
7595     if (toTransform->pNext) {
7596         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7597     }
7598 }
7599 
7600 #endif
7601 #ifdef VK_EXT_index_type_uint8
transform_tohost_VkPhysicalDeviceIndexTypeUint8FeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceIndexTypeUint8FeaturesEXT * toTransform)7602 void transform_tohost_VkPhysicalDeviceIndexTypeUint8FeaturesEXT(
7603     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceIndexTypeUint8FeaturesEXT* toTransform) {
7604     (void)resourceTracker;
7605     (void)toTransform;
7606     if (toTransform->pNext) {
7607         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7608     }
7609 }
7610 
transform_fromhost_VkPhysicalDeviceIndexTypeUint8FeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceIndexTypeUint8FeaturesEXT * toTransform)7611 void transform_fromhost_VkPhysicalDeviceIndexTypeUint8FeaturesEXT(
7612     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceIndexTypeUint8FeaturesEXT* toTransform) {
7613     (void)resourceTracker;
7614     (void)toTransform;
7615     if (toTransform->pNext) {
7616         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7617     }
7618 }
7619 
7620 #endif
7621 #ifdef VK_EXT_extended_dynamic_state
transform_tohost_VkPhysicalDeviceExtendedDynamicStateFeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceExtendedDynamicStateFeaturesEXT * toTransform)7622 void transform_tohost_VkPhysicalDeviceExtendedDynamicStateFeaturesEXT(
7623     VkDecoderGlobalState* resourceTracker,
7624     VkPhysicalDeviceExtendedDynamicStateFeaturesEXT* toTransform) {
7625     (void)resourceTracker;
7626     (void)toTransform;
7627     if (toTransform->pNext) {
7628         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7629     }
7630 }
7631 
transform_fromhost_VkPhysicalDeviceExtendedDynamicStateFeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceExtendedDynamicStateFeaturesEXT * toTransform)7632 void transform_fromhost_VkPhysicalDeviceExtendedDynamicStateFeaturesEXT(
7633     VkDecoderGlobalState* resourceTracker,
7634     VkPhysicalDeviceExtendedDynamicStateFeaturesEXT* toTransform) {
7635     (void)resourceTracker;
7636     (void)toTransform;
7637     if (toTransform->pNext) {
7638         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7639     }
7640 }
7641 
7642 #endif
7643 #ifdef VK_EXT_host_image_copy
transform_tohost_VkPhysicalDeviceHostImageCopyFeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceHostImageCopyFeaturesEXT * toTransform)7644 void transform_tohost_VkPhysicalDeviceHostImageCopyFeaturesEXT(
7645     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceHostImageCopyFeaturesEXT* toTransform) {
7646     (void)resourceTracker;
7647     (void)toTransform;
7648     if (toTransform->pNext) {
7649         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7650     }
7651 }
7652 
transform_fromhost_VkPhysicalDeviceHostImageCopyFeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceHostImageCopyFeaturesEXT * toTransform)7653 void transform_fromhost_VkPhysicalDeviceHostImageCopyFeaturesEXT(
7654     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceHostImageCopyFeaturesEXT* toTransform) {
7655     (void)resourceTracker;
7656     (void)toTransform;
7657     if (toTransform->pNext) {
7658         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7659     }
7660 }
7661 
transform_tohost_VkPhysicalDeviceHostImageCopyPropertiesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceHostImageCopyPropertiesEXT * toTransform)7662 void transform_tohost_VkPhysicalDeviceHostImageCopyPropertiesEXT(
7663     VkDecoderGlobalState* resourceTracker,
7664     VkPhysicalDeviceHostImageCopyPropertiesEXT* toTransform) {
7665     (void)resourceTracker;
7666     (void)toTransform;
7667     if (toTransform->pNext) {
7668         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7669     }
7670 }
7671 
transform_fromhost_VkPhysicalDeviceHostImageCopyPropertiesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceHostImageCopyPropertiesEXT * toTransform)7672 void transform_fromhost_VkPhysicalDeviceHostImageCopyPropertiesEXT(
7673     VkDecoderGlobalState* resourceTracker,
7674     VkPhysicalDeviceHostImageCopyPropertiesEXT* toTransform) {
7675     (void)resourceTracker;
7676     (void)toTransform;
7677     if (toTransform->pNext) {
7678         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7679     }
7680 }
7681 
transform_tohost_VkMemoryToImageCopyEXT(VkDecoderGlobalState * resourceTracker,VkMemoryToImageCopyEXT * toTransform)7682 void transform_tohost_VkMemoryToImageCopyEXT(VkDecoderGlobalState* resourceTracker,
7683                                              VkMemoryToImageCopyEXT* toTransform) {
7684     (void)resourceTracker;
7685     (void)toTransform;
7686     if (toTransform->pNext) {
7687         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7688     }
7689     transform_tohost_VkImageSubresourceLayers(
7690         resourceTracker, (VkImageSubresourceLayers*)(&toTransform->imageSubresource));
7691     transform_tohost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->imageOffset));
7692     transform_tohost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->imageExtent));
7693 }
7694 
transform_fromhost_VkMemoryToImageCopyEXT(VkDecoderGlobalState * resourceTracker,VkMemoryToImageCopyEXT * toTransform)7695 void transform_fromhost_VkMemoryToImageCopyEXT(VkDecoderGlobalState* resourceTracker,
7696                                                VkMemoryToImageCopyEXT* toTransform) {
7697     (void)resourceTracker;
7698     (void)toTransform;
7699     if (toTransform->pNext) {
7700         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7701     }
7702     transform_fromhost_VkImageSubresourceLayers(
7703         resourceTracker, (VkImageSubresourceLayers*)(&toTransform->imageSubresource));
7704     transform_fromhost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->imageOffset));
7705     transform_fromhost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->imageExtent));
7706 }
7707 
transform_tohost_VkImageToMemoryCopyEXT(VkDecoderGlobalState * resourceTracker,VkImageToMemoryCopyEXT * toTransform)7708 void transform_tohost_VkImageToMemoryCopyEXT(VkDecoderGlobalState* resourceTracker,
7709                                              VkImageToMemoryCopyEXT* toTransform) {
7710     (void)resourceTracker;
7711     (void)toTransform;
7712     if (toTransform->pNext) {
7713         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7714     }
7715     transform_tohost_VkImageSubresourceLayers(
7716         resourceTracker, (VkImageSubresourceLayers*)(&toTransform->imageSubresource));
7717     transform_tohost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->imageOffset));
7718     transform_tohost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->imageExtent));
7719 }
7720 
transform_fromhost_VkImageToMemoryCopyEXT(VkDecoderGlobalState * resourceTracker,VkImageToMemoryCopyEXT * toTransform)7721 void transform_fromhost_VkImageToMemoryCopyEXT(VkDecoderGlobalState* resourceTracker,
7722                                                VkImageToMemoryCopyEXT* toTransform) {
7723     (void)resourceTracker;
7724     (void)toTransform;
7725     if (toTransform->pNext) {
7726         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7727     }
7728     transform_fromhost_VkImageSubresourceLayers(
7729         resourceTracker, (VkImageSubresourceLayers*)(&toTransform->imageSubresource));
7730     transform_fromhost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->imageOffset));
7731     transform_fromhost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->imageExtent));
7732 }
7733 
transform_tohost_VkCopyMemoryToImageInfoEXT(VkDecoderGlobalState * resourceTracker,VkCopyMemoryToImageInfoEXT * toTransform)7734 void transform_tohost_VkCopyMemoryToImageInfoEXT(VkDecoderGlobalState* resourceTracker,
7735                                                  VkCopyMemoryToImageInfoEXT* toTransform) {
7736     (void)resourceTracker;
7737     (void)toTransform;
7738     if (toTransform->pNext) {
7739         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7740     }
7741     if (toTransform) {
7742         if (toTransform->pRegions) {
7743             for (uint32_t i = 0; i < (uint32_t)toTransform->regionCount; ++i) {
7744                 transform_tohost_VkMemoryToImageCopyEXT(
7745                     resourceTracker, (VkMemoryToImageCopyEXT*)(toTransform->pRegions + i));
7746             }
7747         }
7748     }
7749 }
7750 
transform_fromhost_VkCopyMemoryToImageInfoEXT(VkDecoderGlobalState * resourceTracker,VkCopyMemoryToImageInfoEXT * toTransform)7751 void transform_fromhost_VkCopyMemoryToImageInfoEXT(VkDecoderGlobalState* resourceTracker,
7752                                                    VkCopyMemoryToImageInfoEXT* toTransform) {
7753     (void)resourceTracker;
7754     (void)toTransform;
7755     if (toTransform->pNext) {
7756         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7757     }
7758     if (toTransform) {
7759         if (toTransform->pRegions) {
7760             for (uint32_t i = 0; i < (uint32_t)toTransform->regionCount; ++i) {
7761                 transform_fromhost_VkMemoryToImageCopyEXT(
7762                     resourceTracker, (VkMemoryToImageCopyEXT*)(toTransform->pRegions + i));
7763             }
7764         }
7765     }
7766 }
7767 
transform_tohost_VkCopyImageToMemoryInfoEXT(VkDecoderGlobalState * resourceTracker,VkCopyImageToMemoryInfoEXT * toTransform)7768 void transform_tohost_VkCopyImageToMemoryInfoEXT(VkDecoderGlobalState* resourceTracker,
7769                                                  VkCopyImageToMemoryInfoEXT* toTransform) {
7770     (void)resourceTracker;
7771     (void)toTransform;
7772     if (toTransform->pNext) {
7773         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7774     }
7775     if (toTransform) {
7776         if (toTransform->pRegions) {
7777             for (uint32_t i = 0; i < (uint32_t)toTransform->regionCount; ++i) {
7778                 transform_tohost_VkImageToMemoryCopyEXT(
7779                     resourceTracker, (VkImageToMemoryCopyEXT*)(toTransform->pRegions + i));
7780             }
7781         }
7782     }
7783 }
7784 
transform_fromhost_VkCopyImageToMemoryInfoEXT(VkDecoderGlobalState * resourceTracker,VkCopyImageToMemoryInfoEXT * toTransform)7785 void transform_fromhost_VkCopyImageToMemoryInfoEXT(VkDecoderGlobalState* resourceTracker,
7786                                                    VkCopyImageToMemoryInfoEXT* toTransform) {
7787     (void)resourceTracker;
7788     (void)toTransform;
7789     if (toTransform->pNext) {
7790         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7791     }
7792     if (toTransform) {
7793         if (toTransform->pRegions) {
7794             for (uint32_t i = 0; i < (uint32_t)toTransform->regionCount; ++i) {
7795                 transform_fromhost_VkImageToMemoryCopyEXT(
7796                     resourceTracker, (VkImageToMemoryCopyEXT*)(toTransform->pRegions + i));
7797             }
7798         }
7799     }
7800 }
7801 
transform_tohost_VkCopyImageToImageInfoEXT(VkDecoderGlobalState * resourceTracker,VkCopyImageToImageInfoEXT * toTransform)7802 void transform_tohost_VkCopyImageToImageInfoEXT(VkDecoderGlobalState* resourceTracker,
7803                                                 VkCopyImageToImageInfoEXT* toTransform) {
7804     (void)resourceTracker;
7805     (void)toTransform;
7806     if (toTransform->pNext) {
7807         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7808     }
7809     if (toTransform) {
7810         if (toTransform->pRegions) {
7811             for (uint32_t i = 0; i < (uint32_t)toTransform->regionCount; ++i) {
7812                 transform_tohost_VkImageCopy2(resourceTracker,
7813                                               (VkImageCopy2*)(toTransform->pRegions + i));
7814             }
7815         }
7816     }
7817 }
7818 
transform_fromhost_VkCopyImageToImageInfoEXT(VkDecoderGlobalState * resourceTracker,VkCopyImageToImageInfoEXT * toTransform)7819 void transform_fromhost_VkCopyImageToImageInfoEXT(VkDecoderGlobalState* resourceTracker,
7820                                                   VkCopyImageToImageInfoEXT* toTransform) {
7821     (void)resourceTracker;
7822     (void)toTransform;
7823     if (toTransform->pNext) {
7824         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7825     }
7826     if (toTransform) {
7827         if (toTransform->pRegions) {
7828             for (uint32_t i = 0; i < (uint32_t)toTransform->regionCount; ++i) {
7829                 transform_fromhost_VkImageCopy2(resourceTracker,
7830                                                 (VkImageCopy2*)(toTransform->pRegions + i));
7831             }
7832         }
7833     }
7834 }
7835 
transform_tohost_VkHostImageLayoutTransitionInfoEXT(VkDecoderGlobalState * resourceTracker,VkHostImageLayoutTransitionInfoEXT * toTransform)7836 void transform_tohost_VkHostImageLayoutTransitionInfoEXT(
7837     VkDecoderGlobalState* resourceTracker, VkHostImageLayoutTransitionInfoEXT* toTransform) {
7838     (void)resourceTracker;
7839     (void)toTransform;
7840     if (toTransform->pNext) {
7841         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7842     }
7843     transform_tohost_VkImageSubresourceRange(
7844         resourceTracker, (VkImageSubresourceRange*)(&toTransform->subresourceRange));
7845 }
7846 
transform_fromhost_VkHostImageLayoutTransitionInfoEXT(VkDecoderGlobalState * resourceTracker,VkHostImageLayoutTransitionInfoEXT * toTransform)7847 void transform_fromhost_VkHostImageLayoutTransitionInfoEXT(
7848     VkDecoderGlobalState* resourceTracker, VkHostImageLayoutTransitionInfoEXT* toTransform) {
7849     (void)resourceTracker;
7850     (void)toTransform;
7851     if (toTransform->pNext) {
7852         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7853     }
7854     transform_fromhost_VkImageSubresourceRange(
7855         resourceTracker, (VkImageSubresourceRange*)(&toTransform->subresourceRange));
7856 }
7857 
transform_tohost_VkSubresourceHostMemcpySizeEXT(VkDecoderGlobalState * resourceTracker,VkSubresourceHostMemcpySizeEXT * toTransform)7858 void transform_tohost_VkSubresourceHostMemcpySizeEXT(VkDecoderGlobalState* resourceTracker,
7859                                                      VkSubresourceHostMemcpySizeEXT* toTransform) {
7860     (void)resourceTracker;
7861     (void)toTransform;
7862     if (toTransform->pNext) {
7863         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7864     }
7865 }
7866 
transform_fromhost_VkSubresourceHostMemcpySizeEXT(VkDecoderGlobalState * resourceTracker,VkSubresourceHostMemcpySizeEXT * toTransform)7867 void transform_fromhost_VkSubresourceHostMemcpySizeEXT(
7868     VkDecoderGlobalState* resourceTracker, VkSubresourceHostMemcpySizeEXT* toTransform) {
7869     (void)resourceTracker;
7870     (void)toTransform;
7871     if (toTransform->pNext) {
7872         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7873     }
7874 }
7875 
transform_tohost_VkHostImageCopyDevicePerformanceQueryEXT(VkDecoderGlobalState * resourceTracker,VkHostImageCopyDevicePerformanceQueryEXT * toTransform)7876 void transform_tohost_VkHostImageCopyDevicePerformanceQueryEXT(
7877     VkDecoderGlobalState* resourceTracker, VkHostImageCopyDevicePerformanceQueryEXT* toTransform) {
7878     (void)resourceTracker;
7879     (void)toTransform;
7880     if (toTransform->pNext) {
7881         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7882     }
7883 }
7884 
transform_fromhost_VkHostImageCopyDevicePerformanceQueryEXT(VkDecoderGlobalState * resourceTracker,VkHostImageCopyDevicePerformanceQueryEXT * toTransform)7885 void transform_fromhost_VkHostImageCopyDevicePerformanceQueryEXT(
7886     VkDecoderGlobalState* resourceTracker, VkHostImageCopyDevicePerformanceQueryEXT* toTransform) {
7887     (void)resourceTracker;
7888     (void)toTransform;
7889     if (toTransform->pNext) {
7890         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7891     }
7892 }
7893 
7894 #endif
7895 #ifdef VK_EXT_swapchain_maintenance1
transform_tohost_VkPhysicalDeviceSwapchainMaintenance1FeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceSwapchainMaintenance1FeaturesEXT * toTransform)7896 void transform_tohost_VkPhysicalDeviceSwapchainMaintenance1FeaturesEXT(
7897     VkDecoderGlobalState* resourceTracker,
7898     VkPhysicalDeviceSwapchainMaintenance1FeaturesEXT* toTransform) {
7899     (void)resourceTracker;
7900     (void)toTransform;
7901     if (toTransform->pNext) {
7902         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7903     }
7904 }
7905 
transform_fromhost_VkPhysicalDeviceSwapchainMaintenance1FeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceSwapchainMaintenance1FeaturesEXT * toTransform)7906 void transform_fromhost_VkPhysicalDeviceSwapchainMaintenance1FeaturesEXT(
7907     VkDecoderGlobalState* resourceTracker,
7908     VkPhysicalDeviceSwapchainMaintenance1FeaturesEXT* toTransform) {
7909     (void)resourceTracker;
7910     (void)toTransform;
7911     if (toTransform->pNext) {
7912         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7913     }
7914 }
7915 
transform_tohost_VkSwapchainPresentFenceInfoEXT(VkDecoderGlobalState * resourceTracker,VkSwapchainPresentFenceInfoEXT * toTransform)7916 void transform_tohost_VkSwapchainPresentFenceInfoEXT(VkDecoderGlobalState* resourceTracker,
7917                                                      VkSwapchainPresentFenceInfoEXT* toTransform) {
7918     (void)resourceTracker;
7919     (void)toTransform;
7920     if (toTransform->pNext) {
7921         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7922     }
7923 }
7924 
transform_fromhost_VkSwapchainPresentFenceInfoEXT(VkDecoderGlobalState * resourceTracker,VkSwapchainPresentFenceInfoEXT * toTransform)7925 void transform_fromhost_VkSwapchainPresentFenceInfoEXT(
7926     VkDecoderGlobalState* resourceTracker, VkSwapchainPresentFenceInfoEXT* toTransform) {
7927     (void)resourceTracker;
7928     (void)toTransform;
7929     if (toTransform->pNext) {
7930         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7931     }
7932 }
7933 
transform_tohost_VkSwapchainPresentModesCreateInfoEXT(VkDecoderGlobalState * resourceTracker,VkSwapchainPresentModesCreateInfoEXT * toTransform)7934 void transform_tohost_VkSwapchainPresentModesCreateInfoEXT(
7935     VkDecoderGlobalState* resourceTracker, VkSwapchainPresentModesCreateInfoEXT* toTransform) {
7936     (void)resourceTracker;
7937     (void)toTransform;
7938     if (toTransform->pNext) {
7939         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7940     }
7941 }
7942 
transform_fromhost_VkSwapchainPresentModesCreateInfoEXT(VkDecoderGlobalState * resourceTracker,VkSwapchainPresentModesCreateInfoEXT * toTransform)7943 void transform_fromhost_VkSwapchainPresentModesCreateInfoEXT(
7944     VkDecoderGlobalState* resourceTracker, VkSwapchainPresentModesCreateInfoEXT* toTransform) {
7945     (void)resourceTracker;
7946     (void)toTransform;
7947     if (toTransform->pNext) {
7948         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7949     }
7950 }
7951 
transform_tohost_VkSwapchainPresentModeInfoEXT(VkDecoderGlobalState * resourceTracker,VkSwapchainPresentModeInfoEXT * toTransform)7952 void transform_tohost_VkSwapchainPresentModeInfoEXT(VkDecoderGlobalState* resourceTracker,
7953                                                     VkSwapchainPresentModeInfoEXT* toTransform) {
7954     (void)resourceTracker;
7955     (void)toTransform;
7956     if (toTransform->pNext) {
7957         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7958     }
7959 }
7960 
transform_fromhost_VkSwapchainPresentModeInfoEXT(VkDecoderGlobalState * resourceTracker,VkSwapchainPresentModeInfoEXT * toTransform)7961 void transform_fromhost_VkSwapchainPresentModeInfoEXT(VkDecoderGlobalState* resourceTracker,
7962                                                       VkSwapchainPresentModeInfoEXT* toTransform) {
7963     (void)resourceTracker;
7964     (void)toTransform;
7965     if (toTransform->pNext) {
7966         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7967     }
7968 }
7969 
transform_tohost_VkSwapchainPresentScalingCreateInfoEXT(VkDecoderGlobalState * resourceTracker,VkSwapchainPresentScalingCreateInfoEXT * toTransform)7970 void transform_tohost_VkSwapchainPresentScalingCreateInfoEXT(
7971     VkDecoderGlobalState* resourceTracker, VkSwapchainPresentScalingCreateInfoEXT* toTransform) {
7972     (void)resourceTracker;
7973     (void)toTransform;
7974     if (toTransform->pNext) {
7975         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7976     }
7977 }
7978 
transform_fromhost_VkSwapchainPresentScalingCreateInfoEXT(VkDecoderGlobalState * resourceTracker,VkSwapchainPresentScalingCreateInfoEXT * toTransform)7979 void transform_fromhost_VkSwapchainPresentScalingCreateInfoEXT(
7980     VkDecoderGlobalState* resourceTracker, VkSwapchainPresentScalingCreateInfoEXT* toTransform) {
7981     (void)resourceTracker;
7982     (void)toTransform;
7983     if (toTransform->pNext) {
7984         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7985     }
7986 }
7987 
transform_tohost_VkReleaseSwapchainImagesInfoEXT(VkDecoderGlobalState * resourceTracker,VkReleaseSwapchainImagesInfoEXT * toTransform)7988 void transform_tohost_VkReleaseSwapchainImagesInfoEXT(
7989     VkDecoderGlobalState* resourceTracker, VkReleaseSwapchainImagesInfoEXT* toTransform) {
7990     (void)resourceTracker;
7991     (void)toTransform;
7992     if (toTransform->pNext) {
7993         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
7994     }
7995 }
7996 
transform_fromhost_VkReleaseSwapchainImagesInfoEXT(VkDecoderGlobalState * resourceTracker,VkReleaseSwapchainImagesInfoEXT * toTransform)7997 void transform_fromhost_VkReleaseSwapchainImagesInfoEXT(
7998     VkDecoderGlobalState* resourceTracker, VkReleaseSwapchainImagesInfoEXT* toTransform) {
7999     (void)resourceTracker;
8000     (void)toTransform;
8001     if (toTransform->pNext) {
8002         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8003     }
8004 }
8005 
8006 #endif
8007 #ifdef VK_EXT_shader_demote_to_helper_invocation
8008 #endif
8009 #ifdef VK_EXT_texel_buffer_alignment
transform_tohost_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT * toTransform)8010 void transform_tohost_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT(
8011     VkDecoderGlobalState* resourceTracker,
8012     VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT* toTransform) {
8013     (void)resourceTracker;
8014     (void)toTransform;
8015     if (toTransform->pNext) {
8016         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8017     }
8018 }
8019 
transform_fromhost_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT * toTransform)8020 void transform_fromhost_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT(
8021     VkDecoderGlobalState* resourceTracker,
8022     VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT* toTransform) {
8023     (void)resourceTracker;
8024     (void)toTransform;
8025     if (toTransform->pNext) {
8026         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8027     }
8028 }
8029 
8030 #endif
8031 #ifdef VK_EXT_device_memory_report
transform_tohost_VkPhysicalDeviceDeviceMemoryReportFeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceDeviceMemoryReportFeaturesEXT * toTransform)8032 void transform_tohost_VkPhysicalDeviceDeviceMemoryReportFeaturesEXT(
8033     VkDecoderGlobalState* resourceTracker,
8034     VkPhysicalDeviceDeviceMemoryReportFeaturesEXT* toTransform) {
8035     (void)resourceTracker;
8036     (void)toTransform;
8037     if (toTransform->pNext) {
8038         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8039     }
8040 }
8041 
transform_fromhost_VkPhysicalDeviceDeviceMemoryReportFeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceDeviceMemoryReportFeaturesEXT * toTransform)8042 void transform_fromhost_VkPhysicalDeviceDeviceMemoryReportFeaturesEXT(
8043     VkDecoderGlobalState* resourceTracker,
8044     VkPhysicalDeviceDeviceMemoryReportFeaturesEXT* toTransform) {
8045     (void)resourceTracker;
8046     (void)toTransform;
8047     if (toTransform->pNext) {
8048         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8049     }
8050 }
8051 
transform_tohost_VkDeviceMemoryReportCallbackDataEXT(VkDecoderGlobalState * resourceTracker,VkDeviceMemoryReportCallbackDataEXT * toTransform)8052 void transform_tohost_VkDeviceMemoryReportCallbackDataEXT(
8053     VkDecoderGlobalState* resourceTracker, VkDeviceMemoryReportCallbackDataEXT* toTransform) {
8054     (void)resourceTracker;
8055     (void)toTransform;
8056     if (toTransform->pNext) {
8057         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8058     }
8059 }
8060 
transform_fromhost_VkDeviceMemoryReportCallbackDataEXT(VkDecoderGlobalState * resourceTracker,VkDeviceMemoryReportCallbackDataEXT * toTransform)8061 void transform_fromhost_VkDeviceMemoryReportCallbackDataEXT(
8062     VkDecoderGlobalState* resourceTracker, VkDeviceMemoryReportCallbackDataEXT* toTransform) {
8063     (void)resourceTracker;
8064     (void)toTransform;
8065     if (toTransform->pNext) {
8066         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8067     }
8068 }
8069 
transform_tohost_VkDeviceDeviceMemoryReportCreateInfoEXT(VkDecoderGlobalState * resourceTracker,VkDeviceDeviceMemoryReportCreateInfoEXT * toTransform)8070 void transform_tohost_VkDeviceDeviceMemoryReportCreateInfoEXT(
8071     VkDecoderGlobalState* resourceTracker, VkDeviceDeviceMemoryReportCreateInfoEXT* toTransform) {
8072     (void)resourceTracker;
8073     (void)toTransform;
8074     if (toTransform->pNext) {
8075         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8076     }
8077 }
8078 
transform_fromhost_VkDeviceDeviceMemoryReportCreateInfoEXT(VkDecoderGlobalState * resourceTracker,VkDeviceDeviceMemoryReportCreateInfoEXT * toTransform)8079 void transform_fromhost_VkDeviceDeviceMemoryReportCreateInfoEXT(
8080     VkDecoderGlobalState* resourceTracker, VkDeviceDeviceMemoryReportCreateInfoEXT* toTransform) {
8081     (void)resourceTracker;
8082     (void)toTransform;
8083     if (toTransform->pNext) {
8084         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8085     }
8086 }
8087 
8088 #endif
8089 #ifdef VK_EXT_robustness2
transform_tohost_VkPhysicalDeviceRobustness2FeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceRobustness2FeaturesEXT * toTransform)8090 void transform_tohost_VkPhysicalDeviceRobustness2FeaturesEXT(
8091     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceRobustness2FeaturesEXT* toTransform) {
8092     (void)resourceTracker;
8093     (void)toTransform;
8094     if (toTransform->pNext) {
8095         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8096     }
8097 }
8098 
transform_fromhost_VkPhysicalDeviceRobustness2FeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceRobustness2FeaturesEXT * toTransform)8099 void transform_fromhost_VkPhysicalDeviceRobustness2FeaturesEXT(
8100     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceRobustness2FeaturesEXT* toTransform) {
8101     (void)resourceTracker;
8102     (void)toTransform;
8103     if (toTransform->pNext) {
8104         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8105     }
8106 }
8107 
transform_tohost_VkPhysicalDeviceRobustness2PropertiesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceRobustness2PropertiesEXT * toTransform)8108 void transform_tohost_VkPhysicalDeviceRobustness2PropertiesEXT(
8109     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceRobustness2PropertiesEXT* toTransform) {
8110     (void)resourceTracker;
8111     (void)toTransform;
8112     if (toTransform->pNext) {
8113         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8114     }
8115 }
8116 
transform_fromhost_VkPhysicalDeviceRobustness2PropertiesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceRobustness2PropertiesEXT * toTransform)8117 void transform_fromhost_VkPhysicalDeviceRobustness2PropertiesEXT(
8118     VkDecoderGlobalState* resourceTracker, VkPhysicalDeviceRobustness2PropertiesEXT* toTransform) {
8119     (void)resourceTracker;
8120     (void)toTransform;
8121     if (toTransform->pNext) {
8122         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8123     }
8124 }
8125 
8126 #endif
8127 #ifdef VK_EXT_custom_border_color
transform_tohost_VkSamplerCustomBorderColorCreateInfoEXT(VkDecoderGlobalState * resourceTracker,VkSamplerCustomBorderColorCreateInfoEXT * toTransform)8128 void transform_tohost_VkSamplerCustomBorderColorCreateInfoEXT(
8129     VkDecoderGlobalState* resourceTracker, VkSamplerCustomBorderColorCreateInfoEXT* toTransform) {
8130     (void)resourceTracker;
8131     (void)toTransform;
8132     if (toTransform->pNext) {
8133         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8134     }
8135     transform_tohost_VkClearColorValue(resourceTracker,
8136                                        (VkClearColorValue*)(&toTransform->customBorderColor));
8137 }
8138 
transform_fromhost_VkSamplerCustomBorderColorCreateInfoEXT(VkDecoderGlobalState * resourceTracker,VkSamplerCustomBorderColorCreateInfoEXT * toTransform)8139 void transform_fromhost_VkSamplerCustomBorderColorCreateInfoEXT(
8140     VkDecoderGlobalState* resourceTracker, VkSamplerCustomBorderColorCreateInfoEXT* toTransform) {
8141     (void)resourceTracker;
8142     (void)toTransform;
8143     if (toTransform->pNext) {
8144         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8145     }
8146     transform_fromhost_VkClearColorValue(resourceTracker,
8147                                          (VkClearColorValue*)(&toTransform->customBorderColor));
8148 }
8149 
transform_tohost_VkPhysicalDeviceCustomBorderColorPropertiesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceCustomBorderColorPropertiesEXT * toTransform)8150 void transform_tohost_VkPhysicalDeviceCustomBorderColorPropertiesEXT(
8151     VkDecoderGlobalState* resourceTracker,
8152     VkPhysicalDeviceCustomBorderColorPropertiesEXT* toTransform) {
8153     (void)resourceTracker;
8154     (void)toTransform;
8155     if (toTransform->pNext) {
8156         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8157     }
8158 }
8159 
transform_fromhost_VkPhysicalDeviceCustomBorderColorPropertiesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceCustomBorderColorPropertiesEXT * toTransform)8160 void transform_fromhost_VkPhysicalDeviceCustomBorderColorPropertiesEXT(
8161     VkDecoderGlobalState* resourceTracker,
8162     VkPhysicalDeviceCustomBorderColorPropertiesEXT* toTransform) {
8163     (void)resourceTracker;
8164     (void)toTransform;
8165     if (toTransform->pNext) {
8166         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8167     }
8168 }
8169 
transform_tohost_VkPhysicalDeviceCustomBorderColorFeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceCustomBorderColorFeaturesEXT * toTransform)8170 void transform_tohost_VkPhysicalDeviceCustomBorderColorFeaturesEXT(
8171     VkDecoderGlobalState* resourceTracker,
8172     VkPhysicalDeviceCustomBorderColorFeaturesEXT* toTransform) {
8173     (void)resourceTracker;
8174     (void)toTransform;
8175     if (toTransform->pNext) {
8176         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8177     }
8178 }
8179 
transform_fromhost_VkPhysicalDeviceCustomBorderColorFeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceCustomBorderColorFeaturesEXT * toTransform)8180 void transform_fromhost_VkPhysicalDeviceCustomBorderColorFeaturesEXT(
8181     VkDecoderGlobalState* resourceTracker,
8182     VkPhysicalDeviceCustomBorderColorFeaturesEXT* toTransform) {
8183     (void)resourceTracker;
8184     (void)toTransform;
8185     if (toTransform->pNext) {
8186         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8187     }
8188 }
8189 
8190 #endif
8191 #ifdef VK_EXT_private_data
8192 #endif
8193 #ifdef VK_EXT_pipeline_creation_cache_control
8194 #endif
8195 #ifdef VK_EXT_metal_objects
8196 #endif
8197 #ifdef VK_EXT_graphics_pipeline_library
transform_tohost_VkPhysicalDeviceGraphicsPipelineLibraryFeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceGraphicsPipelineLibraryFeaturesEXT * toTransform)8198 void transform_tohost_VkPhysicalDeviceGraphicsPipelineLibraryFeaturesEXT(
8199     VkDecoderGlobalState* resourceTracker,
8200     VkPhysicalDeviceGraphicsPipelineLibraryFeaturesEXT* toTransform) {
8201     (void)resourceTracker;
8202     (void)toTransform;
8203     if (toTransform->pNext) {
8204         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8205     }
8206 }
8207 
transform_fromhost_VkPhysicalDeviceGraphicsPipelineLibraryFeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceGraphicsPipelineLibraryFeaturesEXT * toTransform)8208 void transform_fromhost_VkPhysicalDeviceGraphicsPipelineLibraryFeaturesEXT(
8209     VkDecoderGlobalState* resourceTracker,
8210     VkPhysicalDeviceGraphicsPipelineLibraryFeaturesEXT* toTransform) {
8211     (void)resourceTracker;
8212     (void)toTransform;
8213     if (toTransform->pNext) {
8214         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8215     }
8216 }
8217 
transform_tohost_VkPhysicalDeviceGraphicsPipelineLibraryPropertiesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceGraphicsPipelineLibraryPropertiesEXT * toTransform)8218 void transform_tohost_VkPhysicalDeviceGraphicsPipelineLibraryPropertiesEXT(
8219     VkDecoderGlobalState* resourceTracker,
8220     VkPhysicalDeviceGraphicsPipelineLibraryPropertiesEXT* toTransform) {
8221     (void)resourceTracker;
8222     (void)toTransform;
8223     if (toTransform->pNext) {
8224         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8225     }
8226 }
8227 
transform_fromhost_VkPhysicalDeviceGraphicsPipelineLibraryPropertiesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceGraphicsPipelineLibraryPropertiesEXT * toTransform)8228 void transform_fromhost_VkPhysicalDeviceGraphicsPipelineLibraryPropertiesEXT(
8229     VkDecoderGlobalState* resourceTracker,
8230     VkPhysicalDeviceGraphicsPipelineLibraryPropertiesEXT* toTransform) {
8231     (void)resourceTracker;
8232     (void)toTransform;
8233     if (toTransform->pNext) {
8234         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8235     }
8236 }
8237 
transform_tohost_VkGraphicsPipelineLibraryCreateInfoEXT(VkDecoderGlobalState * resourceTracker,VkGraphicsPipelineLibraryCreateInfoEXT * toTransform)8238 void transform_tohost_VkGraphicsPipelineLibraryCreateInfoEXT(
8239     VkDecoderGlobalState* resourceTracker, VkGraphicsPipelineLibraryCreateInfoEXT* toTransform) {
8240     (void)resourceTracker;
8241     (void)toTransform;
8242     if (toTransform->pNext) {
8243         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8244     }
8245 }
8246 
transform_fromhost_VkGraphicsPipelineLibraryCreateInfoEXT(VkDecoderGlobalState * resourceTracker,VkGraphicsPipelineLibraryCreateInfoEXT * toTransform)8247 void transform_fromhost_VkGraphicsPipelineLibraryCreateInfoEXT(
8248     VkDecoderGlobalState* resourceTracker, VkGraphicsPipelineLibraryCreateInfoEXT* toTransform) {
8249     (void)resourceTracker;
8250     (void)toTransform;
8251     if (toTransform->pNext) {
8252         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8253     }
8254 }
8255 
8256 #endif
8257 #ifdef VK_EXT_ycbcr_2plane_444_formats
transform_tohost_VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT * toTransform)8258 void transform_tohost_VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT(
8259     VkDecoderGlobalState* resourceTracker,
8260     VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT* toTransform) {
8261     (void)resourceTracker;
8262     (void)toTransform;
8263     if (toTransform->pNext) {
8264         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8265     }
8266 }
8267 
transform_fromhost_VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT * toTransform)8268 void transform_fromhost_VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT(
8269     VkDecoderGlobalState* resourceTracker,
8270     VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT* toTransform) {
8271     (void)resourceTracker;
8272     (void)toTransform;
8273     if (toTransform->pNext) {
8274         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8275     }
8276 }
8277 
8278 #endif
8279 #ifdef VK_EXT_image_robustness
8280 #endif
8281 #ifdef VK_EXT_image_compression_control
transform_tohost_VkPhysicalDeviceImageCompressionControlFeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceImageCompressionControlFeaturesEXT * toTransform)8282 void transform_tohost_VkPhysicalDeviceImageCompressionControlFeaturesEXT(
8283     VkDecoderGlobalState* resourceTracker,
8284     VkPhysicalDeviceImageCompressionControlFeaturesEXT* toTransform) {
8285     (void)resourceTracker;
8286     (void)toTransform;
8287     if (toTransform->pNext) {
8288         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8289     }
8290 }
8291 
transform_fromhost_VkPhysicalDeviceImageCompressionControlFeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceImageCompressionControlFeaturesEXT * toTransform)8292 void transform_fromhost_VkPhysicalDeviceImageCompressionControlFeaturesEXT(
8293     VkDecoderGlobalState* resourceTracker,
8294     VkPhysicalDeviceImageCompressionControlFeaturesEXT* toTransform) {
8295     (void)resourceTracker;
8296     (void)toTransform;
8297     if (toTransform->pNext) {
8298         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8299     }
8300 }
8301 
transform_tohost_VkImageCompressionControlEXT(VkDecoderGlobalState * resourceTracker,VkImageCompressionControlEXT * toTransform)8302 void transform_tohost_VkImageCompressionControlEXT(VkDecoderGlobalState* resourceTracker,
8303                                                    VkImageCompressionControlEXT* toTransform) {
8304     (void)resourceTracker;
8305     (void)toTransform;
8306     if (toTransform->pNext) {
8307         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8308     }
8309 }
8310 
transform_fromhost_VkImageCompressionControlEXT(VkDecoderGlobalState * resourceTracker,VkImageCompressionControlEXT * toTransform)8311 void transform_fromhost_VkImageCompressionControlEXT(VkDecoderGlobalState* resourceTracker,
8312                                                      VkImageCompressionControlEXT* toTransform) {
8313     (void)resourceTracker;
8314     (void)toTransform;
8315     if (toTransform->pNext) {
8316         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8317     }
8318 }
8319 
transform_tohost_VkImageCompressionPropertiesEXT(VkDecoderGlobalState * resourceTracker,VkImageCompressionPropertiesEXT * toTransform)8320 void transform_tohost_VkImageCompressionPropertiesEXT(
8321     VkDecoderGlobalState* resourceTracker, VkImageCompressionPropertiesEXT* toTransform) {
8322     (void)resourceTracker;
8323     (void)toTransform;
8324     if (toTransform->pNext) {
8325         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8326     }
8327 }
8328 
transform_fromhost_VkImageCompressionPropertiesEXT(VkDecoderGlobalState * resourceTracker,VkImageCompressionPropertiesEXT * toTransform)8329 void transform_fromhost_VkImageCompressionPropertiesEXT(
8330     VkDecoderGlobalState* resourceTracker, VkImageCompressionPropertiesEXT* toTransform) {
8331     (void)resourceTracker;
8332     (void)toTransform;
8333     if (toTransform->pNext) {
8334         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8335     }
8336 }
8337 
8338 #endif
8339 #ifdef VK_EXT_4444_formats
transform_tohost_VkPhysicalDevice4444FormatsFeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDevice4444FormatsFeaturesEXT * toTransform)8340 void transform_tohost_VkPhysicalDevice4444FormatsFeaturesEXT(
8341     VkDecoderGlobalState* resourceTracker, VkPhysicalDevice4444FormatsFeaturesEXT* toTransform) {
8342     (void)resourceTracker;
8343     (void)toTransform;
8344     if (toTransform->pNext) {
8345         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8346     }
8347 }
8348 
transform_fromhost_VkPhysicalDevice4444FormatsFeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDevice4444FormatsFeaturesEXT * toTransform)8349 void transform_fromhost_VkPhysicalDevice4444FormatsFeaturesEXT(
8350     VkDecoderGlobalState* resourceTracker, VkPhysicalDevice4444FormatsFeaturesEXT* toTransform) {
8351     (void)resourceTracker;
8352     (void)toTransform;
8353     if (toTransform->pNext) {
8354         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8355     }
8356 }
8357 
8358 #endif
8359 #ifdef VK_EXT_primitive_topology_list_restart
transform_tohost_VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT * toTransform)8360 void transform_tohost_VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT(
8361     VkDecoderGlobalState* resourceTracker,
8362     VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT* toTransform) {
8363     (void)resourceTracker;
8364     (void)toTransform;
8365     if (toTransform->pNext) {
8366         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8367     }
8368 }
8369 
transform_fromhost_VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT * toTransform)8370 void transform_fromhost_VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT(
8371     VkDecoderGlobalState* resourceTracker,
8372     VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT* toTransform) {
8373     (void)resourceTracker;
8374     (void)toTransform;
8375     if (toTransform->pNext) {
8376         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8377     }
8378 }
8379 
8380 #endif
8381 #ifdef VK_EXT_extended_dynamic_state2
transform_tohost_VkPhysicalDeviceExtendedDynamicState2FeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceExtendedDynamicState2FeaturesEXT * toTransform)8382 void transform_tohost_VkPhysicalDeviceExtendedDynamicState2FeaturesEXT(
8383     VkDecoderGlobalState* resourceTracker,
8384     VkPhysicalDeviceExtendedDynamicState2FeaturesEXT* toTransform) {
8385     (void)resourceTracker;
8386     (void)toTransform;
8387     if (toTransform->pNext) {
8388         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8389     }
8390 }
8391 
transform_fromhost_VkPhysicalDeviceExtendedDynamicState2FeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceExtendedDynamicState2FeaturesEXT * toTransform)8392 void transform_fromhost_VkPhysicalDeviceExtendedDynamicState2FeaturesEXT(
8393     VkDecoderGlobalState* resourceTracker,
8394     VkPhysicalDeviceExtendedDynamicState2FeaturesEXT* toTransform) {
8395     (void)resourceTracker;
8396     (void)toTransform;
8397     if (toTransform->pNext) {
8398         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8399     }
8400 }
8401 
8402 #endif
8403 #ifdef VK_GOOGLE_gfxstream
transform_tohost_VkImportColorBufferGOOGLE(VkDecoderGlobalState * resourceTracker,VkImportColorBufferGOOGLE * toTransform)8404 void transform_tohost_VkImportColorBufferGOOGLE(VkDecoderGlobalState* resourceTracker,
8405                                                 VkImportColorBufferGOOGLE* toTransform) {
8406     (void)resourceTracker;
8407     (void)toTransform;
8408     if (toTransform->pNext) {
8409         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8410     }
8411 }
8412 
transform_fromhost_VkImportColorBufferGOOGLE(VkDecoderGlobalState * resourceTracker,VkImportColorBufferGOOGLE * toTransform)8413 void transform_fromhost_VkImportColorBufferGOOGLE(VkDecoderGlobalState* resourceTracker,
8414                                                   VkImportColorBufferGOOGLE* toTransform) {
8415     (void)resourceTracker;
8416     (void)toTransform;
8417     if (toTransform->pNext) {
8418         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8419     }
8420 }
8421 
transform_tohost_VkImportBufferGOOGLE(VkDecoderGlobalState * resourceTracker,VkImportBufferGOOGLE * toTransform)8422 void transform_tohost_VkImportBufferGOOGLE(VkDecoderGlobalState* resourceTracker,
8423                                            VkImportBufferGOOGLE* toTransform) {
8424     (void)resourceTracker;
8425     (void)toTransform;
8426     if (toTransform->pNext) {
8427         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8428     }
8429 }
8430 
transform_fromhost_VkImportBufferGOOGLE(VkDecoderGlobalState * resourceTracker,VkImportBufferGOOGLE * toTransform)8431 void transform_fromhost_VkImportBufferGOOGLE(VkDecoderGlobalState* resourceTracker,
8432                                              VkImportBufferGOOGLE* toTransform) {
8433     (void)resourceTracker;
8434     (void)toTransform;
8435     if (toTransform->pNext) {
8436         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8437     }
8438 }
8439 
transform_tohost_VkCreateBlobGOOGLE(VkDecoderGlobalState * resourceTracker,VkCreateBlobGOOGLE * toTransform)8440 void transform_tohost_VkCreateBlobGOOGLE(VkDecoderGlobalState* resourceTracker,
8441                                          VkCreateBlobGOOGLE* toTransform) {
8442     (void)resourceTracker;
8443     (void)toTransform;
8444     if (toTransform->pNext) {
8445         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8446     }
8447 }
8448 
transform_fromhost_VkCreateBlobGOOGLE(VkDecoderGlobalState * resourceTracker,VkCreateBlobGOOGLE * toTransform)8449 void transform_fromhost_VkCreateBlobGOOGLE(VkDecoderGlobalState* resourceTracker,
8450                                            VkCreateBlobGOOGLE* toTransform) {
8451     (void)resourceTracker;
8452     (void)toTransform;
8453     if (toTransform->pNext) {
8454         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8455     }
8456 }
8457 
8458 #endif
8459 #ifdef VK_EXT_load_store_op_none
8460 #endif
8461 #ifdef VK_EXT_image_compression_control_swapchain
transform_tohost_VkPhysicalDeviceImageCompressionControlSwapchainFeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceImageCompressionControlSwapchainFeaturesEXT * toTransform)8462 void transform_tohost_VkPhysicalDeviceImageCompressionControlSwapchainFeaturesEXT(
8463     VkDecoderGlobalState* resourceTracker,
8464     VkPhysicalDeviceImageCompressionControlSwapchainFeaturesEXT* toTransform) {
8465     (void)resourceTracker;
8466     (void)toTransform;
8467     if (toTransform->pNext) {
8468         transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8469     }
8470 }
8471 
transform_fromhost_VkPhysicalDeviceImageCompressionControlSwapchainFeaturesEXT(VkDecoderGlobalState * resourceTracker,VkPhysicalDeviceImageCompressionControlSwapchainFeaturesEXT * toTransform)8472 void transform_fromhost_VkPhysicalDeviceImageCompressionControlSwapchainFeaturesEXT(
8473     VkDecoderGlobalState* resourceTracker,
8474     VkPhysicalDeviceImageCompressionControlSwapchainFeaturesEXT* toTransform) {
8475     (void)resourceTracker;
8476     (void)toTransform;
8477     if (toTransform->pNext) {
8478         transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
8479     }
8480 }
8481 
8482 #endif
8483 #ifdef VK_QNX_external_memory_screen_buffer
8484 #endif
transform_tohost_extension_struct(VkDecoderGlobalState * resourceTracker,void * structExtension_out)8485 void transform_tohost_extension_struct(VkDecoderGlobalState* resourceTracker,
8486                                        void* structExtension_out) {
8487     if (!structExtension_out) {
8488         return;
8489     }
8490     uint32_t structType = (uint32_t)goldfish_vk_struct_type(structExtension_out);
8491     switch (structType) {
8492 #ifdef VK_VERSION_1_0
8493         case VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO: {
8494             transform_tohost_VkShaderModuleCreateInfo(
8495                 resourceTracker, reinterpret_cast<VkShaderModuleCreateInfo*>(structExtension_out));
8496             break;
8497         }
8498 #endif
8499 #ifdef VK_VERSION_1_1
8500         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES: {
8501             transform_tohost_VkPhysicalDeviceSubgroupProperties(
8502                 resourceTracker,
8503                 reinterpret_cast<VkPhysicalDeviceSubgroupProperties*>(structExtension_out));
8504             break;
8505         }
8506         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES: {
8507             transform_tohost_VkPhysicalDevice16BitStorageFeatures(
8508                 resourceTracker,
8509                 reinterpret_cast<VkPhysicalDevice16BitStorageFeatures*>(structExtension_out));
8510             break;
8511         }
8512         case VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS: {
8513             transform_tohost_VkMemoryDedicatedRequirements(
8514                 resourceTracker,
8515                 reinterpret_cast<VkMemoryDedicatedRequirements*>(structExtension_out));
8516             break;
8517         }
8518         case VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO: {
8519             transform_tohost_VkMemoryDedicatedAllocateInfo(
8520                 resourceTracker,
8521                 reinterpret_cast<VkMemoryDedicatedAllocateInfo*>(structExtension_out));
8522             break;
8523         }
8524         case VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO: {
8525             transform_tohost_VkMemoryAllocateFlagsInfo(
8526                 resourceTracker, reinterpret_cast<VkMemoryAllocateFlagsInfo*>(structExtension_out));
8527             break;
8528         }
8529         case VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO: {
8530             transform_tohost_VkDeviceGroupRenderPassBeginInfo(
8531                 resourceTracker,
8532                 reinterpret_cast<VkDeviceGroupRenderPassBeginInfo*>(structExtension_out));
8533             break;
8534         }
8535         case VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO: {
8536             transform_tohost_VkDeviceGroupCommandBufferBeginInfo(
8537                 resourceTracker,
8538                 reinterpret_cast<VkDeviceGroupCommandBufferBeginInfo*>(structExtension_out));
8539             break;
8540         }
8541         case VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO: {
8542             transform_tohost_VkDeviceGroupSubmitInfo(
8543                 resourceTracker, reinterpret_cast<VkDeviceGroupSubmitInfo*>(structExtension_out));
8544             break;
8545         }
8546         case VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO: {
8547             transform_tohost_VkDeviceGroupBindSparseInfo(
8548                 resourceTracker,
8549                 reinterpret_cast<VkDeviceGroupBindSparseInfo*>(structExtension_out));
8550             break;
8551         }
8552         case VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO: {
8553             transform_tohost_VkBindBufferMemoryDeviceGroupInfo(
8554                 resourceTracker,
8555                 reinterpret_cast<VkBindBufferMemoryDeviceGroupInfo*>(structExtension_out));
8556             break;
8557         }
8558         case VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO: {
8559             transform_tohost_VkBindImageMemoryDeviceGroupInfo(
8560                 resourceTracker,
8561                 reinterpret_cast<VkBindImageMemoryDeviceGroupInfo*>(structExtension_out));
8562             break;
8563         }
8564         case VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO: {
8565             transform_tohost_VkDeviceGroupDeviceCreateInfo(
8566                 resourceTracker,
8567                 reinterpret_cast<VkDeviceGroupDeviceCreateInfo*>(structExtension_out));
8568             break;
8569         }
8570         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2: {
8571             transform_tohost_VkPhysicalDeviceFeatures2(
8572                 resourceTracker, reinterpret_cast<VkPhysicalDeviceFeatures2*>(structExtension_out));
8573             break;
8574         }
8575         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES: {
8576             transform_tohost_VkPhysicalDevicePointClippingProperties(
8577                 resourceTracker,
8578                 reinterpret_cast<VkPhysicalDevicePointClippingProperties*>(structExtension_out));
8579             break;
8580         }
8581         case VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO: {
8582             transform_tohost_VkRenderPassInputAttachmentAspectCreateInfo(
8583                 resourceTracker, reinterpret_cast<VkRenderPassInputAttachmentAspectCreateInfo*>(
8584                                      structExtension_out));
8585             break;
8586         }
8587         case VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO: {
8588             transform_tohost_VkImageViewUsageCreateInfo(
8589                 resourceTracker,
8590                 reinterpret_cast<VkImageViewUsageCreateInfo*>(structExtension_out));
8591             break;
8592         }
8593         case VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO: {
8594             transform_tohost_VkPipelineTessellationDomainOriginStateCreateInfo(
8595                 resourceTracker,
8596                 reinterpret_cast<VkPipelineTessellationDomainOriginStateCreateInfo*>(
8597                     structExtension_out));
8598             break;
8599         }
8600         case VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO: {
8601             transform_tohost_VkRenderPassMultiviewCreateInfo(
8602                 resourceTracker,
8603                 reinterpret_cast<VkRenderPassMultiviewCreateInfo*>(structExtension_out));
8604             break;
8605         }
8606         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES: {
8607             transform_tohost_VkPhysicalDeviceMultiviewFeatures(
8608                 resourceTracker,
8609                 reinterpret_cast<VkPhysicalDeviceMultiviewFeatures*>(structExtension_out));
8610             break;
8611         }
8612         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES: {
8613             transform_tohost_VkPhysicalDeviceMultiviewProperties(
8614                 resourceTracker,
8615                 reinterpret_cast<VkPhysicalDeviceMultiviewProperties*>(structExtension_out));
8616             break;
8617         }
8618         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES: {
8619             transform_tohost_VkPhysicalDeviceVariablePointersFeatures(
8620                 resourceTracker,
8621                 reinterpret_cast<VkPhysicalDeviceVariablePointersFeatures*>(structExtension_out));
8622             break;
8623         }
8624         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES: {
8625             transform_tohost_VkPhysicalDeviceProtectedMemoryFeatures(
8626                 resourceTracker,
8627                 reinterpret_cast<VkPhysicalDeviceProtectedMemoryFeatures*>(structExtension_out));
8628             break;
8629         }
8630         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES: {
8631             transform_tohost_VkPhysicalDeviceProtectedMemoryProperties(
8632                 resourceTracker,
8633                 reinterpret_cast<VkPhysicalDeviceProtectedMemoryProperties*>(structExtension_out));
8634             break;
8635         }
8636         case VK_STRUCTURE_TYPE_PROTECTED_SUBMIT_INFO: {
8637             transform_tohost_VkProtectedSubmitInfo(
8638                 resourceTracker, reinterpret_cast<VkProtectedSubmitInfo*>(structExtension_out));
8639             break;
8640         }
8641         case VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO: {
8642             transform_tohost_VkSamplerYcbcrConversionInfo(
8643                 resourceTracker,
8644                 reinterpret_cast<VkSamplerYcbcrConversionInfo*>(structExtension_out));
8645             break;
8646         }
8647         case VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO: {
8648             transform_tohost_VkBindImagePlaneMemoryInfo(
8649                 resourceTracker,
8650                 reinterpret_cast<VkBindImagePlaneMemoryInfo*>(structExtension_out));
8651             break;
8652         }
8653         case VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO: {
8654             transform_tohost_VkImagePlaneMemoryRequirementsInfo(
8655                 resourceTracker,
8656                 reinterpret_cast<VkImagePlaneMemoryRequirementsInfo*>(structExtension_out));
8657             break;
8658         }
8659         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES: {
8660             transform_tohost_VkPhysicalDeviceSamplerYcbcrConversionFeatures(
8661                 resourceTracker, reinterpret_cast<VkPhysicalDeviceSamplerYcbcrConversionFeatures*>(
8662                                      structExtension_out));
8663             break;
8664         }
8665         case VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES: {
8666             transform_tohost_VkSamplerYcbcrConversionImageFormatProperties(
8667                 resourceTracker, reinterpret_cast<VkSamplerYcbcrConversionImageFormatProperties*>(
8668                                      structExtension_out));
8669             break;
8670         }
8671         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO: {
8672             resourceTracker->transformImpl_VkPhysicalDeviceExternalImageFormatInfo_tohost(
8673                 reinterpret_cast<VkPhysicalDeviceExternalImageFormatInfo*>(structExtension_out), 1);
8674             transform_tohost_VkPhysicalDeviceExternalImageFormatInfo(
8675                 resourceTracker,
8676                 reinterpret_cast<VkPhysicalDeviceExternalImageFormatInfo*>(structExtension_out));
8677             break;
8678         }
8679         case VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES: {
8680             resourceTracker->transformImpl_VkExternalImageFormatProperties_tohost(
8681                 reinterpret_cast<VkExternalImageFormatProperties*>(structExtension_out), 1);
8682             transform_tohost_VkExternalImageFormatProperties(
8683                 resourceTracker,
8684                 reinterpret_cast<VkExternalImageFormatProperties*>(structExtension_out));
8685             break;
8686         }
8687         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES: {
8688             transform_tohost_VkPhysicalDeviceIDProperties(
8689                 resourceTracker,
8690                 reinterpret_cast<VkPhysicalDeviceIDProperties*>(structExtension_out));
8691             break;
8692         }
8693         case VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO: {
8694             resourceTracker->transformImpl_VkExternalMemoryImageCreateInfo_tohost(
8695                 reinterpret_cast<VkExternalMemoryImageCreateInfo*>(structExtension_out), 1);
8696             transform_tohost_VkExternalMemoryImageCreateInfo(
8697                 resourceTracker,
8698                 reinterpret_cast<VkExternalMemoryImageCreateInfo*>(structExtension_out));
8699             break;
8700         }
8701         case VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO: {
8702             resourceTracker->transformImpl_VkExternalMemoryBufferCreateInfo_tohost(
8703                 reinterpret_cast<VkExternalMemoryBufferCreateInfo*>(structExtension_out), 1);
8704             transform_tohost_VkExternalMemoryBufferCreateInfo(
8705                 resourceTracker,
8706                 reinterpret_cast<VkExternalMemoryBufferCreateInfo*>(structExtension_out));
8707             break;
8708         }
8709         case VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO: {
8710             resourceTracker->transformImpl_VkExportMemoryAllocateInfo_tohost(
8711                 reinterpret_cast<VkExportMemoryAllocateInfo*>(structExtension_out), 1);
8712             transform_tohost_VkExportMemoryAllocateInfo(
8713                 resourceTracker,
8714                 reinterpret_cast<VkExportMemoryAllocateInfo*>(structExtension_out));
8715             break;
8716         }
8717         case VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO: {
8718             transform_tohost_VkExportFenceCreateInfo(
8719                 resourceTracker, reinterpret_cast<VkExportFenceCreateInfo*>(structExtension_out));
8720             break;
8721         }
8722         case VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO: {
8723             transform_tohost_VkExportSemaphoreCreateInfo(
8724                 resourceTracker,
8725                 reinterpret_cast<VkExportSemaphoreCreateInfo*>(structExtension_out));
8726             break;
8727         }
8728         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES: {
8729             transform_tohost_VkPhysicalDeviceMaintenance3Properties(
8730                 resourceTracker,
8731                 reinterpret_cast<VkPhysicalDeviceMaintenance3Properties*>(structExtension_out));
8732             break;
8733         }
8734         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETERS_FEATURES: {
8735             transform_tohost_VkPhysicalDeviceShaderDrawParametersFeatures(
8736                 resourceTracker, reinterpret_cast<VkPhysicalDeviceShaderDrawParametersFeatures*>(
8737                                      structExtension_out));
8738             break;
8739         }
8740 #endif
8741 #ifdef VK_VERSION_1_2
8742         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_FEATURES: {
8743             transform_tohost_VkPhysicalDeviceVulkan11Features(
8744                 resourceTracker,
8745                 reinterpret_cast<VkPhysicalDeviceVulkan11Features*>(structExtension_out));
8746             break;
8747         }
8748         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_PROPERTIES: {
8749             transform_tohost_VkPhysicalDeviceVulkan11Properties(
8750                 resourceTracker,
8751                 reinterpret_cast<VkPhysicalDeviceVulkan11Properties*>(structExtension_out));
8752             break;
8753         }
8754         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_FEATURES: {
8755             transform_tohost_VkPhysicalDeviceVulkan12Features(
8756                 resourceTracker,
8757                 reinterpret_cast<VkPhysicalDeviceVulkan12Features*>(structExtension_out));
8758             break;
8759         }
8760         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_PROPERTIES: {
8761             transform_tohost_VkPhysicalDeviceVulkan12Properties(
8762                 resourceTracker,
8763                 reinterpret_cast<VkPhysicalDeviceVulkan12Properties*>(structExtension_out));
8764             break;
8765         }
8766         case VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO: {
8767             transform_tohost_VkImageFormatListCreateInfo(
8768                 resourceTracker,
8769                 reinterpret_cast<VkImageFormatListCreateInfo*>(structExtension_out));
8770             break;
8771         }
8772         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES: {
8773             transform_tohost_VkPhysicalDevice8BitStorageFeatures(
8774                 resourceTracker,
8775                 reinterpret_cast<VkPhysicalDevice8BitStorageFeatures*>(structExtension_out));
8776             break;
8777         }
8778         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIES: {
8779             transform_tohost_VkPhysicalDeviceDriverProperties(
8780                 resourceTracker,
8781                 reinterpret_cast<VkPhysicalDeviceDriverProperties*>(structExtension_out));
8782             break;
8783         }
8784         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURES: {
8785             transform_tohost_VkPhysicalDeviceShaderAtomicInt64Features(
8786                 resourceTracker,
8787                 reinterpret_cast<VkPhysicalDeviceShaderAtomicInt64Features*>(structExtension_out));
8788             break;
8789         }
8790         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT16_INT8_FEATURES: {
8791             transform_tohost_VkPhysicalDeviceShaderFloat16Int8Features(
8792                 resourceTracker,
8793                 reinterpret_cast<VkPhysicalDeviceShaderFloat16Int8Features*>(structExtension_out));
8794             break;
8795         }
8796         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIES: {
8797             transform_tohost_VkPhysicalDeviceFloatControlsProperties(
8798                 resourceTracker,
8799                 reinterpret_cast<VkPhysicalDeviceFloatControlsProperties*>(structExtension_out));
8800             break;
8801         }
8802         case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO: {
8803             transform_tohost_VkDescriptorSetLayoutBindingFlagsCreateInfo(
8804                 resourceTracker, reinterpret_cast<VkDescriptorSetLayoutBindingFlagsCreateInfo*>(
8805                                      structExtension_out));
8806             break;
8807         }
8808         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES: {
8809             transform_tohost_VkPhysicalDeviceDescriptorIndexingFeatures(
8810                 resourceTracker,
8811                 reinterpret_cast<VkPhysicalDeviceDescriptorIndexingFeatures*>(structExtension_out));
8812             break;
8813         }
8814         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_PROPERTIES: {
8815             transform_tohost_VkPhysicalDeviceDescriptorIndexingProperties(
8816                 resourceTracker, reinterpret_cast<VkPhysicalDeviceDescriptorIndexingProperties*>(
8817                                      structExtension_out));
8818             break;
8819         }
8820         case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO: {
8821             transform_tohost_VkDescriptorSetVariableDescriptorCountAllocateInfo(
8822                 resourceTracker,
8823                 reinterpret_cast<VkDescriptorSetVariableDescriptorCountAllocateInfo*>(
8824                     structExtension_out));
8825             break;
8826         }
8827         case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT: {
8828             transform_tohost_VkDescriptorSetVariableDescriptorCountLayoutSupport(
8829                 resourceTracker,
8830                 reinterpret_cast<VkDescriptorSetVariableDescriptorCountLayoutSupport*>(
8831                     structExtension_out));
8832             break;
8833         }
8834         case VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_DEPTH_STENCIL_RESOLVE: {
8835             transform_tohost_VkSubpassDescriptionDepthStencilResolve(
8836                 resourceTracker,
8837                 reinterpret_cast<VkSubpassDescriptionDepthStencilResolve*>(structExtension_out));
8838             break;
8839         }
8840         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_STENCIL_RESOLVE_PROPERTIES: {
8841             transform_tohost_VkPhysicalDeviceDepthStencilResolveProperties(
8842                 resourceTracker, reinterpret_cast<VkPhysicalDeviceDepthStencilResolveProperties*>(
8843                                      structExtension_out));
8844             break;
8845         }
8846         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURES: {
8847             transform_tohost_VkPhysicalDeviceScalarBlockLayoutFeatures(
8848                 resourceTracker,
8849                 reinterpret_cast<VkPhysicalDeviceScalarBlockLayoutFeatures*>(structExtension_out));
8850             break;
8851         }
8852         case VK_STRUCTURE_TYPE_IMAGE_STENCIL_USAGE_CREATE_INFO: {
8853             transform_tohost_VkImageStencilUsageCreateInfo(
8854                 resourceTracker,
8855                 reinterpret_cast<VkImageStencilUsageCreateInfo*>(structExtension_out));
8856             break;
8857         }
8858         case VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO: {
8859             transform_tohost_VkSamplerReductionModeCreateInfo(
8860                 resourceTracker,
8861                 reinterpret_cast<VkSamplerReductionModeCreateInfo*>(structExtension_out));
8862             break;
8863         }
8864         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES: {
8865             transform_tohost_VkPhysicalDeviceSamplerFilterMinmaxProperties(
8866                 resourceTracker, reinterpret_cast<VkPhysicalDeviceSamplerFilterMinmaxProperties*>(
8867                                      structExtension_out));
8868             break;
8869         }
8870         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_MEMORY_MODEL_FEATURES: {
8871             transform_tohost_VkPhysicalDeviceVulkanMemoryModelFeatures(
8872                 resourceTracker,
8873                 reinterpret_cast<VkPhysicalDeviceVulkanMemoryModelFeatures*>(structExtension_out));
8874             break;
8875         }
8876         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGELESS_FRAMEBUFFER_FEATURES: {
8877             transform_tohost_VkPhysicalDeviceImagelessFramebufferFeatures(
8878                 resourceTracker, reinterpret_cast<VkPhysicalDeviceImagelessFramebufferFeatures*>(
8879                                      structExtension_out));
8880             break;
8881         }
8882         case VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENTS_CREATE_INFO: {
8883             transform_tohost_VkFramebufferAttachmentsCreateInfo(
8884                 resourceTracker,
8885                 reinterpret_cast<VkFramebufferAttachmentsCreateInfo*>(structExtension_out));
8886             break;
8887         }
8888         case VK_STRUCTURE_TYPE_RENDER_PASS_ATTACHMENT_BEGIN_INFO: {
8889             transform_tohost_VkRenderPassAttachmentBeginInfo(
8890                 resourceTracker,
8891                 reinterpret_cast<VkRenderPassAttachmentBeginInfo*>(structExtension_out));
8892             break;
8893         }
8894         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES: {
8895             transform_tohost_VkPhysicalDeviceUniformBufferStandardLayoutFeatures(
8896                 resourceTracker,
8897                 reinterpret_cast<VkPhysicalDeviceUniformBufferStandardLayoutFeatures*>(
8898                     structExtension_out));
8899             break;
8900         }
8901         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_EXTENDED_TYPES_FEATURES: {
8902             transform_tohost_VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures(
8903                 resourceTracker,
8904                 reinterpret_cast<VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures*>(
8905                     structExtension_out));
8906             break;
8907         }
8908         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SEPARATE_DEPTH_STENCIL_LAYOUTS_FEATURES: {
8909             transform_tohost_VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures(
8910                 resourceTracker,
8911                 reinterpret_cast<VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures*>(
8912                     structExtension_out));
8913             break;
8914         }
8915         case VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_STENCIL_LAYOUT: {
8916             transform_tohost_VkAttachmentReferenceStencilLayout(
8917                 resourceTracker,
8918                 reinterpret_cast<VkAttachmentReferenceStencilLayout*>(structExtension_out));
8919             break;
8920         }
8921         case VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_STENCIL_LAYOUT: {
8922             transform_tohost_VkAttachmentDescriptionStencilLayout(
8923                 resourceTracker,
8924                 reinterpret_cast<VkAttachmentDescriptionStencilLayout*>(structExtension_out));
8925             break;
8926         }
8927         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES: {
8928             transform_tohost_VkPhysicalDeviceHostQueryResetFeatures(
8929                 resourceTracker,
8930                 reinterpret_cast<VkPhysicalDeviceHostQueryResetFeatures*>(structExtension_out));
8931             break;
8932         }
8933         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_FEATURES: {
8934             transform_tohost_VkPhysicalDeviceTimelineSemaphoreFeatures(
8935                 resourceTracker,
8936                 reinterpret_cast<VkPhysicalDeviceTimelineSemaphoreFeatures*>(structExtension_out));
8937             break;
8938         }
8939         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_PROPERTIES: {
8940             transform_tohost_VkPhysicalDeviceTimelineSemaphoreProperties(
8941                 resourceTracker, reinterpret_cast<VkPhysicalDeviceTimelineSemaphoreProperties*>(
8942                                      structExtension_out));
8943             break;
8944         }
8945         case VK_STRUCTURE_TYPE_SEMAPHORE_TYPE_CREATE_INFO: {
8946             transform_tohost_VkSemaphoreTypeCreateInfo(
8947                 resourceTracker, reinterpret_cast<VkSemaphoreTypeCreateInfo*>(structExtension_out));
8948             break;
8949         }
8950         case VK_STRUCTURE_TYPE_TIMELINE_SEMAPHORE_SUBMIT_INFO: {
8951             transform_tohost_VkTimelineSemaphoreSubmitInfo(
8952                 resourceTracker,
8953                 reinterpret_cast<VkTimelineSemaphoreSubmitInfo*>(structExtension_out));
8954             break;
8955         }
8956         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES: {
8957             transform_tohost_VkPhysicalDeviceBufferDeviceAddressFeatures(
8958                 resourceTracker, reinterpret_cast<VkPhysicalDeviceBufferDeviceAddressFeatures*>(
8959                                      structExtension_out));
8960             break;
8961         }
8962         case VK_STRUCTURE_TYPE_BUFFER_OPAQUE_CAPTURE_ADDRESS_CREATE_INFO: {
8963             transform_tohost_VkBufferOpaqueCaptureAddressCreateInfo(
8964                 resourceTracker,
8965                 reinterpret_cast<VkBufferOpaqueCaptureAddressCreateInfo*>(structExtension_out));
8966             break;
8967         }
8968         case VK_STRUCTURE_TYPE_MEMORY_OPAQUE_CAPTURE_ADDRESS_ALLOCATE_INFO: {
8969             transform_tohost_VkMemoryOpaqueCaptureAddressAllocateInfo(
8970                 resourceTracker,
8971                 reinterpret_cast<VkMemoryOpaqueCaptureAddressAllocateInfo*>(structExtension_out));
8972             break;
8973         }
8974 #endif
8975 #ifdef VK_VERSION_1_3
8976         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_FEATURES: {
8977             transform_tohost_VkPhysicalDeviceVulkan13Features(
8978                 resourceTracker,
8979                 reinterpret_cast<VkPhysicalDeviceVulkan13Features*>(structExtension_out));
8980             break;
8981         }
8982         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_PROPERTIES: {
8983             transform_tohost_VkPhysicalDeviceVulkan13Properties(
8984                 resourceTracker,
8985                 reinterpret_cast<VkPhysicalDeviceVulkan13Properties*>(structExtension_out));
8986             break;
8987         }
8988         case VK_STRUCTURE_TYPE_PIPELINE_CREATION_FEEDBACK_CREATE_INFO: {
8989             transform_tohost_VkPipelineCreationFeedbackCreateInfo(
8990                 resourceTracker,
8991                 reinterpret_cast<VkPipelineCreationFeedbackCreateInfo*>(structExtension_out));
8992             break;
8993         }
8994         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_TERMINATE_INVOCATION_FEATURES: {
8995             transform_tohost_VkPhysicalDeviceShaderTerminateInvocationFeatures(
8996                 resourceTracker,
8997                 reinterpret_cast<VkPhysicalDeviceShaderTerminateInvocationFeatures*>(
8998                     structExtension_out));
8999             break;
9000         }
9001         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DEMOTE_TO_HELPER_INVOCATION_FEATURES: {
9002             transform_tohost_VkPhysicalDeviceShaderDemoteToHelperInvocationFeatures(
9003                 resourceTracker,
9004                 reinterpret_cast<VkPhysicalDeviceShaderDemoteToHelperInvocationFeatures*>(
9005                     structExtension_out));
9006             break;
9007         }
9008         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIVATE_DATA_FEATURES: {
9009             transform_tohost_VkPhysicalDevicePrivateDataFeatures(
9010                 resourceTracker,
9011                 reinterpret_cast<VkPhysicalDevicePrivateDataFeatures*>(structExtension_out));
9012             break;
9013         }
9014         case VK_STRUCTURE_TYPE_DEVICE_PRIVATE_DATA_CREATE_INFO: {
9015             transform_tohost_VkDevicePrivateDataCreateInfo(
9016                 resourceTracker,
9017                 reinterpret_cast<VkDevicePrivateDataCreateInfo*>(structExtension_out));
9018             break;
9019         }
9020         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_CREATION_CACHE_CONTROL_FEATURES: {
9021             transform_tohost_VkPhysicalDevicePipelineCreationCacheControlFeatures(
9022                 resourceTracker,
9023                 reinterpret_cast<VkPhysicalDevicePipelineCreationCacheControlFeatures*>(
9024                     structExtension_out));
9025             break;
9026         }
9027         case VK_STRUCTURE_TYPE_MEMORY_BARRIER_2: {
9028             transform_tohost_VkMemoryBarrier2(
9029                 resourceTracker, reinterpret_cast<VkMemoryBarrier2*>(structExtension_out));
9030             break;
9031         }
9032         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES: {
9033             transform_tohost_VkPhysicalDeviceSynchronization2Features(
9034                 resourceTracker,
9035                 reinterpret_cast<VkPhysicalDeviceSynchronization2Features*>(structExtension_out));
9036             break;
9037         }
9038         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ZERO_INITIALIZE_WORKGROUP_MEMORY_FEATURES: {
9039             transform_tohost_VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures(
9040                 resourceTracker,
9041                 reinterpret_cast<VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures*>(
9042                     structExtension_out));
9043             break;
9044         }
9045         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ROBUSTNESS_FEATURES: {
9046             transform_tohost_VkPhysicalDeviceImageRobustnessFeatures(
9047                 resourceTracker,
9048                 reinterpret_cast<VkPhysicalDeviceImageRobustnessFeatures*>(structExtension_out));
9049             break;
9050         }
9051         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_FEATURES: {
9052             transform_tohost_VkPhysicalDeviceSubgroupSizeControlFeatures(
9053                 resourceTracker, reinterpret_cast<VkPhysicalDeviceSubgroupSizeControlFeatures*>(
9054                                      structExtension_out));
9055             break;
9056         }
9057         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_PROPERTIES: {
9058             transform_tohost_VkPhysicalDeviceSubgroupSizeControlProperties(
9059                 resourceTracker, reinterpret_cast<VkPhysicalDeviceSubgroupSizeControlProperties*>(
9060                                      structExtension_out));
9061             break;
9062         }
9063         case VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_REQUIRED_SUBGROUP_SIZE_CREATE_INFO: {
9064             transform_tohost_VkPipelineShaderStageRequiredSubgroupSizeCreateInfo(
9065                 resourceTracker,
9066                 reinterpret_cast<VkPipelineShaderStageRequiredSubgroupSizeCreateInfo*>(
9067                     structExtension_out));
9068             break;
9069         }
9070         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_FEATURES: {
9071             transform_tohost_VkPhysicalDeviceInlineUniformBlockFeatures(
9072                 resourceTracker,
9073                 reinterpret_cast<VkPhysicalDeviceInlineUniformBlockFeatures*>(structExtension_out));
9074             break;
9075         }
9076         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_PROPERTIES: {
9077             transform_tohost_VkPhysicalDeviceInlineUniformBlockProperties(
9078                 resourceTracker, reinterpret_cast<VkPhysicalDeviceInlineUniformBlockProperties*>(
9079                                      structExtension_out));
9080             break;
9081         }
9082         case VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_INLINE_UNIFORM_BLOCK: {
9083             transform_tohost_VkWriteDescriptorSetInlineUniformBlock(
9084                 resourceTracker,
9085                 reinterpret_cast<VkWriteDescriptorSetInlineUniformBlock*>(structExtension_out));
9086             break;
9087         }
9088         case VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_INLINE_UNIFORM_BLOCK_CREATE_INFO: {
9089             transform_tohost_VkDescriptorPoolInlineUniformBlockCreateInfo(
9090                 resourceTracker, reinterpret_cast<VkDescriptorPoolInlineUniformBlockCreateInfo*>(
9091                                      structExtension_out));
9092             break;
9093         }
9094         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_HDR_FEATURES: {
9095             transform_tohost_VkPhysicalDeviceTextureCompressionASTCHDRFeatures(
9096                 resourceTracker,
9097                 reinterpret_cast<VkPhysicalDeviceTextureCompressionASTCHDRFeatures*>(
9098                     structExtension_out));
9099             break;
9100         }
9101         case VK_STRUCTURE_TYPE_PIPELINE_RENDERING_CREATE_INFO: {
9102             transform_tohost_VkPipelineRenderingCreateInfo(
9103                 resourceTracker,
9104                 reinterpret_cast<VkPipelineRenderingCreateInfo*>(structExtension_out));
9105             break;
9106         }
9107         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_FEATURES: {
9108             transform_tohost_VkPhysicalDeviceDynamicRenderingFeatures(
9109                 resourceTracker,
9110                 reinterpret_cast<VkPhysicalDeviceDynamicRenderingFeatures*>(structExtension_out));
9111             break;
9112         }
9113         case VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_RENDERING_INFO: {
9114             transform_tohost_VkCommandBufferInheritanceRenderingInfo(
9115                 resourceTracker,
9116                 reinterpret_cast<VkCommandBufferInheritanceRenderingInfo*>(structExtension_out));
9117             break;
9118         }
9119         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_FEATURES: {
9120             transform_tohost_VkPhysicalDeviceShaderIntegerDotProductFeatures(
9121                 resourceTracker, reinterpret_cast<VkPhysicalDeviceShaderIntegerDotProductFeatures*>(
9122                                      structExtension_out));
9123             break;
9124         }
9125         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_PROPERTIES: {
9126             transform_tohost_VkPhysicalDeviceShaderIntegerDotProductProperties(
9127                 resourceTracker,
9128                 reinterpret_cast<VkPhysicalDeviceShaderIntegerDotProductProperties*>(
9129                     structExtension_out));
9130             break;
9131         }
9132         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_PROPERTIES: {
9133             transform_tohost_VkPhysicalDeviceTexelBufferAlignmentProperties(
9134                 resourceTracker, reinterpret_cast<VkPhysicalDeviceTexelBufferAlignmentProperties*>(
9135                                      structExtension_out));
9136             break;
9137         }
9138         case VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_3: {
9139             transform_tohost_VkFormatProperties3(
9140                 resourceTracker, reinterpret_cast<VkFormatProperties3*>(structExtension_out));
9141             break;
9142         }
9143         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_4_FEATURES: {
9144             transform_tohost_VkPhysicalDeviceMaintenance4Features(
9145                 resourceTracker,
9146                 reinterpret_cast<VkPhysicalDeviceMaintenance4Features*>(structExtension_out));
9147             break;
9148         }
9149         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_4_PROPERTIES: {
9150             transform_tohost_VkPhysicalDeviceMaintenance4Properties(
9151                 resourceTracker,
9152                 reinterpret_cast<VkPhysicalDeviceMaintenance4Properties*>(structExtension_out));
9153             break;
9154         }
9155 #endif
9156 #ifdef VK_KHR_swapchain
9157         case VK_STRUCTURE_TYPE_IMAGE_SWAPCHAIN_CREATE_INFO_KHR: {
9158             transform_tohost_VkImageSwapchainCreateInfoKHR(
9159                 resourceTracker,
9160                 reinterpret_cast<VkImageSwapchainCreateInfoKHR*>(structExtension_out));
9161             break;
9162         }
9163         case VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_SWAPCHAIN_INFO_KHR: {
9164             transform_tohost_VkBindImageMemorySwapchainInfoKHR(
9165                 resourceTracker,
9166                 reinterpret_cast<VkBindImageMemorySwapchainInfoKHR*>(structExtension_out));
9167             break;
9168         }
9169         case VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_INFO_KHR: {
9170             transform_tohost_VkDeviceGroupPresentInfoKHR(
9171                 resourceTracker,
9172                 reinterpret_cast<VkDeviceGroupPresentInfoKHR*>(structExtension_out));
9173             break;
9174         }
9175         case VK_STRUCTURE_TYPE_DEVICE_GROUP_SWAPCHAIN_CREATE_INFO_KHR: {
9176             transform_tohost_VkDeviceGroupSwapchainCreateInfoKHR(
9177                 resourceTracker,
9178                 reinterpret_cast<VkDeviceGroupSwapchainCreateInfoKHR*>(structExtension_out));
9179             break;
9180         }
9181 #endif
9182 #ifdef VK_KHR_dynamic_rendering
9183         case VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR: {
9184             transform_tohost_VkRenderingFragmentShadingRateAttachmentInfoKHR(
9185                 resourceTracker, reinterpret_cast<VkRenderingFragmentShadingRateAttachmentInfoKHR*>(
9186                                      structExtension_out));
9187             break;
9188         }
9189         case VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_INFO_EXT: {
9190             transform_tohost_VkRenderingFragmentDensityMapAttachmentInfoEXT(
9191                 resourceTracker, reinterpret_cast<VkRenderingFragmentDensityMapAttachmentInfoEXT*>(
9192                                      structExtension_out));
9193             break;
9194         }
9195         case VK_STRUCTURE_TYPE_ATTACHMENT_SAMPLE_COUNT_INFO_AMD: {
9196             transform_tohost_VkAttachmentSampleCountInfoAMD(
9197                 resourceTracker,
9198                 reinterpret_cast<VkAttachmentSampleCountInfoAMD*>(structExtension_out));
9199             break;
9200         }
9201         case VK_STRUCTURE_TYPE_MULTIVIEW_PER_VIEW_ATTRIBUTES_INFO_NVX: {
9202             transform_tohost_VkMultiviewPerViewAttributesInfoNVX(
9203                 resourceTracker,
9204                 reinterpret_cast<VkMultiviewPerViewAttributesInfoNVX*>(structExtension_out));
9205             break;
9206         }
9207 #endif
9208 #ifdef VK_KHR_incremental_present
9209         case VK_STRUCTURE_TYPE_PRESENT_REGIONS_KHR: {
9210             transform_tohost_VkPresentRegionsKHR(
9211                 resourceTracker, reinterpret_cast<VkPresentRegionsKHR*>(structExtension_out));
9212             break;
9213         }
9214 #endif
9215 #ifdef VK_KHR_pipeline_executable_properties
9216         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_EXECUTABLE_PROPERTIES_FEATURES_KHR: {
9217             transform_tohost_VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR(
9218                 resourceTracker,
9219                 reinterpret_cast<VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR*>(
9220                     structExtension_out));
9221             break;
9222         }
9223 #endif
9224 #ifdef VK_KHR_synchronization2
9225         case VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_2_NV: {
9226             transform_tohost_VkQueueFamilyCheckpointProperties2NV(
9227                 resourceTracker,
9228                 reinterpret_cast<VkQueueFamilyCheckpointProperties2NV*>(structExtension_out));
9229             break;
9230         }
9231 #endif
9232 #ifdef VK_KHR_maintenance5
9233         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_5_FEATURES_KHR: {
9234             transform_tohost_VkPhysicalDeviceMaintenance5FeaturesKHR(
9235                 resourceTracker,
9236                 reinterpret_cast<VkPhysicalDeviceMaintenance5FeaturesKHR*>(structExtension_out));
9237             break;
9238         }
9239         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_5_PROPERTIES_KHR: {
9240             transform_tohost_VkPhysicalDeviceMaintenance5PropertiesKHR(
9241                 resourceTracker,
9242                 reinterpret_cast<VkPhysicalDeviceMaintenance5PropertiesKHR*>(structExtension_out));
9243             break;
9244         }
9245         case VK_STRUCTURE_TYPE_PIPELINE_CREATE_FLAGS_2_CREATE_INFO_KHR: {
9246             transform_tohost_VkPipelineCreateFlags2CreateInfoKHR(
9247                 resourceTracker,
9248                 reinterpret_cast<VkPipelineCreateFlags2CreateInfoKHR*>(structExtension_out));
9249             break;
9250         }
9251         case VK_STRUCTURE_TYPE_BUFFER_USAGE_FLAGS_2_CREATE_INFO_KHR: {
9252             transform_tohost_VkBufferUsageFlags2CreateInfoKHR(
9253                 resourceTracker,
9254                 reinterpret_cast<VkBufferUsageFlags2CreateInfoKHR*>(structExtension_out));
9255             break;
9256         }
9257 #endif
9258 #ifdef VK_ANDROID_native_buffer
9259         case VK_STRUCTURE_TYPE_NATIVE_BUFFER_ANDROID: {
9260             transform_tohost_VkNativeBufferANDROID(
9261                 resourceTracker, reinterpret_cast<VkNativeBufferANDROID*>(structExtension_out));
9262             break;
9263         }
9264 #endif
9265 #ifdef VK_EXT_transform_feedback
9266         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_FEATURES_EXT: {
9267             transform_tohost_VkPhysicalDeviceTransformFeedbackFeaturesEXT(
9268                 resourceTracker, reinterpret_cast<VkPhysicalDeviceTransformFeedbackFeaturesEXT*>(
9269                                      structExtension_out));
9270             break;
9271         }
9272         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_PROPERTIES_EXT: {
9273             transform_tohost_VkPhysicalDeviceTransformFeedbackPropertiesEXT(
9274                 resourceTracker, reinterpret_cast<VkPhysicalDeviceTransformFeedbackPropertiesEXT*>(
9275                                      structExtension_out));
9276             break;
9277         }
9278         case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_STREAM_CREATE_INFO_EXT: {
9279             transform_tohost_VkPipelineRasterizationStateStreamCreateInfoEXT(
9280                 resourceTracker, reinterpret_cast<VkPipelineRasterizationStateStreamCreateInfoEXT*>(
9281                                      structExtension_out));
9282             break;
9283         }
9284 #endif
9285 #ifdef VK_EXT_depth_clip_enable
9286         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_ENABLE_FEATURES_EXT: {
9287             transform_tohost_VkPhysicalDeviceDepthClipEnableFeaturesEXT(
9288                 resourceTracker,
9289                 reinterpret_cast<VkPhysicalDeviceDepthClipEnableFeaturesEXT*>(structExtension_out));
9290             break;
9291         }
9292         case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_DEPTH_CLIP_STATE_CREATE_INFO_EXT: {
9293             transform_tohost_VkPipelineRasterizationDepthClipStateCreateInfoEXT(
9294                 resourceTracker,
9295                 reinterpret_cast<VkPipelineRasterizationDepthClipStateCreateInfoEXT*>(
9296                     structExtension_out));
9297             break;
9298         }
9299 #endif
9300 #ifdef VK_EXT_debug_utils
9301         case VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_NAME_INFO_EXT: {
9302             transform_tohost_VkDebugUtilsObjectNameInfoEXT(
9303                 resourceTracker,
9304                 reinterpret_cast<VkDebugUtilsObjectNameInfoEXT*>(structExtension_out));
9305             break;
9306         }
9307         case VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT: {
9308             transform_tohost_VkDebugUtilsMessengerCreateInfoEXT(
9309                 resourceTracker,
9310                 reinterpret_cast<VkDebugUtilsMessengerCreateInfoEXT*>(structExtension_out));
9311             break;
9312         }
9313 #endif
9314 #ifdef VK_EXT_vertex_attribute_divisor
9315         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_EXT: {
9316             transform_tohost_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT(
9317                 resourceTracker,
9318                 reinterpret_cast<VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT*>(
9319                     structExtension_out));
9320             break;
9321         }
9322         case VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_EXT: {
9323             transform_tohost_VkPipelineVertexInputDivisorStateCreateInfoEXT(
9324                 resourceTracker, reinterpret_cast<VkPipelineVertexInputDivisorStateCreateInfoEXT*>(
9325                                      structExtension_out));
9326             break;
9327         }
9328         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_EXT: {
9329             transform_tohost_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT(
9330                 resourceTracker,
9331                 reinterpret_cast<VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT*>(
9332                     structExtension_out));
9333             break;
9334         }
9335 #endif
9336 #ifdef VK_EXT_fragment_density_map
9337         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_FEATURES_EXT: {
9338             transform_tohost_VkPhysicalDeviceFragmentDensityMapFeaturesEXT(
9339                 resourceTracker, reinterpret_cast<VkPhysicalDeviceFragmentDensityMapFeaturesEXT*>(
9340                                      structExtension_out));
9341             break;
9342         }
9343         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_PROPERTIES_EXT: {
9344             transform_tohost_VkPhysicalDeviceFragmentDensityMapPropertiesEXT(
9345                 resourceTracker, reinterpret_cast<VkPhysicalDeviceFragmentDensityMapPropertiesEXT*>(
9346                                      structExtension_out));
9347             break;
9348         }
9349         case VK_STRUCTURE_TYPE_RENDER_PASS_FRAGMENT_DENSITY_MAP_CREATE_INFO_EXT: {
9350             transform_tohost_VkRenderPassFragmentDensityMapCreateInfoEXT(
9351                 resourceTracker, reinterpret_cast<VkRenderPassFragmentDensityMapCreateInfoEXT*>(
9352                                      structExtension_out));
9353             break;
9354         }
9355 #endif
9356 #ifdef VK_EXT_validation_features
9357         case VK_STRUCTURE_TYPE_VALIDATION_FEATURES_EXT: {
9358             transform_tohost_VkValidationFeaturesEXT(
9359                 resourceTracker, reinterpret_cast<VkValidationFeaturesEXT*>(structExtension_out));
9360             break;
9361         }
9362 #endif
9363 #ifdef VK_EXT_provoking_vertex
9364         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROVOKING_VERTEX_FEATURES_EXT: {
9365             transform_tohost_VkPhysicalDeviceProvokingVertexFeaturesEXT(
9366                 resourceTracker,
9367                 reinterpret_cast<VkPhysicalDeviceProvokingVertexFeaturesEXT*>(structExtension_out));
9368             break;
9369         }
9370         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROVOKING_VERTEX_PROPERTIES_EXT: {
9371             transform_tohost_VkPhysicalDeviceProvokingVertexPropertiesEXT(
9372                 resourceTracker, reinterpret_cast<VkPhysicalDeviceProvokingVertexPropertiesEXT*>(
9373                                      structExtension_out));
9374             break;
9375         }
9376         case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_PROVOKING_VERTEX_STATE_CREATE_INFO_EXT: {
9377             transform_tohost_VkPipelineRasterizationProvokingVertexStateCreateInfoEXT(
9378                 resourceTracker,
9379                 reinterpret_cast<VkPipelineRasterizationProvokingVertexStateCreateInfoEXT*>(
9380                     structExtension_out));
9381             break;
9382         }
9383 #endif
9384 #ifdef VK_EXT_line_rasterization
9385         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_EXT: {
9386             transform_tohost_VkPhysicalDeviceLineRasterizationFeaturesEXT(
9387                 resourceTracker, reinterpret_cast<VkPhysicalDeviceLineRasterizationFeaturesEXT*>(
9388                                      structExtension_out));
9389             break;
9390         }
9391         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_PROPERTIES_EXT: {
9392             transform_tohost_VkPhysicalDeviceLineRasterizationPropertiesEXT(
9393                 resourceTracker, reinterpret_cast<VkPhysicalDeviceLineRasterizationPropertiesEXT*>(
9394                                      structExtension_out));
9395             break;
9396         }
9397         case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_LINE_STATE_CREATE_INFO_EXT: {
9398             transform_tohost_VkPipelineRasterizationLineStateCreateInfoEXT(
9399                 resourceTracker, reinterpret_cast<VkPipelineRasterizationLineStateCreateInfoEXT*>(
9400                                      structExtension_out));
9401             break;
9402         }
9403 #endif
9404 #ifdef VK_EXT_index_type_uint8
9405         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INDEX_TYPE_UINT8_FEATURES_EXT: {
9406             transform_tohost_VkPhysicalDeviceIndexTypeUint8FeaturesEXT(
9407                 resourceTracker,
9408                 reinterpret_cast<VkPhysicalDeviceIndexTypeUint8FeaturesEXT*>(structExtension_out));
9409             break;
9410         }
9411 #endif
9412 #ifdef VK_EXT_extended_dynamic_state
9413         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_FEATURES_EXT: {
9414             transform_tohost_VkPhysicalDeviceExtendedDynamicStateFeaturesEXT(
9415                 resourceTracker, reinterpret_cast<VkPhysicalDeviceExtendedDynamicStateFeaturesEXT*>(
9416                                      structExtension_out));
9417             break;
9418         }
9419 #endif
9420 #ifdef VK_EXT_host_image_copy
9421         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_IMAGE_COPY_FEATURES_EXT: {
9422             transform_tohost_VkPhysicalDeviceHostImageCopyFeaturesEXT(
9423                 resourceTracker,
9424                 reinterpret_cast<VkPhysicalDeviceHostImageCopyFeaturesEXT*>(structExtension_out));
9425             break;
9426         }
9427         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_IMAGE_COPY_PROPERTIES_EXT: {
9428             transform_tohost_VkPhysicalDeviceHostImageCopyPropertiesEXT(
9429                 resourceTracker,
9430                 reinterpret_cast<VkPhysicalDeviceHostImageCopyPropertiesEXT*>(structExtension_out));
9431             break;
9432         }
9433         case VK_STRUCTURE_TYPE_SUBRESOURCE_HOST_MEMCPY_SIZE_EXT: {
9434             transform_tohost_VkSubresourceHostMemcpySizeEXT(
9435                 resourceTracker,
9436                 reinterpret_cast<VkSubresourceHostMemcpySizeEXT*>(structExtension_out));
9437             break;
9438         }
9439         case VK_STRUCTURE_TYPE_HOST_IMAGE_COPY_DEVICE_PERFORMANCE_QUERY_EXT: {
9440             transform_tohost_VkHostImageCopyDevicePerformanceQueryEXT(
9441                 resourceTracker,
9442                 reinterpret_cast<VkHostImageCopyDevicePerformanceQueryEXT*>(structExtension_out));
9443             break;
9444         }
9445 #endif
9446 #ifdef VK_EXT_swapchain_maintenance1
9447         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SWAPCHAIN_MAINTENANCE_1_FEATURES_EXT: {
9448             transform_tohost_VkPhysicalDeviceSwapchainMaintenance1FeaturesEXT(
9449                 resourceTracker,
9450                 reinterpret_cast<VkPhysicalDeviceSwapchainMaintenance1FeaturesEXT*>(
9451                     structExtension_out));
9452             break;
9453         }
9454         case VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_FENCE_INFO_EXT: {
9455             transform_tohost_VkSwapchainPresentFenceInfoEXT(
9456                 resourceTracker,
9457                 reinterpret_cast<VkSwapchainPresentFenceInfoEXT*>(structExtension_out));
9458             break;
9459         }
9460         case VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_MODES_CREATE_INFO_EXT: {
9461             transform_tohost_VkSwapchainPresentModesCreateInfoEXT(
9462                 resourceTracker,
9463                 reinterpret_cast<VkSwapchainPresentModesCreateInfoEXT*>(structExtension_out));
9464             break;
9465         }
9466         case VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_MODE_INFO_EXT: {
9467             transform_tohost_VkSwapchainPresentModeInfoEXT(
9468                 resourceTracker,
9469                 reinterpret_cast<VkSwapchainPresentModeInfoEXT*>(structExtension_out));
9470             break;
9471         }
9472         case VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_SCALING_CREATE_INFO_EXT: {
9473             transform_tohost_VkSwapchainPresentScalingCreateInfoEXT(
9474                 resourceTracker,
9475                 reinterpret_cast<VkSwapchainPresentScalingCreateInfoEXT*>(structExtension_out));
9476             break;
9477         }
9478 #endif
9479 #ifdef VK_EXT_texel_buffer_alignment
9480         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_FEATURES_EXT: {
9481             transform_tohost_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT(
9482                 resourceTracker, reinterpret_cast<VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT*>(
9483                                      structExtension_out));
9484             break;
9485         }
9486 #endif
9487 #ifdef VK_EXT_device_memory_report
9488         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_MEMORY_REPORT_FEATURES_EXT: {
9489             transform_tohost_VkPhysicalDeviceDeviceMemoryReportFeaturesEXT(
9490                 resourceTracker, reinterpret_cast<VkPhysicalDeviceDeviceMemoryReportFeaturesEXT*>(
9491                                      structExtension_out));
9492             break;
9493         }
9494         case VK_STRUCTURE_TYPE_DEVICE_DEVICE_MEMORY_REPORT_CREATE_INFO_EXT: {
9495             transform_tohost_VkDeviceDeviceMemoryReportCreateInfoEXT(
9496                 resourceTracker,
9497                 reinterpret_cast<VkDeviceDeviceMemoryReportCreateInfoEXT*>(structExtension_out));
9498             break;
9499         }
9500 #endif
9501 #ifdef VK_EXT_robustness2
9502         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ROBUSTNESS_2_FEATURES_EXT: {
9503             transform_tohost_VkPhysicalDeviceRobustness2FeaturesEXT(
9504                 resourceTracker,
9505                 reinterpret_cast<VkPhysicalDeviceRobustness2FeaturesEXT*>(structExtension_out));
9506             break;
9507         }
9508         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ROBUSTNESS_2_PROPERTIES_EXT: {
9509             transform_tohost_VkPhysicalDeviceRobustness2PropertiesEXT(
9510                 resourceTracker,
9511                 reinterpret_cast<VkPhysicalDeviceRobustness2PropertiesEXT*>(structExtension_out));
9512             break;
9513         }
9514 #endif
9515 #ifdef VK_EXT_custom_border_color
9516         case VK_STRUCTURE_TYPE_SAMPLER_CUSTOM_BORDER_COLOR_CREATE_INFO_EXT: {
9517             transform_tohost_VkSamplerCustomBorderColorCreateInfoEXT(
9518                 resourceTracker,
9519                 reinterpret_cast<VkSamplerCustomBorderColorCreateInfoEXT*>(structExtension_out));
9520             break;
9521         }
9522         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUSTOM_BORDER_COLOR_PROPERTIES_EXT: {
9523             transform_tohost_VkPhysicalDeviceCustomBorderColorPropertiesEXT(
9524                 resourceTracker, reinterpret_cast<VkPhysicalDeviceCustomBorderColorPropertiesEXT*>(
9525                                      structExtension_out));
9526             break;
9527         }
9528         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUSTOM_BORDER_COLOR_FEATURES_EXT: {
9529             transform_tohost_VkPhysicalDeviceCustomBorderColorFeaturesEXT(
9530                 resourceTracker, reinterpret_cast<VkPhysicalDeviceCustomBorderColorFeaturesEXT*>(
9531                                      structExtension_out));
9532             break;
9533         }
9534 #endif
9535 #ifdef VK_EXT_graphics_pipeline_library
9536         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GRAPHICS_PIPELINE_LIBRARY_FEATURES_EXT: {
9537             transform_tohost_VkPhysicalDeviceGraphicsPipelineLibraryFeaturesEXT(
9538                 resourceTracker,
9539                 reinterpret_cast<VkPhysicalDeviceGraphicsPipelineLibraryFeaturesEXT*>(
9540                     structExtension_out));
9541             break;
9542         }
9543         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GRAPHICS_PIPELINE_LIBRARY_PROPERTIES_EXT: {
9544             transform_tohost_VkPhysicalDeviceGraphicsPipelineLibraryPropertiesEXT(
9545                 resourceTracker,
9546                 reinterpret_cast<VkPhysicalDeviceGraphicsPipelineLibraryPropertiesEXT*>(
9547                     structExtension_out));
9548             break;
9549         }
9550         case VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_LIBRARY_CREATE_INFO_EXT: {
9551             transform_tohost_VkGraphicsPipelineLibraryCreateInfoEXT(
9552                 resourceTracker,
9553                 reinterpret_cast<VkGraphicsPipelineLibraryCreateInfoEXT*>(structExtension_out));
9554             break;
9555         }
9556 #endif
9557 #ifdef VK_EXT_ycbcr_2plane_444_formats
9558         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_YCBCR_2_PLANE_444_FORMATS_FEATURES_EXT: {
9559             transform_tohost_VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT(
9560                 resourceTracker,
9561                 reinterpret_cast<VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT*>(
9562                     structExtension_out));
9563             break;
9564         }
9565 #endif
9566 #ifdef VK_EXT_image_compression_control
9567         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_COMPRESSION_CONTROL_FEATURES_EXT: {
9568             transform_tohost_VkPhysicalDeviceImageCompressionControlFeaturesEXT(
9569                 resourceTracker,
9570                 reinterpret_cast<VkPhysicalDeviceImageCompressionControlFeaturesEXT*>(
9571                     structExtension_out));
9572             break;
9573         }
9574         case VK_STRUCTURE_TYPE_IMAGE_COMPRESSION_CONTROL_EXT: {
9575             transform_tohost_VkImageCompressionControlEXT(
9576                 resourceTracker,
9577                 reinterpret_cast<VkImageCompressionControlEXT*>(structExtension_out));
9578             break;
9579         }
9580         case VK_STRUCTURE_TYPE_IMAGE_COMPRESSION_PROPERTIES_EXT: {
9581             transform_tohost_VkImageCompressionPropertiesEXT(
9582                 resourceTracker,
9583                 reinterpret_cast<VkImageCompressionPropertiesEXT*>(structExtension_out));
9584             break;
9585         }
9586 #endif
9587 #ifdef VK_EXT_4444_formats
9588         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_4444_FORMATS_FEATURES_EXT: {
9589             transform_tohost_VkPhysicalDevice4444FormatsFeaturesEXT(
9590                 resourceTracker,
9591                 reinterpret_cast<VkPhysicalDevice4444FormatsFeaturesEXT*>(structExtension_out));
9592             break;
9593         }
9594 #endif
9595 #ifdef VK_EXT_primitive_topology_list_restart
9596         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIMITIVE_TOPOLOGY_LIST_RESTART_FEATURES_EXT: {
9597             transform_tohost_VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT(
9598                 resourceTracker,
9599                 reinterpret_cast<VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT*>(
9600                     structExtension_out));
9601             break;
9602         }
9603 #endif
9604 #ifdef VK_EXT_extended_dynamic_state2
9605         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_2_FEATURES_EXT: {
9606             transform_tohost_VkPhysicalDeviceExtendedDynamicState2FeaturesEXT(
9607                 resourceTracker,
9608                 reinterpret_cast<VkPhysicalDeviceExtendedDynamicState2FeaturesEXT*>(
9609                     structExtension_out));
9610             break;
9611         }
9612 #endif
9613 #ifdef VK_GOOGLE_gfxstream
9614         case VK_STRUCTURE_TYPE_IMPORT_COLOR_BUFFER_GOOGLE: {
9615             transform_tohost_VkImportColorBufferGOOGLE(
9616                 resourceTracker, reinterpret_cast<VkImportColorBufferGOOGLE*>(structExtension_out));
9617             break;
9618         }
9619         case VK_STRUCTURE_TYPE_IMPORT_BUFFER_GOOGLE: {
9620             transform_tohost_VkImportBufferGOOGLE(
9621                 resourceTracker, reinterpret_cast<VkImportBufferGOOGLE*>(structExtension_out));
9622             break;
9623         }
9624         case VK_STRUCTURE_TYPE_CREATE_BLOB_GOOGLE: {
9625             transform_tohost_VkCreateBlobGOOGLE(
9626                 resourceTracker, reinterpret_cast<VkCreateBlobGOOGLE*>(structExtension_out));
9627             break;
9628         }
9629 #endif
9630 #ifdef VK_EXT_image_compression_control_swapchain
9631         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_COMPRESSION_CONTROL_SWAPCHAIN_FEATURES_EXT: {
9632             transform_tohost_VkPhysicalDeviceImageCompressionControlSwapchainFeaturesEXT(
9633                 resourceTracker,
9634                 reinterpret_cast<VkPhysicalDeviceImageCompressionControlSwapchainFeaturesEXT*>(
9635                     structExtension_out));
9636             break;
9637         }
9638 #endif
9639         default: {
9640             return;
9641         }
9642     }
9643 }
9644 
transform_fromhost_extension_struct(VkDecoderGlobalState * resourceTracker,void * structExtension_out)9645 void transform_fromhost_extension_struct(VkDecoderGlobalState* resourceTracker,
9646                                          void* structExtension_out) {
9647     if (!structExtension_out) {
9648         return;
9649     }
9650     uint32_t structType = (uint32_t)goldfish_vk_struct_type(structExtension_out);
9651     switch (structType) {
9652 #ifdef VK_VERSION_1_0
9653         case VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO: {
9654             transform_fromhost_VkShaderModuleCreateInfo(
9655                 resourceTracker, reinterpret_cast<VkShaderModuleCreateInfo*>(structExtension_out));
9656             break;
9657         }
9658 #endif
9659 #ifdef VK_VERSION_1_1
9660         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES: {
9661             transform_fromhost_VkPhysicalDeviceSubgroupProperties(
9662                 resourceTracker,
9663                 reinterpret_cast<VkPhysicalDeviceSubgroupProperties*>(structExtension_out));
9664             break;
9665         }
9666         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES: {
9667             transform_fromhost_VkPhysicalDevice16BitStorageFeatures(
9668                 resourceTracker,
9669                 reinterpret_cast<VkPhysicalDevice16BitStorageFeatures*>(structExtension_out));
9670             break;
9671         }
9672         case VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS: {
9673             transform_fromhost_VkMemoryDedicatedRequirements(
9674                 resourceTracker,
9675                 reinterpret_cast<VkMemoryDedicatedRequirements*>(structExtension_out));
9676             break;
9677         }
9678         case VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO: {
9679             transform_fromhost_VkMemoryDedicatedAllocateInfo(
9680                 resourceTracker,
9681                 reinterpret_cast<VkMemoryDedicatedAllocateInfo*>(structExtension_out));
9682             break;
9683         }
9684         case VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO: {
9685             transform_fromhost_VkMemoryAllocateFlagsInfo(
9686                 resourceTracker, reinterpret_cast<VkMemoryAllocateFlagsInfo*>(structExtension_out));
9687             break;
9688         }
9689         case VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO: {
9690             transform_fromhost_VkDeviceGroupRenderPassBeginInfo(
9691                 resourceTracker,
9692                 reinterpret_cast<VkDeviceGroupRenderPassBeginInfo*>(structExtension_out));
9693             break;
9694         }
9695         case VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO: {
9696             transform_fromhost_VkDeviceGroupCommandBufferBeginInfo(
9697                 resourceTracker,
9698                 reinterpret_cast<VkDeviceGroupCommandBufferBeginInfo*>(structExtension_out));
9699             break;
9700         }
9701         case VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO: {
9702             transform_fromhost_VkDeviceGroupSubmitInfo(
9703                 resourceTracker, reinterpret_cast<VkDeviceGroupSubmitInfo*>(structExtension_out));
9704             break;
9705         }
9706         case VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO: {
9707             transform_fromhost_VkDeviceGroupBindSparseInfo(
9708                 resourceTracker,
9709                 reinterpret_cast<VkDeviceGroupBindSparseInfo*>(structExtension_out));
9710             break;
9711         }
9712         case VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO: {
9713             transform_fromhost_VkBindBufferMemoryDeviceGroupInfo(
9714                 resourceTracker,
9715                 reinterpret_cast<VkBindBufferMemoryDeviceGroupInfo*>(structExtension_out));
9716             break;
9717         }
9718         case VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO: {
9719             transform_fromhost_VkBindImageMemoryDeviceGroupInfo(
9720                 resourceTracker,
9721                 reinterpret_cast<VkBindImageMemoryDeviceGroupInfo*>(structExtension_out));
9722             break;
9723         }
9724         case VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO: {
9725             transform_fromhost_VkDeviceGroupDeviceCreateInfo(
9726                 resourceTracker,
9727                 reinterpret_cast<VkDeviceGroupDeviceCreateInfo*>(structExtension_out));
9728             break;
9729         }
9730         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2: {
9731             transform_fromhost_VkPhysicalDeviceFeatures2(
9732                 resourceTracker, reinterpret_cast<VkPhysicalDeviceFeatures2*>(structExtension_out));
9733             break;
9734         }
9735         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES: {
9736             transform_fromhost_VkPhysicalDevicePointClippingProperties(
9737                 resourceTracker,
9738                 reinterpret_cast<VkPhysicalDevicePointClippingProperties*>(structExtension_out));
9739             break;
9740         }
9741         case VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO: {
9742             transform_fromhost_VkRenderPassInputAttachmentAspectCreateInfo(
9743                 resourceTracker, reinterpret_cast<VkRenderPassInputAttachmentAspectCreateInfo*>(
9744                                      structExtension_out));
9745             break;
9746         }
9747         case VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO: {
9748             transform_fromhost_VkImageViewUsageCreateInfo(
9749                 resourceTracker,
9750                 reinterpret_cast<VkImageViewUsageCreateInfo*>(structExtension_out));
9751             break;
9752         }
9753         case VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO: {
9754             transform_fromhost_VkPipelineTessellationDomainOriginStateCreateInfo(
9755                 resourceTracker,
9756                 reinterpret_cast<VkPipelineTessellationDomainOriginStateCreateInfo*>(
9757                     structExtension_out));
9758             break;
9759         }
9760         case VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO: {
9761             transform_fromhost_VkRenderPassMultiviewCreateInfo(
9762                 resourceTracker,
9763                 reinterpret_cast<VkRenderPassMultiviewCreateInfo*>(structExtension_out));
9764             break;
9765         }
9766         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES: {
9767             transform_fromhost_VkPhysicalDeviceMultiviewFeatures(
9768                 resourceTracker,
9769                 reinterpret_cast<VkPhysicalDeviceMultiviewFeatures*>(structExtension_out));
9770             break;
9771         }
9772         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES: {
9773             transform_fromhost_VkPhysicalDeviceMultiviewProperties(
9774                 resourceTracker,
9775                 reinterpret_cast<VkPhysicalDeviceMultiviewProperties*>(structExtension_out));
9776             break;
9777         }
9778         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES: {
9779             transform_fromhost_VkPhysicalDeviceVariablePointersFeatures(
9780                 resourceTracker,
9781                 reinterpret_cast<VkPhysicalDeviceVariablePointersFeatures*>(structExtension_out));
9782             break;
9783         }
9784         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES: {
9785             transform_fromhost_VkPhysicalDeviceProtectedMemoryFeatures(
9786                 resourceTracker,
9787                 reinterpret_cast<VkPhysicalDeviceProtectedMemoryFeatures*>(structExtension_out));
9788             break;
9789         }
9790         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES: {
9791             transform_fromhost_VkPhysicalDeviceProtectedMemoryProperties(
9792                 resourceTracker,
9793                 reinterpret_cast<VkPhysicalDeviceProtectedMemoryProperties*>(structExtension_out));
9794             break;
9795         }
9796         case VK_STRUCTURE_TYPE_PROTECTED_SUBMIT_INFO: {
9797             transform_fromhost_VkProtectedSubmitInfo(
9798                 resourceTracker, reinterpret_cast<VkProtectedSubmitInfo*>(structExtension_out));
9799             break;
9800         }
9801         case VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO: {
9802             transform_fromhost_VkSamplerYcbcrConversionInfo(
9803                 resourceTracker,
9804                 reinterpret_cast<VkSamplerYcbcrConversionInfo*>(structExtension_out));
9805             break;
9806         }
9807         case VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO: {
9808             transform_fromhost_VkBindImagePlaneMemoryInfo(
9809                 resourceTracker,
9810                 reinterpret_cast<VkBindImagePlaneMemoryInfo*>(structExtension_out));
9811             break;
9812         }
9813         case VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO: {
9814             transform_fromhost_VkImagePlaneMemoryRequirementsInfo(
9815                 resourceTracker,
9816                 reinterpret_cast<VkImagePlaneMemoryRequirementsInfo*>(structExtension_out));
9817             break;
9818         }
9819         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES: {
9820             transform_fromhost_VkPhysicalDeviceSamplerYcbcrConversionFeatures(
9821                 resourceTracker, reinterpret_cast<VkPhysicalDeviceSamplerYcbcrConversionFeatures*>(
9822                                      structExtension_out));
9823             break;
9824         }
9825         case VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES: {
9826             transform_fromhost_VkSamplerYcbcrConversionImageFormatProperties(
9827                 resourceTracker, reinterpret_cast<VkSamplerYcbcrConversionImageFormatProperties*>(
9828                                      structExtension_out));
9829             break;
9830         }
9831         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO: {
9832             resourceTracker->transformImpl_VkPhysicalDeviceExternalImageFormatInfo_fromhost(
9833                 reinterpret_cast<VkPhysicalDeviceExternalImageFormatInfo*>(structExtension_out), 1);
9834             transform_fromhost_VkPhysicalDeviceExternalImageFormatInfo(
9835                 resourceTracker,
9836                 reinterpret_cast<VkPhysicalDeviceExternalImageFormatInfo*>(structExtension_out));
9837             break;
9838         }
9839         case VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES: {
9840             resourceTracker->transformImpl_VkExternalImageFormatProperties_fromhost(
9841                 reinterpret_cast<VkExternalImageFormatProperties*>(structExtension_out), 1);
9842             transform_fromhost_VkExternalImageFormatProperties(
9843                 resourceTracker,
9844                 reinterpret_cast<VkExternalImageFormatProperties*>(structExtension_out));
9845             break;
9846         }
9847         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES: {
9848             transform_fromhost_VkPhysicalDeviceIDProperties(
9849                 resourceTracker,
9850                 reinterpret_cast<VkPhysicalDeviceIDProperties*>(structExtension_out));
9851             break;
9852         }
9853         case VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO: {
9854             resourceTracker->transformImpl_VkExternalMemoryImageCreateInfo_fromhost(
9855                 reinterpret_cast<VkExternalMemoryImageCreateInfo*>(structExtension_out), 1);
9856             transform_fromhost_VkExternalMemoryImageCreateInfo(
9857                 resourceTracker,
9858                 reinterpret_cast<VkExternalMemoryImageCreateInfo*>(structExtension_out));
9859             break;
9860         }
9861         case VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO: {
9862             resourceTracker->transformImpl_VkExternalMemoryBufferCreateInfo_fromhost(
9863                 reinterpret_cast<VkExternalMemoryBufferCreateInfo*>(structExtension_out), 1);
9864             transform_fromhost_VkExternalMemoryBufferCreateInfo(
9865                 resourceTracker,
9866                 reinterpret_cast<VkExternalMemoryBufferCreateInfo*>(structExtension_out));
9867             break;
9868         }
9869         case VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO: {
9870             resourceTracker->transformImpl_VkExportMemoryAllocateInfo_fromhost(
9871                 reinterpret_cast<VkExportMemoryAllocateInfo*>(structExtension_out), 1);
9872             transform_fromhost_VkExportMemoryAllocateInfo(
9873                 resourceTracker,
9874                 reinterpret_cast<VkExportMemoryAllocateInfo*>(structExtension_out));
9875             break;
9876         }
9877         case VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO: {
9878             transform_fromhost_VkExportFenceCreateInfo(
9879                 resourceTracker, reinterpret_cast<VkExportFenceCreateInfo*>(structExtension_out));
9880             break;
9881         }
9882         case VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO: {
9883             transform_fromhost_VkExportSemaphoreCreateInfo(
9884                 resourceTracker,
9885                 reinterpret_cast<VkExportSemaphoreCreateInfo*>(structExtension_out));
9886             break;
9887         }
9888         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES: {
9889             transform_fromhost_VkPhysicalDeviceMaintenance3Properties(
9890                 resourceTracker,
9891                 reinterpret_cast<VkPhysicalDeviceMaintenance3Properties*>(structExtension_out));
9892             break;
9893         }
9894         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETERS_FEATURES: {
9895             transform_fromhost_VkPhysicalDeviceShaderDrawParametersFeatures(
9896                 resourceTracker, reinterpret_cast<VkPhysicalDeviceShaderDrawParametersFeatures*>(
9897                                      structExtension_out));
9898             break;
9899         }
9900 #endif
9901 #ifdef VK_VERSION_1_2
9902         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_FEATURES: {
9903             transform_fromhost_VkPhysicalDeviceVulkan11Features(
9904                 resourceTracker,
9905                 reinterpret_cast<VkPhysicalDeviceVulkan11Features*>(structExtension_out));
9906             break;
9907         }
9908         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_PROPERTIES: {
9909             transform_fromhost_VkPhysicalDeviceVulkan11Properties(
9910                 resourceTracker,
9911                 reinterpret_cast<VkPhysicalDeviceVulkan11Properties*>(structExtension_out));
9912             break;
9913         }
9914         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_FEATURES: {
9915             transform_fromhost_VkPhysicalDeviceVulkan12Features(
9916                 resourceTracker,
9917                 reinterpret_cast<VkPhysicalDeviceVulkan12Features*>(structExtension_out));
9918             break;
9919         }
9920         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_PROPERTIES: {
9921             transform_fromhost_VkPhysicalDeviceVulkan12Properties(
9922                 resourceTracker,
9923                 reinterpret_cast<VkPhysicalDeviceVulkan12Properties*>(structExtension_out));
9924             break;
9925         }
9926         case VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO: {
9927             transform_fromhost_VkImageFormatListCreateInfo(
9928                 resourceTracker,
9929                 reinterpret_cast<VkImageFormatListCreateInfo*>(structExtension_out));
9930             break;
9931         }
9932         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES: {
9933             transform_fromhost_VkPhysicalDevice8BitStorageFeatures(
9934                 resourceTracker,
9935                 reinterpret_cast<VkPhysicalDevice8BitStorageFeatures*>(structExtension_out));
9936             break;
9937         }
9938         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIES: {
9939             transform_fromhost_VkPhysicalDeviceDriverProperties(
9940                 resourceTracker,
9941                 reinterpret_cast<VkPhysicalDeviceDriverProperties*>(structExtension_out));
9942             break;
9943         }
9944         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURES: {
9945             transform_fromhost_VkPhysicalDeviceShaderAtomicInt64Features(
9946                 resourceTracker,
9947                 reinterpret_cast<VkPhysicalDeviceShaderAtomicInt64Features*>(structExtension_out));
9948             break;
9949         }
9950         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT16_INT8_FEATURES: {
9951             transform_fromhost_VkPhysicalDeviceShaderFloat16Int8Features(
9952                 resourceTracker,
9953                 reinterpret_cast<VkPhysicalDeviceShaderFloat16Int8Features*>(structExtension_out));
9954             break;
9955         }
9956         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIES: {
9957             transform_fromhost_VkPhysicalDeviceFloatControlsProperties(
9958                 resourceTracker,
9959                 reinterpret_cast<VkPhysicalDeviceFloatControlsProperties*>(structExtension_out));
9960             break;
9961         }
9962         case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO: {
9963             transform_fromhost_VkDescriptorSetLayoutBindingFlagsCreateInfo(
9964                 resourceTracker, reinterpret_cast<VkDescriptorSetLayoutBindingFlagsCreateInfo*>(
9965                                      structExtension_out));
9966             break;
9967         }
9968         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES: {
9969             transform_fromhost_VkPhysicalDeviceDescriptorIndexingFeatures(
9970                 resourceTracker,
9971                 reinterpret_cast<VkPhysicalDeviceDescriptorIndexingFeatures*>(structExtension_out));
9972             break;
9973         }
9974         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_PROPERTIES: {
9975             transform_fromhost_VkPhysicalDeviceDescriptorIndexingProperties(
9976                 resourceTracker, reinterpret_cast<VkPhysicalDeviceDescriptorIndexingProperties*>(
9977                                      structExtension_out));
9978             break;
9979         }
9980         case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO: {
9981             transform_fromhost_VkDescriptorSetVariableDescriptorCountAllocateInfo(
9982                 resourceTracker,
9983                 reinterpret_cast<VkDescriptorSetVariableDescriptorCountAllocateInfo*>(
9984                     structExtension_out));
9985             break;
9986         }
9987         case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT: {
9988             transform_fromhost_VkDescriptorSetVariableDescriptorCountLayoutSupport(
9989                 resourceTracker,
9990                 reinterpret_cast<VkDescriptorSetVariableDescriptorCountLayoutSupport*>(
9991                     structExtension_out));
9992             break;
9993         }
9994         case VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_DEPTH_STENCIL_RESOLVE: {
9995             transform_fromhost_VkSubpassDescriptionDepthStencilResolve(
9996                 resourceTracker,
9997                 reinterpret_cast<VkSubpassDescriptionDepthStencilResolve*>(structExtension_out));
9998             break;
9999         }
10000         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_STENCIL_RESOLVE_PROPERTIES: {
10001             transform_fromhost_VkPhysicalDeviceDepthStencilResolveProperties(
10002                 resourceTracker, reinterpret_cast<VkPhysicalDeviceDepthStencilResolveProperties*>(
10003                                      structExtension_out));
10004             break;
10005         }
10006         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURES: {
10007             transform_fromhost_VkPhysicalDeviceScalarBlockLayoutFeatures(
10008                 resourceTracker,
10009                 reinterpret_cast<VkPhysicalDeviceScalarBlockLayoutFeatures*>(structExtension_out));
10010             break;
10011         }
10012         case VK_STRUCTURE_TYPE_IMAGE_STENCIL_USAGE_CREATE_INFO: {
10013             transform_fromhost_VkImageStencilUsageCreateInfo(
10014                 resourceTracker,
10015                 reinterpret_cast<VkImageStencilUsageCreateInfo*>(structExtension_out));
10016             break;
10017         }
10018         case VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO: {
10019             transform_fromhost_VkSamplerReductionModeCreateInfo(
10020                 resourceTracker,
10021                 reinterpret_cast<VkSamplerReductionModeCreateInfo*>(structExtension_out));
10022             break;
10023         }
10024         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES: {
10025             transform_fromhost_VkPhysicalDeviceSamplerFilterMinmaxProperties(
10026                 resourceTracker, reinterpret_cast<VkPhysicalDeviceSamplerFilterMinmaxProperties*>(
10027                                      structExtension_out));
10028             break;
10029         }
10030         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_MEMORY_MODEL_FEATURES: {
10031             transform_fromhost_VkPhysicalDeviceVulkanMemoryModelFeatures(
10032                 resourceTracker,
10033                 reinterpret_cast<VkPhysicalDeviceVulkanMemoryModelFeatures*>(structExtension_out));
10034             break;
10035         }
10036         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGELESS_FRAMEBUFFER_FEATURES: {
10037             transform_fromhost_VkPhysicalDeviceImagelessFramebufferFeatures(
10038                 resourceTracker, reinterpret_cast<VkPhysicalDeviceImagelessFramebufferFeatures*>(
10039                                      structExtension_out));
10040             break;
10041         }
10042         case VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENTS_CREATE_INFO: {
10043             transform_fromhost_VkFramebufferAttachmentsCreateInfo(
10044                 resourceTracker,
10045                 reinterpret_cast<VkFramebufferAttachmentsCreateInfo*>(structExtension_out));
10046             break;
10047         }
10048         case VK_STRUCTURE_TYPE_RENDER_PASS_ATTACHMENT_BEGIN_INFO: {
10049             transform_fromhost_VkRenderPassAttachmentBeginInfo(
10050                 resourceTracker,
10051                 reinterpret_cast<VkRenderPassAttachmentBeginInfo*>(structExtension_out));
10052             break;
10053         }
10054         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES: {
10055             transform_fromhost_VkPhysicalDeviceUniformBufferStandardLayoutFeatures(
10056                 resourceTracker,
10057                 reinterpret_cast<VkPhysicalDeviceUniformBufferStandardLayoutFeatures*>(
10058                     structExtension_out));
10059             break;
10060         }
10061         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_EXTENDED_TYPES_FEATURES: {
10062             transform_fromhost_VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures(
10063                 resourceTracker,
10064                 reinterpret_cast<VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures*>(
10065                     structExtension_out));
10066             break;
10067         }
10068         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SEPARATE_DEPTH_STENCIL_LAYOUTS_FEATURES: {
10069             transform_fromhost_VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures(
10070                 resourceTracker,
10071                 reinterpret_cast<VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures*>(
10072                     structExtension_out));
10073             break;
10074         }
10075         case VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_STENCIL_LAYOUT: {
10076             transform_fromhost_VkAttachmentReferenceStencilLayout(
10077                 resourceTracker,
10078                 reinterpret_cast<VkAttachmentReferenceStencilLayout*>(structExtension_out));
10079             break;
10080         }
10081         case VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_STENCIL_LAYOUT: {
10082             transform_fromhost_VkAttachmentDescriptionStencilLayout(
10083                 resourceTracker,
10084                 reinterpret_cast<VkAttachmentDescriptionStencilLayout*>(structExtension_out));
10085             break;
10086         }
10087         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES: {
10088             transform_fromhost_VkPhysicalDeviceHostQueryResetFeatures(
10089                 resourceTracker,
10090                 reinterpret_cast<VkPhysicalDeviceHostQueryResetFeatures*>(structExtension_out));
10091             break;
10092         }
10093         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_FEATURES: {
10094             transform_fromhost_VkPhysicalDeviceTimelineSemaphoreFeatures(
10095                 resourceTracker,
10096                 reinterpret_cast<VkPhysicalDeviceTimelineSemaphoreFeatures*>(structExtension_out));
10097             break;
10098         }
10099         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_PROPERTIES: {
10100             transform_fromhost_VkPhysicalDeviceTimelineSemaphoreProperties(
10101                 resourceTracker, reinterpret_cast<VkPhysicalDeviceTimelineSemaphoreProperties*>(
10102                                      structExtension_out));
10103             break;
10104         }
10105         case VK_STRUCTURE_TYPE_SEMAPHORE_TYPE_CREATE_INFO: {
10106             transform_fromhost_VkSemaphoreTypeCreateInfo(
10107                 resourceTracker, reinterpret_cast<VkSemaphoreTypeCreateInfo*>(structExtension_out));
10108             break;
10109         }
10110         case VK_STRUCTURE_TYPE_TIMELINE_SEMAPHORE_SUBMIT_INFO: {
10111             transform_fromhost_VkTimelineSemaphoreSubmitInfo(
10112                 resourceTracker,
10113                 reinterpret_cast<VkTimelineSemaphoreSubmitInfo*>(structExtension_out));
10114             break;
10115         }
10116         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES: {
10117             transform_fromhost_VkPhysicalDeviceBufferDeviceAddressFeatures(
10118                 resourceTracker, reinterpret_cast<VkPhysicalDeviceBufferDeviceAddressFeatures*>(
10119                                      structExtension_out));
10120             break;
10121         }
10122         case VK_STRUCTURE_TYPE_BUFFER_OPAQUE_CAPTURE_ADDRESS_CREATE_INFO: {
10123             transform_fromhost_VkBufferOpaqueCaptureAddressCreateInfo(
10124                 resourceTracker,
10125                 reinterpret_cast<VkBufferOpaqueCaptureAddressCreateInfo*>(structExtension_out));
10126             break;
10127         }
10128         case VK_STRUCTURE_TYPE_MEMORY_OPAQUE_CAPTURE_ADDRESS_ALLOCATE_INFO: {
10129             transform_fromhost_VkMemoryOpaqueCaptureAddressAllocateInfo(
10130                 resourceTracker,
10131                 reinterpret_cast<VkMemoryOpaqueCaptureAddressAllocateInfo*>(structExtension_out));
10132             break;
10133         }
10134 #endif
10135 #ifdef VK_VERSION_1_3
10136         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_FEATURES: {
10137             transform_fromhost_VkPhysicalDeviceVulkan13Features(
10138                 resourceTracker,
10139                 reinterpret_cast<VkPhysicalDeviceVulkan13Features*>(structExtension_out));
10140             break;
10141         }
10142         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_PROPERTIES: {
10143             transform_fromhost_VkPhysicalDeviceVulkan13Properties(
10144                 resourceTracker,
10145                 reinterpret_cast<VkPhysicalDeviceVulkan13Properties*>(structExtension_out));
10146             break;
10147         }
10148         case VK_STRUCTURE_TYPE_PIPELINE_CREATION_FEEDBACK_CREATE_INFO: {
10149             transform_fromhost_VkPipelineCreationFeedbackCreateInfo(
10150                 resourceTracker,
10151                 reinterpret_cast<VkPipelineCreationFeedbackCreateInfo*>(structExtension_out));
10152             break;
10153         }
10154         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_TERMINATE_INVOCATION_FEATURES: {
10155             transform_fromhost_VkPhysicalDeviceShaderTerminateInvocationFeatures(
10156                 resourceTracker,
10157                 reinterpret_cast<VkPhysicalDeviceShaderTerminateInvocationFeatures*>(
10158                     structExtension_out));
10159             break;
10160         }
10161         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DEMOTE_TO_HELPER_INVOCATION_FEATURES: {
10162             transform_fromhost_VkPhysicalDeviceShaderDemoteToHelperInvocationFeatures(
10163                 resourceTracker,
10164                 reinterpret_cast<VkPhysicalDeviceShaderDemoteToHelperInvocationFeatures*>(
10165                     structExtension_out));
10166             break;
10167         }
10168         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIVATE_DATA_FEATURES: {
10169             transform_fromhost_VkPhysicalDevicePrivateDataFeatures(
10170                 resourceTracker,
10171                 reinterpret_cast<VkPhysicalDevicePrivateDataFeatures*>(structExtension_out));
10172             break;
10173         }
10174         case VK_STRUCTURE_TYPE_DEVICE_PRIVATE_DATA_CREATE_INFO: {
10175             transform_fromhost_VkDevicePrivateDataCreateInfo(
10176                 resourceTracker,
10177                 reinterpret_cast<VkDevicePrivateDataCreateInfo*>(structExtension_out));
10178             break;
10179         }
10180         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_CREATION_CACHE_CONTROL_FEATURES: {
10181             transform_fromhost_VkPhysicalDevicePipelineCreationCacheControlFeatures(
10182                 resourceTracker,
10183                 reinterpret_cast<VkPhysicalDevicePipelineCreationCacheControlFeatures*>(
10184                     structExtension_out));
10185             break;
10186         }
10187         case VK_STRUCTURE_TYPE_MEMORY_BARRIER_2: {
10188             transform_fromhost_VkMemoryBarrier2(
10189                 resourceTracker, reinterpret_cast<VkMemoryBarrier2*>(structExtension_out));
10190             break;
10191         }
10192         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES: {
10193             transform_fromhost_VkPhysicalDeviceSynchronization2Features(
10194                 resourceTracker,
10195                 reinterpret_cast<VkPhysicalDeviceSynchronization2Features*>(structExtension_out));
10196             break;
10197         }
10198         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ZERO_INITIALIZE_WORKGROUP_MEMORY_FEATURES: {
10199             transform_fromhost_VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures(
10200                 resourceTracker,
10201                 reinterpret_cast<VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures*>(
10202                     structExtension_out));
10203             break;
10204         }
10205         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ROBUSTNESS_FEATURES: {
10206             transform_fromhost_VkPhysicalDeviceImageRobustnessFeatures(
10207                 resourceTracker,
10208                 reinterpret_cast<VkPhysicalDeviceImageRobustnessFeatures*>(structExtension_out));
10209             break;
10210         }
10211         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_FEATURES: {
10212             transform_fromhost_VkPhysicalDeviceSubgroupSizeControlFeatures(
10213                 resourceTracker, reinterpret_cast<VkPhysicalDeviceSubgroupSizeControlFeatures*>(
10214                                      structExtension_out));
10215             break;
10216         }
10217         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_PROPERTIES: {
10218             transform_fromhost_VkPhysicalDeviceSubgroupSizeControlProperties(
10219                 resourceTracker, reinterpret_cast<VkPhysicalDeviceSubgroupSizeControlProperties*>(
10220                                      structExtension_out));
10221             break;
10222         }
10223         case VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_REQUIRED_SUBGROUP_SIZE_CREATE_INFO: {
10224             transform_fromhost_VkPipelineShaderStageRequiredSubgroupSizeCreateInfo(
10225                 resourceTracker,
10226                 reinterpret_cast<VkPipelineShaderStageRequiredSubgroupSizeCreateInfo*>(
10227                     structExtension_out));
10228             break;
10229         }
10230         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_FEATURES: {
10231             transform_fromhost_VkPhysicalDeviceInlineUniformBlockFeatures(
10232                 resourceTracker,
10233                 reinterpret_cast<VkPhysicalDeviceInlineUniformBlockFeatures*>(structExtension_out));
10234             break;
10235         }
10236         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_PROPERTIES: {
10237             transform_fromhost_VkPhysicalDeviceInlineUniformBlockProperties(
10238                 resourceTracker, reinterpret_cast<VkPhysicalDeviceInlineUniformBlockProperties*>(
10239                                      structExtension_out));
10240             break;
10241         }
10242         case VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_INLINE_UNIFORM_BLOCK: {
10243             transform_fromhost_VkWriteDescriptorSetInlineUniformBlock(
10244                 resourceTracker,
10245                 reinterpret_cast<VkWriteDescriptorSetInlineUniformBlock*>(structExtension_out));
10246             break;
10247         }
10248         case VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_INLINE_UNIFORM_BLOCK_CREATE_INFO: {
10249             transform_fromhost_VkDescriptorPoolInlineUniformBlockCreateInfo(
10250                 resourceTracker, reinterpret_cast<VkDescriptorPoolInlineUniformBlockCreateInfo*>(
10251                                      structExtension_out));
10252             break;
10253         }
10254         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_HDR_FEATURES: {
10255             transform_fromhost_VkPhysicalDeviceTextureCompressionASTCHDRFeatures(
10256                 resourceTracker,
10257                 reinterpret_cast<VkPhysicalDeviceTextureCompressionASTCHDRFeatures*>(
10258                     structExtension_out));
10259             break;
10260         }
10261         case VK_STRUCTURE_TYPE_PIPELINE_RENDERING_CREATE_INFO: {
10262             transform_fromhost_VkPipelineRenderingCreateInfo(
10263                 resourceTracker,
10264                 reinterpret_cast<VkPipelineRenderingCreateInfo*>(structExtension_out));
10265             break;
10266         }
10267         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_FEATURES: {
10268             transform_fromhost_VkPhysicalDeviceDynamicRenderingFeatures(
10269                 resourceTracker,
10270                 reinterpret_cast<VkPhysicalDeviceDynamicRenderingFeatures*>(structExtension_out));
10271             break;
10272         }
10273         case VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_RENDERING_INFO: {
10274             transform_fromhost_VkCommandBufferInheritanceRenderingInfo(
10275                 resourceTracker,
10276                 reinterpret_cast<VkCommandBufferInheritanceRenderingInfo*>(structExtension_out));
10277             break;
10278         }
10279         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_FEATURES: {
10280             transform_fromhost_VkPhysicalDeviceShaderIntegerDotProductFeatures(
10281                 resourceTracker, reinterpret_cast<VkPhysicalDeviceShaderIntegerDotProductFeatures*>(
10282                                      structExtension_out));
10283             break;
10284         }
10285         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_PROPERTIES: {
10286             transform_fromhost_VkPhysicalDeviceShaderIntegerDotProductProperties(
10287                 resourceTracker,
10288                 reinterpret_cast<VkPhysicalDeviceShaderIntegerDotProductProperties*>(
10289                     structExtension_out));
10290             break;
10291         }
10292         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_PROPERTIES: {
10293             transform_fromhost_VkPhysicalDeviceTexelBufferAlignmentProperties(
10294                 resourceTracker, reinterpret_cast<VkPhysicalDeviceTexelBufferAlignmentProperties*>(
10295                                      structExtension_out));
10296             break;
10297         }
10298         case VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_3: {
10299             transform_fromhost_VkFormatProperties3(
10300                 resourceTracker, reinterpret_cast<VkFormatProperties3*>(structExtension_out));
10301             break;
10302         }
10303         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_4_FEATURES: {
10304             transform_fromhost_VkPhysicalDeviceMaintenance4Features(
10305                 resourceTracker,
10306                 reinterpret_cast<VkPhysicalDeviceMaintenance4Features*>(structExtension_out));
10307             break;
10308         }
10309         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_4_PROPERTIES: {
10310             transform_fromhost_VkPhysicalDeviceMaintenance4Properties(
10311                 resourceTracker,
10312                 reinterpret_cast<VkPhysicalDeviceMaintenance4Properties*>(structExtension_out));
10313             break;
10314         }
10315 #endif
10316 #ifdef VK_KHR_swapchain
10317         case VK_STRUCTURE_TYPE_IMAGE_SWAPCHAIN_CREATE_INFO_KHR: {
10318             transform_fromhost_VkImageSwapchainCreateInfoKHR(
10319                 resourceTracker,
10320                 reinterpret_cast<VkImageSwapchainCreateInfoKHR*>(structExtension_out));
10321             break;
10322         }
10323         case VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_SWAPCHAIN_INFO_KHR: {
10324             transform_fromhost_VkBindImageMemorySwapchainInfoKHR(
10325                 resourceTracker,
10326                 reinterpret_cast<VkBindImageMemorySwapchainInfoKHR*>(structExtension_out));
10327             break;
10328         }
10329         case VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_INFO_KHR: {
10330             transform_fromhost_VkDeviceGroupPresentInfoKHR(
10331                 resourceTracker,
10332                 reinterpret_cast<VkDeviceGroupPresentInfoKHR*>(structExtension_out));
10333             break;
10334         }
10335         case VK_STRUCTURE_TYPE_DEVICE_GROUP_SWAPCHAIN_CREATE_INFO_KHR: {
10336             transform_fromhost_VkDeviceGroupSwapchainCreateInfoKHR(
10337                 resourceTracker,
10338                 reinterpret_cast<VkDeviceGroupSwapchainCreateInfoKHR*>(structExtension_out));
10339             break;
10340         }
10341 #endif
10342 #ifdef VK_KHR_dynamic_rendering
10343         case VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR: {
10344             transform_fromhost_VkRenderingFragmentShadingRateAttachmentInfoKHR(
10345                 resourceTracker, reinterpret_cast<VkRenderingFragmentShadingRateAttachmentInfoKHR*>(
10346                                      structExtension_out));
10347             break;
10348         }
10349         case VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_INFO_EXT: {
10350             transform_fromhost_VkRenderingFragmentDensityMapAttachmentInfoEXT(
10351                 resourceTracker, reinterpret_cast<VkRenderingFragmentDensityMapAttachmentInfoEXT*>(
10352                                      structExtension_out));
10353             break;
10354         }
10355         case VK_STRUCTURE_TYPE_ATTACHMENT_SAMPLE_COUNT_INFO_AMD: {
10356             transform_fromhost_VkAttachmentSampleCountInfoAMD(
10357                 resourceTracker,
10358                 reinterpret_cast<VkAttachmentSampleCountInfoAMD*>(structExtension_out));
10359             break;
10360         }
10361         case VK_STRUCTURE_TYPE_MULTIVIEW_PER_VIEW_ATTRIBUTES_INFO_NVX: {
10362             transform_fromhost_VkMultiviewPerViewAttributesInfoNVX(
10363                 resourceTracker,
10364                 reinterpret_cast<VkMultiviewPerViewAttributesInfoNVX*>(structExtension_out));
10365             break;
10366         }
10367 #endif
10368 #ifdef VK_KHR_incremental_present
10369         case VK_STRUCTURE_TYPE_PRESENT_REGIONS_KHR: {
10370             transform_fromhost_VkPresentRegionsKHR(
10371                 resourceTracker, reinterpret_cast<VkPresentRegionsKHR*>(structExtension_out));
10372             break;
10373         }
10374 #endif
10375 #ifdef VK_KHR_pipeline_executable_properties
10376         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_EXECUTABLE_PROPERTIES_FEATURES_KHR: {
10377             transform_fromhost_VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR(
10378                 resourceTracker,
10379                 reinterpret_cast<VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR*>(
10380                     structExtension_out));
10381             break;
10382         }
10383 #endif
10384 #ifdef VK_KHR_synchronization2
10385         case VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_2_NV: {
10386             transform_fromhost_VkQueueFamilyCheckpointProperties2NV(
10387                 resourceTracker,
10388                 reinterpret_cast<VkQueueFamilyCheckpointProperties2NV*>(structExtension_out));
10389             break;
10390         }
10391 #endif
10392 #ifdef VK_KHR_maintenance5
10393         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_5_FEATURES_KHR: {
10394             transform_fromhost_VkPhysicalDeviceMaintenance5FeaturesKHR(
10395                 resourceTracker,
10396                 reinterpret_cast<VkPhysicalDeviceMaintenance5FeaturesKHR*>(structExtension_out));
10397             break;
10398         }
10399         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_5_PROPERTIES_KHR: {
10400             transform_fromhost_VkPhysicalDeviceMaintenance5PropertiesKHR(
10401                 resourceTracker,
10402                 reinterpret_cast<VkPhysicalDeviceMaintenance5PropertiesKHR*>(structExtension_out));
10403             break;
10404         }
10405         case VK_STRUCTURE_TYPE_PIPELINE_CREATE_FLAGS_2_CREATE_INFO_KHR: {
10406             transform_fromhost_VkPipelineCreateFlags2CreateInfoKHR(
10407                 resourceTracker,
10408                 reinterpret_cast<VkPipelineCreateFlags2CreateInfoKHR*>(structExtension_out));
10409             break;
10410         }
10411         case VK_STRUCTURE_TYPE_BUFFER_USAGE_FLAGS_2_CREATE_INFO_KHR: {
10412             transform_fromhost_VkBufferUsageFlags2CreateInfoKHR(
10413                 resourceTracker,
10414                 reinterpret_cast<VkBufferUsageFlags2CreateInfoKHR*>(structExtension_out));
10415             break;
10416         }
10417 #endif
10418 #ifdef VK_ANDROID_native_buffer
10419         case VK_STRUCTURE_TYPE_NATIVE_BUFFER_ANDROID: {
10420             transform_fromhost_VkNativeBufferANDROID(
10421                 resourceTracker, reinterpret_cast<VkNativeBufferANDROID*>(structExtension_out));
10422             break;
10423         }
10424 #endif
10425 #ifdef VK_EXT_transform_feedback
10426         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_FEATURES_EXT: {
10427             transform_fromhost_VkPhysicalDeviceTransformFeedbackFeaturesEXT(
10428                 resourceTracker, reinterpret_cast<VkPhysicalDeviceTransformFeedbackFeaturesEXT*>(
10429                                      structExtension_out));
10430             break;
10431         }
10432         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_PROPERTIES_EXT: {
10433             transform_fromhost_VkPhysicalDeviceTransformFeedbackPropertiesEXT(
10434                 resourceTracker, reinterpret_cast<VkPhysicalDeviceTransformFeedbackPropertiesEXT*>(
10435                                      structExtension_out));
10436             break;
10437         }
10438         case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_STREAM_CREATE_INFO_EXT: {
10439             transform_fromhost_VkPipelineRasterizationStateStreamCreateInfoEXT(
10440                 resourceTracker, reinterpret_cast<VkPipelineRasterizationStateStreamCreateInfoEXT*>(
10441                                      structExtension_out));
10442             break;
10443         }
10444 #endif
10445 #ifdef VK_EXT_depth_clip_enable
10446         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_ENABLE_FEATURES_EXT: {
10447             transform_fromhost_VkPhysicalDeviceDepthClipEnableFeaturesEXT(
10448                 resourceTracker,
10449                 reinterpret_cast<VkPhysicalDeviceDepthClipEnableFeaturesEXT*>(structExtension_out));
10450             break;
10451         }
10452         case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_DEPTH_CLIP_STATE_CREATE_INFO_EXT: {
10453             transform_fromhost_VkPipelineRasterizationDepthClipStateCreateInfoEXT(
10454                 resourceTracker,
10455                 reinterpret_cast<VkPipelineRasterizationDepthClipStateCreateInfoEXT*>(
10456                     structExtension_out));
10457             break;
10458         }
10459 #endif
10460 #ifdef VK_EXT_debug_utils
10461         case VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_NAME_INFO_EXT: {
10462             transform_fromhost_VkDebugUtilsObjectNameInfoEXT(
10463                 resourceTracker,
10464                 reinterpret_cast<VkDebugUtilsObjectNameInfoEXT*>(structExtension_out));
10465             break;
10466         }
10467         case VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT: {
10468             transform_fromhost_VkDebugUtilsMessengerCreateInfoEXT(
10469                 resourceTracker,
10470                 reinterpret_cast<VkDebugUtilsMessengerCreateInfoEXT*>(structExtension_out));
10471             break;
10472         }
10473 #endif
10474 #ifdef VK_EXT_vertex_attribute_divisor
10475         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_EXT: {
10476             transform_fromhost_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT(
10477                 resourceTracker,
10478                 reinterpret_cast<VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT*>(
10479                     structExtension_out));
10480             break;
10481         }
10482         case VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_EXT: {
10483             transform_fromhost_VkPipelineVertexInputDivisorStateCreateInfoEXT(
10484                 resourceTracker, reinterpret_cast<VkPipelineVertexInputDivisorStateCreateInfoEXT*>(
10485                                      structExtension_out));
10486             break;
10487         }
10488         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_EXT: {
10489             transform_fromhost_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT(
10490                 resourceTracker,
10491                 reinterpret_cast<VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT*>(
10492                     structExtension_out));
10493             break;
10494         }
10495 #endif
10496 #ifdef VK_EXT_fragment_density_map
10497         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_FEATURES_EXT: {
10498             transform_fromhost_VkPhysicalDeviceFragmentDensityMapFeaturesEXT(
10499                 resourceTracker, reinterpret_cast<VkPhysicalDeviceFragmentDensityMapFeaturesEXT*>(
10500                                      structExtension_out));
10501             break;
10502         }
10503         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_PROPERTIES_EXT: {
10504             transform_fromhost_VkPhysicalDeviceFragmentDensityMapPropertiesEXT(
10505                 resourceTracker, reinterpret_cast<VkPhysicalDeviceFragmentDensityMapPropertiesEXT*>(
10506                                      structExtension_out));
10507             break;
10508         }
10509         case VK_STRUCTURE_TYPE_RENDER_PASS_FRAGMENT_DENSITY_MAP_CREATE_INFO_EXT: {
10510             transform_fromhost_VkRenderPassFragmentDensityMapCreateInfoEXT(
10511                 resourceTracker, reinterpret_cast<VkRenderPassFragmentDensityMapCreateInfoEXT*>(
10512                                      structExtension_out));
10513             break;
10514         }
10515 #endif
10516 #ifdef VK_EXT_validation_features
10517         case VK_STRUCTURE_TYPE_VALIDATION_FEATURES_EXT: {
10518             transform_fromhost_VkValidationFeaturesEXT(
10519                 resourceTracker, reinterpret_cast<VkValidationFeaturesEXT*>(structExtension_out));
10520             break;
10521         }
10522 #endif
10523 #ifdef VK_EXT_provoking_vertex
10524         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROVOKING_VERTEX_FEATURES_EXT: {
10525             transform_fromhost_VkPhysicalDeviceProvokingVertexFeaturesEXT(
10526                 resourceTracker,
10527                 reinterpret_cast<VkPhysicalDeviceProvokingVertexFeaturesEXT*>(structExtension_out));
10528             break;
10529         }
10530         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROVOKING_VERTEX_PROPERTIES_EXT: {
10531             transform_fromhost_VkPhysicalDeviceProvokingVertexPropertiesEXT(
10532                 resourceTracker, reinterpret_cast<VkPhysicalDeviceProvokingVertexPropertiesEXT*>(
10533                                      structExtension_out));
10534             break;
10535         }
10536         case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_PROVOKING_VERTEX_STATE_CREATE_INFO_EXT: {
10537             transform_fromhost_VkPipelineRasterizationProvokingVertexStateCreateInfoEXT(
10538                 resourceTracker,
10539                 reinterpret_cast<VkPipelineRasterizationProvokingVertexStateCreateInfoEXT*>(
10540                     structExtension_out));
10541             break;
10542         }
10543 #endif
10544 #ifdef VK_EXT_line_rasterization
10545         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_EXT: {
10546             transform_fromhost_VkPhysicalDeviceLineRasterizationFeaturesEXT(
10547                 resourceTracker, reinterpret_cast<VkPhysicalDeviceLineRasterizationFeaturesEXT*>(
10548                                      structExtension_out));
10549             break;
10550         }
10551         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_PROPERTIES_EXT: {
10552             transform_fromhost_VkPhysicalDeviceLineRasterizationPropertiesEXT(
10553                 resourceTracker, reinterpret_cast<VkPhysicalDeviceLineRasterizationPropertiesEXT*>(
10554                                      structExtension_out));
10555             break;
10556         }
10557         case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_LINE_STATE_CREATE_INFO_EXT: {
10558             transform_fromhost_VkPipelineRasterizationLineStateCreateInfoEXT(
10559                 resourceTracker, reinterpret_cast<VkPipelineRasterizationLineStateCreateInfoEXT*>(
10560                                      structExtension_out));
10561             break;
10562         }
10563 #endif
10564 #ifdef VK_EXT_index_type_uint8
10565         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INDEX_TYPE_UINT8_FEATURES_EXT: {
10566             transform_fromhost_VkPhysicalDeviceIndexTypeUint8FeaturesEXT(
10567                 resourceTracker,
10568                 reinterpret_cast<VkPhysicalDeviceIndexTypeUint8FeaturesEXT*>(structExtension_out));
10569             break;
10570         }
10571 #endif
10572 #ifdef VK_EXT_extended_dynamic_state
10573         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_FEATURES_EXT: {
10574             transform_fromhost_VkPhysicalDeviceExtendedDynamicStateFeaturesEXT(
10575                 resourceTracker, reinterpret_cast<VkPhysicalDeviceExtendedDynamicStateFeaturesEXT*>(
10576                                      structExtension_out));
10577             break;
10578         }
10579 #endif
10580 #ifdef VK_EXT_host_image_copy
10581         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_IMAGE_COPY_FEATURES_EXT: {
10582             transform_fromhost_VkPhysicalDeviceHostImageCopyFeaturesEXT(
10583                 resourceTracker,
10584                 reinterpret_cast<VkPhysicalDeviceHostImageCopyFeaturesEXT*>(structExtension_out));
10585             break;
10586         }
10587         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_IMAGE_COPY_PROPERTIES_EXT: {
10588             transform_fromhost_VkPhysicalDeviceHostImageCopyPropertiesEXT(
10589                 resourceTracker,
10590                 reinterpret_cast<VkPhysicalDeviceHostImageCopyPropertiesEXT*>(structExtension_out));
10591             break;
10592         }
10593         case VK_STRUCTURE_TYPE_SUBRESOURCE_HOST_MEMCPY_SIZE_EXT: {
10594             transform_fromhost_VkSubresourceHostMemcpySizeEXT(
10595                 resourceTracker,
10596                 reinterpret_cast<VkSubresourceHostMemcpySizeEXT*>(structExtension_out));
10597             break;
10598         }
10599         case VK_STRUCTURE_TYPE_HOST_IMAGE_COPY_DEVICE_PERFORMANCE_QUERY_EXT: {
10600             transform_fromhost_VkHostImageCopyDevicePerformanceQueryEXT(
10601                 resourceTracker,
10602                 reinterpret_cast<VkHostImageCopyDevicePerformanceQueryEXT*>(structExtension_out));
10603             break;
10604         }
10605 #endif
10606 #ifdef VK_EXT_swapchain_maintenance1
10607         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SWAPCHAIN_MAINTENANCE_1_FEATURES_EXT: {
10608             transform_fromhost_VkPhysicalDeviceSwapchainMaintenance1FeaturesEXT(
10609                 resourceTracker,
10610                 reinterpret_cast<VkPhysicalDeviceSwapchainMaintenance1FeaturesEXT*>(
10611                     structExtension_out));
10612             break;
10613         }
10614         case VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_FENCE_INFO_EXT: {
10615             transform_fromhost_VkSwapchainPresentFenceInfoEXT(
10616                 resourceTracker,
10617                 reinterpret_cast<VkSwapchainPresentFenceInfoEXT*>(structExtension_out));
10618             break;
10619         }
10620         case VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_MODES_CREATE_INFO_EXT: {
10621             transform_fromhost_VkSwapchainPresentModesCreateInfoEXT(
10622                 resourceTracker,
10623                 reinterpret_cast<VkSwapchainPresentModesCreateInfoEXT*>(structExtension_out));
10624             break;
10625         }
10626         case VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_MODE_INFO_EXT: {
10627             transform_fromhost_VkSwapchainPresentModeInfoEXT(
10628                 resourceTracker,
10629                 reinterpret_cast<VkSwapchainPresentModeInfoEXT*>(structExtension_out));
10630             break;
10631         }
10632         case VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_SCALING_CREATE_INFO_EXT: {
10633             transform_fromhost_VkSwapchainPresentScalingCreateInfoEXT(
10634                 resourceTracker,
10635                 reinterpret_cast<VkSwapchainPresentScalingCreateInfoEXT*>(structExtension_out));
10636             break;
10637         }
10638 #endif
10639 #ifdef VK_EXT_texel_buffer_alignment
10640         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_FEATURES_EXT: {
10641             transform_fromhost_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT(
10642                 resourceTracker, reinterpret_cast<VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT*>(
10643                                      structExtension_out));
10644             break;
10645         }
10646 #endif
10647 #ifdef VK_EXT_device_memory_report
10648         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_MEMORY_REPORT_FEATURES_EXT: {
10649             transform_fromhost_VkPhysicalDeviceDeviceMemoryReportFeaturesEXT(
10650                 resourceTracker, reinterpret_cast<VkPhysicalDeviceDeviceMemoryReportFeaturesEXT*>(
10651                                      structExtension_out));
10652             break;
10653         }
10654         case VK_STRUCTURE_TYPE_DEVICE_DEVICE_MEMORY_REPORT_CREATE_INFO_EXT: {
10655             transform_fromhost_VkDeviceDeviceMemoryReportCreateInfoEXT(
10656                 resourceTracker,
10657                 reinterpret_cast<VkDeviceDeviceMemoryReportCreateInfoEXT*>(structExtension_out));
10658             break;
10659         }
10660 #endif
10661 #ifdef VK_EXT_robustness2
10662         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ROBUSTNESS_2_FEATURES_EXT: {
10663             transform_fromhost_VkPhysicalDeviceRobustness2FeaturesEXT(
10664                 resourceTracker,
10665                 reinterpret_cast<VkPhysicalDeviceRobustness2FeaturesEXT*>(structExtension_out));
10666             break;
10667         }
10668         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ROBUSTNESS_2_PROPERTIES_EXT: {
10669             transform_fromhost_VkPhysicalDeviceRobustness2PropertiesEXT(
10670                 resourceTracker,
10671                 reinterpret_cast<VkPhysicalDeviceRobustness2PropertiesEXT*>(structExtension_out));
10672             break;
10673         }
10674 #endif
10675 #ifdef VK_EXT_custom_border_color
10676         case VK_STRUCTURE_TYPE_SAMPLER_CUSTOM_BORDER_COLOR_CREATE_INFO_EXT: {
10677             transform_fromhost_VkSamplerCustomBorderColorCreateInfoEXT(
10678                 resourceTracker,
10679                 reinterpret_cast<VkSamplerCustomBorderColorCreateInfoEXT*>(structExtension_out));
10680             break;
10681         }
10682         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUSTOM_BORDER_COLOR_PROPERTIES_EXT: {
10683             transform_fromhost_VkPhysicalDeviceCustomBorderColorPropertiesEXT(
10684                 resourceTracker, reinterpret_cast<VkPhysicalDeviceCustomBorderColorPropertiesEXT*>(
10685                                      structExtension_out));
10686             break;
10687         }
10688         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUSTOM_BORDER_COLOR_FEATURES_EXT: {
10689             transform_fromhost_VkPhysicalDeviceCustomBorderColorFeaturesEXT(
10690                 resourceTracker, reinterpret_cast<VkPhysicalDeviceCustomBorderColorFeaturesEXT*>(
10691                                      structExtension_out));
10692             break;
10693         }
10694 #endif
10695 #ifdef VK_EXT_graphics_pipeline_library
10696         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GRAPHICS_PIPELINE_LIBRARY_FEATURES_EXT: {
10697             transform_fromhost_VkPhysicalDeviceGraphicsPipelineLibraryFeaturesEXT(
10698                 resourceTracker,
10699                 reinterpret_cast<VkPhysicalDeviceGraphicsPipelineLibraryFeaturesEXT*>(
10700                     structExtension_out));
10701             break;
10702         }
10703         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GRAPHICS_PIPELINE_LIBRARY_PROPERTIES_EXT: {
10704             transform_fromhost_VkPhysicalDeviceGraphicsPipelineLibraryPropertiesEXT(
10705                 resourceTracker,
10706                 reinterpret_cast<VkPhysicalDeviceGraphicsPipelineLibraryPropertiesEXT*>(
10707                     structExtension_out));
10708             break;
10709         }
10710         case VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_LIBRARY_CREATE_INFO_EXT: {
10711             transform_fromhost_VkGraphicsPipelineLibraryCreateInfoEXT(
10712                 resourceTracker,
10713                 reinterpret_cast<VkGraphicsPipelineLibraryCreateInfoEXT*>(structExtension_out));
10714             break;
10715         }
10716 #endif
10717 #ifdef VK_EXT_ycbcr_2plane_444_formats
10718         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_YCBCR_2_PLANE_444_FORMATS_FEATURES_EXT: {
10719             transform_fromhost_VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT(
10720                 resourceTracker,
10721                 reinterpret_cast<VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT*>(
10722                     structExtension_out));
10723             break;
10724         }
10725 #endif
10726 #ifdef VK_EXT_image_compression_control
10727         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_COMPRESSION_CONTROL_FEATURES_EXT: {
10728             transform_fromhost_VkPhysicalDeviceImageCompressionControlFeaturesEXT(
10729                 resourceTracker,
10730                 reinterpret_cast<VkPhysicalDeviceImageCompressionControlFeaturesEXT*>(
10731                     structExtension_out));
10732             break;
10733         }
10734         case VK_STRUCTURE_TYPE_IMAGE_COMPRESSION_CONTROL_EXT: {
10735             transform_fromhost_VkImageCompressionControlEXT(
10736                 resourceTracker,
10737                 reinterpret_cast<VkImageCompressionControlEXT*>(structExtension_out));
10738             break;
10739         }
10740         case VK_STRUCTURE_TYPE_IMAGE_COMPRESSION_PROPERTIES_EXT: {
10741             transform_fromhost_VkImageCompressionPropertiesEXT(
10742                 resourceTracker,
10743                 reinterpret_cast<VkImageCompressionPropertiesEXT*>(structExtension_out));
10744             break;
10745         }
10746 #endif
10747 #ifdef VK_EXT_4444_formats
10748         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_4444_FORMATS_FEATURES_EXT: {
10749             transform_fromhost_VkPhysicalDevice4444FormatsFeaturesEXT(
10750                 resourceTracker,
10751                 reinterpret_cast<VkPhysicalDevice4444FormatsFeaturesEXT*>(structExtension_out));
10752             break;
10753         }
10754 #endif
10755 #ifdef VK_EXT_primitive_topology_list_restart
10756         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIMITIVE_TOPOLOGY_LIST_RESTART_FEATURES_EXT: {
10757             transform_fromhost_VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT(
10758                 resourceTracker,
10759                 reinterpret_cast<VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT*>(
10760                     structExtension_out));
10761             break;
10762         }
10763 #endif
10764 #ifdef VK_EXT_extended_dynamic_state2
10765         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_2_FEATURES_EXT: {
10766             transform_fromhost_VkPhysicalDeviceExtendedDynamicState2FeaturesEXT(
10767                 resourceTracker,
10768                 reinterpret_cast<VkPhysicalDeviceExtendedDynamicState2FeaturesEXT*>(
10769                     structExtension_out));
10770             break;
10771         }
10772 #endif
10773 #ifdef VK_GOOGLE_gfxstream
10774         case VK_STRUCTURE_TYPE_IMPORT_COLOR_BUFFER_GOOGLE: {
10775             transform_fromhost_VkImportColorBufferGOOGLE(
10776                 resourceTracker, reinterpret_cast<VkImportColorBufferGOOGLE*>(structExtension_out));
10777             break;
10778         }
10779         case VK_STRUCTURE_TYPE_IMPORT_BUFFER_GOOGLE: {
10780             transform_fromhost_VkImportBufferGOOGLE(
10781                 resourceTracker, reinterpret_cast<VkImportBufferGOOGLE*>(structExtension_out));
10782             break;
10783         }
10784         case VK_STRUCTURE_TYPE_CREATE_BLOB_GOOGLE: {
10785             transform_fromhost_VkCreateBlobGOOGLE(
10786                 resourceTracker, reinterpret_cast<VkCreateBlobGOOGLE*>(structExtension_out));
10787             break;
10788         }
10789 #endif
10790 #ifdef VK_EXT_image_compression_control_swapchain
10791         case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_COMPRESSION_CONTROL_SWAPCHAIN_FEATURES_EXT: {
10792             transform_fromhost_VkPhysicalDeviceImageCompressionControlSwapchainFeaturesEXT(
10793                 resourceTracker,
10794                 reinterpret_cast<VkPhysicalDeviceImageCompressionControlSwapchainFeaturesEXT*>(
10795                     structExtension_out));
10796             break;
10797         }
10798 #endif
10799         default: {
10800             return;
10801         }
10802     }
10803 }
10804 
10805 }  // namespace vk
10806 }  // namespace gfxstream
10807