blob: 4b6a59db6d63e33ddff2bfa69d6e665068a56d62 [file] [log] [blame]
Mike Schuchardt440d4642019-06-20 17:14:57 -07001// *** THIS FILE IS GENERATED - DO NOT EDIT ***
2// See helper_file_generator.py for modifications
3
4
5/***************************************************************************
6 *
7 * Copyright (c) 2015-2019 The Khronos Group Inc.
8 * Copyright (c) 2015-2019 Valve Corporation
9 * Copyright (c) 2015-2019 LunarG, Inc.
10 * Copyright (c) 2015-2019 Google Inc.
11 *
12 * Licensed under the Apache License, Version 2.0 (the "License");
13 * you may not use this file except in compliance with the License.
14 * You may obtain a copy of the License at
15 *
16 * http://www.apache.org/licenses/LICENSE-2.0
17 *
18 * Unless required by applicable law or agreed to in writing, software
19 * distributed under the License is distributed on an "AS IS" BASIS,
20 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21 * See the License for the specific language governing permissions and
22 * limitations under the License.
23 *
24 * Author: Mark Lobodzinski <mark@lunarg.com>
25 * Author: Courtney Goeltzenleuchter <courtneygo@google.com>
26 * Author: Tobin Ehlis <tobine@google.com>
27 * Author: Chris Forbes <chrisforbes@google.com>
28 * Author: John Zulauf<jzulauf@lunarg.com>
29 *
30 ****************************************************************************/
31
32
33#include "vk_safe_struct.h"
Mark Lobodzinskib836ac92019-07-18 16:14:43 -060034#include <assert.h>
Mike Schuchardt440d4642019-06-20 17:14:57 -070035#include <string.h>
36
37
38safe_VkApplicationInfo::safe_VkApplicationInfo(const VkApplicationInfo* in_struct) :
39 sType(in_struct->sType),
40 pNext(in_struct->pNext),
41 pApplicationName(in_struct->pApplicationName),
42 applicationVersion(in_struct->applicationVersion),
43 pEngineName(in_struct->pEngineName),
44 engineVersion(in_struct->engineVersion),
45 apiVersion(in_struct->apiVersion)
46{
47}
48
49safe_VkApplicationInfo::safe_VkApplicationInfo()
50{}
51
52safe_VkApplicationInfo::safe_VkApplicationInfo(const safe_VkApplicationInfo& src)
53{
54 sType = src.sType;
55 pNext = src.pNext;
56 pApplicationName = src.pApplicationName;
57 applicationVersion = src.applicationVersion;
58 pEngineName = src.pEngineName;
59 engineVersion = src.engineVersion;
60 apiVersion = src.apiVersion;
61}
62
63safe_VkApplicationInfo& safe_VkApplicationInfo::operator=(const safe_VkApplicationInfo& src)
64{
65 if (&src == this) return *this;
66
67
68 sType = src.sType;
69 pNext = src.pNext;
70 pApplicationName = src.pApplicationName;
71 applicationVersion = src.applicationVersion;
72 pEngineName = src.pEngineName;
73 engineVersion = src.engineVersion;
74 apiVersion = src.apiVersion;
75
76 return *this;
77}
78
79safe_VkApplicationInfo::~safe_VkApplicationInfo()
80{
81}
82
83void safe_VkApplicationInfo::initialize(const VkApplicationInfo* in_struct)
84{
85 sType = in_struct->sType;
86 pNext = in_struct->pNext;
87 pApplicationName = in_struct->pApplicationName;
88 applicationVersion = in_struct->applicationVersion;
89 pEngineName = in_struct->pEngineName;
90 engineVersion = in_struct->engineVersion;
91 apiVersion = in_struct->apiVersion;
92}
93
94void safe_VkApplicationInfo::initialize(const safe_VkApplicationInfo* src)
95{
96 sType = src->sType;
97 pNext = src->pNext;
98 pApplicationName = src->pApplicationName;
99 applicationVersion = src->applicationVersion;
100 pEngineName = src->pEngineName;
101 engineVersion = src->engineVersion;
102 apiVersion = src->apiVersion;
103}
104
105safe_VkInstanceCreateInfo::safe_VkInstanceCreateInfo(const VkInstanceCreateInfo* in_struct) :
106 sType(in_struct->sType),
107 pNext(in_struct->pNext),
108 flags(in_struct->flags),
109 enabledLayerCount(in_struct->enabledLayerCount),
110 ppEnabledLayerNames(in_struct->ppEnabledLayerNames),
111 enabledExtensionCount(in_struct->enabledExtensionCount),
112 ppEnabledExtensionNames(in_struct->ppEnabledExtensionNames)
113{
114 if (in_struct->pApplicationInfo)
115 pApplicationInfo = new safe_VkApplicationInfo(in_struct->pApplicationInfo);
116 else
117 pApplicationInfo = NULL;
118}
119
120safe_VkInstanceCreateInfo::safe_VkInstanceCreateInfo()
121{}
122
123safe_VkInstanceCreateInfo::safe_VkInstanceCreateInfo(const safe_VkInstanceCreateInfo& src)
124{
125 sType = src.sType;
126 pNext = src.pNext;
127 flags = src.flags;
128 enabledLayerCount = src.enabledLayerCount;
129 ppEnabledLayerNames = src.ppEnabledLayerNames;
130 enabledExtensionCount = src.enabledExtensionCount;
131 ppEnabledExtensionNames = src.ppEnabledExtensionNames;
132 if (src.pApplicationInfo)
133 pApplicationInfo = new safe_VkApplicationInfo(*src.pApplicationInfo);
134 else
135 pApplicationInfo = NULL;
136}
137
138safe_VkInstanceCreateInfo& safe_VkInstanceCreateInfo::operator=(const safe_VkInstanceCreateInfo& src)
139{
140 if (&src == this) return *this;
141
142 if (pApplicationInfo)
143 delete pApplicationInfo;
144
145 sType = src.sType;
146 pNext = src.pNext;
147 flags = src.flags;
148 enabledLayerCount = src.enabledLayerCount;
149 ppEnabledLayerNames = src.ppEnabledLayerNames;
150 enabledExtensionCount = src.enabledExtensionCount;
151 ppEnabledExtensionNames = src.ppEnabledExtensionNames;
152 if (src.pApplicationInfo)
153 pApplicationInfo = new safe_VkApplicationInfo(*src.pApplicationInfo);
154 else
155 pApplicationInfo = NULL;
156
157 return *this;
158}
159
160safe_VkInstanceCreateInfo::~safe_VkInstanceCreateInfo()
161{
162 if (pApplicationInfo)
163 delete pApplicationInfo;
164}
165
166void safe_VkInstanceCreateInfo::initialize(const VkInstanceCreateInfo* in_struct)
167{
168 sType = in_struct->sType;
169 pNext = in_struct->pNext;
170 flags = in_struct->flags;
171 enabledLayerCount = in_struct->enabledLayerCount;
172 ppEnabledLayerNames = in_struct->ppEnabledLayerNames;
173 enabledExtensionCount = in_struct->enabledExtensionCount;
174 ppEnabledExtensionNames = in_struct->ppEnabledExtensionNames;
175 if (in_struct->pApplicationInfo)
176 pApplicationInfo = new safe_VkApplicationInfo(in_struct->pApplicationInfo);
177 else
178 pApplicationInfo = NULL;
179}
180
181void safe_VkInstanceCreateInfo::initialize(const safe_VkInstanceCreateInfo* src)
182{
183 sType = src->sType;
184 pNext = src->pNext;
185 flags = src->flags;
186 enabledLayerCount = src->enabledLayerCount;
187 ppEnabledLayerNames = src->ppEnabledLayerNames;
188 enabledExtensionCount = src->enabledExtensionCount;
189 ppEnabledExtensionNames = src->ppEnabledExtensionNames;
190 if (src->pApplicationInfo)
191 pApplicationInfo = new safe_VkApplicationInfo(*src->pApplicationInfo);
192 else
193 pApplicationInfo = NULL;
194}
195
196safe_VkAllocationCallbacks::safe_VkAllocationCallbacks(const VkAllocationCallbacks* in_struct) :
197 pUserData(in_struct->pUserData),
198 pfnAllocation(in_struct->pfnAllocation),
199 pfnReallocation(in_struct->pfnReallocation),
200 pfnFree(in_struct->pfnFree),
201 pfnInternalAllocation(in_struct->pfnInternalAllocation),
202 pfnInternalFree(in_struct->pfnInternalFree)
203{
204}
205
206safe_VkAllocationCallbacks::safe_VkAllocationCallbacks()
207{}
208
209safe_VkAllocationCallbacks::safe_VkAllocationCallbacks(const safe_VkAllocationCallbacks& src)
210{
211 pUserData = src.pUserData;
212 pfnAllocation = src.pfnAllocation;
213 pfnReallocation = src.pfnReallocation;
214 pfnFree = src.pfnFree;
215 pfnInternalAllocation = src.pfnInternalAllocation;
216 pfnInternalFree = src.pfnInternalFree;
217}
218
219safe_VkAllocationCallbacks& safe_VkAllocationCallbacks::operator=(const safe_VkAllocationCallbacks& src)
220{
221 if (&src == this) return *this;
222
223
224 pUserData = src.pUserData;
225 pfnAllocation = src.pfnAllocation;
226 pfnReallocation = src.pfnReallocation;
227 pfnFree = src.pfnFree;
228 pfnInternalAllocation = src.pfnInternalAllocation;
229 pfnInternalFree = src.pfnInternalFree;
230
231 return *this;
232}
233
234safe_VkAllocationCallbacks::~safe_VkAllocationCallbacks()
235{
236}
237
238void safe_VkAllocationCallbacks::initialize(const VkAllocationCallbacks* in_struct)
239{
240 pUserData = in_struct->pUserData;
241 pfnAllocation = in_struct->pfnAllocation;
242 pfnReallocation = in_struct->pfnReallocation;
243 pfnFree = in_struct->pfnFree;
244 pfnInternalAllocation = in_struct->pfnInternalAllocation;
245 pfnInternalFree = in_struct->pfnInternalFree;
246}
247
248void safe_VkAllocationCallbacks::initialize(const safe_VkAllocationCallbacks* src)
249{
250 pUserData = src->pUserData;
251 pfnAllocation = src->pfnAllocation;
252 pfnReallocation = src->pfnReallocation;
253 pfnFree = src->pfnFree;
254 pfnInternalAllocation = src->pfnInternalAllocation;
255 pfnInternalFree = src->pfnInternalFree;
256}
257
258safe_VkDeviceQueueCreateInfo::safe_VkDeviceQueueCreateInfo(const VkDeviceQueueCreateInfo* in_struct) :
259 sType(in_struct->sType),
260 pNext(in_struct->pNext),
261 flags(in_struct->flags),
262 queueFamilyIndex(in_struct->queueFamilyIndex),
263 queueCount(in_struct->queueCount),
264 pQueuePriorities(nullptr)
265{
266 if (in_struct->pQueuePriorities) {
267 pQueuePriorities = new float[in_struct->queueCount];
268 memcpy ((void *)pQueuePriorities, (void *)in_struct->pQueuePriorities, sizeof(float)*in_struct->queueCount);
269 }
270}
271
272safe_VkDeviceQueueCreateInfo::safe_VkDeviceQueueCreateInfo() :
273 pQueuePriorities(nullptr)
274{}
275
276safe_VkDeviceQueueCreateInfo::safe_VkDeviceQueueCreateInfo(const safe_VkDeviceQueueCreateInfo& src)
277{
278 sType = src.sType;
279 pNext = src.pNext;
280 flags = src.flags;
281 queueFamilyIndex = src.queueFamilyIndex;
282 queueCount = src.queueCount;
283 pQueuePriorities = nullptr;
284 if (src.pQueuePriorities) {
285 pQueuePriorities = new float[src.queueCount];
286 memcpy ((void *)pQueuePriorities, (void *)src.pQueuePriorities, sizeof(float)*src.queueCount);
287 }
288}
289
290safe_VkDeviceQueueCreateInfo& safe_VkDeviceQueueCreateInfo::operator=(const safe_VkDeviceQueueCreateInfo& src)
291{
292 if (&src == this) return *this;
293
294 if (pQueuePriorities)
295 delete[] pQueuePriorities;
296
297 sType = src.sType;
298 pNext = src.pNext;
299 flags = src.flags;
300 queueFamilyIndex = src.queueFamilyIndex;
301 queueCount = src.queueCount;
302 pQueuePriorities = nullptr;
303 if (src.pQueuePriorities) {
304 pQueuePriorities = new float[src.queueCount];
305 memcpy ((void *)pQueuePriorities, (void *)src.pQueuePriorities, sizeof(float)*src.queueCount);
306 }
307
308 return *this;
309}
310
311safe_VkDeviceQueueCreateInfo::~safe_VkDeviceQueueCreateInfo()
312{
313 if (pQueuePriorities)
314 delete[] pQueuePriorities;
315}
316
317void safe_VkDeviceQueueCreateInfo::initialize(const VkDeviceQueueCreateInfo* in_struct)
318{
319 sType = in_struct->sType;
320 pNext = in_struct->pNext;
321 flags = in_struct->flags;
322 queueFamilyIndex = in_struct->queueFamilyIndex;
323 queueCount = in_struct->queueCount;
324 pQueuePriorities = nullptr;
325 if (in_struct->pQueuePriorities) {
326 pQueuePriorities = new float[in_struct->queueCount];
327 memcpy ((void *)pQueuePriorities, (void *)in_struct->pQueuePriorities, sizeof(float)*in_struct->queueCount);
328 }
329}
330
331void safe_VkDeviceQueueCreateInfo::initialize(const safe_VkDeviceQueueCreateInfo* src)
332{
333 sType = src->sType;
334 pNext = src->pNext;
335 flags = src->flags;
336 queueFamilyIndex = src->queueFamilyIndex;
337 queueCount = src->queueCount;
338 pQueuePriorities = nullptr;
339 if (src->pQueuePriorities) {
340 pQueuePriorities = new float[src->queueCount];
341 memcpy ((void *)pQueuePriorities, (void *)src->pQueuePriorities, sizeof(float)*src->queueCount);
342 }
343}
344
345safe_VkDeviceCreateInfo::safe_VkDeviceCreateInfo(const VkDeviceCreateInfo* in_struct) :
346 sType(in_struct->sType),
347 pNext(in_struct->pNext),
348 flags(in_struct->flags),
349 queueCreateInfoCount(in_struct->queueCreateInfoCount),
350 pQueueCreateInfos(nullptr),
351 enabledLayerCount(in_struct->enabledLayerCount),
352 ppEnabledLayerNames(in_struct->ppEnabledLayerNames),
353 enabledExtensionCount(in_struct->enabledExtensionCount),
354 ppEnabledExtensionNames(in_struct->ppEnabledExtensionNames),
355 pEnabledFeatures(nullptr)
356{
357 if (queueCreateInfoCount && in_struct->pQueueCreateInfos) {
358 pQueueCreateInfos = new safe_VkDeviceQueueCreateInfo[queueCreateInfoCount];
359 for (uint32_t i=0; i<queueCreateInfoCount; ++i) {
360 pQueueCreateInfos[i].initialize(&in_struct->pQueueCreateInfos[i]);
361 }
362 }
363 if (in_struct->pEnabledFeatures) {
364 pEnabledFeatures = new VkPhysicalDeviceFeatures(*in_struct->pEnabledFeatures);
365 }
366}
367
368safe_VkDeviceCreateInfo::safe_VkDeviceCreateInfo() :
369 pQueueCreateInfos(nullptr),
370 pEnabledFeatures(nullptr)
371{}
372
373safe_VkDeviceCreateInfo::safe_VkDeviceCreateInfo(const safe_VkDeviceCreateInfo& src)
374{
375 sType = src.sType;
376 pNext = src.pNext;
377 flags = src.flags;
378 queueCreateInfoCount = src.queueCreateInfoCount;
379 pQueueCreateInfos = nullptr;
380 enabledLayerCount = src.enabledLayerCount;
381 ppEnabledLayerNames = src.ppEnabledLayerNames;
382 enabledExtensionCount = src.enabledExtensionCount;
383 ppEnabledExtensionNames = src.ppEnabledExtensionNames;
384 pEnabledFeatures = nullptr;
385 if (queueCreateInfoCount && src.pQueueCreateInfos) {
386 pQueueCreateInfos = new safe_VkDeviceQueueCreateInfo[queueCreateInfoCount];
387 for (uint32_t i=0; i<queueCreateInfoCount; ++i) {
388 pQueueCreateInfos[i].initialize(&src.pQueueCreateInfos[i]);
389 }
390 }
391 if (src.pEnabledFeatures) {
392 pEnabledFeatures = new VkPhysicalDeviceFeatures(*src.pEnabledFeatures);
393 }
394}
395
396safe_VkDeviceCreateInfo& safe_VkDeviceCreateInfo::operator=(const safe_VkDeviceCreateInfo& src)
397{
398 if (&src == this) return *this;
399
400 if (pQueueCreateInfos)
401 delete[] pQueueCreateInfos;
402 if (pEnabledFeatures)
403 delete pEnabledFeatures;
404
405 sType = src.sType;
406 pNext = src.pNext;
407 flags = src.flags;
408 queueCreateInfoCount = src.queueCreateInfoCount;
409 pQueueCreateInfos = nullptr;
410 enabledLayerCount = src.enabledLayerCount;
411 ppEnabledLayerNames = src.ppEnabledLayerNames;
412 enabledExtensionCount = src.enabledExtensionCount;
413 ppEnabledExtensionNames = src.ppEnabledExtensionNames;
414 pEnabledFeatures = nullptr;
415 if (queueCreateInfoCount && src.pQueueCreateInfos) {
416 pQueueCreateInfos = new safe_VkDeviceQueueCreateInfo[queueCreateInfoCount];
417 for (uint32_t i=0; i<queueCreateInfoCount; ++i) {
418 pQueueCreateInfos[i].initialize(&src.pQueueCreateInfos[i]);
419 }
420 }
421 if (src.pEnabledFeatures) {
422 pEnabledFeatures = new VkPhysicalDeviceFeatures(*src.pEnabledFeatures);
423 }
424
425 return *this;
426}
427
428safe_VkDeviceCreateInfo::~safe_VkDeviceCreateInfo()
429{
430 if (pQueueCreateInfos)
431 delete[] pQueueCreateInfos;
432 if (pEnabledFeatures)
433 delete pEnabledFeatures;
434}
435
436void safe_VkDeviceCreateInfo::initialize(const VkDeviceCreateInfo* in_struct)
437{
438 sType = in_struct->sType;
439 pNext = in_struct->pNext;
440 flags = in_struct->flags;
441 queueCreateInfoCount = in_struct->queueCreateInfoCount;
442 pQueueCreateInfos = nullptr;
443 enabledLayerCount = in_struct->enabledLayerCount;
444 ppEnabledLayerNames = in_struct->ppEnabledLayerNames;
445 enabledExtensionCount = in_struct->enabledExtensionCount;
446 ppEnabledExtensionNames = in_struct->ppEnabledExtensionNames;
447 pEnabledFeatures = nullptr;
448 if (queueCreateInfoCount && in_struct->pQueueCreateInfos) {
449 pQueueCreateInfos = new safe_VkDeviceQueueCreateInfo[queueCreateInfoCount];
450 for (uint32_t i=0; i<queueCreateInfoCount; ++i) {
451 pQueueCreateInfos[i].initialize(&in_struct->pQueueCreateInfos[i]);
452 }
453 }
454 if (in_struct->pEnabledFeatures) {
455 pEnabledFeatures = new VkPhysicalDeviceFeatures(*in_struct->pEnabledFeatures);
456 }
457}
458
459void safe_VkDeviceCreateInfo::initialize(const safe_VkDeviceCreateInfo* src)
460{
461 sType = src->sType;
462 pNext = src->pNext;
463 flags = src->flags;
464 queueCreateInfoCount = src->queueCreateInfoCount;
465 pQueueCreateInfos = nullptr;
466 enabledLayerCount = src->enabledLayerCount;
467 ppEnabledLayerNames = src->ppEnabledLayerNames;
468 enabledExtensionCount = src->enabledExtensionCount;
469 ppEnabledExtensionNames = src->ppEnabledExtensionNames;
470 pEnabledFeatures = nullptr;
471 if (queueCreateInfoCount && src->pQueueCreateInfos) {
472 pQueueCreateInfos = new safe_VkDeviceQueueCreateInfo[queueCreateInfoCount];
473 for (uint32_t i=0; i<queueCreateInfoCount; ++i) {
474 pQueueCreateInfos[i].initialize(&src->pQueueCreateInfos[i]);
475 }
476 }
477 if (src->pEnabledFeatures) {
478 pEnabledFeatures = new VkPhysicalDeviceFeatures(*src->pEnabledFeatures);
479 }
480}
481
482safe_VkSubmitInfo::safe_VkSubmitInfo(const VkSubmitInfo* in_struct) :
483 sType(in_struct->sType),
484 pNext(in_struct->pNext),
485 waitSemaphoreCount(in_struct->waitSemaphoreCount),
486 pWaitSemaphores(nullptr),
487 pWaitDstStageMask(nullptr),
488 commandBufferCount(in_struct->commandBufferCount),
489 pCommandBuffers(nullptr),
490 signalSemaphoreCount(in_struct->signalSemaphoreCount),
491 pSignalSemaphores(nullptr)
492{
493 if (waitSemaphoreCount && in_struct->pWaitSemaphores) {
494 pWaitSemaphores = new VkSemaphore[waitSemaphoreCount];
495 for (uint32_t i=0; i<waitSemaphoreCount; ++i) {
496 pWaitSemaphores[i] = in_struct->pWaitSemaphores[i];
497 }
498 }
499 if (in_struct->pWaitDstStageMask) {
500 pWaitDstStageMask = new VkPipelineStageFlags[in_struct->waitSemaphoreCount];
501 memcpy ((void *)pWaitDstStageMask, (void *)in_struct->pWaitDstStageMask, sizeof(VkPipelineStageFlags)*in_struct->waitSemaphoreCount);
502 }
503 if (in_struct->pCommandBuffers) {
504 pCommandBuffers = new VkCommandBuffer[in_struct->commandBufferCount];
505 memcpy ((void *)pCommandBuffers, (void *)in_struct->pCommandBuffers, sizeof(VkCommandBuffer)*in_struct->commandBufferCount);
506 }
507 if (signalSemaphoreCount && in_struct->pSignalSemaphores) {
508 pSignalSemaphores = new VkSemaphore[signalSemaphoreCount];
509 for (uint32_t i=0; i<signalSemaphoreCount; ++i) {
510 pSignalSemaphores[i] = in_struct->pSignalSemaphores[i];
511 }
512 }
513}
514
515safe_VkSubmitInfo::safe_VkSubmitInfo() :
516 pWaitSemaphores(nullptr),
517 pWaitDstStageMask(nullptr),
518 pCommandBuffers(nullptr),
519 pSignalSemaphores(nullptr)
520{}
521
522safe_VkSubmitInfo::safe_VkSubmitInfo(const safe_VkSubmitInfo& src)
523{
524 sType = src.sType;
525 pNext = src.pNext;
526 waitSemaphoreCount = src.waitSemaphoreCount;
527 pWaitSemaphores = nullptr;
528 pWaitDstStageMask = nullptr;
529 commandBufferCount = src.commandBufferCount;
530 pCommandBuffers = nullptr;
531 signalSemaphoreCount = src.signalSemaphoreCount;
532 pSignalSemaphores = nullptr;
533 if (waitSemaphoreCount && src.pWaitSemaphores) {
534 pWaitSemaphores = new VkSemaphore[waitSemaphoreCount];
535 for (uint32_t i=0; i<waitSemaphoreCount; ++i) {
536 pWaitSemaphores[i] = src.pWaitSemaphores[i];
537 }
538 }
539 if (src.pWaitDstStageMask) {
540 pWaitDstStageMask = new VkPipelineStageFlags[src.waitSemaphoreCount];
541 memcpy ((void *)pWaitDstStageMask, (void *)src.pWaitDstStageMask, sizeof(VkPipelineStageFlags)*src.waitSemaphoreCount);
542 }
543 if (src.pCommandBuffers) {
544 pCommandBuffers = new VkCommandBuffer[src.commandBufferCount];
545 memcpy ((void *)pCommandBuffers, (void *)src.pCommandBuffers, sizeof(VkCommandBuffer)*src.commandBufferCount);
546 }
547 if (signalSemaphoreCount && src.pSignalSemaphores) {
548 pSignalSemaphores = new VkSemaphore[signalSemaphoreCount];
549 for (uint32_t i=0; i<signalSemaphoreCount; ++i) {
550 pSignalSemaphores[i] = src.pSignalSemaphores[i];
551 }
552 }
553}
554
555safe_VkSubmitInfo& safe_VkSubmitInfo::operator=(const safe_VkSubmitInfo& src)
556{
557 if (&src == this) return *this;
558
559 if (pWaitSemaphores)
560 delete[] pWaitSemaphores;
561 if (pWaitDstStageMask)
562 delete[] pWaitDstStageMask;
563 if (pCommandBuffers)
564 delete[] pCommandBuffers;
565 if (pSignalSemaphores)
566 delete[] pSignalSemaphores;
567
568 sType = src.sType;
569 pNext = src.pNext;
570 waitSemaphoreCount = src.waitSemaphoreCount;
571 pWaitSemaphores = nullptr;
572 pWaitDstStageMask = nullptr;
573 commandBufferCount = src.commandBufferCount;
574 pCommandBuffers = nullptr;
575 signalSemaphoreCount = src.signalSemaphoreCount;
576 pSignalSemaphores = nullptr;
577 if (waitSemaphoreCount && src.pWaitSemaphores) {
578 pWaitSemaphores = new VkSemaphore[waitSemaphoreCount];
579 for (uint32_t i=0; i<waitSemaphoreCount; ++i) {
580 pWaitSemaphores[i] = src.pWaitSemaphores[i];
581 }
582 }
583 if (src.pWaitDstStageMask) {
584 pWaitDstStageMask = new VkPipelineStageFlags[src.waitSemaphoreCount];
585 memcpy ((void *)pWaitDstStageMask, (void *)src.pWaitDstStageMask, sizeof(VkPipelineStageFlags)*src.waitSemaphoreCount);
586 }
587 if (src.pCommandBuffers) {
588 pCommandBuffers = new VkCommandBuffer[src.commandBufferCount];
589 memcpy ((void *)pCommandBuffers, (void *)src.pCommandBuffers, sizeof(VkCommandBuffer)*src.commandBufferCount);
590 }
591 if (signalSemaphoreCount && src.pSignalSemaphores) {
592 pSignalSemaphores = new VkSemaphore[signalSemaphoreCount];
593 for (uint32_t i=0; i<signalSemaphoreCount; ++i) {
594 pSignalSemaphores[i] = src.pSignalSemaphores[i];
595 }
596 }
597
598 return *this;
599}
600
601safe_VkSubmitInfo::~safe_VkSubmitInfo()
602{
603 if (pWaitSemaphores)
604 delete[] pWaitSemaphores;
605 if (pWaitDstStageMask)
606 delete[] pWaitDstStageMask;
607 if (pCommandBuffers)
608 delete[] pCommandBuffers;
609 if (pSignalSemaphores)
610 delete[] pSignalSemaphores;
611}
612
613void safe_VkSubmitInfo::initialize(const VkSubmitInfo* in_struct)
614{
615 sType = in_struct->sType;
616 pNext = in_struct->pNext;
617 waitSemaphoreCount = in_struct->waitSemaphoreCount;
618 pWaitSemaphores = nullptr;
619 pWaitDstStageMask = nullptr;
620 commandBufferCount = in_struct->commandBufferCount;
621 pCommandBuffers = nullptr;
622 signalSemaphoreCount = in_struct->signalSemaphoreCount;
623 pSignalSemaphores = nullptr;
624 if (waitSemaphoreCount && in_struct->pWaitSemaphores) {
625 pWaitSemaphores = new VkSemaphore[waitSemaphoreCount];
626 for (uint32_t i=0; i<waitSemaphoreCount; ++i) {
627 pWaitSemaphores[i] = in_struct->pWaitSemaphores[i];
628 }
629 }
630 if (in_struct->pWaitDstStageMask) {
631 pWaitDstStageMask = new VkPipelineStageFlags[in_struct->waitSemaphoreCount];
632 memcpy ((void *)pWaitDstStageMask, (void *)in_struct->pWaitDstStageMask, sizeof(VkPipelineStageFlags)*in_struct->waitSemaphoreCount);
633 }
634 if (in_struct->pCommandBuffers) {
635 pCommandBuffers = new VkCommandBuffer[in_struct->commandBufferCount];
636 memcpy ((void *)pCommandBuffers, (void *)in_struct->pCommandBuffers, sizeof(VkCommandBuffer)*in_struct->commandBufferCount);
637 }
638 if (signalSemaphoreCount && in_struct->pSignalSemaphores) {
639 pSignalSemaphores = new VkSemaphore[signalSemaphoreCount];
640 for (uint32_t i=0; i<signalSemaphoreCount; ++i) {
641 pSignalSemaphores[i] = in_struct->pSignalSemaphores[i];
642 }
643 }
644}
645
646void safe_VkSubmitInfo::initialize(const safe_VkSubmitInfo* src)
647{
648 sType = src->sType;
649 pNext = src->pNext;
650 waitSemaphoreCount = src->waitSemaphoreCount;
651 pWaitSemaphores = nullptr;
652 pWaitDstStageMask = nullptr;
653 commandBufferCount = src->commandBufferCount;
654 pCommandBuffers = nullptr;
655 signalSemaphoreCount = src->signalSemaphoreCount;
656 pSignalSemaphores = nullptr;
657 if (waitSemaphoreCount && src->pWaitSemaphores) {
658 pWaitSemaphores = new VkSemaphore[waitSemaphoreCount];
659 for (uint32_t i=0; i<waitSemaphoreCount; ++i) {
660 pWaitSemaphores[i] = src->pWaitSemaphores[i];
661 }
662 }
663 if (src->pWaitDstStageMask) {
664 pWaitDstStageMask = new VkPipelineStageFlags[src->waitSemaphoreCount];
665 memcpy ((void *)pWaitDstStageMask, (void *)src->pWaitDstStageMask, sizeof(VkPipelineStageFlags)*src->waitSemaphoreCount);
666 }
667 if (src->pCommandBuffers) {
668 pCommandBuffers = new VkCommandBuffer[src->commandBufferCount];
669 memcpy ((void *)pCommandBuffers, (void *)src->pCommandBuffers, sizeof(VkCommandBuffer)*src->commandBufferCount);
670 }
671 if (signalSemaphoreCount && src->pSignalSemaphores) {
672 pSignalSemaphores = new VkSemaphore[signalSemaphoreCount];
673 for (uint32_t i=0; i<signalSemaphoreCount; ++i) {
674 pSignalSemaphores[i] = src->pSignalSemaphores[i];
675 }
676 }
677}
678
679safe_VkMemoryAllocateInfo::safe_VkMemoryAllocateInfo(const VkMemoryAllocateInfo* in_struct) :
680 sType(in_struct->sType),
681 pNext(in_struct->pNext),
682 allocationSize(in_struct->allocationSize),
683 memoryTypeIndex(in_struct->memoryTypeIndex)
684{
685}
686
687safe_VkMemoryAllocateInfo::safe_VkMemoryAllocateInfo()
688{}
689
690safe_VkMemoryAllocateInfo::safe_VkMemoryAllocateInfo(const safe_VkMemoryAllocateInfo& src)
691{
692 sType = src.sType;
693 pNext = src.pNext;
694 allocationSize = src.allocationSize;
695 memoryTypeIndex = src.memoryTypeIndex;
696}
697
698safe_VkMemoryAllocateInfo& safe_VkMemoryAllocateInfo::operator=(const safe_VkMemoryAllocateInfo& src)
699{
700 if (&src == this) return *this;
701
702
703 sType = src.sType;
704 pNext = src.pNext;
705 allocationSize = src.allocationSize;
706 memoryTypeIndex = src.memoryTypeIndex;
707
708 return *this;
709}
710
711safe_VkMemoryAllocateInfo::~safe_VkMemoryAllocateInfo()
712{
713}
714
715void safe_VkMemoryAllocateInfo::initialize(const VkMemoryAllocateInfo* in_struct)
716{
717 sType = in_struct->sType;
718 pNext = in_struct->pNext;
719 allocationSize = in_struct->allocationSize;
720 memoryTypeIndex = in_struct->memoryTypeIndex;
721}
722
723void safe_VkMemoryAllocateInfo::initialize(const safe_VkMemoryAllocateInfo* src)
724{
725 sType = src->sType;
726 pNext = src->pNext;
727 allocationSize = src->allocationSize;
728 memoryTypeIndex = src->memoryTypeIndex;
729}
730
731safe_VkMappedMemoryRange::safe_VkMappedMemoryRange(const VkMappedMemoryRange* in_struct) :
732 sType(in_struct->sType),
733 pNext(in_struct->pNext),
734 memory(in_struct->memory),
735 offset(in_struct->offset),
736 size(in_struct->size)
737{
738}
739
740safe_VkMappedMemoryRange::safe_VkMappedMemoryRange()
741{}
742
743safe_VkMappedMemoryRange::safe_VkMappedMemoryRange(const safe_VkMappedMemoryRange& src)
744{
745 sType = src.sType;
746 pNext = src.pNext;
747 memory = src.memory;
748 offset = src.offset;
749 size = src.size;
750}
751
752safe_VkMappedMemoryRange& safe_VkMappedMemoryRange::operator=(const safe_VkMappedMemoryRange& src)
753{
754 if (&src == this) return *this;
755
756
757 sType = src.sType;
758 pNext = src.pNext;
759 memory = src.memory;
760 offset = src.offset;
761 size = src.size;
762
763 return *this;
764}
765
766safe_VkMappedMemoryRange::~safe_VkMappedMemoryRange()
767{
768}
769
770void safe_VkMappedMemoryRange::initialize(const VkMappedMemoryRange* in_struct)
771{
772 sType = in_struct->sType;
773 pNext = in_struct->pNext;
774 memory = in_struct->memory;
775 offset = in_struct->offset;
776 size = in_struct->size;
777}
778
779void safe_VkMappedMemoryRange::initialize(const safe_VkMappedMemoryRange* src)
780{
781 sType = src->sType;
782 pNext = src->pNext;
783 memory = src->memory;
784 offset = src->offset;
785 size = src->size;
786}
787
788safe_VkSparseBufferMemoryBindInfo::safe_VkSparseBufferMemoryBindInfo(const VkSparseBufferMemoryBindInfo* in_struct) :
789 buffer(in_struct->buffer),
790 bindCount(in_struct->bindCount),
791 pBinds(nullptr)
792{
793 if (bindCount && in_struct->pBinds) {
794 pBinds = new VkSparseMemoryBind[bindCount];
795 for (uint32_t i=0; i<bindCount; ++i) {
796 pBinds[i] = in_struct->pBinds[i];
797 }
798 }
799}
800
801safe_VkSparseBufferMemoryBindInfo::safe_VkSparseBufferMemoryBindInfo() :
802 pBinds(nullptr)
803{}
804
805safe_VkSparseBufferMemoryBindInfo::safe_VkSparseBufferMemoryBindInfo(const safe_VkSparseBufferMemoryBindInfo& src)
806{
807 buffer = src.buffer;
808 bindCount = src.bindCount;
809 pBinds = nullptr;
810 if (bindCount && src.pBinds) {
811 pBinds = new VkSparseMemoryBind[bindCount];
812 for (uint32_t i=0; i<bindCount; ++i) {
813 pBinds[i] = src.pBinds[i];
814 }
815 }
816}
817
818safe_VkSparseBufferMemoryBindInfo& safe_VkSparseBufferMemoryBindInfo::operator=(const safe_VkSparseBufferMemoryBindInfo& src)
819{
820 if (&src == this) return *this;
821
822 if (pBinds)
823 delete[] pBinds;
824
825 buffer = src.buffer;
826 bindCount = src.bindCount;
827 pBinds = nullptr;
828 if (bindCount && src.pBinds) {
829 pBinds = new VkSparseMemoryBind[bindCount];
830 for (uint32_t i=0; i<bindCount; ++i) {
831 pBinds[i] = src.pBinds[i];
832 }
833 }
834
835 return *this;
836}
837
838safe_VkSparseBufferMemoryBindInfo::~safe_VkSparseBufferMemoryBindInfo()
839{
840 if (pBinds)
841 delete[] pBinds;
842}
843
844void safe_VkSparseBufferMemoryBindInfo::initialize(const VkSparseBufferMemoryBindInfo* in_struct)
845{
846 buffer = in_struct->buffer;
847 bindCount = in_struct->bindCount;
848 pBinds = nullptr;
849 if (bindCount && in_struct->pBinds) {
850 pBinds = new VkSparseMemoryBind[bindCount];
851 for (uint32_t i=0; i<bindCount; ++i) {
852 pBinds[i] = in_struct->pBinds[i];
853 }
854 }
855}
856
857void safe_VkSparseBufferMemoryBindInfo::initialize(const safe_VkSparseBufferMemoryBindInfo* src)
858{
859 buffer = src->buffer;
860 bindCount = src->bindCount;
861 pBinds = nullptr;
862 if (bindCount && src->pBinds) {
863 pBinds = new VkSparseMemoryBind[bindCount];
864 for (uint32_t i=0; i<bindCount; ++i) {
865 pBinds[i] = src->pBinds[i];
866 }
867 }
868}
869
870safe_VkSparseImageOpaqueMemoryBindInfo::safe_VkSparseImageOpaqueMemoryBindInfo(const VkSparseImageOpaqueMemoryBindInfo* in_struct) :
871 image(in_struct->image),
872 bindCount(in_struct->bindCount),
873 pBinds(nullptr)
874{
875 if (bindCount && in_struct->pBinds) {
876 pBinds = new VkSparseMemoryBind[bindCount];
877 for (uint32_t i=0; i<bindCount; ++i) {
878 pBinds[i] = in_struct->pBinds[i];
879 }
880 }
881}
882
883safe_VkSparseImageOpaqueMemoryBindInfo::safe_VkSparseImageOpaqueMemoryBindInfo() :
884 pBinds(nullptr)
885{}
886
887safe_VkSparseImageOpaqueMemoryBindInfo::safe_VkSparseImageOpaqueMemoryBindInfo(const safe_VkSparseImageOpaqueMemoryBindInfo& src)
888{
889 image = src.image;
890 bindCount = src.bindCount;
891 pBinds = nullptr;
892 if (bindCount && src.pBinds) {
893 pBinds = new VkSparseMemoryBind[bindCount];
894 for (uint32_t i=0; i<bindCount; ++i) {
895 pBinds[i] = src.pBinds[i];
896 }
897 }
898}
899
900safe_VkSparseImageOpaqueMemoryBindInfo& safe_VkSparseImageOpaqueMemoryBindInfo::operator=(const safe_VkSparseImageOpaqueMemoryBindInfo& src)
901{
902 if (&src == this) return *this;
903
904 if (pBinds)
905 delete[] pBinds;
906
907 image = src.image;
908 bindCount = src.bindCount;
909 pBinds = nullptr;
910 if (bindCount && src.pBinds) {
911 pBinds = new VkSparseMemoryBind[bindCount];
912 for (uint32_t i=0; i<bindCount; ++i) {
913 pBinds[i] = src.pBinds[i];
914 }
915 }
916
917 return *this;
918}
919
920safe_VkSparseImageOpaqueMemoryBindInfo::~safe_VkSparseImageOpaqueMemoryBindInfo()
921{
922 if (pBinds)
923 delete[] pBinds;
924}
925
926void safe_VkSparseImageOpaqueMemoryBindInfo::initialize(const VkSparseImageOpaqueMemoryBindInfo* in_struct)
927{
928 image = in_struct->image;
929 bindCount = in_struct->bindCount;
930 pBinds = nullptr;
931 if (bindCount && in_struct->pBinds) {
932 pBinds = new VkSparseMemoryBind[bindCount];
933 for (uint32_t i=0; i<bindCount; ++i) {
934 pBinds[i] = in_struct->pBinds[i];
935 }
936 }
937}
938
939void safe_VkSparseImageOpaqueMemoryBindInfo::initialize(const safe_VkSparseImageOpaqueMemoryBindInfo* src)
940{
941 image = src->image;
942 bindCount = src->bindCount;
943 pBinds = nullptr;
944 if (bindCount && src->pBinds) {
945 pBinds = new VkSparseMemoryBind[bindCount];
946 for (uint32_t i=0; i<bindCount; ++i) {
947 pBinds[i] = src->pBinds[i];
948 }
949 }
950}
951
952safe_VkSparseImageMemoryBindInfo::safe_VkSparseImageMemoryBindInfo(const VkSparseImageMemoryBindInfo* in_struct) :
953 image(in_struct->image),
954 bindCount(in_struct->bindCount),
955 pBinds(nullptr)
956{
957 if (bindCount && in_struct->pBinds) {
958 pBinds = new VkSparseImageMemoryBind[bindCount];
959 for (uint32_t i=0; i<bindCount; ++i) {
960 pBinds[i] = in_struct->pBinds[i];
961 }
962 }
963}
964
965safe_VkSparseImageMemoryBindInfo::safe_VkSparseImageMemoryBindInfo() :
966 pBinds(nullptr)
967{}
968
969safe_VkSparseImageMemoryBindInfo::safe_VkSparseImageMemoryBindInfo(const safe_VkSparseImageMemoryBindInfo& src)
970{
971 image = src.image;
972 bindCount = src.bindCount;
973 pBinds = nullptr;
974 if (bindCount && src.pBinds) {
975 pBinds = new VkSparseImageMemoryBind[bindCount];
976 for (uint32_t i=0; i<bindCount; ++i) {
977 pBinds[i] = src.pBinds[i];
978 }
979 }
980}
981
982safe_VkSparseImageMemoryBindInfo& safe_VkSparseImageMemoryBindInfo::operator=(const safe_VkSparseImageMemoryBindInfo& src)
983{
984 if (&src == this) return *this;
985
986 if (pBinds)
987 delete[] pBinds;
988
989 image = src.image;
990 bindCount = src.bindCount;
991 pBinds = nullptr;
992 if (bindCount && src.pBinds) {
993 pBinds = new VkSparseImageMemoryBind[bindCount];
994 for (uint32_t i=0; i<bindCount; ++i) {
995 pBinds[i] = src.pBinds[i];
996 }
997 }
998
999 return *this;
1000}
1001
1002safe_VkSparseImageMemoryBindInfo::~safe_VkSparseImageMemoryBindInfo()
1003{
1004 if (pBinds)
1005 delete[] pBinds;
1006}
1007
1008void safe_VkSparseImageMemoryBindInfo::initialize(const VkSparseImageMemoryBindInfo* in_struct)
1009{
1010 image = in_struct->image;
1011 bindCount = in_struct->bindCount;
1012 pBinds = nullptr;
1013 if (bindCount && in_struct->pBinds) {
1014 pBinds = new VkSparseImageMemoryBind[bindCount];
1015 for (uint32_t i=0; i<bindCount; ++i) {
1016 pBinds[i] = in_struct->pBinds[i];
1017 }
1018 }
1019}
1020
1021void safe_VkSparseImageMemoryBindInfo::initialize(const safe_VkSparseImageMemoryBindInfo* src)
1022{
1023 image = src->image;
1024 bindCount = src->bindCount;
1025 pBinds = nullptr;
1026 if (bindCount && src->pBinds) {
1027 pBinds = new VkSparseImageMemoryBind[bindCount];
1028 for (uint32_t i=0; i<bindCount; ++i) {
1029 pBinds[i] = src->pBinds[i];
1030 }
1031 }
1032}
1033
1034safe_VkBindSparseInfo::safe_VkBindSparseInfo(const VkBindSparseInfo* in_struct) :
1035 sType(in_struct->sType),
1036 pNext(in_struct->pNext),
1037 waitSemaphoreCount(in_struct->waitSemaphoreCount),
1038 pWaitSemaphores(nullptr),
1039 bufferBindCount(in_struct->bufferBindCount),
1040 pBufferBinds(nullptr),
1041 imageOpaqueBindCount(in_struct->imageOpaqueBindCount),
1042 pImageOpaqueBinds(nullptr),
1043 imageBindCount(in_struct->imageBindCount),
1044 pImageBinds(nullptr),
1045 signalSemaphoreCount(in_struct->signalSemaphoreCount),
1046 pSignalSemaphores(nullptr)
1047{
1048 if (waitSemaphoreCount && in_struct->pWaitSemaphores) {
1049 pWaitSemaphores = new VkSemaphore[waitSemaphoreCount];
1050 for (uint32_t i=0; i<waitSemaphoreCount; ++i) {
1051 pWaitSemaphores[i] = in_struct->pWaitSemaphores[i];
1052 }
1053 }
1054 if (bufferBindCount && in_struct->pBufferBinds) {
1055 pBufferBinds = new safe_VkSparseBufferMemoryBindInfo[bufferBindCount];
1056 for (uint32_t i=0; i<bufferBindCount; ++i) {
1057 pBufferBinds[i].initialize(&in_struct->pBufferBinds[i]);
1058 }
1059 }
1060 if (imageOpaqueBindCount && in_struct->pImageOpaqueBinds) {
1061 pImageOpaqueBinds = new safe_VkSparseImageOpaqueMemoryBindInfo[imageOpaqueBindCount];
1062 for (uint32_t i=0; i<imageOpaqueBindCount; ++i) {
1063 pImageOpaqueBinds[i].initialize(&in_struct->pImageOpaqueBinds[i]);
1064 }
1065 }
1066 if (imageBindCount && in_struct->pImageBinds) {
1067 pImageBinds = new safe_VkSparseImageMemoryBindInfo[imageBindCount];
1068 for (uint32_t i=0; i<imageBindCount; ++i) {
1069 pImageBinds[i].initialize(&in_struct->pImageBinds[i]);
1070 }
1071 }
1072 if (signalSemaphoreCount && in_struct->pSignalSemaphores) {
1073 pSignalSemaphores = new VkSemaphore[signalSemaphoreCount];
1074 for (uint32_t i=0; i<signalSemaphoreCount; ++i) {
1075 pSignalSemaphores[i] = in_struct->pSignalSemaphores[i];
1076 }
1077 }
1078}
1079
1080safe_VkBindSparseInfo::safe_VkBindSparseInfo() :
1081 pWaitSemaphores(nullptr),
1082 pBufferBinds(nullptr),
1083 pImageOpaqueBinds(nullptr),
1084 pImageBinds(nullptr),
1085 pSignalSemaphores(nullptr)
1086{}
1087
1088safe_VkBindSparseInfo::safe_VkBindSparseInfo(const safe_VkBindSparseInfo& src)
1089{
1090 sType = src.sType;
1091 pNext = src.pNext;
1092 waitSemaphoreCount = src.waitSemaphoreCount;
1093 pWaitSemaphores = nullptr;
1094 bufferBindCount = src.bufferBindCount;
1095 pBufferBinds = nullptr;
1096 imageOpaqueBindCount = src.imageOpaqueBindCount;
1097 pImageOpaqueBinds = nullptr;
1098 imageBindCount = src.imageBindCount;
1099 pImageBinds = nullptr;
1100 signalSemaphoreCount = src.signalSemaphoreCount;
1101 pSignalSemaphores = nullptr;
1102 if (waitSemaphoreCount && src.pWaitSemaphores) {
1103 pWaitSemaphores = new VkSemaphore[waitSemaphoreCount];
1104 for (uint32_t i=0; i<waitSemaphoreCount; ++i) {
1105 pWaitSemaphores[i] = src.pWaitSemaphores[i];
1106 }
1107 }
1108 if (bufferBindCount && src.pBufferBinds) {
1109 pBufferBinds = new safe_VkSparseBufferMemoryBindInfo[bufferBindCount];
1110 for (uint32_t i=0; i<bufferBindCount; ++i) {
1111 pBufferBinds[i].initialize(&src.pBufferBinds[i]);
1112 }
1113 }
1114 if (imageOpaqueBindCount && src.pImageOpaqueBinds) {
1115 pImageOpaqueBinds = new safe_VkSparseImageOpaqueMemoryBindInfo[imageOpaqueBindCount];
1116 for (uint32_t i=0; i<imageOpaqueBindCount; ++i) {
1117 pImageOpaqueBinds[i].initialize(&src.pImageOpaqueBinds[i]);
1118 }
1119 }
1120 if (imageBindCount && src.pImageBinds) {
1121 pImageBinds = new safe_VkSparseImageMemoryBindInfo[imageBindCount];
1122 for (uint32_t i=0; i<imageBindCount; ++i) {
1123 pImageBinds[i].initialize(&src.pImageBinds[i]);
1124 }
1125 }
1126 if (signalSemaphoreCount && src.pSignalSemaphores) {
1127 pSignalSemaphores = new VkSemaphore[signalSemaphoreCount];
1128 for (uint32_t i=0; i<signalSemaphoreCount; ++i) {
1129 pSignalSemaphores[i] = src.pSignalSemaphores[i];
1130 }
1131 }
1132}
1133
1134safe_VkBindSparseInfo& safe_VkBindSparseInfo::operator=(const safe_VkBindSparseInfo& src)
1135{
1136 if (&src == this) return *this;
1137
1138 if (pWaitSemaphores)
1139 delete[] pWaitSemaphores;
1140 if (pBufferBinds)
1141 delete[] pBufferBinds;
1142 if (pImageOpaqueBinds)
1143 delete[] pImageOpaqueBinds;
1144 if (pImageBinds)
1145 delete[] pImageBinds;
1146 if (pSignalSemaphores)
1147 delete[] pSignalSemaphores;
1148
1149 sType = src.sType;
1150 pNext = src.pNext;
1151 waitSemaphoreCount = src.waitSemaphoreCount;
1152 pWaitSemaphores = nullptr;
1153 bufferBindCount = src.bufferBindCount;
1154 pBufferBinds = nullptr;
1155 imageOpaqueBindCount = src.imageOpaqueBindCount;
1156 pImageOpaqueBinds = nullptr;
1157 imageBindCount = src.imageBindCount;
1158 pImageBinds = nullptr;
1159 signalSemaphoreCount = src.signalSemaphoreCount;
1160 pSignalSemaphores = nullptr;
1161 if (waitSemaphoreCount && src.pWaitSemaphores) {
1162 pWaitSemaphores = new VkSemaphore[waitSemaphoreCount];
1163 for (uint32_t i=0; i<waitSemaphoreCount; ++i) {
1164 pWaitSemaphores[i] = src.pWaitSemaphores[i];
1165 }
1166 }
1167 if (bufferBindCount && src.pBufferBinds) {
1168 pBufferBinds = new safe_VkSparseBufferMemoryBindInfo[bufferBindCount];
1169 for (uint32_t i=0; i<bufferBindCount; ++i) {
1170 pBufferBinds[i].initialize(&src.pBufferBinds[i]);
1171 }
1172 }
1173 if (imageOpaqueBindCount && src.pImageOpaqueBinds) {
1174 pImageOpaqueBinds = new safe_VkSparseImageOpaqueMemoryBindInfo[imageOpaqueBindCount];
1175 for (uint32_t i=0; i<imageOpaqueBindCount; ++i) {
1176 pImageOpaqueBinds[i].initialize(&src.pImageOpaqueBinds[i]);
1177 }
1178 }
1179 if (imageBindCount && src.pImageBinds) {
1180 pImageBinds = new safe_VkSparseImageMemoryBindInfo[imageBindCount];
1181 for (uint32_t i=0; i<imageBindCount; ++i) {
1182 pImageBinds[i].initialize(&src.pImageBinds[i]);
1183 }
1184 }
1185 if (signalSemaphoreCount && src.pSignalSemaphores) {
1186 pSignalSemaphores = new VkSemaphore[signalSemaphoreCount];
1187 for (uint32_t i=0; i<signalSemaphoreCount; ++i) {
1188 pSignalSemaphores[i] = src.pSignalSemaphores[i];
1189 }
1190 }
1191
1192 return *this;
1193}
1194
1195safe_VkBindSparseInfo::~safe_VkBindSparseInfo()
1196{
1197 if (pWaitSemaphores)
1198 delete[] pWaitSemaphores;
1199 if (pBufferBinds)
1200 delete[] pBufferBinds;
1201 if (pImageOpaqueBinds)
1202 delete[] pImageOpaqueBinds;
1203 if (pImageBinds)
1204 delete[] pImageBinds;
1205 if (pSignalSemaphores)
1206 delete[] pSignalSemaphores;
1207}
1208
1209void safe_VkBindSparseInfo::initialize(const VkBindSparseInfo* in_struct)
1210{
1211 sType = in_struct->sType;
1212 pNext = in_struct->pNext;
1213 waitSemaphoreCount = in_struct->waitSemaphoreCount;
1214 pWaitSemaphores = nullptr;
1215 bufferBindCount = in_struct->bufferBindCount;
1216 pBufferBinds = nullptr;
1217 imageOpaqueBindCount = in_struct->imageOpaqueBindCount;
1218 pImageOpaqueBinds = nullptr;
1219 imageBindCount = in_struct->imageBindCount;
1220 pImageBinds = nullptr;
1221 signalSemaphoreCount = in_struct->signalSemaphoreCount;
1222 pSignalSemaphores = nullptr;
1223 if (waitSemaphoreCount && in_struct->pWaitSemaphores) {
1224 pWaitSemaphores = new VkSemaphore[waitSemaphoreCount];
1225 for (uint32_t i=0; i<waitSemaphoreCount; ++i) {
1226 pWaitSemaphores[i] = in_struct->pWaitSemaphores[i];
1227 }
1228 }
1229 if (bufferBindCount && in_struct->pBufferBinds) {
1230 pBufferBinds = new safe_VkSparseBufferMemoryBindInfo[bufferBindCount];
1231 for (uint32_t i=0; i<bufferBindCount; ++i) {
1232 pBufferBinds[i].initialize(&in_struct->pBufferBinds[i]);
1233 }
1234 }
1235 if (imageOpaqueBindCount && in_struct->pImageOpaqueBinds) {
1236 pImageOpaqueBinds = new safe_VkSparseImageOpaqueMemoryBindInfo[imageOpaqueBindCount];
1237 for (uint32_t i=0; i<imageOpaqueBindCount; ++i) {
1238 pImageOpaqueBinds[i].initialize(&in_struct->pImageOpaqueBinds[i]);
1239 }
1240 }
1241 if (imageBindCount && in_struct->pImageBinds) {
1242 pImageBinds = new safe_VkSparseImageMemoryBindInfo[imageBindCount];
1243 for (uint32_t i=0; i<imageBindCount; ++i) {
1244 pImageBinds[i].initialize(&in_struct->pImageBinds[i]);
1245 }
1246 }
1247 if (signalSemaphoreCount && in_struct->pSignalSemaphores) {
1248 pSignalSemaphores = new VkSemaphore[signalSemaphoreCount];
1249 for (uint32_t i=0; i<signalSemaphoreCount; ++i) {
1250 pSignalSemaphores[i] = in_struct->pSignalSemaphores[i];
1251 }
1252 }
1253}
1254
1255void safe_VkBindSparseInfo::initialize(const safe_VkBindSparseInfo* src)
1256{
1257 sType = src->sType;
1258 pNext = src->pNext;
1259 waitSemaphoreCount = src->waitSemaphoreCount;
1260 pWaitSemaphores = nullptr;
1261 bufferBindCount = src->bufferBindCount;
1262 pBufferBinds = nullptr;
1263 imageOpaqueBindCount = src->imageOpaqueBindCount;
1264 pImageOpaqueBinds = nullptr;
1265 imageBindCount = src->imageBindCount;
1266 pImageBinds = nullptr;
1267 signalSemaphoreCount = src->signalSemaphoreCount;
1268 pSignalSemaphores = nullptr;
1269 if (waitSemaphoreCount && src->pWaitSemaphores) {
1270 pWaitSemaphores = new VkSemaphore[waitSemaphoreCount];
1271 for (uint32_t i=0; i<waitSemaphoreCount; ++i) {
1272 pWaitSemaphores[i] = src->pWaitSemaphores[i];
1273 }
1274 }
1275 if (bufferBindCount && src->pBufferBinds) {
1276 pBufferBinds = new safe_VkSparseBufferMemoryBindInfo[bufferBindCount];
1277 for (uint32_t i=0; i<bufferBindCount; ++i) {
1278 pBufferBinds[i].initialize(&src->pBufferBinds[i]);
1279 }
1280 }
1281 if (imageOpaqueBindCount && src->pImageOpaqueBinds) {
1282 pImageOpaqueBinds = new safe_VkSparseImageOpaqueMemoryBindInfo[imageOpaqueBindCount];
1283 for (uint32_t i=0; i<imageOpaqueBindCount; ++i) {
1284 pImageOpaqueBinds[i].initialize(&src->pImageOpaqueBinds[i]);
1285 }
1286 }
1287 if (imageBindCount && src->pImageBinds) {
1288 pImageBinds = new safe_VkSparseImageMemoryBindInfo[imageBindCount];
1289 for (uint32_t i=0; i<imageBindCount; ++i) {
1290 pImageBinds[i].initialize(&src->pImageBinds[i]);
1291 }
1292 }
1293 if (signalSemaphoreCount && src->pSignalSemaphores) {
1294 pSignalSemaphores = new VkSemaphore[signalSemaphoreCount];
1295 for (uint32_t i=0; i<signalSemaphoreCount; ++i) {
1296 pSignalSemaphores[i] = src->pSignalSemaphores[i];
1297 }
1298 }
1299}
1300
1301safe_VkFenceCreateInfo::safe_VkFenceCreateInfo(const VkFenceCreateInfo* in_struct) :
1302 sType(in_struct->sType),
1303 pNext(in_struct->pNext),
1304 flags(in_struct->flags)
1305{
1306}
1307
1308safe_VkFenceCreateInfo::safe_VkFenceCreateInfo()
1309{}
1310
1311safe_VkFenceCreateInfo::safe_VkFenceCreateInfo(const safe_VkFenceCreateInfo& src)
1312{
1313 sType = src.sType;
1314 pNext = src.pNext;
1315 flags = src.flags;
1316}
1317
1318safe_VkFenceCreateInfo& safe_VkFenceCreateInfo::operator=(const safe_VkFenceCreateInfo& src)
1319{
1320 if (&src == this) return *this;
1321
1322
1323 sType = src.sType;
1324 pNext = src.pNext;
1325 flags = src.flags;
1326
1327 return *this;
1328}
1329
1330safe_VkFenceCreateInfo::~safe_VkFenceCreateInfo()
1331{
1332}
1333
1334void safe_VkFenceCreateInfo::initialize(const VkFenceCreateInfo* in_struct)
1335{
1336 sType = in_struct->sType;
1337 pNext = in_struct->pNext;
1338 flags = in_struct->flags;
1339}
1340
1341void safe_VkFenceCreateInfo::initialize(const safe_VkFenceCreateInfo* src)
1342{
1343 sType = src->sType;
1344 pNext = src->pNext;
1345 flags = src->flags;
1346}
1347
1348safe_VkSemaphoreCreateInfo::safe_VkSemaphoreCreateInfo(const VkSemaphoreCreateInfo* in_struct) :
1349 sType(in_struct->sType),
1350 pNext(in_struct->pNext),
1351 flags(in_struct->flags)
1352{
1353}
1354
1355safe_VkSemaphoreCreateInfo::safe_VkSemaphoreCreateInfo()
1356{}
1357
1358safe_VkSemaphoreCreateInfo::safe_VkSemaphoreCreateInfo(const safe_VkSemaphoreCreateInfo& src)
1359{
1360 sType = src.sType;
1361 pNext = src.pNext;
1362 flags = src.flags;
1363}
1364
1365safe_VkSemaphoreCreateInfo& safe_VkSemaphoreCreateInfo::operator=(const safe_VkSemaphoreCreateInfo& src)
1366{
1367 if (&src == this) return *this;
1368
1369
1370 sType = src.sType;
1371 pNext = src.pNext;
1372 flags = src.flags;
1373
1374 return *this;
1375}
1376
1377safe_VkSemaphoreCreateInfo::~safe_VkSemaphoreCreateInfo()
1378{
1379}
1380
1381void safe_VkSemaphoreCreateInfo::initialize(const VkSemaphoreCreateInfo* in_struct)
1382{
1383 sType = in_struct->sType;
1384 pNext = in_struct->pNext;
1385 flags = in_struct->flags;
1386}
1387
1388void safe_VkSemaphoreCreateInfo::initialize(const safe_VkSemaphoreCreateInfo* src)
1389{
1390 sType = src->sType;
1391 pNext = src->pNext;
1392 flags = src->flags;
1393}
1394
1395safe_VkEventCreateInfo::safe_VkEventCreateInfo(const VkEventCreateInfo* in_struct) :
1396 sType(in_struct->sType),
1397 pNext(in_struct->pNext),
1398 flags(in_struct->flags)
1399{
1400}
1401
1402safe_VkEventCreateInfo::safe_VkEventCreateInfo()
1403{}
1404
1405safe_VkEventCreateInfo::safe_VkEventCreateInfo(const safe_VkEventCreateInfo& src)
1406{
1407 sType = src.sType;
1408 pNext = src.pNext;
1409 flags = src.flags;
1410}
1411
1412safe_VkEventCreateInfo& safe_VkEventCreateInfo::operator=(const safe_VkEventCreateInfo& src)
1413{
1414 if (&src == this) return *this;
1415
1416
1417 sType = src.sType;
1418 pNext = src.pNext;
1419 flags = src.flags;
1420
1421 return *this;
1422}
1423
1424safe_VkEventCreateInfo::~safe_VkEventCreateInfo()
1425{
1426}
1427
1428void safe_VkEventCreateInfo::initialize(const VkEventCreateInfo* in_struct)
1429{
1430 sType = in_struct->sType;
1431 pNext = in_struct->pNext;
1432 flags = in_struct->flags;
1433}
1434
1435void safe_VkEventCreateInfo::initialize(const safe_VkEventCreateInfo* src)
1436{
1437 sType = src->sType;
1438 pNext = src->pNext;
1439 flags = src->flags;
1440}
1441
1442safe_VkQueryPoolCreateInfo::safe_VkQueryPoolCreateInfo(const VkQueryPoolCreateInfo* in_struct) :
1443 sType(in_struct->sType),
1444 pNext(in_struct->pNext),
1445 flags(in_struct->flags),
1446 queryType(in_struct->queryType),
1447 queryCount(in_struct->queryCount),
1448 pipelineStatistics(in_struct->pipelineStatistics)
1449{
1450}
1451
1452safe_VkQueryPoolCreateInfo::safe_VkQueryPoolCreateInfo()
1453{}
1454
1455safe_VkQueryPoolCreateInfo::safe_VkQueryPoolCreateInfo(const safe_VkQueryPoolCreateInfo& src)
1456{
1457 sType = src.sType;
1458 pNext = src.pNext;
1459 flags = src.flags;
1460 queryType = src.queryType;
1461 queryCount = src.queryCount;
1462 pipelineStatistics = src.pipelineStatistics;
1463}
1464
1465safe_VkQueryPoolCreateInfo& safe_VkQueryPoolCreateInfo::operator=(const safe_VkQueryPoolCreateInfo& src)
1466{
1467 if (&src == this) return *this;
1468
1469
1470 sType = src.sType;
1471 pNext = src.pNext;
1472 flags = src.flags;
1473 queryType = src.queryType;
1474 queryCount = src.queryCount;
1475 pipelineStatistics = src.pipelineStatistics;
1476
1477 return *this;
1478}
1479
1480safe_VkQueryPoolCreateInfo::~safe_VkQueryPoolCreateInfo()
1481{
1482}
1483
1484void safe_VkQueryPoolCreateInfo::initialize(const VkQueryPoolCreateInfo* in_struct)
1485{
1486 sType = in_struct->sType;
1487 pNext = in_struct->pNext;
1488 flags = in_struct->flags;
1489 queryType = in_struct->queryType;
1490 queryCount = in_struct->queryCount;
1491 pipelineStatistics = in_struct->pipelineStatistics;
1492}
1493
1494void safe_VkQueryPoolCreateInfo::initialize(const safe_VkQueryPoolCreateInfo* src)
1495{
1496 sType = src->sType;
1497 pNext = src->pNext;
1498 flags = src->flags;
1499 queryType = src->queryType;
1500 queryCount = src->queryCount;
1501 pipelineStatistics = src->pipelineStatistics;
1502}
1503
1504safe_VkBufferCreateInfo::safe_VkBufferCreateInfo(const VkBufferCreateInfo* in_struct) :
1505 sType(in_struct->sType),
1506 pNext(in_struct->pNext),
1507 flags(in_struct->flags),
1508 size(in_struct->size),
1509 usage(in_struct->usage),
1510 sharingMode(in_struct->sharingMode),
1511 queueFamilyIndexCount(in_struct->queueFamilyIndexCount),
1512 pQueueFamilyIndices(nullptr)
1513{
1514 if (in_struct->pQueueFamilyIndices) {
1515 pQueueFamilyIndices = new uint32_t[in_struct->queueFamilyIndexCount];
1516 memcpy ((void *)pQueueFamilyIndices, (void *)in_struct->pQueueFamilyIndices, sizeof(uint32_t)*in_struct->queueFamilyIndexCount);
1517 }
1518}
1519
1520safe_VkBufferCreateInfo::safe_VkBufferCreateInfo() :
1521 pQueueFamilyIndices(nullptr)
1522{}
1523
1524safe_VkBufferCreateInfo::safe_VkBufferCreateInfo(const safe_VkBufferCreateInfo& src)
1525{
1526 sType = src.sType;
1527 pNext = src.pNext;
1528 flags = src.flags;
1529 size = src.size;
1530 usage = src.usage;
1531 sharingMode = src.sharingMode;
1532 queueFamilyIndexCount = src.queueFamilyIndexCount;
1533 pQueueFamilyIndices = nullptr;
1534 if (src.pQueueFamilyIndices) {
1535 pQueueFamilyIndices = new uint32_t[src.queueFamilyIndexCount];
1536 memcpy ((void *)pQueueFamilyIndices, (void *)src.pQueueFamilyIndices, sizeof(uint32_t)*src.queueFamilyIndexCount);
1537 }
1538}
1539
1540safe_VkBufferCreateInfo& safe_VkBufferCreateInfo::operator=(const safe_VkBufferCreateInfo& src)
1541{
1542 if (&src == this) return *this;
1543
1544 if (pQueueFamilyIndices)
1545 delete[] pQueueFamilyIndices;
1546
1547 sType = src.sType;
1548 pNext = src.pNext;
1549 flags = src.flags;
1550 size = src.size;
1551 usage = src.usage;
1552 sharingMode = src.sharingMode;
1553 queueFamilyIndexCount = src.queueFamilyIndexCount;
1554 pQueueFamilyIndices = nullptr;
1555 if (src.pQueueFamilyIndices) {
1556 pQueueFamilyIndices = new uint32_t[src.queueFamilyIndexCount];
1557 memcpy ((void *)pQueueFamilyIndices, (void *)src.pQueueFamilyIndices, sizeof(uint32_t)*src.queueFamilyIndexCount);
1558 }
1559
1560 return *this;
1561}
1562
1563safe_VkBufferCreateInfo::~safe_VkBufferCreateInfo()
1564{
1565 if (pQueueFamilyIndices)
1566 delete[] pQueueFamilyIndices;
1567}
1568
1569void safe_VkBufferCreateInfo::initialize(const VkBufferCreateInfo* in_struct)
1570{
1571 sType = in_struct->sType;
1572 pNext = in_struct->pNext;
1573 flags = in_struct->flags;
1574 size = in_struct->size;
1575 usage = in_struct->usage;
1576 sharingMode = in_struct->sharingMode;
1577 queueFamilyIndexCount = in_struct->queueFamilyIndexCount;
1578 pQueueFamilyIndices = nullptr;
1579 if (in_struct->pQueueFamilyIndices) {
1580 pQueueFamilyIndices = new uint32_t[in_struct->queueFamilyIndexCount];
1581 memcpy ((void *)pQueueFamilyIndices, (void *)in_struct->pQueueFamilyIndices, sizeof(uint32_t)*in_struct->queueFamilyIndexCount);
1582 }
1583}
1584
1585void safe_VkBufferCreateInfo::initialize(const safe_VkBufferCreateInfo* src)
1586{
1587 sType = src->sType;
1588 pNext = src->pNext;
1589 flags = src->flags;
1590 size = src->size;
1591 usage = src->usage;
1592 sharingMode = src->sharingMode;
1593 queueFamilyIndexCount = src->queueFamilyIndexCount;
1594 pQueueFamilyIndices = nullptr;
1595 if (src->pQueueFamilyIndices) {
1596 pQueueFamilyIndices = new uint32_t[src->queueFamilyIndexCount];
1597 memcpy ((void *)pQueueFamilyIndices, (void *)src->pQueueFamilyIndices, sizeof(uint32_t)*src->queueFamilyIndexCount);
1598 }
1599}
1600
1601safe_VkBufferViewCreateInfo::safe_VkBufferViewCreateInfo(const VkBufferViewCreateInfo* in_struct) :
1602 sType(in_struct->sType),
1603 pNext(in_struct->pNext),
1604 flags(in_struct->flags),
1605 buffer(in_struct->buffer),
1606 format(in_struct->format),
1607 offset(in_struct->offset),
1608 range(in_struct->range)
1609{
1610}
1611
1612safe_VkBufferViewCreateInfo::safe_VkBufferViewCreateInfo()
1613{}
1614
1615safe_VkBufferViewCreateInfo::safe_VkBufferViewCreateInfo(const safe_VkBufferViewCreateInfo& src)
1616{
1617 sType = src.sType;
1618 pNext = src.pNext;
1619 flags = src.flags;
1620 buffer = src.buffer;
1621 format = src.format;
1622 offset = src.offset;
1623 range = src.range;
1624}
1625
1626safe_VkBufferViewCreateInfo& safe_VkBufferViewCreateInfo::operator=(const safe_VkBufferViewCreateInfo& src)
1627{
1628 if (&src == this) return *this;
1629
1630
1631 sType = src.sType;
1632 pNext = src.pNext;
1633 flags = src.flags;
1634 buffer = src.buffer;
1635 format = src.format;
1636 offset = src.offset;
1637 range = src.range;
1638
1639 return *this;
1640}
1641
1642safe_VkBufferViewCreateInfo::~safe_VkBufferViewCreateInfo()
1643{
1644}
1645
1646void safe_VkBufferViewCreateInfo::initialize(const VkBufferViewCreateInfo* in_struct)
1647{
1648 sType = in_struct->sType;
1649 pNext = in_struct->pNext;
1650 flags = in_struct->flags;
1651 buffer = in_struct->buffer;
1652 format = in_struct->format;
1653 offset = in_struct->offset;
1654 range = in_struct->range;
1655}
1656
1657void safe_VkBufferViewCreateInfo::initialize(const safe_VkBufferViewCreateInfo* src)
1658{
1659 sType = src->sType;
1660 pNext = src->pNext;
1661 flags = src->flags;
1662 buffer = src->buffer;
1663 format = src->format;
1664 offset = src->offset;
1665 range = src->range;
1666}
1667
1668safe_VkImageCreateInfo::safe_VkImageCreateInfo(const VkImageCreateInfo* in_struct) :
1669 sType(in_struct->sType),
1670 pNext(in_struct->pNext),
1671 flags(in_struct->flags),
1672 imageType(in_struct->imageType),
1673 format(in_struct->format),
1674 extent(in_struct->extent),
1675 mipLevels(in_struct->mipLevels),
1676 arrayLayers(in_struct->arrayLayers),
1677 samples(in_struct->samples),
1678 tiling(in_struct->tiling),
1679 usage(in_struct->usage),
1680 sharingMode(in_struct->sharingMode),
1681 queueFamilyIndexCount(in_struct->queueFamilyIndexCount),
1682 pQueueFamilyIndices(nullptr),
1683 initialLayout(in_struct->initialLayout)
1684{
1685 if (in_struct->pQueueFamilyIndices) {
1686 pQueueFamilyIndices = new uint32_t[in_struct->queueFamilyIndexCount];
1687 memcpy ((void *)pQueueFamilyIndices, (void *)in_struct->pQueueFamilyIndices, sizeof(uint32_t)*in_struct->queueFamilyIndexCount);
1688 }
1689}
1690
1691safe_VkImageCreateInfo::safe_VkImageCreateInfo() :
1692 pQueueFamilyIndices(nullptr)
1693{}
1694
1695safe_VkImageCreateInfo::safe_VkImageCreateInfo(const safe_VkImageCreateInfo& src)
1696{
1697 sType = src.sType;
1698 pNext = src.pNext;
1699 flags = src.flags;
1700 imageType = src.imageType;
1701 format = src.format;
1702 extent = src.extent;
1703 mipLevels = src.mipLevels;
1704 arrayLayers = src.arrayLayers;
1705 samples = src.samples;
1706 tiling = src.tiling;
1707 usage = src.usage;
1708 sharingMode = src.sharingMode;
1709 queueFamilyIndexCount = src.queueFamilyIndexCount;
1710 pQueueFamilyIndices = nullptr;
1711 initialLayout = src.initialLayout;
1712 if (src.pQueueFamilyIndices) {
1713 pQueueFamilyIndices = new uint32_t[src.queueFamilyIndexCount];
1714 memcpy ((void *)pQueueFamilyIndices, (void *)src.pQueueFamilyIndices, sizeof(uint32_t)*src.queueFamilyIndexCount);
1715 }
1716}
1717
1718safe_VkImageCreateInfo& safe_VkImageCreateInfo::operator=(const safe_VkImageCreateInfo& src)
1719{
1720 if (&src == this) return *this;
1721
1722 if (pQueueFamilyIndices)
1723 delete[] pQueueFamilyIndices;
1724
1725 sType = src.sType;
1726 pNext = src.pNext;
1727 flags = src.flags;
1728 imageType = src.imageType;
1729 format = src.format;
1730 extent = src.extent;
1731 mipLevels = src.mipLevels;
1732 arrayLayers = src.arrayLayers;
1733 samples = src.samples;
1734 tiling = src.tiling;
1735 usage = src.usage;
1736 sharingMode = src.sharingMode;
1737 queueFamilyIndexCount = src.queueFamilyIndexCount;
1738 pQueueFamilyIndices = nullptr;
1739 initialLayout = src.initialLayout;
1740 if (src.pQueueFamilyIndices) {
1741 pQueueFamilyIndices = new uint32_t[src.queueFamilyIndexCount];
1742 memcpy ((void *)pQueueFamilyIndices, (void *)src.pQueueFamilyIndices, sizeof(uint32_t)*src.queueFamilyIndexCount);
1743 }
1744
1745 return *this;
1746}
1747
1748safe_VkImageCreateInfo::~safe_VkImageCreateInfo()
1749{
1750 if (pQueueFamilyIndices)
1751 delete[] pQueueFamilyIndices;
1752}
1753
1754void safe_VkImageCreateInfo::initialize(const VkImageCreateInfo* in_struct)
1755{
1756 sType = in_struct->sType;
1757 pNext = in_struct->pNext;
1758 flags = in_struct->flags;
1759 imageType = in_struct->imageType;
1760 format = in_struct->format;
1761 extent = in_struct->extent;
1762 mipLevels = in_struct->mipLevels;
1763 arrayLayers = in_struct->arrayLayers;
1764 samples = in_struct->samples;
1765 tiling = in_struct->tiling;
1766 usage = in_struct->usage;
1767 sharingMode = in_struct->sharingMode;
1768 queueFamilyIndexCount = in_struct->queueFamilyIndexCount;
1769 pQueueFamilyIndices = nullptr;
1770 initialLayout = in_struct->initialLayout;
1771 if (in_struct->pQueueFamilyIndices) {
1772 pQueueFamilyIndices = new uint32_t[in_struct->queueFamilyIndexCount];
1773 memcpy ((void *)pQueueFamilyIndices, (void *)in_struct->pQueueFamilyIndices, sizeof(uint32_t)*in_struct->queueFamilyIndexCount);
1774 }
1775}
1776
1777void safe_VkImageCreateInfo::initialize(const safe_VkImageCreateInfo* src)
1778{
1779 sType = src->sType;
1780 pNext = src->pNext;
1781 flags = src->flags;
1782 imageType = src->imageType;
1783 format = src->format;
1784 extent = src->extent;
1785 mipLevels = src->mipLevels;
1786 arrayLayers = src->arrayLayers;
1787 samples = src->samples;
1788 tiling = src->tiling;
1789 usage = src->usage;
1790 sharingMode = src->sharingMode;
1791 queueFamilyIndexCount = src->queueFamilyIndexCount;
1792 pQueueFamilyIndices = nullptr;
1793 initialLayout = src->initialLayout;
1794 if (src->pQueueFamilyIndices) {
1795 pQueueFamilyIndices = new uint32_t[src->queueFamilyIndexCount];
1796 memcpy ((void *)pQueueFamilyIndices, (void *)src->pQueueFamilyIndices, sizeof(uint32_t)*src->queueFamilyIndexCount);
1797 }
1798}
1799
1800safe_VkImageViewCreateInfo::safe_VkImageViewCreateInfo(const VkImageViewCreateInfo* in_struct) :
1801 sType(in_struct->sType),
1802 pNext(in_struct->pNext),
1803 flags(in_struct->flags),
1804 image(in_struct->image),
1805 viewType(in_struct->viewType),
1806 format(in_struct->format),
1807 components(in_struct->components),
1808 subresourceRange(in_struct->subresourceRange)
1809{
1810}
1811
1812safe_VkImageViewCreateInfo::safe_VkImageViewCreateInfo()
1813{}
1814
1815safe_VkImageViewCreateInfo::safe_VkImageViewCreateInfo(const safe_VkImageViewCreateInfo& src)
1816{
1817 sType = src.sType;
1818 pNext = src.pNext;
1819 flags = src.flags;
1820 image = src.image;
1821 viewType = src.viewType;
1822 format = src.format;
1823 components = src.components;
1824 subresourceRange = src.subresourceRange;
1825}
1826
1827safe_VkImageViewCreateInfo& safe_VkImageViewCreateInfo::operator=(const safe_VkImageViewCreateInfo& src)
1828{
1829 if (&src == this) return *this;
1830
1831
1832 sType = src.sType;
1833 pNext = src.pNext;
1834 flags = src.flags;
1835 image = src.image;
1836 viewType = src.viewType;
1837 format = src.format;
1838 components = src.components;
1839 subresourceRange = src.subresourceRange;
1840
1841 return *this;
1842}
1843
1844safe_VkImageViewCreateInfo::~safe_VkImageViewCreateInfo()
1845{
1846}
1847
1848void safe_VkImageViewCreateInfo::initialize(const VkImageViewCreateInfo* in_struct)
1849{
1850 sType = in_struct->sType;
1851 pNext = in_struct->pNext;
1852 flags = in_struct->flags;
1853 image = in_struct->image;
1854 viewType = in_struct->viewType;
1855 format = in_struct->format;
1856 components = in_struct->components;
1857 subresourceRange = in_struct->subresourceRange;
1858}
1859
1860void safe_VkImageViewCreateInfo::initialize(const safe_VkImageViewCreateInfo* src)
1861{
1862 sType = src->sType;
1863 pNext = src->pNext;
1864 flags = src->flags;
1865 image = src->image;
1866 viewType = src->viewType;
1867 format = src->format;
1868 components = src->components;
1869 subresourceRange = src->subresourceRange;
1870}
1871
1872safe_VkShaderModuleCreateInfo::safe_VkShaderModuleCreateInfo(const VkShaderModuleCreateInfo* in_struct) :
1873 sType(in_struct->sType),
1874 pNext(in_struct->pNext),
1875 flags(in_struct->flags),
1876 codeSize(in_struct->codeSize),
1877 pCode(nullptr)
1878{
1879 if (in_struct->pCode) {
1880 pCode = reinterpret_cast<uint32_t *>(new uint8_t[codeSize]);
1881 memcpy((void *)pCode, (void *)in_struct->pCode, codeSize);
1882 }
1883}
1884
1885safe_VkShaderModuleCreateInfo::safe_VkShaderModuleCreateInfo() :
1886 pCode(nullptr)
1887{}
1888
1889safe_VkShaderModuleCreateInfo::safe_VkShaderModuleCreateInfo(const safe_VkShaderModuleCreateInfo& src)
1890{
1891 sType = src.sType;
1892 pNext = src.pNext;
1893 flags = src.flags;
1894 codeSize = src.codeSize;
1895 pCode = nullptr;
1896 if (src.pCode) {
1897 pCode = reinterpret_cast<uint32_t *>(new uint8_t[codeSize]);
1898 memcpy((void *)pCode, (void *)src.pCode, codeSize);
1899 }
1900}
1901
1902safe_VkShaderModuleCreateInfo& safe_VkShaderModuleCreateInfo::operator=(const safe_VkShaderModuleCreateInfo& src)
1903{
1904 if (&src == this) return *this;
1905
1906 if (pCode)
1907 delete[] reinterpret_cast<const uint8_t *>(pCode);
1908
1909 sType = src.sType;
1910 pNext = src.pNext;
1911 flags = src.flags;
1912 codeSize = src.codeSize;
1913 pCode = nullptr;
1914 if (src.pCode) {
1915 pCode = reinterpret_cast<uint32_t *>(new uint8_t[codeSize]);
1916 memcpy((void *)pCode, (void *)src.pCode, codeSize);
1917 }
1918
1919 return *this;
1920}
1921
1922safe_VkShaderModuleCreateInfo::~safe_VkShaderModuleCreateInfo()
1923{
1924 if (pCode)
1925 delete[] reinterpret_cast<const uint8_t *>(pCode);
1926}
1927
1928void safe_VkShaderModuleCreateInfo::initialize(const VkShaderModuleCreateInfo* in_struct)
1929{
1930 sType = in_struct->sType;
1931 pNext = in_struct->pNext;
1932 flags = in_struct->flags;
1933 codeSize = in_struct->codeSize;
1934 pCode = nullptr;
1935 if (in_struct->pCode) {
1936 pCode = reinterpret_cast<uint32_t *>(new uint8_t[codeSize]);
1937 memcpy((void *)pCode, (void *)in_struct->pCode, codeSize);
1938 }
1939}
1940
1941void safe_VkShaderModuleCreateInfo::initialize(const safe_VkShaderModuleCreateInfo* src)
1942{
1943 sType = src->sType;
1944 pNext = src->pNext;
1945 flags = src->flags;
1946 codeSize = src->codeSize;
1947 pCode = nullptr;
1948 if (src->pCode) {
1949 pCode = reinterpret_cast<uint32_t *>(new uint8_t[codeSize]);
1950 memcpy((void *)pCode, (void *)src->pCode, codeSize);
1951 }
1952}
1953
1954safe_VkPipelineCacheCreateInfo::safe_VkPipelineCacheCreateInfo(const VkPipelineCacheCreateInfo* in_struct) :
1955 sType(in_struct->sType),
1956 pNext(in_struct->pNext),
1957 flags(in_struct->flags),
1958 initialDataSize(in_struct->initialDataSize),
1959 pInitialData(in_struct->pInitialData)
1960{
1961}
1962
1963safe_VkPipelineCacheCreateInfo::safe_VkPipelineCacheCreateInfo()
1964{}
1965
1966safe_VkPipelineCacheCreateInfo::safe_VkPipelineCacheCreateInfo(const safe_VkPipelineCacheCreateInfo& src)
1967{
1968 sType = src.sType;
1969 pNext = src.pNext;
1970 flags = src.flags;
1971 initialDataSize = src.initialDataSize;
1972 pInitialData = src.pInitialData;
1973}
1974
1975safe_VkPipelineCacheCreateInfo& safe_VkPipelineCacheCreateInfo::operator=(const safe_VkPipelineCacheCreateInfo& src)
1976{
1977 if (&src == this) return *this;
1978
1979
1980 sType = src.sType;
1981 pNext = src.pNext;
1982 flags = src.flags;
1983 initialDataSize = src.initialDataSize;
1984 pInitialData = src.pInitialData;
1985
1986 return *this;
1987}
1988
1989safe_VkPipelineCacheCreateInfo::~safe_VkPipelineCacheCreateInfo()
1990{
1991}
1992
1993void safe_VkPipelineCacheCreateInfo::initialize(const VkPipelineCacheCreateInfo* in_struct)
1994{
1995 sType = in_struct->sType;
1996 pNext = in_struct->pNext;
1997 flags = in_struct->flags;
1998 initialDataSize = in_struct->initialDataSize;
1999 pInitialData = in_struct->pInitialData;
2000}
2001
2002void safe_VkPipelineCacheCreateInfo::initialize(const safe_VkPipelineCacheCreateInfo* src)
2003{
2004 sType = src->sType;
2005 pNext = src->pNext;
2006 flags = src->flags;
2007 initialDataSize = src->initialDataSize;
2008 pInitialData = src->pInitialData;
2009}
2010
2011safe_VkSpecializationInfo::safe_VkSpecializationInfo(const VkSpecializationInfo* in_struct) :
2012 mapEntryCount(in_struct->mapEntryCount),
2013 pMapEntries(nullptr),
2014 dataSize(in_struct->dataSize),
2015 pData(in_struct->pData)
2016{
2017 if (in_struct->pMapEntries) {
2018 pMapEntries = new VkSpecializationMapEntry[in_struct->mapEntryCount];
2019 memcpy ((void *)pMapEntries, (void *)in_struct->pMapEntries, sizeof(VkSpecializationMapEntry)*in_struct->mapEntryCount);
2020 }
2021}
2022
2023safe_VkSpecializationInfo::safe_VkSpecializationInfo() :
2024 pMapEntries(nullptr)
2025{}
2026
2027safe_VkSpecializationInfo::safe_VkSpecializationInfo(const safe_VkSpecializationInfo& src)
2028{
2029 mapEntryCount = src.mapEntryCount;
2030 pMapEntries = nullptr;
2031 dataSize = src.dataSize;
2032 pData = src.pData;
2033 if (src.pMapEntries) {
2034 pMapEntries = new VkSpecializationMapEntry[src.mapEntryCount];
2035 memcpy ((void *)pMapEntries, (void *)src.pMapEntries, sizeof(VkSpecializationMapEntry)*src.mapEntryCount);
2036 }
2037}
2038
2039safe_VkSpecializationInfo& safe_VkSpecializationInfo::operator=(const safe_VkSpecializationInfo& src)
2040{
2041 if (&src == this) return *this;
2042
2043 if (pMapEntries)
2044 delete[] pMapEntries;
2045
2046 mapEntryCount = src.mapEntryCount;
2047 pMapEntries = nullptr;
2048 dataSize = src.dataSize;
2049 pData = src.pData;
2050 if (src.pMapEntries) {
2051 pMapEntries = new VkSpecializationMapEntry[src.mapEntryCount];
2052 memcpy ((void *)pMapEntries, (void *)src.pMapEntries, sizeof(VkSpecializationMapEntry)*src.mapEntryCount);
2053 }
2054
2055 return *this;
2056}
2057
2058safe_VkSpecializationInfo::~safe_VkSpecializationInfo()
2059{
2060 if (pMapEntries)
2061 delete[] pMapEntries;
2062}
2063
2064void safe_VkSpecializationInfo::initialize(const VkSpecializationInfo* in_struct)
2065{
2066 mapEntryCount = in_struct->mapEntryCount;
2067 pMapEntries = nullptr;
2068 dataSize = in_struct->dataSize;
2069 pData = in_struct->pData;
2070 if (in_struct->pMapEntries) {
2071 pMapEntries = new VkSpecializationMapEntry[in_struct->mapEntryCount];
2072 memcpy ((void *)pMapEntries, (void *)in_struct->pMapEntries, sizeof(VkSpecializationMapEntry)*in_struct->mapEntryCount);
2073 }
2074}
2075
2076void safe_VkSpecializationInfo::initialize(const safe_VkSpecializationInfo* src)
2077{
2078 mapEntryCount = src->mapEntryCount;
2079 pMapEntries = nullptr;
2080 dataSize = src->dataSize;
2081 pData = src->pData;
2082 if (src->pMapEntries) {
2083 pMapEntries = new VkSpecializationMapEntry[src->mapEntryCount];
2084 memcpy ((void *)pMapEntries, (void *)src->pMapEntries, sizeof(VkSpecializationMapEntry)*src->mapEntryCount);
2085 }
2086}
2087
2088safe_VkPipelineShaderStageCreateInfo::safe_VkPipelineShaderStageCreateInfo(const VkPipelineShaderStageCreateInfo* in_struct) :
2089 sType(in_struct->sType),
2090 pNext(in_struct->pNext),
2091 flags(in_struct->flags),
2092 stage(in_struct->stage),
2093 module(in_struct->module),
2094 pName(in_struct->pName)
2095{
2096 if (in_struct->pSpecializationInfo)
2097 pSpecializationInfo = new safe_VkSpecializationInfo(in_struct->pSpecializationInfo);
2098 else
2099 pSpecializationInfo = NULL;
2100}
2101
2102safe_VkPipelineShaderStageCreateInfo::safe_VkPipelineShaderStageCreateInfo()
2103{}
2104
2105safe_VkPipelineShaderStageCreateInfo::safe_VkPipelineShaderStageCreateInfo(const safe_VkPipelineShaderStageCreateInfo& src)
2106{
2107 sType = src.sType;
2108 pNext = src.pNext;
2109 flags = src.flags;
2110 stage = src.stage;
2111 module = src.module;
2112 pName = src.pName;
2113 if (src.pSpecializationInfo)
2114 pSpecializationInfo = new safe_VkSpecializationInfo(*src.pSpecializationInfo);
2115 else
2116 pSpecializationInfo = NULL;
2117}
2118
2119safe_VkPipelineShaderStageCreateInfo& safe_VkPipelineShaderStageCreateInfo::operator=(const safe_VkPipelineShaderStageCreateInfo& src)
2120{
2121 if (&src == this) return *this;
2122
2123 if (pSpecializationInfo)
2124 delete pSpecializationInfo;
2125
2126 sType = src.sType;
2127 pNext = src.pNext;
2128 flags = src.flags;
2129 stage = src.stage;
2130 module = src.module;
2131 pName = src.pName;
2132 if (src.pSpecializationInfo)
2133 pSpecializationInfo = new safe_VkSpecializationInfo(*src.pSpecializationInfo);
2134 else
2135 pSpecializationInfo = NULL;
2136
2137 return *this;
2138}
2139
2140safe_VkPipelineShaderStageCreateInfo::~safe_VkPipelineShaderStageCreateInfo()
2141{
2142 if (pSpecializationInfo)
2143 delete pSpecializationInfo;
2144}
2145
2146void safe_VkPipelineShaderStageCreateInfo::initialize(const VkPipelineShaderStageCreateInfo* in_struct)
2147{
2148 sType = in_struct->sType;
2149 pNext = in_struct->pNext;
2150 flags = in_struct->flags;
2151 stage = in_struct->stage;
2152 module = in_struct->module;
2153 pName = in_struct->pName;
2154 if (in_struct->pSpecializationInfo)
2155 pSpecializationInfo = new safe_VkSpecializationInfo(in_struct->pSpecializationInfo);
2156 else
2157 pSpecializationInfo = NULL;
2158}
2159
2160void safe_VkPipelineShaderStageCreateInfo::initialize(const safe_VkPipelineShaderStageCreateInfo* src)
2161{
2162 sType = src->sType;
2163 pNext = src->pNext;
2164 flags = src->flags;
2165 stage = src->stage;
2166 module = src->module;
2167 pName = src->pName;
2168 if (src->pSpecializationInfo)
2169 pSpecializationInfo = new safe_VkSpecializationInfo(*src->pSpecializationInfo);
2170 else
2171 pSpecializationInfo = NULL;
2172}
2173
2174safe_VkPipelineVertexInputStateCreateInfo::safe_VkPipelineVertexInputStateCreateInfo(const VkPipelineVertexInputStateCreateInfo* in_struct) :
2175 sType(in_struct->sType),
2176 pNext(in_struct->pNext),
2177 flags(in_struct->flags),
2178 vertexBindingDescriptionCount(in_struct->vertexBindingDescriptionCount),
2179 pVertexBindingDescriptions(nullptr),
2180 vertexAttributeDescriptionCount(in_struct->vertexAttributeDescriptionCount),
2181 pVertexAttributeDescriptions(nullptr)
2182{
2183 if (in_struct->pVertexBindingDescriptions) {
2184 pVertexBindingDescriptions = new VkVertexInputBindingDescription[in_struct->vertexBindingDescriptionCount];
2185 memcpy ((void *)pVertexBindingDescriptions, (void *)in_struct->pVertexBindingDescriptions, sizeof(VkVertexInputBindingDescription)*in_struct->vertexBindingDescriptionCount);
2186 }
2187 if (in_struct->pVertexAttributeDescriptions) {
2188 pVertexAttributeDescriptions = new VkVertexInputAttributeDescription[in_struct->vertexAttributeDescriptionCount];
2189 memcpy ((void *)pVertexAttributeDescriptions, (void *)in_struct->pVertexAttributeDescriptions, sizeof(VkVertexInputAttributeDescription)*in_struct->vertexAttributeDescriptionCount);
2190 }
2191}
2192
2193safe_VkPipelineVertexInputStateCreateInfo::safe_VkPipelineVertexInputStateCreateInfo() :
2194 pVertexBindingDescriptions(nullptr),
2195 pVertexAttributeDescriptions(nullptr)
2196{}
2197
2198safe_VkPipelineVertexInputStateCreateInfo::safe_VkPipelineVertexInputStateCreateInfo(const safe_VkPipelineVertexInputStateCreateInfo& src)
2199{
2200 sType = src.sType;
2201 pNext = src.pNext;
2202 flags = src.flags;
2203 vertexBindingDescriptionCount = src.vertexBindingDescriptionCount;
2204 pVertexBindingDescriptions = nullptr;
2205 vertexAttributeDescriptionCount = src.vertexAttributeDescriptionCount;
2206 pVertexAttributeDescriptions = nullptr;
2207 if (src.pVertexBindingDescriptions) {
2208 pVertexBindingDescriptions = new VkVertexInputBindingDescription[src.vertexBindingDescriptionCount];
2209 memcpy ((void *)pVertexBindingDescriptions, (void *)src.pVertexBindingDescriptions, sizeof(VkVertexInputBindingDescription)*src.vertexBindingDescriptionCount);
2210 }
2211 if (src.pVertexAttributeDescriptions) {
2212 pVertexAttributeDescriptions = new VkVertexInputAttributeDescription[src.vertexAttributeDescriptionCount];
2213 memcpy ((void *)pVertexAttributeDescriptions, (void *)src.pVertexAttributeDescriptions, sizeof(VkVertexInputAttributeDescription)*src.vertexAttributeDescriptionCount);
2214 }
2215}
2216
2217safe_VkPipelineVertexInputStateCreateInfo& safe_VkPipelineVertexInputStateCreateInfo::operator=(const safe_VkPipelineVertexInputStateCreateInfo& src)
2218{
2219 if (&src == this) return *this;
2220
2221 if (pVertexBindingDescriptions)
2222 delete[] pVertexBindingDescriptions;
2223 if (pVertexAttributeDescriptions)
2224 delete[] pVertexAttributeDescriptions;
2225
2226 sType = src.sType;
2227 pNext = src.pNext;
2228 flags = src.flags;
2229 vertexBindingDescriptionCount = src.vertexBindingDescriptionCount;
2230 pVertexBindingDescriptions = nullptr;
2231 vertexAttributeDescriptionCount = src.vertexAttributeDescriptionCount;
2232 pVertexAttributeDescriptions = nullptr;
2233 if (src.pVertexBindingDescriptions) {
2234 pVertexBindingDescriptions = new VkVertexInputBindingDescription[src.vertexBindingDescriptionCount];
2235 memcpy ((void *)pVertexBindingDescriptions, (void *)src.pVertexBindingDescriptions, sizeof(VkVertexInputBindingDescription)*src.vertexBindingDescriptionCount);
2236 }
2237 if (src.pVertexAttributeDescriptions) {
2238 pVertexAttributeDescriptions = new VkVertexInputAttributeDescription[src.vertexAttributeDescriptionCount];
2239 memcpy ((void *)pVertexAttributeDescriptions, (void *)src.pVertexAttributeDescriptions, sizeof(VkVertexInputAttributeDescription)*src.vertexAttributeDescriptionCount);
2240 }
2241
2242 return *this;
2243}
2244
2245safe_VkPipelineVertexInputStateCreateInfo::~safe_VkPipelineVertexInputStateCreateInfo()
2246{
2247 if (pVertexBindingDescriptions)
2248 delete[] pVertexBindingDescriptions;
2249 if (pVertexAttributeDescriptions)
2250 delete[] pVertexAttributeDescriptions;
2251}
2252
2253void safe_VkPipelineVertexInputStateCreateInfo::initialize(const VkPipelineVertexInputStateCreateInfo* in_struct)
2254{
2255 sType = in_struct->sType;
2256 pNext = in_struct->pNext;
2257 flags = in_struct->flags;
2258 vertexBindingDescriptionCount = in_struct->vertexBindingDescriptionCount;
2259 pVertexBindingDescriptions = nullptr;
2260 vertexAttributeDescriptionCount = in_struct->vertexAttributeDescriptionCount;
2261 pVertexAttributeDescriptions = nullptr;
2262 if (in_struct->pVertexBindingDescriptions) {
2263 pVertexBindingDescriptions = new VkVertexInputBindingDescription[in_struct->vertexBindingDescriptionCount];
2264 memcpy ((void *)pVertexBindingDescriptions, (void *)in_struct->pVertexBindingDescriptions, sizeof(VkVertexInputBindingDescription)*in_struct->vertexBindingDescriptionCount);
2265 }
2266 if (in_struct->pVertexAttributeDescriptions) {
2267 pVertexAttributeDescriptions = new VkVertexInputAttributeDescription[in_struct->vertexAttributeDescriptionCount];
2268 memcpy ((void *)pVertexAttributeDescriptions, (void *)in_struct->pVertexAttributeDescriptions, sizeof(VkVertexInputAttributeDescription)*in_struct->vertexAttributeDescriptionCount);
2269 }
2270}
2271
2272void safe_VkPipelineVertexInputStateCreateInfo::initialize(const safe_VkPipelineVertexInputStateCreateInfo* src)
2273{
2274 sType = src->sType;
2275 pNext = src->pNext;
2276 flags = src->flags;
2277 vertexBindingDescriptionCount = src->vertexBindingDescriptionCount;
2278 pVertexBindingDescriptions = nullptr;
2279 vertexAttributeDescriptionCount = src->vertexAttributeDescriptionCount;
2280 pVertexAttributeDescriptions = nullptr;
2281 if (src->pVertexBindingDescriptions) {
2282 pVertexBindingDescriptions = new VkVertexInputBindingDescription[src->vertexBindingDescriptionCount];
2283 memcpy ((void *)pVertexBindingDescriptions, (void *)src->pVertexBindingDescriptions, sizeof(VkVertexInputBindingDescription)*src->vertexBindingDescriptionCount);
2284 }
2285 if (src->pVertexAttributeDescriptions) {
2286 pVertexAttributeDescriptions = new VkVertexInputAttributeDescription[src->vertexAttributeDescriptionCount];
2287 memcpy ((void *)pVertexAttributeDescriptions, (void *)src->pVertexAttributeDescriptions, sizeof(VkVertexInputAttributeDescription)*src->vertexAttributeDescriptionCount);
2288 }
2289}
2290
2291safe_VkPipelineInputAssemblyStateCreateInfo::safe_VkPipelineInputAssemblyStateCreateInfo(const VkPipelineInputAssemblyStateCreateInfo* in_struct) :
2292 sType(in_struct->sType),
2293 pNext(in_struct->pNext),
2294 flags(in_struct->flags),
2295 topology(in_struct->topology),
2296 primitiveRestartEnable(in_struct->primitiveRestartEnable)
2297{
2298}
2299
2300safe_VkPipelineInputAssemblyStateCreateInfo::safe_VkPipelineInputAssemblyStateCreateInfo()
2301{}
2302
2303safe_VkPipelineInputAssemblyStateCreateInfo::safe_VkPipelineInputAssemblyStateCreateInfo(const safe_VkPipelineInputAssemblyStateCreateInfo& src)
2304{
2305 sType = src.sType;
2306 pNext = src.pNext;
2307 flags = src.flags;
2308 topology = src.topology;
2309 primitiveRestartEnable = src.primitiveRestartEnable;
2310}
2311
2312safe_VkPipelineInputAssemblyStateCreateInfo& safe_VkPipelineInputAssemblyStateCreateInfo::operator=(const safe_VkPipelineInputAssemblyStateCreateInfo& src)
2313{
2314 if (&src == this) return *this;
2315
2316
2317 sType = src.sType;
2318 pNext = src.pNext;
2319 flags = src.flags;
2320 topology = src.topology;
2321 primitiveRestartEnable = src.primitiveRestartEnable;
2322
2323 return *this;
2324}
2325
2326safe_VkPipelineInputAssemblyStateCreateInfo::~safe_VkPipelineInputAssemblyStateCreateInfo()
2327{
2328}
2329
2330void safe_VkPipelineInputAssemblyStateCreateInfo::initialize(const VkPipelineInputAssemblyStateCreateInfo* in_struct)
2331{
2332 sType = in_struct->sType;
2333 pNext = in_struct->pNext;
2334 flags = in_struct->flags;
2335 topology = in_struct->topology;
2336 primitiveRestartEnable = in_struct->primitiveRestartEnable;
2337}
2338
2339void safe_VkPipelineInputAssemblyStateCreateInfo::initialize(const safe_VkPipelineInputAssemblyStateCreateInfo* src)
2340{
2341 sType = src->sType;
2342 pNext = src->pNext;
2343 flags = src->flags;
2344 topology = src->topology;
2345 primitiveRestartEnable = src->primitiveRestartEnable;
2346}
2347
2348safe_VkPipelineTessellationStateCreateInfo::safe_VkPipelineTessellationStateCreateInfo(const VkPipelineTessellationStateCreateInfo* in_struct) :
2349 sType(in_struct->sType),
2350 pNext(in_struct->pNext),
2351 flags(in_struct->flags),
2352 patchControlPoints(in_struct->patchControlPoints)
2353{
2354}
2355
2356safe_VkPipelineTessellationStateCreateInfo::safe_VkPipelineTessellationStateCreateInfo()
2357{}
2358
2359safe_VkPipelineTessellationStateCreateInfo::safe_VkPipelineTessellationStateCreateInfo(const safe_VkPipelineTessellationStateCreateInfo& src)
2360{
2361 sType = src.sType;
2362 pNext = src.pNext;
2363 flags = src.flags;
2364 patchControlPoints = src.patchControlPoints;
2365}
2366
2367safe_VkPipelineTessellationStateCreateInfo& safe_VkPipelineTessellationStateCreateInfo::operator=(const safe_VkPipelineTessellationStateCreateInfo& src)
2368{
2369 if (&src == this) return *this;
2370
2371
2372 sType = src.sType;
2373 pNext = src.pNext;
2374 flags = src.flags;
2375 patchControlPoints = src.patchControlPoints;
2376
2377 return *this;
2378}
2379
2380safe_VkPipelineTessellationStateCreateInfo::~safe_VkPipelineTessellationStateCreateInfo()
2381{
2382}
2383
2384void safe_VkPipelineTessellationStateCreateInfo::initialize(const VkPipelineTessellationStateCreateInfo* in_struct)
2385{
2386 sType = in_struct->sType;
2387 pNext = in_struct->pNext;
2388 flags = in_struct->flags;
2389 patchControlPoints = in_struct->patchControlPoints;
2390}
2391
2392void safe_VkPipelineTessellationStateCreateInfo::initialize(const safe_VkPipelineTessellationStateCreateInfo* src)
2393{
2394 sType = src->sType;
2395 pNext = src->pNext;
2396 flags = src->flags;
2397 patchControlPoints = src->patchControlPoints;
2398}
2399
2400safe_VkPipelineViewportStateCreateInfo::safe_VkPipelineViewportStateCreateInfo(const VkPipelineViewportStateCreateInfo* in_struct, const bool is_dynamic_viewports, const bool is_dynamic_scissors) :
2401 sType(in_struct->sType),
2402 pNext(in_struct->pNext),
2403 flags(in_struct->flags),
2404 viewportCount(in_struct->viewportCount),
2405 pViewports(nullptr),
2406 scissorCount(in_struct->scissorCount),
2407 pScissors(nullptr)
2408{
2409 if (in_struct->pViewports && !is_dynamic_viewports) {
2410 pViewports = new VkViewport[in_struct->viewportCount];
2411 memcpy ((void *)pViewports, (void *)in_struct->pViewports, sizeof(VkViewport)*in_struct->viewportCount);
2412 }
2413 else
2414 pViewports = NULL;
2415 if (in_struct->pScissors && !is_dynamic_scissors) {
2416 pScissors = new VkRect2D[in_struct->scissorCount];
2417 memcpy ((void *)pScissors, (void *)in_struct->pScissors, sizeof(VkRect2D)*in_struct->scissorCount);
2418 }
2419 else
2420 pScissors = NULL;
2421}
2422
2423safe_VkPipelineViewportStateCreateInfo::safe_VkPipelineViewportStateCreateInfo() :
2424 pViewports(nullptr),
2425 pScissors(nullptr)
2426{}
2427
2428safe_VkPipelineViewportStateCreateInfo::safe_VkPipelineViewportStateCreateInfo(const safe_VkPipelineViewportStateCreateInfo& src)
2429{
2430 sType = src.sType;
2431 pNext = src.pNext;
2432 flags = src.flags;
2433 viewportCount = src.viewportCount;
2434 pViewports = nullptr;
2435 scissorCount = src.scissorCount;
2436 pScissors = nullptr;
2437 if (src.pViewports) {
2438 pViewports = new VkViewport[src.viewportCount];
2439 memcpy ((void *)pViewports, (void *)src.pViewports, sizeof(VkViewport)*src.viewportCount);
2440 }
2441 else
2442 pViewports = NULL;
2443 if (src.pScissors) {
2444 pScissors = new VkRect2D[src.scissorCount];
2445 memcpy ((void *)pScissors, (void *)src.pScissors, sizeof(VkRect2D)*src.scissorCount);
2446 }
2447 else
2448 pScissors = NULL;
2449}
2450
2451safe_VkPipelineViewportStateCreateInfo& safe_VkPipelineViewportStateCreateInfo::operator=(const safe_VkPipelineViewportStateCreateInfo& src)
2452{
2453 if (&src == this) return *this;
2454
2455 if (pViewports)
2456 delete[] pViewports;
2457 if (pScissors)
2458 delete[] pScissors;
2459
2460 sType = src.sType;
2461 pNext = src.pNext;
2462 flags = src.flags;
2463 viewportCount = src.viewportCount;
2464 pViewports = nullptr;
2465 scissorCount = src.scissorCount;
2466 pScissors = nullptr;
2467 if (src.pViewports) {
2468 pViewports = new VkViewport[src.viewportCount];
2469 memcpy ((void *)pViewports, (void *)src.pViewports, sizeof(VkViewport)*src.viewportCount);
2470 }
2471 else
2472 pViewports = NULL;
2473 if (src.pScissors) {
2474 pScissors = new VkRect2D[src.scissorCount];
2475 memcpy ((void *)pScissors, (void *)src.pScissors, sizeof(VkRect2D)*src.scissorCount);
2476 }
2477 else
2478 pScissors = NULL;
2479
2480 return *this;
2481}
2482
2483safe_VkPipelineViewportStateCreateInfo::~safe_VkPipelineViewportStateCreateInfo()
2484{
2485 if (pViewports)
2486 delete[] pViewports;
2487 if (pScissors)
2488 delete[] pScissors;
2489}
2490
2491void safe_VkPipelineViewportStateCreateInfo::initialize(const VkPipelineViewportStateCreateInfo* in_struct, const bool is_dynamic_viewports, const bool is_dynamic_scissors)
2492{
2493 sType = in_struct->sType;
2494 pNext = in_struct->pNext;
2495 flags = in_struct->flags;
2496 viewportCount = in_struct->viewportCount;
2497 pViewports = nullptr;
2498 scissorCount = in_struct->scissorCount;
2499 pScissors = nullptr;
2500 if (in_struct->pViewports && !is_dynamic_viewports) {
2501 pViewports = new VkViewport[in_struct->viewportCount];
2502 memcpy ((void *)pViewports, (void *)in_struct->pViewports, sizeof(VkViewport)*in_struct->viewportCount);
2503 }
2504 else
2505 pViewports = NULL;
2506 if (in_struct->pScissors && !is_dynamic_scissors) {
2507 pScissors = new VkRect2D[in_struct->scissorCount];
2508 memcpy ((void *)pScissors, (void *)in_struct->pScissors, sizeof(VkRect2D)*in_struct->scissorCount);
2509 }
2510 else
2511 pScissors = NULL;
2512}
2513
2514void safe_VkPipelineViewportStateCreateInfo::initialize(const safe_VkPipelineViewportStateCreateInfo* src)
2515{
2516 sType = src->sType;
2517 pNext = src->pNext;
2518 flags = src->flags;
2519 viewportCount = src->viewportCount;
2520 pViewports = nullptr;
2521 scissorCount = src->scissorCount;
2522 pScissors = nullptr;
2523 if (src->pViewports) {
2524 pViewports = new VkViewport[src->viewportCount];
2525 memcpy ((void *)pViewports, (void *)src->pViewports, sizeof(VkViewport)*src->viewportCount);
2526 }
2527 else
2528 pViewports = NULL;
2529 if (src->pScissors) {
2530 pScissors = new VkRect2D[src->scissorCount];
2531 memcpy ((void *)pScissors, (void *)src->pScissors, sizeof(VkRect2D)*src->scissorCount);
2532 }
2533 else
2534 pScissors = NULL;
2535}
2536
2537safe_VkPipelineRasterizationStateCreateInfo::safe_VkPipelineRasterizationStateCreateInfo(const VkPipelineRasterizationStateCreateInfo* in_struct) :
2538 sType(in_struct->sType),
2539 pNext(in_struct->pNext),
2540 flags(in_struct->flags),
2541 depthClampEnable(in_struct->depthClampEnable),
2542 rasterizerDiscardEnable(in_struct->rasterizerDiscardEnable),
2543 polygonMode(in_struct->polygonMode),
2544 cullMode(in_struct->cullMode),
2545 frontFace(in_struct->frontFace),
2546 depthBiasEnable(in_struct->depthBiasEnable),
2547 depthBiasConstantFactor(in_struct->depthBiasConstantFactor),
2548 depthBiasClamp(in_struct->depthBiasClamp),
2549 depthBiasSlopeFactor(in_struct->depthBiasSlopeFactor),
2550 lineWidth(in_struct->lineWidth)
2551{
2552}
2553
2554safe_VkPipelineRasterizationStateCreateInfo::safe_VkPipelineRasterizationStateCreateInfo()
2555{}
2556
2557safe_VkPipelineRasterizationStateCreateInfo::safe_VkPipelineRasterizationStateCreateInfo(const safe_VkPipelineRasterizationStateCreateInfo& src)
2558{
2559 sType = src.sType;
2560 pNext = src.pNext;
2561 flags = src.flags;
2562 depthClampEnable = src.depthClampEnable;
2563 rasterizerDiscardEnable = src.rasterizerDiscardEnable;
2564 polygonMode = src.polygonMode;
2565 cullMode = src.cullMode;
2566 frontFace = src.frontFace;
2567 depthBiasEnable = src.depthBiasEnable;
2568 depthBiasConstantFactor = src.depthBiasConstantFactor;
2569 depthBiasClamp = src.depthBiasClamp;
2570 depthBiasSlopeFactor = src.depthBiasSlopeFactor;
2571 lineWidth = src.lineWidth;
2572}
2573
2574safe_VkPipelineRasterizationStateCreateInfo& safe_VkPipelineRasterizationStateCreateInfo::operator=(const safe_VkPipelineRasterizationStateCreateInfo& src)
2575{
2576 if (&src == this) return *this;
2577
2578
2579 sType = src.sType;
2580 pNext = src.pNext;
2581 flags = src.flags;
2582 depthClampEnable = src.depthClampEnable;
2583 rasterizerDiscardEnable = src.rasterizerDiscardEnable;
2584 polygonMode = src.polygonMode;
2585 cullMode = src.cullMode;
2586 frontFace = src.frontFace;
2587 depthBiasEnable = src.depthBiasEnable;
2588 depthBiasConstantFactor = src.depthBiasConstantFactor;
2589 depthBiasClamp = src.depthBiasClamp;
2590 depthBiasSlopeFactor = src.depthBiasSlopeFactor;
2591 lineWidth = src.lineWidth;
2592
2593 return *this;
2594}
2595
2596safe_VkPipelineRasterizationStateCreateInfo::~safe_VkPipelineRasterizationStateCreateInfo()
2597{
2598}
2599
2600void safe_VkPipelineRasterizationStateCreateInfo::initialize(const VkPipelineRasterizationStateCreateInfo* in_struct)
2601{
2602 sType = in_struct->sType;
2603 pNext = in_struct->pNext;
2604 flags = in_struct->flags;
2605 depthClampEnable = in_struct->depthClampEnable;
2606 rasterizerDiscardEnable = in_struct->rasterizerDiscardEnable;
2607 polygonMode = in_struct->polygonMode;
2608 cullMode = in_struct->cullMode;
2609 frontFace = in_struct->frontFace;
2610 depthBiasEnable = in_struct->depthBiasEnable;
2611 depthBiasConstantFactor = in_struct->depthBiasConstantFactor;
2612 depthBiasClamp = in_struct->depthBiasClamp;
2613 depthBiasSlopeFactor = in_struct->depthBiasSlopeFactor;
2614 lineWidth = in_struct->lineWidth;
2615}
2616
2617void safe_VkPipelineRasterizationStateCreateInfo::initialize(const safe_VkPipelineRasterizationStateCreateInfo* src)
2618{
2619 sType = src->sType;
2620 pNext = src->pNext;
2621 flags = src->flags;
2622 depthClampEnable = src->depthClampEnable;
2623 rasterizerDiscardEnable = src->rasterizerDiscardEnable;
2624 polygonMode = src->polygonMode;
2625 cullMode = src->cullMode;
2626 frontFace = src->frontFace;
2627 depthBiasEnable = src->depthBiasEnable;
2628 depthBiasConstantFactor = src->depthBiasConstantFactor;
2629 depthBiasClamp = src->depthBiasClamp;
2630 depthBiasSlopeFactor = src->depthBiasSlopeFactor;
2631 lineWidth = src->lineWidth;
2632}
2633
2634safe_VkPipelineMultisampleStateCreateInfo::safe_VkPipelineMultisampleStateCreateInfo(const VkPipelineMultisampleStateCreateInfo* in_struct) :
2635 sType(in_struct->sType),
2636 pNext(in_struct->pNext),
2637 flags(in_struct->flags),
2638 rasterizationSamples(in_struct->rasterizationSamples),
2639 sampleShadingEnable(in_struct->sampleShadingEnable),
2640 minSampleShading(in_struct->minSampleShading),
2641 pSampleMask(nullptr),
2642 alphaToCoverageEnable(in_struct->alphaToCoverageEnable),
2643 alphaToOneEnable(in_struct->alphaToOneEnable)
2644{
2645 if (in_struct->pSampleMask) {
2646 pSampleMask = new VkSampleMask(*in_struct->pSampleMask);
2647 }
2648}
2649
2650safe_VkPipelineMultisampleStateCreateInfo::safe_VkPipelineMultisampleStateCreateInfo() :
2651 pSampleMask(nullptr)
2652{}
2653
2654safe_VkPipelineMultisampleStateCreateInfo::safe_VkPipelineMultisampleStateCreateInfo(const safe_VkPipelineMultisampleStateCreateInfo& src)
2655{
2656 sType = src.sType;
2657 pNext = src.pNext;
2658 flags = src.flags;
2659 rasterizationSamples = src.rasterizationSamples;
2660 sampleShadingEnable = src.sampleShadingEnable;
2661 minSampleShading = src.minSampleShading;
2662 pSampleMask = nullptr;
2663 alphaToCoverageEnable = src.alphaToCoverageEnable;
2664 alphaToOneEnable = src.alphaToOneEnable;
2665 if (src.pSampleMask) {
2666 pSampleMask = new VkSampleMask(*src.pSampleMask);
2667 }
2668}
2669
2670safe_VkPipelineMultisampleStateCreateInfo& safe_VkPipelineMultisampleStateCreateInfo::operator=(const safe_VkPipelineMultisampleStateCreateInfo& src)
2671{
2672 if (&src == this) return *this;
2673
2674 if (pSampleMask)
2675 delete pSampleMask;
2676
2677 sType = src.sType;
2678 pNext = src.pNext;
2679 flags = src.flags;
2680 rasterizationSamples = src.rasterizationSamples;
2681 sampleShadingEnable = src.sampleShadingEnable;
2682 minSampleShading = src.minSampleShading;
2683 pSampleMask = nullptr;
2684 alphaToCoverageEnable = src.alphaToCoverageEnable;
2685 alphaToOneEnable = src.alphaToOneEnable;
2686 if (src.pSampleMask) {
2687 pSampleMask = new VkSampleMask(*src.pSampleMask);
2688 }
2689
2690 return *this;
2691}
2692
2693safe_VkPipelineMultisampleStateCreateInfo::~safe_VkPipelineMultisampleStateCreateInfo()
2694{
2695 if (pSampleMask)
2696 delete pSampleMask;
2697}
2698
2699void safe_VkPipelineMultisampleStateCreateInfo::initialize(const VkPipelineMultisampleStateCreateInfo* in_struct)
2700{
2701 sType = in_struct->sType;
2702 pNext = in_struct->pNext;
2703 flags = in_struct->flags;
2704 rasterizationSamples = in_struct->rasterizationSamples;
2705 sampleShadingEnable = in_struct->sampleShadingEnable;
2706 minSampleShading = in_struct->minSampleShading;
2707 pSampleMask = nullptr;
2708 alphaToCoverageEnable = in_struct->alphaToCoverageEnable;
2709 alphaToOneEnable = in_struct->alphaToOneEnable;
2710 if (in_struct->pSampleMask) {
2711 pSampleMask = new VkSampleMask(*in_struct->pSampleMask);
2712 }
2713}
2714
2715void safe_VkPipelineMultisampleStateCreateInfo::initialize(const safe_VkPipelineMultisampleStateCreateInfo* src)
2716{
2717 sType = src->sType;
2718 pNext = src->pNext;
2719 flags = src->flags;
2720 rasterizationSamples = src->rasterizationSamples;
2721 sampleShadingEnable = src->sampleShadingEnable;
2722 minSampleShading = src->minSampleShading;
2723 pSampleMask = nullptr;
2724 alphaToCoverageEnable = src->alphaToCoverageEnable;
2725 alphaToOneEnable = src->alphaToOneEnable;
2726 if (src->pSampleMask) {
2727 pSampleMask = new VkSampleMask(*src->pSampleMask);
2728 }
2729}
2730
2731safe_VkPipelineDepthStencilStateCreateInfo::safe_VkPipelineDepthStencilStateCreateInfo(const VkPipelineDepthStencilStateCreateInfo* in_struct) :
2732 sType(in_struct->sType),
2733 pNext(in_struct->pNext),
2734 flags(in_struct->flags),
2735 depthTestEnable(in_struct->depthTestEnable),
2736 depthWriteEnable(in_struct->depthWriteEnable),
2737 depthCompareOp(in_struct->depthCompareOp),
2738 depthBoundsTestEnable(in_struct->depthBoundsTestEnable),
2739 stencilTestEnable(in_struct->stencilTestEnable),
2740 front(in_struct->front),
2741 back(in_struct->back),
2742 minDepthBounds(in_struct->minDepthBounds),
2743 maxDepthBounds(in_struct->maxDepthBounds)
2744{
2745}
2746
2747safe_VkPipelineDepthStencilStateCreateInfo::safe_VkPipelineDepthStencilStateCreateInfo()
2748{}
2749
2750safe_VkPipelineDepthStencilStateCreateInfo::safe_VkPipelineDepthStencilStateCreateInfo(const safe_VkPipelineDepthStencilStateCreateInfo& src)
2751{
2752 sType = src.sType;
2753 pNext = src.pNext;
2754 flags = src.flags;
2755 depthTestEnable = src.depthTestEnable;
2756 depthWriteEnable = src.depthWriteEnable;
2757 depthCompareOp = src.depthCompareOp;
2758 depthBoundsTestEnable = src.depthBoundsTestEnable;
2759 stencilTestEnable = src.stencilTestEnable;
2760 front = src.front;
2761 back = src.back;
2762 minDepthBounds = src.minDepthBounds;
2763 maxDepthBounds = src.maxDepthBounds;
2764}
2765
2766safe_VkPipelineDepthStencilStateCreateInfo& safe_VkPipelineDepthStencilStateCreateInfo::operator=(const safe_VkPipelineDepthStencilStateCreateInfo& src)
2767{
2768 if (&src == this) return *this;
2769
2770
2771 sType = src.sType;
2772 pNext = src.pNext;
2773 flags = src.flags;
2774 depthTestEnable = src.depthTestEnable;
2775 depthWriteEnable = src.depthWriteEnable;
2776 depthCompareOp = src.depthCompareOp;
2777 depthBoundsTestEnable = src.depthBoundsTestEnable;
2778 stencilTestEnable = src.stencilTestEnable;
2779 front = src.front;
2780 back = src.back;
2781 minDepthBounds = src.minDepthBounds;
2782 maxDepthBounds = src.maxDepthBounds;
2783
2784 return *this;
2785}
2786
2787safe_VkPipelineDepthStencilStateCreateInfo::~safe_VkPipelineDepthStencilStateCreateInfo()
2788{
2789}
2790
2791void safe_VkPipelineDepthStencilStateCreateInfo::initialize(const VkPipelineDepthStencilStateCreateInfo* in_struct)
2792{
2793 sType = in_struct->sType;
2794 pNext = in_struct->pNext;
2795 flags = in_struct->flags;
2796 depthTestEnable = in_struct->depthTestEnable;
2797 depthWriteEnable = in_struct->depthWriteEnable;
2798 depthCompareOp = in_struct->depthCompareOp;
2799 depthBoundsTestEnable = in_struct->depthBoundsTestEnable;
2800 stencilTestEnable = in_struct->stencilTestEnable;
2801 front = in_struct->front;
2802 back = in_struct->back;
2803 minDepthBounds = in_struct->minDepthBounds;
2804 maxDepthBounds = in_struct->maxDepthBounds;
2805}
2806
2807void safe_VkPipelineDepthStencilStateCreateInfo::initialize(const safe_VkPipelineDepthStencilStateCreateInfo* src)
2808{
2809 sType = src->sType;
2810 pNext = src->pNext;
2811 flags = src->flags;
2812 depthTestEnable = src->depthTestEnable;
2813 depthWriteEnable = src->depthWriteEnable;
2814 depthCompareOp = src->depthCompareOp;
2815 depthBoundsTestEnable = src->depthBoundsTestEnable;
2816 stencilTestEnable = src->stencilTestEnable;
2817 front = src->front;
2818 back = src->back;
2819 minDepthBounds = src->minDepthBounds;
2820 maxDepthBounds = src->maxDepthBounds;
2821}
2822
2823safe_VkPipelineColorBlendStateCreateInfo::safe_VkPipelineColorBlendStateCreateInfo(const VkPipelineColorBlendStateCreateInfo* in_struct) :
2824 sType(in_struct->sType),
2825 pNext(in_struct->pNext),
2826 flags(in_struct->flags),
2827 logicOpEnable(in_struct->logicOpEnable),
2828 logicOp(in_struct->logicOp),
2829 attachmentCount(in_struct->attachmentCount),
2830 pAttachments(nullptr)
2831{
2832 if (in_struct->pAttachments) {
2833 pAttachments = new VkPipelineColorBlendAttachmentState[in_struct->attachmentCount];
2834 memcpy ((void *)pAttachments, (void *)in_struct->pAttachments, sizeof(VkPipelineColorBlendAttachmentState)*in_struct->attachmentCount);
2835 }
2836 for (uint32_t i=0; i<4; ++i) {
2837 blendConstants[i] = in_struct->blendConstants[i];
2838 }
2839}
2840
2841safe_VkPipelineColorBlendStateCreateInfo::safe_VkPipelineColorBlendStateCreateInfo() :
2842 pAttachments(nullptr)
2843{}
2844
2845safe_VkPipelineColorBlendStateCreateInfo::safe_VkPipelineColorBlendStateCreateInfo(const safe_VkPipelineColorBlendStateCreateInfo& src)
2846{
2847 sType = src.sType;
2848 pNext = src.pNext;
2849 flags = src.flags;
2850 logicOpEnable = src.logicOpEnable;
2851 logicOp = src.logicOp;
2852 attachmentCount = src.attachmentCount;
2853 pAttachments = nullptr;
2854 if (src.pAttachments) {
2855 pAttachments = new VkPipelineColorBlendAttachmentState[src.attachmentCount];
2856 memcpy ((void *)pAttachments, (void *)src.pAttachments, sizeof(VkPipelineColorBlendAttachmentState)*src.attachmentCount);
2857 }
2858 for (uint32_t i=0; i<4; ++i) {
2859 blendConstants[i] = src.blendConstants[i];
2860 }
2861}
2862
2863safe_VkPipelineColorBlendStateCreateInfo& safe_VkPipelineColorBlendStateCreateInfo::operator=(const safe_VkPipelineColorBlendStateCreateInfo& src)
2864{
2865 if (&src == this) return *this;
2866
2867 if (pAttachments)
2868 delete[] pAttachments;
2869
2870 sType = src.sType;
2871 pNext = src.pNext;
2872 flags = src.flags;
2873 logicOpEnable = src.logicOpEnable;
2874 logicOp = src.logicOp;
2875 attachmentCount = src.attachmentCount;
2876 pAttachments = nullptr;
2877 if (src.pAttachments) {
2878 pAttachments = new VkPipelineColorBlendAttachmentState[src.attachmentCount];
2879 memcpy ((void *)pAttachments, (void *)src.pAttachments, sizeof(VkPipelineColorBlendAttachmentState)*src.attachmentCount);
2880 }
2881 for (uint32_t i=0; i<4; ++i) {
2882 blendConstants[i] = src.blendConstants[i];
2883 }
2884
2885 return *this;
2886}
2887
2888safe_VkPipelineColorBlendStateCreateInfo::~safe_VkPipelineColorBlendStateCreateInfo()
2889{
2890 if (pAttachments)
2891 delete[] pAttachments;
2892}
2893
2894void safe_VkPipelineColorBlendStateCreateInfo::initialize(const VkPipelineColorBlendStateCreateInfo* in_struct)
2895{
2896 sType = in_struct->sType;
2897 pNext = in_struct->pNext;
2898 flags = in_struct->flags;
2899 logicOpEnable = in_struct->logicOpEnable;
2900 logicOp = in_struct->logicOp;
2901 attachmentCount = in_struct->attachmentCount;
2902 pAttachments = nullptr;
2903 if (in_struct->pAttachments) {
2904 pAttachments = new VkPipelineColorBlendAttachmentState[in_struct->attachmentCount];
2905 memcpy ((void *)pAttachments, (void *)in_struct->pAttachments, sizeof(VkPipelineColorBlendAttachmentState)*in_struct->attachmentCount);
2906 }
2907 for (uint32_t i=0; i<4; ++i) {
2908 blendConstants[i] = in_struct->blendConstants[i];
2909 }
2910}
2911
2912void safe_VkPipelineColorBlendStateCreateInfo::initialize(const safe_VkPipelineColorBlendStateCreateInfo* src)
2913{
2914 sType = src->sType;
2915 pNext = src->pNext;
2916 flags = src->flags;
2917 logicOpEnable = src->logicOpEnable;
2918 logicOp = src->logicOp;
2919 attachmentCount = src->attachmentCount;
2920 pAttachments = nullptr;
2921 if (src->pAttachments) {
2922 pAttachments = new VkPipelineColorBlendAttachmentState[src->attachmentCount];
2923 memcpy ((void *)pAttachments, (void *)src->pAttachments, sizeof(VkPipelineColorBlendAttachmentState)*src->attachmentCount);
2924 }
2925 for (uint32_t i=0; i<4; ++i) {
2926 blendConstants[i] = src->blendConstants[i];
2927 }
2928}
2929
2930safe_VkPipelineDynamicStateCreateInfo::safe_VkPipelineDynamicStateCreateInfo(const VkPipelineDynamicStateCreateInfo* in_struct) :
2931 sType(in_struct->sType),
2932 pNext(in_struct->pNext),
2933 flags(in_struct->flags),
2934 dynamicStateCount(in_struct->dynamicStateCount),
2935 pDynamicStates(nullptr)
2936{
2937 if (in_struct->pDynamicStates) {
2938 pDynamicStates = new VkDynamicState[in_struct->dynamicStateCount];
2939 memcpy ((void *)pDynamicStates, (void *)in_struct->pDynamicStates, sizeof(VkDynamicState)*in_struct->dynamicStateCount);
2940 }
2941}
2942
2943safe_VkPipelineDynamicStateCreateInfo::safe_VkPipelineDynamicStateCreateInfo() :
2944 pDynamicStates(nullptr)
2945{}
2946
2947safe_VkPipelineDynamicStateCreateInfo::safe_VkPipelineDynamicStateCreateInfo(const safe_VkPipelineDynamicStateCreateInfo& src)
2948{
2949 sType = src.sType;
2950 pNext = src.pNext;
2951 flags = src.flags;
2952 dynamicStateCount = src.dynamicStateCount;
2953 pDynamicStates = nullptr;
2954 if (src.pDynamicStates) {
2955 pDynamicStates = new VkDynamicState[src.dynamicStateCount];
2956 memcpy ((void *)pDynamicStates, (void *)src.pDynamicStates, sizeof(VkDynamicState)*src.dynamicStateCount);
2957 }
2958}
2959
2960safe_VkPipelineDynamicStateCreateInfo& safe_VkPipelineDynamicStateCreateInfo::operator=(const safe_VkPipelineDynamicStateCreateInfo& src)
2961{
2962 if (&src == this) return *this;
2963
2964 if (pDynamicStates)
2965 delete[] pDynamicStates;
2966
2967 sType = src.sType;
2968 pNext = src.pNext;
2969 flags = src.flags;
2970 dynamicStateCount = src.dynamicStateCount;
2971 pDynamicStates = nullptr;
2972 if (src.pDynamicStates) {
2973 pDynamicStates = new VkDynamicState[src.dynamicStateCount];
2974 memcpy ((void *)pDynamicStates, (void *)src.pDynamicStates, sizeof(VkDynamicState)*src.dynamicStateCount);
2975 }
2976
2977 return *this;
2978}
2979
2980safe_VkPipelineDynamicStateCreateInfo::~safe_VkPipelineDynamicStateCreateInfo()
2981{
2982 if (pDynamicStates)
2983 delete[] pDynamicStates;
2984}
2985
2986void safe_VkPipelineDynamicStateCreateInfo::initialize(const VkPipelineDynamicStateCreateInfo* in_struct)
2987{
2988 sType = in_struct->sType;
2989 pNext = in_struct->pNext;
2990 flags = in_struct->flags;
2991 dynamicStateCount = in_struct->dynamicStateCount;
2992 pDynamicStates = nullptr;
2993 if (in_struct->pDynamicStates) {
2994 pDynamicStates = new VkDynamicState[in_struct->dynamicStateCount];
2995 memcpy ((void *)pDynamicStates, (void *)in_struct->pDynamicStates, sizeof(VkDynamicState)*in_struct->dynamicStateCount);
2996 }
2997}
2998
2999void safe_VkPipelineDynamicStateCreateInfo::initialize(const safe_VkPipelineDynamicStateCreateInfo* src)
3000{
3001 sType = src->sType;
3002 pNext = src->pNext;
3003 flags = src->flags;
3004 dynamicStateCount = src->dynamicStateCount;
3005 pDynamicStates = nullptr;
3006 if (src->pDynamicStates) {
3007 pDynamicStates = new VkDynamicState[src->dynamicStateCount];
3008 memcpy ((void *)pDynamicStates, (void *)src->pDynamicStates, sizeof(VkDynamicState)*src->dynamicStateCount);
3009 }
3010}
3011
3012safe_VkGraphicsPipelineCreateInfo::safe_VkGraphicsPipelineCreateInfo(const VkGraphicsPipelineCreateInfo* in_struct, const bool uses_color_attachment, const bool uses_depthstencil_attachment) :
3013 sType(in_struct->sType),
3014 pNext(in_struct->pNext),
3015 flags(in_struct->flags),
3016 stageCount(in_struct->stageCount),
3017 pStages(nullptr),
3018 layout(in_struct->layout),
3019 renderPass(in_struct->renderPass),
3020 subpass(in_struct->subpass),
3021 basePipelineHandle(in_struct->basePipelineHandle),
3022 basePipelineIndex(in_struct->basePipelineIndex)
3023{
3024 if (stageCount && in_struct->pStages) {
3025 pStages = new safe_VkPipelineShaderStageCreateInfo[stageCount];
3026 for (uint32_t i=0; i<stageCount; ++i) {
3027 pStages[i].initialize(&in_struct->pStages[i]);
3028 }
3029 }
3030 if (in_struct->pVertexInputState)
3031 pVertexInputState = new safe_VkPipelineVertexInputStateCreateInfo(in_struct->pVertexInputState);
3032 else
3033 pVertexInputState = NULL;
3034 if (in_struct->pInputAssemblyState)
3035 pInputAssemblyState = new safe_VkPipelineInputAssemblyStateCreateInfo(in_struct->pInputAssemblyState);
3036 else
3037 pInputAssemblyState = NULL;
3038 bool has_tessellation_stage = false;
3039 if (stageCount && pStages)
3040 for (uint32_t i=0; i<stageCount && !has_tessellation_stage; ++i)
3041 if (pStages[i].stage == VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT || pStages[i].stage == VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT)
3042 has_tessellation_stage = true;
3043 if (in_struct->pTessellationState && has_tessellation_stage)
3044 pTessellationState = new safe_VkPipelineTessellationStateCreateInfo(in_struct->pTessellationState);
3045 else
3046 pTessellationState = NULL; // original pTessellationState pointer ignored
3047 bool has_rasterization = in_struct->pRasterizationState ? !in_struct->pRasterizationState->rasterizerDiscardEnable : false;
3048 if (in_struct->pViewportState && has_rasterization) {
3049 bool is_dynamic_viewports = false;
3050 bool is_dynamic_scissors = false;
3051 if (in_struct->pDynamicState && in_struct->pDynamicState->pDynamicStates) {
3052 for (uint32_t i = 0; i < in_struct->pDynamicState->dynamicStateCount && !is_dynamic_viewports; ++i)
3053 if (in_struct->pDynamicState->pDynamicStates[i] == VK_DYNAMIC_STATE_VIEWPORT)
3054 is_dynamic_viewports = true;
3055 for (uint32_t i = 0; i < in_struct->pDynamicState->dynamicStateCount && !is_dynamic_scissors; ++i)
3056 if (in_struct->pDynamicState->pDynamicStates[i] == VK_DYNAMIC_STATE_SCISSOR)
3057 is_dynamic_scissors = true;
3058 }
3059 pViewportState = new safe_VkPipelineViewportStateCreateInfo(in_struct->pViewportState, is_dynamic_viewports, is_dynamic_scissors);
3060 } else
3061 pViewportState = NULL; // original pViewportState pointer ignored
3062 if (in_struct->pRasterizationState)
3063 pRasterizationState = new safe_VkPipelineRasterizationStateCreateInfo(in_struct->pRasterizationState);
3064 else
3065 pRasterizationState = NULL;
3066 if (in_struct->pMultisampleState && has_rasterization)
3067 pMultisampleState = new safe_VkPipelineMultisampleStateCreateInfo(in_struct->pMultisampleState);
3068 else
3069 pMultisampleState = NULL; // original pMultisampleState pointer ignored
3070 // needs a tracked subpass state uses_depthstencil_attachment
3071 if (in_struct->pDepthStencilState && has_rasterization && uses_depthstencil_attachment)
3072 pDepthStencilState = new safe_VkPipelineDepthStencilStateCreateInfo(in_struct->pDepthStencilState);
3073 else
3074 pDepthStencilState = NULL; // original pDepthStencilState pointer ignored
3075 // needs a tracked subpass state usesColorAttachment
3076 if (in_struct->pColorBlendState && has_rasterization && uses_color_attachment)
3077 pColorBlendState = new safe_VkPipelineColorBlendStateCreateInfo(in_struct->pColorBlendState);
3078 else
3079 pColorBlendState = NULL; // original pColorBlendState pointer ignored
3080 if (in_struct->pDynamicState)
3081 pDynamicState = new safe_VkPipelineDynamicStateCreateInfo(in_struct->pDynamicState);
3082 else
3083 pDynamicState = NULL;
3084}
3085
3086safe_VkGraphicsPipelineCreateInfo::safe_VkGraphicsPipelineCreateInfo() :
3087 pStages(nullptr)
3088{}
3089
3090safe_VkGraphicsPipelineCreateInfo::safe_VkGraphicsPipelineCreateInfo(const safe_VkGraphicsPipelineCreateInfo& src)
3091{
3092 sType = src.sType;
3093 pNext = src.pNext;
3094 flags = src.flags;
3095 stageCount = src.stageCount;
3096 pStages = nullptr;
3097 layout = src.layout;
3098 renderPass = src.renderPass;
3099 subpass = src.subpass;
3100 basePipelineHandle = src.basePipelineHandle;
3101 basePipelineIndex = src.basePipelineIndex;
3102 if (stageCount && src.pStages) {
3103 pStages = new safe_VkPipelineShaderStageCreateInfo[stageCount];
3104 for (uint32_t i=0; i<stageCount; ++i) {
3105 pStages[i].initialize(&src.pStages[i]);
3106 }
3107 }
3108 if (src.pVertexInputState)
3109 pVertexInputState = new safe_VkPipelineVertexInputStateCreateInfo(*src.pVertexInputState);
3110 else
3111 pVertexInputState = NULL;
3112 if (src.pInputAssemblyState)
3113 pInputAssemblyState = new safe_VkPipelineInputAssemblyStateCreateInfo(*src.pInputAssemblyState);
3114 else
3115 pInputAssemblyState = NULL;
3116 bool has_tessellation_stage = false;
3117 if (stageCount && pStages)
3118 for (uint32_t i=0; i<stageCount && !has_tessellation_stage; ++i)
3119 if (pStages[i].stage == VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT || pStages[i].stage == VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT)
3120 has_tessellation_stage = true;
3121 if (src.pTessellationState && has_tessellation_stage)
3122 pTessellationState = new safe_VkPipelineTessellationStateCreateInfo(*src.pTessellationState);
3123 else
3124 pTessellationState = NULL; // original pTessellationState pointer ignored
3125 bool has_rasterization = src.pRasterizationState ? !src.pRasterizationState->rasterizerDiscardEnable : false;
3126 if (src.pViewportState && has_rasterization) {
3127 pViewportState = new safe_VkPipelineViewportStateCreateInfo(*src.pViewportState);
3128 } else
3129 pViewportState = NULL; // original pViewportState pointer ignored
3130 if (src.pRasterizationState)
3131 pRasterizationState = new safe_VkPipelineRasterizationStateCreateInfo(*src.pRasterizationState);
3132 else
3133 pRasterizationState = NULL;
3134 if (src.pMultisampleState && has_rasterization)
3135 pMultisampleState = new safe_VkPipelineMultisampleStateCreateInfo(*src.pMultisampleState);
3136 else
3137 pMultisampleState = NULL; // original pMultisampleState pointer ignored
3138 if (src.pDepthStencilState && has_rasterization)
3139 pDepthStencilState = new safe_VkPipelineDepthStencilStateCreateInfo(*src.pDepthStencilState);
3140 else
3141 pDepthStencilState = NULL; // original pDepthStencilState pointer ignored
3142 if (src.pColorBlendState && has_rasterization)
3143 pColorBlendState = new safe_VkPipelineColorBlendStateCreateInfo(*src.pColorBlendState);
3144 else
3145 pColorBlendState = NULL; // original pColorBlendState pointer ignored
3146 if (src.pDynamicState)
3147 pDynamicState = new safe_VkPipelineDynamicStateCreateInfo(*src.pDynamicState);
3148 else
3149 pDynamicState = NULL;
3150}
3151
3152safe_VkGraphicsPipelineCreateInfo& safe_VkGraphicsPipelineCreateInfo::operator=(const safe_VkGraphicsPipelineCreateInfo& src)
3153{
3154 if (&src == this) return *this;
3155
3156 if (pStages)
3157 delete[] pStages;
3158 if (pVertexInputState)
3159 delete pVertexInputState;
3160 if (pInputAssemblyState)
3161 delete pInputAssemblyState;
3162 if (pTessellationState)
3163 delete pTessellationState;
3164 if (pViewportState)
3165 delete pViewportState;
3166 if (pRasterizationState)
3167 delete pRasterizationState;
3168 if (pMultisampleState)
3169 delete pMultisampleState;
3170 if (pDepthStencilState)
3171 delete pDepthStencilState;
3172 if (pColorBlendState)
3173 delete pColorBlendState;
3174 if (pDynamicState)
3175 delete pDynamicState;
3176
3177 sType = src.sType;
3178 pNext = src.pNext;
3179 flags = src.flags;
3180 stageCount = src.stageCount;
3181 pStages = nullptr;
3182 layout = src.layout;
3183 renderPass = src.renderPass;
3184 subpass = src.subpass;
3185 basePipelineHandle = src.basePipelineHandle;
3186 basePipelineIndex = src.basePipelineIndex;
3187 if (stageCount && src.pStages) {
3188 pStages = new safe_VkPipelineShaderStageCreateInfo[stageCount];
3189 for (uint32_t i=0; i<stageCount; ++i) {
3190 pStages[i].initialize(&src.pStages[i]);
3191 }
3192 }
3193 if (src.pVertexInputState)
3194 pVertexInputState = new safe_VkPipelineVertexInputStateCreateInfo(*src.pVertexInputState);
3195 else
3196 pVertexInputState = NULL;
3197 if (src.pInputAssemblyState)
3198 pInputAssemblyState = new safe_VkPipelineInputAssemblyStateCreateInfo(*src.pInputAssemblyState);
3199 else
3200 pInputAssemblyState = NULL;
3201 bool has_tessellation_stage = false;
3202 if (stageCount && pStages)
3203 for (uint32_t i=0; i<stageCount && !has_tessellation_stage; ++i)
3204 if (pStages[i].stage == VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT || pStages[i].stage == VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT)
3205 has_tessellation_stage = true;
3206 if (src.pTessellationState && has_tessellation_stage)
3207 pTessellationState = new safe_VkPipelineTessellationStateCreateInfo(*src.pTessellationState);
3208 else
3209 pTessellationState = NULL; // original pTessellationState pointer ignored
3210 bool has_rasterization = src.pRasterizationState ? !src.pRasterizationState->rasterizerDiscardEnable : false;
3211 if (src.pViewportState && has_rasterization) {
3212 pViewportState = new safe_VkPipelineViewportStateCreateInfo(*src.pViewportState);
3213 } else
3214 pViewportState = NULL; // original pViewportState pointer ignored
3215 if (src.pRasterizationState)
3216 pRasterizationState = new safe_VkPipelineRasterizationStateCreateInfo(*src.pRasterizationState);
3217 else
3218 pRasterizationState = NULL;
3219 if (src.pMultisampleState && has_rasterization)
3220 pMultisampleState = new safe_VkPipelineMultisampleStateCreateInfo(*src.pMultisampleState);
3221 else
3222 pMultisampleState = NULL; // original pMultisampleState pointer ignored
3223 if (src.pDepthStencilState && has_rasterization)
3224 pDepthStencilState = new safe_VkPipelineDepthStencilStateCreateInfo(*src.pDepthStencilState);
3225 else
3226 pDepthStencilState = NULL; // original pDepthStencilState pointer ignored
3227 if (src.pColorBlendState && has_rasterization)
3228 pColorBlendState = new safe_VkPipelineColorBlendStateCreateInfo(*src.pColorBlendState);
3229 else
3230 pColorBlendState = NULL; // original pColorBlendState pointer ignored
3231 if (src.pDynamicState)
3232 pDynamicState = new safe_VkPipelineDynamicStateCreateInfo(*src.pDynamicState);
3233 else
3234 pDynamicState = NULL;
3235
3236 return *this;
3237}
3238
3239safe_VkGraphicsPipelineCreateInfo::~safe_VkGraphicsPipelineCreateInfo()
3240{
3241 if (pStages)
3242 delete[] pStages;
3243 if (pVertexInputState)
3244 delete pVertexInputState;
3245 if (pInputAssemblyState)
3246 delete pInputAssemblyState;
3247 if (pTessellationState)
3248 delete pTessellationState;
3249 if (pViewportState)
3250 delete pViewportState;
3251 if (pRasterizationState)
3252 delete pRasterizationState;
3253 if (pMultisampleState)
3254 delete pMultisampleState;
3255 if (pDepthStencilState)
3256 delete pDepthStencilState;
3257 if (pColorBlendState)
3258 delete pColorBlendState;
3259 if (pDynamicState)
3260 delete pDynamicState;
3261}
3262
3263void safe_VkGraphicsPipelineCreateInfo::initialize(const VkGraphicsPipelineCreateInfo* in_struct, const bool uses_color_attachment, const bool uses_depthstencil_attachment)
3264{
3265 sType = in_struct->sType;
3266 pNext = in_struct->pNext;
3267 flags = in_struct->flags;
3268 stageCount = in_struct->stageCount;
3269 pStages = nullptr;
3270 layout = in_struct->layout;
3271 renderPass = in_struct->renderPass;
3272 subpass = in_struct->subpass;
3273 basePipelineHandle = in_struct->basePipelineHandle;
3274 basePipelineIndex = in_struct->basePipelineIndex;
3275 if (stageCount && in_struct->pStages) {
3276 pStages = new safe_VkPipelineShaderStageCreateInfo[stageCount];
3277 for (uint32_t i=0; i<stageCount; ++i) {
3278 pStages[i].initialize(&in_struct->pStages[i]);
3279 }
3280 }
3281 if (in_struct->pVertexInputState)
3282 pVertexInputState = new safe_VkPipelineVertexInputStateCreateInfo(in_struct->pVertexInputState);
3283 else
3284 pVertexInputState = NULL;
3285 if (in_struct->pInputAssemblyState)
3286 pInputAssemblyState = new safe_VkPipelineInputAssemblyStateCreateInfo(in_struct->pInputAssemblyState);
3287 else
3288 pInputAssemblyState = NULL;
3289 bool has_tessellation_stage = false;
3290 if (stageCount && pStages)
3291 for (uint32_t i=0; i<stageCount && !has_tessellation_stage; ++i)
3292 if (pStages[i].stage == VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT || pStages[i].stage == VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT)
3293 has_tessellation_stage = true;
3294 if (in_struct->pTessellationState && has_tessellation_stage)
3295 pTessellationState = new safe_VkPipelineTessellationStateCreateInfo(in_struct->pTessellationState);
3296 else
3297 pTessellationState = NULL; // original pTessellationState pointer ignored
3298 bool has_rasterization = in_struct->pRasterizationState ? !in_struct->pRasterizationState->rasterizerDiscardEnable : false;
3299 if (in_struct->pViewportState && has_rasterization) {
3300 bool is_dynamic_viewports = false;
3301 bool is_dynamic_scissors = false;
3302 if (in_struct->pDynamicState && in_struct->pDynamicState->pDynamicStates) {
3303 for (uint32_t i = 0; i < in_struct->pDynamicState->dynamicStateCount && !is_dynamic_viewports; ++i)
3304 if (in_struct->pDynamicState->pDynamicStates[i] == VK_DYNAMIC_STATE_VIEWPORT)
3305 is_dynamic_viewports = true;
3306 for (uint32_t i = 0; i < in_struct->pDynamicState->dynamicStateCount && !is_dynamic_scissors; ++i)
3307 if (in_struct->pDynamicState->pDynamicStates[i] == VK_DYNAMIC_STATE_SCISSOR)
3308 is_dynamic_scissors = true;
3309 }
3310 pViewportState = new safe_VkPipelineViewportStateCreateInfo(in_struct->pViewportState, is_dynamic_viewports, is_dynamic_scissors);
3311 } else
3312 pViewportState = NULL; // original pViewportState pointer ignored
3313 if (in_struct->pRasterizationState)
3314 pRasterizationState = new safe_VkPipelineRasterizationStateCreateInfo(in_struct->pRasterizationState);
3315 else
3316 pRasterizationState = NULL;
3317 if (in_struct->pMultisampleState && has_rasterization)
3318 pMultisampleState = new safe_VkPipelineMultisampleStateCreateInfo(in_struct->pMultisampleState);
3319 else
3320 pMultisampleState = NULL; // original pMultisampleState pointer ignored
3321 // needs a tracked subpass state uses_depthstencil_attachment
3322 if (in_struct->pDepthStencilState && has_rasterization && uses_depthstencil_attachment)
3323 pDepthStencilState = new safe_VkPipelineDepthStencilStateCreateInfo(in_struct->pDepthStencilState);
3324 else
3325 pDepthStencilState = NULL; // original pDepthStencilState pointer ignored
3326 // needs a tracked subpass state usesColorAttachment
3327 if (in_struct->pColorBlendState && has_rasterization && uses_color_attachment)
3328 pColorBlendState = new safe_VkPipelineColorBlendStateCreateInfo(in_struct->pColorBlendState);
3329 else
3330 pColorBlendState = NULL; // original pColorBlendState pointer ignored
3331 if (in_struct->pDynamicState)
3332 pDynamicState = new safe_VkPipelineDynamicStateCreateInfo(in_struct->pDynamicState);
3333 else
3334 pDynamicState = NULL;
3335}
3336
3337void safe_VkGraphicsPipelineCreateInfo::initialize(const safe_VkGraphicsPipelineCreateInfo* src)
3338{
3339 sType = src->sType;
3340 pNext = src->pNext;
3341 flags = src->flags;
3342 stageCount = src->stageCount;
3343 pStages = nullptr;
3344 layout = src->layout;
3345 renderPass = src->renderPass;
3346 subpass = src->subpass;
3347 basePipelineHandle = src->basePipelineHandle;
3348 basePipelineIndex = src->basePipelineIndex;
3349 if (stageCount && src->pStages) {
3350 pStages = new safe_VkPipelineShaderStageCreateInfo[stageCount];
3351 for (uint32_t i=0; i<stageCount; ++i) {
3352 pStages[i].initialize(&src->pStages[i]);
3353 }
3354 }
3355 if (src->pVertexInputState)
3356 pVertexInputState = new safe_VkPipelineVertexInputStateCreateInfo(*src->pVertexInputState);
3357 else
3358 pVertexInputState = NULL;
3359 if (src->pInputAssemblyState)
3360 pInputAssemblyState = new safe_VkPipelineInputAssemblyStateCreateInfo(*src->pInputAssemblyState);
3361 else
3362 pInputAssemblyState = NULL;
3363 bool has_tessellation_stage = false;
3364 if (stageCount && pStages)
3365 for (uint32_t i=0; i<stageCount && !has_tessellation_stage; ++i)
3366 if (pStages[i].stage == VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT || pStages[i].stage == VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT)
3367 has_tessellation_stage = true;
3368 if (src->pTessellationState && has_tessellation_stage)
3369 pTessellationState = new safe_VkPipelineTessellationStateCreateInfo(*src->pTessellationState);
3370 else
3371 pTessellationState = NULL; // original pTessellationState pointer ignored
3372 bool has_rasterization = src->pRasterizationState ? !src->pRasterizationState->rasterizerDiscardEnable : false;
3373 if (src->pViewportState && has_rasterization) {
3374 pViewportState = new safe_VkPipelineViewportStateCreateInfo(*src->pViewportState);
3375 } else
3376 pViewportState = NULL; // original pViewportState pointer ignored
3377 if (src->pRasterizationState)
3378 pRasterizationState = new safe_VkPipelineRasterizationStateCreateInfo(*src->pRasterizationState);
3379 else
3380 pRasterizationState = NULL;
3381 if (src->pMultisampleState && has_rasterization)
3382 pMultisampleState = new safe_VkPipelineMultisampleStateCreateInfo(*src->pMultisampleState);
3383 else
3384 pMultisampleState = NULL; // original pMultisampleState pointer ignored
3385 if (src->pDepthStencilState && has_rasterization)
3386 pDepthStencilState = new safe_VkPipelineDepthStencilStateCreateInfo(*src->pDepthStencilState);
3387 else
3388 pDepthStencilState = NULL; // original pDepthStencilState pointer ignored
3389 if (src->pColorBlendState && has_rasterization)
3390 pColorBlendState = new safe_VkPipelineColorBlendStateCreateInfo(*src->pColorBlendState);
3391 else
3392 pColorBlendState = NULL; // original pColorBlendState pointer ignored
3393 if (src->pDynamicState)
3394 pDynamicState = new safe_VkPipelineDynamicStateCreateInfo(*src->pDynamicState);
3395 else
3396 pDynamicState = NULL;
3397}
3398
3399safe_VkComputePipelineCreateInfo::safe_VkComputePipelineCreateInfo(const VkComputePipelineCreateInfo* in_struct) :
3400 sType(in_struct->sType),
3401 pNext(in_struct->pNext),
3402 flags(in_struct->flags),
3403 stage(&in_struct->stage),
3404 layout(in_struct->layout),
3405 basePipelineHandle(in_struct->basePipelineHandle),
3406 basePipelineIndex(in_struct->basePipelineIndex)
3407{
3408}
3409
3410safe_VkComputePipelineCreateInfo::safe_VkComputePipelineCreateInfo()
3411{}
3412
3413safe_VkComputePipelineCreateInfo::safe_VkComputePipelineCreateInfo(const safe_VkComputePipelineCreateInfo& src)
3414{
3415 sType = src.sType;
3416 pNext = src.pNext;
3417 flags = src.flags;
3418 stage.initialize(&src.stage);
3419 layout = src.layout;
3420 basePipelineHandle = src.basePipelineHandle;
3421 basePipelineIndex = src.basePipelineIndex;
3422}
3423
3424safe_VkComputePipelineCreateInfo& safe_VkComputePipelineCreateInfo::operator=(const safe_VkComputePipelineCreateInfo& src)
3425{
3426 if (&src == this) return *this;
3427
3428
3429 sType = src.sType;
3430 pNext = src.pNext;
3431 flags = src.flags;
3432 stage.initialize(&src.stage);
3433 layout = src.layout;
3434 basePipelineHandle = src.basePipelineHandle;
3435 basePipelineIndex = src.basePipelineIndex;
3436
3437 return *this;
3438}
3439
3440safe_VkComputePipelineCreateInfo::~safe_VkComputePipelineCreateInfo()
3441{
3442}
3443
3444void safe_VkComputePipelineCreateInfo::initialize(const VkComputePipelineCreateInfo* in_struct)
3445{
3446 sType = in_struct->sType;
3447 pNext = in_struct->pNext;
3448 flags = in_struct->flags;
3449 stage.initialize(&in_struct->stage);
3450 layout = in_struct->layout;
3451 basePipelineHandle = in_struct->basePipelineHandle;
3452 basePipelineIndex = in_struct->basePipelineIndex;
3453}
3454
3455void safe_VkComputePipelineCreateInfo::initialize(const safe_VkComputePipelineCreateInfo* src)
3456{
3457 sType = src->sType;
3458 pNext = src->pNext;
3459 flags = src->flags;
3460 stage.initialize(&src->stage);
3461 layout = src->layout;
3462 basePipelineHandle = src->basePipelineHandle;
3463 basePipelineIndex = src->basePipelineIndex;
3464}
3465
3466safe_VkPipelineLayoutCreateInfo::safe_VkPipelineLayoutCreateInfo(const VkPipelineLayoutCreateInfo* in_struct) :
3467 sType(in_struct->sType),
3468 pNext(in_struct->pNext),
3469 flags(in_struct->flags),
3470 setLayoutCount(in_struct->setLayoutCount),
3471 pSetLayouts(nullptr),
3472 pushConstantRangeCount(in_struct->pushConstantRangeCount),
3473 pPushConstantRanges(nullptr)
3474{
3475 if (setLayoutCount && in_struct->pSetLayouts) {
3476 pSetLayouts = new VkDescriptorSetLayout[setLayoutCount];
3477 for (uint32_t i=0; i<setLayoutCount; ++i) {
3478 pSetLayouts[i] = in_struct->pSetLayouts[i];
3479 }
3480 }
3481 if (in_struct->pPushConstantRanges) {
3482 pPushConstantRanges = new VkPushConstantRange[in_struct->pushConstantRangeCount];
3483 memcpy ((void *)pPushConstantRanges, (void *)in_struct->pPushConstantRanges, sizeof(VkPushConstantRange)*in_struct->pushConstantRangeCount);
3484 }
3485}
3486
3487safe_VkPipelineLayoutCreateInfo::safe_VkPipelineLayoutCreateInfo() :
3488 pSetLayouts(nullptr),
3489 pPushConstantRanges(nullptr)
3490{}
3491
3492safe_VkPipelineLayoutCreateInfo::safe_VkPipelineLayoutCreateInfo(const safe_VkPipelineLayoutCreateInfo& src)
3493{
3494 sType = src.sType;
3495 pNext = src.pNext;
3496 flags = src.flags;
3497 setLayoutCount = src.setLayoutCount;
3498 pSetLayouts = nullptr;
3499 pushConstantRangeCount = src.pushConstantRangeCount;
3500 pPushConstantRanges = nullptr;
3501 if (setLayoutCount && src.pSetLayouts) {
3502 pSetLayouts = new VkDescriptorSetLayout[setLayoutCount];
3503 for (uint32_t i=0; i<setLayoutCount; ++i) {
3504 pSetLayouts[i] = src.pSetLayouts[i];
3505 }
3506 }
3507 if (src.pPushConstantRanges) {
3508 pPushConstantRanges = new VkPushConstantRange[src.pushConstantRangeCount];
3509 memcpy ((void *)pPushConstantRanges, (void *)src.pPushConstantRanges, sizeof(VkPushConstantRange)*src.pushConstantRangeCount);
3510 }
3511}
3512
3513safe_VkPipelineLayoutCreateInfo& safe_VkPipelineLayoutCreateInfo::operator=(const safe_VkPipelineLayoutCreateInfo& src)
3514{
3515 if (&src == this) return *this;
3516
3517 if (pSetLayouts)
3518 delete[] pSetLayouts;
3519 if (pPushConstantRanges)
3520 delete[] pPushConstantRanges;
3521
3522 sType = src.sType;
3523 pNext = src.pNext;
3524 flags = src.flags;
3525 setLayoutCount = src.setLayoutCount;
3526 pSetLayouts = nullptr;
3527 pushConstantRangeCount = src.pushConstantRangeCount;
3528 pPushConstantRanges = nullptr;
3529 if (setLayoutCount && src.pSetLayouts) {
3530 pSetLayouts = new VkDescriptorSetLayout[setLayoutCount];
3531 for (uint32_t i=0; i<setLayoutCount; ++i) {
3532 pSetLayouts[i] = src.pSetLayouts[i];
3533 }
3534 }
3535 if (src.pPushConstantRanges) {
3536 pPushConstantRanges = new VkPushConstantRange[src.pushConstantRangeCount];
3537 memcpy ((void *)pPushConstantRanges, (void *)src.pPushConstantRanges, sizeof(VkPushConstantRange)*src.pushConstantRangeCount);
3538 }
3539
3540 return *this;
3541}
3542
3543safe_VkPipelineLayoutCreateInfo::~safe_VkPipelineLayoutCreateInfo()
3544{
3545 if (pSetLayouts)
3546 delete[] pSetLayouts;
3547 if (pPushConstantRanges)
3548 delete[] pPushConstantRanges;
3549}
3550
3551void safe_VkPipelineLayoutCreateInfo::initialize(const VkPipelineLayoutCreateInfo* in_struct)
3552{
3553 sType = in_struct->sType;
3554 pNext = in_struct->pNext;
3555 flags = in_struct->flags;
3556 setLayoutCount = in_struct->setLayoutCount;
3557 pSetLayouts = nullptr;
3558 pushConstantRangeCount = in_struct->pushConstantRangeCount;
3559 pPushConstantRanges = nullptr;
3560 if (setLayoutCount && in_struct->pSetLayouts) {
3561 pSetLayouts = new VkDescriptorSetLayout[setLayoutCount];
3562 for (uint32_t i=0; i<setLayoutCount; ++i) {
3563 pSetLayouts[i] = in_struct->pSetLayouts[i];
3564 }
3565 }
3566 if (in_struct->pPushConstantRanges) {
3567 pPushConstantRanges = new VkPushConstantRange[in_struct->pushConstantRangeCount];
3568 memcpy ((void *)pPushConstantRanges, (void *)in_struct->pPushConstantRanges, sizeof(VkPushConstantRange)*in_struct->pushConstantRangeCount);
3569 }
3570}
3571
3572void safe_VkPipelineLayoutCreateInfo::initialize(const safe_VkPipelineLayoutCreateInfo* src)
3573{
3574 sType = src->sType;
3575 pNext = src->pNext;
3576 flags = src->flags;
3577 setLayoutCount = src->setLayoutCount;
3578 pSetLayouts = nullptr;
3579 pushConstantRangeCount = src->pushConstantRangeCount;
3580 pPushConstantRanges = nullptr;
3581 if (setLayoutCount && src->pSetLayouts) {
3582 pSetLayouts = new VkDescriptorSetLayout[setLayoutCount];
3583 for (uint32_t i=0; i<setLayoutCount; ++i) {
3584 pSetLayouts[i] = src->pSetLayouts[i];
3585 }
3586 }
3587 if (src->pPushConstantRanges) {
3588 pPushConstantRanges = new VkPushConstantRange[src->pushConstantRangeCount];
3589 memcpy ((void *)pPushConstantRanges, (void *)src->pPushConstantRanges, sizeof(VkPushConstantRange)*src->pushConstantRangeCount);
3590 }
3591}
3592
3593safe_VkSamplerCreateInfo::safe_VkSamplerCreateInfo(const VkSamplerCreateInfo* in_struct) :
3594 sType(in_struct->sType),
3595 pNext(in_struct->pNext),
3596 flags(in_struct->flags),
3597 magFilter(in_struct->magFilter),
3598 minFilter(in_struct->minFilter),
3599 mipmapMode(in_struct->mipmapMode),
3600 addressModeU(in_struct->addressModeU),
3601 addressModeV(in_struct->addressModeV),
3602 addressModeW(in_struct->addressModeW),
3603 mipLodBias(in_struct->mipLodBias),
3604 anisotropyEnable(in_struct->anisotropyEnable),
3605 maxAnisotropy(in_struct->maxAnisotropy),
3606 compareEnable(in_struct->compareEnable),
3607 compareOp(in_struct->compareOp),
3608 minLod(in_struct->minLod),
3609 maxLod(in_struct->maxLod),
3610 borderColor(in_struct->borderColor),
3611 unnormalizedCoordinates(in_struct->unnormalizedCoordinates)
3612{
3613}
3614
3615safe_VkSamplerCreateInfo::safe_VkSamplerCreateInfo()
3616{}
3617
3618safe_VkSamplerCreateInfo::safe_VkSamplerCreateInfo(const safe_VkSamplerCreateInfo& src)
3619{
3620 sType = src.sType;
3621 pNext = src.pNext;
3622 flags = src.flags;
3623 magFilter = src.magFilter;
3624 minFilter = src.minFilter;
3625 mipmapMode = src.mipmapMode;
3626 addressModeU = src.addressModeU;
3627 addressModeV = src.addressModeV;
3628 addressModeW = src.addressModeW;
3629 mipLodBias = src.mipLodBias;
3630 anisotropyEnable = src.anisotropyEnable;
3631 maxAnisotropy = src.maxAnisotropy;
3632 compareEnable = src.compareEnable;
3633 compareOp = src.compareOp;
3634 minLod = src.minLod;
3635 maxLod = src.maxLod;
3636 borderColor = src.borderColor;
3637 unnormalizedCoordinates = src.unnormalizedCoordinates;
3638}
3639
3640safe_VkSamplerCreateInfo& safe_VkSamplerCreateInfo::operator=(const safe_VkSamplerCreateInfo& src)
3641{
3642 if (&src == this) return *this;
3643
3644
3645 sType = src.sType;
3646 pNext = src.pNext;
3647 flags = src.flags;
3648 magFilter = src.magFilter;
3649 minFilter = src.minFilter;
3650 mipmapMode = src.mipmapMode;
3651 addressModeU = src.addressModeU;
3652 addressModeV = src.addressModeV;
3653 addressModeW = src.addressModeW;
3654 mipLodBias = src.mipLodBias;
3655 anisotropyEnable = src.anisotropyEnable;
3656 maxAnisotropy = src.maxAnisotropy;
3657 compareEnable = src.compareEnable;
3658 compareOp = src.compareOp;
3659 minLod = src.minLod;
3660 maxLod = src.maxLod;
3661 borderColor = src.borderColor;
3662 unnormalizedCoordinates = src.unnormalizedCoordinates;
3663
3664 return *this;
3665}
3666
3667safe_VkSamplerCreateInfo::~safe_VkSamplerCreateInfo()
3668{
3669}
3670
3671void safe_VkSamplerCreateInfo::initialize(const VkSamplerCreateInfo* in_struct)
3672{
3673 sType = in_struct->sType;
3674 pNext = in_struct->pNext;
3675 flags = in_struct->flags;
3676 magFilter = in_struct->magFilter;
3677 minFilter = in_struct->minFilter;
3678 mipmapMode = in_struct->mipmapMode;
3679 addressModeU = in_struct->addressModeU;
3680 addressModeV = in_struct->addressModeV;
3681 addressModeW = in_struct->addressModeW;
3682 mipLodBias = in_struct->mipLodBias;
3683 anisotropyEnable = in_struct->anisotropyEnable;
3684 maxAnisotropy = in_struct->maxAnisotropy;
3685 compareEnable = in_struct->compareEnable;
3686 compareOp = in_struct->compareOp;
3687 minLod = in_struct->minLod;
3688 maxLod = in_struct->maxLod;
3689 borderColor = in_struct->borderColor;
3690 unnormalizedCoordinates = in_struct->unnormalizedCoordinates;
3691}
3692
3693void safe_VkSamplerCreateInfo::initialize(const safe_VkSamplerCreateInfo* src)
3694{
3695 sType = src->sType;
3696 pNext = src->pNext;
3697 flags = src->flags;
3698 magFilter = src->magFilter;
3699 minFilter = src->minFilter;
3700 mipmapMode = src->mipmapMode;
3701 addressModeU = src->addressModeU;
3702 addressModeV = src->addressModeV;
3703 addressModeW = src->addressModeW;
3704 mipLodBias = src->mipLodBias;
3705 anisotropyEnable = src->anisotropyEnable;
3706 maxAnisotropy = src->maxAnisotropy;
3707 compareEnable = src->compareEnable;
3708 compareOp = src->compareOp;
3709 minLod = src->minLod;
3710 maxLod = src->maxLod;
3711 borderColor = src->borderColor;
3712 unnormalizedCoordinates = src->unnormalizedCoordinates;
3713}
3714
3715safe_VkDescriptorSetLayoutBinding::safe_VkDescriptorSetLayoutBinding(const VkDescriptorSetLayoutBinding* in_struct) :
3716 binding(in_struct->binding),
3717 descriptorType(in_struct->descriptorType),
3718 descriptorCount(in_struct->descriptorCount),
3719 stageFlags(in_struct->stageFlags),
3720 pImmutableSamplers(nullptr)
3721{
3722 const bool sampler_type = in_struct->descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER || in_struct->descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER;
3723 if (descriptorCount && in_struct->pImmutableSamplers && sampler_type) {
3724 pImmutableSamplers = new VkSampler[descriptorCount];
3725 for (uint32_t i=0; i<descriptorCount; ++i) {
3726 pImmutableSamplers[i] = in_struct->pImmutableSamplers[i];
3727 }
3728 }
3729}
3730
3731safe_VkDescriptorSetLayoutBinding::safe_VkDescriptorSetLayoutBinding() :
3732 pImmutableSamplers(nullptr)
3733{}
3734
3735safe_VkDescriptorSetLayoutBinding::safe_VkDescriptorSetLayoutBinding(const safe_VkDescriptorSetLayoutBinding& src)
3736{
3737 binding = src.binding;
3738 descriptorType = src.descriptorType;
3739 descriptorCount = src.descriptorCount;
3740 stageFlags = src.stageFlags;
3741 pImmutableSamplers = nullptr;
3742 const bool sampler_type = src.descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER || src.descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER;
3743 if (descriptorCount && src.pImmutableSamplers && sampler_type) {
3744 pImmutableSamplers = new VkSampler[descriptorCount];
3745 for (uint32_t i=0; i<descriptorCount; ++i) {
3746 pImmutableSamplers[i] = src.pImmutableSamplers[i];
3747 }
3748 }
3749}
3750
3751safe_VkDescriptorSetLayoutBinding& safe_VkDescriptorSetLayoutBinding::operator=(const safe_VkDescriptorSetLayoutBinding& src)
3752{
3753 if (&src == this) return *this;
3754
3755 if (pImmutableSamplers)
3756 delete[] pImmutableSamplers;
3757
3758 binding = src.binding;
3759 descriptorType = src.descriptorType;
3760 descriptorCount = src.descriptorCount;
3761 stageFlags = src.stageFlags;
3762 pImmutableSamplers = nullptr;
3763 const bool sampler_type = src.descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER || src.descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER;
3764 if (descriptorCount && src.pImmutableSamplers && sampler_type) {
3765 pImmutableSamplers = new VkSampler[descriptorCount];
3766 for (uint32_t i=0; i<descriptorCount; ++i) {
3767 pImmutableSamplers[i] = src.pImmutableSamplers[i];
3768 }
3769 }
3770
3771 return *this;
3772}
3773
3774safe_VkDescriptorSetLayoutBinding::~safe_VkDescriptorSetLayoutBinding()
3775{
3776 if (pImmutableSamplers)
3777 delete[] pImmutableSamplers;
3778}
3779
3780void safe_VkDescriptorSetLayoutBinding::initialize(const VkDescriptorSetLayoutBinding* in_struct)
3781{
3782 binding = in_struct->binding;
3783 descriptorType = in_struct->descriptorType;
3784 descriptorCount = in_struct->descriptorCount;
3785 stageFlags = in_struct->stageFlags;
3786 pImmutableSamplers = nullptr;
3787 const bool sampler_type = in_struct->descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER || in_struct->descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER;
3788 if (descriptorCount && in_struct->pImmutableSamplers && sampler_type) {
3789 pImmutableSamplers = new VkSampler[descriptorCount];
3790 for (uint32_t i=0; i<descriptorCount; ++i) {
3791 pImmutableSamplers[i] = in_struct->pImmutableSamplers[i];
3792 }
3793 }
3794}
3795
3796void safe_VkDescriptorSetLayoutBinding::initialize(const safe_VkDescriptorSetLayoutBinding* src)
3797{
3798 binding = src->binding;
3799 descriptorType = src->descriptorType;
3800 descriptorCount = src->descriptorCount;
3801 stageFlags = src->stageFlags;
3802 pImmutableSamplers = nullptr;
3803 const bool sampler_type = src->descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER || src->descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER;
3804 if (descriptorCount && src->pImmutableSamplers && sampler_type) {
3805 pImmutableSamplers = new VkSampler[descriptorCount];
3806 for (uint32_t i=0; i<descriptorCount; ++i) {
3807 pImmutableSamplers[i] = src->pImmutableSamplers[i];
3808 }
3809 }
3810}
3811
3812safe_VkDescriptorSetLayoutCreateInfo::safe_VkDescriptorSetLayoutCreateInfo(const VkDescriptorSetLayoutCreateInfo* in_struct) :
3813 sType(in_struct->sType),
3814 pNext(in_struct->pNext),
3815 flags(in_struct->flags),
3816 bindingCount(in_struct->bindingCount),
3817 pBindings(nullptr)
3818{
3819 if (bindingCount && in_struct->pBindings) {
3820 pBindings = new safe_VkDescriptorSetLayoutBinding[bindingCount];
3821 for (uint32_t i=0; i<bindingCount; ++i) {
3822 pBindings[i].initialize(&in_struct->pBindings[i]);
3823 }
3824 }
3825}
3826
3827safe_VkDescriptorSetLayoutCreateInfo::safe_VkDescriptorSetLayoutCreateInfo() :
3828 pBindings(nullptr)
3829{}
3830
3831safe_VkDescriptorSetLayoutCreateInfo::safe_VkDescriptorSetLayoutCreateInfo(const safe_VkDescriptorSetLayoutCreateInfo& src)
3832{
3833 sType = src.sType;
3834 pNext = src.pNext;
3835 flags = src.flags;
3836 bindingCount = src.bindingCount;
3837 pBindings = nullptr;
3838 if (bindingCount && src.pBindings) {
3839 pBindings = new safe_VkDescriptorSetLayoutBinding[bindingCount];
3840 for (uint32_t i=0; i<bindingCount; ++i) {
3841 pBindings[i].initialize(&src.pBindings[i]);
3842 }
3843 }
3844}
3845
3846safe_VkDescriptorSetLayoutCreateInfo& safe_VkDescriptorSetLayoutCreateInfo::operator=(const safe_VkDescriptorSetLayoutCreateInfo& src)
3847{
3848 if (&src == this) return *this;
3849
3850 if (pBindings)
3851 delete[] pBindings;
3852
3853 sType = src.sType;
3854 pNext = src.pNext;
3855 flags = src.flags;
3856 bindingCount = src.bindingCount;
3857 pBindings = nullptr;
3858 if (bindingCount && src.pBindings) {
3859 pBindings = new safe_VkDescriptorSetLayoutBinding[bindingCount];
3860 for (uint32_t i=0; i<bindingCount; ++i) {
3861 pBindings[i].initialize(&src.pBindings[i]);
3862 }
3863 }
3864
3865 return *this;
3866}
3867
3868safe_VkDescriptorSetLayoutCreateInfo::~safe_VkDescriptorSetLayoutCreateInfo()
3869{
3870 if (pBindings)
3871 delete[] pBindings;
3872}
3873
3874void safe_VkDescriptorSetLayoutCreateInfo::initialize(const VkDescriptorSetLayoutCreateInfo* in_struct)
3875{
3876 sType = in_struct->sType;
3877 pNext = in_struct->pNext;
3878 flags = in_struct->flags;
3879 bindingCount = in_struct->bindingCount;
3880 pBindings = nullptr;
3881 if (bindingCount && in_struct->pBindings) {
3882 pBindings = new safe_VkDescriptorSetLayoutBinding[bindingCount];
3883 for (uint32_t i=0; i<bindingCount; ++i) {
3884 pBindings[i].initialize(&in_struct->pBindings[i]);
3885 }
3886 }
3887}
3888
3889void safe_VkDescriptorSetLayoutCreateInfo::initialize(const safe_VkDescriptorSetLayoutCreateInfo* src)
3890{
3891 sType = src->sType;
3892 pNext = src->pNext;
3893 flags = src->flags;
3894 bindingCount = src->bindingCount;
3895 pBindings = nullptr;
3896 if (bindingCount && src->pBindings) {
3897 pBindings = new safe_VkDescriptorSetLayoutBinding[bindingCount];
3898 for (uint32_t i=0; i<bindingCount; ++i) {
3899 pBindings[i].initialize(&src->pBindings[i]);
3900 }
3901 }
3902}
3903
3904safe_VkDescriptorPoolCreateInfo::safe_VkDescriptorPoolCreateInfo(const VkDescriptorPoolCreateInfo* in_struct) :
3905 sType(in_struct->sType),
3906 pNext(in_struct->pNext),
3907 flags(in_struct->flags),
3908 maxSets(in_struct->maxSets),
3909 poolSizeCount(in_struct->poolSizeCount),
3910 pPoolSizes(nullptr)
3911{
3912 if (in_struct->pPoolSizes) {
3913 pPoolSizes = new VkDescriptorPoolSize[in_struct->poolSizeCount];
3914 memcpy ((void *)pPoolSizes, (void *)in_struct->pPoolSizes, sizeof(VkDescriptorPoolSize)*in_struct->poolSizeCount);
3915 }
3916}
3917
3918safe_VkDescriptorPoolCreateInfo::safe_VkDescriptorPoolCreateInfo() :
3919 pPoolSizes(nullptr)
3920{}
3921
3922safe_VkDescriptorPoolCreateInfo::safe_VkDescriptorPoolCreateInfo(const safe_VkDescriptorPoolCreateInfo& src)
3923{
3924 sType = src.sType;
3925 pNext = src.pNext;
3926 flags = src.flags;
3927 maxSets = src.maxSets;
3928 poolSizeCount = src.poolSizeCount;
3929 pPoolSizes = nullptr;
3930 if (src.pPoolSizes) {
3931 pPoolSizes = new VkDescriptorPoolSize[src.poolSizeCount];
3932 memcpy ((void *)pPoolSizes, (void *)src.pPoolSizes, sizeof(VkDescriptorPoolSize)*src.poolSizeCount);
3933 }
3934}
3935
3936safe_VkDescriptorPoolCreateInfo& safe_VkDescriptorPoolCreateInfo::operator=(const safe_VkDescriptorPoolCreateInfo& src)
3937{
3938 if (&src == this) return *this;
3939
3940 if (pPoolSizes)
3941 delete[] pPoolSizes;
3942
3943 sType = src.sType;
3944 pNext = src.pNext;
3945 flags = src.flags;
3946 maxSets = src.maxSets;
3947 poolSizeCount = src.poolSizeCount;
3948 pPoolSizes = nullptr;
3949 if (src.pPoolSizes) {
3950 pPoolSizes = new VkDescriptorPoolSize[src.poolSizeCount];
3951 memcpy ((void *)pPoolSizes, (void *)src.pPoolSizes, sizeof(VkDescriptorPoolSize)*src.poolSizeCount);
3952 }
3953
3954 return *this;
3955}
3956
3957safe_VkDescriptorPoolCreateInfo::~safe_VkDescriptorPoolCreateInfo()
3958{
3959 if (pPoolSizes)
3960 delete[] pPoolSizes;
3961}
3962
3963void safe_VkDescriptorPoolCreateInfo::initialize(const VkDescriptorPoolCreateInfo* in_struct)
3964{
3965 sType = in_struct->sType;
3966 pNext = in_struct->pNext;
3967 flags = in_struct->flags;
3968 maxSets = in_struct->maxSets;
3969 poolSizeCount = in_struct->poolSizeCount;
3970 pPoolSizes = nullptr;
3971 if (in_struct->pPoolSizes) {
3972 pPoolSizes = new VkDescriptorPoolSize[in_struct->poolSizeCount];
3973 memcpy ((void *)pPoolSizes, (void *)in_struct->pPoolSizes, sizeof(VkDescriptorPoolSize)*in_struct->poolSizeCount);
3974 }
3975}
3976
3977void safe_VkDescriptorPoolCreateInfo::initialize(const safe_VkDescriptorPoolCreateInfo* src)
3978{
3979 sType = src->sType;
3980 pNext = src->pNext;
3981 flags = src->flags;
3982 maxSets = src->maxSets;
3983 poolSizeCount = src->poolSizeCount;
3984 pPoolSizes = nullptr;
3985 if (src->pPoolSizes) {
3986 pPoolSizes = new VkDescriptorPoolSize[src->poolSizeCount];
3987 memcpy ((void *)pPoolSizes, (void *)src->pPoolSizes, sizeof(VkDescriptorPoolSize)*src->poolSizeCount);
3988 }
3989}
3990
3991safe_VkDescriptorSetAllocateInfo::safe_VkDescriptorSetAllocateInfo(const VkDescriptorSetAllocateInfo* in_struct) :
3992 sType(in_struct->sType),
3993 pNext(in_struct->pNext),
3994 descriptorPool(in_struct->descriptorPool),
3995 descriptorSetCount(in_struct->descriptorSetCount),
3996 pSetLayouts(nullptr)
3997{
3998 if (descriptorSetCount && in_struct->pSetLayouts) {
3999 pSetLayouts = new VkDescriptorSetLayout[descriptorSetCount];
4000 for (uint32_t i=0; i<descriptorSetCount; ++i) {
4001 pSetLayouts[i] = in_struct->pSetLayouts[i];
4002 }
4003 }
4004}
4005
4006safe_VkDescriptorSetAllocateInfo::safe_VkDescriptorSetAllocateInfo() :
4007 pSetLayouts(nullptr)
4008{}
4009
4010safe_VkDescriptorSetAllocateInfo::safe_VkDescriptorSetAllocateInfo(const safe_VkDescriptorSetAllocateInfo& src)
4011{
4012 sType = src.sType;
4013 pNext = src.pNext;
4014 descriptorPool = src.descriptorPool;
4015 descriptorSetCount = src.descriptorSetCount;
4016 pSetLayouts = nullptr;
4017 if (descriptorSetCount && src.pSetLayouts) {
4018 pSetLayouts = new VkDescriptorSetLayout[descriptorSetCount];
4019 for (uint32_t i=0; i<descriptorSetCount; ++i) {
4020 pSetLayouts[i] = src.pSetLayouts[i];
4021 }
4022 }
4023}
4024
4025safe_VkDescriptorSetAllocateInfo& safe_VkDescriptorSetAllocateInfo::operator=(const safe_VkDescriptorSetAllocateInfo& src)
4026{
4027 if (&src == this) return *this;
4028
4029 if (pSetLayouts)
4030 delete[] pSetLayouts;
4031
4032 sType = src.sType;
4033 pNext = src.pNext;
4034 descriptorPool = src.descriptorPool;
4035 descriptorSetCount = src.descriptorSetCount;
4036 pSetLayouts = nullptr;
4037 if (descriptorSetCount && src.pSetLayouts) {
4038 pSetLayouts = new VkDescriptorSetLayout[descriptorSetCount];
4039 for (uint32_t i=0; i<descriptorSetCount; ++i) {
4040 pSetLayouts[i] = src.pSetLayouts[i];
4041 }
4042 }
4043
4044 return *this;
4045}
4046
4047safe_VkDescriptorSetAllocateInfo::~safe_VkDescriptorSetAllocateInfo()
4048{
4049 if (pSetLayouts)
4050 delete[] pSetLayouts;
4051}
4052
4053void safe_VkDescriptorSetAllocateInfo::initialize(const VkDescriptorSetAllocateInfo* in_struct)
4054{
4055 sType = in_struct->sType;
4056 pNext = in_struct->pNext;
4057 descriptorPool = in_struct->descriptorPool;
4058 descriptorSetCount = in_struct->descriptorSetCount;
4059 pSetLayouts = nullptr;
4060 if (descriptorSetCount && in_struct->pSetLayouts) {
4061 pSetLayouts = new VkDescriptorSetLayout[descriptorSetCount];
4062 for (uint32_t i=0; i<descriptorSetCount; ++i) {
4063 pSetLayouts[i] = in_struct->pSetLayouts[i];
4064 }
4065 }
4066}
4067
4068void safe_VkDescriptorSetAllocateInfo::initialize(const safe_VkDescriptorSetAllocateInfo* src)
4069{
4070 sType = src->sType;
4071 pNext = src->pNext;
4072 descriptorPool = src->descriptorPool;
4073 descriptorSetCount = src->descriptorSetCount;
4074 pSetLayouts = nullptr;
4075 if (descriptorSetCount && src->pSetLayouts) {
4076 pSetLayouts = new VkDescriptorSetLayout[descriptorSetCount];
4077 for (uint32_t i=0; i<descriptorSetCount; ++i) {
4078 pSetLayouts[i] = src->pSetLayouts[i];
4079 }
4080 }
4081}
4082
4083safe_VkWriteDescriptorSet::safe_VkWriteDescriptorSet(const VkWriteDescriptorSet* in_struct) :
4084 sType(in_struct->sType),
4085 pNext(in_struct->pNext),
4086 dstSet(in_struct->dstSet),
4087 dstBinding(in_struct->dstBinding),
4088 dstArrayElement(in_struct->dstArrayElement),
4089 descriptorCount(in_struct->descriptorCount),
4090 descriptorType(in_struct->descriptorType),
4091 pImageInfo(nullptr),
4092 pBufferInfo(nullptr),
4093 pTexelBufferView(nullptr)
4094{
4095 switch (descriptorType) {
4096 case VK_DESCRIPTOR_TYPE_SAMPLER:
4097 case VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER:
4098 case VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE:
4099 case VK_DESCRIPTOR_TYPE_STORAGE_IMAGE:
4100 case VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT:
4101 if (descriptorCount && in_struct->pImageInfo) {
4102 pImageInfo = new VkDescriptorImageInfo[descriptorCount];
4103 for (uint32_t i=0; i<descriptorCount; ++i) {
4104 pImageInfo[i] = in_struct->pImageInfo[i];
4105 }
4106 }
4107 break;
4108 case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER:
4109 case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER:
4110 case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC:
4111 case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC:
4112 if (descriptorCount && in_struct->pBufferInfo) {
4113 pBufferInfo = new VkDescriptorBufferInfo[descriptorCount];
4114 for (uint32_t i=0; i<descriptorCount; ++i) {
4115 pBufferInfo[i] = in_struct->pBufferInfo[i];
4116 }
4117 }
4118 break;
4119 case VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER:
4120 case VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER:
4121 if (descriptorCount && in_struct->pTexelBufferView) {
4122 pTexelBufferView = new VkBufferView[descriptorCount];
4123 for (uint32_t i=0; i<descriptorCount; ++i) {
4124 pTexelBufferView[i] = in_struct->pTexelBufferView[i];
4125 }
4126 }
4127 break;
4128 default:
4129 break;
4130 }
4131}
4132
4133safe_VkWriteDescriptorSet::safe_VkWriteDescriptorSet() :
4134 pImageInfo(nullptr),
4135 pBufferInfo(nullptr),
4136 pTexelBufferView(nullptr)
4137{}
4138
4139safe_VkWriteDescriptorSet::safe_VkWriteDescriptorSet(const safe_VkWriteDescriptorSet& src)
4140{
4141 sType = src.sType;
4142 pNext = src.pNext;
4143 dstSet = src.dstSet;
4144 dstBinding = src.dstBinding;
4145 dstArrayElement = src.dstArrayElement;
4146 descriptorCount = src.descriptorCount;
4147 descriptorType = src.descriptorType;
4148 pImageInfo = nullptr;
4149 pBufferInfo = nullptr;
4150 pTexelBufferView = nullptr;
4151 switch (descriptorType) {
4152 case VK_DESCRIPTOR_TYPE_SAMPLER:
4153 case VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER:
4154 case VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE:
4155 case VK_DESCRIPTOR_TYPE_STORAGE_IMAGE:
4156 case VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT:
4157 if (descriptorCount && src.pImageInfo) {
4158 pImageInfo = new VkDescriptorImageInfo[descriptorCount];
4159 for (uint32_t i=0; i<descriptorCount; ++i) {
4160 pImageInfo[i] = src.pImageInfo[i];
4161 }
4162 }
4163 break;
4164 case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER:
4165 case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER:
4166 case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC:
4167 case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC:
4168 if (descriptorCount && src.pBufferInfo) {
4169 pBufferInfo = new VkDescriptorBufferInfo[descriptorCount];
4170 for (uint32_t i=0; i<descriptorCount; ++i) {
4171 pBufferInfo[i] = src.pBufferInfo[i];
4172 }
4173 }
4174 break;
4175 case VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER:
4176 case VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER:
4177 if (descriptorCount && src.pTexelBufferView) {
4178 pTexelBufferView = new VkBufferView[descriptorCount];
4179 for (uint32_t i=0; i<descriptorCount; ++i) {
4180 pTexelBufferView[i] = src.pTexelBufferView[i];
4181 }
4182 }
4183 break;
4184 default:
4185 break;
4186 }
4187}
4188
4189safe_VkWriteDescriptorSet& safe_VkWriteDescriptorSet::operator=(const safe_VkWriteDescriptorSet& src)
4190{
4191 if (&src == this) return *this;
4192
4193 if (pImageInfo)
4194 delete[] pImageInfo;
4195 if (pBufferInfo)
4196 delete[] pBufferInfo;
4197 if (pTexelBufferView)
4198 delete[] pTexelBufferView;
4199
4200 sType = src.sType;
4201 pNext = src.pNext;
4202 dstSet = src.dstSet;
4203 dstBinding = src.dstBinding;
4204 dstArrayElement = src.dstArrayElement;
4205 descriptorCount = src.descriptorCount;
4206 descriptorType = src.descriptorType;
4207 pImageInfo = nullptr;
4208 pBufferInfo = nullptr;
4209 pTexelBufferView = nullptr;
4210 switch (descriptorType) {
4211 case VK_DESCRIPTOR_TYPE_SAMPLER:
4212 case VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER:
4213 case VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE:
4214 case VK_DESCRIPTOR_TYPE_STORAGE_IMAGE:
4215 case VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT:
4216 if (descriptorCount && src.pImageInfo) {
4217 pImageInfo = new VkDescriptorImageInfo[descriptorCount];
4218 for (uint32_t i=0; i<descriptorCount; ++i) {
4219 pImageInfo[i] = src.pImageInfo[i];
4220 }
4221 }
4222 break;
4223 case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER:
4224 case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER:
4225 case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC:
4226 case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC:
4227 if (descriptorCount && src.pBufferInfo) {
4228 pBufferInfo = new VkDescriptorBufferInfo[descriptorCount];
4229 for (uint32_t i=0; i<descriptorCount; ++i) {
4230 pBufferInfo[i] = src.pBufferInfo[i];
4231 }
4232 }
4233 break;
4234 case VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER:
4235 case VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER:
4236 if (descriptorCount && src.pTexelBufferView) {
4237 pTexelBufferView = new VkBufferView[descriptorCount];
4238 for (uint32_t i=0; i<descriptorCount; ++i) {
4239 pTexelBufferView[i] = src.pTexelBufferView[i];
4240 }
4241 }
4242 break;
4243 default:
4244 break;
4245 }
4246
4247 return *this;
4248}
4249
4250safe_VkWriteDescriptorSet::~safe_VkWriteDescriptorSet()
4251{
4252 if (pImageInfo)
4253 delete[] pImageInfo;
4254 if (pBufferInfo)
4255 delete[] pBufferInfo;
4256 if (pTexelBufferView)
4257 delete[] pTexelBufferView;
4258}
4259
4260void safe_VkWriteDescriptorSet::initialize(const VkWriteDescriptorSet* in_struct)
4261{
4262 sType = in_struct->sType;
4263 pNext = in_struct->pNext;
4264 dstSet = in_struct->dstSet;
4265 dstBinding = in_struct->dstBinding;
4266 dstArrayElement = in_struct->dstArrayElement;
4267 descriptorCount = in_struct->descriptorCount;
4268 descriptorType = in_struct->descriptorType;
4269 pImageInfo = nullptr;
4270 pBufferInfo = nullptr;
4271 pTexelBufferView = nullptr;
4272 switch (descriptorType) {
4273 case VK_DESCRIPTOR_TYPE_SAMPLER:
4274 case VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER:
4275 case VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE:
4276 case VK_DESCRIPTOR_TYPE_STORAGE_IMAGE:
4277 case VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT:
4278 if (descriptorCount && in_struct->pImageInfo) {
4279 pImageInfo = new VkDescriptorImageInfo[descriptorCount];
4280 for (uint32_t i=0; i<descriptorCount; ++i) {
4281 pImageInfo[i] = in_struct->pImageInfo[i];
4282 }
4283 }
4284 break;
4285 case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER:
4286 case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER:
4287 case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC:
4288 case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC:
4289 if (descriptorCount && in_struct->pBufferInfo) {
4290 pBufferInfo = new VkDescriptorBufferInfo[descriptorCount];
4291 for (uint32_t i=0; i<descriptorCount; ++i) {
4292 pBufferInfo[i] = in_struct->pBufferInfo[i];
4293 }
4294 }
4295 break;
4296 case VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER:
4297 case VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER:
4298 if (descriptorCount && in_struct->pTexelBufferView) {
4299 pTexelBufferView = new VkBufferView[descriptorCount];
4300 for (uint32_t i=0; i<descriptorCount; ++i) {
4301 pTexelBufferView[i] = in_struct->pTexelBufferView[i];
4302 }
4303 }
4304 break;
4305 default:
4306 break;
4307 }
4308}
4309
4310void safe_VkWriteDescriptorSet::initialize(const safe_VkWriteDescriptorSet* src)
4311{
4312 sType = src->sType;
4313 pNext = src->pNext;
4314 dstSet = src->dstSet;
4315 dstBinding = src->dstBinding;
4316 dstArrayElement = src->dstArrayElement;
4317 descriptorCount = src->descriptorCount;
4318 descriptorType = src->descriptorType;
4319 pImageInfo = nullptr;
4320 pBufferInfo = nullptr;
4321 pTexelBufferView = nullptr;
4322 switch (descriptorType) {
4323 case VK_DESCRIPTOR_TYPE_SAMPLER:
4324 case VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER:
4325 case VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE:
4326 case VK_DESCRIPTOR_TYPE_STORAGE_IMAGE:
4327 case VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT:
4328 if (descriptorCount && src->pImageInfo) {
4329 pImageInfo = new VkDescriptorImageInfo[descriptorCount];
4330 for (uint32_t i=0; i<descriptorCount; ++i) {
4331 pImageInfo[i] = src->pImageInfo[i];
4332 }
4333 }
4334 break;
4335 case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER:
4336 case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER:
4337 case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC:
4338 case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC:
4339 if (descriptorCount && src->pBufferInfo) {
4340 pBufferInfo = new VkDescriptorBufferInfo[descriptorCount];
4341 for (uint32_t i=0; i<descriptorCount; ++i) {
4342 pBufferInfo[i] = src->pBufferInfo[i];
4343 }
4344 }
4345 break;
4346 case VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER:
4347 case VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER:
4348 if (descriptorCount && src->pTexelBufferView) {
4349 pTexelBufferView = new VkBufferView[descriptorCount];
4350 for (uint32_t i=0; i<descriptorCount; ++i) {
4351 pTexelBufferView[i] = src->pTexelBufferView[i];
4352 }
4353 }
4354 break;
4355 default:
4356 break;
4357 }
4358}
4359
4360safe_VkCopyDescriptorSet::safe_VkCopyDescriptorSet(const VkCopyDescriptorSet* in_struct) :
4361 sType(in_struct->sType),
4362 pNext(in_struct->pNext),
4363 srcSet(in_struct->srcSet),
4364 srcBinding(in_struct->srcBinding),
4365 srcArrayElement(in_struct->srcArrayElement),
4366 dstSet(in_struct->dstSet),
4367 dstBinding(in_struct->dstBinding),
4368 dstArrayElement(in_struct->dstArrayElement),
4369 descriptorCount(in_struct->descriptorCount)
4370{
4371}
4372
4373safe_VkCopyDescriptorSet::safe_VkCopyDescriptorSet()
4374{}
4375
4376safe_VkCopyDescriptorSet::safe_VkCopyDescriptorSet(const safe_VkCopyDescriptorSet& src)
4377{
4378 sType = src.sType;
4379 pNext = src.pNext;
4380 srcSet = src.srcSet;
4381 srcBinding = src.srcBinding;
4382 srcArrayElement = src.srcArrayElement;
4383 dstSet = src.dstSet;
4384 dstBinding = src.dstBinding;
4385 dstArrayElement = src.dstArrayElement;
4386 descriptorCount = src.descriptorCount;
4387}
4388
4389safe_VkCopyDescriptorSet& safe_VkCopyDescriptorSet::operator=(const safe_VkCopyDescriptorSet& src)
4390{
4391 if (&src == this) return *this;
4392
4393
4394 sType = src.sType;
4395 pNext = src.pNext;
4396 srcSet = src.srcSet;
4397 srcBinding = src.srcBinding;
4398 srcArrayElement = src.srcArrayElement;
4399 dstSet = src.dstSet;
4400 dstBinding = src.dstBinding;
4401 dstArrayElement = src.dstArrayElement;
4402 descriptorCount = src.descriptorCount;
4403
4404 return *this;
4405}
4406
4407safe_VkCopyDescriptorSet::~safe_VkCopyDescriptorSet()
4408{
4409}
4410
4411void safe_VkCopyDescriptorSet::initialize(const VkCopyDescriptorSet* in_struct)
4412{
4413 sType = in_struct->sType;
4414 pNext = in_struct->pNext;
4415 srcSet = in_struct->srcSet;
4416 srcBinding = in_struct->srcBinding;
4417 srcArrayElement = in_struct->srcArrayElement;
4418 dstSet = in_struct->dstSet;
4419 dstBinding = in_struct->dstBinding;
4420 dstArrayElement = in_struct->dstArrayElement;
4421 descriptorCount = in_struct->descriptorCount;
4422}
4423
4424void safe_VkCopyDescriptorSet::initialize(const safe_VkCopyDescriptorSet* src)
4425{
4426 sType = src->sType;
4427 pNext = src->pNext;
4428 srcSet = src->srcSet;
4429 srcBinding = src->srcBinding;
4430 srcArrayElement = src->srcArrayElement;
4431 dstSet = src->dstSet;
4432 dstBinding = src->dstBinding;
4433 dstArrayElement = src->dstArrayElement;
4434 descriptorCount = src->descriptorCount;
4435}
4436
4437safe_VkFramebufferCreateInfo::safe_VkFramebufferCreateInfo(const VkFramebufferCreateInfo* in_struct) :
4438 sType(in_struct->sType),
4439 pNext(in_struct->pNext),
4440 flags(in_struct->flags),
4441 renderPass(in_struct->renderPass),
4442 attachmentCount(in_struct->attachmentCount),
4443 pAttachments(nullptr),
4444 width(in_struct->width),
4445 height(in_struct->height),
4446 layers(in_struct->layers)
4447{
4448 if (attachmentCount && in_struct->pAttachments) {
4449 pAttachments = new VkImageView[attachmentCount];
4450 for (uint32_t i=0; i<attachmentCount; ++i) {
4451 pAttachments[i] = in_struct->pAttachments[i];
4452 }
4453 }
4454}
4455
4456safe_VkFramebufferCreateInfo::safe_VkFramebufferCreateInfo() :
4457 pAttachments(nullptr)
4458{}
4459
4460safe_VkFramebufferCreateInfo::safe_VkFramebufferCreateInfo(const safe_VkFramebufferCreateInfo& src)
4461{
4462 sType = src.sType;
4463 pNext = src.pNext;
4464 flags = src.flags;
4465 renderPass = src.renderPass;
4466 attachmentCount = src.attachmentCount;
4467 pAttachments = nullptr;
4468 width = src.width;
4469 height = src.height;
4470 layers = src.layers;
4471 if (attachmentCount && src.pAttachments) {
4472 pAttachments = new VkImageView[attachmentCount];
4473 for (uint32_t i=0; i<attachmentCount; ++i) {
4474 pAttachments[i] = src.pAttachments[i];
4475 }
4476 }
4477}
4478
4479safe_VkFramebufferCreateInfo& safe_VkFramebufferCreateInfo::operator=(const safe_VkFramebufferCreateInfo& src)
4480{
4481 if (&src == this) return *this;
4482
4483 if (pAttachments)
4484 delete[] pAttachments;
4485
4486 sType = src.sType;
4487 pNext = src.pNext;
4488 flags = src.flags;
4489 renderPass = src.renderPass;
4490 attachmentCount = src.attachmentCount;
4491 pAttachments = nullptr;
4492 width = src.width;
4493 height = src.height;
4494 layers = src.layers;
4495 if (attachmentCount && src.pAttachments) {
4496 pAttachments = new VkImageView[attachmentCount];
4497 for (uint32_t i=0; i<attachmentCount; ++i) {
4498 pAttachments[i] = src.pAttachments[i];
4499 }
4500 }
4501
4502 return *this;
4503}
4504
4505safe_VkFramebufferCreateInfo::~safe_VkFramebufferCreateInfo()
4506{
4507 if (pAttachments)
4508 delete[] pAttachments;
4509}
4510
4511void safe_VkFramebufferCreateInfo::initialize(const VkFramebufferCreateInfo* in_struct)
4512{
4513 sType = in_struct->sType;
4514 pNext = in_struct->pNext;
4515 flags = in_struct->flags;
4516 renderPass = in_struct->renderPass;
4517 attachmentCount = in_struct->attachmentCount;
4518 pAttachments = nullptr;
4519 width = in_struct->width;
4520 height = in_struct->height;
4521 layers = in_struct->layers;
4522 if (attachmentCount && in_struct->pAttachments) {
4523 pAttachments = new VkImageView[attachmentCount];
4524 for (uint32_t i=0; i<attachmentCount; ++i) {
4525 pAttachments[i] = in_struct->pAttachments[i];
4526 }
4527 }
4528}
4529
4530void safe_VkFramebufferCreateInfo::initialize(const safe_VkFramebufferCreateInfo* src)
4531{
4532 sType = src->sType;
4533 pNext = src->pNext;
4534 flags = src->flags;
4535 renderPass = src->renderPass;
4536 attachmentCount = src->attachmentCount;
4537 pAttachments = nullptr;
4538 width = src->width;
4539 height = src->height;
4540 layers = src->layers;
4541 if (attachmentCount && src->pAttachments) {
4542 pAttachments = new VkImageView[attachmentCount];
4543 for (uint32_t i=0; i<attachmentCount; ++i) {
4544 pAttachments[i] = src->pAttachments[i];
4545 }
4546 }
4547}
4548
4549safe_VkSubpassDescription::safe_VkSubpassDescription(const VkSubpassDescription* in_struct) :
4550 flags(in_struct->flags),
4551 pipelineBindPoint(in_struct->pipelineBindPoint),
4552 inputAttachmentCount(in_struct->inputAttachmentCount),
4553 pInputAttachments(nullptr),
4554 colorAttachmentCount(in_struct->colorAttachmentCount),
4555 pColorAttachments(nullptr),
4556 pResolveAttachments(nullptr),
4557 pDepthStencilAttachment(nullptr),
4558 preserveAttachmentCount(in_struct->preserveAttachmentCount),
4559 pPreserveAttachments(nullptr)
4560{
4561 if (in_struct->pInputAttachments) {
4562 pInputAttachments = new VkAttachmentReference[in_struct->inputAttachmentCount];
4563 memcpy ((void *)pInputAttachments, (void *)in_struct->pInputAttachments, sizeof(VkAttachmentReference)*in_struct->inputAttachmentCount);
4564 }
4565 if (in_struct->pColorAttachments) {
4566 pColorAttachments = new VkAttachmentReference[in_struct->colorAttachmentCount];
4567 memcpy ((void *)pColorAttachments, (void *)in_struct->pColorAttachments, sizeof(VkAttachmentReference)*in_struct->colorAttachmentCount);
4568 }
4569 if (in_struct->pResolveAttachments) {
4570 pResolveAttachments = new VkAttachmentReference[in_struct->colorAttachmentCount];
4571 memcpy ((void *)pResolveAttachments, (void *)in_struct->pResolveAttachments, sizeof(VkAttachmentReference)*in_struct->colorAttachmentCount);
4572 }
4573 if (in_struct->pDepthStencilAttachment) {
4574 pDepthStencilAttachment = new VkAttachmentReference(*in_struct->pDepthStencilAttachment);
4575 }
4576 if (in_struct->pPreserveAttachments) {
4577 pPreserveAttachments = new uint32_t[in_struct->preserveAttachmentCount];
4578 memcpy ((void *)pPreserveAttachments, (void *)in_struct->pPreserveAttachments, sizeof(uint32_t)*in_struct->preserveAttachmentCount);
4579 }
4580}
4581
4582safe_VkSubpassDescription::safe_VkSubpassDescription() :
4583 pInputAttachments(nullptr),
4584 pColorAttachments(nullptr),
4585 pResolveAttachments(nullptr),
4586 pDepthStencilAttachment(nullptr),
4587 pPreserveAttachments(nullptr)
4588{}
4589
4590safe_VkSubpassDescription::safe_VkSubpassDescription(const safe_VkSubpassDescription& src)
4591{
4592 flags = src.flags;
4593 pipelineBindPoint = src.pipelineBindPoint;
4594 inputAttachmentCount = src.inputAttachmentCount;
4595 pInputAttachments = nullptr;
4596 colorAttachmentCount = src.colorAttachmentCount;
4597 pColorAttachments = nullptr;
4598 pResolveAttachments = nullptr;
4599 pDepthStencilAttachment = nullptr;
4600 preserveAttachmentCount = src.preserveAttachmentCount;
4601 pPreserveAttachments = nullptr;
4602 if (src.pInputAttachments) {
4603 pInputAttachments = new VkAttachmentReference[src.inputAttachmentCount];
4604 memcpy ((void *)pInputAttachments, (void *)src.pInputAttachments, sizeof(VkAttachmentReference)*src.inputAttachmentCount);
4605 }
4606 if (src.pColorAttachments) {
4607 pColorAttachments = new VkAttachmentReference[src.colorAttachmentCount];
4608 memcpy ((void *)pColorAttachments, (void *)src.pColorAttachments, sizeof(VkAttachmentReference)*src.colorAttachmentCount);
4609 }
4610 if (src.pResolveAttachments) {
4611 pResolveAttachments = new VkAttachmentReference[src.colorAttachmentCount];
4612 memcpy ((void *)pResolveAttachments, (void *)src.pResolveAttachments, sizeof(VkAttachmentReference)*src.colorAttachmentCount);
4613 }
4614 if (src.pDepthStencilAttachment) {
4615 pDepthStencilAttachment = new VkAttachmentReference(*src.pDepthStencilAttachment);
4616 }
4617 if (src.pPreserveAttachments) {
4618 pPreserveAttachments = new uint32_t[src.preserveAttachmentCount];
4619 memcpy ((void *)pPreserveAttachments, (void *)src.pPreserveAttachments, sizeof(uint32_t)*src.preserveAttachmentCount);
4620 }
4621}
4622
4623safe_VkSubpassDescription& safe_VkSubpassDescription::operator=(const safe_VkSubpassDescription& src)
4624{
4625 if (&src == this) return *this;
4626
4627 if (pInputAttachments)
4628 delete[] pInputAttachments;
4629 if (pColorAttachments)
4630 delete[] pColorAttachments;
4631 if (pResolveAttachments)
4632 delete[] pResolveAttachments;
4633 if (pDepthStencilAttachment)
4634 delete pDepthStencilAttachment;
4635 if (pPreserveAttachments)
4636 delete[] pPreserveAttachments;
4637
4638 flags = src.flags;
4639 pipelineBindPoint = src.pipelineBindPoint;
4640 inputAttachmentCount = src.inputAttachmentCount;
4641 pInputAttachments = nullptr;
4642 colorAttachmentCount = src.colorAttachmentCount;
4643 pColorAttachments = nullptr;
4644 pResolveAttachments = nullptr;
4645 pDepthStencilAttachment = nullptr;
4646 preserveAttachmentCount = src.preserveAttachmentCount;
4647 pPreserveAttachments = nullptr;
4648 if (src.pInputAttachments) {
4649 pInputAttachments = new VkAttachmentReference[src.inputAttachmentCount];
4650 memcpy ((void *)pInputAttachments, (void *)src.pInputAttachments, sizeof(VkAttachmentReference)*src.inputAttachmentCount);
4651 }
4652 if (src.pColorAttachments) {
4653 pColorAttachments = new VkAttachmentReference[src.colorAttachmentCount];
4654 memcpy ((void *)pColorAttachments, (void *)src.pColorAttachments, sizeof(VkAttachmentReference)*src.colorAttachmentCount);
4655 }
4656 if (src.pResolveAttachments) {
4657 pResolveAttachments = new VkAttachmentReference[src.colorAttachmentCount];
4658 memcpy ((void *)pResolveAttachments, (void *)src.pResolveAttachments, sizeof(VkAttachmentReference)*src.colorAttachmentCount);
4659 }
4660 if (src.pDepthStencilAttachment) {
4661 pDepthStencilAttachment = new VkAttachmentReference(*src.pDepthStencilAttachment);
4662 }
4663 if (src.pPreserveAttachments) {
4664 pPreserveAttachments = new uint32_t[src.preserveAttachmentCount];
4665 memcpy ((void *)pPreserveAttachments, (void *)src.pPreserveAttachments, sizeof(uint32_t)*src.preserveAttachmentCount);
4666 }
4667
4668 return *this;
4669}
4670
4671safe_VkSubpassDescription::~safe_VkSubpassDescription()
4672{
4673 if (pInputAttachments)
4674 delete[] pInputAttachments;
4675 if (pColorAttachments)
4676 delete[] pColorAttachments;
4677 if (pResolveAttachments)
4678 delete[] pResolveAttachments;
4679 if (pDepthStencilAttachment)
4680 delete pDepthStencilAttachment;
4681 if (pPreserveAttachments)
4682 delete[] pPreserveAttachments;
4683}
4684
4685void safe_VkSubpassDescription::initialize(const VkSubpassDescription* in_struct)
4686{
4687 flags = in_struct->flags;
4688 pipelineBindPoint = in_struct->pipelineBindPoint;
4689 inputAttachmentCount = in_struct->inputAttachmentCount;
4690 pInputAttachments = nullptr;
4691 colorAttachmentCount = in_struct->colorAttachmentCount;
4692 pColorAttachments = nullptr;
4693 pResolveAttachments = nullptr;
4694 pDepthStencilAttachment = nullptr;
4695 preserveAttachmentCount = in_struct->preserveAttachmentCount;
4696 pPreserveAttachments = nullptr;
4697 if (in_struct->pInputAttachments) {
4698 pInputAttachments = new VkAttachmentReference[in_struct->inputAttachmentCount];
4699 memcpy ((void *)pInputAttachments, (void *)in_struct->pInputAttachments, sizeof(VkAttachmentReference)*in_struct->inputAttachmentCount);
4700 }
4701 if (in_struct->pColorAttachments) {
4702 pColorAttachments = new VkAttachmentReference[in_struct->colorAttachmentCount];
4703 memcpy ((void *)pColorAttachments, (void *)in_struct->pColorAttachments, sizeof(VkAttachmentReference)*in_struct->colorAttachmentCount);
4704 }
4705 if (in_struct->pResolveAttachments) {
4706 pResolveAttachments = new VkAttachmentReference[in_struct->colorAttachmentCount];
4707 memcpy ((void *)pResolveAttachments, (void *)in_struct->pResolveAttachments, sizeof(VkAttachmentReference)*in_struct->colorAttachmentCount);
4708 }
4709 if (in_struct->pDepthStencilAttachment) {
4710 pDepthStencilAttachment = new VkAttachmentReference(*in_struct->pDepthStencilAttachment);
4711 }
4712 if (in_struct->pPreserveAttachments) {
4713 pPreserveAttachments = new uint32_t[in_struct->preserveAttachmentCount];
4714 memcpy ((void *)pPreserveAttachments, (void *)in_struct->pPreserveAttachments, sizeof(uint32_t)*in_struct->preserveAttachmentCount);
4715 }
4716}
4717
4718void safe_VkSubpassDescription::initialize(const safe_VkSubpassDescription* src)
4719{
4720 flags = src->flags;
4721 pipelineBindPoint = src->pipelineBindPoint;
4722 inputAttachmentCount = src->inputAttachmentCount;
4723 pInputAttachments = nullptr;
4724 colorAttachmentCount = src->colorAttachmentCount;
4725 pColorAttachments = nullptr;
4726 pResolveAttachments = nullptr;
4727 pDepthStencilAttachment = nullptr;
4728 preserveAttachmentCount = src->preserveAttachmentCount;
4729 pPreserveAttachments = nullptr;
4730 if (src->pInputAttachments) {
4731 pInputAttachments = new VkAttachmentReference[src->inputAttachmentCount];
4732 memcpy ((void *)pInputAttachments, (void *)src->pInputAttachments, sizeof(VkAttachmentReference)*src->inputAttachmentCount);
4733 }
4734 if (src->pColorAttachments) {
4735 pColorAttachments = new VkAttachmentReference[src->colorAttachmentCount];
4736 memcpy ((void *)pColorAttachments, (void *)src->pColorAttachments, sizeof(VkAttachmentReference)*src->colorAttachmentCount);
4737 }
4738 if (src->pResolveAttachments) {
4739 pResolveAttachments = new VkAttachmentReference[src->colorAttachmentCount];
4740 memcpy ((void *)pResolveAttachments, (void *)src->pResolveAttachments, sizeof(VkAttachmentReference)*src->colorAttachmentCount);
4741 }
4742 if (src->pDepthStencilAttachment) {
4743 pDepthStencilAttachment = new VkAttachmentReference(*src->pDepthStencilAttachment);
4744 }
4745 if (src->pPreserveAttachments) {
4746 pPreserveAttachments = new uint32_t[src->preserveAttachmentCount];
4747 memcpy ((void *)pPreserveAttachments, (void *)src->pPreserveAttachments, sizeof(uint32_t)*src->preserveAttachmentCount);
4748 }
4749}
4750
4751safe_VkRenderPassCreateInfo::safe_VkRenderPassCreateInfo(const VkRenderPassCreateInfo* in_struct) :
4752 sType(in_struct->sType),
4753 pNext(in_struct->pNext),
4754 flags(in_struct->flags),
4755 attachmentCount(in_struct->attachmentCount),
4756 pAttachments(nullptr),
4757 subpassCount(in_struct->subpassCount),
4758 pSubpasses(nullptr),
4759 dependencyCount(in_struct->dependencyCount),
4760 pDependencies(nullptr)
4761{
4762 if (in_struct->pAttachments) {
4763 pAttachments = new VkAttachmentDescription[in_struct->attachmentCount];
4764 memcpy ((void *)pAttachments, (void *)in_struct->pAttachments, sizeof(VkAttachmentDescription)*in_struct->attachmentCount);
4765 }
4766 if (subpassCount && in_struct->pSubpasses) {
4767 pSubpasses = new safe_VkSubpassDescription[subpassCount];
4768 for (uint32_t i=0; i<subpassCount; ++i) {
4769 pSubpasses[i].initialize(&in_struct->pSubpasses[i]);
4770 }
4771 }
4772 if (in_struct->pDependencies) {
4773 pDependencies = new VkSubpassDependency[in_struct->dependencyCount];
4774 memcpy ((void *)pDependencies, (void *)in_struct->pDependencies, sizeof(VkSubpassDependency)*in_struct->dependencyCount);
4775 }
4776}
4777
4778safe_VkRenderPassCreateInfo::safe_VkRenderPassCreateInfo() :
4779 pAttachments(nullptr),
4780 pSubpasses(nullptr),
4781 pDependencies(nullptr)
4782{}
4783
4784safe_VkRenderPassCreateInfo::safe_VkRenderPassCreateInfo(const safe_VkRenderPassCreateInfo& src)
4785{
4786 sType = src.sType;
4787 pNext = src.pNext;
4788 flags = src.flags;
4789 attachmentCount = src.attachmentCount;
4790 pAttachments = nullptr;
4791 subpassCount = src.subpassCount;
4792 pSubpasses = nullptr;
4793 dependencyCount = src.dependencyCount;
4794 pDependencies = nullptr;
4795 if (src.pAttachments) {
4796 pAttachments = new VkAttachmentDescription[src.attachmentCount];
4797 memcpy ((void *)pAttachments, (void *)src.pAttachments, sizeof(VkAttachmentDescription)*src.attachmentCount);
4798 }
4799 if (subpassCount && src.pSubpasses) {
4800 pSubpasses = new safe_VkSubpassDescription[subpassCount];
4801 for (uint32_t i=0; i<subpassCount; ++i) {
4802 pSubpasses[i].initialize(&src.pSubpasses[i]);
4803 }
4804 }
4805 if (src.pDependencies) {
4806 pDependencies = new VkSubpassDependency[src.dependencyCount];
4807 memcpy ((void *)pDependencies, (void *)src.pDependencies, sizeof(VkSubpassDependency)*src.dependencyCount);
4808 }
4809}
4810
4811safe_VkRenderPassCreateInfo& safe_VkRenderPassCreateInfo::operator=(const safe_VkRenderPassCreateInfo& src)
4812{
4813 if (&src == this) return *this;
4814
4815 if (pAttachments)
4816 delete[] pAttachments;
4817 if (pSubpasses)
4818 delete[] pSubpasses;
4819 if (pDependencies)
4820 delete[] pDependencies;
4821
4822 sType = src.sType;
4823 pNext = src.pNext;
4824 flags = src.flags;
4825 attachmentCount = src.attachmentCount;
4826 pAttachments = nullptr;
4827 subpassCount = src.subpassCount;
4828 pSubpasses = nullptr;
4829 dependencyCount = src.dependencyCount;
4830 pDependencies = nullptr;
4831 if (src.pAttachments) {
4832 pAttachments = new VkAttachmentDescription[src.attachmentCount];
4833 memcpy ((void *)pAttachments, (void *)src.pAttachments, sizeof(VkAttachmentDescription)*src.attachmentCount);
4834 }
4835 if (subpassCount && src.pSubpasses) {
4836 pSubpasses = new safe_VkSubpassDescription[subpassCount];
4837 for (uint32_t i=0; i<subpassCount; ++i) {
4838 pSubpasses[i].initialize(&src.pSubpasses[i]);
4839 }
4840 }
4841 if (src.pDependencies) {
4842 pDependencies = new VkSubpassDependency[src.dependencyCount];
4843 memcpy ((void *)pDependencies, (void *)src.pDependencies, sizeof(VkSubpassDependency)*src.dependencyCount);
4844 }
4845
4846 return *this;
4847}
4848
4849safe_VkRenderPassCreateInfo::~safe_VkRenderPassCreateInfo()
4850{
4851 if (pAttachments)
4852 delete[] pAttachments;
4853 if (pSubpasses)
4854 delete[] pSubpasses;
4855 if (pDependencies)
4856 delete[] pDependencies;
4857}
4858
4859void safe_VkRenderPassCreateInfo::initialize(const VkRenderPassCreateInfo* in_struct)
4860{
4861 sType = in_struct->sType;
4862 pNext = in_struct->pNext;
4863 flags = in_struct->flags;
4864 attachmentCount = in_struct->attachmentCount;
4865 pAttachments = nullptr;
4866 subpassCount = in_struct->subpassCount;
4867 pSubpasses = nullptr;
4868 dependencyCount = in_struct->dependencyCount;
4869 pDependencies = nullptr;
4870 if (in_struct->pAttachments) {
4871 pAttachments = new VkAttachmentDescription[in_struct->attachmentCount];
4872 memcpy ((void *)pAttachments, (void *)in_struct->pAttachments, sizeof(VkAttachmentDescription)*in_struct->attachmentCount);
4873 }
4874 if (subpassCount && in_struct->pSubpasses) {
4875 pSubpasses = new safe_VkSubpassDescription[subpassCount];
4876 for (uint32_t i=0; i<subpassCount; ++i) {
4877 pSubpasses[i].initialize(&in_struct->pSubpasses[i]);
4878 }
4879 }
4880 if (in_struct->pDependencies) {
4881 pDependencies = new VkSubpassDependency[in_struct->dependencyCount];
4882 memcpy ((void *)pDependencies, (void *)in_struct->pDependencies, sizeof(VkSubpassDependency)*in_struct->dependencyCount);
4883 }
4884}
4885
4886void safe_VkRenderPassCreateInfo::initialize(const safe_VkRenderPassCreateInfo* src)
4887{
4888 sType = src->sType;
4889 pNext = src->pNext;
4890 flags = src->flags;
4891 attachmentCount = src->attachmentCount;
4892 pAttachments = nullptr;
4893 subpassCount = src->subpassCount;
4894 pSubpasses = nullptr;
4895 dependencyCount = src->dependencyCount;
4896 pDependencies = nullptr;
4897 if (src->pAttachments) {
4898 pAttachments = new VkAttachmentDescription[src->attachmentCount];
4899 memcpy ((void *)pAttachments, (void *)src->pAttachments, sizeof(VkAttachmentDescription)*src->attachmentCount);
4900 }
4901 if (subpassCount && src->pSubpasses) {
4902 pSubpasses = new safe_VkSubpassDescription[subpassCount];
4903 for (uint32_t i=0; i<subpassCount; ++i) {
4904 pSubpasses[i].initialize(&src->pSubpasses[i]);
4905 }
4906 }
4907 if (src->pDependencies) {
4908 pDependencies = new VkSubpassDependency[src->dependencyCount];
4909 memcpy ((void *)pDependencies, (void *)src->pDependencies, sizeof(VkSubpassDependency)*src->dependencyCount);
4910 }
4911}
4912
4913safe_VkCommandPoolCreateInfo::safe_VkCommandPoolCreateInfo(const VkCommandPoolCreateInfo* in_struct) :
4914 sType(in_struct->sType),
4915 pNext(in_struct->pNext),
4916 flags(in_struct->flags),
4917 queueFamilyIndex(in_struct->queueFamilyIndex)
4918{
4919}
4920
4921safe_VkCommandPoolCreateInfo::safe_VkCommandPoolCreateInfo()
4922{}
4923
4924safe_VkCommandPoolCreateInfo::safe_VkCommandPoolCreateInfo(const safe_VkCommandPoolCreateInfo& src)
4925{
4926 sType = src.sType;
4927 pNext = src.pNext;
4928 flags = src.flags;
4929 queueFamilyIndex = src.queueFamilyIndex;
4930}
4931
4932safe_VkCommandPoolCreateInfo& safe_VkCommandPoolCreateInfo::operator=(const safe_VkCommandPoolCreateInfo& src)
4933{
4934 if (&src == this) return *this;
4935
4936
4937 sType = src.sType;
4938 pNext = src.pNext;
4939 flags = src.flags;
4940 queueFamilyIndex = src.queueFamilyIndex;
4941
4942 return *this;
4943}
4944
4945safe_VkCommandPoolCreateInfo::~safe_VkCommandPoolCreateInfo()
4946{
4947}
4948
4949void safe_VkCommandPoolCreateInfo::initialize(const VkCommandPoolCreateInfo* in_struct)
4950{
4951 sType = in_struct->sType;
4952 pNext = in_struct->pNext;
4953 flags = in_struct->flags;
4954 queueFamilyIndex = in_struct->queueFamilyIndex;
4955}
4956
4957void safe_VkCommandPoolCreateInfo::initialize(const safe_VkCommandPoolCreateInfo* src)
4958{
4959 sType = src->sType;
4960 pNext = src->pNext;
4961 flags = src->flags;
4962 queueFamilyIndex = src->queueFamilyIndex;
4963}
4964
4965safe_VkCommandBufferAllocateInfo::safe_VkCommandBufferAllocateInfo(const VkCommandBufferAllocateInfo* in_struct) :
4966 sType(in_struct->sType),
4967 pNext(in_struct->pNext),
4968 commandPool(in_struct->commandPool),
4969 level(in_struct->level),
4970 commandBufferCount(in_struct->commandBufferCount)
4971{
4972}
4973
4974safe_VkCommandBufferAllocateInfo::safe_VkCommandBufferAllocateInfo()
4975{}
4976
4977safe_VkCommandBufferAllocateInfo::safe_VkCommandBufferAllocateInfo(const safe_VkCommandBufferAllocateInfo& src)
4978{
4979 sType = src.sType;
4980 pNext = src.pNext;
4981 commandPool = src.commandPool;
4982 level = src.level;
4983 commandBufferCount = src.commandBufferCount;
4984}
4985
4986safe_VkCommandBufferAllocateInfo& safe_VkCommandBufferAllocateInfo::operator=(const safe_VkCommandBufferAllocateInfo& src)
4987{
4988 if (&src == this) return *this;
4989
4990
4991 sType = src.sType;
4992 pNext = src.pNext;
4993 commandPool = src.commandPool;
4994 level = src.level;
4995 commandBufferCount = src.commandBufferCount;
4996
4997 return *this;
4998}
4999
5000safe_VkCommandBufferAllocateInfo::~safe_VkCommandBufferAllocateInfo()
5001{
5002}
5003
5004void safe_VkCommandBufferAllocateInfo::initialize(const VkCommandBufferAllocateInfo* in_struct)
5005{
5006 sType = in_struct->sType;
5007 pNext = in_struct->pNext;
5008 commandPool = in_struct->commandPool;
5009 level = in_struct->level;
5010 commandBufferCount = in_struct->commandBufferCount;
5011}
5012
5013void safe_VkCommandBufferAllocateInfo::initialize(const safe_VkCommandBufferAllocateInfo* src)
5014{
5015 sType = src->sType;
5016 pNext = src->pNext;
5017 commandPool = src->commandPool;
5018 level = src->level;
5019 commandBufferCount = src->commandBufferCount;
5020}
5021
5022safe_VkCommandBufferInheritanceInfo::safe_VkCommandBufferInheritanceInfo(const VkCommandBufferInheritanceInfo* in_struct) :
5023 sType(in_struct->sType),
5024 pNext(in_struct->pNext),
5025 renderPass(in_struct->renderPass),
5026 subpass(in_struct->subpass),
5027 framebuffer(in_struct->framebuffer),
5028 occlusionQueryEnable(in_struct->occlusionQueryEnable),
5029 queryFlags(in_struct->queryFlags),
5030 pipelineStatistics(in_struct->pipelineStatistics)
5031{
5032}
5033
5034safe_VkCommandBufferInheritanceInfo::safe_VkCommandBufferInheritanceInfo()
5035{}
5036
5037safe_VkCommandBufferInheritanceInfo::safe_VkCommandBufferInheritanceInfo(const safe_VkCommandBufferInheritanceInfo& src)
5038{
5039 sType = src.sType;
5040 pNext = src.pNext;
5041 renderPass = src.renderPass;
5042 subpass = src.subpass;
5043 framebuffer = src.framebuffer;
5044 occlusionQueryEnable = src.occlusionQueryEnable;
5045 queryFlags = src.queryFlags;
5046 pipelineStatistics = src.pipelineStatistics;
5047}
5048
5049safe_VkCommandBufferInheritanceInfo& safe_VkCommandBufferInheritanceInfo::operator=(const safe_VkCommandBufferInheritanceInfo& src)
5050{
5051 if (&src == this) return *this;
5052
5053
5054 sType = src.sType;
5055 pNext = src.pNext;
5056 renderPass = src.renderPass;
5057 subpass = src.subpass;
5058 framebuffer = src.framebuffer;
5059 occlusionQueryEnable = src.occlusionQueryEnable;
5060 queryFlags = src.queryFlags;
5061 pipelineStatistics = src.pipelineStatistics;
5062
5063 return *this;
5064}
5065
5066safe_VkCommandBufferInheritanceInfo::~safe_VkCommandBufferInheritanceInfo()
5067{
5068}
5069
5070void safe_VkCommandBufferInheritanceInfo::initialize(const VkCommandBufferInheritanceInfo* in_struct)
5071{
5072 sType = in_struct->sType;
5073 pNext = in_struct->pNext;
5074 renderPass = in_struct->renderPass;
5075 subpass = in_struct->subpass;
5076 framebuffer = in_struct->framebuffer;
5077 occlusionQueryEnable = in_struct->occlusionQueryEnable;
5078 queryFlags = in_struct->queryFlags;
5079 pipelineStatistics = in_struct->pipelineStatistics;
5080}
5081
5082void safe_VkCommandBufferInheritanceInfo::initialize(const safe_VkCommandBufferInheritanceInfo* src)
5083{
5084 sType = src->sType;
5085 pNext = src->pNext;
5086 renderPass = src->renderPass;
5087 subpass = src->subpass;
5088 framebuffer = src->framebuffer;
5089 occlusionQueryEnable = src->occlusionQueryEnable;
5090 queryFlags = src->queryFlags;
5091 pipelineStatistics = src->pipelineStatistics;
5092}
5093
5094safe_VkCommandBufferBeginInfo::safe_VkCommandBufferBeginInfo(const VkCommandBufferBeginInfo* in_struct) :
5095 sType(in_struct->sType),
5096 pNext(in_struct->pNext),
5097 flags(in_struct->flags)
5098{
5099 if (in_struct->pInheritanceInfo)
5100 pInheritanceInfo = new safe_VkCommandBufferInheritanceInfo(in_struct->pInheritanceInfo);
5101 else
5102 pInheritanceInfo = NULL;
5103}
5104
5105safe_VkCommandBufferBeginInfo::safe_VkCommandBufferBeginInfo()
5106{}
5107
5108safe_VkCommandBufferBeginInfo::safe_VkCommandBufferBeginInfo(const safe_VkCommandBufferBeginInfo& src)
5109{
5110 sType = src.sType;
5111 pNext = src.pNext;
5112 flags = src.flags;
5113 if (src.pInheritanceInfo)
5114 pInheritanceInfo = new safe_VkCommandBufferInheritanceInfo(*src.pInheritanceInfo);
5115 else
5116 pInheritanceInfo = NULL;
5117}
5118
5119safe_VkCommandBufferBeginInfo& safe_VkCommandBufferBeginInfo::operator=(const safe_VkCommandBufferBeginInfo& src)
5120{
5121 if (&src == this) return *this;
5122
5123 if (pInheritanceInfo)
5124 delete pInheritanceInfo;
5125
5126 sType = src.sType;
5127 pNext = src.pNext;
5128 flags = src.flags;
5129 if (src.pInheritanceInfo)
5130 pInheritanceInfo = new safe_VkCommandBufferInheritanceInfo(*src.pInheritanceInfo);
5131 else
5132 pInheritanceInfo = NULL;
5133
5134 return *this;
5135}
5136
5137safe_VkCommandBufferBeginInfo::~safe_VkCommandBufferBeginInfo()
5138{
5139 if (pInheritanceInfo)
5140 delete pInheritanceInfo;
5141}
5142
5143void safe_VkCommandBufferBeginInfo::initialize(const VkCommandBufferBeginInfo* in_struct)
5144{
5145 sType = in_struct->sType;
5146 pNext = in_struct->pNext;
5147 flags = in_struct->flags;
5148 if (in_struct->pInheritanceInfo)
5149 pInheritanceInfo = new safe_VkCommandBufferInheritanceInfo(in_struct->pInheritanceInfo);
5150 else
5151 pInheritanceInfo = NULL;
5152}
5153
5154void safe_VkCommandBufferBeginInfo::initialize(const safe_VkCommandBufferBeginInfo* src)
5155{
5156 sType = src->sType;
5157 pNext = src->pNext;
5158 flags = src->flags;
5159 if (src->pInheritanceInfo)
5160 pInheritanceInfo = new safe_VkCommandBufferInheritanceInfo(*src->pInheritanceInfo);
5161 else
5162 pInheritanceInfo = NULL;
5163}
5164
5165safe_VkMemoryBarrier::safe_VkMemoryBarrier(const VkMemoryBarrier* in_struct) :
5166 sType(in_struct->sType),
5167 pNext(in_struct->pNext),
5168 srcAccessMask(in_struct->srcAccessMask),
5169 dstAccessMask(in_struct->dstAccessMask)
5170{
5171}
5172
5173safe_VkMemoryBarrier::safe_VkMemoryBarrier()
5174{}
5175
5176safe_VkMemoryBarrier::safe_VkMemoryBarrier(const safe_VkMemoryBarrier& src)
5177{
5178 sType = src.sType;
5179 pNext = src.pNext;
5180 srcAccessMask = src.srcAccessMask;
5181 dstAccessMask = src.dstAccessMask;
5182}
5183
5184safe_VkMemoryBarrier& safe_VkMemoryBarrier::operator=(const safe_VkMemoryBarrier& src)
5185{
5186 if (&src == this) return *this;
5187
5188
5189 sType = src.sType;
5190 pNext = src.pNext;
5191 srcAccessMask = src.srcAccessMask;
5192 dstAccessMask = src.dstAccessMask;
5193
5194 return *this;
5195}
5196
5197safe_VkMemoryBarrier::~safe_VkMemoryBarrier()
5198{
5199}
5200
5201void safe_VkMemoryBarrier::initialize(const VkMemoryBarrier* in_struct)
5202{
5203 sType = in_struct->sType;
5204 pNext = in_struct->pNext;
5205 srcAccessMask = in_struct->srcAccessMask;
5206 dstAccessMask = in_struct->dstAccessMask;
5207}
5208
5209void safe_VkMemoryBarrier::initialize(const safe_VkMemoryBarrier* src)
5210{
5211 sType = src->sType;
5212 pNext = src->pNext;
5213 srcAccessMask = src->srcAccessMask;
5214 dstAccessMask = src->dstAccessMask;
5215}
5216
5217safe_VkBufferMemoryBarrier::safe_VkBufferMemoryBarrier(const VkBufferMemoryBarrier* in_struct) :
5218 sType(in_struct->sType),
5219 pNext(in_struct->pNext),
5220 srcAccessMask(in_struct->srcAccessMask),
5221 dstAccessMask(in_struct->dstAccessMask),
5222 srcQueueFamilyIndex(in_struct->srcQueueFamilyIndex),
5223 dstQueueFamilyIndex(in_struct->dstQueueFamilyIndex),
5224 buffer(in_struct->buffer),
5225 offset(in_struct->offset),
5226 size(in_struct->size)
5227{
5228}
5229
5230safe_VkBufferMemoryBarrier::safe_VkBufferMemoryBarrier()
5231{}
5232
5233safe_VkBufferMemoryBarrier::safe_VkBufferMemoryBarrier(const safe_VkBufferMemoryBarrier& src)
5234{
5235 sType = src.sType;
5236 pNext = src.pNext;
5237 srcAccessMask = src.srcAccessMask;
5238 dstAccessMask = src.dstAccessMask;
5239 srcQueueFamilyIndex = src.srcQueueFamilyIndex;
5240 dstQueueFamilyIndex = src.dstQueueFamilyIndex;
5241 buffer = src.buffer;
5242 offset = src.offset;
5243 size = src.size;
5244}
5245
5246safe_VkBufferMemoryBarrier& safe_VkBufferMemoryBarrier::operator=(const safe_VkBufferMemoryBarrier& src)
5247{
5248 if (&src == this) return *this;
5249
5250
5251 sType = src.sType;
5252 pNext = src.pNext;
5253 srcAccessMask = src.srcAccessMask;
5254 dstAccessMask = src.dstAccessMask;
5255 srcQueueFamilyIndex = src.srcQueueFamilyIndex;
5256 dstQueueFamilyIndex = src.dstQueueFamilyIndex;
5257 buffer = src.buffer;
5258 offset = src.offset;
5259 size = src.size;
5260
5261 return *this;
5262}
5263
5264safe_VkBufferMemoryBarrier::~safe_VkBufferMemoryBarrier()
5265{
5266}
5267
5268void safe_VkBufferMemoryBarrier::initialize(const VkBufferMemoryBarrier* in_struct)
5269{
5270 sType = in_struct->sType;
5271 pNext = in_struct->pNext;
5272 srcAccessMask = in_struct->srcAccessMask;
5273 dstAccessMask = in_struct->dstAccessMask;
5274 srcQueueFamilyIndex = in_struct->srcQueueFamilyIndex;
5275 dstQueueFamilyIndex = in_struct->dstQueueFamilyIndex;
5276 buffer = in_struct->buffer;
5277 offset = in_struct->offset;
5278 size = in_struct->size;
5279}
5280
5281void safe_VkBufferMemoryBarrier::initialize(const safe_VkBufferMemoryBarrier* src)
5282{
5283 sType = src->sType;
5284 pNext = src->pNext;
5285 srcAccessMask = src->srcAccessMask;
5286 dstAccessMask = src->dstAccessMask;
5287 srcQueueFamilyIndex = src->srcQueueFamilyIndex;
5288 dstQueueFamilyIndex = src->dstQueueFamilyIndex;
5289 buffer = src->buffer;
5290 offset = src->offset;
5291 size = src->size;
5292}
5293
5294safe_VkImageMemoryBarrier::safe_VkImageMemoryBarrier(const VkImageMemoryBarrier* in_struct) :
5295 sType(in_struct->sType),
5296 pNext(in_struct->pNext),
5297 srcAccessMask(in_struct->srcAccessMask),
5298 dstAccessMask(in_struct->dstAccessMask),
5299 oldLayout(in_struct->oldLayout),
5300 newLayout(in_struct->newLayout),
5301 srcQueueFamilyIndex(in_struct->srcQueueFamilyIndex),
5302 dstQueueFamilyIndex(in_struct->dstQueueFamilyIndex),
5303 image(in_struct->image),
5304 subresourceRange(in_struct->subresourceRange)
5305{
5306}
5307
5308safe_VkImageMemoryBarrier::safe_VkImageMemoryBarrier()
5309{}
5310
5311safe_VkImageMemoryBarrier::safe_VkImageMemoryBarrier(const safe_VkImageMemoryBarrier& src)
5312{
5313 sType = src.sType;
5314 pNext = src.pNext;
5315 srcAccessMask = src.srcAccessMask;
5316 dstAccessMask = src.dstAccessMask;
5317 oldLayout = src.oldLayout;
5318 newLayout = src.newLayout;
5319 srcQueueFamilyIndex = src.srcQueueFamilyIndex;
5320 dstQueueFamilyIndex = src.dstQueueFamilyIndex;
5321 image = src.image;
5322 subresourceRange = src.subresourceRange;
5323}
5324
5325safe_VkImageMemoryBarrier& safe_VkImageMemoryBarrier::operator=(const safe_VkImageMemoryBarrier& src)
5326{
5327 if (&src == this) return *this;
5328
5329
5330 sType = src.sType;
5331 pNext = src.pNext;
5332 srcAccessMask = src.srcAccessMask;
5333 dstAccessMask = src.dstAccessMask;
5334 oldLayout = src.oldLayout;
5335 newLayout = src.newLayout;
5336 srcQueueFamilyIndex = src.srcQueueFamilyIndex;
5337 dstQueueFamilyIndex = src.dstQueueFamilyIndex;
5338 image = src.image;
5339 subresourceRange = src.subresourceRange;
5340
5341 return *this;
5342}
5343
5344safe_VkImageMemoryBarrier::~safe_VkImageMemoryBarrier()
5345{
5346}
5347
5348void safe_VkImageMemoryBarrier::initialize(const VkImageMemoryBarrier* in_struct)
5349{
5350 sType = in_struct->sType;
5351 pNext = in_struct->pNext;
5352 srcAccessMask = in_struct->srcAccessMask;
5353 dstAccessMask = in_struct->dstAccessMask;
5354 oldLayout = in_struct->oldLayout;
5355 newLayout = in_struct->newLayout;
5356 srcQueueFamilyIndex = in_struct->srcQueueFamilyIndex;
5357 dstQueueFamilyIndex = in_struct->dstQueueFamilyIndex;
5358 image = in_struct->image;
5359 subresourceRange = in_struct->subresourceRange;
5360}
5361
5362void safe_VkImageMemoryBarrier::initialize(const safe_VkImageMemoryBarrier* src)
5363{
5364 sType = src->sType;
5365 pNext = src->pNext;
5366 srcAccessMask = src->srcAccessMask;
5367 dstAccessMask = src->dstAccessMask;
5368 oldLayout = src->oldLayout;
5369 newLayout = src->newLayout;
5370 srcQueueFamilyIndex = src->srcQueueFamilyIndex;
5371 dstQueueFamilyIndex = src->dstQueueFamilyIndex;
5372 image = src->image;
5373 subresourceRange = src->subresourceRange;
5374}
5375
5376safe_VkRenderPassBeginInfo::safe_VkRenderPassBeginInfo(const VkRenderPassBeginInfo* in_struct) :
5377 sType(in_struct->sType),
5378 pNext(in_struct->pNext),
5379 renderPass(in_struct->renderPass),
5380 framebuffer(in_struct->framebuffer),
5381 renderArea(in_struct->renderArea),
5382 clearValueCount(in_struct->clearValueCount),
5383 pClearValues(nullptr)
5384{
5385 if (in_struct->pClearValues) {
5386 pClearValues = new VkClearValue[in_struct->clearValueCount];
5387 memcpy ((void *)pClearValues, (void *)in_struct->pClearValues, sizeof(VkClearValue)*in_struct->clearValueCount);
5388 }
5389}
5390
5391safe_VkRenderPassBeginInfo::safe_VkRenderPassBeginInfo() :
5392 pClearValues(nullptr)
5393{}
5394
5395safe_VkRenderPassBeginInfo::safe_VkRenderPassBeginInfo(const safe_VkRenderPassBeginInfo& src)
5396{
5397 sType = src.sType;
5398 pNext = src.pNext;
5399 renderPass = src.renderPass;
5400 framebuffer = src.framebuffer;
5401 renderArea = src.renderArea;
5402 clearValueCount = src.clearValueCount;
5403 pClearValues = nullptr;
5404 if (src.pClearValues) {
5405 pClearValues = new VkClearValue[src.clearValueCount];
5406 memcpy ((void *)pClearValues, (void *)src.pClearValues, sizeof(VkClearValue)*src.clearValueCount);
5407 }
5408}
5409
5410safe_VkRenderPassBeginInfo& safe_VkRenderPassBeginInfo::operator=(const safe_VkRenderPassBeginInfo& src)
5411{
5412 if (&src == this) return *this;
5413
5414 if (pClearValues)
5415 delete[] pClearValues;
5416
5417 sType = src.sType;
5418 pNext = src.pNext;
5419 renderPass = src.renderPass;
5420 framebuffer = src.framebuffer;
5421 renderArea = src.renderArea;
5422 clearValueCount = src.clearValueCount;
5423 pClearValues = nullptr;
5424 if (src.pClearValues) {
5425 pClearValues = new VkClearValue[src.clearValueCount];
5426 memcpy ((void *)pClearValues, (void *)src.pClearValues, sizeof(VkClearValue)*src.clearValueCount);
5427 }
5428
5429 return *this;
5430}
5431
5432safe_VkRenderPassBeginInfo::~safe_VkRenderPassBeginInfo()
5433{
5434 if (pClearValues)
5435 delete[] pClearValues;
5436}
5437
5438void safe_VkRenderPassBeginInfo::initialize(const VkRenderPassBeginInfo* in_struct)
5439{
5440 sType = in_struct->sType;
5441 pNext = in_struct->pNext;
5442 renderPass = in_struct->renderPass;
5443 framebuffer = in_struct->framebuffer;
5444 renderArea = in_struct->renderArea;
5445 clearValueCount = in_struct->clearValueCount;
5446 pClearValues = nullptr;
5447 if (in_struct->pClearValues) {
5448 pClearValues = new VkClearValue[in_struct->clearValueCount];
5449 memcpy ((void *)pClearValues, (void *)in_struct->pClearValues, sizeof(VkClearValue)*in_struct->clearValueCount);
5450 }
5451}
5452
5453void safe_VkRenderPassBeginInfo::initialize(const safe_VkRenderPassBeginInfo* src)
5454{
5455 sType = src->sType;
5456 pNext = src->pNext;
5457 renderPass = src->renderPass;
5458 framebuffer = src->framebuffer;
5459 renderArea = src->renderArea;
5460 clearValueCount = src->clearValueCount;
5461 pClearValues = nullptr;
5462 if (src->pClearValues) {
5463 pClearValues = new VkClearValue[src->clearValueCount];
5464 memcpy ((void *)pClearValues, (void *)src->pClearValues, sizeof(VkClearValue)*src->clearValueCount);
5465 }
5466}
5467
Mike Schuchardt440d4642019-06-20 17:14:57 -07005468safe_VkPhysicalDeviceSubgroupProperties::safe_VkPhysicalDeviceSubgroupProperties(const VkPhysicalDeviceSubgroupProperties* in_struct) :
5469 sType(in_struct->sType),
5470 pNext(in_struct->pNext),
5471 subgroupSize(in_struct->subgroupSize),
5472 supportedStages(in_struct->supportedStages),
5473 supportedOperations(in_struct->supportedOperations),
5474 quadOperationsInAllStages(in_struct->quadOperationsInAllStages)
5475{
5476}
5477
5478safe_VkPhysicalDeviceSubgroupProperties::safe_VkPhysicalDeviceSubgroupProperties()
5479{}
5480
5481safe_VkPhysicalDeviceSubgroupProperties::safe_VkPhysicalDeviceSubgroupProperties(const safe_VkPhysicalDeviceSubgroupProperties& src)
5482{
5483 sType = src.sType;
5484 pNext = src.pNext;
5485 subgroupSize = src.subgroupSize;
5486 supportedStages = src.supportedStages;
5487 supportedOperations = src.supportedOperations;
5488 quadOperationsInAllStages = src.quadOperationsInAllStages;
5489}
5490
5491safe_VkPhysicalDeviceSubgroupProperties& safe_VkPhysicalDeviceSubgroupProperties::operator=(const safe_VkPhysicalDeviceSubgroupProperties& src)
5492{
5493 if (&src == this) return *this;
5494
5495
5496 sType = src.sType;
5497 pNext = src.pNext;
5498 subgroupSize = src.subgroupSize;
5499 supportedStages = src.supportedStages;
5500 supportedOperations = src.supportedOperations;
5501 quadOperationsInAllStages = src.quadOperationsInAllStages;
5502
5503 return *this;
5504}
5505
5506safe_VkPhysicalDeviceSubgroupProperties::~safe_VkPhysicalDeviceSubgroupProperties()
5507{
5508}
5509
5510void safe_VkPhysicalDeviceSubgroupProperties::initialize(const VkPhysicalDeviceSubgroupProperties* in_struct)
5511{
5512 sType = in_struct->sType;
5513 pNext = in_struct->pNext;
5514 subgroupSize = in_struct->subgroupSize;
5515 supportedStages = in_struct->supportedStages;
5516 supportedOperations = in_struct->supportedOperations;
5517 quadOperationsInAllStages = in_struct->quadOperationsInAllStages;
5518}
5519
5520void safe_VkPhysicalDeviceSubgroupProperties::initialize(const safe_VkPhysicalDeviceSubgroupProperties* src)
5521{
5522 sType = src->sType;
5523 pNext = src->pNext;
5524 subgroupSize = src->subgroupSize;
5525 supportedStages = src->supportedStages;
5526 supportedOperations = src->supportedOperations;
5527 quadOperationsInAllStages = src->quadOperationsInAllStages;
5528}
5529
5530safe_VkBindBufferMemoryInfo::safe_VkBindBufferMemoryInfo(const VkBindBufferMemoryInfo* in_struct) :
5531 sType(in_struct->sType),
5532 pNext(in_struct->pNext),
5533 buffer(in_struct->buffer),
5534 memory(in_struct->memory),
5535 memoryOffset(in_struct->memoryOffset)
5536{
5537}
5538
5539safe_VkBindBufferMemoryInfo::safe_VkBindBufferMemoryInfo()
5540{}
5541
5542safe_VkBindBufferMemoryInfo::safe_VkBindBufferMemoryInfo(const safe_VkBindBufferMemoryInfo& src)
5543{
5544 sType = src.sType;
5545 pNext = src.pNext;
5546 buffer = src.buffer;
5547 memory = src.memory;
5548 memoryOffset = src.memoryOffset;
5549}
5550
5551safe_VkBindBufferMemoryInfo& safe_VkBindBufferMemoryInfo::operator=(const safe_VkBindBufferMemoryInfo& src)
5552{
5553 if (&src == this) return *this;
5554
5555
5556 sType = src.sType;
5557 pNext = src.pNext;
5558 buffer = src.buffer;
5559 memory = src.memory;
5560 memoryOffset = src.memoryOffset;
5561
5562 return *this;
5563}
5564
5565safe_VkBindBufferMemoryInfo::~safe_VkBindBufferMemoryInfo()
5566{
5567}
5568
5569void safe_VkBindBufferMemoryInfo::initialize(const VkBindBufferMemoryInfo* in_struct)
5570{
5571 sType = in_struct->sType;
5572 pNext = in_struct->pNext;
5573 buffer = in_struct->buffer;
5574 memory = in_struct->memory;
5575 memoryOffset = in_struct->memoryOffset;
5576}
5577
5578void safe_VkBindBufferMemoryInfo::initialize(const safe_VkBindBufferMemoryInfo* src)
5579{
5580 sType = src->sType;
5581 pNext = src->pNext;
5582 buffer = src->buffer;
5583 memory = src->memory;
5584 memoryOffset = src->memoryOffset;
5585}
5586
5587safe_VkBindImageMemoryInfo::safe_VkBindImageMemoryInfo(const VkBindImageMemoryInfo* in_struct) :
5588 sType(in_struct->sType),
5589 pNext(in_struct->pNext),
5590 image(in_struct->image),
5591 memory(in_struct->memory),
5592 memoryOffset(in_struct->memoryOffset)
5593{
5594}
5595
5596safe_VkBindImageMemoryInfo::safe_VkBindImageMemoryInfo()
5597{}
5598
5599safe_VkBindImageMemoryInfo::safe_VkBindImageMemoryInfo(const safe_VkBindImageMemoryInfo& src)
5600{
5601 sType = src.sType;
5602 pNext = src.pNext;
5603 image = src.image;
5604 memory = src.memory;
5605 memoryOffset = src.memoryOffset;
5606}
5607
5608safe_VkBindImageMemoryInfo& safe_VkBindImageMemoryInfo::operator=(const safe_VkBindImageMemoryInfo& src)
5609{
5610 if (&src == this) return *this;
5611
5612
5613 sType = src.sType;
5614 pNext = src.pNext;
5615 image = src.image;
5616 memory = src.memory;
5617 memoryOffset = src.memoryOffset;
5618
5619 return *this;
5620}
5621
5622safe_VkBindImageMemoryInfo::~safe_VkBindImageMemoryInfo()
5623{
5624}
5625
5626void safe_VkBindImageMemoryInfo::initialize(const VkBindImageMemoryInfo* in_struct)
5627{
5628 sType = in_struct->sType;
5629 pNext = in_struct->pNext;
5630 image = in_struct->image;
5631 memory = in_struct->memory;
5632 memoryOffset = in_struct->memoryOffset;
5633}
5634
5635void safe_VkBindImageMemoryInfo::initialize(const safe_VkBindImageMemoryInfo* src)
5636{
5637 sType = src->sType;
5638 pNext = src->pNext;
5639 image = src->image;
5640 memory = src->memory;
5641 memoryOffset = src->memoryOffset;
5642}
5643
5644safe_VkPhysicalDevice16BitStorageFeatures::safe_VkPhysicalDevice16BitStorageFeatures(const VkPhysicalDevice16BitStorageFeatures* in_struct) :
5645 sType(in_struct->sType),
5646 pNext(in_struct->pNext),
5647 storageBuffer16BitAccess(in_struct->storageBuffer16BitAccess),
5648 uniformAndStorageBuffer16BitAccess(in_struct->uniformAndStorageBuffer16BitAccess),
5649 storagePushConstant16(in_struct->storagePushConstant16),
5650 storageInputOutput16(in_struct->storageInputOutput16)
5651{
5652}
5653
5654safe_VkPhysicalDevice16BitStorageFeatures::safe_VkPhysicalDevice16BitStorageFeatures()
5655{}
5656
5657safe_VkPhysicalDevice16BitStorageFeatures::safe_VkPhysicalDevice16BitStorageFeatures(const safe_VkPhysicalDevice16BitStorageFeatures& src)
5658{
5659 sType = src.sType;
5660 pNext = src.pNext;
5661 storageBuffer16BitAccess = src.storageBuffer16BitAccess;
5662 uniformAndStorageBuffer16BitAccess = src.uniformAndStorageBuffer16BitAccess;
5663 storagePushConstant16 = src.storagePushConstant16;
5664 storageInputOutput16 = src.storageInputOutput16;
5665}
5666
5667safe_VkPhysicalDevice16BitStorageFeatures& safe_VkPhysicalDevice16BitStorageFeatures::operator=(const safe_VkPhysicalDevice16BitStorageFeatures& src)
5668{
5669 if (&src == this) return *this;
5670
5671
5672 sType = src.sType;
5673 pNext = src.pNext;
5674 storageBuffer16BitAccess = src.storageBuffer16BitAccess;
5675 uniformAndStorageBuffer16BitAccess = src.uniformAndStorageBuffer16BitAccess;
5676 storagePushConstant16 = src.storagePushConstant16;
5677 storageInputOutput16 = src.storageInputOutput16;
5678
5679 return *this;
5680}
5681
5682safe_VkPhysicalDevice16BitStorageFeatures::~safe_VkPhysicalDevice16BitStorageFeatures()
5683{
5684}
5685
5686void safe_VkPhysicalDevice16BitStorageFeatures::initialize(const VkPhysicalDevice16BitStorageFeatures* in_struct)
5687{
5688 sType = in_struct->sType;
5689 pNext = in_struct->pNext;
5690 storageBuffer16BitAccess = in_struct->storageBuffer16BitAccess;
5691 uniformAndStorageBuffer16BitAccess = in_struct->uniformAndStorageBuffer16BitAccess;
5692 storagePushConstant16 = in_struct->storagePushConstant16;
5693 storageInputOutput16 = in_struct->storageInputOutput16;
5694}
5695
5696void safe_VkPhysicalDevice16BitStorageFeatures::initialize(const safe_VkPhysicalDevice16BitStorageFeatures* src)
5697{
5698 sType = src->sType;
5699 pNext = src->pNext;
5700 storageBuffer16BitAccess = src->storageBuffer16BitAccess;
5701 uniformAndStorageBuffer16BitAccess = src->uniformAndStorageBuffer16BitAccess;
5702 storagePushConstant16 = src->storagePushConstant16;
5703 storageInputOutput16 = src->storageInputOutput16;
5704}
5705
5706safe_VkMemoryDedicatedRequirements::safe_VkMemoryDedicatedRequirements(const VkMemoryDedicatedRequirements* in_struct) :
5707 sType(in_struct->sType),
5708 pNext(in_struct->pNext),
5709 prefersDedicatedAllocation(in_struct->prefersDedicatedAllocation),
5710 requiresDedicatedAllocation(in_struct->requiresDedicatedAllocation)
5711{
5712}
5713
5714safe_VkMemoryDedicatedRequirements::safe_VkMemoryDedicatedRequirements()
5715{}
5716
5717safe_VkMemoryDedicatedRequirements::safe_VkMemoryDedicatedRequirements(const safe_VkMemoryDedicatedRequirements& src)
5718{
5719 sType = src.sType;
5720 pNext = src.pNext;
5721 prefersDedicatedAllocation = src.prefersDedicatedAllocation;
5722 requiresDedicatedAllocation = src.requiresDedicatedAllocation;
5723}
5724
5725safe_VkMemoryDedicatedRequirements& safe_VkMemoryDedicatedRequirements::operator=(const safe_VkMemoryDedicatedRequirements& src)
5726{
5727 if (&src == this) return *this;
5728
5729
5730 sType = src.sType;
5731 pNext = src.pNext;
5732 prefersDedicatedAllocation = src.prefersDedicatedAllocation;
5733 requiresDedicatedAllocation = src.requiresDedicatedAllocation;
5734
5735 return *this;
5736}
5737
5738safe_VkMemoryDedicatedRequirements::~safe_VkMemoryDedicatedRequirements()
5739{
5740}
5741
5742void safe_VkMemoryDedicatedRequirements::initialize(const VkMemoryDedicatedRequirements* in_struct)
5743{
5744 sType = in_struct->sType;
5745 pNext = in_struct->pNext;
5746 prefersDedicatedAllocation = in_struct->prefersDedicatedAllocation;
5747 requiresDedicatedAllocation = in_struct->requiresDedicatedAllocation;
5748}
5749
5750void safe_VkMemoryDedicatedRequirements::initialize(const safe_VkMemoryDedicatedRequirements* src)
5751{
5752 sType = src->sType;
5753 pNext = src->pNext;
5754 prefersDedicatedAllocation = src->prefersDedicatedAllocation;
5755 requiresDedicatedAllocation = src->requiresDedicatedAllocation;
5756}
5757
5758safe_VkMemoryDedicatedAllocateInfo::safe_VkMemoryDedicatedAllocateInfo(const VkMemoryDedicatedAllocateInfo* in_struct) :
5759 sType(in_struct->sType),
5760 pNext(in_struct->pNext),
5761 image(in_struct->image),
5762 buffer(in_struct->buffer)
5763{
5764}
5765
5766safe_VkMemoryDedicatedAllocateInfo::safe_VkMemoryDedicatedAllocateInfo()
5767{}
5768
5769safe_VkMemoryDedicatedAllocateInfo::safe_VkMemoryDedicatedAllocateInfo(const safe_VkMemoryDedicatedAllocateInfo& src)
5770{
5771 sType = src.sType;
5772 pNext = src.pNext;
5773 image = src.image;
5774 buffer = src.buffer;
5775}
5776
5777safe_VkMemoryDedicatedAllocateInfo& safe_VkMemoryDedicatedAllocateInfo::operator=(const safe_VkMemoryDedicatedAllocateInfo& src)
5778{
5779 if (&src == this) return *this;
5780
5781
5782 sType = src.sType;
5783 pNext = src.pNext;
5784 image = src.image;
5785 buffer = src.buffer;
5786
5787 return *this;
5788}
5789
5790safe_VkMemoryDedicatedAllocateInfo::~safe_VkMemoryDedicatedAllocateInfo()
5791{
5792}
5793
5794void safe_VkMemoryDedicatedAllocateInfo::initialize(const VkMemoryDedicatedAllocateInfo* in_struct)
5795{
5796 sType = in_struct->sType;
5797 pNext = in_struct->pNext;
5798 image = in_struct->image;
5799 buffer = in_struct->buffer;
5800}
5801
5802void safe_VkMemoryDedicatedAllocateInfo::initialize(const safe_VkMemoryDedicatedAllocateInfo* src)
5803{
5804 sType = src->sType;
5805 pNext = src->pNext;
5806 image = src->image;
5807 buffer = src->buffer;
5808}
5809
5810safe_VkMemoryAllocateFlagsInfo::safe_VkMemoryAllocateFlagsInfo(const VkMemoryAllocateFlagsInfo* in_struct) :
5811 sType(in_struct->sType),
5812 pNext(in_struct->pNext),
5813 flags(in_struct->flags),
5814 deviceMask(in_struct->deviceMask)
5815{
5816}
5817
5818safe_VkMemoryAllocateFlagsInfo::safe_VkMemoryAllocateFlagsInfo()
5819{}
5820
5821safe_VkMemoryAllocateFlagsInfo::safe_VkMemoryAllocateFlagsInfo(const safe_VkMemoryAllocateFlagsInfo& src)
5822{
5823 sType = src.sType;
5824 pNext = src.pNext;
5825 flags = src.flags;
5826 deviceMask = src.deviceMask;
5827}
5828
5829safe_VkMemoryAllocateFlagsInfo& safe_VkMemoryAllocateFlagsInfo::operator=(const safe_VkMemoryAllocateFlagsInfo& src)
5830{
5831 if (&src == this) return *this;
5832
5833
5834 sType = src.sType;
5835 pNext = src.pNext;
5836 flags = src.flags;
5837 deviceMask = src.deviceMask;
5838
5839 return *this;
5840}
5841
5842safe_VkMemoryAllocateFlagsInfo::~safe_VkMemoryAllocateFlagsInfo()
5843{
5844}
5845
5846void safe_VkMemoryAllocateFlagsInfo::initialize(const VkMemoryAllocateFlagsInfo* in_struct)
5847{
5848 sType = in_struct->sType;
5849 pNext = in_struct->pNext;
5850 flags = in_struct->flags;
5851 deviceMask = in_struct->deviceMask;
5852}
5853
5854void safe_VkMemoryAllocateFlagsInfo::initialize(const safe_VkMemoryAllocateFlagsInfo* src)
5855{
5856 sType = src->sType;
5857 pNext = src->pNext;
5858 flags = src->flags;
5859 deviceMask = src->deviceMask;
5860}
5861
5862safe_VkDeviceGroupRenderPassBeginInfo::safe_VkDeviceGroupRenderPassBeginInfo(const VkDeviceGroupRenderPassBeginInfo* in_struct) :
5863 sType(in_struct->sType),
5864 pNext(in_struct->pNext),
5865 deviceMask(in_struct->deviceMask),
5866 deviceRenderAreaCount(in_struct->deviceRenderAreaCount),
5867 pDeviceRenderAreas(nullptr)
5868{
5869 if (in_struct->pDeviceRenderAreas) {
5870 pDeviceRenderAreas = new VkRect2D[in_struct->deviceRenderAreaCount];
5871 memcpy ((void *)pDeviceRenderAreas, (void *)in_struct->pDeviceRenderAreas, sizeof(VkRect2D)*in_struct->deviceRenderAreaCount);
5872 }
5873}
5874
5875safe_VkDeviceGroupRenderPassBeginInfo::safe_VkDeviceGroupRenderPassBeginInfo() :
5876 pDeviceRenderAreas(nullptr)
5877{}
5878
5879safe_VkDeviceGroupRenderPassBeginInfo::safe_VkDeviceGroupRenderPassBeginInfo(const safe_VkDeviceGroupRenderPassBeginInfo& src)
5880{
5881 sType = src.sType;
5882 pNext = src.pNext;
5883 deviceMask = src.deviceMask;
5884 deviceRenderAreaCount = src.deviceRenderAreaCount;
5885 pDeviceRenderAreas = nullptr;
5886 if (src.pDeviceRenderAreas) {
5887 pDeviceRenderAreas = new VkRect2D[src.deviceRenderAreaCount];
5888 memcpy ((void *)pDeviceRenderAreas, (void *)src.pDeviceRenderAreas, sizeof(VkRect2D)*src.deviceRenderAreaCount);
5889 }
5890}
5891
5892safe_VkDeviceGroupRenderPassBeginInfo& safe_VkDeviceGroupRenderPassBeginInfo::operator=(const safe_VkDeviceGroupRenderPassBeginInfo& src)
5893{
5894 if (&src == this) return *this;
5895
5896 if (pDeviceRenderAreas)
5897 delete[] pDeviceRenderAreas;
5898
5899 sType = src.sType;
5900 pNext = src.pNext;
5901 deviceMask = src.deviceMask;
5902 deviceRenderAreaCount = src.deviceRenderAreaCount;
5903 pDeviceRenderAreas = nullptr;
5904 if (src.pDeviceRenderAreas) {
5905 pDeviceRenderAreas = new VkRect2D[src.deviceRenderAreaCount];
5906 memcpy ((void *)pDeviceRenderAreas, (void *)src.pDeviceRenderAreas, sizeof(VkRect2D)*src.deviceRenderAreaCount);
5907 }
5908
5909 return *this;
5910}
5911
5912safe_VkDeviceGroupRenderPassBeginInfo::~safe_VkDeviceGroupRenderPassBeginInfo()
5913{
5914 if (pDeviceRenderAreas)
5915 delete[] pDeviceRenderAreas;
5916}
5917
5918void safe_VkDeviceGroupRenderPassBeginInfo::initialize(const VkDeviceGroupRenderPassBeginInfo* in_struct)
5919{
5920 sType = in_struct->sType;
5921 pNext = in_struct->pNext;
5922 deviceMask = in_struct->deviceMask;
5923 deviceRenderAreaCount = in_struct->deviceRenderAreaCount;
5924 pDeviceRenderAreas = nullptr;
5925 if (in_struct->pDeviceRenderAreas) {
5926 pDeviceRenderAreas = new VkRect2D[in_struct->deviceRenderAreaCount];
5927 memcpy ((void *)pDeviceRenderAreas, (void *)in_struct->pDeviceRenderAreas, sizeof(VkRect2D)*in_struct->deviceRenderAreaCount);
5928 }
5929}
5930
5931void safe_VkDeviceGroupRenderPassBeginInfo::initialize(const safe_VkDeviceGroupRenderPassBeginInfo* src)
5932{
5933 sType = src->sType;
5934 pNext = src->pNext;
5935 deviceMask = src->deviceMask;
5936 deviceRenderAreaCount = src->deviceRenderAreaCount;
5937 pDeviceRenderAreas = nullptr;
5938 if (src->pDeviceRenderAreas) {
5939 pDeviceRenderAreas = new VkRect2D[src->deviceRenderAreaCount];
5940 memcpy ((void *)pDeviceRenderAreas, (void *)src->pDeviceRenderAreas, sizeof(VkRect2D)*src->deviceRenderAreaCount);
5941 }
5942}
5943
5944safe_VkDeviceGroupCommandBufferBeginInfo::safe_VkDeviceGroupCommandBufferBeginInfo(const VkDeviceGroupCommandBufferBeginInfo* in_struct) :
5945 sType(in_struct->sType),
5946 pNext(in_struct->pNext),
5947 deviceMask(in_struct->deviceMask)
5948{
5949}
5950
5951safe_VkDeviceGroupCommandBufferBeginInfo::safe_VkDeviceGroupCommandBufferBeginInfo()
5952{}
5953
5954safe_VkDeviceGroupCommandBufferBeginInfo::safe_VkDeviceGroupCommandBufferBeginInfo(const safe_VkDeviceGroupCommandBufferBeginInfo& src)
5955{
5956 sType = src.sType;
5957 pNext = src.pNext;
5958 deviceMask = src.deviceMask;
5959}
5960
5961safe_VkDeviceGroupCommandBufferBeginInfo& safe_VkDeviceGroupCommandBufferBeginInfo::operator=(const safe_VkDeviceGroupCommandBufferBeginInfo& src)
5962{
5963 if (&src == this) return *this;
5964
5965
5966 sType = src.sType;
5967 pNext = src.pNext;
5968 deviceMask = src.deviceMask;
5969
5970 return *this;
5971}
5972
5973safe_VkDeviceGroupCommandBufferBeginInfo::~safe_VkDeviceGroupCommandBufferBeginInfo()
5974{
5975}
5976
5977void safe_VkDeviceGroupCommandBufferBeginInfo::initialize(const VkDeviceGroupCommandBufferBeginInfo* in_struct)
5978{
5979 sType = in_struct->sType;
5980 pNext = in_struct->pNext;
5981 deviceMask = in_struct->deviceMask;
5982}
5983
5984void safe_VkDeviceGroupCommandBufferBeginInfo::initialize(const safe_VkDeviceGroupCommandBufferBeginInfo* src)
5985{
5986 sType = src->sType;
5987 pNext = src->pNext;
5988 deviceMask = src->deviceMask;
5989}
5990
5991safe_VkDeviceGroupSubmitInfo::safe_VkDeviceGroupSubmitInfo(const VkDeviceGroupSubmitInfo* in_struct) :
5992 sType(in_struct->sType),
5993 pNext(in_struct->pNext),
5994 waitSemaphoreCount(in_struct->waitSemaphoreCount),
5995 pWaitSemaphoreDeviceIndices(nullptr),
5996 commandBufferCount(in_struct->commandBufferCount),
5997 pCommandBufferDeviceMasks(nullptr),
5998 signalSemaphoreCount(in_struct->signalSemaphoreCount),
5999 pSignalSemaphoreDeviceIndices(nullptr)
6000{
6001 if (in_struct->pWaitSemaphoreDeviceIndices) {
6002 pWaitSemaphoreDeviceIndices = new uint32_t[in_struct->waitSemaphoreCount];
6003 memcpy ((void *)pWaitSemaphoreDeviceIndices, (void *)in_struct->pWaitSemaphoreDeviceIndices, sizeof(uint32_t)*in_struct->waitSemaphoreCount);
6004 }
6005 if (in_struct->pCommandBufferDeviceMasks) {
6006 pCommandBufferDeviceMasks = new uint32_t[in_struct->commandBufferCount];
6007 memcpy ((void *)pCommandBufferDeviceMasks, (void *)in_struct->pCommandBufferDeviceMasks, sizeof(uint32_t)*in_struct->commandBufferCount);
6008 }
6009 if (in_struct->pSignalSemaphoreDeviceIndices) {
6010 pSignalSemaphoreDeviceIndices = new uint32_t[in_struct->signalSemaphoreCount];
6011 memcpy ((void *)pSignalSemaphoreDeviceIndices, (void *)in_struct->pSignalSemaphoreDeviceIndices, sizeof(uint32_t)*in_struct->signalSemaphoreCount);
6012 }
6013}
6014
6015safe_VkDeviceGroupSubmitInfo::safe_VkDeviceGroupSubmitInfo() :
6016 pWaitSemaphoreDeviceIndices(nullptr),
6017 pCommandBufferDeviceMasks(nullptr),
6018 pSignalSemaphoreDeviceIndices(nullptr)
6019{}
6020
6021safe_VkDeviceGroupSubmitInfo::safe_VkDeviceGroupSubmitInfo(const safe_VkDeviceGroupSubmitInfo& src)
6022{
6023 sType = src.sType;
6024 pNext = src.pNext;
6025 waitSemaphoreCount = src.waitSemaphoreCount;
6026 pWaitSemaphoreDeviceIndices = nullptr;
6027 commandBufferCount = src.commandBufferCount;
6028 pCommandBufferDeviceMasks = nullptr;
6029 signalSemaphoreCount = src.signalSemaphoreCount;
6030 pSignalSemaphoreDeviceIndices = nullptr;
6031 if (src.pWaitSemaphoreDeviceIndices) {
6032 pWaitSemaphoreDeviceIndices = new uint32_t[src.waitSemaphoreCount];
6033 memcpy ((void *)pWaitSemaphoreDeviceIndices, (void *)src.pWaitSemaphoreDeviceIndices, sizeof(uint32_t)*src.waitSemaphoreCount);
6034 }
6035 if (src.pCommandBufferDeviceMasks) {
6036 pCommandBufferDeviceMasks = new uint32_t[src.commandBufferCount];
6037 memcpy ((void *)pCommandBufferDeviceMasks, (void *)src.pCommandBufferDeviceMasks, sizeof(uint32_t)*src.commandBufferCount);
6038 }
6039 if (src.pSignalSemaphoreDeviceIndices) {
6040 pSignalSemaphoreDeviceIndices = new uint32_t[src.signalSemaphoreCount];
6041 memcpy ((void *)pSignalSemaphoreDeviceIndices, (void *)src.pSignalSemaphoreDeviceIndices, sizeof(uint32_t)*src.signalSemaphoreCount);
6042 }
6043}
6044
6045safe_VkDeviceGroupSubmitInfo& safe_VkDeviceGroupSubmitInfo::operator=(const safe_VkDeviceGroupSubmitInfo& src)
6046{
6047 if (&src == this) return *this;
6048
6049 if (pWaitSemaphoreDeviceIndices)
6050 delete[] pWaitSemaphoreDeviceIndices;
6051 if (pCommandBufferDeviceMasks)
6052 delete[] pCommandBufferDeviceMasks;
6053 if (pSignalSemaphoreDeviceIndices)
6054 delete[] pSignalSemaphoreDeviceIndices;
6055
6056 sType = src.sType;
6057 pNext = src.pNext;
6058 waitSemaphoreCount = src.waitSemaphoreCount;
6059 pWaitSemaphoreDeviceIndices = nullptr;
6060 commandBufferCount = src.commandBufferCount;
6061 pCommandBufferDeviceMasks = nullptr;
6062 signalSemaphoreCount = src.signalSemaphoreCount;
6063 pSignalSemaphoreDeviceIndices = nullptr;
6064 if (src.pWaitSemaphoreDeviceIndices) {
6065 pWaitSemaphoreDeviceIndices = new uint32_t[src.waitSemaphoreCount];
6066 memcpy ((void *)pWaitSemaphoreDeviceIndices, (void *)src.pWaitSemaphoreDeviceIndices, sizeof(uint32_t)*src.waitSemaphoreCount);
6067 }
6068 if (src.pCommandBufferDeviceMasks) {
6069 pCommandBufferDeviceMasks = new uint32_t[src.commandBufferCount];
6070 memcpy ((void *)pCommandBufferDeviceMasks, (void *)src.pCommandBufferDeviceMasks, sizeof(uint32_t)*src.commandBufferCount);
6071 }
6072 if (src.pSignalSemaphoreDeviceIndices) {
6073 pSignalSemaphoreDeviceIndices = new uint32_t[src.signalSemaphoreCount];
6074 memcpy ((void *)pSignalSemaphoreDeviceIndices, (void *)src.pSignalSemaphoreDeviceIndices, sizeof(uint32_t)*src.signalSemaphoreCount);
6075 }
6076
6077 return *this;
6078}
6079
6080safe_VkDeviceGroupSubmitInfo::~safe_VkDeviceGroupSubmitInfo()
6081{
6082 if (pWaitSemaphoreDeviceIndices)
6083 delete[] pWaitSemaphoreDeviceIndices;
6084 if (pCommandBufferDeviceMasks)
6085 delete[] pCommandBufferDeviceMasks;
6086 if (pSignalSemaphoreDeviceIndices)
6087 delete[] pSignalSemaphoreDeviceIndices;
6088}
6089
6090void safe_VkDeviceGroupSubmitInfo::initialize(const VkDeviceGroupSubmitInfo* in_struct)
6091{
6092 sType = in_struct->sType;
6093 pNext = in_struct->pNext;
6094 waitSemaphoreCount = in_struct->waitSemaphoreCount;
6095 pWaitSemaphoreDeviceIndices = nullptr;
6096 commandBufferCount = in_struct->commandBufferCount;
6097 pCommandBufferDeviceMasks = nullptr;
6098 signalSemaphoreCount = in_struct->signalSemaphoreCount;
6099 pSignalSemaphoreDeviceIndices = nullptr;
6100 if (in_struct->pWaitSemaphoreDeviceIndices) {
6101 pWaitSemaphoreDeviceIndices = new uint32_t[in_struct->waitSemaphoreCount];
6102 memcpy ((void *)pWaitSemaphoreDeviceIndices, (void *)in_struct->pWaitSemaphoreDeviceIndices, sizeof(uint32_t)*in_struct->waitSemaphoreCount);
6103 }
6104 if (in_struct->pCommandBufferDeviceMasks) {
6105 pCommandBufferDeviceMasks = new uint32_t[in_struct->commandBufferCount];
6106 memcpy ((void *)pCommandBufferDeviceMasks, (void *)in_struct->pCommandBufferDeviceMasks, sizeof(uint32_t)*in_struct->commandBufferCount);
6107 }
6108 if (in_struct->pSignalSemaphoreDeviceIndices) {
6109 pSignalSemaphoreDeviceIndices = new uint32_t[in_struct->signalSemaphoreCount];
6110 memcpy ((void *)pSignalSemaphoreDeviceIndices, (void *)in_struct->pSignalSemaphoreDeviceIndices, sizeof(uint32_t)*in_struct->signalSemaphoreCount);
6111 }
6112}
6113
6114void safe_VkDeviceGroupSubmitInfo::initialize(const safe_VkDeviceGroupSubmitInfo* src)
6115{
6116 sType = src->sType;
6117 pNext = src->pNext;
6118 waitSemaphoreCount = src->waitSemaphoreCount;
6119 pWaitSemaphoreDeviceIndices = nullptr;
6120 commandBufferCount = src->commandBufferCount;
6121 pCommandBufferDeviceMasks = nullptr;
6122 signalSemaphoreCount = src->signalSemaphoreCount;
6123 pSignalSemaphoreDeviceIndices = nullptr;
6124 if (src->pWaitSemaphoreDeviceIndices) {
6125 pWaitSemaphoreDeviceIndices = new uint32_t[src->waitSemaphoreCount];
6126 memcpy ((void *)pWaitSemaphoreDeviceIndices, (void *)src->pWaitSemaphoreDeviceIndices, sizeof(uint32_t)*src->waitSemaphoreCount);
6127 }
6128 if (src->pCommandBufferDeviceMasks) {
6129 pCommandBufferDeviceMasks = new uint32_t[src->commandBufferCount];
6130 memcpy ((void *)pCommandBufferDeviceMasks, (void *)src->pCommandBufferDeviceMasks, sizeof(uint32_t)*src->commandBufferCount);
6131 }
6132 if (src->pSignalSemaphoreDeviceIndices) {
6133 pSignalSemaphoreDeviceIndices = new uint32_t[src->signalSemaphoreCount];
6134 memcpy ((void *)pSignalSemaphoreDeviceIndices, (void *)src->pSignalSemaphoreDeviceIndices, sizeof(uint32_t)*src->signalSemaphoreCount);
6135 }
6136}
6137
6138safe_VkDeviceGroupBindSparseInfo::safe_VkDeviceGroupBindSparseInfo(const VkDeviceGroupBindSparseInfo* in_struct) :
6139 sType(in_struct->sType),
6140 pNext(in_struct->pNext),
6141 resourceDeviceIndex(in_struct->resourceDeviceIndex),
6142 memoryDeviceIndex(in_struct->memoryDeviceIndex)
6143{
6144}
6145
6146safe_VkDeviceGroupBindSparseInfo::safe_VkDeviceGroupBindSparseInfo()
6147{}
6148
6149safe_VkDeviceGroupBindSparseInfo::safe_VkDeviceGroupBindSparseInfo(const safe_VkDeviceGroupBindSparseInfo& src)
6150{
6151 sType = src.sType;
6152 pNext = src.pNext;
6153 resourceDeviceIndex = src.resourceDeviceIndex;
6154 memoryDeviceIndex = src.memoryDeviceIndex;
6155}
6156
6157safe_VkDeviceGroupBindSparseInfo& safe_VkDeviceGroupBindSparseInfo::operator=(const safe_VkDeviceGroupBindSparseInfo& src)
6158{
6159 if (&src == this) return *this;
6160
6161
6162 sType = src.sType;
6163 pNext = src.pNext;
6164 resourceDeviceIndex = src.resourceDeviceIndex;
6165 memoryDeviceIndex = src.memoryDeviceIndex;
6166
6167 return *this;
6168}
6169
6170safe_VkDeviceGroupBindSparseInfo::~safe_VkDeviceGroupBindSparseInfo()
6171{
6172}
6173
6174void safe_VkDeviceGroupBindSparseInfo::initialize(const VkDeviceGroupBindSparseInfo* in_struct)
6175{
6176 sType = in_struct->sType;
6177 pNext = in_struct->pNext;
6178 resourceDeviceIndex = in_struct->resourceDeviceIndex;
6179 memoryDeviceIndex = in_struct->memoryDeviceIndex;
6180}
6181
6182void safe_VkDeviceGroupBindSparseInfo::initialize(const safe_VkDeviceGroupBindSparseInfo* src)
6183{
6184 sType = src->sType;
6185 pNext = src->pNext;
6186 resourceDeviceIndex = src->resourceDeviceIndex;
6187 memoryDeviceIndex = src->memoryDeviceIndex;
6188}
6189
6190safe_VkBindBufferMemoryDeviceGroupInfo::safe_VkBindBufferMemoryDeviceGroupInfo(const VkBindBufferMemoryDeviceGroupInfo* in_struct) :
6191 sType(in_struct->sType),
6192 pNext(in_struct->pNext),
6193 deviceIndexCount(in_struct->deviceIndexCount),
6194 pDeviceIndices(nullptr)
6195{
6196 if (in_struct->pDeviceIndices) {
6197 pDeviceIndices = new uint32_t[in_struct->deviceIndexCount];
6198 memcpy ((void *)pDeviceIndices, (void *)in_struct->pDeviceIndices, sizeof(uint32_t)*in_struct->deviceIndexCount);
6199 }
6200}
6201
6202safe_VkBindBufferMemoryDeviceGroupInfo::safe_VkBindBufferMemoryDeviceGroupInfo() :
6203 pDeviceIndices(nullptr)
6204{}
6205
6206safe_VkBindBufferMemoryDeviceGroupInfo::safe_VkBindBufferMemoryDeviceGroupInfo(const safe_VkBindBufferMemoryDeviceGroupInfo& src)
6207{
6208 sType = src.sType;
6209 pNext = src.pNext;
6210 deviceIndexCount = src.deviceIndexCount;
6211 pDeviceIndices = nullptr;
6212 if (src.pDeviceIndices) {
6213 pDeviceIndices = new uint32_t[src.deviceIndexCount];
6214 memcpy ((void *)pDeviceIndices, (void *)src.pDeviceIndices, sizeof(uint32_t)*src.deviceIndexCount);
6215 }
6216}
6217
6218safe_VkBindBufferMemoryDeviceGroupInfo& safe_VkBindBufferMemoryDeviceGroupInfo::operator=(const safe_VkBindBufferMemoryDeviceGroupInfo& src)
6219{
6220 if (&src == this) return *this;
6221
6222 if (pDeviceIndices)
6223 delete[] pDeviceIndices;
6224
6225 sType = src.sType;
6226 pNext = src.pNext;
6227 deviceIndexCount = src.deviceIndexCount;
6228 pDeviceIndices = nullptr;
6229 if (src.pDeviceIndices) {
6230 pDeviceIndices = new uint32_t[src.deviceIndexCount];
6231 memcpy ((void *)pDeviceIndices, (void *)src.pDeviceIndices, sizeof(uint32_t)*src.deviceIndexCount);
6232 }
6233
6234 return *this;
6235}
6236
6237safe_VkBindBufferMemoryDeviceGroupInfo::~safe_VkBindBufferMemoryDeviceGroupInfo()
6238{
6239 if (pDeviceIndices)
6240 delete[] pDeviceIndices;
6241}
6242
6243void safe_VkBindBufferMemoryDeviceGroupInfo::initialize(const VkBindBufferMemoryDeviceGroupInfo* in_struct)
6244{
6245 sType = in_struct->sType;
6246 pNext = in_struct->pNext;
6247 deviceIndexCount = in_struct->deviceIndexCount;
6248 pDeviceIndices = nullptr;
6249 if (in_struct->pDeviceIndices) {
6250 pDeviceIndices = new uint32_t[in_struct->deviceIndexCount];
6251 memcpy ((void *)pDeviceIndices, (void *)in_struct->pDeviceIndices, sizeof(uint32_t)*in_struct->deviceIndexCount);
6252 }
6253}
6254
6255void safe_VkBindBufferMemoryDeviceGroupInfo::initialize(const safe_VkBindBufferMemoryDeviceGroupInfo* src)
6256{
6257 sType = src->sType;
6258 pNext = src->pNext;
6259 deviceIndexCount = src->deviceIndexCount;
6260 pDeviceIndices = nullptr;
6261 if (src->pDeviceIndices) {
6262 pDeviceIndices = new uint32_t[src->deviceIndexCount];
6263 memcpy ((void *)pDeviceIndices, (void *)src->pDeviceIndices, sizeof(uint32_t)*src->deviceIndexCount);
6264 }
6265}
6266
6267safe_VkBindImageMemoryDeviceGroupInfo::safe_VkBindImageMemoryDeviceGroupInfo(const VkBindImageMemoryDeviceGroupInfo* in_struct) :
6268 sType(in_struct->sType),
6269 pNext(in_struct->pNext),
6270 deviceIndexCount(in_struct->deviceIndexCount),
6271 pDeviceIndices(nullptr),
6272 splitInstanceBindRegionCount(in_struct->splitInstanceBindRegionCount),
6273 pSplitInstanceBindRegions(nullptr)
6274{
6275 if (in_struct->pDeviceIndices) {
6276 pDeviceIndices = new uint32_t[in_struct->deviceIndexCount];
6277 memcpy ((void *)pDeviceIndices, (void *)in_struct->pDeviceIndices, sizeof(uint32_t)*in_struct->deviceIndexCount);
6278 }
6279 if (in_struct->pSplitInstanceBindRegions) {
6280 pSplitInstanceBindRegions = new VkRect2D[in_struct->splitInstanceBindRegionCount];
6281 memcpy ((void *)pSplitInstanceBindRegions, (void *)in_struct->pSplitInstanceBindRegions, sizeof(VkRect2D)*in_struct->splitInstanceBindRegionCount);
6282 }
6283}
6284
6285safe_VkBindImageMemoryDeviceGroupInfo::safe_VkBindImageMemoryDeviceGroupInfo() :
6286 pDeviceIndices(nullptr),
6287 pSplitInstanceBindRegions(nullptr)
6288{}
6289
6290safe_VkBindImageMemoryDeviceGroupInfo::safe_VkBindImageMemoryDeviceGroupInfo(const safe_VkBindImageMemoryDeviceGroupInfo& src)
6291{
6292 sType = src.sType;
6293 pNext = src.pNext;
6294 deviceIndexCount = src.deviceIndexCount;
6295 pDeviceIndices = nullptr;
6296 splitInstanceBindRegionCount = src.splitInstanceBindRegionCount;
6297 pSplitInstanceBindRegions = nullptr;
6298 if (src.pDeviceIndices) {
6299 pDeviceIndices = new uint32_t[src.deviceIndexCount];
6300 memcpy ((void *)pDeviceIndices, (void *)src.pDeviceIndices, sizeof(uint32_t)*src.deviceIndexCount);
6301 }
6302 if (src.pSplitInstanceBindRegions) {
6303 pSplitInstanceBindRegions = new VkRect2D[src.splitInstanceBindRegionCount];
6304 memcpy ((void *)pSplitInstanceBindRegions, (void *)src.pSplitInstanceBindRegions, sizeof(VkRect2D)*src.splitInstanceBindRegionCount);
6305 }
6306}
6307
6308safe_VkBindImageMemoryDeviceGroupInfo& safe_VkBindImageMemoryDeviceGroupInfo::operator=(const safe_VkBindImageMemoryDeviceGroupInfo& src)
6309{
6310 if (&src == this) return *this;
6311
6312 if (pDeviceIndices)
6313 delete[] pDeviceIndices;
6314 if (pSplitInstanceBindRegions)
6315 delete[] pSplitInstanceBindRegions;
6316
6317 sType = src.sType;
6318 pNext = src.pNext;
6319 deviceIndexCount = src.deviceIndexCount;
6320 pDeviceIndices = nullptr;
6321 splitInstanceBindRegionCount = src.splitInstanceBindRegionCount;
6322 pSplitInstanceBindRegions = nullptr;
6323 if (src.pDeviceIndices) {
6324 pDeviceIndices = new uint32_t[src.deviceIndexCount];
6325 memcpy ((void *)pDeviceIndices, (void *)src.pDeviceIndices, sizeof(uint32_t)*src.deviceIndexCount);
6326 }
6327 if (src.pSplitInstanceBindRegions) {
6328 pSplitInstanceBindRegions = new VkRect2D[src.splitInstanceBindRegionCount];
6329 memcpy ((void *)pSplitInstanceBindRegions, (void *)src.pSplitInstanceBindRegions, sizeof(VkRect2D)*src.splitInstanceBindRegionCount);
6330 }
6331
6332 return *this;
6333}
6334
6335safe_VkBindImageMemoryDeviceGroupInfo::~safe_VkBindImageMemoryDeviceGroupInfo()
6336{
6337 if (pDeviceIndices)
6338 delete[] pDeviceIndices;
6339 if (pSplitInstanceBindRegions)
6340 delete[] pSplitInstanceBindRegions;
6341}
6342
6343void safe_VkBindImageMemoryDeviceGroupInfo::initialize(const VkBindImageMemoryDeviceGroupInfo* in_struct)
6344{
6345 sType = in_struct->sType;
6346 pNext = in_struct->pNext;
6347 deviceIndexCount = in_struct->deviceIndexCount;
6348 pDeviceIndices = nullptr;
6349 splitInstanceBindRegionCount = in_struct->splitInstanceBindRegionCount;
6350 pSplitInstanceBindRegions = nullptr;
6351 if (in_struct->pDeviceIndices) {
6352 pDeviceIndices = new uint32_t[in_struct->deviceIndexCount];
6353 memcpy ((void *)pDeviceIndices, (void *)in_struct->pDeviceIndices, sizeof(uint32_t)*in_struct->deviceIndexCount);
6354 }
6355 if (in_struct->pSplitInstanceBindRegions) {
6356 pSplitInstanceBindRegions = new VkRect2D[in_struct->splitInstanceBindRegionCount];
6357 memcpy ((void *)pSplitInstanceBindRegions, (void *)in_struct->pSplitInstanceBindRegions, sizeof(VkRect2D)*in_struct->splitInstanceBindRegionCount);
6358 }
6359}
6360
6361void safe_VkBindImageMemoryDeviceGroupInfo::initialize(const safe_VkBindImageMemoryDeviceGroupInfo* src)
6362{
6363 sType = src->sType;
6364 pNext = src->pNext;
6365 deviceIndexCount = src->deviceIndexCount;
6366 pDeviceIndices = nullptr;
6367 splitInstanceBindRegionCount = src->splitInstanceBindRegionCount;
6368 pSplitInstanceBindRegions = nullptr;
6369 if (src->pDeviceIndices) {
6370 pDeviceIndices = new uint32_t[src->deviceIndexCount];
6371 memcpy ((void *)pDeviceIndices, (void *)src->pDeviceIndices, sizeof(uint32_t)*src->deviceIndexCount);
6372 }
6373 if (src->pSplitInstanceBindRegions) {
6374 pSplitInstanceBindRegions = new VkRect2D[src->splitInstanceBindRegionCount];
6375 memcpy ((void *)pSplitInstanceBindRegions, (void *)src->pSplitInstanceBindRegions, sizeof(VkRect2D)*src->splitInstanceBindRegionCount);
6376 }
6377}
6378
6379safe_VkPhysicalDeviceGroupProperties::safe_VkPhysicalDeviceGroupProperties(const VkPhysicalDeviceGroupProperties* in_struct) :
6380 sType(in_struct->sType),
6381 pNext(in_struct->pNext),
6382 physicalDeviceCount(in_struct->physicalDeviceCount),
6383 subsetAllocation(in_struct->subsetAllocation)
6384{
6385 for (uint32_t i=0; i<VK_MAX_DEVICE_GROUP_SIZE; ++i) {
6386 physicalDevices[i] = in_struct->physicalDevices[i];
6387 }
6388}
6389
6390safe_VkPhysicalDeviceGroupProperties::safe_VkPhysicalDeviceGroupProperties()
6391{}
6392
6393safe_VkPhysicalDeviceGroupProperties::safe_VkPhysicalDeviceGroupProperties(const safe_VkPhysicalDeviceGroupProperties& src)
6394{
6395 sType = src.sType;
6396 pNext = src.pNext;
6397 physicalDeviceCount = src.physicalDeviceCount;
6398 subsetAllocation = src.subsetAllocation;
6399 for (uint32_t i=0; i<VK_MAX_DEVICE_GROUP_SIZE; ++i) {
6400 physicalDevices[i] = src.physicalDevices[i];
6401 }
6402}
6403
6404safe_VkPhysicalDeviceGroupProperties& safe_VkPhysicalDeviceGroupProperties::operator=(const safe_VkPhysicalDeviceGroupProperties& src)
6405{
6406 if (&src == this) return *this;
6407
6408
6409 sType = src.sType;
6410 pNext = src.pNext;
6411 physicalDeviceCount = src.physicalDeviceCount;
6412 subsetAllocation = src.subsetAllocation;
6413 for (uint32_t i=0; i<VK_MAX_DEVICE_GROUP_SIZE; ++i) {
6414 physicalDevices[i] = src.physicalDevices[i];
6415 }
6416
6417 return *this;
6418}
6419
6420safe_VkPhysicalDeviceGroupProperties::~safe_VkPhysicalDeviceGroupProperties()
6421{
6422}
6423
6424void safe_VkPhysicalDeviceGroupProperties::initialize(const VkPhysicalDeviceGroupProperties* in_struct)
6425{
6426 sType = in_struct->sType;
6427 pNext = in_struct->pNext;
6428 physicalDeviceCount = in_struct->physicalDeviceCount;
6429 subsetAllocation = in_struct->subsetAllocation;
6430 for (uint32_t i=0; i<VK_MAX_DEVICE_GROUP_SIZE; ++i) {
6431 physicalDevices[i] = in_struct->physicalDevices[i];
6432 }
6433}
6434
6435void safe_VkPhysicalDeviceGroupProperties::initialize(const safe_VkPhysicalDeviceGroupProperties* src)
6436{
6437 sType = src->sType;
6438 pNext = src->pNext;
6439 physicalDeviceCount = src->physicalDeviceCount;
6440 subsetAllocation = src->subsetAllocation;
6441 for (uint32_t i=0; i<VK_MAX_DEVICE_GROUP_SIZE; ++i) {
6442 physicalDevices[i] = src->physicalDevices[i];
6443 }
6444}
6445
6446safe_VkDeviceGroupDeviceCreateInfo::safe_VkDeviceGroupDeviceCreateInfo(const VkDeviceGroupDeviceCreateInfo* in_struct) :
6447 sType(in_struct->sType),
6448 pNext(in_struct->pNext),
6449 physicalDeviceCount(in_struct->physicalDeviceCount),
6450 pPhysicalDevices(nullptr)
6451{
6452 if (in_struct->pPhysicalDevices) {
6453 pPhysicalDevices = new VkPhysicalDevice[in_struct->physicalDeviceCount];
6454 memcpy ((void *)pPhysicalDevices, (void *)in_struct->pPhysicalDevices, sizeof(VkPhysicalDevice)*in_struct->physicalDeviceCount);
6455 }
6456}
6457
6458safe_VkDeviceGroupDeviceCreateInfo::safe_VkDeviceGroupDeviceCreateInfo() :
6459 pPhysicalDevices(nullptr)
6460{}
6461
6462safe_VkDeviceGroupDeviceCreateInfo::safe_VkDeviceGroupDeviceCreateInfo(const safe_VkDeviceGroupDeviceCreateInfo& src)
6463{
6464 sType = src.sType;
6465 pNext = src.pNext;
6466 physicalDeviceCount = src.physicalDeviceCount;
6467 pPhysicalDevices = nullptr;
6468 if (src.pPhysicalDevices) {
6469 pPhysicalDevices = new VkPhysicalDevice[src.physicalDeviceCount];
6470 memcpy ((void *)pPhysicalDevices, (void *)src.pPhysicalDevices, sizeof(VkPhysicalDevice)*src.physicalDeviceCount);
6471 }
6472}
6473
6474safe_VkDeviceGroupDeviceCreateInfo& safe_VkDeviceGroupDeviceCreateInfo::operator=(const safe_VkDeviceGroupDeviceCreateInfo& src)
6475{
6476 if (&src == this) return *this;
6477
6478 if (pPhysicalDevices)
6479 delete[] pPhysicalDevices;
6480
6481 sType = src.sType;
6482 pNext = src.pNext;
6483 physicalDeviceCount = src.physicalDeviceCount;
6484 pPhysicalDevices = nullptr;
6485 if (src.pPhysicalDevices) {
6486 pPhysicalDevices = new VkPhysicalDevice[src.physicalDeviceCount];
6487 memcpy ((void *)pPhysicalDevices, (void *)src.pPhysicalDevices, sizeof(VkPhysicalDevice)*src.physicalDeviceCount);
6488 }
6489
6490 return *this;
6491}
6492
6493safe_VkDeviceGroupDeviceCreateInfo::~safe_VkDeviceGroupDeviceCreateInfo()
6494{
6495 if (pPhysicalDevices)
6496 delete[] pPhysicalDevices;
6497}
6498
6499void safe_VkDeviceGroupDeviceCreateInfo::initialize(const VkDeviceGroupDeviceCreateInfo* in_struct)
6500{
6501 sType = in_struct->sType;
6502 pNext = in_struct->pNext;
6503 physicalDeviceCount = in_struct->physicalDeviceCount;
6504 pPhysicalDevices = nullptr;
6505 if (in_struct->pPhysicalDevices) {
6506 pPhysicalDevices = new VkPhysicalDevice[in_struct->physicalDeviceCount];
6507 memcpy ((void *)pPhysicalDevices, (void *)in_struct->pPhysicalDevices, sizeof(VkPhysicalDevice)*in_struct->physicalDeviceCount);
6508 }
6509}
6510
6511void safe_VkDeviceGroupDeviceCreateInfo::initialize(const safe_VkDeviceGroupDeviceCreateInfo* src)
6512{
6513 sType = src->sType;
6514 pNext = src->pNext;
6515 physicalDeviceCount = src->physicalDeviceCount;
6516 pPhysicalDevices = nullptr;
6517 if (src->pPhysicalDevices) {
6518 pPhysicalDevices = new VkPhysicalDevice[src->physicalDeviceCount];
6519 memcpy ((void *)pPhysicalDevices, (void *)src->pPhysicalDevices, sizeof(VkPhysicalDevice)*src->physicalDeviceCount);
6520 }
6521}
6522
6523safe_VkBufferMemoryRequirementsInfo2::safe_VkBufferMemoryRequirementsInfo2(const VkBufferMemoryRequirementsInfo2* in_struct) :
6524 sType(in_struct->sType),
6525 pNext(in_struct->pNext),
6526 buffer(in_struct->buffer)
6527{
6528}
6529
6530safe_VkBufferMemoryRequirementsInfo2::safe_VkBufferMemoryRequirementsInfo2()
6531{}
6532
6533safe_VkBufferMemoryRequirementsInfo2::safe_VkBufferMemoryRequirementsInfo2(const safe_VkBufferMemoryRequirementsInfo2& src)
6534{
6535 sType = src.sType;
6536 pNext = src.pNext;
6537 buffer = src.buffer;
6538}
6539
6540safe_VkBufferMemoryRequirementsInfo2& safe_VkBufferMemoryRequirementsInfo2::operator=(const safe_VkBufferMemoryRequirementsInfo2& src)
6541{
6542 if (&src == this) return *this;
6543
6544
6545 sType = src.sType;
6546 pNext = src.pNext;
6547 buffer = src.buffer;
6548
6549 return *this;
6550}
6551
6552safe_VkBufferMemoryRequirementsInfo2::~safe_VkBufferMemoryRequirementsInfo2()
6553{
6554}
6555
6556void safe_VkBufferMemoryRequirementsInfo2::initialize(const VkBufferMemoryRequirementsInfo2* in_struct)
6557{
6558 sType = in_struct->sType;
6559 pNext = in_struct->pNext;
6560 buffer = in_struct->buffer;
6561}
6562
6563void safe_VkBufferMemoryRequirementsInfo2::initialize(const safe_VkBufferMemoryRequirementsInfo2* src)
6564{
6565 sType = src->sType;
6566 pNext = src->pNext;
6567 buffer = src->buffer;
6568}
6569
6570safe_VkImageMemoryRequirementsInfo2::safe_VkImageMemoryRequirementsInfo2(const VkImageMemoryRequirementsInfo2* in_struct) :
6571 sType(in_struct->sType),
6572 pNext(in_struct->pNext),
6573 image(in_struct->image)
6574{
6575}
6576
6577safe_VkImageMemoryRequirementsInfo2::safe_VkImageMemoryRequirementsInfo2()
6578{}
6579
6580safe_VkImageMemoryRequirementsInfo2::safe_VkImageMemoryRequirementsInfo2(const safe_VkImageMemoryRequirementsInfo2& src)
6581{
6582 sType = src.sType;
6583 pNext = src.pNext;
6584 image = src.image;
6585}
6586
6587safe_VkImageMemoryRequirementsInfo2& safe_VkImageMemoryRequirementsInfo2::operator=(const safe_VkImageMemoryRequirementsInfo2& src)
6588{
6589 if (&src == this) return *this;
6590
6591
6592 sType = src.sType;
6593 pNext = src.pNext;
6594 image = src.image;
6595
6596 return *this;
6597}
6598
6599safe_VkImageMemoryRequirementsInfo2::~safe_VkImageMemoryRequirementsInfo2()
6600{
6601}
6602
6603void safe_VkImageMemoryRequirementsInfo2::initialize(const VkImageMemoryRequirementsInfo2* in_struct)
6604{
6605 sType = in_struct->sType;
6606 pNext = in_struct->pNext;
6607 image = in_struct->image;
6608}
6609
6610void safe_VkImageMemoryRequirementsInfo2::initialize(const safe_VkImageMemoryRequirementsInfo2* src)
6611{
6612 sType = src->sType;
6613 pNext = src->pNext;
6614 image = src->image;
6615}
6616
6617safe_VkImageSparseMemoryRequirementsInfo2::safe_VkImageSparseMemoryRequirementsInfo2(const VkImageSparseMemoryRequirementsInfo2* in_struct) :
6618 sType(in_struct->sType),
6619 pNext(in_struct->pNext),
6620 image(in_struct->image)
6621{
6622}
6623
6624safe_VkImageSparseMemoryRequirementsInfo2::safe_VkImageSparseMemoryRequirementsInfo2()
6625{}
6626
6627safe_VkImageSparseMemoryRequirementsInfo2::safe_VkImageSparseMemoryRequirementsInfo2(const safe_VkImageSparseMemoryRequirementsInfo2& src)
6628{
6629 sType = src.sType;
6630 pNext = src.pNext;
6631 image = src.image;
6632}
6633
6634safe_VkImageSparseMemoryRequirementsInfo2& safe_VkImageSparseMemoryRequirementsInfo2::operator=(const safe_VkImageSparseMemoryRequirementsInfo2& src)
6635{
6636 if (&src == this) return *this;
6637
6638
6639 sType = src.sType;
6640 pNext = src.pNext;
6641 image = src.image;
6642
6643 return *this;
6644}
6645
6646safe_VkImageSparseMemoryRequirementsInfo2::~safe_VkImageSparseMemoryRequirementsInfo2()
6647{
6648}
6649
6650void safe_VkImageSparseMemoryRequirementsInfo2::initialize(const VkImageSparseMemoryRequirementsInfo2* in_struct)
6651{
6652 sType = in_struct->sType;
6653 pNext = in_struct->pNext;
6654 image = in_struct->image;
6655}
6656
6657void safe_VkImageSparseMemoryRequirementsInfo2::initialize(const safe_VkImageSparseMemoryRequirementsInfo2* src)
6658{
6659 sType = src->sType;
6660 pNext = src->pNext;
6661 image = src->image;
6662}
6663
6664safe_VkMemoryRequirements2::safe_VkMemoryRequirements2(const VkMemoryRequirements2* in_struct) :
6665 sType(in_struct->sType),
6666 pNext(in_struct->pNext),
6667 memoryRequirements(in_struct->memoryRequirements)
6668{
6669}
6670
6671safe_VkMemoryRequirements2::safe_VkMemoryRequirements2()
6672{}
6673
6674safe_VkMemoryRequirements2::safe_VkMemoryRequirements2(const safe_VkMemoryRequirements2& src)
6675{
6676 sType = src.sType;
6677 pNext = src.pNext;
6678 memoryRequirements = src.memoryRequirements;
6679}
6680
6681safe_VkMemoryRequirements2& safe_VkMemoryRequirements2::operator=(const safe_VkMemoryRequirements2& src)
6682{
6683 if (&src == this) return *this;
6684
6685
6686 sType = src.sType;
6687 pNext = src.pNext;
6688 memoryRequirements = src.memoryRequirements;
6689
6690 return *this;
6691}
6692
6693safe_VkMemoryRequirements2::~safe_VkMemoryRequirements2()
6694{
6695}
6696
6697void safe_VkMemoryRequirements2::initialize(const VkMemoryRequirements2* in_struct)
6698{
6699 sType = in_struct->sType;
6700 pNext = in_struct->pNext;
6701 memoryRequirements = in_struct->memoryRequirements;
6702}
6703
6704void safe_VkMemoryRequirements2::initialize(const safe_VkMemoryRequirements2* src)
6705{
6706 sType = src->sType;
6707 pNext = src->pNext;
6708 memoryRequirements = src->memoryRequirements;
6709}
6710
6711safe_VkSparseImageMemoryRequirements2::safe_VkSparseImageMemoryRequirements2(const VkSparseImageMemoryRequirements2* in_struct) :
6712 sType(in_struct->sType),
6713 pNext(in_struct->pNext),
6714 memoryRequirements(in_struct->memoryRequirements)
6715{
6716}
6717
6718safe_VkSparseImageMemoryRequirements2::safe_VkSparseImageMemoryRequirements2()
6719{}
6720
6721safe_VkSparseImageMemoryRequirements2::safe_VkSparseImageMemoryRequirements2(const safe_VkSparseImageMemoryRequirements2& src)
6722{
6723 sType = src.sType;
6724 pNext = src.pNext;
6725 memoryRequirements = src.memoryRequirements;
6726}
6727
6728safe_VkSparseImageMemoryRequirements2& safe_VkSparseImageMemoryRequirements2::operator=(const safe_VkSparseImageMemoryRequirements2& src)
6729{
6730 if (&src == this) return *this;
6731
6732
6733 sType = src.sType;
6734 pNext = src.pNext;
6735 memoryRequirements = src.memoryRequirements;
6736
6737 return *this;
6738}
6739
6740safe_VkSparseImageMemoryRequirements2::~safe_VkSparseImageMemoryRequirements2()
6741{
6742}
6743
6744void safe_VkSparseImageMemoryRequirements2::initialize(const VkSparseImageMemoryRequirements2* in_struct)
6745{
6746 sType = in_struct->sType;
6747 pNext = in_struct->pNext;
6748 memoryRequirements = in_struct->memoryRequirements;
6749}
6750
6751void safe_VkSparseImageMemoryRequirements2::initialize(const safe_VkSparseImageMemoryRequirements2* src)
6752{
6753 sType = src->sType;
6754 pNext = src->pNext;
6755 memoryRequirements = src->memoryRequirements;
6756}
6757
6758safe_VkPhysicalDeviceFeatures2::safe_VkPhysicalDeviceFeatures2(const VkPhysicalDeviceFeatures2* in_struct) :
6759 sType(in_struct->sType),
6760 pNext(in_struct->pNext),
6761 features(in_struct->features)
6762{
6763}
6764
6765safe_VkPhysicalDeviceFeatures2::safe_VkPhysicalDeviceFeatures2()
6766{}
6767
6768safe_VkPhysicalDeviceFeatures2::safe_VkPhysicalDeviceFeatures2(const safe_VkPhysicalDeviceFeatures2& src)
6769{
6770 sType = src.sType;
6771 pNext = src.pNext;
6772 features = src.features;
6773}
6774
6775safe_VkPhysicalDeviceFeatures2& safe_VkPhysicalDeviceFeatures2::operator=(const safe_VkPhysicalDeviceFeatures2& src)
6776{
6777 if (&src == this) return *this;
6778
6779
6780 sType = src.sType;
6781 pNext = src.pNext;
6782 features = src.features;
6783
6784 return *this;
6785}
6786
6787safe_VkPhysicalDeviceFeatures2::~safe_VkPhysicalDeviceFeatures2()
6788{
6789}
6790
6791void safe_VkPhysicalDeviceFeatures2::initialize(const VkPhysicalDeviceFeatures2* in_struct)
6792{
6793 sType = in_struct->sType;
6794 pNext = in_struct->pNext;
6795 features = in_struct->features;
6796}
6797
6798void safe_VkPhysicalDeviceFeatures2::initialize(const safe_VkPhysicalDeviceFeatures2* src)
6799{
6800 sType = src->sType;
6801 pNext = src->pNext;
6802 features = src->features;
6803}
6804
6805safe_VkPhysicalDeviceProperties2::safe_VkPhysicalDeviceProperties2(const VkPhysicalDeviceProperties2* in_struct) :
6806 sType(in_struct->sType),
6807 pNext(in_struct->pNext),
6808 properties(in_struct->properties)
6809{
6810}
6811
6812safe_VkPhysicalDeviceProperties2::safe_VkPhysicalDeviceProperties2()
6813{}
6814
6815safe_VkPhysicalDeviceProperties2::safe_VkPhysicalDeviceProperties2(const safe_VkPhysicalDeviceProperties2& src)
6816{
6817 sType = src.sType;
6818 pNext = src.pNext;
6819 properties = src.properties;
6820}
6821
6822safe_VkPhysicalDeviceProperties2& safe_VkPhysicalDeviceProperties2::operator=(const safe_VkPhysicalDeviceProperties2& src)
6823{
6824 if (&src == this) return *this;
6825
6826
6827 sType = src.sType;
6828 pNext = src.pNext;
6829 properties = src.properties;
6830
6831 return *this;
6832}
6833
6834safe_VkPhysicalDeviceProperties2::~safe_VkPhysicalDeviceProperties2()
6835{
6836}
6837
6838void safe_VkPhysicalDeviceProperties2::initialize(const VkPhysicalDeviceProperties2* in_struct)
6839{
6840 sType = in_struct->sType;
6841 pNext = in_struct->pNext;
6842 properties = in_struct->properties;
6843}
6844
6845void safe_VkPhysicalDeviceProperties2::initialize(const safe_VkPhysicalDeviceProperties2* src)
6846{
6847 sType = src->sType;
6848 pNext = src->pNext;
6849 properties = src->properties;
6850}
6851
6852safe_VkFormatProperties2::safe_VkFormatProperties2(const VkFormatProperties2* in_struct) :
6853 sType(in_struct->sType),
6854 pNext(in_struct->pNext),
6855 formatProperties(in_struct->formatProperties)
6856{
6857}
6858
6859safe_VkFormatProperties2::safe_VkFormatProperties2()
6860{}
6861
6862safe_VkFormatProperties2::safe_VkFormatProperties2(const safe_VkFormatProperties2& src)
6863{
6864 sType = src.sType;
6865 pNext = src.pNext;
6866 formatProperties = src.formatProperties;
6867}
6868
6869safe_VkFormatProperties2& safe_VkFormatProperties2::operator=(const safe_VkFormatProperties2& src)
6870{
6871 if (&src == this) return *this;
6872
6873
6874 sType = src.sType;
6875 pNext = src.pNext;
6876 formatProperties = src.formatProperties;
6877
6878 return *this;
6879}
6880
6881safe_VkFormatProperties2::~safe_VkFormatProperties2()
6882{
6883}
6884
6885void safe_VkFormatProperties2::initialize(const VkFormatProperties2* in_struct)
6886{
6887 sType = in_struct->sType;
6888 pNext = in_struct->pNext;
6889 formatProperties = in_struct->formatProperties;
6890}
6891
6892void safe_VkFormatProperties2::initialize(const safe_VkFormatProperties2* src)
6893{
6894 sType = src->sType;
6895 pNext = src->pNext;
6896 formatProperties = src->formatProperties;
6897}
6898
6899safe_VkImageFormatProperties2::safe_VkImageFormatProperties2(const VkImageFormatProperties2* in_struct) :
6900 sType(in_struct->sType),
6901 pNext(in_struct->pNext),
6902 imageFormatProperties(in_struct->imageFormatProperties)
6903{
6904}
6905
6906safe_VkImageFormatProperties2::safe_VkImageFormatProperties2()
6907{}
6908
6909safe_VkImageFormatProperties2::safe_VkImageFormatProperties2(const safe_VkImageFormatProperties2& src)
6910{
6911 sType = src.sType;
6912 pNext = src.pNext;
6913 imageFormatProperties = src.imageFormatProperties;
6914}
6915
6916safe_VkImageFormatProperties2& safe_VkImageFormatProperties2::operator=(const safe_VkImageFormatProperties2& src)
6917{
6918 if (&src == this) return *this;
6919
6920
6921 sType = src.sType;
6922 pNext = src.pNext;
6923 imageFormatProperties = src.imageFormatProperties;
6924
6925 return *this;
6926}
6927
6928safe_VkImageFormatProperties2::~safe_VkImageFormatProperties2()
6929{
6930}
6931
6932void safe_VkImageFormatProperties2::initialize(const VkImageFormatProperties2* in_struct)
6933{
6934 sType = in_struct->sType;
6935 pNext = in_struct->pNext;
6936 imageFormatProperties = in_struct->imageFormatProperties;
6937}
6938
6939void safe_VkImageFormatProperties2::initialize(const safe_VkImageFormatProperties2* src)
6940{
6941 sType = src->sType;
6942 pNext = src->pNext;
6943 imageFormatProperties = src->imageFormatProperties;
6944}
6945
6946safe_VkPhysicalDeviceImageFormatInfo2::safe_VkPhysicalDeviceImageFormatInfo2(const VkPhysicalDeviceImageFormatInfo2* in_struct) :
6947 sType(in_struct->sType),
6948 pNext(in_struct->pNext),
6949 format(in_struct->format),
6950 type(in_struct->type),
6951 tiling(in_struct->tiling),
6952 usage(in_struct->usage),
6953 flags(in_struct->flags)
6954{
6955}
6956
6957safe_VkPhysicalDeviceImageFormatInfo2::safe_VkPhysicalDeviceImageFormatInfo2()
6958{}
6959
6960safe_VkPhysicalDeviceImageFormatInfo2::safe_VkPhysicalDeviceImageFormatInfo2(const safe_VkPhysicalDeviceImageFormatInfo2& src)
6961{
6962 sType = src.sType;
6963 pNext = src.pNext;
6964 format = src.format;
6965 type = src.type;
6966 tiling = src.tiling;
6967 usage = src.usage;
6968 flags = src.flags;
6969}
6970
6971safe_VkPhysicalDeviceImageFormatInfo2& safe_VkPhysicalDeviceImageFormatInfo2::operator=(const safe_VkPhysicalDeviceImageFormatInfo2& src)
6972{
6973 if (&src == this) return *this;
6974
6975
6976 sType = src.sType;
6977 pNext = src.pNext;
6978 format = src.format;
6979 type = src.type;
6980 tiling = src.tiling;
6981 usage = src.usage;
6982 flags = src.flags;
6983
6984 return *this;
6985}
6986
6987safe_VkPhysicalDeviceImageFormatInfo2::~safe_VkPhysicalDeviceImageFormatInfo2()
6988{
6989}
6990
6991void safe_VkPhysicalDeviceImageFormatInfo2::initialize(const VkPhysicalDeviceImageFormatInfo2* in_struct)
6992{
6993 sType = in_struct->sType;
6994 pNext = in_struct->pNext;
6995 format = in_struct->format;
6996 type = in_struct->type;
6997 tiling = in_struct->tiling;
6998 usage = in_struct->usage;
6999 flags = in_struct->flags;
7000}
7001
7002void safe_VkPhysicalDeviceImageFormatInfo2::initialize(const safe_VkPhysicalDeviceImageFormatInfo2* src)
7003{
7004 sType = src->sType;
7005 pNext = src->pNext;
7006 format = src->format;
7007 type = src->type;
7008 tiling = src->tiling;
7009 usage = src->usage;
7010 flags = src->flags;
7011}
7012
7013safe_VkQueueFamilyProperties2::safe_VkQueueFamilyProperties2(const VkQueueFamilyProperties2* in_struct) :
7014 sType(in_struct->sType),
7015 pNext(in_struct->pNext),
7016 queueFamilyProperties(in_struct->queueFamilyProperties)
7017{
7018}
7019
7020safe_VkQueueFamilyProperties2::safe_VkQueueFamilyProperties2()
7021{}
7022
7023safe_VkQueueFamilyProperties2::safe_VkQueueFamilyProperties2(const safe_VkQueueFamilyProperties2& src)
7024{
7025 sType = src.sType;
7026 pNext = src.pNext;
7027 queueFamilyProperties = src.queueFamilyProperties;
7028}
7029
7030safe_VkQueueFamilyProperties2& safe_VkQueueFamilyProperties2::operator=(const safe_VkQueueFamilyProperties2& src)
7031{
7032 if (&src == this) return *this;
7033
7034
7035 sType = src.sType;
7036 pNext = src.pNext;
7037 queueFamilyProperties = src.queueFamilyProperties;
7038
7039 return *this;
7040}
7041
7042safe_VkQueueFamilyProperties2::~safe_VkQueueFamilyProperties2()
7043{
7044}
7045
7046void safe_VkQueueFamilyProperties2::initialize(const VkQueueFamilyProperties2* in_struct)
7047{
7048 sType = in_struct->sType;
7049 pNext = in_struct->pNext;
7050 queueFamilyProperties = in_struct->queueFamilyProperties;
7051}
7052
7053void safe_VkQueueFamilyProperties2::initialize(const safe_VkQueueFamilyProperties2* src)
7054{
7055 sType = src->sType;
7056 pNext = src->pNext;
7057 queueFamilyProperties = src->queueFamilyProperties;
7058}
7059
7060safe_VkPhysicalDeviceMemoryProperties2::safe_VkPhysicalDeviceMemoryProperties2(const VkPhysicalDeviceMemoryProperties2* in_struct) :
7061 sType(in_struct->sType),
7062 pNext(in_struct->pNext),
7063 memoryProperties(in_struct->memoryProperties)
7064{
7065}
7066
7067safe_VkPhysicalDeviceMemoryProperties2::safe_VkPhysicalDeviceMemoryProperties2()
7068{}
7069
7070safe_VkPhysicalDeviceMemoryProperties2::safe_VkPhysicalDeviceMemoryProperties2(const safe_VkPhysicalDeviceMemoryProperties2& src)
7071{
7072 sType = src.sType;
7073 pNext = src.pNext;
7074 memoryProperties = src.memoryProperties;
7075}
7076
7077safe_VkPhysicalDeviceMemoryProperties2& safe_VkPhysicalDeviceMemoryProperties2::operator=(const safe_VkPhysicalDeviceMemoryProperties2& src)
7078{
7079 if (&src == this) return *this;
7080
7081
7082 sType = src.sType;
7083 pNext = src.pNext;
7084 memoryProperties = src.memoryProperties;
7085
7086 return *this;
7087}
7088
7089safe_VkPhysicalDeviceMemoryProperties2::~safe_VkPhysicalDeviceMemoryProperties2()
7090{
7091}
7092
7093void safe_VkPhysicalDeviceMemoryProperties2::initialize(const VkPhysicalDeviceMemoryProperties2* in_struct)
7094{
7095 sType = in_struct->sType;
7096 pNext = in_struct->pNext;
7097 memoryProperties = in_struct->memoryProperties;
7098}
7099
7100void safe_VkPhysicalDeviceMemoryProperties2::initialize(const safe_VkPhysicalDeviceMemoryProperties2* src)
7101{
7102 sType = src->sType;
7103 pNext = src->pNext;
7104 memoryProperties = src->memoryProperties;
7105}
7106
7107safe_VkSparseImageFormatProperties2::safe_VkSparseImageFormatProperties2(const VkSparseImageFormatProperties2* in_struct) :
7108 sType(in_struct->sType),
7109 pNext(in_struct->pNext),
7110 properties(in_struct->properties)
7111{
7112}
7113
7114safe_VkSparseImageFormatProperties2::safe_VkSparseImageFormatProperties2()
7115{}
7116
7117safe_VkSparseImageFormatProperties2::safe_VkSparseImageFormatProperties2(const safe_VkSparseImageFormatProperties2& src)
7118{
7119 sType = src.sType;
7120 pNext = src.pNext;
7121 properties = src.properties;
7122}
7123
7124safe_VkSparseImageFormatProperties2& safe_VkSparseImageFormatProperties2::operator=(const safe_VkSparseImageFormatProperties2& src)
7125{
7126 if (&src == this) return *this;
7127
7128
7129 sType = src.sType;
7130 pNext = src.pNext;
7131 properties = src.properties;
7132
7133 return *this;
7134}
7135
7136safe_VkSparseImageFormatProperties2::~safe_VkSparseImageFormatProperties2()
7137{
7138}
7139
7140void safe_VkSparseImageFormatProperties2::initialize(const VkSparseImageFormatProperties2* in_struct)
7141{
7142 sType = in_struct->sType;
7143 pNext = in_struct->pNext;
7144 properties = in_struct->properties;
7145}
7146
7147void safe_VkSparseImageFormatProperties2::initialize(const safe_VkSparseImageFormatProperties2* src)
7148{
7149 sType = src->sType;
7150 pNext = src->pNext;
7151 properties = src->properties;
7152}
7153
7154safe_VkPhysicalDeviceSparseImageFormatInfo2::safe_VkPhysicalDeviceSparseImageFormatInfo2(const VkPhysicalDeviceSparseImageFormatInfo2* in_struct) :
7155 sType(in_struct->sType),
7156 pNext(in_struct->pNext),
7157 format(in_struct->format),
7158 type(in_struct->type),
7159 samples(in_struct->samples),
7160 usage(in_struct->usage),
7161 tiling(in_struct->tiling)
7162{
7163}
7164
7165safe_VkPhysicalDeviceSparseImageFormatInfo2::safe_VkPhysicalDeviceSparseImageFormatInfo2()
7166{}
7167
7168safe_VkPhysicalDeviceSparseImageFormatInfo2::safe_VkPhysicalDeviceSparseImageFormatInfo2(const safe_VkPhysicalDeviceSparseImageFormatInfo2& src)
7169{
7170 sType = src.sType;
7171 pNext = src.pNext;
7172 format = src.format;
7173 type = src.type;
7174 samples = src.samples;
7175 usage = src.usage;
7176 tiling = src.tiling;
7177}
7178
7179safe_VkPhysicalDeviceSparseImageFormatInfo2& safe_VkPhysicalDeviceSparseImageFormatInfo2::operator=(const safe_VkPhysicalDeviceSparseImageFormatInfo2& src)
7180{
7181 if (&src == this) return *this;
7182
7183
7184 sType = src.sType;
7185 pNext = src.pNext;
7186 format = src.format;
7187 type = src.type;
7188 samples = src.samples;
7189 usage = src.usage;
7190 tiling = src.tiling;
7191
7192 return *this;
7193}
7194
7195safe_VkPhysicalDeviceSparseImageFormatInfo2::~safe_VkPhysicalDeviceSparseImageFormatInfo2()
7196{
7197}
7198
7199void safe_VkPhysicalDeviceSparseImageFormatInfo2::initialize(const VkPhysicalDeviceSparseImageFormatInfo2* in_struct)
7200{
7201 sType = in_struct->sType;
7202 pNext = in_struct->pNext;
7203 format = in_struct->format;
7204 type = in_struct->type;
7205 samples = in_struct->samples;
7206 usage = in_struct->usage;
7207 tiling = in_struct->tiling;
7208}
7209
7210void safe_VkPhysicalDeviceSparseImageFormatInfo2::initialize(const safe_VkPhysicalDeviceSparseImageFormatInfo2* src)
7211{
7212 sType = src->sType;
7213 pNext = src->pNext;
7214 format = src->format;
7215 type = src->type;
7216 samples = src->samples;
7217 usage = src->usage;
7218 tiling = src->tiling;
7219}
7220
7221safe_VkPhysicalDevicePointClippingProperties::safe_VkPhysicalDevicePointClippingProperties(const VkPhysicalDevicePointClippingProperties* in_struct) :
7222 sType(in_struct->sType),
7223 pNext(in_struct->pNext),
7224 pointClippingBehavior(in_struct->pointClippingBehavior)
7225{
7226}
7227
7228safe_VkPhysicalDevicePointClippingProperties::safe_VkPhysicalDevicePointClippingProperties()
7229{}
7230
7231safe_VkPhysicalDevicePointClippingProperties::safe_VkPhysicalDevicePointClippingProperties(const safe_VkPhysicalDevicePointClippingProperties& src)
7232{
7233 sType = src.sType;
7234 pNext = src.pNext;
7235 pointClippingBehavior = src.pointClippingBehavior;
7236}
7237
7238safe_VkPhysicalDevicePointClippingProperties& safe_VkPhysicalDevicePointClippingProperties::operator=(const safe_VkPhysicalDevicePointClippingProperties& src)
7239{
7240 if (&src == this) return *this;
7241
7242
7243 sType = src.sType;
7244 pNext = src.pNext;
7245 pointClippingBehavior = src.pointClippingBehavior;
7246
7247 return *this;
7248}
7249
7250safe_VkPhysicalDevicePointClippingProperties::~safe_VkPhysicalDevicePointClippingProperties()
7251{
7252}
7253
7254void safe_VkPhysicalDevicePointClippingProperties::initialize(const VkPhysicalDevicePointClippingProperties* in_struct)
7255{
7256 sType = in_struct->sType;
7257 pNext = in_struct->pNext;
7258 pointClippingBehavior = in_struct->pointClippingBehavior;
7259}
7260
7261void safe_VkPhysicalDevicePointClippingProperties::initialize(const safe_VkPhysicalDevicePointClippingProperties* src)
7262{
7263 sType = src->sType;
7264 pNext = src->pNext;
7265 pointClippingBehavior = src->pointClippingBehavior;
7266}
7267
7268safe_VkRenderPassInputAttachmentAspectCreateInfo::safe_VkRenderPassInputAttachmentAspectCreateInfo(const VkRenderPassInputAttachmentAspectCreateInfo* in_struct) :
7269 sType(in_struct->sType),
7270 pNext(in_struct->pNext),
7271 aspectReferenceCount(in_struct->aspectReferenceCount),
7272 pAspectReferences(nullptr)
7273{
7274 if (in_struct->pAspectReferences) {
7275 pAspectReferences = new VkInputAttachmentAspectReference[in_struct->aspectReferenceCount];
7276 memcpy ((void *)pAspectReferences, (void *)in_struct->pAspectReferences, sizeof(VkInputAttachmentAspectReference)*in_struct->aspectReferenceCount);
7277 }
7278}
7279
7280safe_VkRenderPassInputAttachmentAspectCreateInfo::safe_VkRenderPassInputAttachmentAspectCreateInfo() :
7281 pAspectReferences(nullptr)
7282{}
7283
7284safe_VkRenderPassInputAttachmentAspectCreateInfo::safe_VkRenderPassInputAttachmentAspectCreateInfo(const safe_VkRenderPassInputAttachmentAspectCreateInfo& src)
7285{
7286 sType = src.sType;
7287 pNext = src.pNext;
7288 aspectReferenceCount = src.aspectReferenceCount;
7289 pAspectReferences = nullptr;
7290 if (src.pAspectReferences) {
7291 pAspectReferences = new VkInputAttachmentAspectReference[src.aspectReferenceCount];
7292 memcpy ((void *)pAspectReferences, (void *)src.pAspectReferences, sizeof(VkInputAttachmentAspectReference)*src.aspectReferenceCount);
7293 }
7294}
7295
7296safe_VkRenderPassInputAttachmentAspectCreateInfo& safe_VkRenderPassInputAttachmentAspectCreateInfo::operator=(const safe_VkRenderPassInputAttachmentAspectCreateInfo& src)
7297{
7298 if (&src == this) return *this;
7299
7300 if (pAspectReferences)
7301 delete[] pAspectReferences;
7302
7303 sType = src.sType;
7304 pNext = src.pNext;
7305 aspectReferenceCount = src.aspectReferenceCount;
7306 pAspectReferences = nullptr;
7307 if (src.pAspectReferences) {
7308 pAspectReferences = new VkInputAttachmentAspectReference[src.aspectReferenceCount];
7309 memcpy ((void *)pAspectReferences, (void *)src.pAspectReferences, sizeof(VkInputAttachmentAspectReference)*src.aspectReferenceCount);
7310 }
7311
7312 return *this;
7313}
7314
7315safe_VkRenderPassInputAttachmentAspectCreateInfo::~safe_VkRenderPassInputAttachmentAspectCreateInfo()
7316{
7317 if (pAspectReferences)
7318 delete[] pAspectReferences;
7319}
7320
7321void safe_VkRenderPassInputAttachmentAspectCreateInfo::initialize(const VkRenderPassInputAttachmentAspectCreateInfo* in_struct)
7322{
7323 sType = in_struct->sType;
7324 pNext = in_struct->pNext;
7325 aspectReferenceCount = in_struct->aspectReferenceCount;
7326 pAspectReferences = nullptr;
7327 if (in_struct->pAspectReferences) {
7328 pAspectReferences = new VkInputAttachmentAspectReference[in_struct->aspectReferenceCount];
7329 memcpy ((void *)pAspectReferences, (void *)in_struct->pAspectReferences, sizeof(VkInputAttachmentAspectReference)*in_struct->aspectReferenceCount);
7330 }
7331}
7332
7333void safe_VkRenderPassInputAttachmentAspectCreateInfo::initialize(const safe_VkRenderPassInputAttachmentAspectCreateInfo* src)
7334{
7335 sType = src->sType;
7336 pNext = src->pNext;
7337 aspectReferenceCount = src->aspectReferenceCount;
7338 pAspectReferences = nullptr;
7339 if (src->pAspectReferences) {
7340 pAspectReferences = new VkInputAttachmentAspectReference[src->aspectReferenceCount];
7341 memcpy ((void *)pAspectReferences, (void *)src->pAspectReferences, sizeof(VkInputAttachmentAspectReference)*src->aspectReferenceCount);
7342 }
7343}
7344
7345safe_VkImageViewUsageCreateInfo::safe_VkImageViewUsageCreateInfo(const VkImageViewUsageCreateInfo* in_struct) :
7346 sType(in_struct->sType),
7347 pNext(in_struct->pNext),
7348 usage(in_struct->usage)
7349{
7350}
7351
7352safe_VkImageViewUsageCreateInfo::safe_VkImageViewUsageCreateInfo()
7353{}
7354
7355safe_VkImageViewUsageCreateInfo::safe_VkImageViewUsageCreateInfo(const safe_VkImageViewUsageCreateInfo& src)
7356{
7357 sType = src.sType;
7358 pNext = src.pNext;
7359 usage = src.usage;
7360}
7361
7362safe_VkImageViewUsageCreateInfo& safe_VkImageViewUsageCreateInfo::operator=(const safe_VkImageViewUsageCreateInfo& src)
7363{
7364 if (&src == this) return *this;
7365
7366
7367 sType = src.sType;
7368 pNext = src.pNext;
7369 usage = src.usage;
7370
7371 return *this;
7372}
7373
7374safe_VkImageViewUsageCreateInfo::~safe_VkImageViewUsageCreateInfo()
7375{
7376}
7377
7378void safe_VkImageViewUsageCreateInfo::initialize(const VkImageViewUsageCreateInfo* in_struct)
7379{
7380 sType = in_struct->sType;
7381 pNext = in_struct->pNext;
7382 usage = in_struct->usage;
7383}
7384
7385void safe_VkImageViewUsageCreateInfo::initialize(const safe_VkImageViewUsageCreateInfo* src)
7386{
7387 sType = src->sType;
7388 pNext = src->pNext;
7389 usage = src->usage;
7390}
7391
7392safe_VkPipelineTessellationDomainOriginStateCreateInfo::safe_VkPipelineTessellationDomainOriginStateCreateInfo(const VkPipelineTessellationDomainOriginStateCreateInfo* in_struct) :
7393 sType(in_struct->sType),
7394 pNext(in_struct->pNext),
7395 domainOrigin(in_struct->domainOrigin)
7396{
7397}
7398
7399safe_VkPipelineTessellationDomainOriginStateCreateInfo::safe_VkPipelineTessellationDomainOriginStateCreateInfo()
7400{}
7401
7402safe_VkPipelineTessellationDomainOriginStateCreateInfo::safe_VkPipelineTessellationDomainOriginStateCreateInfo(const safe_VkPipelineTessellationDomainOriginStateCreateInfo& src)
7403{
7404 sType = src.sType;
7405 pNext = src.pNext;
7406 domainOrigin = src.domainOrigin;
7407}
7408
7409safe_VkPipelineTessellationDomainOriginStateCreateInfo& safe_VkPipelineTessellationDomainOriginStateCreateInfo::operator=(const safe_VkPipelineTessellationDomainOriginStateCreateInfo& src)
7410{
7411 if (&src == this) return *this;
7412
7413
7414 sType = src.sType;
7415 pNext = src.pNext;
7416 domainOrigin = src.domainOrigin;
7417
7418 return *this;
7419}
7420
7421safe_VkPipelineTessellationDomainOriginStateCreateInfo::~safe_VkPipelineTessellationDomainOriginStateCreateInfo()
7422{
7423}
7424
7425void safe_VkPipelineTessellationDomainOriginStateCreateInfo::initialize(const VkPipelineTessellationDomainOriginStateCreateInfo* in_struct)
7426{
7427 sType = in_struct->sType;
7428 pNext = in_struct->pNext;
7429 domainOrigin = in_struct->domainOrigin;
7430}
7431
7432void safe_VkPipelineTessellationDomainOriginStateCreateInfo::initialize(const safe_VkPipelineTessellationDomainOriginStateCreateInfo* src)
7433{
7434 sType = src->sType;
7435 pNext = src->pNext;
7436 domainOrigin = src->domainOrigin;
7437}
7438
7439safe_VkRenderPassMultiviewCreateInfo::safe_VkRenderPassMultiviewCreateInfo(const VkRenderPassMultiviewCreateInfo* in_struct) :
7440 sType(in_struct->sType),
7441 pNext(in_struct->pNext),
7442 subpassCount(in_struct->subpassCount),
7443 pViewMasks(nullptr),
7444 dependencyCount(in_struct->dependencyCount),
7445 pViewOffsets(nullptr),
7446 correlationMaskCount(in_struct->correlationMaskCount),
7447 pCorrelationMasks(nullptr)
7448{
7449 if (in_struct->pViewMasks) {
7450 pViewMasks = new uint32_t[in_struct->subpassCount];
7451 memcpy ((void *)pViewMasks, (void *)in_struct->pViewMasks, sizeof(uint32_t)*in_struct->subpassCount);
7452 }
7453 if (in_struct->pViewOffsets) {
7454 pViewOffsets = new int32_t[in_struct->dependencyCount];
7455 memcpy ((void *)pViewOffsets, (void *)in_struct->pViewOffsets, sizeof(int32_t)*in_struct->dependencyCount);
7456 }
7457 if (in_struct->pCorrelationMasks) {
7458 pCorrelationMasks = new uint32_t[in_struct->correlationMaskCount];
7459 memcpy ((void *)pCorrelationMasks, (void *)in_struct->pCorrelationMasks, sizeof(uint32_t)*in_struct->correlationMaskCount);
7460 }
7461}
7462
7463safe_VkRenderPassMultiviewCreateInfo::safe_VkRenderPassMultiviewCreateInfo() :
7464 pViewMasks(nullptr),
7465 pViewOffsets(nullptr),
7466 pCorrelationMasks(nullptr)
7467{}
7468
7469safe_VkRenderPassMultiviewCreateInfo::safe_VkRenderPassMultiviewCreateInfo(const safe_VkRenderPassMultiviewCreateInfo& src)
7470{
7471 sType = src.sType;
7472 pNext = src.pNext;
7473 subpassCount = src.subpassCount;
7474 pViewMasks = nullptr;
7475 dependencyCount = src.dependencyCount;
7476 pViewOffsets = nullptr;
7477 correlationMaskCount = src.correlationMaskCount;
7478 pCorrelationMasks = nullptr;
7479 if (src.pViewMasks) {
7480 pViewMasks = new uint32_t[src.subpassCount];
7481 memcpy ((void *)pViewMasks, (void *)src.pViewMasks, sizeof(uint32_t)*src.subpassCount);
7482 }
7483 if (src.pViewOffsets) {
7484 pViewOffsets = new int32_t[src.dependencyCount];
7485 memcpy ((void *)pViewOffsets, (void *)src.pViewOffsets, sizeof(int32_t)*src.dependencyCount);
7486 }
7487 if (src.pCorrelationMasks) {
7488 pCorrelationMasks = new uint32_t[src.correlationMaskCount];
7489 memcpy ((void *)pCorrelationMasks, (void *)src.pCorrelationMasks, sizeof(uint32_t)*src.correlationMaskCount);
7490 }
7491}
7492
7493safe_VkRenderPassMultiviewCreateInfo& safe_VkRenderPassMultiviewCreateInfo::operator=(const safe_VkRenderPassMultiviewCreateInfo& src)
7494{
7495 if (&src == this) return *this;
7496
7497 if (pViewMasks)
7498 delete[] pViewMasks;
7499 if (pViewOffsets)
7500 delete[] pViewOffsets;
7501 if (pCorrelationMasks)
7502 delete[] pCorrelationMasks;
7503
7504 sType = src.sType;
7505 pNext = src.pNext;
7506 subpassCount = src.subpassCount;
7507 pViewMasks = nullptr;
7508 dependencyCount = src.dependencyCount;
7509 pViewOffsets = nullptr;
7510 correlationMaskCount = src.correlationMaskCount;
7511 pCorrelationMasks = nullptr;
7512 if (src.pViewMasks) {
7513 pViewMasks = new uint32_t[src.subpassCount];
7514 memcpy ((void *)pViewMasks, (void *)src.pViewMasks, sizeof(uint32_t)*src.subpassCount);
7515 }
7516 if (src.pViewOffsets) {
7517 pViewOffsets = new int32_t[src.dependencyCount];
7518 memcpy ((void *)pViewOffsets, (void *)src.pViewOffsets, sizeof(int32_t)*src.dependencyCount);
7519 }
7520 if (src.pCorrelationMasks) {
7521 pCorrelationMasks = new uint32_t[src.correlationMaskCount];
7522 memcpy ((void *)pCorrelationMasks, (void *)src.pCorrelationMasks, sizeof(uint32_t)*src.correlationMaskCount);
7523 }
7524
7525 return *this;
7526}
7527
7528safe_VkRenderPassMultiviewCreateInfo::~safe_VkRenderPassMultiviewCreateInfo()
7529{
7530 if (pViewMasks)
7531 delete[] pViewMasks;
7532 if (pViewOffsets)
7533 delete[] pViewOffsets;
7534 if (pCorrelationMasks)
7535 delete[] pCorrelationMasks;
7536}
7537
7538void safe_VkRenderPassMultiviewCreateInfo::initialize(const VkRenderPassMultiviewCreateInfo* in_struct)
7539{
7540 sType = in_struct->sType;
7541 pNext = in_struct->pNext;
7542 subpassCount = in_struct->subpassCount;
7543 pViewMasks = nullptr;
7544 dependencyCount = in_struct->dependencyCount;
7545 pViewOffsets = nullptr;
7546 correlationMaskCount = in_struct->correlationMaskCount;
7547 pCorrelationMasks = nullptr;
7548 if (in_struct->pViewMasks) {
7549 pViewMasks = new uint32_t[in_struct->subpassCount];
7550 memcpy ((void *)pViewMasks, (void *)in_struct->pViewMasks, sizeof(uint32_t)*in_struct->subpassCount);
7551 }
7552 if (in_struct->pViewOffsets) {
7553 pViewOffsets = new int32_t[in_struct->dependencyCount];
7554 memcpy ((void *)pViewOffsets, (void *)in_struct->pViewOffsets, sizeof(int32_t)*in_struct->dependencyCount);
7555 }
7556 if (in_struct->pCorrelationMasks) {
7557 pCorrelationMasks = new uint32_t[in_struct->correlationMaskCount];
7558 memcpy ((void *)pCorrelationMasks, (void *)in_struct->pCorrelationMasks, sizeof(uint32_t)*in_struct->correlationMaskCount);
7559 }
7560}
7561
7562void safe_VkRenderPassMultiviewCreateInfo::initialize(const safe_VkRenderPassMultiviewCreateInfo* src)
7563{
7564 sType = src->sType;
7565 pNext = src->pNext;
7566 subpassCount = src->subpassCount;
7567 pViewMasks = nullptr;
7568 dependencyCount = src->dependencyCount;
7569 pViewOffsets = nullptr;
7570 correlationMaskCount = src->correlationMaskCount;
7571 pCorrelationMasks = nullptr;
7572 if (src->pViewMasks) {
7573 pViewMasks = new uint32_t[src->subpassCount];
7574 memcpy ((void *)pViewMasks, (void *)src->pViewMasks, sizeof(uint32_t)*src->subpassCount);
7575 }
7576 if (src->pViewOffsets) {
7577 pViewOffsets = new int32_t[src->dependencyCount];
7578 memcpy ((void *)pViewOffsets, (void *)src->pViewOffsets, sizeof(int32_t)*src->dependencyCount);
7579 }
7580 if (src->pCorrelationMasks) {
7581 pCorrelationMasks = new uint32_t[src->correlationMaskCount];
7582 memcpy ((void *)pCorrelationMasks, (void *)src->pCorrelationMasks, sizeof(uint32_t)*src->correlationMaskCount);
7583 }
7584}
7585
7586safe_VkPhysicalDeviceMultiviewFeatures::safe_VkPhysicalDeviceMultiviewFeatures(const VkPhysicalDeviceMultiviewFeatures* in_struct) :
7587 sType(in_struct->sType),
7588 pNext(in_struct->pNext),
7589 multiview(in_struct->multiview),
7590 multiviewGeometryShader(in_struct->multiviewGeometryShader),
7591 multiviewTessellationShader(in_struct->multiviewTessellationShader)
7592{
7593}
7594
7595safe_VkPhysicalDeviceMultiviewFeatures::safe_VkPhysicalDeviceMultiviewFeatures()
7596{}
7597
7598safe_VkPhysicalDeviceMultiviewFeatures::safe_VkPhysicalDeviceMultiviewFeatures(const safe_VkPhysicalDeviceMultiviewFeatures& src)
7599{
7600 sType = src.sType;
7601 pNext = src.pNext;
7602 multiview = src.multiview;
7603 multiviewGeometryShader = src.multiviewGeometryShader;
7604 multiviewTessellationShader = src.multiviewTessellationShader;
7605}
7606
7607safe_VkPhysicalDeviceMultiviewFeatures& safe_VkPhysicalDeviceMultiviewFeatures::operator=(const safe_VkPhysicalDeviceMultiviewFeatures& src)
7608{
7609 if (&src == this) return *this;
7610
7611
7612 sType = src.sType;
7613 pNext = src.pNext;
7614 multiview = src.multiview;
7615 multiviewGeometryShader = src.multiviewGeometryShader;
7616 multiviewTessellationShader = src.multiviewTessellationShader;
7617
7618 return *this;
7619}
7620
7621safe_VkPhysicalDeviceMultiviewFeatures::~safe_VkPhysicalDeviceMultiviewFeatures()
7622{
7623}
7624
7625void safe_VkPhysicalDeviceMultiviewFeatures::initialize(const VkPhysicalDeviceMultiviewFeatures* in_struct)
7626{
7627 sType = in_struct->sType;
7628 pNext = in_struct->pNext;
7629 multiview = in_struct->multiview;
7630 multiviewGeometryShader = in_struct->multiviewGeometryShader;
7631 multiviewTessellationShader = in_struct->multiviewTessellationShader;
7632}
7633
7634void safe_VkPhysicalDeviceMultiviewFeatures::initialize(const safe_VkPhysicalDeviceMultiviewFeatures* src)
7635{
7636 sType = src->sType;
7637 pNext = src->pNext;
7638 multiview = src->multiview;
7639 multiviewGeometryShader = src->multiviewGeometryShader;
7640 multiviewTessellationShader = src->multiviewTessellationShader;
7641}
7642
7643safe_VkPhysicalDeviceMultiviewProperties::safe_VkPhysicalDeviceMultiviewProperties(const VkPhysicalDeviceMultiviewProperties* in_struct) :
7644 sType(in_struct->sType),
7645 pNext(in_struct->pNext),
7646 maxMultiviewViewCount(in_struct->maxMultiviewViewCount),
7647 maxMultiviewInstanceIndex(in_struct->maxMultiviewInstanceIndex)
7648{
7649}
7650
7651safe_VkPhysicalDeviceMultiviewProperties::safe_VkPhysicalDeviceMultiviewProperties()
7652{}
7653
7654safe_VkPhysicalDeviceMultiviewProperties::safe_VkPhysicalDeviceMultiviewProperties(const safe_VkPhysicalDeviceMultiviewProperties& src)
7655{
7656 sType = src.sType;
7657 pNext = src.pNext;
7658 maxMultiviewViewCount = src.maxMultiviewViewCount;
7659 maxMultiviewInstanceIndex = src.maxMultiviewInstanceIndex;
7660}
7661
7662safe_VkPhysicalDeviceMultiviewProperties& safe_VkPhysicalDeviceMultiviewProperties::operator=(const safe_VkPhysicalDeviceMultiviewProperties& src)
7663{
7664 if (&src == this) return *this;
7665
7666
7667 sType = src.sType;
7668 pNext = src.pNext;
7669 maxMultiviewViewCount = src.maxMultiviewViewCount;
7670 maxMultiviewInstanceIndex = src.maxMultiviewInstanceIndex;
7671
7672 return *this;
7673}
7674
7675safe_VkPhysicalDeviceMultiviewProperties::~safe_VkPhysicalDeviceMultiviewProperties()
7676{
7677}
7678
7679void safe_VkPhysicalDeviceMultiviewProperties::initialize(const VkPhysicalDeviceMultiviewProperties* in_struct)
7680{
7681 sType = in_struct->sType;
7682 pNext = in_struct->pNext;
7683 maxMultiviewViewCount = in_struct->maxMultiviewViewCount;
7684 maxMultiviewInstanceIndex = in_struct->maxMultiviewInstanceIndex;
7685}
7686
7687void safe_VkPhysicalDeviceMultiviewProperties::initialize(const safe_VkPhysicalDeviceMultiviewProperties* src)
7688{
7689 sType = src->sType;
7690 pNext = src->pNext;
7691 maxMultiviewViewCount = src->maxMultiviewViewCount;
7692 maxMultiviewInstanceIndex = src->maxMultiviewInstanceIndex;
7693}
7694
7695safe_VkPhysicalDeviceVariablePointersFeatures::safe_VkPhysicalDeviceVariablePointersFeatures(const VkPhysicalDeviceVariablePointersFeatures* in_struct) :
7696 sType(in_struct->sType),
7697 pNext(in_struct->pNext),
7698 variablePointersStorageBuffer(in_struct->variablePointersStorageBuffer),
7699 variablePointers(in_struct->variablePointers)
7700{
7701}
7702
7703safe_VkPhysicalDeviceVariablePointersFeatures::safe_VkPhysicalDeviceVariablePointersFeatures()
7704{}
7705
7706safe_VkPhysicalDeviceVariablePointersFeatures::safe_VkPhysicalDeviceVariablePointersFeatures(const safe_VkPhysicalDeviceVariablePointersFeatures& src)
7707{
7708 sType = src.sType;
7709 pNext = src.pNext;
7710 variablePointersStorageBuffer = src.variablePointersStorageBuffer;
7711 variablePointers = src.variablePointers;
7712}
7713
7714safe_VkPhysicalDeviceVariablePointersFeatures& safe_VkPhysicalDeviceVariablePointersFeatures::operator=(const safe_VkPhysicalDeviceVariablePointersFeatures& src)
7715{
7716 if (&src == this) return *this;
7717
7718
7719 sType = src.sType;
7720 pNext = src.pNext;
7721 variablePointersStorageBuffer = src.variablePointersStorageBuffer;
7722 variablePointers = src.variablePointers;
7723
7724 return *this;
7725}
7726
7727safe_VkPhysicalDeviceVariablePointersFeatures::~safe_VkPhysicalDeviceVariablePointersFeatures()
7728{
7729}
7730
7731void safe_VkPhysicalDeviceVariablePointersFeatures::initialize(const VkPhysicalDeviceVariablePointersFeatures* in_struct)
7732{
7733 sType = in_struct->sType;
7734 pNext = in_struct->pNext;
7735 variablePointersStorageBuffer = in_struct->variablePointersStorageBuffer;
7736 variablePointers = in_struct->variablePointers;
7737}
7738
7739void safe_VkPhysicalDeviceVariablePointersFeatures::initialize(const safe_VkPhysicalDeviceVariablePointersFeatures* src)
7740{
7741 sType = src->sType;
7742 pNext = src->pNext;
7743 variablePointersStorageBuffer = src->variablePointersStorageBuffer;
7744 variablePointers = src->variablePointers;
7745}
7746
7747safe_VkPhysicalDeviceProtectedMemoryFeatures::safe_VkPhysicalDeviceProtectedMemoryFeatures(const VkPhysicalDeviceProtectedMemoryFeatures* in_struct) :
7748 sType(in_struct->sType),
7749 pNext(in_struct->pNext),
7750 protectedMemory(in_struct->protectedMemory)
7751{
7752}
7753
7754safe_VkPhysicalDeviceProtectedMemoryFeatures::safe_VkPhysicalDeviceProtectedMemoryFeatures()
7755{}
7756
7757safe_VkPhysicalDeviceProtectedMemoryFeatures::safe_VkPhysicalDeviceProtectedMemoryFeatures(const safe_VkPhysicalDeviceProtectedMemoryFeatures& src)
7758{
7759 sType = src.sType;
7760 pNext = src.pNext;
7761 protectedMemory = src.protectedMemory;
7762}
7763
7764safe_VkPhysicalDeviceProtectedMemoryFeatures& safe_VkPhysicalDeviceProtectedMemoryFeatures::operator=(const safe_VkPhysicalDeviceProtectedMemoryFeatures& src)
7765{
7766 if (&src == this) return *this;
7767
7768
7769 sType = src.sType;
7770 pNext = src.pNext;
7771 protectedMemory = src.protectedMemory;
7772
7773 return *this;
7774}
7775
7776safe_VkPhysicalDeviceProtectedMemoryFeatures::~safe_VkPhysicalDeviceProtectedMemoryFeatures()
7777{
7778}
7779
7780void safe_VkPhysicalDeviceProtectedMemoryFeatures::initialize(const VkPhysicalDeviceProtectedMemoryFeatures* in_struct)
7781{
7782 sType = in_struct->sType;
7783 pNext = in_struct->pNext;
7784 protectedMemory = in_struct->protectedMemory;
7785}
7786
7787void safe_VkPhysicalDeviceProtectedMemoryFeatures::initialize(const safe_VkPhysicalDeviceProtectedMemoryFeatures* src)
7788{
7789 sType = src->sType;
7790 pNext = src->pNext;
7791 protectedMemory = src->protectedMemory;
7792}
7793
7794safe_VkPhysicalDeviceProtectedMemoryProperties::safe_VkPhysicalDeviceProtectedMemoryProperties(const VkPhysicalDeviceProtectedMemoryProperties* in_struct) :
7795 sType(in_struct->sType),
7796 pNext(in_struct->pNext),
7797 protectedNoFault(in_struct->protectedNoFault)
7798{
7799}
7800
7801safe_VkPhysicalDeviceProtectedMemoryProperties::safe_VkPhysicalDeviceProtectedMemoryProperties()
7802{}
7803
7804safe_VkPhysicalDeviceProtectedMemoryProperties::safe_VkPhysicalDeviceProtectedMemoryProperties(const safe_VkPhysicalDeviceProtectedMemoryProperties& src)
7805{
7806 sType = src.sType;
7807 pNext = src.pNext;
7808 protectedNoFault = src.protectedNoFault;
7809}
7810
7811safe_VkPhysicalDeviceProtectedMemoryProperties& safe_VkPhysicalDeviceProtectedMemoryProperties::operator=(const safe_VkPhysicalDeviceProtectedMemoryProperties& src)
7812{
7813 if (&src == this) return *this;
7814
7815
7816 sType = src.sType;
7817 pNext = src.pNext;
7818 protectedNoFault = src.protectedNoFault;
7819
7820 return *this;
7821}
7822
7823safe_VkPhysicalDeviceProtectedMemoryProperties::~safe_VkPhysicalDeviceProtectedMemoryProperties()
7824{
7825}
7826
7827void safe_VkPhysicalDeviceProtectedMemoryProperties::initialize(const VkPhysicalDeviceProtectedMemoryProperties* in_struct)
7828{
7829 sType = in_struct->sType;
7830 pNext = in_struct->pNext;
7831 protectedNoFault = in_struct->protectedNoFault;
7832}
7833
7834void safe_VkPhysicalDeviceProtectedMemoryProperties::initialize(const safe_VkPhysicalDeviceProtectedMemoryProperties* src)
7835{
7836 sType = src->sType;
7837 pNext = src->pNext;
7838 protectedNoFault = src->protectedNoFault;
7839}
7840
7841safe_VkDeviceQueueInfo2::safe_VkDeviceQueueInfo2(const VkDeviceQueueInfo2* in_struct) :
7842 sType(in_struct->sType),
7843 pNext(in_struct->pNext),
7844 flags(in_struct->flags),
7845 queueFamilyIndex(in_struct->queueFamilyIndex),
7846 queueIndex(in_struct->queueIndex)
7847{
7848}
7849
7850safe_VkDeviceQueueInfo2::safe_VkDeviceQueueInfo2()
7851{}
7852
7853safe_VkDeviceQueueInfo2::safe_VkDeviceQueueInfo2(const safe_VkDeviceQueueInfo2& src)
7854{
7855 sType = src.sType;
7856 pNext = src.pNext;
7857 flags = src.flags;
7858 queueFamilyIndex = src.queueFamilyIndex;
7859 queueIndex = src.queueIndex;
7860}
7861
7862safe_VkDeviceQueueInfo2& safe_VkDeviceQueueInfo2::operator=(const safe_VkDeviceQueueInfo2& src)
7863{
7864 if (&src == this) return *this;
7865
7866
7867 sType = src.sType;
7868 pNext = src.pNext;
7869 flags = src.flags;
7870 queueFamilyIndex = src.queueFamilyIndex;
7871 queueIndex = src.queueIndex;
7872
7873 return *this;
7874}
7875
7876safe_VkDeviceQueueInfo2::~safe_VkDeviceQueueInfo2()
7877{
7878}
7879
7880void safe_VkDeviceQueueInfo2::initialize(const VkDeviceQueueInfo2* in_struct)
7881{
7882 sType = in_struct->sType;
7883 pNext = in_struct->pNext;
7884 flags = in_struct->flags;
7885 queueFamilyIndex = in_struct->queueFamilyIndex;
7886 queueIndex = in_struct->queueIndex;
7887}
7888
7889void safe_VkDeviceQueueInfo2::initialize(const safe_VkDeviceQueueInfo2* src)
7890{
7891 sType = src->sType;
7892 pNext = src->pNext;
7893 flags = src->flags;
7894 queueFamilyIndex = src->queueFamilyIndex;
7895 queueIndex = src->queueIndex;
7896}
7897
7898safe_VkProtectedSubmitInfo::safe_VkProtectedSubmitInfo(const VkProtectedSubmitInfo* in_struct) :
7899 sType(in_struct->sType),
7900 pNext(in_struct->pNext),
7901 protectedSubmit(in_struct->protectedSubmit)
7902{
7903}
7904
7905safe_VkProtectedSubmitInfo::safe_VkProtectedSubmitInfo()
7906{}
7907
7908safe_VkProtectedSubmitInfo::safe_VkProtectedSubmitInfo(const safe_VkProtectedSubmitInfo& src)
7909{
7910 sType = src.sType;
7911 pNext = src.pNext;
7912 protectedSubmit = src.protectedSubmit;
7913}
7914
7915safe_VkProtectedSubmitInfo& safe_VkProtectedSubmitInfo::operator=(const safe_VkProtectedSubmitInfo& src)
7916{
7917 if (&src == this) return *this;
7918
7919
7920 sType = src.sType;
7921 pNext = src.pNext;
7922 protectedSubmit = src.protectedSubmit;
7923
7924 return *this;
7925}
7926
7927safe_VkProtectedSubmitInfo::~safe_VkProtectedSubmitInfo()
7928{
7929}
7930
7931void safe_VkProtectedSubmitInfo::initialize(const VkProtectedSubmitInfo* in_struct)
7932{
7933 sType = in_struct->sType;
7934 pNext = in_struct->pNext;
7935 protectedSubmit = in_struct->protectedSubmit;
7936}
7937
7938void safe_VkProtectedSubmitInfo::initialize(const safe_VkProtectedSubmitInfo* src)
7939{
7940 sType = src->sType;
7941 pNext = src->pNext;
7942 protectedSubmit = src->protectedSubmit;
7943}
7944
7945safe_VkSamplerYcbcrConversionCreateInfo::safe_VkSamplerYcbcrConversionCreateInfo(const VkSamplerYcbcrConversionCreateInfo* in_struct) :
7946 sType(in_struct->sType),
7947 pNext(in_struct->pNext),
7948 format(in_struct->format),
7949 ycbcrModel(in_struct->ycbcrModel),
7950 ycbcrRange(in_struct->ycbcrRange),
7951 components(in_struct->components),
7952 xChromaOffset(in_struct->xChromaOffset),
7953 yChromaOffset(in_struct->yChromaOffset),
7954 chromaFilter(in_struct->chromaFilter),
7955 forceExplicitReconstruction(in_struct->forceExplicitReconstruction)
7956{
7957}
7958
7959safe_VkSamplerYcbcrConversionCreateInfo::safe_VkSamplerYcbcrConversionCreateInfo()
7960{}
7961
7962safe_VkSamplerYcbcrConversionCreateInfo::safe_VkSamplerYcbcrConversionCreateInfo(const safe_VkSamplerYcbcrConversionCreateInfo& src)
7963{
7964 sType = src.sType;
7965 pNext = src.pNext;
7966 format = src.format;
7967 ycbcrModel = src.ycbcrModel;
7968 ycbcrRange = src.ycbcrRange;
7969 components = src.components;
7970 xChromaOffset = src.xChromaOffset;
7971 yChromaOffset = src.yChromaOffset;
7972 chromaFilter = src.chromaFilter;
7973 forceExplicitReconstruction = src.forceExplicitReconstruction;
7974}
7975
7976safe_VkSamplerYcbcrConversionCreateInfo& safe_VkSamplerYcbcrConversionCreateInfo::operator=(const safe_VkSamplerYcbcrConversionCreateInfo& src)
7977{
7978 if (&src == this) return *this;
7979
7980
7981 sType = src.sType;
7982 pNext = src.pNext;
7983 format = src.format;
7984 ycbcrModel = src.ycbcrModel;
7985 ycbcrRange = src.ycbcrRange;
7986 components = src.components;
7987 xChromaOffset = src.xChromaOffset;
7988 yChromaOffset = src.yChromaOffset;
7989 chromaFilter = src.chromaFilter;
7990 forceExplicitReconstruction = src.forceExplicitReconstruction;
7991
7992 return *this;
7993}
7994
7995safe_VkSamplerYcbcrConversionCreateInfo::~safe_VkSamplerYcbcrConversionCreateInfo()
7996{
7997}
7998
7999void safe_VkSamplerYcbcrConversionCreateInfo::initialize(const VkSamplerYcbcrConversionCreateInfo* in_struct)
8000{
8001 sType = in_struct->sType;
8002 pNext = in_struct->pNext;
8003 format = in_struct->format;
8004 ycbcrModel = in_struct->ycbcrModel;
8005 ycbcrRange = in_struct->ycbcrRange;
8006 components = in_struct->components;
8007 xChromaOffset = in_struct->xChromaOffset;
8008 yChromaOffset = in_struct->yChromaOffset;
8009 chromaFilter = in_struct->chromaFilter;
8010 forceExplicitReconstruction = in_struct->forceExplicitReconstruction;
8011}
8012
8013void safe_VkSamplerYcbcrConversionCreateInfo::initialize(const safe_VkSamplerYcbcrConversionCreateInfo* src)
8014{
8015 sType = src->sType;
8016 pNext = src->pNext;
8017 format = src->format;
8018 ycbcrModel = src->ycbcrModel;
8019 ycbcrRange = src->ycbcrRange;
8020 components = src->components;
8021 xChromaOffset = src->xChromaOffset;
8022 yChromaOffset = src->yChromaOffset;
8023 chromaFilter = src->chromaFilter;
8024 forceExplicitReconstruction = src->forceExplicitReconstruction;
8025}
8026
8027safe_VkSamplerYcbcrConversionInfo::safe_VkSamplerYcbcrConversionInfo(const VkSamplerYcbcrConversionInfo* in_struct) :
8028 sType(in_struct->sType),
8029 pNext(in_struct->pNext),
8030 conversion(in_struct->conversion)
8031{
8032}
8033
8034safe_VkSamplerYcbcrConversionInfo::safe_VkSamplerYcbcrConversionInfo()
8035{}
8036
8037safe_VkSamplerYcbcrConversionInfo::safe_VkSamplerYcbcrConversionInfo(const safe_VkSamplerYcbcrConversionInfo& src)
8038{
8039 sType = src.sType;
8040 pNext = src.pNext;
8041 conversion = src.conversion;
8042}
8043
8044safe_VkSamplerYcbcrConversionInfo& safe_VkSamplerYcbcrConversionInfo::operator=(const safe_VkSamplerYcbcrConversionInfo& src)
8045{
8046 if (&src == this) return *this;
8047
8048
8049 sType = src.sType;
8050 pNext = src.pNext;
8051 conversion = src.conversion;
8052
8053 return *this;
8054}
8055
8056safe_VkSamplerYcbcrConversionInfo::~safe_VkSamplerYcbcrConversionInfo()
8057{
8058}
8059
8060void safe_VkSamplerYcbcrConversionInfo::initialize(const VkSamplerYcbcrConversionInfo* in_struct)
8061{
8062 sType = in_struct->sType;
8063 pNext = in_struct->pNext;
8064 conversion = in_struct->conversion;
8065}
8066
8067void safe_VkSamplerYcbcrConversionInfo::initialize(const safe_VkSamplerYcbcrConversionInfo* src)
8068{
8069 sType = src->sType;
8070 pNext = src->pNext;
8071 conversion = src->conversion;
8072}
8073
8074safe_VkBindImagePlaneMemoryInfo::safe_VkBindImagePlaneMemoryInfo(const VkBindImagePlaneMemoryInfo* in_struct) :
8075 sType(in_struct->sType),
8076 pNext(in_struct->pNext),
8077 planeAspect(in_struct->planeAspect)
8078{
8079}
8080
8081safe_VkBindImagePlaneMemoryInfo::safe_VkBindImagePlaneMemoryInfo()
8082{}
8083
8084safe_VkBindImagePlaneMemoryInfo::safe_VkBindImagePlaneMemoryInfo(const safe_VkBindImagePlaneMemoryInfo& src)
8085{
8086 sType = src.sType;
8087 pNext = src.pNext;
8088 planeAspect = src.planeAspect;
8089}
8090
8091safe_VkBindImagePlaneMemoryInfo& safe_VkBindImagePlaneMemoryInfo::operator=(const safe_VkBindImagePlaneMemoryInfo& src)
8092{
8093 if (&src == this) return *this;
8094
8095
8096 sType = src.sType;
8097 pNext = src.pNext;
8098 planeAspect = src.planeAspect;
8099
8100 return *this;
8101}
8102
8103safe_VkBindImagePlaneMemoryInfo::~safe_VkBindImagePlaneMemoryInfo()
8104{
8105}
8106
8107void safe_VkBindImagePlaneMemoryInfo::initialize(const VkBindImagePlaneMemoryInfo* in_struct)
8108{
8109 sType = in_struct->sType;
8110 pNext = in_struct->pNext;
8111 planeAspect = in_struct->planeAspect;
8112}
8113
8114void safe_VkBindImagePlaneMemoryInfo::initialize(const safe_VkBindImagePlaneMemoryInfo* src)
8115{
8116 sType = src->sType;
8117 pNext = src->pNext;
8118 planeAspect = src->planeAspect;
8119}
8120
8121safe_VkImagePlaneMemoryRequirementsInfo::safe_VkImagePlaneMemoryRequirementsInfo(const VkImagePlaneMemoryRequirementsInfo* in_struct) :
8122 sType(in_struct->sType),
8123 pNext(in_struct->pNext),
8124 planeAspect(in_struct->planeAspect)
8125{
8126}
8127
8128safe_VkImagePlaneMemoryRequirementsInfo::safe_VkImagePlaneMemoryRequirementsInfo()
8129{}
8130
8131safe_VkImagePlaneMemoryRequirementsInfo::safe_VkImagePlaneMemoryRequirementsInfo(const safe_VkImagePlaneMemoryRequirementsInfo& src)
8132{
8133 sType = src.sType;
8134 pNext = src.pNext;
8135 planeAspect = src.planeAspect;
8136}
8137
8138safe_VkImagePlaneMemoryRequirementsInfo& safe_VkImagePlaneMemoryRequirementsInfo::operator=(const safe_VkImagePlaneMemoryRequirementsInfo& src)
8139{
8140 if (&src == this) return *this;
8141
8142
8143 sType = src.sType;
8144 pNext = src.pNext;
8145 planeAspect = src.planeAspect;
8146
8147 return *this;
8148}
8149
8150safe_VkImagePlaneMemoryRequirementsInfo::~safe_VkImagePlaneMemoryRequirementsInfo()
8151{
8152}
8153
8154void safe_VkImagePlaneMemoryRequirementsInfo::initialize(const VkImagePlaneMemoryRequirementsInfo* in_struct)
8155{
8156 sType = in_struct->sType;
8157 pNext = in_struct->pNext;
8158 planeAspect = in_struct->planeAspect;
8159}
8160
8161void safe_VkImagePlaneMemoryRequirementsInfo::initialize(const safe_VkImagePlaneMemoryRequirementsInfo* src)
8162{
8163 sType = src->sType;
8164 pNext = src->pNext;
8165 planeAspect = src->planeAspect;
8166}
8167
8168safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures::safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures(const VkPhysicalDeviceSamplerYcbcrConversionFeatures* in_struct) :
8169 sType(in_struct->sType),
8170 pNext(in_struct->pNext),
8171 samplerYcbcrConversion(in_struct->samplerYcbcrConversion)
8172{
8173}
8174
8175safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures::safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures()
8176{}
8177
8178safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures::safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures(const safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures& src)
8179{
8180 sType = src.sType;
8181 pNext = src.pNext;
8182 samplerYcbcrConversion = src.samplerYcbcrConversion;
8183}
8184
8185safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures& safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures::operator=(const safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures& src)
8186{
8187 if (&src == this) return *this;
8188
8189
8190 sType = src.sType;
8191 pNext = src.pNext;
8192 samplerYcbcrConversion = src.samplerYcbcrConversion;
8193
8194 return *this;
8195}
8196
8197safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures::~safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures()
8198{
8199}
8200
8201void safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures::initialize(const VkPhysicalDeviceSamplerYcbcrConversionFeatures* in_struct)
8202{
8203 sType = in_struct->sType;
8204 pNext = in_struct->pNext;
8205 samplerYcbcrConversion = in_struct->samplerYcbcrConversion;
8206}
8207
8208void safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures::initialize(const safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures* src)
8209{
8210 sType = src->sType;
8211 pNext = src->pNext;
8212 samplerYcbcrConversion = src->samplerYcbcrConversion;
8213}
8214
8215safe_VkSamplerYcbcrConversionImageFormatProperties::safe_VkSamplerYcbcrConversionImageFormatProperties(const VkSamplerYcbcrConversionImageFormatProperties* in_struct) :
8216 sType(in_struct->sType),
8217 pNext(in_struct->pNext),
8218 combinedImageSamplerDescriptorCount(in_struct->combinedImageSamplerDescriptorCount)
8219{
8220}
8221
8222safe_VkSamplerYcbcrConversionImageFormatProperties::safe_VkSamplerYcbcrConversionImageFormatProperties()
8223{}
8224
8225safe_VkSamplerYcbcrConversionImageFormatProperties::safe_VkSamplerYcbcrConversionImageFormatProperties(const safe_VkSamplerYcbcrConversionImageFormatProperties& src)
8226{
8227 sType = src.sType;
8228 pNext = src.pNext;
8229 combinedImageSamplerDescriptorCount = src.combinedImageSamplerDescriptorCount;
8230}
8231
8232safe_VkSamplerYcbcrConversionImageFormatProperties& safe_VkSamplerYcbcrConversionImageFormatProperties::operator=(const safe_VkSamplerYcbcrConversionImageFormatProperties& src)
8233{
8234 if (&src == this) return *this;
8235
8236
8237 sType = src.sType;
8238 pNext = src.pNext;
8239 combinedImageSamplerDescriptorCount = src.combinedImageSamplerDescriptorCount;
8240
8241 return *this;
8242}
8243
8244safe_VkSamplerYcbcrConversionImageFormatProperties::~safe_VkSamplerYcbcrConversionImageFormatProperties()
8245{
8246}
8247
8248void safe_VkSamplerYcbcrConversionImageFormatProperties::initialize(const VkSamplerYcbcrConversionImageFormatProperties* in_struct)
8249{
8250 sType = in_struct->sType;
8251 pNext = in_struct->pNext;
8252 combinedImageSamplerDescriptorCount = in_struct->combinedImageSamplerDescriptorCount;
8253}
8254
8255void safe_VkSamplerYcbcrConversionImageFormatProperties::initialize(const safe_VkSamplerYcbcrConversionImageFormatProperties* src)
8256{
8257 sType = src->sType;
8258 pNext = src->pNext;
8259 combinedImageSamplerDescriptorCount = src->combinedImageSamplerDescriptorCount;
8260}
8261
8262safe_VkDescriptorUpdateTemplateCreateInfo::safe_VkDescriptorUpdateTemplateCreateInfo(const VkDescriptorUpdateTemplateCreateInfo* in_struct) :
8263 sType(in_struct->sType),
8264 pNext(in_struct->pNext),
8265 flags(in_struct->flags),
8266 descriptorUpdateEntryCount(in_struct->descriptorUpdateEntryCount),
8267 pDescriptorUpdateEntries(nullptr),
8268 templateType(in_struct->templateType),
8269 descriptorSetLayout(in_struct->descriptorSetLayout),
8270 pipelineBindPoint(in_struct->pipelineBindPoint),
8271 pipelineLayout(in_struct->pipelineLayout),
8272 set(in_struct->set)
8273{
8274 if (in_struct->pDescriptorUpdateEntries) {
8275 pDescriptorUpdateEntries = new VkDescriptorUpdateTemplateEntry[in_struct->descriptorUpdateEntryCount];
8276 memcpy ((void *)pDescriptorUpdateEntries, (void *)in_struct->pDescriptorUpdateEntries, sizeof(VkDescriptorUpdateTemplateEntry)*in_struct->descriptorUpdateEntryCount);
8277 }
8278}
8279
8280safe_VkDescriptorUpdateTemplateCreateInfo::safe_VkDescriptorUpdateTemplateCreateInfo() :
8281 pDescriptorUpdateEntries(nullptr)
8282{}
8283
8284safe_VkDescriptorUpdateTemplateCreateInfo::safe_VkDescriptorUpdateTemplateCreateInfo(const safe_VkDescriptorUpdateTemplateCreateInfo& src)
8285{
8286 sType = src.sType;
8287 pNext = src.pNext;
8288 flags = src.flags;
8289 descriptorUpdateEntryCount = src.descriptorUpdateEntryCount;
8290 pDescriptorUpdateEntries = nullptr;
8291 templateType = src.templateType;
8292 descriptorSetLayout = src.descriptorSetLayout;
8293 pipelineBindPoint = src.pipelineBindPoint;
8294 pipelineLayout = src.pipelineLayout;
8295 set = src.set;
8296 if (src.pDescriptorUpdateEntries) {
8297 pDescriptorUpdateEntries = new VkDescriptorUpdateTemplateEntry[src.descriptorUpdateEntryCount];
8298 memcpy ((void *)pDescriptorUpdateEntries, (void *)src.pDescriptorUpdateEntries, sizeof(VkDescriptorUpdateTemplateEntry)*src.descriptorUpdateEntryCount);
8299 }
8300}
8301
8302safe_VkDescriptorUpdateTemplateCreateInfo& safe_VkDescriptorUpdateTemplateCreateInfo::operator=(const safe_VkDescriptorUpdateTemplateCreateInfo& src)
8303{
8304 if (&src == this) return *this;
8305
8306 if (pDescriptorUpdateEntries)
8307 delete[] pDescriptorUpdateEntries;
8308
8309 sType = src.sType;
8310 pNext = src.pNext;
8311 flags = src.flags;
8312 descriptorUpdateEntryCount = src.descriptorUpdateEntryCount;
8313 pDescriptorUpdateEntries = nullptr;
8314 templateType = src.templateType;
8315 descriptorSetLayout = src.descriptorSetLayout;
8316 pipelineBindPoint = src.pipelineBindPoint;
8317 pipelineLayout = src.pipelineLayout;
8318 set = src.set;
8319 if (src.pDescriptorUpdateEntries) {
8320 pDescriptorUpdateEntries = new VkDescriptorUpdateTemplateEntry[src.descriptorUpdateEntryCount];
8321 memcpy ((void *)pDescriptorUpdateEntries, (void *)src.pDescriptorUpdateEntries, sizeof(VkDescriptorUpdateTemplateEntry)*src.descriptorUpdateEntryCount);
8322 }
8323
8324 return *this;
8325}
8326
8327safe_VkDescriptorUpdateTemplateCreateInfo::~safe_VkDescriptorUpdateTemplateCreateInfo()
8328{
8329 if (pDescriptorUpdateEntries)
8330 delete[] pDescriptorUpdateEntries;
8331}
8332
8333void safe_VkDescriptorUpdateTemplateCreateInfo::initialize(const VkDescriptorUpdateTemplateCreateInfo* in_struct)
8334{
8335 sType = in_struct->sType;
8336 pNext = in_struct->pNext;
8337 flags = in_struct->flags;
8338 descriptorUpdateEntryCount = in_struct->descriptorUpdateEntryCount;
8339 pDescriptorUpdateEntries = nullptr;
8340 templateType = in_struct->templateType;
8341 descriptorSetLayout = in_struct->descriptorSetLayout;
8342 pipelineBindPoint = in_struct->pipelineBindPoint;
8343 pipelineLayout = in_struct->pipelineLayout;
8344 set = in_struct->set;
8345 if (in_struct->pDescriptorUpdateEntries) {
8346 pDescriptorUpdateEntries = new VkDescriptorUpdateTemplateEntry[in_struct->descriptorUpdateEntryCount];
8347 memcpy ((void *)pDescriptorUpdateEntries, (void *)in_struct->pDescriptorUpdateEntries, sizeof(VkDescriptorUpdateTemplateEntry)*in_struct->descriptorUpdateEntryCount);
8348 }
8349}
8350
8351void safe_VkDescriptorUpdateTemplateCreateInfo::initialize(const safe_VkDescriptorUpdateTemplateCreateInfo* src)
8352{
8353 sType = src->sType;
8354 pNext = src->pNext;
8355 flags = src->flags;
8356 descriptorUpdateEntryCount = src->descriptorUpdateEntryCount;
8357 pDescriptorUpdateEntries = nullptr;
8358 templateType = src->templateType;
8359 descriptorSetLayout = src->descriptorSetLayout;
8360 pipelineBindPoint = src->pipelineBindPoint;
8361 pipelineLayout = src->pipelineLayout;
8362 set = src->set;
8363 if (src->pDescriptorUpdateEntries) {
8364 pDescriptorUpdateEntries = new VkDescriptorUpdateTemplateEntry[src->descriptorUpdateEntryCount];
8365 memcpy ((void *)pDescriptorUpdateEntries, (void *)src->pDescriptorUpdateEntries, sizeof(VkDescriptorUpdateTemplateEntry)*src->descriptorUpdateEntryCount);
8366 }
8367}
8368
8369safe_VkPhysicalDeviceExternalImageFormatInfo::safe_VkPhysicalDeviceExternalImageFormatInfo(const VkPhysicalDeviceExternalImageFormatInfo* in_struct) :
8370 sType(in_struct->sType),
8371 pNext(in_struct->pNext),
8372 handleType(in_struct->handleType)
8373{
8374}
8375
8376safe_VkPhysicalDeviceExternalImageFormatInfo::safe_VkPhysicalDeviceExternalImageFormatInfo()
8377{}
8378
8379safe_VkPhysicalDeviceExternalImageFormatInfo::safe_VkPhysicalDeviceExternalImageFormatInfo(const safe_VkPhysicalDeviceExternalImageFormatInfo& src)
8380{
8381 sType = src.sType;
8382 pNext = src.pNext;
8383 handleType = src.handleType;
8384}
8385
8386safe_VkPhysicalDeviceExternalImageFormatInfo& safe_VkPhysicalDeviceExternalImageFormatInfo::operator=(const safe_VkPhysicalDeviceExternalImageFormatInfo& src)
8387{
8388 if (&src == this) return *this;
8389
8390
8391 sType = src.sType;
8392 pNext = src.pNext;
8393 handleType = src.handleType;
8394
8395 return *this;
8396}
8397
8398safe_VkPhysicalDeviceExternalImageFormatInfo::~safe_VkPhysicalDeviceExternalImageFormatInfo()
8399{
8400}
8401
8402void safe_VkPhysicalDeviceExternalImageFormatInfo::initialize(const VkPhysicalDeviceExternalImageFormatInfo* in_struct)
8403{
8404 sType = in_struct->sType;
8405 pNext = in_struct->pNext;
8406 handleType = in_struct->handleType;
8407}
8408
8409void safe_VkPhysicalDeviceExternalImageFormatInfo::initialize(const safe_VkPhysicalDeviceExternalImageFormatInfo* src)
8410{
8411 sType = src->sType;
8412 pNext = src->pNext;
8413 handleType = src->handleType;
8414}
8415
8416safe_VkExternalImageFormatProperties::safe_VkExternalImageFormatProperties(const VkExternalImageFormatProperties* in_struct) :
8417 sType(in_struct->sType),
8418 pNext(in_struct->pNext),
8419 externalMemoryProperties(in_struct->externalMemoryProperties)
8420{
8421}
8422
8423safe_VkExternalImageFormatProperties::safe_VkExternalImageFormatProperties()
8424{}
8425
8426safe_VkExternalImageFormatProperties::safe_VkExternalImageFormatProperties(const safe_VkExternalImageFormatProperties& src)
8427{
8428 sType = src.sType;
8429 pNext = src.pNext;
8430 externalMemoryProperties = src.externalMemoryProperties;
8431}
8432
8433safe_VkExternalImageFormatProperties& safe_VkExternalImageFormatProperties::operator=(const safe_VkExternalImageFormatProperties& src)
8434{
8435 if (&src == this) return *this;
8436
8437
8438 sType = src.sType;
8439 pNext = src.pNext;
8440 externalMemoryProperties = src.externalMemoryProperties;
8441
8442 return *this;
8443}
8444
8445safe_VkExternalImageFormatProperties::~safe_VkExternalImageFormatProperties()
8446{
8447}
8448
8449void safe_VkExternalImageFormatProperties::initialize(const VkExternalImageFormatProperties* in_struct)
8450{
8451 sType = in_struct->sType;
8452 pNext = in_struct->pNext;
8453 externalMemoryProperties = in_struct->externalMemoryProperties;
8454}
8455
8456void safe_VkExternalImageFormatProperties::initialize(const safe_VkExternalImageFormatProperties* src)
8457{
8458 sType = src->sType;
8459 pNext = src->pNext;
8460 externalMemoryProperties = src->externalMemoryProperties;
8461}
8462
8463safe_VkPhysicalDeviceExternalBufferInfo::safe_VkPhysicalDeviceExternalBufferInfo(const VkPhysicalDeviceExternalBufferInfo* in_struct) :
8464 sType(in_struct->sType),
8465 pNext(in_struct->pNext),
8466 flags(in_struct->flags),
8467 usage(in_struct->usage),
8468 handleType(in_struct->handleType)
8469{
8470}
8471
8472safe_VkPhysicalDeviceExternalBufferInfo::safe_VkPhysicalDeviceExternalBufferInfo()
8473{}
8474
8475safe_VkPhysicalDeviceExternalBufferInfo::safe_VkPhysicalDeviceExternalBufferInfo(const safe_VkPhysicalDeviceExternalBufferInfo& src)
8476{
8477 sType = src.sType;
8478 pNext = src.pNext;
8479 flags = src.flags;
8480 usage = src.usage;
8481 handleType = src.handleType;
8482}
8483
8484safe_VkPhysicalDeviceExternalBufferInfo& safe_VkPhysicalDeviceExternalBufferInfo::operator=(const safe_VkPhysicalDeviceExternalBufferInfo& src)
8485{
8486 if (&src == this) return *this;
8487
8488
8489 sType = src.sType;
8490 pNext = src.pNext;
8491 flags = src.flags;
8492 usage = src.usage;
8493 handleType = src.handleType;
8494
8495 return *this;
8496}
8497
8498safe_VkPhysicalDeviceExternalBufferInfo::~safe_VkPhysicalDeviceExternalBufferInfo()
8499{
8500}
8501
8502void safe_VkPhysicalDeviceExternalBufferInfo::initialize(const VkPhysicalDeviceExternalBufferInfo* in_struct)
8503{
8504 sType = in_struct->sType;
8505 pNext = in_struct->pNext;
8506 flags = in_struct->flags;
8507 usage = in_struct->usage;
8508 handleType = in_struct->handleType;
8509}
8510
8511void safe_VkPhysicalDeviceExternalBufferInfo::initialize(const safe_VkPhysicalDeviceExternalBufferInfo* src)
8512{
8513 sType = src->sType;
8514 pNext = src->pNext;
8515 flags = src->flags;
8516 usage = src->usage;
8517 handleType = src->handleType;
8518}
8519
8520safe_VkExternalBufferProperties::safe_VkExternalBufferProperties(const VkExternalBufferProperties* in_struct) :
8521 sType(in_struct->sType),
8522 pNext(in_struct->pNext),
8523 externalMemoryProperties(in_struct->externalMemoryProperties)
8524{
8525}
8526
8527safe_VkExternalBufferProperties::safe_VkExternalBufferProperties()
8528{}
8529
8530safe_VkExternalBufferProperties::safe_VkExternalBufferProperties(const safe_VkExternalBufferProperties& src)
8531{
8532 sType = src.sType;
8533 pNext = src.pNext;
8534 externalMemoryProperties = src.externalMemoryProperties;
8535}
8536
8537safe_VkExternalBufferProperties& safe_VkExternalBufferProperties::operator=(const safe_VkExternalBufferProperties& src)
8538{
8539 if (&src == this) return *this;
8540
8541
8542 sType = src.sType;
8543 pNext = src.pNext;
8544 externalMemoryProperties = src.externalMemoryProperties;
8545
8546 return *this;
8547}
8548
8549safe_VkExternalBufferProperties::~safe_VkExternalBufferProperties()
8550{
8551}
8552
8553void safe_VkExternalBufferProperties::initialize(const VkExternalBufferProperties* in_struct)
8554{
8555 sType = in_struct->sType;
8556 pNext = in_struct->pNext;
8557 externalMemoryProperties = in_struct->externalMemoryProperties;
8558}
8559
8560void safe_VkExternalBufferProperties::initialize(const safe_VkExternalBufferProperties* src)
8561{
8562 sType = src->sType;
8563 pNext = src->pNext;
8564 externalMemoryProperties = src->externalMemoryProperties;
8565}
8566
8567safe_VkPhysicalDeviceIDProperties::safe_VkPhysicalDeviceIDProperties(const VkPhysicalDeviceIDProperties* in_struct) :
8568 sType(in_struct->sType),
8569 pNext(in_struct->pNext),
8570 deviceNodeMask(in_struct->deviceNodeMask),
8571 deviceLUIDValid(in_struct->deviceLUIDValid)
8572{
8573 for (uint32_t i=0; i<VK_UUID_SIZE; ++i) {
8574 deviceUUID[i] = in_struct->deviceUUID[i];
8575 }
8576 for (uint32_t i=0; i<VK_UUID_SIZE; ++i) {
8577 driverUUID[i] = in_struct->driverUUID[i];
8578 }
8579 for (uint32_t i=0; i<VK_LUID_SIZE; ++i) {
8580 deviceLUID[i] = in_struct->deviceLUID[i];
8581 }
8582}
8583
8584safe_VkPhysicalDeviceIDProperties::safe_VkPhysicalDeviceIDProperties()
8585{}
8586
8587safe_VkPhysicalDeviceIDProperties::safe_VkPhysicalDeviceIDProperties(const safe_VkPhysicalDeviceIDProperties& src)
8588{
8589 sType = src.sType;
8590 pNext = src.pNext;
8591 deviceNodeMask = src.deviceNodeMask;
8592 deviceLUIDValid = src.deviceLUIDValid;
8593 for (uint32_t i=0; i<VK_UUID_SIZE; ++i) {
8594 deviceUUID[i] = src.deviceUUID[i];
8595 }
8596 for (uint32_t i=0; i<VK_UUID_SIZE; ++i) {
8597 driverUUID[i] = src.driverUUID[i];
8598 }
8599 for (uint32_t i=0; i<VK_LUID_SIZE; ++i) {
8600 deviceLUID[i] = src.deviceLUID[i];
8601 }
8602}
8603
8604safe_VkPhysicalDeviceIDProperties& safe_VkPhysicalDeviceIDProperties::operator=(const safe_VkPhysicalDeviceIDProperties& src)
8605{
8606 if (&src == this) return *this;
8607
8608
8609 sType = src.sType;
8610 pNext = src.pNext;
8611 deviceNodeMask = src.deviceNodeMask;
8612 deviceLUIDValid = src.deviceLUIDValid;
8613 for (uint32_t i=0; i<VK_UUID_SIZE; ++i) {
8614 deviceUUID[i] = src.deviceUUID[i];
8615 }
8616 for (uint32_t i=0; i<VK_UUID_SIZE; ++i) {
8617 driverUUID[i] = src.driverUUID[i];
8618 }
8619 for (uint32_t i=0; i<VK_LUID_SIZE; ++i) {
8620 deviceLUID[i] = src.deviceLUID[i];
8621 }
8622
8623 return *this;
8624}
8625
8626safe_VkPhysicalDeviceIDProperties::~safe_VkPhysicalDeviceIDProperties()
8627{
8628}
8629
8630void safe_VkPhysicalDeviceIDProperties::initialize(const VkPhysicalDeviceIDProperties* in_struct)
8631{
8632 sType = in_struct->sType;
8633 pNext = in_struct->pNext;
8634 deviceNodeMask = in_struct->deviceNodeMask;
8635 deviceLUIDValid = in_struct->deviceLUIDValid;
8636 for (uint32_t i=0; i<VK_UUID_SIZE; ++i) {
8637 deviceUUID[i] = in_struct->deviceUUID[i];
8638 }
8639 for (uint32_t i=0; i<VK_UUID_SIZE; ++i) {
8640 driverUUID[i] = in_struct->driverUUID[i];
8641 }
8642 for (uint32_t i=0; i<VK_LUID_SIZE; ++i) {
8643 deviceLUID[i] = in_struct->deviceLUID[i];
8644 }
8645}
8646
8647void safe_VkPhysicalDeviceIDProperties::initialize(const safe_VkPhysicalDeviceIDProperties* src)
8648{
8649 sType = src->sType;
8650 pNext = src->pNext;
8651 deviceNodeMask = src->deviceNodeMask;
8652 deviceLUIDValid = src->deviceLUIDValid;
8653 for (uint32_t i=0; i<VK_UUID_SIZE; ++i) {
8654 deviceUUID[i] = src->deviceUUID[i];
8655 }
8656 for (uint32_t i=0; i<VK_UUID_SIZE; ++i) {
8657 driverUUID[i] = src->driverUUID[i];
8658 }
8659 for (uint32_t i=0; i<VK_LUID_SIZE; ++i) {
8660 deviceLUID[i] = src->deviceLUID[i];
8661 }
8662}
8663
8664safe_VkExternalMemoryImageCreateInfo::safe_VkExternalMemoryImageCreateInfo(const VkExternalMemoryImageCreateInfo* in_struct) :
8665 sType(in_struct->sType),
8666 pNext(in_struct->pNext),
8667 handleTypes(in_struct->handleTypes)
8668{
8669}
8670
8671safe_VkExternalMemoryImageCreateInfo::safe_VkExternalMemoryImageCreateInfo()
8672{}
8673
8674safe_VkExternalMemoryImageCreateInfo::safe_VkExternalMemoryImageCreateInfo(const safe_VkExternalMemoryImageCreateInfo& src)
8675{
8676 sType = src.sType;
8677 pNext = src.pNext;
8678 handleTypes = src.handleTypes;
8679}
8680
8681safe_VkExternalMemoryImageCreateInfo& safe_VkExternalMemoryImageCreateInfo::operator=(const safe_VkExternalMemoryImageCreateInfo& src)
8682{
8683 if (&src == this) return *this;
8684
8685
8686 sType = src.sType;
8687 pNext = src.pNext;
8688 handleTypes = src.handleTypes;
8689
8690 return *this;
8691}
8692
8693safe_VkExternalMemoryImageCreateInfo::~safe_VkExternalMemoryImageCreateInfo()
8694{
8695}
8696
8697void safe_VkExternalMemoryImageCreateInfo::initialize(const VkExternalMemoryImageCreateInfo* in_struct)
8698{
8699 sType = in_struct->sType;
8700 pNext = in_struct->pNext;
8701 handleTypes = in_struct->handleTypes;
8702}
8703
8704void safe_VkExternalMemoryImageCreateInfo::initialize(const safe_VkExternalMemoryImageCreateInfo* src)
8705{
8706 sType = src->sType;
8707 pNext = src->pNext;
8708 handleTypes = src->handleTypes;
8709}
8710
8711safe_VkExternalMemoryBufferCreateInfo::safe_VkExternalMemoryBufferCreateInfo(const VkExternalMemoryBufferCreateInfo* in_struct) :
8712 sType(in_struct->sType),
8713 pNext(in_struct->pNext),
8714 handleTypes(in_struct->handleTypes)
8715{
8716}
8717
8718safe_VkExternalMemoryBufferCreateInfo::safe_VkExternalMemoryBufferCreateInfo()
8719{}
8720
8721safe_VkExternalMemoryBufferCreateInfo::safe_VkExternalMemoryBufferCreateInfo(const safe_VkExternalMemoryBufferCreateInfo& src)
8722{
8723 sType = src.sType;
8724 pNext = src.pNext;
8725 handleTypes = src.handleTypes;
8726}
8727
8728safe_VkExternalMemoryBufferCreateInfo& safe_VkExternalMemoryBufferCreateInfo::operator=(const safe_VkExternalMemoryBufferCreateInfo& src)
8729{
8730 if (&src == this) return *this;
8731
8732
8733 sType = src.sType;
8734 pNext = src.pNext;
8735 handleTypes = src.handleTypes;
8736
8737 return *this;
8738}
8739
8740safe_VkExternalMemoryBufferCreateInfo::~safe_VkExternalMemoryBufferCreateInfo()
8741{
8742}
8743
8744void safe_VkExternalMemoryBufferCreateInfo::initialize(const VkExternalMemoryBufferCreateInfo* in_struct)
8745{
8746 sType = in_struct->sType;
8747 pNext = in_struct->pNext;
8748 handleTypes = in_struct->handleTypes;
8749}
8750
8751void safe_VkExternalMemoryBufferCreateInfo::initialize(const safe_VkExternalMemoryBufferCreateInfo* src)
8752{
8753 sType = src->sType;
8754 pNext = src->pNext;
8755 handleTypes = src->handleTypes;
8756}
8757
8758safe_VkExportMemoryAllocateInfo::safe_VkExportMemoryAllocateInfo(const VkExportMemoryAllocateInfo* in_struct) :
8759 sType(in_struct->sType),
8760 pNext(in_struct->pNext),
8761 handleTypes(in_struct->handleTypes)
8762{
8763}
8764
8765safe_VkExportMemoryAllocateInfo::safe_VkExportMemoryAllocateInfo()
8766{}
8767
8768safe_VkExportMemoryAllocateInfo::safe_VkExportMemoryAllocateInfo(const safe_VkExportMemoryAllocateInfo& src)
8769{
8770 sType = src.sType;
8771 pNext = src.pNext;
8772 handleTypes = src.handleTypes;
8773}
8774
8775safe_VkExportMemoryAllocateInfo& safe_VkExportMemoryAllocateInfo::operator=(const safe_VkExportMemoryAllocateInfo& src)
8776{
8777 if (&src == this) return *this;
8778
8779
8780 sType = src.sType;
8781 pNext = src.pNext;
8782 handleTypes = src.handleTypes;
8783
8784 return *this;
8785}
8786
8787safe_VkExportMemoryAllocateInfo::~safe_VkExportMemoryAllocateInfo()
8788{
8789}
8790
8791void safe_VkExportMemoryAllocateInfo::initialize(const VkExportMemoryAllocateInfo* in_struct)
8792{
8793 sType = in_struct->sType;
8794 pNext = in_struct->pNext;
8795 handleTypes = in_struct->handleTypes;
8796}
8797
8798void safe_VkExportMemoryAllocateInfo::initialize(const safe_VkExportMemoryAllocateInfo* src)
8799{
8800 sType = src->sType;
8801 pNext = src->pNext;
8802 handleTypes = src->handleTypes;
8803}
8804
8805safe_VkPhysicalDeviceExternalFenceInfo::safe_VkPhysicalDeviceExternalFenceInfo(const VkPhysicalDeviceExternalFenceInfo* in_struct) :
8806 sType(in_struct->sType),
8807 pNext(in_struct->pNext),
8808 handleType(in_struct->handleType)
8809{
8810}
8811
8812safe_VkPhysicalDeviceExternalFenceInfo::safe_VkPhysicalDeviceExternalFenceInfo()
8813{}
8814
8815safe_VkPhysicalDeviceExternalFenceInfo::safe_VkPhysicalDeviceExternalFenceInfo(const safe_VkPhysicalDeviceExternalFenceInfo& src)
8816{
8817 sType = src.sType;
8818 pNext = src.pNext;
8819 handleType = src.handleType;
8820}
8821
8822safe_VkPhysicalDeviceExternalFenceInfo& safe_VkPhysicalDeviceExternalFenceInfo::operator=(const safe_VkPhysicalDeviceExternalFenceInfo& src)
8823{
8824 if (&src == this) return *this;
8825
8826
8827 sType = src.sType;
8828 pNext = src.pNext;
8829 handleType = src.handleType;
8830
8831 return *this;
8832}
8833
8834safe_VkPhysicalDeviceExternalFenceInfo::~safe_VkPhysicalDeviceExternalFenceInfo()
8835{
8836}
8837
8838void safe_VkPhysicalDeviceExternalFenceInfo::initialize(const VkPhysicalDeviceExternalFenceInfo* in_struct)
8839{
8840 sType = in_struct->sType;
8841 pNext = in_struct->pNext;
8842 handleType = in_struct->handleType;
8843}
8844
8845void safe_VkPhysicalDeviceExternalFenceInfo::initialize(const safe_VkPhysicalDeviceExternalFenceInfo* src)
8846{
8847 sType = src->sType;
8848 pNext = src->pNext;
8849 handleType = src->handleType;
8850}
8851
8852safe_VkExternalFenceProperties::safe_VkExternalFenceProperties(const VkExternalFenceProperties* in_struct) :
8853 sType(in_struct->sType),
8854 pNext(in_struct->pNext),
8855 exportFromImportedHandleTypes(in_struct->exportFromImportedHandleTypes),
8856 compatibleHandleTypes(in_struct->compatibleHandleTypes),
8857 externalFenceFeatures(in_struct->externalFenceFeatures)
8858{
8859}
8860
8861safe_VkExternalFenceProperties::safe_VkExternalFenceProperties()
8862{}
8863
8864safe_VkExternalFenceProperties::safe_VkExternalFenceProperties(const safe_VkExternalFenceProperties& src)
8865{
8866 sType = src.sType;
8867 pNext = src.pNext;
8868 exportFromImportedHandleTypes = src.exportFromImportedHandleTypes;
8869 compatibleHandleTypes = src.compatibleHandleTypes;
8870 externalFenceFeatures = src.externalFenceFeatures;
8871}
8872
8873safe_VkExternalFenceProperties& safe_VkExternalFenceProperties::operator=(const safe_VkExternalFenceProperties& src)
8874{
8875 if (&src == this) return *this;
8876
8877
8878 sType = src.sType;
8879 pNext = src.pNext;
8880 exportFromImportedHandleTypes = src.exportFromImportedHandleTypes;
8881 compatibleHandleTypes = src.compatibleHandleTypes;
8882 externalFenceFeatures = src.externalFenceFeatures;
8883
8884 return *this;
8885}
8886
8887safe_VkExternalFenceProperties::~safe_VkExternalFenceProperties()
8888{
8889}
8890
8891void safe_VkExternalFenceProperties::initialize(const VkExternalFenceProperties* in_struct)
8892{
8893 sType = in_struct->sType;
8894 pNext = in_struct->pNext;
8895 exportFromImportedHandleTypes = in_struct->exportFromImportedHandleTypes;
8896 compatibleHandleTypes = in_struct->compatibleHandleTypes;
8897 externalFenceFeatures = in_struct->externalFenceFeatures;
8898}
8899
8900void safe_VkExternalFenceProperties::initialize(const safe_VkExternalFenceProperties* src)
8901{
8902 sType = src->sType;
8903 pNext = src->pNext;
8904 exportFromImportedHandleTypes = src->exportFromImportedHandleTypes;
8905 compatibleHandleTypes = src->compatibleHandleTypes;
8906 externalFenceFeatures = src->externalFenceFeatures;
8907}
8908
8909safe_VkExportFenceCreateInfo::safe_VkExportFenceCreateInfo(const VkExportFenceCreateInfo* in_struct) :
8910 sType(in_struct->sType),
8911 pNext(in_struct->pNext),
8912 handleTypes(in_struct->handleTypes)
8913{
8914}
8915
8916safe_VkExportFenceCreateInfo::safe_VkExportFenceCreateInfo()
8917{}
8918
8919safe_VkExportFenceCreateInfo::safe_VkExportFenceCreateInfo(const safe_VkExportFenceCreateInfo& src)
8920{
8921 sType = src.sType;
8922 pNext = src.pNext;
8923 handleTypes = src.handleTypes;
8924}
8925
8926safe_VkExportFenceCreateInfo& safe_VkExportFenceCreateInfo::operator=(const safe_VkExportFenceCreateInfo& src)
8927{
8928 if (&src == this) return *this;
8929
8930
8931 sType = src.sType;
8932 pNext = src.pNext;
8933 handleTypes = src.handleTypes;
8934
8935 return *this;
8936}
8937
8938safe_VkExportFenceCreateInfo::~safe_VkExportFenceCreateInfo()
8939{
8940}
8941
8942void safe_VkExportFenceCreateInfo::initialize(const VkExportFenceCreateInfo* in_struct)
8943{
8944 sType = in_struct->sType;
8945 pNext = in_struct->pNext;
8946 handleTypes = in_struct->handleTypes;
8947}
8948
8949void safe_VkExportFenceCreateInfo::initialize(const safe_VkExportFenceCreateInfo* src)
8950{
8951 sType = src->sType;
8952 pNext = src->pNext;
8953 handleTypes = src->handleTypes;
8954}
8955
8956safe_VkExportSemaphoreCreateInfo::safe_VkExportSemaphoreCreateInfo(const VkExportSemaphoreCreateInfo* in_struct) :
8957 sType(in_struct->sType),
8958 pNext(in_struct->pNext),
8959 handleTypes(in_struct->handleTypes)
8960{
8961}
8962
8963safe_VkExportSemaphoreCreateInfo::safe_VkExportSemaphoreCreateInfo()
8964{}
8965
8966safe_VkExportSemaphoreCreateInfo::safe_VkExportSemaphoreCreateInfo(const safe_VkExportSemaphoreCreateInfo& src)
8967{
8968 sType = src.sType;
8969 pNext = src.pNext;
8970 handleTypes = src.handleTypes;
8971}
8972
8973safe_VkExportSemaphoreCreateInfo& safe_VkExportSemaphoreCreateInfo::operator=(const safe_VkExportSemaphoreCreateInfo& src)
8974{
8975 if (&src == this) return *this;
8976
8977
8978 sType = src.sType;
8979 pNext = src.pNext;
8980 handleTypes = src.handleTypes;
8981
8982 return *this;
8983}
8984
8985safe_VkExportSemaphoreCreateInfo::~safe_VkExportSemaphoreCreateInfo()
8986{
8987}
8988
8989void safe_VkExportSemaphoreCreateInfo::initialize(const VkExportSemaphoreCreateInfo* in_struct)
8990{
8991 sType = in_struct->sType;
8992 pNext = in_struct->pNext;
8993 handleTypes = in_struct->handleTypes;
8994}
8995
8996void safe_VkExportSemaphoreCreateInfo::initialize(const safe_VkExportSemaphoreCreateInfo* src)
8997{
8998 sType = src->sType;
8999 pNext = src->pNext;
9000 handleTypes = src->handleTypes;
9001}
9002
9003safe_VkPhysicalDeviceExternalSemaphoreInfo::safe_VkPhysicalDeviceExternalSemaphoreInfo(const VkPhysicalDeviceExternalSemaphoreInfo* in_struct) :
9004 sType(in_struct->sType),
9005 pNext(in_struct->pNext),
9006 handleType(in_struct->handleType)
9007{
9008}
9009
9010safe_VkPhysicalDeviceExternalSemaphoreInfo::safe_VkPhysicalDeviceExternalSemaphoreInfo()
9011{}
9012
9013safe_VkPhysicalDeviceExternalSemaphoreInfo::safe_VkPhysicalDeviceExternalSemaphoreInfo(const safe_VkPhysicalDeviceExternalSemaphoreInfo& src)
9014{
9015 sType = src.sType;
9016 pNext = src.pNext;
9017 handleType = src.handleType;
9018}
9019
9020safe_VkPhysicalDeviceExternalSemaphoreInfo& safe_VkPhysicalDeviceExternalSemaphoreInfo::operator=(const safe_VkPhysicalDeviceExternalSemaphoreInfo& src)
9021{
9022 if (&src == this) return *this;
9023
9024
9025 sType = src.sType;
9026 pNext = src.pNext;
9027 handleType = src.handleType;
9028
9029 return *this;
9030}
9031
9032safe_VkPhysicalDeviceExternalSemaphoreInfo::~safe_VkPhysicalDeviceExternalSemaphoreInfo()
9033{
9034}
9035
9036void safe_VkPhysicalDeviceExternalSemaphoreInfo::initialize(const VkPhysicalDeviceExternalSemaphoreInfo* in_struct)
9037{
9038 sType = in_struct->sType;
9039 pNext = in_struct->pNext;
9040 handleType = in_struct->handleType;
9041}
9042
9043void safe_VkPhysicalDeviceExternalSemaphoreInfo::initialize(const safe_VkPhysicalDeviceExternalSemaphoreInfo* src)
9044{
9045 sType = src->sType;
9046 pNext = src->pNext;
9047 handleType = src->handleType;
9048}
9049
9050safe_VkExternalSemaphoreProperties::safe_VkExternalSemaphoreProperties(const VkExternalSemaphoreProperties* in_struct) :
9051 sType(in_struct->sType),
9052 pNext(in_struct->pNext),
9053 exportFromImportedHandleTypes(in_struct->exportFromImportedHandleTypes),
9054 compatibleHandleTypes(in_struct->compatibleHandleTypes),
9055 externalSemaphoreFeatures(in_struct->externalSemaphoreFeatures)
9056{
9057}
9058
9059safe_VkExternalSemaphoreProperties::safe_VkExternalSemaphoreProperties()
9060{}
9061
9062safe_VkExternalSemaphoreProperties::safe_VkExternalSemaphoreProperties(const safe_VkExternalSemaphoreProperties& src)
9063{
9064 sType = src.sType;
9065 pNext = src.pNext;
9066 exportFromImportedHandleTypes = src.exportFromImportedHandleTypes;
9067 compatibleHandleTypes = src.compatibleHandleTypes;
9068 externalSemaphoreFeatures = src.externalSemaphoreFeatures;
9069}
9070
9071safe_VkExternalSemaphoreProperties& safe_VkExternalSemaphoreProperties::operator=(const safe_VkExternalSemaphoreProperties& src)
9072{
9073 if (&src == this) return *this;
9074
9075
9076 sType = src.sType;
9077 pNext = src.pNext;
9078 exportFromImportedHandleTypes = src.exportFromImportedHandleTypes;
9079 compatibleHandleTypes = src.compatibleHandleTypes;
9080 externalSemaphoreFeatures = src.externalSemaphoreFeatures;
9081
9082 return *this;
9083}
9084
9085safe_VkExternalSemaphoreProperties::~safe_VkExternalSemaphoreProperties()
9086{
9087}
9088
9089void safe_VkExternalSemaphoreProperties::initialize(const VkExternalSemaphoreProperties* in_struct)
9090{
9091 sType = in_struct->sType;
9092 pNext = in_struct->pNext;
9093 exportFromImportedHandleTypes = in_struct->exportFromImportedHandleTypes;
9094 compatibleHandleTypes = in_struct->compatibleHandleTypes;
9095 externalSemaphoreFeatures = in_struct->externalSemaphoreFeatures;
9096}
9097
9098void safe_VkExternalSemaphoreProperties::initialize(const safe_VkExternalSemaphoreProperties* src)
9099{
9100 sType = src->sType;
9101 pNext = src->pNext;
9102 exportFromImportedHandleTypes = src->exportFromImportedHandleTypes;
9103 compatibleHandleTypes = src->compatibleHandleTypes;
9104 externalSemaphoreFeatures = src->externalSemaphoreFeatures;
9105}
9106
9107safe_VkPhysicalDeviceMaintenance3Properties::safe_VkPhysicalDeviceMaintenance3Properties(const VkPhysicalDeviceMaintenance3Properties* in_struct) :
9108 sType(in_struct->sType),
9109 pNext(in_struct->pNext),
9110 maxPerSetDescriptors(in_struct->maxPerSetDescriptors),
9111 maxMemoryAllocationSize(in_struct->maxMemoryAllocationSize)
9112{
9113}
9114
9115safe_VkPhysicalDeviceMaintenance3Properties::safe_VkPhysicalDeviceMaintenance3Properties()
9116{}
9117
9118safe_VkPhysicalDeviceMaintenance3Properties::safe_VkPhysicalDeviceMaintenance3Properties(const safe_VkPhysicalDeviceMaintenance3Properties& src)
9119{
9120 sType = src.sType;
9121 pNext = src.pNext;
9122 maxPerSetDescriptors = src.maxPerSetDescriptors;
9123 maxMemoryAllocationSize = src.maxMemoryAllocationSize;
9124}
9125
9126safe_VkPhysicalDeviceMaintenance3Properties& safe_VkPhysicalDeviceMaintenance3Properties::operator=(const safe_VkPhysicalDeviceMaintenance3Properties& src)
9127{
9128 if (&src == this) return *this;
9129
9130
9131 sType = src.sType;
9132 pNext = src.pNext;
9133 maxPerSetDescriptors = src.maxPerSetDescriptors;
9134 maxMemoryAllocationSize = src.maxMemoryAllocationSize;
9135
9136 return *this;
9137}
9138
9139safe_VkPhysicalDeviceMaintenance3Properties::~safe_VkPhysicalDeviceMaintenance3Properties()
9140{
9141}
9142
9143void safe_VkPhysicalDeviceMaintenance3Properties::initialize(const VkPhysicalDeviceMaintenance3Properties* in_struct)
9144{
9145 sType = in_struct->sType;
9146 pNext = in_struct->pNext;
9147 maxPerSetDescriptors = in_struct->maxPerSetDescriptors;
9148 maxMemoryAllocationSize = in_struct->maxMemoryAllocationSize;
9149}
9150
9151void safe_VkPhysicalDeviceMaintenance3Properties::initialize(const safe_VkPhysicalDeviceMaintenance3Properties* src)
9152{
9153 sType = src->sType;
9154 pNext = src->pNext;
9155 maxPerSetDescriptors = src->maxPerSetDescriptors;
9156 maxMemoryAllocationSize = src->maxMemoryAllocationSize;
9157}
9158
9159safe_VkDescriptorSetLayoutSupport::safe_VkDescriptorSetLayoutSupport(const VkDescriptorSetLayoutSupport* in_struct) :
9160 sType(in_struct->sType),
9161 pNext(in_struct->pNext),
9162 supported(in_struct->supported)
9163{
9164}
9165
9166safe_VkDescriptorSetLayoutSupport::safe_VkDescriptorSetLayoutSupport()
9167{}
9168
9169safe_VkDescriptorSetLayoutSupport::safe_VkDescriptorSetLayoutSupport(const safe_VkDescriptorSetLayoutSupport& src)
9170{
9171 sType = src.sType;
9172 pNext = src.pNext;
9173 supported = src.supported;
9174}
9175
9176safe_VkDescriptorSetLayoutSupport& safe_VkDescriptorSetLayoutSupport::operator=(const safe_VkDescriptorSetLayoutSupport& src)
9177{
9178 if (&src == this) return *this;
9179
9180
9181 sType = src.sType;
9182 pNext = src.pNext;
9183 supported = src.supported;
9184
9185 return *this;
9186}
9187
9188safe_VkDescriptorSetLayoutSupport::~safe_VkDescriptorSetLayoutSupport()
9189{
9190}
9191
9192void safe_VkDescriptorSetLayoutSupport::initialize(const VkDescriptorSetLayoutSupport* in_struct)
9193{
9194 sType = in_struct->sType;
9195 pNext = in_struct->pNext;
9196 supported = in_struct->supported;
9197}
9198
9199void safe_VkDescriptorSetLayoutSupport::initialize(const safe_VkDescriptorSetLayoutSupport* src)
9200{
9201 sType = src->sType;
9202 pNext = src->pNext;
9203 supported = src->supported;
9204}
9205
9206safe_VkPhysicalDeviceShaderDrawParametersFeatures::safe_VkPhysicalDeviceShaderDrawParametersFeatures(const VkPhysicalDeviceShaderDrawParametersFeatures* in_struct) :
9207 sType(in_struct->sType),
9208 pNext(in_struct->pNext),
9209 shaderDrawParameters(in_struct->shaderDrawParameters)
9210{
9211}
9212
9213safe_VkPhysicalDeviceShaderDrawParametersFeatures::safe_VkPhysicalDeviceShaderDrawParametersFeatures()
9214{}
9215
9216safe_VkPhysicalDeviceShaderDrawParametersFeatures::safe_VkPhysicalDeviceShaderDrawParametersFeatures(const safe_VkPhysicalDeviceShaderDrawParametersFeatures& src)
9217{
9218 sType = src.sType;
9219 pNext = src.pNext;
9220 shaderDrawParameters = src.shaderDrawParameters;
9221}
9222
9223safe_VkPhysicalDeviceShaderDrawParametersFeatures& safe_VkPhysicalDeviceShaderDrawParametersFeatures::operator=(const safe_VkPhysicalDeviceShaderDrawParametersFeatures& src)
9224{
9225 if (&src == this) return *this;
9226
9227
9228 sType = src.sType;
9229 pNext = src.pNext;
9230 shaderDrawParameters = src.shaderDrawParameters;
9231
9232 return *this;
9233}
9234
9235safe_VkPhysicalDeviceShaderDrawParametersFeatures::~safe_VkPhysicalDeviceShaderDrawParametersFeatures()
9236{
9237}
9238
9239void safe_VkPhysicalDeviceShaderDrawParametersFeatures::initialize(const VkPhysicalDeviceShaderDrawParametersFeatures* in_struct)
9240{
9241 sType = in_struct->sType;
9242 pNext = in_struct->pNext;
9243 shaderDrawParameters = in_struct->shaderDrawParameters;
9244}
9245
9246void safe_VkPhysicalDeviceShaderDrawParametersFeatures::initialize(const safe_VkPhysicalDeviceShaderDrawParametersFeatures* src)
9247{
9248 sType = src->sType;
9249 pNext = src->pNext;
9250 shaderDrawParameters = src->shaderDrawParameters;
9251}
9252
9253safe_VkSwapchainCreateInfoKHR::safe_VkSwapchainCreateInfoKHR(const VkSwapchainCreateInfoKHR* in_struct) :
9254 sType(in_struct->sType),
9255 pNext(in_struct->pNext),
9256 flags(in_struct->flags),
9257 surface(in_struct->surface),
9258 minImageCount(in_struct->minImageCount),
9259 imageFormat(in_struct->imageFormat),
9260 imageColorSpace(in_struct->imageColorSpace),
9261 imageExtent(in_struct->imageExtent),
9262 imageArrayLayers(in_struct->imageArrayLayers),
9263 imageUsage(in_struct->imageUsage),
9264 imageSharingMode(in_struct->imageSharingMode),
9265 queueFamilyIndexCount(in_struct->queueFamilyIndexCount),
9266 pQueueFamilyIndices(nullptr),
9267 preTransform(in_struct->preTransform),
9268 compositeAlpha(in_struct->compositeAlpha),
9269 presentMode(in_struct->presentMode),
9270 clipped(in_struct->clipped),
9271 oldSwapchain(in_struct->oldSwapchain)
9272{
9273 if (in_struct->pQueueFamilyIndices) {
9274 pQueueFamilyIndices = new uint32_t[in_struct->queueFamilyIndexCount];
9275 memcpy ((void *)pQueueFamilyIndices, (void *)in_struct->pQueueFamilyIndices, sizeof(uint32_t)*in_struct->queueFamilyIndexCount);
9276 }
9277}
9278
9279safe_VkSwapchainCreateInfoKHR::safe_VkSwapchainCreateInfoKHR() :
9280 pQueueFamilyIndices(nullptr)
9281{}
9282
9283safe_VkSwapchainCreateInfoKHR::safe_VkSwapchainCreateInfoKHR(const safe_VkSwapchainCreateInfoKHR& src)
9284{
9285 sType = src.sType;
9286 pNext = src.pNext;
9287 flags = src.flags;
9288 surface = src.surface;
9289 minImageCount = src.minImageCount;
9290 imageFormat = src.imageFormat;
9291 imageColorSpace = src.imageColorSpace;
9292 imageExtent = src.imageExtent;
9293 imageArrayLayers = src.imageArrayLayers;
9294 imageUsage = src.imageUsage;
9295 imageSharingMode = src.imageSharingMode;
9296 queueFamilyIndexCount = src.queueFamilyIndexCount;
9297 pQueueFamilyIndices = nullptr;
9298 preTransform = src.preTransform;
9299 compositeAlpha = src.compositeAlpha;
9300 presentMode = src.presentMode;
9301 clipped = src.clipped;
9302 oldSwapchain = src.oldSwapchain;
9303 if (src.pQueueFamilyIndices) {
9304 pQueueFamilyIndices = new uint32_t[src.queueFamilyIndexCount];
9305 memcpy ((void *)pQueueFamilyIndices, (void *)src.pQueueFamilyIndices, sizeof(uint32_t)*src.queueFamilyIndexCount);
9306 }
9307}
9308
9309safe_VkSwapchainCreateInfoKHR& safe_VkSwapchainCreateInfoKHR::operator=(const safe_VkSwapchainCreateInfoKHR& src)
9310{
9311 if (&src == this) return *this;
9312
9313 if (pQueueFamilyIndices)
9314 delete[] pQueueFamilyIndices;
9315
9316 sType = src.sType;
9317 pNext = src.pNext;
9318 flags = src.flags;
9319 surface = src.surface;
9320 minImageCount = src.minImageCount;
9321 imageFormat = src.imageFormat;
9322 imageColorSpace = src.imageColorSpace;
9323 imageExtent = src.imageExtent;
9324 imageArrayLayers = src.imageArrayLayers;
9325 imageUsage = src.imageUsage;
9326 imageSharingMode = src.imageSharingMode;
9327 queueFamilyIndexCount = src.queueFamilyIndexCount;
9328 pQueueFamilyIndices = nullptr;
9329 preTransform = src.preTransform;
9330 compositeAlpha = src.compositeAlpha;
9331 presentMode = src.presentMode;
9332 clipped = src.clipped;
9333 oldSwapchain = src.oldSwapchain;
9334 if (src.pQueueFamilyIndices) {
9335 pQueueFamilyIndices = new uint32_t[src.queueFamilyIndexCount];
9336 memcpy ((void *)pQueueFamilyIndices, (void *)src.pQueueFamilyIndices, sizeof(uint32_t)*src.queueFamilyIndexCount);
9337 }
9338
9339 return *this;
9340}
9341
9342safe_VkSwapchainCreateInfoKHR::~safe_VkSwapchainCreateInfoKHR()
9343{
9344 if (pQueueFamilyIndices)
9345 delete[] pQueueFamilyIndices;
9346}
9347
9348void safe_VkSwapchainCreateInfoKHR::initialize(const VkSwapchainCreateInfoKHR* in_struct)
9349{
9350 sType = in_struct->sType;
9351 pNext = in_struct->pNext;
9352 flags = in_struct->flags;
9353 surface = in_struct->surface;
9354 minImageCount = in_struct->minImageCount;
9355 imageFormat = in_struct->imageFormat;
9356 imageColorSpace = in_struct->imageColorSpace;
9357 imageExtent = in_struct->imageExtent;
9358 imageArrayLayers = in_struct->imageArrayLayers;
9359 imageUsage = in_struct->imageUsage;
9360 imageSharingMode = in_struct->imageSharingMode;
9361 queueFamilyIndexCount = in_struct->queueFamilyIndexCount;
9362 pQueueFamilyIndices = nullptr;
9363 preTransform = in_struct->preTransform;
9364 compositeAlpha = in_struct->compositeAlpha;
9365 presentMode = in_struct->presentMode;
9366 clipped = in_struct->clipped;
9367 oldSwapchain = in_struct->oldSwapchain;
9368 if (in_struct->pQueueFamilyIndices) {
9369 pQueueFamilyIndices = new uint32_t[in_struct->queueFamilyIndexCount];
9370 memcpy ((void *)pQueueFamilyIndices, (void *)in_struct->pQueueFamilyIndices, sizeof(uint32_t)*in_struct->queueFamilyIndexCount);
9371 }
9372}
9373
9374void safe_VkSwapchainCreateInfoKHR::initialize(const safe_VkSwapchainCreateInfoKHR* src)
9375{
9376 sType = src->sType;
9377 pNext = src->pNext;
9378 flags = src->flags;
9379 surface = src->surface;
9380 minImageCount = src->minImageCount;
9381 imageFormat = src->imageFormat;
9382 imageColorSpace = src->imageColorSpace;
9383 imageExtent = src->imageExtent;
9384 imageArrayLayers = src->imageArrayLayers;
9385 imageUsage = src->imageUsage;
9386 imageSharingMode = src->imageSharingMode;
9387 queueFamilyIndexCount = src->queueFamilyIndexCount;
9388 pQueueFamilyIndices = nullptr;
9389 preTransform = src->preTransform;
9390 compositeAlpha = src->compositeAlpha;
9391 presentMode = src->presentMode;
9392 clipped = src->clipped;
9393 oldSwapchain = src->oldSwapchain;
9394 if (src->pQueueFamilyIndices) {
9395 pQueueFamilyIndices = new uint32_t[src->queueFamilyIndexCount];
9396 memcpy ((void *)pQueueFamilyIndices, (void *)src->pQueueFamilyIndices, sizeof(uint32_t)*src->queueFamilyIndexCount);
9397 }
9398}
9399
9400safe_VkPresentInfoKHR::safe_VkPresentInfoKHR(const VkPresentInfoKHR* in_struct) :
9401 sType(in_struct->sType),
9402 pNext(in_struct->pNext),
9403 waitSemaphoreCount(in_struct->waitSemaphoreCount),
9404 pWaitSemaphores(nullptr),
9405 swapchainCount(in_struct->swapchainCount),
9406 pSwapchains(nullptr),
9407 pImageIndices(nullptr),
9408 pResults(nullptr)
9409{
9410 if (waitSemaphoreCount && in_struct->pWaitSemaphores) {
9411 pWaitSemaphores = new VkSemaphore[waitSemaphoreCount];
9412 for (uint32_t i=0; i<waitSemaphoreCount; ++i) {
9413 pWaitSemaphores[i] = in_struct->pWaitSemaphores[i];
9414 }
9415 }
9416 if (swapchainCount && in_struct->pSwapchains) {
9417 pSwapchains = new VkSwapchainKHR[swapchainCount];
9418 for (uint32_t i=0; i<swapchainCount; ++i) {
9419 pSwapchains[i] = in_struct->pSwapchains[i];
9420 }
9421 }
9422 if (in_struct->pImageIndices) {
9423 pImageIndices = new uint32_t[in_struct->swapchainCount];
9424 memcpy ((void *)pImageIndices, (void *)in_struct->pImageIndices, sizeof(uint32_t)*in_struct->swapchainCount);
9425 }
9426 if (in_struct->pResults) {
9427 pResults = new VkResult[in_struct->swapchainCount];
9428 memcpy ((void *)pResults, (void *)in_struct->pResults, sizeof(VkResult)*in_struct->swapchainCount);
9429 }
9430}
9431
9432safe_VkPresentInfoKHR::safe_VkPresentInfoKHR() :
9433 pWaitSemaphores(nullptr),
9434 pSwapchains(nullptr),
9435 pImageIndices(nullptr),
9436 pResults(nullptr)
9437{}
9438
9439safe_VkPresentInfoKHR::safe_VkPresentInfoKHR(const safe_VkPresentInfoKHR& src)
9440{
9441 sType = src.sType;
9442 pNext = src.pNext;
9443 waitSemaphoreCount = src.waitSemaphoreCount;
9444 pWaitSemaphores = nullptr;
9445 swapchainCount = src.swapchainCount;
9446 pSwapchains = nullptr;
9447 pImageIndices = nullptr;
9448 pResults = nullptr;
9449 if (waitSemaphoreCount && src.pWaitSemaphores) {
9450 pWaitSemaphores = new VkSemaphore[waitSemaphoreCount];
9451 for (uint32_t i=0; i<waitSemaphoreCount; ++i) {
9452 pWaitSemaphores[i] = src.pWaitSemaphores[i];
9453 }
9454 }
9455 if (swapchainCount && src.pSwapchains) {
9456 pSwapchains = new VkSwapchainKHR[swapchainCount];
9457 for (uint32_t i=0; i<swapchainCount; ++i) {
9458 pSwapchains[i] = src.pSwapchains[i];
9459 }
9460 }
9461 if (src.pImageIndices) {
9462 pImageIndices = new uint32_t[src.swapchainCount];
9463 memcpy ((void *)pImageIndices, (void *)src.pImageIndices, sizeof(uint32_t)*src.swapchainCount);
9464 }
9465 if (src.pResults) {
9466 pResults = new VkResult[src.swapchainCount];
9467 memcpy ((void *)pResults, (void *)src.pResults, sizeof(VkResult)*src.swapchainCount);
9468 }
9469}
9470
9471safe_VkPresentInfoKHR& safe_VkPresentInfoKHR::operator=(const safe_VkPresentInfoKHR& src)
9472{
9473 if (&src == this) return *this;
9474
9475 if (pWaitSemaphores)
9476 delete[] pWaitSemaphores;
9477 if (pSwapchains)
9478 delete[] pSwapchains;
9479 if (pImageIndices)
9480 delete[] pImageIndices;
9481 if (pResults)
9482 delete[] pResults;
9483
9484 sType = src.sType;
9485 pNext = src.pNext;
9486 waitSemaphoreCount = src.waitSemaphoreCount;
9487 pWaitSemaphores = nullptr;
9488 swapchainCount = src.swapchainCount;
9489 pSwapchains = nullptr;
9490 pImageIndices = nullptr;
9491 pResults = nullptr;
9492 if (waitSemaphoreCount && src.pWaitSemaphores) {
9493 pWaitSemaphores = new VkSemaphore[waitSemaphoreCount];
9494 for (uint32_t i=0; i<waitSemaphoreCount; ++i) {
9495 pWaitSemaphores[i] = src.pWaitSemaphores[i];
9496 }
9497 }
9498 if (swapchainCount && src.pSwapchains) {
9499 pSwapchains = new VkSwapchainKHR[swapchainCount];
9500 for (uint32_t i=0; i<swapchainCount; ++i) {
9501 pSwapchains[i] = src.pSwapchains[i];
9502 }
9503 }
9504 if (src.pImageIndices) {
9505 pImageIndices = new uint32_t[src.swapchainCount];
9506 memcpy ((void *)pImageIndices, (void *)src.pImageIndices, sizeof(uint32_t)*src.swapchainCount);
9507 }
9508 if (src.pResults) {
9509 pResults = new VkResult[src.swapchainCount];
9510 memcpy ((void *)pResults, (void *)src.pResults, sizeof(VkResult)*src.swapchainCount);
9511 }
9512
9513 return *this;
9514}
9515
9516safe_VkPresentInfoKHR::~safe_VkPresentInfoKHR()
9517{
9518 if (pWaitSemaphores)
9519 delete[] pWaitSemaphores;
9520 if (pSwapchains)
9521 delete[] pSwapchains;
9522 if (pImageIndices)
9523 delete[] pImageIndices;
9524 if (pResults)
9525 delete[] pResults;
9526}
9527
9528void safe_VkPresentInfoKHR::initialize(const VkPresentInfoKHR* in_struct)
9529{
9530 sType = in_struct->sType;
9531 pNext = in_struct->pNext;
9532 waitSemaphoreCount = in_struct->waitSemaphoreCount;
9533 pWaitSemaphores = nullptr;
9534 swapchainCount = in_struct->swapchainCount;
9535 pSwapchains = nullptr;
9536 pImageIndices = nullptr;
9537 pResults = nullptr;
9538 if (waitSemaphoreCount && in_struct->pWaitSemaphores) {
9539 pWaitSemaphores = new VkSemaphore[waitSemaphoreCount];
9540 for (uint32_t i=0; i<waitSemaphoreCount; ++i) {
9541 pWaitSemaphores[i] = in_struct->pWaitSemaphores[i];
9542 }
9543 }
9544 if (swapchainCount && in_struct->pSwapchains) {
9545 pSwapchains = new VkSwapchainKHR[swapchainCount];
9546 for (uint32_t i=0; i<swapchainCount; ++i) {
9547 pSwapchains[i] = in_struct->pSwapchains[i];
9548 }
9549 }
9550 if (in_struct->pImageIndices) {
9551 pImageIndices = new uint32_t[in_struct->swapchainCount];
9552 memcpy ((void *)pImageIndices, (void *)in_struct->pImageIndices, sizeof(uint32_t)*in_struct->swapchainCount);
9553 }
9554 if (in_struct->pResults) {
9555 pResults = new VkResult[in_struct->swapchainCount];
9556 memcpy ((void *)pResults, (void *)in_struct->pResults, sizeof(VkResult)*in_struct->swapchainCount);
9557 }
9558}
9559
9560void safe_VkPresentInfoKHR::initialize(const safe_VkPresentInfoKHR* src)
9561{
9562 sType = src->sType;
9563 pNext = src->pNext;
9564 waitSemaphoreCount = src->waitSemaphoreCount;
9565 pWaitSemaphores = nullptr;
9566 swapchainCount = src->swapchainCount;
9567 pSwapchains = nullptr;
9568 pImageIndices = nullptr;
9569 pResults = nullptr;
9570 if (waitSemaphoreCount && src->pWaitSemaphores) {
9571 pWaitSemaphores = new VkSemaphore[waitSemaphoreCount];
9572 for (uint32_t i=0; i<waitSemaphoreCount; ++i) {
9573 pWaitSemaphores[i] = src->pWaitSemaphores[i];
9574 }
9575 }
9576 if (swapchainCount && src->pSwapchains) {
9577 pSwapchains = new VkSwapchainKHR[swapchainCount];
9578 for (uint32_t i=0; i<swapchainCount; ++i) {
9579 pSwapchains[i] = src->pSwapchains[i];
9580 }
9581 }
9582 if (src->pImageIndices) {
9583 pImageIndices = new uint32_t[src->swapchainCount];
9584 memcpy ((void *)pImageIndices, (void *)src->pImageIndices, sizeof(uint32_t)*src->swapchainCount);
9585 }
9586 if (src->pResults) {
9587 pResults = new VkResult[src->swapchainCount];
9588 memcpy ((void *)pResults, (void *)src->pResults, sizeof(VkResult)*src->swapchainCount);
9589 }
9590}
9591
9592safe_VkImageSwapchainCreateInfoKHR::safe_VkImageSwapchainCreateInfoKHR(const VkImageSwapchainCreateInfoKHR* in_struct) :
9593 sType(in_struct->sType),
9594 pNext(in_struct->pNext),
9595 swapchain(in_struct->swapchain)
9596{
9597}
9598
9599safe_VkImageSwapchainCreateInfoKHR::safe_VkImageSwapchainCreateInfoKHR()
9600{}
9601
9602safe_VkImageSwapchainCreateInfoKHR::safe_VkImageSwapchainCreateInfoKHR(const safe_VkImageSwapchainCreateInfoKHR& src)
9603{
9604 sType = src.sType;
9605 pNext = src.pNext;
9606 swapchain = src.swapchain;
9607}
9608
9609safe_VkImageSwapchainCreateInfoKHR& safe_VkImageSwapchainCreateInfoKHR::operator=(const safe_VkImageSwapchainCreateInfoKHR& src)
9610{
9611 if (&src == this) return *this;
9612
9613
9614 sType = src.sType;
9615 pNext = src.pNext;
9616 swapchain = src.swapchain;
9617
9618 return *this;
9619}
9620
9621safe_VkImageSwapchainCreateInfoKHR::~safe_VkImageSwapchainCreateInfoKHR()
9622{
9623}
9624
9625void safe_VkImageSwapchainCreateInfoKHR::initialize(const VkImageSwapchainCreateInfoKHR* in_struct)
9626{
9627 sType = in_struct->sType;
9628 pNext = in_struct->pNext;
9629 swapchain = in_struct->swapchain;
9630}
9631
9632void safe_VkImageSwapchainCreateInfoKHR::initialize(const safe_VkImageSwapchainCreateInfoKHR* src)
9633{
9634 sType = src->sType;
9635 pNext = src->pNext;
9636 swapchain = src->swapchain;
9637}
9638
9639safe_VkBindImageMemorySwapchainInfoKHR::safe_VkBindImageMemorySwapchainInfoKHR(const VkBindImageMemorySwapchainInfoKHR* in_struct) :
9640 sType(in_struct->sType),
9641 pNext(in_struct->pNext),
9642 swapchain(in_struct->swapchain),
9643 imageIndex(in_struct->imageIndex)
9644{
9645}
9646
9647safe_VkBindImageMemorySwapchainInfoKHR::safe_VkBindImageMemorySwapchainInfoKHR()
9648{}
9649
9650safe_VkBindImageMemorySwapchainInfoKHR::safe_VkBindImageMemorySwapchainInfoKHR(const safe_VkBindImageMemorySwapchainInfoKHR& src)
9651{
9652 sType = src.sType;
9653 pNext = src.pNext;
9654 swapchain = src.swapchain;
9655 imageIndex = src.imageIndex;
9656}
9657
9658safe_VkBindImageMemorySwapchainInfoKHR& safe_VkBindImageMemorySwapchainInfoKHR::operator=(const safe_VkBindImageMemorySwapchainInfoKHR& src)
9659{
9660 if (&src == this) return *this;
9661
9662
9663 sType = src.sType;
9664 pNext = src.pNext;
9665 swapchain = src.swapchain;
9666 imageIndex = src.imageIndex;
9667
9668 return *this;
9669}
9670
9671safe_VkBindImageMemorySwapchainInfoKHR::~safe_VkBindImageMemorySwapchainInfoKHR()
9672{
9673}
9674
9675void safe_VkBindImageMemorySwapchainInfoKHR::initialize(const VkBindImageMemorySwapchainInfoKHR* in_struct)
9676{
9677 sType = in_struct->sType;
9678 pNext = in_struct->pNext;
9679 swapchain = in_struct->swapchain;
9680 imageIndex = in_struct->imageIndex;
9681}
9682
9683void safe_VkBindImageMemorySwapchainInfoKHR::initialize(const safe_VkBindImageMemorySwapchainInfoKHR* src)
9684{
9685 sType = src->sType;
9686 pNext = src->pNext;
9687 swapchain = src->swapchain;
9688 imageIndex = src->imageIndex;
9689}
9690
9691safe_VkAcquireNextImageInfoKHR::safe_VkAcquireNextImageInfoKHR(const VkAcquireNextImageInfoKHR* in_struct) :
9692 sType(in_struct->sType),
9693 pNext(in_struct->pNext),
9694 swapchain(in_struct->swapchain),
9695 timeout(in_struct->timeout),
9696 semaphore(in_struct->semaphore),
9697 fence(in_struct->fence),
9698 deviceMask(in_struct->deviceMask)
9699{
9700}
9701
9702safe_VkAcquireNextImageInfoKHR::safe_VkAcquireNextImageInfoKHR()
9703{}
9704
9705safe_VkAcquireNextImageInfoKHR::safe_VkAcquireNextImageInfoKHR(const safe_VkAcquireNextImageInfoKHR& src)
9706{
9707 sType = src.sType;
9708 pNext = src.pNext;
9709 swapchain = src.swapchain;
9710 timeout = src.timeout;
9711 semaphore = src.semaphore;
9712 fence = src.fence;
9713 deviceMask = src.deviceMask;
9714}
9715
9716safe_VkAcquireNextImageInfoKHR& safe_VkAcquireNextImageInfoKHR::operator=(const safe_VkAcquireNextImageInfoKHR& src)
9717{
9718 if (&src == this) return *this;
9719
9720
9721 sType = src.sType;
9722 pNext = src.pNext;
9723 swapchain = src.swapchain;
9724 timeout = src.timeout;
9725 semaphore = src.semaphore;
9726 fence = src.fence;
9727 deviceMask = src.deviceMask;
9728
9729 return *this;
9730}
9731
9732safe_VkAcquireNextImageInfoKHR::~safe_VkAcquireNextImageInfoKHR()
9733{
9734}
9735
9736void safe_VkAcquireNextImageInfoKHR::initialize(const VkAcquireNextImageInfoKHR* in_struct)
9737{
9738 sType = in_struct->sType;
9739 pNext = in_struct->pNext;
9740 swapchain = in_struct->swapchain;
9741 timeout = in_struct->timeout;
9742 semaphore = in_struct->semaphore;
9743 fence = in_struct->fence;
9744 deviceMask = in_struct->deviceMask;
9745}
9746
9747void safe_VkAcquireNextImageInfoKHR::initialize(const safe_VkAcquireNextImageInfoKHR* src)
9748{
9749 sType = src->sType;
9750 pNext = src->pNext;
9751 swapchain = src->swapchain;
9752 timeout = src->timeout;
9753 semaphore = src->semaphore;
9754 fence = src->fence;
9755 deviceMask = src->deviceMask;
9756}
9757
9758safe_VkDeviceGroupPresentCapabilitiesKHR::safe_VkDeviceGroupPresentCapabilitiesKHR(const VkDeviceGroupPresentCapabilitiesKHR* in_struct) :
9759 sType(in_struct->sType),
9760 pNext(in_struct->pNext),
9761 modes(in_struct->modes)
9762{
9763 for (uint32_t i=0; i<VK_MAX_DEVICE_GROUP_SIZE; ++i) {
9764 presentMask[i] = in_struct->presentMask[i];
9765 }
9766}
9767
9768safe_VkDeviceGroupPresentCapabilitiesKHR::safe_VkDeviceGroupPresentCapabilitiesKHR()
9769{}
9770
9771safe_VkDeviceGroupPresentCapabilitiesKHR::safe_VkDeviceGroupPresentCapabilitiesKHR(const safe_VkDeviceGroupPresentCapabilitiesKHR& src)
9772{
9773 sType = src.sType;
9774 pNext = src.pNext;
9775 modes = src.modes;
9776 for (uint32_t i=0; i<VK_MAX_DEVICE_GROUP_SIZE; ++i) {
9777 presentMask[i] = src.presentMask[i];
9778 }
9779}
9780
9781safe_VkDeviceGroupPresentCapabilitiesKHR& safe_VkDeviceGroupPresentCapabilitiesKHR::operator=(const safe_VkDeviceGroupPresentCapabilitiesKHR& src)
9782{
9783 if (&src == this) return *this;
9784
9785
9786 sType = src.sType;
9787 pNext = src.pNext;
9788 modes = src.modes;
9789 for (uint32_t i=0; i<VK_MAX_DEVICE_GROUP_SIZE; ++i) {
9790 presentMask[i] = src.presentMask[i];
9791 }
9792
9793 return *this;
9794}
9795
9796safe_VkDeviceGroupPresentCapabilitiesKHR::~safe_VkDeviceGroupPresentCapabilitiesKHR()
9797{
9798}
9799
9800void safe_VkDeviceGroupPresentCapabilitiesKHR::initialize(const VkDeviceGroupPresentCapabilitiesKHR* in_struct)
9801{
9802 sType = in_struct->sType;
9803 pNext = in_struct->pNext;
9804 modes = in_struct->modes;
9805 for (uint32_t i=0; i<VK_MAX_DEVICE_GROUP_SIZE; ++i) {
9806 presentMask[i] = in_struct->presentMask[i];
9807 }
9808}
9809
9810void safe_VkDeviceGroupPresentCapabilitiesKHR::initialize(const safe_VkDeviceGroupPresentCapabilitiesKHR* src)
9811{
9812 sType = src->sType;
9813 pNext = src->pNext;
9814 modes = src->modes;
9815 for (uint32_t i=0; i<VK_MAX_DEVICE_GROUP_SIZE; ++i) {
9816 presentMask[i] = src->presentMask[i];
9817 }
9818}
9819
9820safe_VkDeviceGroupPresentInfoKHR::safe_VkDeviceGroupPresentInfoKHR(const VkDeviceGroupPresentInfoKHR* in_struct) :
9821 sType(in_struct->sType),
9822 pNext(in_struct->pNext),
9823 swapchainCount(in_struct->swapchainCount),
9824 pDeviceMasks(nullptr),
9825 mode(in_struct->mode)
9826{
9827 if (in_struct->pDeviceMasks) {
9828 pDeviceMasks = new uint32_t[in_struct->swapchainCount];
9829 memcpy ((void *)pDeviceMasks, (void *)in_struct->pDeviceMasks, sizeof(uint32_t)*in_struct->swapchainCount);
9830 }
9831}
9832
9833safe_VkDeviceGroupPresentInfoKHR::safe_VkDeviceGroupPresentInfoKHR() :
9834 pDeviceMasks(nullptr)
9835{}
9836
9837safe_VkDeviceGroupPresentInfoKHR::safe_VkDeviceGroupPresentInfoKHR(const safe_VkDeviceGroupPresentInfoKHR& src)
9838{
9839 sType = src.sType;
9840 pNext = src.pNext;
9841 swapchainCount = src.swapchainCount;
9842 pDeviceMasks = nullptr;
9843 mode = src.mode;
9844 if (src.pDeviceMasks) {
9845 pDeviceMasks = new uint32_t[src.swapchainCount];
9846 memcpy ((void *)pDeviceMasks, (void *)src.pDeviceMasks, sizeof(uint32_t)*src.swapchainCount);
9847 }
9848}
9849
9850safe_VkDeviceGroupPresentInfoKHR& safe_VkDeviceGroupPresentInfoKHR::operator=(const safe_VkDeviceGroupPresentInfoKHR& src)
9851{
9852 if (&src == this) return *this;
9853
9854 if (pDeviceMasks)
9855 delete[] pDeviceMasks;
9856
9857 sType = src.sType;
9858 pNext = src.pNext;
9859 swapchainCount = src.swapchainCount;
9860 pDeviceMasks = nullptr;
9861 mode = src.mode;
9862 if (src.pDeviceMasks) {
9863 pDeviceMasks = new uint32_t[src.swapchainCount];
9864 memcpy ((void *)pDeviceMasks, (void *)src.pDeviceMasks, sizeof(uint32_t)*src.swapchainCount);
9865 }
9866
9867 return *this;
9868}
9869
9870safe_VkDeviceGroupPresentInfoKHR::~safe_VkDeviceGroupPresentInfoKHR()
9871{
9872 if (pDeviceMasks)
9873 delete[] pDeviceMasks;
9874}
9875
9876void safe_VkDeviceGroupPresentInfoKHR::initialize(const VkDeviceGroupPresentInfoKHR* in_struct)
9877{
9878 sType = in_struct->sType;
9879 pNext = in_struct->pNext;
9880 swapchainCount = in_struct->swapchainCount;
9881 pDeviceMasks = nullptr;
9882 mode = in_struct->mode;
9883 if (in_struct->pDeviceMasks) {
9884 pDeviceMasks = new uint32_t[in_struct->swapchainCount];
9885 memcpy ((void *)pDeviceMasks, (void *)in_struct->pDeviceMasks, sizeof(uint32_t)*in_struct->swapchainCount);
9886 }
9887}
9888
9889void safe_VkDeviceGroupPresentInfoKHR::initialize(const safe_VkDeviceGroupPresentInfoKHR* src)
9890{
9891 sType = src->sType;
9892 pNext = src->pNext;
9893 swapchainCount = src->swapchainCount;
9894 pDeviceMasks = nullptr;
9895 mode = src->mode;
9896 if (src->pDeviceMasks) {
9897 pDeviceMasks = new uint32_t[src->swapchainCount];
9898 memcpy ((void *)pDeviceMasks, (void *)src->pDeviceMasks, sizeof(uint32_t)*src->swapchainCount);
9899 }
9900}
9901
9902safe_VkDeviceGroupSwapchainCreateInfoKHR::safe_VkDeviceGroupSwapchainCreateInfoKHR(const VkDeviceGroupSwapchainCreateInfoKHR* in_struct) :
9903 sType(in_struct->sType),
9904 pNext(in_struct->pNext),
9905 modes(in_struct->modes)
9906{
9907}
9908
9909safe_VkDeviceGroupSwapchainCreateInfoKHR::safe_VkDeviceGroupSwapchainCreateInfoKHR()
9910{}
9911
9912safe_VkDeviceGroupSwapchainCreateInfoKHR::safe_VkDeviceGroupSwapchainCreateInfoKHR(const safe_VkDeviceGroupSwapchainCreateInfoKHR& src)
9913{
9914 sType = src.sType;
9915 pNext = src.pNext;
9916 modes = src.modes;
9917}
9918
9919safe_VkDeviceGroupSwapchainCreateInfoKHR& safe_VkDeviceGroupSwapchainCreateInfoKHR::operator=(const safe_VkDeviceGroupSwapchainCreateInfoKHR& src)
9920{
9921 if (&src == this) return *this;
9922
9923
9924 sType = src.sType;
9925 pNext = src.pNext;
9926 modes = src.modes;
9927
9928 return *this;
9929}
9930
9931safe_VkDeviceGroupSwapchainCreateInfoKHR::~safe_VkDeviceGroupSwapchainCreateInfoKHR()
9932{
9933}
9934
9935void safe_VkDeviceGroupSwapchainCreateInfoKHR::initialize(const VkDeviceGroupSwapchainCreateInfoKHR* in_struct)
9936{
9937 sType = in_struct->sType;
9938 pNext = in_struct->pNext;
9939 modes = in_struct->modes;
9940}
9941
9942void safe_VkDeviceGroupSwapchainCreateInfoKHR::initialize(const safe_VkDeviceGroupSwapchainCreateInfoKHR* src)
9943{
9944 sType = src->sType;
9945 pNext = src->pNext;
9946 modes = src->modes;
9947}
9948
9949safe_VkDisplayPropertiesKHR::safe_VkDisplayPropertiesKHR(const VkDisplayPropertiesKHR* in_struct) :
9950 display(in_struct->display),
9951 displayName(in_struct->displayName),
9952 physicalDimensions(in_struct->physicalDimensions),
9953 physicalResolution(in_struct->physicalResolution),
9954 supportedTransforms(in_struct->supportedTransforms),
9955 planeReorderPossible(in_struct->planeReorderPossible),
9956 persistentContent(in_struct->persistentContent)
9957{
9958}
9959
9960safe_VkDisplayPropertiesKHR::safe_VkDisplayPropertiesKHR()
9961{}
9962
9963safe_VkDisplayPropertiesKHR::safe_VkDisplayPropertiesKHR(const safe_VkDisplayPropertiesKHR& src)
9964{
9965 display = src.display;
9966 displayName = src.displayName;
9967 physicalDimensions = src.physicalDimensions;
9968 physicalResolution = src.physicalResolution;
9969 supportedTransforms = src.supportedTransforms;
9970 planeReorderPossible = src.planeReorderPossible;
9971 persistentContent = src.persistentContent;
9972}
9973
9974safe_VkDisplayPropertiesKHR& safe_VkDisplayPropertiesKHR::operator=(const safe_VkDisplayPropertiesKHR& src)
9975{
9976 if (&src == this) return *this;
9977
9978
9979 display = src.display;
9980 displayName = src.displayName;
9981 physicalDimensions = src.physicalDimensions;
9982 physicalResolution = src.physicalResolution;
9983 supportedTransforms = src.supportedTransforms;
9984 planeReorderPossible = src.planeReorderPossible;
9985 persistentContent = src.persistentContent;
9986
9987 return *this;
9988}
9989
9990safe_VkDisplayPropertiesKHR::~safe_VkDisplayPropertiesKHR()
9991{
9992}
9993
9994void safe_VkDisplayPropertiesKHR::initialize(const VkDisplayPropertiesKHR* in_struct)
9995{
9996 display = in_struct->display;
9997 displayName = in_struct->displayName;
9998 physicalDimensions = in_struct->physicalDimensions;
9999 physicalResolution = in_struct->physicalResolution;
10000 supportedTransforms = in_struct->supportedTransforms;
10001 planeReorderPossible = in_struct->planeReorderPossible;
10002 persistentContent = in_struct->persistentContent;
10003}
10004
10005void safe_VkDisplayPropertiesKHR::initialize(const safe_VkDisplayPropertiesKHR* src)
10006{
10007 display = src->display;
10008 displayName = src->displayName;
10009 physicalDimensions = src->physicalDimensions;
10010 physicalResolution = src->physicalResolution;
10011 supportedTransforms = src->supportedTransforms;
10012 planeReorderPossible = src->planeReorderPossible;
10013 persistentContent = src->persistentContent;
10014}
10015
10016safe_VkDisplayModeCreateInfoKHR::safe_VkDisplayModeCreateInfoKHR(const VkDisplayModeCreateInfoKHR* in_struct) :
10017 sType(in_struct->sType),
10018 pNext(in_struct->pNext),
10019 flags(in_struct->flags),
10020 parameters(in_struct->parameters)
10021{
10022}
10023
10024safe_VkDisplayModeCreateInfoKHR::safe_VkDisplayModeCreateInfoKHR()
10025{}
10026
10027safe_VkDisplayModeCreateInfoKHR::safe_VkDisplayModeCreateInfoKHR(const safe_VkDisplayModeCreateInfoKHR& src)
10028{
10029 sType = src.sType;
10030 pNext = src.pNext;
10031 flags = src.flags;
10032 parameters = src.parameters;
10033}
10034
10035safe_VkDisplayModeCreateInfoKHR& safe_VkDisplayModeCreateInfoKHR::operator=(const safe_VkDisplayModeCreateInfoKHR& src)
10036{
10037 if (&src == this) return *this;
10038
10039
10040 sType = src.sType;
10041 pNext = src.pNext;
10042 flags = src.flags;
10043 parameters = src.parameters;
10044
10045 return *this;
10046}
10047
10048safe_VkDisplayModeCreateInfoKHR::~safe_VkDisplayModeCreateInfoKHR()
10049{
10050}
10051
10052void safe_VkDisplayModeCreateInfoKHR::initialize(const VkDisplayModeCreateInfoKHR* in_struct)
10053{
10054 sType = in_struct->sType;
10055 pNext = in_struct->pNext;
10056 flags = in_struct->flags;
10057 parameters = in_struct->parameters;
10058}
10059
10060void safe_VkDisplayModeCreateInfoKHR::initialize(const safe_VkDisplayModeCreateInfoKHR* src)
10061{
10062 sType = src->sType;
10063 pNext = src->pNext;
10064 flags = src->flags;
10065 parameters = src->parameters;
10066}
10067
10068safe_VkDisplaySurfaceCreateInfoKHR::safe_VkDisplaySurfaceCreateInfoKHR(const VkDisplaySurfaceCreateInfoKHR* in_struct) :
10069 sType(in_struct->sType),
10070 pNext(in_struct->pNext),
10071 flags(in_struct->flags),
10072 displayMode(in_struct->displayMode),
10073 planeIndex(in_struct->planeIndex),
10074 planeStackIndex(in_struct->planeStackIndex),
10075 transform(in_struct->transform),
10076 globalAlpha(in_struct->globalAlpha),
10077 alphaMode(in_struct->alphaMode),
10078 imageExtent(in_struct->imageExtent)
10079{
10080}
10081
10082safe_VkDisplaySurfaceCreateInfoKHR::safe_VkDisplaySurfaceCreateInfoKHR()
10083{}
10084
10085safe_VkDisplaySurfaceCreateInfoKHR::safe_VkDisplaySurfaceCreateInfoKHR(const safe_VkDisplaySurfaceCreateInfoKHR& src)
10086{
10087 sType = src.sType;
10088 pNext = src.pNext;
10089 flags = src.flags;
10090 displayMode = src.displayMode;
10091 planeIndex = src.planeIndex;
10092 planeStackIndex = src.planeStackIndex;
10093 transform = src.transform;
10094 globalAlpha = src.globalAlpha;
10095 alphaMode = src.alphaMode;
10096 imageExtent = src.imageExtent;
10097}
10098
10099safe_VkDisplaySurfaceCreateInfoKHR& safe_VkDisplaySurfaceCreateInfoKHR::operator=(const safe_VkDisplaySurfaceCreateInfoKHR& src)
10100{
10101 if (&src == this) return *this;
10102
10103
10104 sType = src.sType;
10105 pNext = src.pNext;
10106 flags = src.flags;
10107 displayMode = src.displayMode;
10108 planeIndex = src.planeIndex;
10109 planeStackIndex = src.planeStackIndex;
10110 transform = src.transform;
10111 globalAlpha = src.globalAlpha;
10112 alphaMode = src.alphaMode;
10113 imageExtent = src.imageExtent;
10114
10115 return *this;
10116}
10117
10118safe_VkDisplaySurfaceCreateInfoKHR::~safe_VkDisplaySurfaceCreateInfoKHR()
10119{
10120}
10121
10122void safe_VkDisplaySurfaceCreateInfoKHR::initialize(const VkDisplaySurfaceCreateInfoKHR* in_struct)
10123{
10124 sType = in_struct->sType;
10125 pNext = in_struct->pNext;
10126 flags = in_struct->flags;
10127 displayMode = in_struct->displayMode;
10128 planeIndex = in_struct->planeIndex;
10129 planeStackIndex = in_struct->planeStackIndex;
10130 transform = in_struct->transform;
10131 globalAlpha = in_struct->globalAlpha;
10132 alphaMode = in_struct->alphaMode;
10133 imageExtent = in_struct->imageExtent;
10134}
10135
10136void safe_VkDisplaySurfaceCreateInfoKHR::initialize(const safe_VkDisplaySurfaceCreateInfoKHR* src)
10137{
10138 sType = src->sType;
10139 pNext = src->pNext;
10140 flags = src->flags;
10141 displayMode = src->displayMode;
10142 planeIndex = src->planeIndex;
10143 planeStackIndex = src->planeStackIndex;
10144 transform = src->transform;
10145 globalAlpha = src->globalAlpha;
10146 alphaMode = src->alphaMode;
10147 imageExtent = src->imageExtent;
10148}
10149
10150safe_VkDisplayPresentInfoKHR::safe_VkDisplayPresentInfoKHR(const VkDisplayPresentInfoKHR* in_struct) :
10151 sType(in_struct->sType),
10152 pNext(in_struct->pNext),
10153 srcRect(in_struct->srcRect),
10154 dstRect(in_struct->dstRect),
10155 persistent(in_struct->persistent)
10156{
10157}
10158
10159safe_VkDisplayPresentInfoKHR::safe_VkDisplayPresentInfoKHR()
10160{}
10161
10162safe_VkDisplayPresentInfoKHR::safe_VkDisplayPresentInfoKHR(const safe_VkDisplayPresentInfoKHR& src)
10163{
10164 sType = src.sType;
10165 pNext = src.pNext;
10166 srcRect = src.srcRect;
10167 dstRect = src.dstRect;
10168 persistent = src.persistent;
10169}
10170
10171safe_VkDisplayPresentInfoKHR& safe_VkDisplayPresentInfoKHR::operator=(const safe_VkDisplayPresentInfoKHR& src)
10172{
10173 if (&src == this) return *this;
10174
10175
10176 sType = src.sType;
10177 pNext = src.pNext;
10178 srcRect = src.srcRect;
10179 dstRect = src.dstRect;
10180 persistent = src.persistent;
10181
10182 return *this;
10183}
10184
10185safe_VkDisplayPresentInfoKHR::~safe_VkDisplayPresentInfoKHR()
10186{
10187}
10188
10189void safe_VkDisplayPresentInfoKHR::initialize(const VkDisplayPresentInfoKHR* in_struct)
10190{
10191 sType = in_struct->sType;
10192 pNext = in_struct->pNext;
10193 srcRect = in_struct->srcRect;
10194 dstRect = in_struct->dstRect;
10195 persistent = in_struct->persistent;
10196}
10197
10198void safe_VkDisplayPresentInfoKHR::initialize(const safe_VkDisplayPresentInfoKHR* src)
10199{
10200 sType = src->sType;
10201 pNext = src->pNext;
10202 srcRect = src->srcRect;
10203 dstRect = src->dstRect;
10204 persistent = src->persistent;
10205}
10206#ifdef VK_USE_PLATFORM_WIN32_KHR
10207
10208
10209safe_VkImportMemoryWin32HandleInfoKHR::safe_VkImportMemoryWin32HandleInfoKHR(const VkImportMemoryWin32HandleInfoKHR* in_struct) :
10210 sType(in_struct->sType),
10211 pNext(in_struct->pNext),
10212 handleType(in_struct->handleType),
10213 handle(in_struct->handle),
10214 name(in_struct->name)
10215{
10216}
10217
10218safe_VkImportMemoryWin32HandleInfoKHR::safe_VkImportMemoryWin32HandleInfoKHR()
10219{}
10220
10221safe_VkImportMemoryWin32HandleInfoKHR::safe_VkImportMemoryWin32HandleInfoKHR(const safe_VkImportMemoryWin32HandleInfoKHR& src)
10222{
10223 sType = src.sType;
10224 pNext = src.pNext;
10225 handleType = src.handleType;
10226 handle = src.handle;
10227 name = src.name;
10228}
10229
10230safe_VkImportMemoryWin32HandleInfoKHR& safe_VkImportMemoryWin32HandleInfoKHR::operator=(const safe_VkImportMemoryWin32HandleInfoKHR& src)
10231{
10232 if (&src == this) return *this;
10233
10234
10235 sType = src.sType;
10236 pNext = src.pNext;
10237 handleType = src.handleType;
10238 handle = src.handle;
10239 name = src.name;
10240
10241 return *this;
10242}
10243
10244safe_VkImportMemoryWin32HandleInfoKHR::~safe_VkImportMemoryWin32HandleInfoKHR()
10245{
10246}
10247
10248void safe_VkImportMemoryWin32HandleInfoKHR::initialize(const VkImportMemoryWin32HandleInfoKHR* in_struct)
10249{
10250 sType = in_struct->sType;
10251 pNext = in_struct->pNext;
10252 handleType = in_struct->handleType;
10253 handle = in_struct->handle;
10254 name = in_struct->name;
10255}
10256
10257void safe_VkImportMemoryWin32HandleInfoKHR::initialize(const safe_VkImportMemoryWin32HandleInfoKHR* src)
10258{
10259 sType = src->sType;
10260 pNext = src->pNext;
10261 handleType = src->handleType;
10262 handle = src->handle;
10263 name = src->name;
10264}
10265#endif // VK_USE_PLATFORM_WIN32_KHR
10266
10267#ifdef VK_USE_PLATFORM_WIN32_KHR
10268
10269
10270safe_VkExportMemoryWin32HandleInfoKHR::safe_VkExportMemoryWin32HandleInfoKHR(const VkExportMemoryWin32HandleInfoKHR* in_struct) :
10271 sType(in_struct->sType),
10272 pNext(in_struct->pNext),
10273 pAttributes(nullptr),
10274 dwAccess(in_struct->dwAccess),
10275 name(in_struct->name)
10276{
10277 if (in_struct->pAttributes) {
10278 pAttributes = new SECURITY_ATTRIBUTES(*in_struct->pAttributes);
10279 }
10280}
10281
10282safe_VkExportMemoryWin32HandleInfoKHR::safe_VkExportMemoryWin32HandleInfoKHR() :
10283 pAttributes(nullptr)
10284{}
10285
10286safe_VkExportMemoryWin32HandleInfoKHR::safe_VkExportMemoryWin32HandleInfoKHR(const safe_VkExportMemoryWin32HandleInfoKHR& src)
10287{
10288 sType = src.sType;
10289 pNext = src.pNext;
10290 pAttributes = nullptr;
10291 dwAccess = src.dwAccess;
10292 name = src.name;
10293 if (src.pAttributes) {
10294 pAttributes = new SECURITY_ATTRIBUTES(*src.pAttributes);
10295 }
10296}
10297
10298safe_VkExportMemoryWin32HandleInfoKHR& safe_VkExportMemoryWin32HandleInfoKHR::operator=(const safe_VkExportMemoryWin32HandleInfoKHR& src)
10299{
10300 if (&src == this) return *this;
10301
10302 if (pAttributes)
10303 delete pAttributes;
10304
10305 sType = src.sType;
10306 pNext = src.pNext;
10307 pAttributes = nullptr;
10308 dwAccess = src.dwAccess;
10309 name = src.name;
10310 if (src.pAttributes) {
10311 pAttributes = new SECURITY_ATTRIBUTES(*src.pAttributes);
10312 }
10313
10314 return *this;
10315}
10316
10317safe_VkExportMemoryWin32HandleInfoKHR::~safe_VkExportMemoryWin32HandleInfoKHR()
10318{
10319 if (pAttributes)
10320 delete pAttributes;
10321}
10322
10323void safe_VkExportMemoryWin32HandleInfoKHR::initialize(const VkExportMemoryWin32HandleInfoKHR* in_struct)
10324{
10325 sType = in_struct->sType;
10326 pNext = in_struct->pNext;
10327 pAttributes = nullptr;
10328 dwAccess = in_struct->dwAccess;
10329 name = in_struct->name;
10330 if (in_struct->pAttributes) {
10331 pAttributes = new SECURITY_ATTRIBUTES(*in_struct->pAttributes);
10332 }
10333}
10334
10335void safe_VkExportMemoryWin32HandleInfoKHR::initialize(const safe_VkExportMemoryWin32HandleInfoKHR* src)
10336{
10337 sType = src->sType;
10338 pNext = src->pNext;
10339 pAttributes = nullptr;
10340 dwAccess = src->dwAccess;
10341 name = src->name;
10342 if (src->pAttributes) {
10343 pAttributes = new SECURITY_ATTRIBUTES(*src->pAttributes);
10344 }
10345}
10346#endif // VK_USE_PLATFORM_WIN32_KHR
10347
10348#ifdef VK_USE_PLATFORM_WIN32_KHR
10349
10350
10351safe_VkMemoryWin32HandlePropertiesKHR::safe_VkMemoryWin32HandlePropertiesKHR(const VkMemoryWin32HandlePropertiesKHR* in_struct) :
10352 sType(in_struct->sType),
10353 pNext(in_struct->pNext),
10354 memoryTypeBits(in_struct->memoryTypeBits)
10355{
10356}
10357
10358safe_VkMemoryWin32HandlePropertiesKHR::safe_VkMemoryWin32HandlePropertiesKHR()
10359{}
10360
10361safe_VkMemoryWin32HandlePropertiesKHR::safe_VkMemoryWin32HandlePropertiesKHR(const safe_VkMemoryWin32HandlePropertiesKHR& src)
10362{
10363 sType = src.sType;
10364 pNext = src.pNext;
10365 memoryTypeBits = src.memoryTypeBits;
10366}
10367
10368safe_VkMemoryWin32HandlePropertiesKHR& safe_VkMemoryWin32HandlePropertiesKHR::operator=(const safe_VkMemoryWin32HandlePropertiesKHR& src)
10369{
10370 if (&src == this) return *this;
10371
10372
10373 sType = src.sType;
10374 pNext = src.pNext;
10375 memoryTypeBits = src.memoryTypeBits;
10376
10377 return *this;
10378}
10379
10380safe_VkMemoryWin32HandlePropertiesKHR::~safe_VkMemoryWin32HandlePropertiesKHR()
10381{
10382}
10383
10384void safe_VkMemoryWin32HandlePropertiesKHR::initialize(const VkMemoryWin32HandlePropertiesKHR* in_struct)
10385{
10386 sType = in_struct->sType;
10387 pNext = in_struct->pNext;
10388 memoryTypeBits = in_struct->memoryTypeBits;
10389}
10390
10391void safe_VkMemoryWin32HandlePropertiesKHR::initialize(const safe_VkMemoryWin32HandlePropertiesKHR* src)
10392{
10393 sType = src->sType;
10394 pNext = src->pNext;
10395 memoryTypeBits = src->memoryTypeBits;
10396}
10397#endif // VK_USE_PLATFORM_WIN32_KHR
10398
10399#ifdef VK_USE_PLATFORM_WIN32_KHR
10400
10401
10402safe_VkMemoryGetWin32HandleInfoKHR::safe_VkMemoryGetWin32HandleInfoKHR(const VkMemoryGetWin32HandleInfoKHR* in_struct) :
10403 sType(in_struct->sType),
10404 pNext(in_struct->pNext),
10405 memory(in_struct->memory),
10406 handleType(in_struct->handleType)
10407{
10408}
10409
10410safe_VkMemoryGetWin32HandleInfoKHR::safe_VkMemoryGetWin32HandleInfoKHR()
10411{}
10412
10413safe_VkMemoryGetWin32HandleInfoKHR::safe_VkMemoryGetWin32HandleInfoKHR(const safe_VkMemoryGetWin32HandleInfoKHR& src)
10414{
10415 sType = src.sType;
10416 pNext = src.pNext;
10417 memory = src.memory;
10418 handleType = src.handleType;
10419}
10420
10421safe_VkMemoryGetWin32HandleInfoKHR& safe_VkMemoryGetWin32HandleInfoKHR::operator=(const safe_VkMemoryGetWin32HandleInfoKHR& src)
10422{
10423 if (&src == this) return *this;
10424
10425
10426 sType = src.sType;
10427 pNext = src.pNext;
10428 memory = src.memory;
10429 handleType = src.handleType;
10430
10431 return *this;
10432}
10433
10434safe_VkMemoryGetWin32HandleInfoKHR::~safe_VkMemoryGetWin32HandleInfoKHR()
10435{
10436}
10437
10438void safe_VkMemoryGetWin32HandleInfoKHR::initialize(const VkMemoryGetWin32HandleInfoKHR* in_struct)
10439{
10440 sType = in_struct->sType;
10441 pNext = in_struct->pNext;
10442 memory = in_struct->memory;
10443 handleType = in_struct->handleType;
10444}
10445
10446void safe_VkMemoryGetWin32HandleInfoKHR::initialize(const safe_VkMemoryGetWin32HandleInfoKHR* src)
10447{
10448 sType = src->sType;
10449 pNext = src->pNext;
10450 memory = src->memory;
10451 handleType = src->handleType;
10452}
10453#endif // VK_USE_PLATFORM_WIN32_KHR
10454
10455
10456safe_VkImportMemoryFdInfoKHR::safe_VkImportMemoryFdInfoKHR(const VkImportMemoryFdInfoKHR* in_struct) :
10457 sType(in_struct->sType),
10458 pNext(in_struct->pNext),
10459 handleType(in_struct->handleType),
10460 fd(in_struct->fd)
10461{
10462}
10463
10464safe_VkImportMemoryFdInfoKHR::safe_VkImportMemoryFdInfoKHR()
10465{}
10466
10467safe_VkImportMemoryFdInfoKHR::safe_VkImportMemoryFdInfoKHR(const safe_VkImportMemoryFdInfoKHR& src)
10468{
10469 sType = src.sType;
10470 pNext = src.pNext;
10471 handleType = src.handleType;
10472 fd = src.fd;
10473}
10474
10475safe_VkImportMemoryFdInfoKHR& safe_VkImportMemoryFdInfoKHR::operator=(const safe_VkImportMemoryFdInfoKHR& src)
10476{
10477 if (&src == this) return *this;
10478
10479
10480 sType = src.sType;
10481 pNext = src.pNext;
10482 handleType = src.handleType;
10483 fd = src.fd;
10484
10485 return *this;
10486}
10487
10488safe_VkImportMemoryFdInfoKHR::~safe_VkImportMemoryFdInfoKHR()
10489{
10490}
10491
10492void safe_VkImportMemoryFdInfoKHR::initialize(const VkImportMemoryFdInfoKHR* in_struct)
10493{
10494 sType = in_struct->sType;
10495 pNext = in_struct->pNext;
10496 handleType = in_struct->handleType;
10497 fd = in_struct->fd;
10498}
10499
10500void safe_VkImportMemoryFdInfoKHR::initialize(const safe_VkImportMemoryFdInfoKHR* src)
10501{
10502 sType = src->sType;
10503 pNext = src->pNext;
10504 handleType = src->handleType;
10505 fd = src->fd;
10506}
10507
10508safe_VkMemoryFdPropertiesKHR::safe_VkMemoryFdPropertiesKHR(const VkMemoryFdPropertiesKHR* in_struct) :
10509 sType(in_struct->sType),
10510 pNext(in_struct->pNext),
10511 memoryTypeBits(in_struct->memoryTypeBits)
10512{
10513}
10514
10515safe_VkMemoryFdPropertiesKHR::safe_VkMemoryFdPropertiesKHR()
10516{}
10517
10518safe_VkMemoryFdPropertiesKHR::safe_VkMemoryFdPropertiesKHR(const safe_VkMemoryFdPropertiesKHR& src)
10519{
10520 sType = src.sType;
10521 pNext = src.pNext;
10522 memoryTypeBits = src.memoryTypeBits;
10523}
10524
10525safe_VkMemoryFdPropertiesKHR& safe_VkMemoryFdPropertiesKHR::operator=(const safe_VkMemoryFdPropertiesKHR& src)
10526{
10527 if (&src == this) return *this;
10528
10529
10530 sType = src.sType;
10531 pNext = src.pNext;
10532 memoryTypeBits = src.memoryTypeBits;
10533
10534 return *this;
10535}
10536
10537safe_VkMemoryFdPropertiesKHR::~safe_VkMemoryFdPropertiesKHR()
10538{
10539}
10540
10541void safe_VkMemoryFdPropertiesKHR::initialize(const VkMemoryFdPropertiesKHR* in_struct)
10542{
10543 sType = in_struct->sType;
10544 pNext = in_struct->pNext;
10545 memoryTypeBits = in_struct->memoryTypeBits;
10546}
10547
10548void safe_VkMemoryFdPropertiesKHR::initialize(const safe_VkMemoryFdPropertiesKHR* src)
10549{
10550 sType = src->sType;
10551 pNext = src->pNext;
10552 memoryTypeBits = src->memoryTypeBits;
10553}
10554
10555safe_VkMemoryGetFdInfoKHR::safe_VkMemoryGetFdInfoKHR(const VkMemoryGetFdInfoKHR* in_struct) :
10556 sType(in_struct->sType),
10557 pNext(in_struct->pNext),
10558 memory(in_struct->memory),
10559 handleType(in_struct->handleType)
10560{
10561}
10562
10563safe_VkMemoryGetFdInfoKHR::safe_VkMemoryGetFdInfoKHR()
10564{}
10565
10566safe_VkMemoryGetFdInfoKHR::safe_VkMemoryGetFdInfoKHR(const safe_VkMemoryGetFdInfoKHR& src)
10567{
10568 sType = src.sType;
10569 pNext = src.pNext;
10570 memory = src.memory;
10571 handleType = src.handleType;
10572}
10573
10574safe_VkMemoryGetFdInfoKHR& safe_VkMemoryGetFdInfoKHR::operator=(const safe_VkMemoryGetFdInfoKHR& src)
10575{
10576 if (&src == this) return *this;
10577
10578
10579 sType = src.sType;
10580 pNext = src.pNext;
10581 memory = src.memory;
10582 handleType = src.handleType;
10583
10584 return *this;
10585}
10586
10587safe_VkMemoryGetFdInfoKHR::~safe_VkMemoryGetFdInfoKHR()
10588{
10589}
10590
10591void safe_VkMemoryGetFdInfoKHR::initialize(const VkMemoryGetFdInfoKHR* in_struct)
10592{
10593 sType = in_struct->sType;
10594 pNext = in_struct->pNext;
10595 memory = in_struct->memory;
10596 handleType = in_struct->handleType;
10597}
10598
10599void safe_VkMemoryGetFdInfoKHR::initialize(const safe_VkMemoryGetFdInfoKHR* src)
10600{
10601 sType = src->sType;
10602 pNext = src->pNext;
10603 memory = src->memory;
10604 handleType = src->handleType;
10605}
10606#ifdef VK_USE_PLATFORM_WIN32_KHR
10607
10608
10609safe_VkWin32KeyedMutexAcquireReleaseInfoKHR::safe_VkWin32KeyedMutexAcquireReleaseInfoKHR(const VkWin32KeyedMutexAcquireReleaseInfoKHR* in_struct) :
10610 sType(in_struct->sType),
10611 pNext(in_struct->pNext),
10612 acquireCount(in_struct->acquireCount),
10613 pAcquireSyncs(nullptr),
10614 pAcquireKeys(nullptr),
10615 pAcquireTimeouts(nullptr),
10616 releaseCount(in_struct->releaseCount),
10617 pReleaseSyncs(nullptr),
10618 pReleaseKeys(nullptr)
10619{
10620 if (acquireCount && in_struct->pAcquireSyncs) {
10621 pAcquireSyncs = new VkDeviceMemory[acquireCount];
10622 for (uint32_t i=0; i<acquireCount; ++i) {
10623 pAcquireSyncs[i] = in_struct->pAcquireSyncs[i];
10624 }
10625 }
10626 if (in_struct->pAcquireKeys) {
10627 pAcquireKeys = new uint64_t[in_struct->acquireCount];
10628 memcpy ((void *)pAcquireKeys, (void *)in_struct->pAcquireKeys, sizeof(uint64_t)*in_struct->acquireCount);
10629 }
10630 if (in_struct->pAcquireTimeouts) {
10631 pAcquireTimeouts = new uint32_t[in_struct->acquireCount];
10632 memcpy ((void *)pAcquireTimeouts, (void *)in_struct->pAcquireTimeouts, sizeof(uint32_t)*in_struct->acquireCount);
10633 }
10634 if (releaseCount && in_struct->pReleaseSyncs) {
10635 pReleaseSyncs = new VkDeviceMemory[releaseCount];
10636 for (uint32_t i=0; i<releaseCount; ++i) {
10637 pReleaseSyncs[i] = in_struct->pReleaseSyncs[i];
10638 }
10639 }
10640 if (in_struct->pReleaseKeys) {
10641 pReleaseKeys = new uint64_t[in_struct->releaseCount];
10642 memcpy ((void *)pReleaseKeys, (void *)in_struct->pReleaseKeys, sizeof(uint64_t)*in_struct->releaseCount);
10643 }
10644}
10645
10646safe_VkWin32KeyedMutexAcquireReleaseInfoKHR::safe_VkWin32KeyedMutexAcquireReleaseInfoKHR() :
10647 pAcquireSyncs(nullptr),
10648 pAcquireKeys(nullptr),
10649 pAcquireTimeouts(nullptr),
10650 pReleaseSyncs(nullptr),
10651 pReleaseKeys(nullptr)
10652{}
10653
10654safe_VkWin32KeyedMutexAcquireReleaseInfoKHR::safe_VkWin32KeyedMutexAcquireReleaseInfoKHR(const safe_VkWin32KeyedMutexAcquireReleaseInfoKHR& src)
10655{
10656 sType = src.sType;
10657 pNext = src.pNext;
10658 acquireCount = src.acquireCount;
10659 pAcquireSyncs = nullptr;
10660 pAcquireKeys = nullptr;
10661 pAcquireTimeouts = nullptr;
10662 releaseCount = src.releaseCount;
10663 pReleaseSyncs = nullptr;
10664 pReleaseKeys = nullptr;
10665 if (acquireCount && src.pAcquireSyncs) {
10666 pAcquireSyncs = new VkDeviceMemory[acquireCount];
10667 for (uint32_t i=0; i<acquireCount; ++i) {
10668 pAcquireSyncs[i] = src.pAcquireSyncs[i];
10669 }
10670 }
10671 if (src.pAcquireKeys) {
10672 pAcquireKeys = new uint64_t[src.acquireCount];
10673 memcpy ((void *)pAcquireKeys, (void *)src.pAcquireKeys, sizeof(uint64_t)*src.acquireCount);
10674 }
10675 if (src.pAcquireTimeouts) {
10676 pAcquireTimeouts = new uint32_t[src.acquireCount];
10677 memcpy ((void *)pAcquireTimeouts, (void *)src.pAcquireTimeouts, sizeof(uint32_t)*src.acquireCount);
10678 }
10679 if (releaseCount && src.pReleaseSyncs) {
10680 pReleaseSyncs = new VkDeviceMemory[releaseCount];
10681 for (uint32_t i=0; i<releaseCount; ++i) {
10682 pReleaseSyncs[i] = src.pReleaseSyncs[i];
10683 }
10684 }
10685 if (src.pReleaseKeys) {
10686 pReleaseKeys = new uint64_t[src.releaseCount];
10687 memcpy ((void *)pReleaseKeys, (void *)src.pReleaseKeys, sizeof(uint64_t)*src.releaseCount);
10688 }
10689}
10690
10691safe_VkWin32KeyedMutexAcquireReleaseInfoKHR& safe_VkWin32KeyedMutexAcquireReleaseInfoKHR::operator=(const safe_VkWin32KeyedMutexAcquireReleaseInfoKHR& src)
10692{
10693 if (&src == this) return *this;
10694
10695 if (pAcquireSyncs)
10696 delete[] pAcquireSyncs;
10697 if (pAcquireKeys)
10698 delete[] pAcquireKeys;
10699 if (pAcquireTimeouts)
10700 delete[] pAcquireTimeouts;
10701 if (pReleaseSyncs)
10702 delete[] pReleaseSyncs;
10703 if (pReleaseKeys)
10704 delete[] pReleaseKeys;
10705
10706 sType = src.sType;
10707 pNext = src.pNext;
10708 acquireCount = src.acquireCount;
10709 pAcquireSyncs = nullptr;
10710 pAcquireKeys = nullptr;
10711 pAcquireTimeouts = nullptr;
10712 releaseCount = src.releaseCount;
10713 pReleaseSyncs = nullptr;
10714 pReleaseKeys = nullptr;
10715 if (acquireCount && src.pAcquireSyncs) {
10716 pAcquireSyncs = new VkDeviceMemory[acquireCount];
10717 for (uint32_t i=0; i<acquireCount; ++i) {
10718 pAcquireSyncs[i] = src.pAcquireSyncs[i];
10719 }
10720 }
10721 if (src.pAcquireKeys) {
10722 pAcquireKeys = new uint64_t[src.acquireCount];
10723 memcpy ((void *)pAcquireKeys, (void *)src.pAcquireKeys, sizeof(uint64_t)*src.acquireCount);
10724 }
10725 if (src.pAcquireTimeouts) {
10726 pAcquireTimeouts = new uint32_t[src.acquireCount];
10727 memcpy ((void *)pAcquireTimeouts, (void *)src.pAcquireTimeouts, sizeof(uint32_t)*src.acquireCount);
10728 }
10729 if (releaseCount && src.pReleaseSyncs) {
10730 pReleaseSyncs = new VkDeviceMemory[releaseCount];
10731 for (uint32_t i=0; i<releaseCount; ++i) {
10732 pReleaseSyncs[i] = src.pReleaseSyncs[i];
10733 }
10734 }
10735 if (src.pReleaseKeys) {
10736 pReleaseKeys = new uint64_t[src.releaseCount];
10737 memcpy ((void *)pReleaseKeys, (void *)src.pReleaseKeys, sizeof(uint64_t)*src.releaseCount);
10738 }
10739
10740 return *this;
10741}
10742
10743safe_VkWin32KeyedMutexAcquireReleaseInfoKHR::~safe_VkWin32KeyedMutexAcquireReleaseInfoKHR()
10744{
10745 if (pAcquireSyncs)
10746 delete[] pAcquireSyncs;
10747 if (pAcquireKeys)
10748 delete[] pAcquireKeys;
10749 if (pAcquireTimeouts)
10750 delete[] pAcquireTimeouts;
10751 if (pReleaseSyncs)
10752 delete[] pReleaseSyncs;
10753 if (pReleaseKeys)
10754 delete[] pReleaseKeys;
10755}
10756
10757void safe_VkWin32KeyedMutexAcquireReleaseInfoKHR::initialize(const VkWin32KeyedMutexAcquireReleaseInfoKHR* in_struct)
10758{
10759 sType = in_struct->sType;
10760 pNext = in_struct->pNext;
10761 acquireCount = in_struct->acquireCount;
10762 pAcquireSyncs = nullptr;
10763 pAcquireKeys = nullptr;
10764 pAcquireTimeouts = nullptr;
10765 releaseCount = in_struct->releaseCount;
10766 pReleaseSyncs = nullptr;
10767 pReleaseKeys = nullptr;
10768 if (acquireCount && in_struct->pAcquireSyncs) {
10769 pAcquireSyncs = new VkDeviceMemory[acquireCount];
10770 for (uint32_t i=0; i<acquireCount; ++i) {
10771 pAcquireSyncs[i] = in_struct->pAcquireSyncs[i];
10772 }
10773 }
10774 if (in_struct->pAcquireKeys) {
10775 pAcquireKeys = new uint64_t[in_struct->acquireCount];
10776 memcpy ((void *)pAcquireKeys, (void *)in_struct->pAcquireKeys, sizeof(uint64_t)*in_struct->acquireCount);
10777 }
10778 if (in_struct->pAcquireTimeouts) {
10779 pAcquireTimeouts = new uint32_t[in_struct->acquireCount];
10780 memcpy ((void *)pAcquireTimeouts, (void *)in_struct->pAcquireTimeouts, sizeof(uint32_t)*in_struct->acquireCount);
10781 }
10782 if (releaseCount && in_struct->pReleaseSyncs) {
10783 pReleaseSyncs = new VkDeviceMemory[releaseCount];
10784 for (uint32_t i=0; i<releaseCount; ++i) {
10785 pReleaseSyncs[i] = in_struct->pReleaseSyncs[i];
10786 }
10787 }
10788 if (in_struct->pReleaseKeys) {
10789 pReleaseKeys = new uint64_t[in_struct->releaseCount];
10790 memcpy ((void *)pReleaseKeys, (void *)in_struct->pReleaseKeys, sizeof(uint64_t)*in_struct->releaseCount);
10791 }
10792}
10793
10794void safe_VkWin32KeyedMutexAcquireReleaseInfoKHR::initialize(const safe_VkWin32KeyedMutexAcquireReleaseInfoKHR* src)
10795{
10796 sType = src->sType;
10797 pNext = src->pNext;
10798 acquireCount = src->acquireCount;
10799 pAcquireSyncs = nullptr;
10800 pAcquireKeys = nullptr;
10801 pAcquireTimeouts = nullptr;
10802 releaseCount = src->releaseCount;
10803 pReleaseSyncs = nullptr;
10804 pReleaseKeys = nullptr;
10805 if (acquireCount && src->pAcquireSyncs) {
10806 pAcquireSyncs = new VkDeviceMemory[acquireCount];
10807 for (uint32_t i=0; i<acquireCount; ++i) {
10808 pAcquireSyncs[i] = src->pAcquireSyncs[i];
10809 }
10810 }
10811 if (src->pAcquireKeys) {
10812 pAcquireKeys = new uint64_t[src->acquireCount];
10813 memcpy ((void *)pAcquireKeys, (void *)src->pAcquireKeys, sizeof(uint64_t)*src->acquireCount);
10814 }
10815 if (src->pAcquireTimeouts) {
10816 pAcquireTimeouts = new uint32_t[src->acquireCount];
10817 memcpy ((void *)pAcquireTimeouts, (void *)src->pAcquireTimeouts, sizeof(uint32_t)*src->acquireCount);
10818 }
10819 if (releaseCount && src->pReleaseSyncs) {
10820 pReleaseSyncs = new VkDeviceMemory[releaseCount];
10821 for (uint32_t i=0; i<releaseCount; ++i) {
10822 pReleaseSyncs[i] = src->pReleaseSyncs[i];
10823 }
10824 }
10825 if (src->pReleaseKeys) {
10826 pReleaseKeys = new uint64_t[src->releaseCount];
10827 memcpy ((void *)pReleaseKeys, (void *)src->pReleaseKeys, sizeof(uint64_t)*src->releaseCount);
10828 }
10829}
10830#endif // VK_USE_PLATFORM_WIN32_KHR
10831
10832#ifdef VK_USE_PLATFORM_WIN32_KHR
10833
10834
10835safe_VkImportSemaphoreWin32HandleInfoKHR::safe_VkImportSemaphoreWin32HandleInfoKHR(const VkImportSemaphoreWin32HandleInfoKHR* in_struct) :
10836 sType(in_struct->sType),
10837 pNext(in_struct->pNext),
10838 semaphore(in_struct->semaphore),
10839 flags(in_struct->flags),
10840 handleType(in_struct->handleType),
10841 handle(in_struct->handle),
10842 name(in_struct->name)
10843{
10844}
10845
10846safe_VkImportSemaphoreWin32HandleInfoKHR::safe_VkImportSemaphoreWin32HandleInfoKHR()
10847{}
10848
10849safe_VkImportSemaphoreWin32HandleInfoKHR::safe_VkImportSemaphoreWin32HandleInfoKHR(const safe_VkImportSemaphoreWin32HandleInfoKHR& src)
10850{
10851 sType = src.sType;
10852 pNext = src.pNext;
10853 semaphore = src.semaphore;
10854 flags = src.flags;
10855 handleType = src.handleType;
10856 handle = src.handle;
10857 name = src.name;
10858}
10859
10860safe_VkImportSemaphoreWin32HandleInfoKHR& safe_VkImportSemaphoreWin32HandleInfoKHR::operator=(const safe_VkImportSemaphoreWin32HandleInfoKHR& src)
10861{
10862 if (&src == this) return *this;
10863
10864
10865 sType = src.sType;
10866 pNext = src.pNext;
10867 semaphore = src.semaphore;
10868 flags = src.flags;
10869 handleType = src.handleType;
10870 handle = src.handle;
10871 name = src.name;
10872
10873 return *this;
10874}
10875
10876safe_VkImportSemaphoreWin32HandleInfoKHR::~safe_VkImportSemaphoreWin32HandleInfoKHR()
10877{
10878}
10879
10880void safe_VkImportSemaphoreWin32HandleInfoKHR::initialize(const VkImportSemaphoreWin32HandleInfoKHR* in_struct)
10881{
10882 sType = in_struct->sType;
10883 pNext = in_struct->pNext;
10884 semaphore = in_struct->semaphore;
10885 flags = in_struct->flags;
10886 handleType = in_struct->handleType;
10887 handle = in_struct->handle;
10888 name = in_struct->name;
10889}
10890
10891void safe_VkImportSemaphoreWin32HandleInfoKHR::initialize(const safe_VkImportSemaphoreWin32HandleInfoKHR* src)
10892{
10893 sType = src->sType;
10894 pNext = src->pNext;
10895 semaphore = src->semaphore;
10896 flags = src->flags;
10897 handleType = src->handleType;
10898 handle = src->handle;
10899 name = src->name;
10900}
10901#endif // VK_USE_PLATFORM_WIN32_KHR
10902
10903#ifdef VK_USE_PLATFORM_WIN32_KHR
10904
10905
10906safe_VkExportSemaphoreWin32HandleInfoKHR::safe_VkExportSemaphoreWin32HandleInfoKHR(const VkExportSemaphoreWin32HandleInfoKHR* in_struct) :
10907 sType(in_struct->sType),
10908 pNext(in_struct->pNext),
10909 pAttributes(nullptr),
10910 dwAccess(in_struct->dwAccess),
10911 name(in_struct->name)
10912{
10913 if (in_struct->pAttributes) {
10914 pAttributes = new SECURITY_ATTRIBUTES(*in_struct->pAttributes);
10915 }
10916}
10917
10918safe_VkExportSemaphoreWin32HandleInfoKHR::safe_VkExportSemaphoreWin32HandleInfoKHR() :
10919 pAttributes(nullptr)
10920{}
10921
10922safe_VkExportSemaphoreWin32HandleInfoKHR::safe_VkExportSemaphoreWin32HandleInfoKHR(const safe_VkExportSemaphoreWin32HandleInfoKHR& src)
10923{
10924 sType = src.sType;
10925 pNext = src.pNext;
10926 pAttributes = nullptr;
10927 dwAccess = src.dwAccess;
10928 name = src.name;
10929 if (src.pAttributes) {
10930 pAttributes = new SECURITY_ATTRIBUTES(*src.pAttributes);
10931 }
10932}
10933
10934safe_VkExportSemaphoreWin32HandleInfoKHR& safe_VkExportSemaphoreWin32HandleInfoKHR::operator=(const safe_VkExportSemaphoreWin32HandleInfoKHR& src)
10935{
10936 if (&src == this) return *this;
10937
10938 if (pAttributes)
10939 delete pAttributes;
10940
10941 sType = src.sType;
10942 pNext = src.pNext;
10943 pAttributes = nullptr;
10944 dwAccess = src.dwAccess;
10945 name = src.name;
10946 if (src.pAttributes) {
10947 pAttributes = new SECURITY_ATTRIBUTES(*src.pAttributes);
10948 }
10949
10950 return *this;
10951}
10952
10953safe_VkExportSemaphoreWin32HandleInfoKHR::~safe_VkExportSemaphoreWin32HandleInfoKHR()
10954{
10955 if (pAttributes)
10956 delete pAttributes;
10957}
10958
10959void safe_VkExportSemaphoreWin32HandleInfoKHR::initialize(const VkExportSemaphoreWin32HandleInfoKHR* in_struct)
10960{
10961 sType = in_struct->sType;
10962 pNext = in_struct->pNext;
10963 pAttributes = nullptr;
10964 dwAccess = in_struct->dwAccess;
10965 name = in_struct->name;
10966 if (in_struct->pAttributes) {
10967 pAttributes = new SECURITY_ATTRIBUTES(*in_struct->pAttributes);
10968 }
10969}
10970
10971void safe_VkExportSemaphoreWin32HandleInfoKHR::initialize(const safe_VkExportSemaphoreWin32HandleInfoKHR* src)
10972{
10973 sType = src->sType;
10974 pNext = src->pNext;
10975 pAttributes = nullptr;
10976 dwAccess = src->dwAccess;
10977 name = src->name;
10978 if (src->pAttributes) {
10979 pAttributes = new SECURITY_ATTRIBUTES(*src->pAttributes);
10980 }
10981}
10982#endif // VK_USE_PLATFORM_WIN32_KHR
10983
10984#ifdef VK_USE_PLATFORM_WIN32_KHR
10985
10986
10987safe_VkD3D12FenceSubmitInfoKHR::safe_VkD3D12FenceSubmitInfoKHR(const VkD3D12FenceSubmitInfoKHR* in_struct) :
10988 sType(in_struct->sType),
10989 pNext(in_struct->pNext),
10990 waitSemaphoreValuesCount(in_struct->waitSemaphoreValuesCount),
10991 pWaitSemaphoreValues(nullptr),
10992 signalSemaphoreValuesCount(in_struct->signalSemaphoreValuesCount),
10993 pSignalSemaphoreValues(nullptr)
10994{
10995 if (in_struct->pWaitSemaphoreValues) {
10996 pWaitSemaphoreValues = new uint64_t[in_struct->waitSemaphoreValuesCount];
10997 memcpy ((void *)pWaitSemaphoreValues, (void *)in_struct->pWaitSemaphoreValues, sizeof(uint64_t)*in_struct->waitSemaphoreValuesCount);
10998 }
10999 if (in_struct->pSignalSemaphoreValues) {
11000 pSignalSemaphoreValues = new uint64_t[in_struct->signalSemaphoreValuesCount];
11001 memcpy ((void *)pSignalSemaphoreValues, (void *)in_struct->pSignalSemaphoreValues, sizeof(uint64_t)*in_struct->signalSemaphoreValuesCount);
11002 }
11003}
11004
11005safe_VkD3D12FenceSubmitInfoKHR::safe_VkD3D12FenceSubmitInfoKHR() :
11006 pWaitSemaphoreValues(nullptr),
11007 pSignalSemaphoreValues(nullptr)
11008{}
11009
11010safe_VkD3D12FenceSubmitInfoKHR::safe_VkD3D12FenceSubmitInfoKHR(const safe_VkD3D12FenceSubmitInfoKHR& src)
11011{
11012 sType = src.sType;
11013 pNext = src.pNext;
11014 waitSemaphoreValuesCount = src.waitSemaphoreValuesCount;
11015 pWaitSemaphoreValues = nullptr;
11016 signalSemaphoreValuesCount = src.signalSemaphoreValuesCount;
11017 pSignalSemaphoreValues = nullptr;
11018 if (src.pWaitSemaphoreValues) {
11019 pWaitSemaphoreValues = new uint64_t[src.waitSemaphoreValuesCount];
11020 memcpy ((void *)pWaitSemaphoreValues, (void *)src.pWaitSemaphoreValues, sizeof(uint64_t)*src.waitSemaphoreValuesCount);
11021 }
11022 if (src.pSignalSemaphoreValues) {
11023 pSignalSemaphoreValues = new uint64_t[src.signalSemaphoreValuesCount];
11024 memcpy ((void *)pSignalSemaphoreValues, (void *)src.pSignalSemaphoreValues, sizeof(uint64_t)*src.signalSemaphoreValuesCount);
11025 }
11026}
11027
11028safe_VkD3D12FenceSubmitInfoKHR& safe_VkD3D12FenceSubmitInfoKHR::operator=(const safe_VkD3D12FenceSubmitInfoKHR& src)
11029{
11030 if (&src == this) return *this;
11031
11032 if (pWaitSemaphoreValues)
11033 delete[] pWaitSemaphoreValues;
11034 if (pSignalSemaphoreValues)
11035 delete[] pSignalSemaphoreValues;
11036
11037 sType = src.sType;
11038 pNext = src.pNext;
11039 waitSemaphoreValuesCount = src.waitSemaphoreValuesCount;
11040 pWaitSemaphoreValues = nullptr;
11041 signalSemaphoreValuesCount = src.signalSemaphoreValuesCount;
11042 pSignalSemaphoreValues = nullptr;
11043 if (src.pWaitSemaphoreValues) {
11044 pWaitSemaphoreValues = new uint64_t[src.waitSemaphoreValuesCount];
11045 memcpy ((void *)pWaitSemaphoreValues, (void *)src.pWaitSemaphoreValues, sizeof(uint64_t)*src.waitSemaphoreValuesCount);
11046 }
11047 if (src.pSignalSemaphoreValues) {
11048 pSignalSemaphoreValues = new uint64_t[src.signalSemaphoreValuesCount];
11049 memcpy ((void *)pSignalSemaphoreValues, (void *)src.pSignalSemaphoreValues, sizeof(uint64_t)*src.signalSemaphoreValuesCount);
11050 }
11051
11052 return *this;
11053}
11054
11055safe_VkD3D12FenceSubmitInfoKHR::~safe_VkD3D12FenceSubmitInfoKHR()
11056{
11057 if (pWaitSemaphoreValues)
11058 delete[] pWaitSemaphoreValues;
11059 if (pSignalSemaphoreValues)
11060 delete[] pSignalSemaphoreValues;
11061}
11062
11063void safe_VkD3D12FenceSubmitInfoKHR::initialize(const VkD3D12FenceSubmitInfoKHR* in_struct)
11064{
11065 sType = in_struct->sType;
11066 pNext = in_struct->pNext;
11067 waitSemaphoreValuesCount = in_struct->waitSemaphoreValuesCount;
11068 pWaitSemaphoreValues = nullptr;
11069 signalSemaphoreValuesCount = in_struct->signalSemaphoreValuesCount;
11070 pSignalSemaphoreValues = nullptr;
11071 if (in_struct->pWaitSemaphoreValues) {
11072 pWaitSemaphoreValues = new uint64_t[in_struct->waitSemaphoreValuesCount];
11073 memcpy ((void *)pWaitSemaphoreValues, (void *)in_struct->pWaitSemaphoreValues, sizeof(uint64_t)*in_struct->waitSemaphoreValuesCount);
11074 }
11075 if (in_struct->pSignalSemaphoreValues) {
11076 pSignalSemaphoreValues = new uint64_t[in_struct->signalSemaphoreValuesCount];
11077 memcpy ((void *)pSignalSemaphoreValues, (void *)in_struct->pSignalSemaphoreValues, sizeof(uint64_t)*in_struct->signalSemaphoreValuesCount);
11078 }
11079}
11080
11081void safe_VkD3D12FenceSubmitInfoKHR::initialize(const safe_VkD3D12FenceSubmitInfoKHR* src)
11082{
11083 sType = src->sType;
11084 pNext = src->pNext;
11085 waitSemaphoreValuesCount = src->waitSemaphoreValuesCount;
11086 pWaitSemaphoreValues = nullptr;
11087 signalSemaphoreValuesCount = src->signalSemaphoreValuesCount;
11088 pSignalSemaphoreValues = nullptr;
11089 if (src->pWaitSemaphoreValues) {
11090 pWaitSemaphoreValues = new uint64_t[src->waitSemaphoreValuesCount];
11091 memcpy ((void *)pWaitSemaphoreValues, (void *)src->pWaitSemaphoreValues, sizeof(uint64_t)*src->waitSemaphoreValuesCount);
11092 }
11093 if (src->pSignalSemaphoreValues) {
11094 pSignalSemaphoreValues = new uint64_t[src->signalSemaphoreValuesCount];
11095 memcpy ((void *)pSignalSemaphoreValues, (void *)src->pSignalSemaphoreValues, sizeof(uint64_t)*src->signalSemaphoreValuesCount);
11096 }
11097}
11098#endif // VK_USE_PLATFORM_WIN32_KHR
11099
11100#ifdef VK_USE_PLATFORM_WIN32_KHR
11101
11102
11103safe_VkSemaphoreGetWin32HandleInfoKHR::safe_VkSemaphoreGetWin32HandleInfoKHR(const VkSemaphoreGetWin32HandleInfoKHR* in_struct) :
11104 sType(in_struct->sType),
11105 pNext(in_struct->pNext),
11106 semaphore(in_struct->semaphore),
11107 handleType(in_struct->handleType)
11108{
11109}
11110
11111safe_VkSemaphoreGetWin32HandleInfoKHR::safe_VkSemaphoreGetWin32HandleInfoKHR()
11112{}
11113
11114safe_VkSemaphoreGetWin32HandleInfoKHR::safe_VkSemaphoreGetWin32HandleInfoKHR(const safe_VkSemaphoreGetWin32HandleInfoKHR& src)
11115{
11116 sType = src.sType;
11117 pNext = src.pNext;
11118 semaphore = src.semaphore;
11119 handleType = src.handleType;
11120}
11121
11122safe_VkSemaphoreGetWin32HandleInfoKHR& safe_VkSemaphoreGetWin32HandleInfoKHR::operator=(const safe_VkSemaphoreGetWin32HandleInfoKHR& src)
11123{
11124 if (&src == this) return *this;
11125
11126
11127 sType = src.sType;
11128 pNext = src.pNext;
11129 semaphore = src.semaphore;
11130 handleType = src.handleType;
11131
11132 return *this;
11133}
11134
11135safe_VkSemaphoreGetWin32HandleInfoKHR::~safe_VkSemaphoreGetWin32HandleInfoKHR()
11136{
11137}
11138
11139void safe_VkSemaphoreGetWin32HandleInfoKHR::initialize(const VkSemaphoreGetWin32HandleInfoKHR* in_struct)
11140{
11141 sType = in_struct->sType;
11142 pNext = in_struct->pNext;
11143 semaphore = in_struct->semaphore;
11144 handleType = in_struct->handleType;
11145}
11146
11147void safe_VkSemaphoreGetWin32HandleInfoKHR::initialize(const safe_VkSemaphoreGetWin32HandleInfoKHR* src)
11148{
11149 sType = src->sType;
11150 pNext = src->pNext;
11151 semaphore = src->semaphore;
11152 handleType = src->handleType;
11153}
11154#endif // VK_USE_PLATFORM_WIN32_KHR
11155
11156
11157safe_VkImportSemaphoreFdInfoKHR::safe_VkImportSemaphoreFdInfoKHR(const VkImportSemaphoreFdInfoKHR* in_struct) :
11158 sType(in_struct->sType),
11159 pNext(in_struct->pNext),
11160 semaphore(in_struct->semaphore),
11161 flags(in_struct->flags),
11162 handleType(in_struct->handleType),
11163 fd(in_struct->fd)
11164{
11165}
11166
11167safe_VkImportSemaphoreFdInfoKHR::safe_VkImportSemaphoreFdInfoKHR()
11168{}
11169
11170safe_VkImportSemaphoreFdInfoKHR::safe_VkImportSemaphoreFdInfoKHR(const safe_VkImportSemaphoreFdInfoKHR& src)
11171{
11172 sType = src.sType;
11173 pNext = src.pNext;
11174 semaphore = src.semaphore;
11175 flags = src.flags;
11176 handleType = src.handleType;
11177 fd = src.fd;
11178}
11179
11180safe_VkImportSemaphoreFdInfoKHR& safe_VkImportSemaphoreFdInfoKHR::operator=(const safe_VkImportSemaphoreFdInfoKHR& src)
11181{
11182 if (&src == this) return *this;
11183
11184
11185 sType = src.sType;
11186 pNext = src.pNext;
11187 semaphore = src.semaphore;
11188 flags = src.flags;
11189 handleType = src.handleType;
11190 fd = src.fd;
11191
11192 return *this;
11193}
11194
11195safe_VkImportSemaphoreFdInfoKHR::~safe_VkImportSemaphoreFdInfoKHR()
11196{
11197}
11198
11199void safe_VkImportSemaphoreFdInfoKHR::initialize(const VkImportSemaphoreFdInfoKHR* in_struct)
11200{
11201 sType = in_struct->sType;
11202 pNext = in_struct->pNext;
11203 semaphore = in_struct->semaphore;
11204 flags = in_struct->flags;
11205 handleType = in_struct->handleType;
11206 fd = in_struct->fd;
11207}
11208
11209void safe_VkImportSemaphoreFdInfoKHR::initialize(const safe_VkImportSemaphoreFdInfoKHR* src)
11210{
11211 sType = src->sType;
11212 pNext = src->pNext;
11213 semaphore = src->semaphore;
11214 flags = src->flags;
11215 handleType = src->handleType;
11216 fd = src->fd;
11217}
11218
11219safe_VkSemaphoreGetFdInfoKHR::safe_VkSemaphoreGetFdInfoKHR(const VkSemaphoreGetFdInfoKHR* in_struct) :
11220 sType(in_struct->sType),
11221 pNext(in_struct->pNext),
11222 semaphore(in_struct->semaphore),
11223 handleType(in_struct->handleType)
11224{
11225}
11226
11227safe_VkSemaphoreGetFdInfoKHR::safe_VkSemaphoreGetFdInfoKHR()
11228{}
11229
11230safe_VkSemaphoreGetFdInfoKHR::safe_VkSemaphoreGetFdInfoKHR(const safe_VkSemaphoreGetFdInfoKHR& src)
11231{
11232 sType = src.sType;
11233 pNext = src.pNext;
11234 semaphore = src.semaphore;
11235 handleType = src.handleType;
11236}
11237
11238safe_VkSemaphoreGetFdInfoKHR& safe_VkSemaphoreGetFdInfoKHR::operator=(const safe_VkSemaphoreGetFdInfoKHR& src)
11239{
11240 if (&src == this) return *this;
11241
11242
11243 sType = src.sType;
11244 pNext = src.pNext;
11245 semaphore = src.semaphore;
11246 handleType = src.handleType;
11247
11248 return *this;
11249}
11250
11251safe_VkSemaphoreGetFdInfoKHR::~safe_VkSemaphoreGetFdInfoKHR()
11252{
11253}
11254
11255void safe_VkSemaphoreGetFdInfoKHR::initialize(const VkSemaphoreGetFdInfoKHR* in_struct)
11256{
11257 sType = in_struct->sType;
11258 pNext = in_struct->pNext;
11259 semaphore = in_struct->semaphore;
11260 handleType = in_struct->handleType;
11261}
11262
11263void safe_VkSemaphoreGetFdInfoKHR::initialize(const safe_VkSemaphoreGetFdInfoKHR* src)
11264{
11265 sType = src->sType;
11266 pNext = src->pNext;
11267 semaphore = src->semaphore;
11268 handleType = src->handleType;
11269}
11270
11271safe_VkPhysicalDevicePushDescriptorPropertiesKHR::safe_VkPhysicalDevicePushDescriptorPropertiesKHR(const VkPhysicalDevicePushDescriptorPropertiesKHR* in_struct) :
11272 sType(in_struct->sType),
11273 pNext(in_struct->pNext),
11274 maxPushDescriptors(in_struct->maxPushDescriptors)
11275{
11276}
11277
11278safe_VkPhysicalDevicePushDescriptorPropertiesKHR::safe_VkPhysicalDevicePushDescriptorPropertiesKHR()
11279{}
11280
11281safe_VkPhysicalDevicePushDescriptorPropertiesKHR::safe_VkPhysicalDevicePushDescriptorPropertiesKHR(const safe_VkPhysicalDevicePushDescriptorPropertiesKHR& src)
11282{
11283 sType = src.sType;
11284 pNext = src.pNext;
11285 maxPushDescriptors = src.maxPushDescriptors;
11286}
11287
11288safe_VkPhysicalDevicePushDescriptorPropertiesKHR& safe_VkPhysicalDevicePushDescriptorPropertiesKHR::operator=(const safe_VkPhysicalDevicePushDescriptorPropertiesKHR& src)
11289{
11290 if (&src == this) return *this;
11291
11292
11293 sType = src.sType;
11294 pNext = src.pNext;
11295 maxPushDescriptors = src.maxPushDescriptors;
11296
11297 return *this;
11298}
11299
11300safe_VkPhysicalDevicePushDescriptorPropertiesKHR::~safe_VkPhysicalDevicePushDescriptorPropertiesKHR()
11301{
11302}
11303
11304void safe_VkPhysicalDevicePushDescriptorPropertiesKHR::initialize(const VkPhysicalDevicePushDescriptorPropertiesKHR* in_struct)
11305{
11306 sType = in_struct->sType;
11307 pNext = in_struct->pNext;
11308 maxPushDescriptors = in_struct->maxPushDescriptors;
11309}
11310
11311void safe_VkPhysicalDevicePushDescriptorPropertiesKHR::initialize(const safe_VkPhysicalDevicePushDescriptorPropertiesKHR* src)
11312{
11313 sType = src->sType;
11314 pNext = src->pNext;
11315 maxPushDescriptors = src->maxPushDescriptors;
11316}
11317
11318safe_VkPhysicalDeviceFloat16Int8FeaturesKHR::safe_VkPhysicalDeviceFloat16Int8FeaturesKHR(const VkPhysicalDeviceFloat16Int8FeaturesKHR* in_struct) :
11319 sType(in_struct->sType),
11320 pNext(in_struct->pNext),
11321 shaderFloat16(in_struct->shaderFloat16),
11322 shaderInt8(in_struct->shaderInt8)
11323{
11324}
11325
11326safe_VkPhysicalDeviceFloat16Int8FeaturesKHR::safe_VkPhysicalDeviceFloat16Int8FeaturesKHR()
11327{}
11328
11329safe_VkPhysicalDeviceFloat16Int8FeaturesKHR::safe_VkPhysicalDeviceFloat16Int8FeaturesKHR(const safe_VkPhysicalDeviceFloat16Int8FeaturesKHR& src)
11330{
11331 sType = src.sType;
11332 pNext = src.pNext;
11333 shaderFloat16 = src.shaderFloat16;
11334 shaderInt8 = src.shaderInt8;
11335}
11336
11337safe_VkPhysicalDeviceFloat16Int8FeaturesKHR& safe_VkPhysicalDeviceFloat16Int8FeaturesKHR::operator=(const safe_VkPhysicalDeviceFloat16Int8FeaturesKHR& src)
11338{
11339 if (&src == this) return *this;
11340
11341
11342 sType = src.sType;
11343 pNext = src.pNext;
11344 shaderFloat16 = src.shaderFloat16;
11345 shaderInt8 = src.shaderInt8;
11346
11347 return *this;
11348}
11349
11350safe_VkPhysicalDeviceFloat16Int8FeaturesKHR::~safe_VkPhysicalDeviceFloat16Int8FeaturesKHR()
11351{
11352}
11353
11354void safe_VkPhysicalDeviceFloat16Int8FeaturesKHR::initialize(const VkPhysicalDeviceFloat16Int8FeaturesKHR* in_struct)
11355{
11356 sType = in_struct->sType;
11357 pNext = in_struct->pNext;
11358 shaderFloat16 = in_struct->shaderFloat16;
11359 shaderInt8 = in_struct->shaderInt8;
11360}
11361
11362void safe_VkPhysicalDeviceFloat16Int8FeaturesKHR::initialize(const safe_VkPhysicalDeviceFloat16Int8FeaturesKHR* src)
11363{
11364 sType = src->sType;
11365 pNext = src->pNext;
11366 shaderFloat16 = src->shaderFloat16;
11367 shaderInt8 = src->shaderInt8;
11368}
11369
11370safe_VkPresentRegionKHR::safe_VkPresentRegionKHR(const VkPresentRegionKHR* in_struct) :
11371 rectangleCount(in_struct->rectangleCount),
11372 pRectangles(nullptr)
11373{
11374 if (in_struct->pRectangles) {
11375 pRectangles = new VkRectLayerKHR[in_struct->rectangleCount];
11376 memcpy ((void *)pRectangles, (void *)in_struct->pRectangles, sizeof(VkRectLayerKHR)*in_struct->rectangleCount);
11377 }
11378}
11379
11380safe_VkPresentRegionKHR::safe_VkPresentRegionKHR() :
11381 pRectangles(nullptr)
11382{}
11383
11384safe_VkPresentRegionKHR::safe_VkPresentRegionKHR(const safe_VkPresentRegionKHR& src)
11385{
11386 rectangleCount = src.rectangleCount;
11387 pRectangles = nullptr;
11388 if (src.pRectangles) {
11389 pRectangles = new VkRectLayerKHR[src.rectangleCount];
11390 memcpy ((void *)pRectangles, (void *)src.pRectangles, sizeof(VkRectLayerKHR)*src.rectangleCount);
11391 }
11392}
11393
11394safe_VkPresentRegionKHR& safe_VkPresentRegionKHR::operator=(const safe_VkPresentRegionKHR& src)
11395{
11396 if (&src == this) return *this;
11397
11398 if (pRectangles)
11399 delete[] pRectangles;
11400
11401 rectangleCount = src.rectangleCount;
11402 pRectangles = nullptr;
11403 if (src.pRectangles) {
11404 pRectangles = new VkRectLayerKHR[src.rectangleCount];
11405 memcpy ((void *)pRectangles, (void *)src.pRectangles, sizeof(VkRectLayerKHR)*src.rectangleCount);
11406 }
11407
11408 return *this;
11409}
11410
11411safe_VkPresentRegionKHR::~safe_VkPresentRegionKHR()
11412{
11413 if (pRectangles)
11414 delete[] pRectangles;
11415}
11416
11417void safe_VkPresentRegionKHR::initialize(const VkPresentRegionKHR* in_struct)
11418{
11419 rectangleCount = in_struct->rectangleCount;
11420 pRectangles = nullptr;
11421 if (in_struct->pRectangles) {
11422 pRectangles = new VkRectLayerKHR[in_struct->rectangleCount];
11423 memcpy ((void *)pRectangles, (void *)in_struct->pRectangles, sizeof(VkRectLayerKHR)*in_struct->rectangleCount);
11424 }
11425}
11426
11427void safe_VkPresentRegionKHR::initialize(const safe_VkPresentRegionKHR* src)
11428{
11429 rectangleCount = src->rectangleCount;
11430 pRectangles = nullptr;
11431 if (src->pRectangles) {
11432 pRectangles = new VkRectLayerKHR[src->rectangleCount];
11433 memcpy ((void *)pRectangles, (void *)src->pRectangles, sizeof(VkRectLayerKHR)*src->rectangleCount);
11434 }
11435}
11436
11437safe_VkPresentRegionsKHR::safe_VkPresentRegionsKHR(const VkPresentRegionsKHR* in_struct) :
11438 sType(in_struct->sType),
11439 pNext(in_struct->pNext),
11440 swapchainCount(in_struct->swapchainCount),
11441 pRegions(nullptr)
11442{
11443 if (swapchainCount && in_struct->pRegions) {
11444 pRegions = new safe_VkPresentRegionKHR[swapchainCount];
11445 for (uint32_t i=0; i<swapchainCount; ++i) {
11446 pRegions[i].initialize(&in_struct->pRegions[i]);
11447 }
11448 }
11449}
11450
11451safe_VkPresentRegionsKHR::safe_VkPresentRegionsKHR() :
11452 pRegions(nullptr)
11453{}
11454
11455safe_VkPresentRegionsKHR::safe_VkPresentRegionsKHR(const safe_VkPresentRegionsKHR& src)
11456{
11457 sType = src.sType;
11458 pNext = src.pNext;
11459 swapchainCount = src.swapchainCount;
11460 pRegions = nullptr;
11461 if (swapchainCount && src.pRegions) {
11462 pRegions = new safe_VkPresentRegionKHR[swapchainCount];
11463 for (uint32_t i=0; i<swapchainCount; ++i) {
11464 pRegions[i].initialize(&src.pRegions[i]);
11465 }
11466 }
11467}
11468
11469safe_VkPresentRegionsKHR& safe_VkPresentRegionsKHR::operator=(const safe_VkPresentRegionsKHR& src)
11470{
11471 if (&src == this) return *this;
11472
11473 if (pRegions)
11474 delete[] pRegions;
11475
11476 sType = src.sType;
11477 pNext = src.pNext;
11478 swapchainCount = src.swapchainCount;
11479 pRegions = nullptr;
11480 if (swapchainCount && src.pRegions) {
11481 pRegions = new safe_VkPresentRegionKHR[swapchainCount];
11482 for (uint32_t i=0; i<swapchainCount; ++i) {
11483 pRegions[i].initialize(&src.pRegions[i]);
11484 }
11485 }
11486
11487 return *this;
11488}
11489
11490safe_VkPresentRegionsKHR::~safe_VkPresentRegionsKHR()
11491{
11492 if (pRegions)
11493 delete[] pRegions;
11494}
11495
11496void safe_VkPresentRegionsKHR::initialize(const VkPresentRegionsKHR* in_struct)
11497{
11498 sType = in_struct->sType;
11499 pNext = in_struct->pNext;
11500 swapchainCount = in_struct->swapchainCount;
11501 pRegions = nullptr;
11502 if (swapchainCount && in_struct->pRegions) {
11503 pRegions = new safe_VkPresentRegionKHR[swapchainCount];
11504 for (uint32_t i=0; i<swapchainCount; ++i) {
11505 pRegions[i].initialize(&in_struct->pRegions[i]);
11506 }
11507 }
11508}
11509
11510void safe_VkPresentRegionsKHR::initialize(const safe_VkPresentRegionsKHR* src)
11511{
11512 sType = src->sType;
11513 pNext = src->pNext;
11514 swapchainCount = src->swapchainCount;
11515 pRegions = nullptr;
11516 if (swapchainCount && src->pRegions) {
11517 pRegions = new safe_VkPresentRegionKHR[swapchainCount];
11518 for (uint32_t i=0; i<swapchainCount; ++i) {
11519 pRegions[i].initialize(&src->pRegions[i]);
11520 }
11521 }
11522}
11523
Shannon McPherson0e65e192019-07-17 16:52:21 -060011524safe_VkPhysicalDeviceImagelessFramebufferFeaturesKHR::safe_VkPhysicalDeviceImagelessFramebufferFeaturesKHR(const VkPhysicalDeviceImagelessFramebufferFeaturesKHR* in_struct) :
11525 sType(in_struct->sType),
11526 pNext(in_struct->pNext),
11527 imagelessFramebuffer(in_struct->imagelessFramebuffer)
11528{
11529}
11530
11531safe_VkPhysicalDeviceImagelessFramebufferFeaturesKHR::safe_VkPhysicalDeviceImagelessFramebufferFeaturesKHR()
11532{}
11533
11534safe_VkPhysicalDeviceImagelessFramebufferFeaturesKHR::safe_VkPhysicalDeviceImagelessFramebufferFeaturesKHR(const safe_VkPhysicalDeviceImagelessFramebufferFeaturesKHR& src)
11535{
11536 sType = src.sType;
11537 pNext = src.pNext;
11538 imagelessFramebuffer = src.imagelessFramebuffer;
11539}
11540
11541safe_VkPhysicalDeviceImagelessFramebufferFeaturesKHR& safe_VkPhysicalDeviceImagelessFramebufferFeaturesKHR::operator=(const safe_VkPhysicalDeviceImagelessFramebufferFeaturesKHR& src)
11542{
11543 if (&src == this) return *this;
11544
11545
11546 sType = src.sType;
11547 pNext = src.pNext;
11548 imagelessFramebuffer = src.imagelessFramebuffer;
11549
11550 return *this;
11551}
11552
11553safe_VkPhysicalDeviceImagelessFramebufferFeaturesKHR::~safe_VkPhysicalDeviceImagelessFramebufferFeaturesKHR()
11554{
11555}
11556
11557void safe_VkPhysicalDeviceImagelessFramebufferFeaturesKHR::initialize(const VkPhysicalDeviceImagelessFramebufferFeaturesKHR* in_struct)
11558{
11559 sType = in_struct->sType;
11560 pNext = in_struct->pNext;
11561 imagelessFramebuffer = in_struct->imagelessFramebuffer;
11562}
11563
11564void safe_VkPhysicalDeviceImagelessFramebufferFeaturesKHR::initialize(const safe_VkPhysicalDeviceImagelessFramebufferFeaturesKHR* src)
11565{
11566 sType = src->sType;
11567 pNext = src->pNext;
11568 imagelessFramebuffer = src->imagelessFramebuffer;
11569}
11570
11571safe_VkFramebufferAttachmentImageInfoKHR::safe_VkFramebufferAttachmentImageInfoKHR(const VkFramebufferAttachmentImageInfoKHR* in_struct) :
11572 sType(in_struct->sType),
11573 pNext(in_struct->pNext),
11574 flags(in_struct->flags),
11575 usage(in_struct->usage),
11576 width(in_struct->width),
11577 height(in_struct->height),
11578 layerCount(in_struct->layerCount),
11579 viewFormatCount(in_struct->viewFormatCount),
11580 pViewFormats(nullptr)
11581{
11582 if (in_struct->pViewFormats) {
11583 pViewFormats = new VkFormat[in_struct->viewFormatCount];
11584 memcpy ((void *)pViewFormats, (void *)in_struct->pViewFormats, sizeof(VkFormat)*in_struct->viewFormatCount);
11585 }
11586}
11587
11588safe_VkFramebufferAttachmentImageInfoKHR::safe_VkFramebufferAttachmentImageInfoKHR() :
11589 pViewFormats(nullptr)
11590{}
11591
11592safe_VkFramebufferAttachmentImageInfoKHR::safe_VkFramebufferAttachmentImageInfoKHR(const safe_VkFramebufferAttachmentImageInfoKHR& src)
11593{
11594 sType = src.sType;
11595 pNext = src.pNext;
11596 flags = src.flags;
11597 usage = src.usage;
11598 width = src.width;
11599 height = src.height;
11600 layerCount = src.layerCount;
11601 viewFormatCount = src.viewFormatCount;
11602 pViewFormats = nullptr;
11603 if (src.pViewFormats) {
11604 pViewFormats = new VkFormat[src.viewFormatCount];
11605 memcpy ((void *)pViewFormats, (void *)src.pViewFormats, sizeof(VkFormat)*src.viewFormatCount);
11606 }
11607}
11608
11609safe_VkFramebufferAttachmentImageInfoKHR& safe_VkFramebufferAttachmentImageInfoKHR::operator=(const safe_VkFramebufferAttachmentImageInfoKHR& src)
11610{
11611 if (&src == this) return *this;
11612
11613 if (pViewFormats)
11614 delete[] pViewFormats;
11615
11616 sType = src.sType;
11617 pNext = src.pNext;
11618 flags = src.flags;
11619 usage = src.usage;
11620 width = src.width;
11621 height = src.height;
11622 layerCount = src.layerCount;
11623 viewFormatCount = src.viewFormatCount;
11624 pViewFormats = nullptr;
11625 if (src.pViewFormats) {
11626 pViewFormats = new VkFormat[src.viewFormatCount];
11627 memcpy ((void *)pViewFormats, (void *)src.pViewFormats, sizeof(VkFormat)*src.viewFormatCount);
11628 }
11629
11630 return *this;
11631}
11632
11633safe_VkFramebufferAttachmentImageInfoKHR::~safe_VkFramebufferAttachmentImageInfoKHR()
11634{
11635 if (pViewFormats)
11636 delete[] pViewFormats;
11637}
11638
11639void safe_VkFramebufferAttachmentImageInfoKHR::initialize(const VkFramebufferAttachmentImageInfoKHR* in_struct)
11640{
11641 sType = in_struct->sType;
11642 pNext = in_struct->pNext;
11643 flags = in_struct->flags;
11644 usage = in_struct->usage;
11645 width = in_struct->width;
11646 height = in_struct->height;
11647 layerCount = in_struct->layerCount;
11648 viewFormatCount = in_struct->viewFormatCount;
11649 pViewFormats = nullptr;
11650 if (in_struct->pViewFormats) {
11651 pViewFormats = new VkFormat[in_struct->viewFormatCount];
11652 memcpy ((void *)pViewFormats, (void *)in_struct->pViewFormats, sizeof(VkFormat)*in_struct->viewFormatCount);
11653 }
11654}
11655
11656void safe_VkFramebufferAttachmentImageInfoKHR::initialize(const safe_VkFramebufferAttachmentImageInfoKHR* src)
11657{
11658 sType = src->sType;
11659 pNext = src->pNext;
11660 flags = src->flags;
11661 usage = src->usage;
11662 width = src->width;
11663 height = src->height;
11664 layerCount = src->layerCount;
11665 viewFormatCount = src->viewFormatCount;
11666 pViewFormats = nullptr;
11667 if (src->pViewFormats) {
11668 pViewFormats = new VkFormat[src->viewFormatCount];
11669 memcpy ((void *)pViewFormats, (void *)src->pViewFormats, sizeof(VkFormat)*src->viewFormatCount);
11670 }
11671}
11672
11673safe_VkFramebufferAttachmentsCreateInfoKHR::safe_VkFramebufferAttachmentsCreateInfoKHR(const VkFramebufferAttachmentsCreateInfoKHR* in_struct) :
11674 sType(in_struct->sType),
11675 pNext(in_struct->pNext),
11676 attachmentImageInfoCount(in_struct->attachmentImageInfoCount),
11677 pAttachmentImageInfos(nullptr)
11678{
11679 if (attachmentImageInfoCount && in_struct->pAttachmentImageInfos) {
11680 pAttachmentImageInfos = new safe_VkFramebufferAttachmentImageInfoKHR[attachmentImageInfoCount];
11681 for (uint32_t i=0; i<attachmentImageInfoCount; ++i) {
11682 pAttachmentImageInfos[i].initialize(&in_struct->pAttachmentImageInfos[i]);
11683 }
11684 }
11685}
11686
11687safe_VkFramebufferAttachmentsCreateInfoKHR::safe_VkFramebufferAttachmentsCreateInfoKHR() :
11688 pAttachmentImageInfos(nullptr)
11689{}
11690
11691safe_VkFramebufferAttachmentsCreateInfoKHR::safe_VkFramebufferAttachmentsCreateInfoKHR(const safe_VkFramebufferAttachmentsCreateInfoKHR& src)
11692{
11693 sType = src.sType;
11694 pNext = src.pNext;
11695 attachmentImageInfoCount = src.attachmentImageInfoCount;
11696 pAttachmentImageInfos = nullptr;
11697 if (attachmentImageInfoCount && src.pAttachmentImageInfos) {
11698 pAttachmentImageInfos = new safe_VkFramebufferAttachmentImageInfoKHR[attachmentImageInfoCount];
11699 for (uint32_t i=0; i<attachmentImageInfoCount; ++i) {
11700 pAttachmentImageInfos[i].initialize(&src.pAttachmentImageInfos[i]);
11701 }
11702 }
11703}
11704
11705safe_VkFramebufferAttachmentsCreateInfoKHR& safe_VkFramebufferAttachmentsCreateInfoKHR::operator=(const safe_VkFramebufferAttachmentsCreateInfoKHR& src)
11706{
11707 if (&src == this) return *this;
11708
11709 if (pAttachmentImageInfos)
11710 delete[] pAttachmentImageInfos;
11711
11712 sType = src.sType;
11713 pNext = src.pNext;
11714 attachmentImageInfoCount = src.attachmentImageInfoCount;
11715 pAttachmentImageInfos = nullptr;
11716 if (attachmentImageInfoCount && src.pAttachmentImageInfos) {
11717 pAttachmentImageInfos = new safe_VkFramebufferAttachmentImageInfoKHR[attachmentImageInfoCount];
11718 for (uint32_t i=0; i<attachmentImageInfoCount; ++i) {
11719 pAttachmentImageInfos[i].initialize(&src.pAttachmentImageInfos[i]);
11720 }
11721 }
11722
11723 return *this;
11724}
11725
11726safe_VkFramebufferAttachmentsCreateInfoKHR::~safe_VkFramebufferAttachmentsCreateInfoKHR()
11727{
11728 if (pAttachmentImageInfos)
11729 delete[] pAttachmentImageInfos;
11730}
11731
11732void safe_VkFramebufferAttachmentsCreateInfoKHR::initialize(const VkFramebufferAttachmentsCreateInfoKHR* in_struct)
11733{
11734 sType = in_struct->sType;
11735 pNext = in_struct->pNext;
11736 attachmentImageInfoCount = in_struct->attachmentImageInfoCount;
11737 pAttachmentImageInfos = nullptr;
11738 if (attachmentImageInfoCount && in_struct->pAttachmentImageInfos) {
11739 pAttachmentImageInfos = new safe_VkFramebufferAttachmentImageInfoKHR[attachmentImageInfoCount];
11740 for (uint32_t i=0; i<attachmentImageInfoCount; ++i) {
11741 pAttachmentImageInfos[i].initialize(&in_struct->pAttachmentImageInfos[i]);
11742 }
11743 }
11744}
11745
11746void safe_VkFramebufferAttachmentsCreateInfoKHR::initialize(const safe_VkFramebufferAttachmentsCreateInfoKHR* src)
11747{
11748 sType = src->sType;
11749 pNext = src->pNext;
11750 attachmentImageInfoCount = src->attachmentImageInfoCount;
11751 pAttachmentImageInfos = nullptr;
11752 if (attachmentImageInfoCount && src->pAttachmentImageInfos) {
11753 pAttachmentImageInfos = new safe_VkFramebufferAttachmentImageInfoKHR[attachmentImageInfoCount];
11754 for (uint32_t i=0; i<attachmentImageInfoCount; ++i) {
11755 pAttachmentImageInfos[i].initialize(&src->pAttachmentImageInfos[i]);
11756 }
11757 }
11758}
11759
11760safe_VkRenderPassAttachmentBeginInfoKHR::safe_VkRenderPassAttachmentBeginInfoKHR(const VkRenderPassAttachmentBeginInfoKHR* in_struct) :
11761 sType(in_struct->sType),
11762 pNext(in_struct->pNext),
11763 attachmentCount(in_struct->attachmentCount),
11764 pAttachments(nullptr)
11765{
11766 if (attachmentCount && in_struct->pAttachments) {
11767 pAttachments = new VkImageView[attachmentCount];
11768 for (uint32_t i=0; i<attachmentCount; ++i) {
11769 pAttachments[i] = in_struct->pAttachments[i];
11770 }
11771 }
11772}
11773
11774safe_VkRenderPassAttachmentBeginInfoKHR::safe_VkRenderPassAttachmentBeginInfoKHR() :
11775 pAttachments(nullptr)
11776{}
11777
11778safe_VkRenderPassAttachmentBeginInfoKHR::safe_VkRenderPassAttachmentBeginInfoKHR(const safe_VkRenderPassAttachmentBeginInfoKHR& src)
11779{
11780 sType = src.sType;
11781 pNext = src.pNext;
11782 attachmentCount = src.attachmentCount;
11783 pAttachments = nullptr;
11784 if (attachmentCount && src.pAttachments) {
11785 pAttachments = new VkImageView[attachmentCount];
11786 for (uint32_t i=0; i<attachmentCount; ++i) {
11787 pAttachments[i] = src.pAttachments[i];
11788 }
11789 }
11790}
11791
11792safe_VkRenderPassAttachmentBeginInfoKHR& safe_VkRenderPassAttachmentBeginInfoKHR::operator=(const safe_VkRenderPassAttachmentBeginInfoKHR& src)
11793{
11794 if (&src == this) return *this;
11795
11796 if (pAttachments)
11797 delete[] pAttachments;
11798
11799 sType = src.sType;
11800 pNext = src.pNext;
11801 attachmentCount = src.attachmentCount;
11802 pAttachments = nullptr;
11803 if (attachmentCount && src.pAttachments) {
11804 pAttachments = new VkImageView[attachmentCount];
11805 for (uint32_t i=0; i<attachmentCount; ++i) {
11806 pAttachments[i] = src.pAttachments[i];
11807 }
11808 }
11809
11810 return *this;
11811}
11812
11813safe_VkRenderPassAttachmentBeginInfoKHR::~safe_VkRenderPassAttachmentBeginInfoKHR()
11814{
11815 if (pAttachments)
11816 delete[] pAttachments;
11817}
11818
11819void safe_VkRenderPassAttachmentBeginInfoKHR::initialize(const VkRenderPassAttachmentBeginInfoKHR* in_struct)
11820{
11821 sType = in_struct->sType;
11822 pNext = in_struct->pNext;
11823 attachmentCount = in_struct->attachmentCount;
11824 pAttachments = nullptr;
11825 if (attachmentCount && in_struct->pAttachments) {
11826 pAttachments = new VkImageView[attachmentCount];
11827 for (uint32_t i=0; i<attachmentCount; ++i) {
11828 pAttachments[i] = in_struct->pAttachments[i];
11829 }
11830 }
11831}
11832
11833void safe_VkRenderPassAttachmentBeginInfoKHR::initialize(const safe_VkRenderPassAttachmentBeginInfoKHR* src)
11834{
11835 sType = src->sType;
11836 pNext = src->pNext;
11837 attachmentCount = src->attachmentCount;
11838 pAttachments = nullptr;
11839 if (attachmentCount && src->pAttachments) {
11840 pAttachments = new VkImageView[attachmentCount];
11841 for (uint32_t i=0; i<attachmentCount; ++i) {
11842 pAttachments[i] = src->pAttachments[i];
11843 }
11844 }
11845}
11846
Mike Schuchardt440d4642019-06-20 17:14:57 -070011847safe_VkAttachmentDescription2KHR::safe_VkAttachmentDescription2KHR(const VkAttachmentDescription2KHR* in_struct) :
11848 sType(in_struct->sType),
11849 pNext(in_struct->pNext),
11850 flags(in_struct->flags),
11851 format(in_struct->format),
11852 samples(in_struct->samples),
11853 loadOp(in_struct->loadOp),
11854 storeOp(in_struct->storeOp),
11855 stencilLoadOp(in_struct->stencilLoadOp),
11856 stencilStoreOp(in_struct->stencilStoreOp),
11857 initialLayout(in_struct->initialLayout),
11858 finalLayout(in_struct->finalLayout)
11859{
11860}
11861
11862safe_VkAttachmentDescription2KHR::safe_VkAttachmentDescription2KHR()
11863{}
11864
11865safe_VkAttachmentDescription2KHR::safe_VkAttachmentDescription2KHR(const safe_VkAttachmentDescription2KHR& src)
11866{
11867 sType = src.sType;
11868 pNext = src.pNext;
11869 flags = src.flags;
11870 format = src.format;
11871 samples = src.samples;
11872 loadOp = src.loadOp;
11873 storeOp = src.storeOp;
11874 stencilLoadOp = src.stencilLoadOp;
11875 stencilStoreOp = src.stencilStoreOp;
11876 initialLayout = src.initialLayout;
11877 finalLayout = src.finalLayout;
11878}
11879
11880safe_VkAttachmentDescription2KHR& safe_VkAttachmentDescription2KHR::operator=(const safe_VkAttachmentDescription2KHR& src)
11881{
11882 if (&src == this) return *this;
11883
11884
11885 sType = src.sType;
11886 pNext = src.pNext;
11887 flags = src.flags;
11888 format = src.format;
11889 samples = src.samples;
11890 loadOp = src.loadOp;
11891 storeOp = src.storeOp;
11892 stencilLoadOp = src.stencilLoadOp;
11893 stencilStoreOp = src.stencilStoreOp;
11894 initialLayout = src.initialLayout;
11895 finalLayout = src.finalLayout;
11896
11897 return *this;
11898}
11899
11900safe_VkAttachmentDescription2KHR::~safe_VkAttachmentDescription2KHR()
11901{
11902}
11903
11904void safe_VkAttachmentDescription2KHR::initialize(const VkAttachmentDescription2KHR* in_struct)
11905{
11906 sType = in_struct->sType;
11907 pNext = in_struct->pNext;
11908 flags = in_struct->flags;
11909 format = in_struct->format;
11910 samples = in_struct->samples;
11911 loadOp = in_struct->loadOp;
11912 storeOp = in_struct->storeOp;
11913 stencilLoadOp = in_struct->stencilLoadOp;
11914 stencilStoreOp = in_struct->stencilStoreOp;
11915 initialLayout = in_struct->initialLayout;
11916 finalLayout = in_struct->finalLayout;
11917}
11918
11919void safe_VkAttachmentDescription2KHR::initialize(const safe_VkAttachmentDescription2KHR* src)
11920{
11921 sType = src->sType;
11922 pNext = src->pNext;
11923 flags = src->flags;
11924 format = src->format;
11925 samples = src->samples;
11926 loadOp = src->loadOp;
11927 storeOp = src->storeOp;
11928 stencilLoadOp = src->stencilLoadOp;
11929 stencilStoreOp = src->stencilStoreOp;
11930 initialLayout = src->initialLayout;
11931 finalLayout = src->finalLayout;
11932}
11933
11934safe_VkAttachmentReference2KHR::safe_VkAttachmentReference2KHR(const VkAttachmentReference2KHR* in_struct) :
11935 sType(in_struct->sType),
11936 pNext(in_struct->pNext),
11937 attachment(in_struct->attachment),
11938 layout(in_struct->layout),
11939 aspectMask(in_struct->aspectMask)
11940{
11941}
11942
11943safe_VkAttachmentReference2KHR::safe_VkAttachmentReference2KHR()
11944{}
11945
11946safe_VkAttachmentReference2KHR::safe_VkAttachmentReference2KHR(const safe_VkAttachmentReference2KHR& src)
11947{
11948 sType = src.sType;
11949 pNext = src.pNext;
11950 attachment = src.attachment;
11951 layout = src.layout;
11952 aspectMask = src.aspectMask;
11953}
11954
11955safe_VkAttachmentReference2KHR& safe_VkAttachmentReference2KHR::operator=(const safe_VkAttachmentReference2KHR& src)
11956{
11957 if (&src == this) return *this;
11958
11959
11960 sType = src.sType;
11961 pNext = src.pNext;
11962 attachment = src.attachment;
11963 layout = src.layout;
11964 aspectMask = src.aspectMask;
11965
11966 return *this;
11967}
11968
11969safe_VkAttachmentReference2KHR::~safe_VkAttachmentReference2KHR()
11970{
11971}
11972
11973void safe_VkAttachmentReference2KHR::initialize(const VkAttachmentReference2KHR* in_struct)
11974{
11975 sType = in_struct->sType;
11976 pNext = in_struct->pNext;
11977 attachment = in_struct->attachment;
11978 layout = in_struct->layout;
11979 aspectMask = in_struct->aspectMask;
11980}
11981
11982void safe_VkAttachmentReference2KHR::initialize(const safe_VkAttachmentReference2KHR* src)
11983{
11984 sType = src->sType;
11985 pNext = src->pNext;
11986 attachment = src->attachment;
11987 layout = src->layout;
11988 aspectMask = src->aspectMask;
11989}
11990
11991safe_VkSubpassDescription2KHR::safe_VkSubpassDescription2KHR(const VkSubpassDescription2KHR* in_struct) :
11992 sType(in_struct->sType),
11993 pNext(in_struct->pNext),
11994 flags(in_struct->flags),
11995 pipelineBindPoint(in_struct->pipelineBindPoint),
11996 viewMask(in_struct->viewMask),
11997 inputAttachmentCount(in_struct->inputAttachmentCount),
11998 pInputAttachments(nullptr),
11999 colorAttachmentCount(in_struct->colorAttachmentCount),
12000 pColorAttachments(nullptr),
12001 pResolveAttachments(nullptr),
12002 preserveAttachmentCount(in_struct->preserveAttachmentCount),
12003 pPreserveAttachments(nullptr)
12004{
12005 if (inputAttachmentCount && in_struct->pInputAttachments) {
12006 pInputAttachments = new safe_VkAttachmentReference2KHR[inputAttachmentCount];
12007 for (uint32_t i=0; i<inputAttachmentCount; ++i) {
12008 pInputAttachments[i].initialize(&in_struct->pInputAttachments[i]);
12009 }
12010 }
12011 if (colorAttachmentCount && in_struct->pColorAttachments) {
12012 pColorAttachments = new safe_VkAttachmentReference2KHR[colorAttachmentCount];
12013 for (uint32_t i=0; i<colorAttachmentCount; ++i) {
12014 pColorAttachments[i].initialize(&in_struct->pColorAttachments[i]);
12015 }
12016 }
12017 if (colorAttachmentCount && in_struct->pResolveAttachments) {
12018 pResolveAttachments = new safe_VkAttachmentReference2KHR[colorAttachmentCount];
12019 for (uint32_t i=0; i<colorAttachmentCount; ++i) {
12020 pResolveAttachments[i].initialize(&in_struct->pResolveAttachments[i]);
12021 }
12022 }
12023 if (in_struct->pDepthStencilAttachment)
12024 pDepthStencilAttachment = new safe_VkAttachmentReference2KHR(in_struct->pDepthStencilAttachment);
12025 else
12026 pDepthStencilAttachment = NULL;
12027 if (in_struct->pPreserveAttachments) {
12028 pPreserveAttachments = new uint32_t[in_struct->preserveAttachmentCount];
12029 memcpy ((void *)pPreserveAttachments, (void *)in_struct->pPreserveAttachments, sizeof(uint32_t)*in_struct->preserveAttachmentCount);
12030 }
12031}
12032
12033safe_VkSubpassDescription2KHR::safe_VkSubpassDescription2KHR() :
12034 pInputAttachments(nullptr),
12035 pColorAttachments(nullptr),
12036 pResolveAttachments(nullptr),
12037 pPreserveAttachments(nullptr)
12038{}
12039
12040safe_VkSubpassDescription2KHR::safe_VkSubpassDescription2KHR(const safe_VkSubpassDescription2KHR& src)
12041{
12042 sType = src.sType;
12043 pNext = src.pNext;
12044 flags = src.flags;
12045 pipelineBindPoint = src.pipelineBindPoint;
12046 viewMask = src.viewMask;
12047 inputAttachmentCount = src.inputAttachmentCount;
12048 pInputAttachments = nullptr;
12049 colorAttachmentCount = src.colorAttachmentCount;
12050 pColorAttachments = nullptr;
12051 pResolveAttachments = nullptr;
12052 preserveAttachmentCount = src.preserveAttachmentCount;
12053 pPreserveAttachments = nullptr;
12054 if (inputAttachmentCount && src.pInputAttachments) {
12055 pInputAttachments = new safe_VkAttachmentReference2KHR[inputAttachmentCount];
12056 for (uint32_t i=0; i<inputAttachmentCount; ++i) {
12057 pInputAttachments[i].initialize(&src.pInputAttachments[i]);
12058 }
12059 }
12060 if (colorAttachmentCount && src.pColorAttachments) {
12061 pColorAttachments = new safe_VkAttachmentReference2KHR[colorAttachmentCount];
12062 for (uint32_t i=0; i<colorAttachmentCount; ++i) {
12063 pColorAttachments[i].initialize(&src.pColorAttachments[i]);
12064 }
12065 }
12066 if (colorAttachmentCount && src.pResolveAttachments) {
12067 pResolveAttachments = new safe_VkAttachmentReference2KHR[colorAttachmentCount];
12068 for (uint32_t i=0; i<colorAttachmentCount; ++i) {
12069 pResolveAttachments[i].initialize(&src.pResolveAttachments[i]);
12070 }
12071 }
12072 if (src.pDepthStencilAttachment)
12073 pDepthStencilAttachment = new safe_VkAttachmentReference2KHR(*src.pDepthStencilAttachment);
12074 else
12075 pDepthStencilAttachment = NULL;
12076 if (src.pPreserveAttachments) {
12077 pPreserveAttachments = new uint32_t[src.preserveAttachmentCount];
12078 memcpy ((void *)pPreserveAttachments, (void *)src.pPreserveAttachments, sizeof(uint32_t)*src.preserveAttachmentCount);
12079 }
12080}
12081
12082safe_VkSubpassDescription2KHR& safe_VkSubpassDescription2KHR::operator=(const safe_VkSubpassDescription2KHR& src)
12083{
12084 if (&src == this) return *this;
12085
12086 if (pInputAttachments)
12087 delete[] pInputAttachments;
12088 if (pColorAttachments)
12089 delete[] pColorAttachments;
12090 if (pResolveAttachments)
12091 delete[] pResolveAttachments;
12092 if (pDepthStencilAttachment)
12093 delete pDepthStencilAttachment;
12094 if (pPreserveAttachments)
12095 delete[] pPreserveAttachments;
12096
12097 sType = src.sType;
12098 pNext = src.pNext;
12099 flags = src.flags;
12100 pipelineBindPoint = src.pipelineBindPoint;
12101 viewMask = src.viewMask;
12102 inputAttachmentCount = src.inputAttachmentCount;
12103 pInputAttachments = nullptr;
12104 colorAttachmentCount = src.colorAttachmentCount;
12105 pColorAttachments = nullptr;
12106 pResolveAttachments = nullptr;
12107 preserveAttachmentCount = src.preserveAttachmentCount;
12108 pPreserveAttachments = nullptr;
12109 if (inputAttachmentCount && src.pInputAttachments) {
12110 pInputAttachments = new safe_VkAttachmentReference2KHR[inputAttachmentCount];
12111 for (uint32_t i=0; i<inputAttachmentCount; ++i) {
12112 pInputAttachments[i].initialize(&src.pInputAttachments[i]);
12113 }
12114 }
12115 if (colorAttachmentCount && src.pColorAttachments) {
12116 pColorAttachments = new safe_VkAttachmentReference2KHR[colorAttachmentCount];
12117 for (uint32_t i=0; i<colorAttachmentCount; ++i) {
12118 pColorAttachments[i].initialize(&src.pColorAttachments[i]);
12119 }
12120 }
12121 if (colorAttachmentCount && src.pResolveAttachments) {
12122 pResolveAttachments = new safe_VkAttachmentReference2KHR[colorAttachmentCount];
12123 for (uint32_t i=0; i<colorAttachmentCount; ++i) {
12124 pResolveAttachments[i].initialize(&src.pResolveAttachments[i]);
12125 }
12126 }
12127 if (src.pDepthStencilAttachment)
12128 pDepthStencilAttachment = new safe_VkAttachmentReference2KHR(*src.pDepthStencilAttachment);
12129 else
12130 pDepthStencilAttachment = NULL;
12131 if (src.pPreserveAttachments) {
12132 pPreserveAttachments = new uint32_t[src.preserveAttachmentCount];
12133 memcpy ((void *)pPreserveAttachments, (void *)src.pPreserveAttachments, sizeof(uint32_t)*src.preserveAttachmentCount);
12134 }
12135
12136 return *this;
12137}
12138
12139safe_VkSubpassDescription2KHR::~safe_VkSubpassDescription2KHR()
12140{
12141 if (pInputAttachments)
12142 delete[] pInputAttachments;
12143 if (pColorAttachments)
12144 delete[] pColorAttachments;
12145 if (pResolveAttachments)
12146 delete[] pResolveAttachments;
12147 if (pDepthStencilAttachment)
12148 delete pDepthStencilAttachment;
12149 if (pPreserveAttachments)
12150 delete[] pPreserveAttachments;
12151}
12152
12153void safe_VkSubpassDescription2KHR::initialize(const VkSubpassDescription2KHR* in_struct)
12154{
12155 sType = in_struct->sType;
12156 pNext = in_struct->pNext;
12157 flags = in_struct->flags;
12158 pipelineBindPoint = in_struct->pipelineBindPoint;
12159 viewMask = in_struct->viewMask;
12160 inputAttachmentCount = in_struct->inputAttachmentCount;
12161 pInputAttachments = nullptr;
12162 colorAttachmentCount = in_struct->colorAttachmentCount;
12163 pColorAttachments = nullptr;
12164 pResolveAttachments = nullptr;
12165 preserveAttachmentCount = in_struct->preserveAttachmentCount;
12166 pPreserveAttachments = nullptr;
12167 if (inputAttachmentCount && in_struct->pInputAttachments) {
12168 pInputAttachments = new safe_VkAttachmentReference2KHR[inputAttachmentCount];
12169 for (uint32_t i=0; i<inputAttachmentCount; ++i) {
12170 pInputAttachments[i].initialize(&in_struct->pInputAttachments[i]);
12171 }
12172 }
12173 if (colorAttachmentCount && in_struct->pColorAttachments) {
12174 pColorAttachments = new safe_VkAttachmentReference2KHR[colorAttachmentCount];
12175 for (uint32_t i=0; i<colorAttachmentCount; ++i) {
12176 pColorAttachments[i].initialize(&in_struct->pColorAttachments[i]);
12177 }
12178 }
12179 if (colorAttachmentCount && in_struct->pResolveAttachments) {
12180 pResolveAttachments = new safe_VkAttachmentReference2KHR[colorAttachmentCount];
12181 for (uint32_t i=0; i<colorAttachmentCount; ++i) {
12182 pResolveAttachments[i].initialize(&in_struct->pResolveAttachments[i]);
12183 }
12184 }
12185 if (in_struct->pDepthStencilAttachment)
12186 pDepthStencilAttachment = new safe_VkAttachmentReference2KHR(in_struct->pDepthStencilAttachment);
12187 else
12188 pDepthStencilAttachment = NULL;
12189 if (in_struct->pPreserveAttachments) {
12190 pPreserveAttachments = new uint32_t[in_struct->preserveAttachmentCount];
12191 memcpy ((void *)pPreserveAttachments, (void *)in_struct->pPreserveAttachments, sizeof(uint32_t)*in_struct->preserveAttachmentCount);
12192 }
12193}
12194
12195void safe_VkSubpassDescription2KHR::initialize(const safe_VkSubpassDescription2KHR* src)
12196{
12197 sType = src->sType;
12198 pNext = src->pNext;
12199 flags = src->flags;
12200 pipelineBindPoint = src->pipelineBindPoint;
12201 viewMask = src->viewMask;
12202 inputAttachmentCount = src->inputAttachmentCount;
12203 pInputAttachments = nullptr;
12204 colorAttachmentCount = src->colorAttachmentCount;
12205 pColorAttachments = nullptr;
12206 pResolveAttachments = nullptr;
12207 preserveAttachmentCount = src->preserveAttachmentCount;
12208 pPreserveAttachments = nullptr;
12209 if (inputAttachmentCount && src->pInputAttachments) {
12210 pInputAttachments = new safe_VkAttachmentReference2KHR[inputAttachmentCount];
12211 for (uint32_t i=0; i<inputAttachmentCount; ++i) {
12212 pInputAttachments[i].initialize(&src->pInputAttachments[i]);
12213 }
12214 }
12215 if (colorAttachmentCount && src->pColorAttachments) {
12216 pColorAttachments = new safe_VkAttachmentReference2KHR[colorAttachmentCount];
12217 for (uint32_t i=0; i<colorAttachmentCount; ++i) {
12218 pColorAttachments[i].initialize(&src->pColorAttachments[i]);
12219 }
12220 }
12221 if (colorAttachmentCount && src->pResolveAttachments) {
12222 pResolveAttachments = new safe_VkAttachmentReference2KHR[colorAttachmentCount];
12223 for (uint32_t i=0; i<colorAttachmentCount; ++i) {
12224 pResolveAttachments[i].initialize(&src->pResolveAttachments[i]);
12225 }
12226 }
12227 if (src->pDepthStencilAttachment)
12228 pDepthStencilAttachment = new safe_VkAttachmentReference2KHR(*src->pDepthStencilAttachment);
12229 else
12230 pDepthStencilAttachment = NULL;
12231 if (src->pPreserveAttachments) {
12232 pPreserveAttachments = new uint32_t[src->preserveAttachmentCount];
12233 memcpy ((void *)pPreserveAttachments, (void *)src->pPreserveAttachments, sizeof(uint32_t)*src->preserveAttachmentCount);
12234 }
12235}
12236
12237safe_VkSubpassDependency2KHR::safe_VkSubpassDependency2KHR(const VkSubpassDependency2KHR* in_struct) :
12238 sType(in_struct->sType),
12239 pNext(in_struct->pNext),
12240 srcSubpass(in_struct->srcSubpass),
12241 dstSubpass(in_struct->dstSubpass),
12242 srcStageMask(in_struct->srcStageMask),
12243 dstStageMask(in_struct->dstStageMask),
12244 srcAccessMask(in_struct->srcAccessMask),
12245 dstAccessMask(in_struct->dstAccessMask),
12246 dependencyFlags(in_struct->dependencyFlags),
12247 viewOffset(in_struct->viewOffset)
12248{
12249}
12250
12251safe_VkSubpassDependency2KHR::safe_VkSubpassDependency2KHR()
12252{}
12253
12254safe_VkSubpassDependency2KHR::safe_VkSubpassDependency2KHR(const safe_VkSubpassDependency2KHR& src)
12255{
12256 sType = src.sType;
12257 pNext = src.pNext;
12258 srcSubpass = src.srcSubpass;
12259 dstSubpass = src.dstSubpass;
12260 srcStageMask = src.srcStageMask;
12261 dstStageMask = src.dstStageMask;
12262 srcAccessMask = src.srcAccessMask;
12263 dstAccessMask = src.dstAccessMask;
12264 dependencyFlags = src.dependencyFlags;
12265 viewOffset = src.viewOffset;
12266}
12267
12268safe_VkSubpassDependency2KHR& safe_VkSubpassDependency2KHR::operator=(const safe_VkSubpassDependency2KHR& src)
12269{
12270 if (&src == this) return *this;
12271
12272
12273 sType = src.sType;
12274 pNext = src.pNext;
12275 srcSubpass = src.srcSubpass;
12276 dstSubpass = src.dstSubpass;
12277 srcStageMask = src.srcStageMask;
12278 dstStageMask = src.dstStageMask;
12279 srcAccessMask = src.srcAccessMask;
12280 dstAccessMask = src.dstAccessMask;
12281 dependencyFlags = src.dependencyFlags;
12282 viewOffset = src.viewOffset;
12283
12284 return *this;
12285}
12286
12287safe_VkSubpassDependency2KHR::~safe_VkSubpassDependency2KHR()
12288{
12289}
12290
12291void safe_VkSubpassDependency2KHR::initialize(const VkSubpassDependency2KHR* in_struct)
12292{
12293 sType = in_struct->sType;
12294 pNext = in_struct->pNext;
12295 srcSubpass = in_struct->srcSubpass;
12296 dstSubpass = in_struct->dstSubpass;
12297 srcStageMask = in_struct->srcStageMask;
12298 dstStageMask = in_struct->dstStageMask;
12299 srcAccessMask = in_struct->srcAccessMask;
12300 dstAccessMask = in_struct->dstAccessMask;
12301 dependencyFlags = in_struct->dependencyFlags;
12302 viewOffset = in_struct->viewOffset;
12303}
12304
12305void safe_VkSubpassDependency2KHR::initialize(const safe_VkSubpassDependency2KHR* src)
12306{
12307 sType = src->sType;
12308 pNext = src->pNext;
12309 srcSubpass = src->srcSubpass;
12310 dstSubpass = src->dstSubpass;
12311 srcStageMask = src->srcStageMask;
12312 dstStageMask = src->dstStageMask;
12313 srcAccessMask = src->srcAccessMask;
12314 dstAccessMask = src->dstAccessMask;
12315 dependencyFlags = src->dependencyFlags;
12316 viewOffset = src->viewOffset;
12317}
12318
12319safe_VkRenderPassCreateInfo2KHR::safe_VkRenderPassCreateInfo2KHR(const VkRenderPassCreateInfo2KHR* in_struct) :
12320 sType(in_struct->sType),
12321 pNext(in_struct->pNext),
12322 flags(in_struct->flags),
12323 attachmentCount(in_struct->attachmentCount),
12324 pAttachments(nullptr),
12325 subpassCount(in_struct->subpassCount),
12326 pSubpasses(nullptr),
12327 dependencyCount(in_struct->dependencyCount),
12328 pDependencies(nullptr),
12329 correlatedViewMaskCount(in_struct->correlatedViewMaskCount),
12330 pCorrelatedViewMasks(nullptr)
12331{
12332 if (attachmentCount && in_struct->pAttachments) {
12333 pAttachments = new safe_VkAttachmentDescription2KHR[attachmentCount];
12334 for (uint32_t i=0; i<attachmentCount; ++i) {
12335 pAttachments[i].initialize(&in_struct->pAttachments[i]);
12336 }
12337 }
12338 if (subpassCount && in_struct->pSubpasses) {
12339 pSubpasses = new safe_VkSubpassDescription2KHR[subpassCount];
12340 for (uint32_t i=0; i<subpassCount; ++i) {
12341 pSubpasses[i].initialize(&in_struct->pSubpasses[i]);
12342 }
12343 }
12344 if (dependencyCount && in_struct->pDependencies) {
12345 pDependencies = new safe_VkSubpassDependency2KHR[dependencyCount];
12346 for (uint32_t i=0; i<dependencyCount; ++i) {
12347 pDependencies[i].initialize(&in_struct->pDependencies[i]);
12348 }
12349 }
12350 if (in_struct->pCorrelatedViewMasks) {
12351 pCorrelatedViewMasks = new uint32_t[in_struct->correlatedViewMaskCount];
12352 memcpy ((void *)pCorrelatedViewMasks, (void *)in_struct->pCorrelatedViewMasks, sizeof(uint32_t)*in_struct->correlatedViewMaskCount);
12353 }
12354}
12355
12356safe_VkRenderPassCreateInfo2KHR::safe_VkRenderPassCreateInfo2KHR() :
12357 pAttachments(nullptr),
12358 pSubpasses(nullptr),
12359 pDependencies(nullptr),
12360 pCorrelatedViewMasks(nullptr)
12361{}
12362
12363safe_VkRenderPassCreateInfo2KHR::safe_VkRenderPassCreateInfo2KHR(const safe_VkRenderPassCreateInfo2KHR& src)
12364{
12365 sType = src.sType;
12366 pNext = src.pNext;
12367 flags = src.flags;
12368 attachmentCount = src.attachmentCount;
12369 pAttachments = nullptr;
12370 subpassCount = src.subpassCount;
12371 pSubpasses = nullptr;
12372 dependencyCount = src.dependencyCount;
12373 pDependencies = nullptr;
12374 correlatedViewMaskCount = src.correlatedViewMaskCount;
12375 pCorrelatedViewMasks = nullptr;
12376 if (attachmentCount && src.pAttachments) {
12377 pAttachments = new safe_VkAttachmentDescription2KHR[attachmentCount];
12378 for (uint32_t i=0; i<attachmentCount; ++i) {
12379 pAttachments[i].initialize(&src.pAttachments[i]);
12380 }
12381 }
12382 if (subpassCount && src.pSubpasses) {
12383 pSubpasses = new safe_VkSubpassDescription2KHR[subpassCount];
12384 for (uint32_t i=0; i<subpassCount; ++i) {
12385 pSubpasses[i].initialize(&src.pSubpasses[i]);
12386 }
12387 }
12388 if (dependencyCount && src.pDependencies) {
12389 pDependencies = new safe_VkSubpassDependency2KHR[dependencyCount];
12390 for (uint32_t i=0; i<dependencyCount; ++i) {
12391 pDependencies[i].initialize(&src.pDependencies[i]);
12392 }
12393 }
12394 if (src.pCorrelatedViewMasks) {
12395 pCorrelatedViewMasks = new uint32_t[src.correlatedViewMaskCount];
12396 memcpy ((void *)pCorrelatedViewMasks, (void *)src.pCorrelatedViewMasks, sizeof(uint32_t)*src.correlatedViewMaskCount);
12397 }
12398}
12399
12400safe_VkRenderPassCreateInfo2KHR& safe_VkRenderPassCreateInfo2KHR::operator=(const safe_VkRenderPassCreateInfo2KHR& src)
12401{
12402 if (&src == this) return *this;
12403
12404 if (pAttachments)
12405 delete[] pAttachments;
12406 if (pSubpasses)
12407 delete[] pSubpasses;
12408 if (pDependencies)
12409 delete[] pDependencies;
12410 if (pCorrelatedViewMasks)
12411 delete[] pCorrelatedViewMasks;
12412
12413 sType = src.sType;
12414 pNext = src.pNext;
12415 flags = src.flags;
12416 attachmentCount = src.attachmentCount;
12417 pAttachments = nullptr;
12418 subpassCount = src.subpassCount;
12419 pSubpasses = nullptr;
12420 dependencyCount = src.dependencyCount;
12421 pDependencies = nullptr;
12422 correlatedViewMaskCount = src.correlatedViewMaskCount;
12423 pCorrelatedViewMasks = nullptr;
12424 if (attachmentCount && src.pAttachments) {
12425 pAttachments = new safe_VkAttachmentDescription2KHR[attachmentCount];
12426 for (uint32_t i=0; i<attachmentCount; ++i) {
12427 pAttachments[i].initialize(&src.pAttachments[i]);
12428 }
12429 }
12430 if (subpassCount && src.pSubpasses) {
12431 pSubpasses = new safe_VkSubpassDescription2KHR[subpassCount];
12432 for (uint32_t i=0; i<subpassCount; ++i) {
12433 pSubpasses[i].initialize(&src.pSubpasses[i]);
12434 }
12435 }
12436 if (dependencyCount && src.pDependencies) {
12437 pDependencies = new safe_VkSubpassDependency2KHR[dependencyCount];
12438 for (uint32_t i=0; i<dependencyCount; ++i) {
12439 pDependencies[i].initialize(&src.pDependencies[i]);
12440 }
12441 }
12442 if (src.pCorrelatedViewMasks) {
12443 pCorrelatedViewMasks = new uint32_t[src.correlatedViewMaskCount];
12444 memcpy ((void *)pCorrelatedViewMasks, (void *)src.pCorrelatedViewMasks, sizeof(uint32_t)*src.correlatedViewMaskCount);
12445 }
12446
12447 return *this;
12448}
12449
12450safe_VkRenderPassCreateInfo2KHR::~safe_VkRenderPassCreateInfo2KHR()
12451{
12452 if (pAttachments)
12453 delete[] pAttachments;
12454 if (pSubpasses)
12455 delete[] pSubpasses;
12456 if (pDependencies)
12457 delete[] pDependencies;
12458 if (pCorrelatedViewMasks)
12459 delete[] pCorrelatedViewMasks;
12460}
12461
12462void safe_VkRenderPassCreateInfo2KHR::initialize(const VkRenderPassCreateInfo2KHR* in_struct)
12463{
12464 sType = in_struct->sType;
12465 pNext = in_struct->pNext;
12466 flags = in_struct->flags;
12467 attachmentCount = in_struct->attachmentCount;
12468 pAttachments = nullptr;
12469 subpassCount = in_struct->subpassCount;
12470 pSubpasses = nullptr;
12471 dependencyCount = in_struct->dependencyCount;
12472 pDependencies = nullptr;
12473 correlatedViewMaskCount = in_struct->correlatedViewMaskCount;
12474 pCorrelatedViewMasks = nullptr;
12475 if (attachmentCount && in_struct->pAttachments) {
12476 pAttachments = new safe_VkAttachmentDescription2KHR[attachmentCount];
12477 for (uint32_t i=0; i<attachmentCount; ++i) {
12478 pAttachments[i].initialize(&in_struct->pAttachments[i]);
12479 }
12480 }
12481 if (subpassCount && in_struct->pSubpasses) {
12482 pSubpasses = new safe_VkSubpassDescription2KHR[subpassCount];
12483 for (uint32_t i=0; i<subpassCount; ++i) {
12484 pSubpasses[i].initialize(&in_struct->pSubpasses[i]);
12485 }
12486 }
12487 if (dependencyCount && in_struct->pDependencies) {
12488 pDependencies = new safe_VkSubpassDependency2KHR[dependencyCount];
12489 for (uint32_t i=0; i<dependencyCount; ++i) {
12490 pDependencies[i].initialize(&in_struct->pDependencies[i]);
12491 }
12492 }
12493 if (in_struct->pCorrelatedViewMasks) {
12494 pCorrelatedViewMasks = new uint32_t[in_struct->correlatedViewMaskCount];
12495 memcpy ((void *)pCorrelatedViewMasks, (void *)in_struct->pCorrelatedViewMasks, sizeof(uint32_t)*in_struct->correlatedViewMaskCount);
12496 }
12497}
12498
12499void safe_VkRenderPassCreateInfo2KHR::initialize(const safe_VkRenderPassCreateInfo2KHR* src)
12500{
12501 sType = src->sType;
12502 pNext = src->pNext;
12503 flags = src->flags;
12504 attachmentCount = src->attachmentCount;
12505 pAttachments = nullptr;
12506 subpassCount = src->subpassCount;
12507 pSubpasses = nullptr;
12508 dependencyCount = src->dependencyCount;
12509 pDependencies = nullptr;
12510 correlatedViewMaskCount = src->correlatedViewMaskCount;
12511 pCorrelatedViewMasks = nullptr;
12512 if (attachmentCount && src->pAttachments) {
12513 pAttachments = new safe_VkAttachmentDescription2KHR[attachmentCount];
12514 for (uint32_t i=0; i<attachmentCount; ++i) {
12515 pAttachments[i].initialize(&src->pAttachments[i]);
12516 }
12517 }
12518 if (subpassCount && src->pSubpasses) {
12519 pSubpasses = new safe_VkSubpassDescription2KHR[subpassCount];
12520 for (uint32_t i=0; i<subpassCount; ++i) {
12521 pSubpasses[i].initialize(&src->pSubpasses[i]);
12522 }
12523 }
12524 if (dependencyCount && src->pDependencies) {
12525 pDependencies = new safe_VkSubpassDependency2KHR[dependencyCount];
12526 for (uint32_t i=0; i<dependencyCount; ++i) {
12527 pDependencies[i].initialize(&src->pDependencies[i]);
12528 }
12529 }
12530 if (src->pCorrelatedViewMasks) {
12531 pCorrelatedViewMasks = new uint32_t[src->correlatedViewMaskCount];
12532 memcpy ((void *)pCorrelatedViewMasks, (void *)src->pCorrelatedViewMasks, sizeof(uint32_t)*src->correlatedViewMaskCount);
12533 }
12534}
12535
12536safe_VkSubpassBeginInfoKHR::safe_VkSubpassBeginInfoKHR(const VkSubpassBeginInfoKHR* in_struct) :
12537 sType(in_struct->sType),
12538 pNext(in_struct->pNext),
12539 contents(in_struct->contents)
12540{
12541}
12542
12543safe_VkSubpassBeginInfoKHR::safe_VkSubpassBeginInfoKHR()
12544{}
12545
12546safe_VkSubpassBeginInfoKHR::safe_VkSubpassBeginInfoKHR(const safe_VkSubpassBeginInfoKHR& src)
12547{
12548 sType = src.sType;
12549 pNext = src.pNext;
12550 contents = src.contents;
12551}
12552
12553safe_VkSubpassBeginInfoKHR& safe_VkSubpassBeginInfoKHR::operator=(const safe_VkSubpassBeginInfoKHR& src)
12554{
12555 if (&src == this) return *this;
12556
12557
12558 sType = src.sType;
12559 pNext = src.pNext;
12560 contents = src.contents;
12561
12562 return *this;
12563}
12564
12565safe_VkSubpassBeginInfoKHR::~safe_VkSubpassBeginInfoKHR()
12566{
12567}
12568
12569void safe_VkSubpassBeginInfoKHR::initialize(const VkSubpassBeginInfoKHR* in_struct)
12570{
12571 sType = in_struct->sType;
12572 pNext = in_struct->pNext;
12573 contents = in_struct->contents;
12574}
12575
12576void safe_VkSubpassBeginInfoKHR::initialize(const safe_VkSubpassBeginInfoKHR* src)
12577{
12578 sType = src->sType;
12579 pNext = src->pNext;
12580 contents = src->contents;
12581}
12582
12583safe_VkSubpassEndInfoKHR::safe_VkSubpassEndInfoKHR(const VkSubpassEndInfoKHR* in_struct) :
12584 sType(in_struct->sType),
12585 pNext(in_struct->pNext)
12586{
12587}
12588
12589safe_VkSubpassEndInfoKHR::safe_VkSubpassEndInfoKHR()
12590{}
12591
12592safe_VkSubpassEndInfoKHR::safe_VkSubpassEndInfoKHR(const safe_VkSubpassEndInfoKHR& src)
12593{
12594 sType = src.sType;
12595 pNext = src.pNext;
12596}
12597
12598safe_VkSubpassEndInfoKHR& safe_VkSubpassEndInfoKHR::operator=(const safe_VkSubpassEndInfoKHR& src)
12599{
12600 if (&src == this) return *this;
12601
12602
12603 sType = src.sType;
12604 pNext = src.pNext;
12605
12606 return *this;
12607}
12608
12609safe_VkSubpassEndInfoKHR::~safe_VkSubpassEndInfoKHR()
12610{
12611}
12612
12613void safe_VkSubpassEndInfoKHR::initialize(const VkSubpassEndInfoKHR* in_struct)
12614{
12615 sType = in_struct->sType;
12616 pNext = in_struct->pNext;
12617}
12618
12619void safe_VkSubpassEndInfoKHR::initialize(const safe_VkSubpassEndInfoKHR* src)
12620{
12621 sType = src->sType;
12622 pNext = src->pNext;
12623}
12624
12625safe_VkSharedPresentSurfaceCapabilitiesKHR::safe_VkSharedPresentSurfaceCapabilitiesKHR(const VkSharedPresentSurfaceCapabilitiesKHR* in_struct) :
12626 sType(in_struct->sType),
12627 pNext(in_struct->pNext),
12628 sharedPresentSupportedUsageFlags(in_struct->sharedPresentSupportedUsageFlags)
12629{
12630}
12631
12632safe_VkSharedPresentSurfaceCapabilitiesKHR::safe_VkSharedPresentSurfaceCapabilitiesKHR()
12633{}
12634
12635safe_VkSharedPresentSurfaceCapabilitiesKHR::safe_VkSharedPresentSurfaceCapabilitiesKHR(const safe_VkSharedPresentSurfaceCapabilitiesKHR& src)
12636{
12637 sType = src.sType;
12638 pNext = src.pNext;
12639 sharedPresentSupportedUsageFlags = src.sharedPresentSupportedUsageFlags;
12640}
12641
12642safe_VkSharedPresentSurfaceCapabilitiesKHR& safe_VkSharedPresentSurfaceCapabilitiesKHR::operator=(const safe_VkSharedPresentSurfaceCapabilitiesKHR& src)
12643{
12644 if (&src == this) return *this;
12645
12646
12647 sType = src.sType;
12648 pNext = src.pNext;
12649 sharedPresentSupportedUsageFlags = src.sharedPresentSupportedUsageFlags;
12650
12651 return *this;
12652}
12653
12654safe_VkSharedPresentSurfaceCapabilitiesKHR::~safe_VkSharedPresentSurfaceCapabilitiesKHR()
12655{
12656}
12657
12658void safe_VkSharedPresentSurfaceCapabilitiesKHR::initialize(const VkSharedPresentSurfaceCapabilitiesKHR* in_struct)
12659{
12660 sType = in_struct->sType;
12661 pNext = in_struct->pNext;
12662 sharedPresentSupportedUsageFlags = in_struct->sharedPresentSupportedUsageFlags;
12663}
12664
12665void safe_VkSharedPresentSurfaceCapabilitiesKHR::initialize(const safe_VkSharedPresentSurfaceCapabilitiesKHR* src)
12666{
12667 sType = src->sType;
12668 pNext = src->pNext;
12669 sharedPresentSupportedUsageFlags = src->sharedPresentSupportedUsageFlags;
12670}
12671#ifdef VK_USE_PLATFORM_WIN32_KHR
12672
12673
12674safe_VkImportFenceWin32HandleInfoKHR::safe_VkImportFenceWin32HandleInfoKHR(const VkImportFenceWin32HandleInfoKHR* in_struct) :
12675 sType(in_struct->sType),
12676 pNext(in_struct->pNext),
12677 fence(in_struct->fence),
12678 flags(in_struct->flags),
12679 handleType(in_struct->handleType),
12680 handle(in_struct->handle),
12681 name(in_struct->name)
12682{
12683}
12684
12685safe_VkImportFenceWin32HandleInfoKHR::safe_VkImportFenceWin32HandleInfoKHR()
12686{}
12687
12688safe_VkImportFenceWin32HandleInfoKHR::safe_VkImportFenceWin32HandleInfoKHR(const safe_VkImportFenceWin32HandleInfoKHR& src)
12689{
12690 sType = src.sType;
12691 pNext = src.pNext;
12692 fence = src.fence;
12693 flags = src.flags;
12694 handleType = src.handleType;
12695 handle = src.handle;
12696 name = src.name;
12697}
12698
12699safe_VkImportFenceWin32HandleInfoKHR& safe_VkImportFenceWin32HandleInfoKHR::operator=(const safe_VkImportFenceWin32HandleInfoKHR& src)
12700{
12701 if (&src == this) return *this;
12702
12703
12704 sType = src.sType;
12705 pNext = src.pNext;
12706 fence = src.fence;
12707 flags = src.flags;
12708 handleType = src.handleType;
12709 handle = src.handle;
12710 name = src.name;
12711
12712 return *this;
12713}
12714
12715safe_VkImportFenceWin32HandleInfoKHR::~safe_VkImportFenceWin32HandleInfoKHR()
12716{
12717}
12718
12719void safe_VkImportFenceWin32HandleInfoKHR::initialize(const VkImportFenceWin32HandleInfoKHR* in_struct)
12720{
12721 sType = in_struct->sType;
12722 pNext = in_struct->pNext;
12723 fence = in_struct->fence;
12724 flags = in_struct->flags;
12725 handleType = in_struct->handleType;
12726 handle = in_struct->handle;
12727 name = in_struct->name;
12728}
12729
12730void safe_VkImportFenceWin32HandleInfoKHR::initialize(const safe_VkImportFenceWin32HandleInfoKHR* src)
12731{
12732 sType = src->sType;
12733 pNext = src->pNext;
12734 fence = src->fence;
12735 flags = src->flags;
12736 handleType = src->handleType;
12737 handle = src->handle;
12738 name = src->name;
12739}
12740#endif // VK_USE_PLATFORM_WIN32_KHR
12741
12742#ifdef VK_USE_PLATFORM_WIN32_KHR
12743
12744
12745safe_VkExportFenceWin32HandleInfoKHR::safe_VkExportFenceWin32HandleInfoKHR(const VkExportFenceWin32HandleInfoKHR* in_struct) :
12746 sType(in_struct->sType),
12747 pNext(in_struct->pNext),
12748 pAttributes(nullptr),
12749 dwAccess(in_struct->dwAccess),
12750 name(in_struct->name)
12751{
12752 if (in_struct->pAttributes) {
12753 pAttributes = new SECURITY_ATTRIBUTES(*in_struct->pAttributes);
12754 }
12755}
12756
12757safe_VkExportFenceWin32HandleInfoKHR::safe_VkExportFenceWin32HandleInfoKHR() :
12758 pAttributes(nullptr)
12759{}
12760
12761safe_VkExportFenceWin32HandleInfoKHR::safe_VkExportFenceWin32HandleInfoKHR(const safe_VkExportFenceWin32HandleInfoKHR& src)
12762{
12763 sType = src.sType;
12764 pNext = src.pNext;
12765 pAttributes = nullptr;
12766 dwAccess = src.dwAccess;
12767 name = src.name;
12768 if (src.pAttributes) {
12769 pAttributes = new SECURITY_ATTRIBUTES(*src.pAttributes);
12770 }
12771}
12772
12773safe_VkExportFenceWin32HandleInfoKHR& safe_VkExportFenceWin32HandleInfoKHR::operator=(const safe_VkExportFenceWin32HandleInfoKHR& src)
12774{
12775 if (&src == this) return *this;
12776
12777 if (pAttributes)
12778 delete pAttributes;
12779
12780 sType = src.sType;
12781 pNext = src.pNext;
12782 pAttributes = nullptr;
12783 dwAccess = src.dwAccess;
12784 name = src.name;
12785 if (src.pAttributes) {
12786 pAttributes = new SECURITY_ATTRIBUTES(*src.pAttributes);
12787 }
12788
12789 return *this;
12790}
12791
12792safe_VkExportFenceWin32HandleInfoKHR::~safe_VkExportFenceWin32HandleInfoKHR()
12793{
12794 if (pAttributes)
12795 delete pAttributes;
12796}
12797
12798void safe_VkExportFenceWin32HandleInfoKHR::initialize(const VkExportFenceWin32HandleInfoKHR* in_struct)
12799{
12800 sType = in_struct->sType;
12801 pNext = in_struct->pNext;
12802 pAttributes = nullptr;
12803 dwAccess = in_struct->dwAccess;
12804 name = in_struct->name;
12805 if (in_struct->pAttributes) {
12806 pAttributes = new SECURITY_ATTRIBUTES(*in_struct->pAttributes);
12807 }
12808}
12809
12810void safe_VkExportFenceWin32HandleInfoKHR::initialize(const safe_VkExportFenceWin32HandleInfoKHR* src)
12811{
12812 sType = src->sType;
12813 pNext = src->pNext;
12814 pAttributes = nullptr;
12815 dwAccess = src->dwAccess;
12816 name = src->name;
12817 if (src->pAttributes) {
12818 pAttributes = new SECURITY_ATTRIBUTES(*src->pAttributes);
12819 }
12820}
12821#endif // VK_USE_PLATFORM_WIN32_KHR
12822
12823#ifdef VK_USE_PLATFORM_WIN32_KHR
12824
12825
12826safe_VkFenceGetWin32HandleInfoKHR::safe_VkFenceGetWin32HandleInfoKHR(const VkFenceGetWin32HandleInfoKHR* in_struct) :
12827 sType(in_struct->sType),
12828 pNext(in_struct->pNext),
12829 fence(in_struct->fence),
12830 handleType(in_struct->handleType)
12831{
12832}
12833
12834safe_VkFenceGetWin32HandleInfoKHR::safe_VkFenceGetWin32HandleInfoKHR()
12835{}
12836
12837safe_VkFenceGetWin32HandleInfoKHR::safe_VkFenceGetWin32HandleInfoKHR(const safe_VkFenceGetWin32HandleInfoKHR& src)
12838{
12839 sType = src.sType;
12840 pNext = src.pNext;
12841 fence = src.fence;
12842 handleType = src.handleType;
12843}
12844
12845safe_VkFenceGetWin32HandleInfoKHR& safe_VkFenceGetWin32HandleInfoKHR::operator=(const safe_VkFenceGetWin32HandleInfoKHR& src)
12846{
12847 if (&src == this) return *this;
12848
12849
12850 sType = src.sType;
12851 pNext = src.pNext;
12852 fence = src.fence;
12853 handleType = src.handleType;
12854
12855 return *this;
12856}
12857
12858safe_VkFenceGetWin32HandleInfoKHR::~safe_VkFenceGetWin32HandleInfoKHR()
12859{
12860}
12861
12862void safe_VkFenceGetWin32HandleInfoKHR::initialize(const VkFenceGetWin32HandleInfoKHR* in_struct)
12863{
12864 sType = in_struct->sType;
12865 pNext = in_struct->pNext;
12866 fence = in_struct->fence;
12867 handleType = in_struct->handleType;
12868}
12869
12870void safe_VkFenceGetWin32HandleInfoKHR::initialize(const safe_VkFenceGetWin32HandleInfoKHR* src)
12871{
12872 sType = src->sType;
12873 pNext = src->pNext;
12874 fence = src->fence;
12875 handleType = src->handleType;
12876}
12877#endif // VK_USE_PLATFORM_WIN32_KHR
12878
12879
12880safe_VkImportFenceFdInfoKHR::safe_VkImportFenceFdInfoKHR(const VkImportFenceFdInfoKHR* in_struct) :
12881 sType(in_struct->sType),
12882 pNext(in_struct->pNext),
12883 fence(in_struct->fence),
12884 flags(in_struct->flags),
12885 handleType(in_struct->handleType),
12886 fd(in_struct->fd)
12887{
12888}
12889
12890safe_VkImportFenceFdInfoKHR::safe_VkImportFenceFdInfoKHR()
12891{}
12892
12893safe_VkImportFenceFdInfoKHR::safe_VkImportFenceFdInfoKHR(const safe_VkImportFenceFdInfoKHR& src)
12894{
12895 sType = src.sType;
12896 pNext = src.pNext;
12897 fence = src.fence;
12898 flags = src.flags;
12899 handleType = src.handleType;
12900 fd = src.fd;
12901}
12902
12903safe_VkImportFenceFdInfoKHR& safe_VkImportFenceFdInfoKHR::operator=(const safe_VkImportFenceFdInfoKHR& src)
12904{
12905 if (&src == this) return *this;
12906
12907
12908 sType = src.sType;
12909 pNext = src.pNext;
12910 fence = src.fence;
12911 flags = src.flags;
12912 handleType = src.handleType;
12913 fd = src.fd;
12914
12915 return *this;
12916}
12917
12918safe_VkImportFenceFdInfoKHR::~safe_VkImportFenceFdInfoKHR()
12919{
12920}
12921
12922void safe_VkImportFenceFdInfoKHR::initialize(const VkImportFenceFdInfoKHR* in_struct)
12923{
12924 sType = in_struct->sType;
12925 pNext = in_struct->pNext;
12926 fence = in_struct->fence;
12927 flags = in_struct->flags;
12928 handleType = in_struct->handleType;
12929 fd = in_struct->fd;
12930}
12931
12932void safe_VkImportFenceFdInfoKHR::initialize(const safe_VkImportFenceFdInfoKHR* src)
12933{
12934 sType = src->sType;
12935 pNext = src->pNext;
12936 fence = src->fence;
12937 flags = src->flags;
12938 handleType = src->handleType;
12939 fd = src->fd;
12940}
12941
12942safe_VkFenceGetFdInfoKHR::safe_VkFenceGetFdInfoKHR(const VkFenceGetFdInfoKHR* in_struct) :
12943 sType(in_struct->sType),
12944 pNext(in_struct->pNext),
12945 fence(in_struct->fence),
12946 handleType(in_struct->handleType)
12947{
12948}
12949
12950safe_VkFenceGetFdInfoKHR::safe_VkFenceGetFdInfoKHR()
12951{}
12952
12953safe_VkFenceGetFdInfoKHR::safe_VkFenceGetFdInfoKHR(const safe_VkFenceGetFdInfoKHR& src)
12954{
12955 sType = src.sType;
12956 pNext = src.pNext;
12957 fence = src.fence;
12958 handleType = src.handleType;
12959}
12960
12961safe_VkFenceGetFdInfoKHR& safe_VkFenceGetFdInfoKHR::operator=(const safe_VkFenceGetFdInfoKHR& src)
12962{
12963 if (&src == this) return *this;
12964
12965
12966 sType = src.sType;
12967 pNext = src.pNext;
12968 fence = src.fence;
12969 handleType = src.handleType;
12970
12971 return *this;
12972}
12973
12974safe_VkFenceGetFdInfoKHR::~safe_VkFenceGetFdInfoKHR()
12975{
12976}
12977
12978void safe_VkFenceGetFdInfoKHR::initialize(const VkFenceGetFdInfoKHR* in_struct)
12979{
12980 sType = in_struct->sType;
12981 pNext = in_struct->pNext;
12982 fence = in_struct->fence;
12983 handleType = in_struct->handleType;
12984}
12985
12986void safe_VkFenceGetFdInfoKHR::initialize(const safe_VkFenceGetFdInfoKHR* src)
12987{
12988 sType = src->sType;
12989 pNext = src->pNext;
12990 fence = src->fence;
12991 handleType = src->handleType;
12992}
12993
12994safe_VkPhysicalDeviceSurfaceInfo2KHR::safe_VkPhysicalDeviceSurfaceInfo2KHR(const VkPhysicalDeviceSurfaceInfo2KHR* in_struct) :
12995 sType(in_struct->sType),
12996 pNext(in_struct->pNext),
12997 surface(in_struct->surface)
12998{
12999}
13000
13001safe_VkPhysicalDeviceSurfaceInfo2KHR::safe_VkPhysicalDeviceSurfaceInfo2KHR()
13002{}
13003
13004safe_VkPhysicalDeviceSurfaceInfo2KHR::safe_VkPhysicalDeviceSurfaceInfo2KHR(const safe_VkPhysicalDeviceSurfaceInfo2KHR& src)
13005{
13006 sType = src.sType;
13007 pNext = src.pNext;
13008 surface = src.surface;
13009}
13010
13011safe_VkPhysicalDeviceSurfaceInfo2KHR& safe_VkPhysicalDeviceSurfaceInfo2KHR::operator=(const safe_VkPhysicalDeviceSurfaceInfo2KHR& src)
13012{
13013 if (&src == this) return *this;
13014
13015
13016 sType = src.sType;
13017 pNext = src.pNext;
13018 surface = src.surface;
13019
13020 return *this;
13021}
13022
13023safe_VkPhysicalDeviceSurfaceInfo2KHR::~safe_VkPhysicalDeviceSurfaceInfo2KHR()
13024{
13025}
13026
13027void safe_VkPhysicalDeviceSurfaceInfo2KHR::initialize(const VkPhysicalDeviceSurfaceInfo2KHR* in_struct)
13028{
13029 sType = in_struct->sType;
13030 pNext = in_struct->pNext;
13031 surface = in_struct->surface;
13032}
13033
13034void safe_VkPhysicalDeviceSurfaceInfo2KHR::initialize(const safe_VkPhysicalDeviceSurfaceInfo2KHR* src)
13035{
13036 sType = src->sType;
13037 pNext = src->pNext;
13038 surface = src->surface;
13039}
13040
13041safe_VkSurfaceCapabilities2KHR::safe_VkSurfaceCapabilities2KHR(const VkSurfaceCapabilities2KHR* in_struct) :
13042 sType(in_struct->sType),
13043 pNext(in_struct->pNext),
13044 surfaceCapabilities(in_struct->surfaceCapabilities)
13045{
13046}
13047
13048safe_VkSurfaceCapabilities2KHR::safe_VkSurfaceCapabilities2KHR()
13049{}
13050
13051safe_VkSurfaceCapabilities2KHR::safe_VkSurfaceCapabilities2KHR(const safe_VkSurfaceCapabilities2KHR& src)
13052{
13053 sType = src.sType;
13054 pNext = src.pNext;
13055 surfaceCapabilities = src.surfaceCapabilities;
13056}
13057
13058safe_VkSurfaceCapabilities2KHR& safe_VkSurfaceCapabilities2KHR::operator=(const safe_VkSurfaceCapabilities2KHR& src)
13059{
13060 if (&src == this) return *this;
13061
13062
13063 sType = src.sType;
13064 pNext = src.pNext;
13065 surfaceCapabilities = src.surfaceCapabilities;
13066
13067 return *this;
13068}
13069
13070safe_VkSurfaceCapabilities2KHR::~safe_VkSurfaceCapabilities2KHR()
13071{
13072}
13073
13074void safe_VkSurfaceCapabilities2KHR::initialize(const VkSurfaceCapabilities2KHR* in_struct)
13075{
13076 sType = in_struct->sType;
13077 pNext = in_struct->pNext;
13078 surfaceCapabilities = in_struct->surfaceCapabilities;
13079}
13080
13081void safe_VkSurfaceCapabilities2KHR::initialize(const safe_VkSurfaceCapabilities2KHR* src)
13082{
13083 sType = src->sType;
13084 pNext = src->pNext;
13085 surfaceCapabilities = src->surfaceCapabilities;
13086}
13087
13088safe_VkSurfaceFormat2KHR::safe_VkSurfaceFormat2KHR(const VkSurfaceFormat2KHR* in_struct) :
13089 sType(in_struct->sType),
13090 pNext(in_struct->pNext),
13091 surfaceFormat(in_struct->surfaceFormat)
13092{
13093}
13094
13095safe_VkSurfaceFormat2KHR::safe_VkSurfaceFormat2KHR()
13096{}
13097
13098safe_VkSurfaceFormat2KHR::safe_VkSurfaceFormat2KHR(const safe_VkSurfaceFormat2KHR& src)
13099{
13100 sType = src.sType;
13101 pNext = src.pNext;
13102 surfaceFormat = src.surfaceFormat;
13103}
13104
13105safe_VkSurfaceFormat2KHR& safe_VkSurfaceFormat2KHR::operator=(const safe_VkSurfaceFormat2KHR& src)
13106{
13107 if (&src == this) return *this;
13108
13109
13110 sType = src.sType;
13111 pNext = src.pNext;
13112 surfaceFormat = src.surfaceFormat;
13113
13114 return *this;
13115}
13116
13117safe_VkSurfaceFormat2KHR::~safe_VkSurfaceFormat2KHR()
13118{
13119}
13120
13121void safe_VkSurfaceFormat2KHR::initialize(const VkSurfaceFormat2KHR* in_struct)
13122{
13123 sType = in_struct->sType;
13124 pNext = in_struct->pNext;
13125 surfaceFormat = in_struct->surfaceFormat;
13126}
13127
13128void safe_VkSurfaceFormat2KHR::initialize(const safe_VkSurfaceFormat2KHR* src)
13129{
13130 sType = src->sType;
13131 pNext = src->pNext;
13132 surfaceFormat = src->surfaceFormat;
13133}
13134
13135safe_VkDisplayProperties2KHR::safe_VkDisplayProperties2KHR(const VkDisplayProperties2KHR* in_struct) :
13136 sType(in_struct->sType),
13137 pNext(in_struct->pNext),
13138 displayProperties(&in_struct->displayProperties)
13139{
13140}
13141
13142safe_VkDisplayProperties2KHR::safe_VkDisplayProperties2KHR()
13143{}
13144
13145safe_VkDisplayProperties2KHR::safe_VkDisplayProperties2KHR(const safe_VkDisplayProperties2KHR& src)
13146{
13147 sType = src.sType;
13148 pNext = src.pNext;
13149 displayProperties.initialize(&src.displayProperties);
13150}
13151
13152safe_VkDisplayProperties2KHR& safe_VkDisplayProperties2KHR::operator=(const safe_VkDisplayProperties2KHR& src)
13153{
13154 if (&src == this) return *this;
13155
13156
13157 sType = src.sType;
13158 pNext = src.pNext;
13159 displayProperties.initialize(&src.displayProperties);
13160
13161 return *this;
13162}
13163
13164safe_VkDisplayProperties2KHR::~safe_VkDisplayProperties2KHR()
13165{
13166}
13167
13168void safe_VkDisplayProperties2KHR::initialize(const VkDisplayProperties2KHR* in_struct)
13169{
13170 sType = in_struct->sType;
13171 pNext = in_struct->pNext;
13172 displayProperties.initialize(&in_struct->displayProperties);
13173}
13174
13175void safe_VkDisplayProperties2KHR::initialize(const safe_VkDisplayProperties2KHR* src)
13176{
13177 sType = src->sType;
13178 pNext = src->pNext;
13179 displayProperties.initialize(&src->displayProperties);
13180}
13181
13182safe_VkDisplayPlaneProperties2KHR::safe_VkDisplayPlaneProperties2KHR(const VkDisplayPlaneProperties2KHR* in_struct) :
13183 sType(in_struct->sType),
13184 pNext(in_struct->pNext),
13185 displayPlaneProperties(in_struct->displayPlaneProperties)
13186{
13187}
13188
13189safe_VkDisplayPlaneProperties2KHR::safe_VkDisplayPlaneProperties2KHR()
13190{}
13191
13192safe_VkDisplayPlaneProperties2KHR::safe_VkDisplayPlaneProperties2KHR(const safe_VkDisplayPlaneProperties2KHR& src)
13193{
13194 sType = src.sType;
13195 pNext = src.pNext;
13196 displayPlaneProperties = src.displayPlaneProperties;
13197}
13198
13199safe_VkDisplayPlaneProperties2KHR& safe_VkDisplayPlaneProperties2KHR::operator=(const safe_VkDisplayPlaneProperties2KHR& src)
13200{
13201 if (&src == this) return *this;
13202
13203
13204 sType = src.sType;
13205 pNext = src.pNext;
13206 displayPlaneProperties = src.displayPlaneProperties;
13207
13208 return *this;
13209}
13210
13211safe_VkDisplayPlaneProperties2KHR::~safe_VkDisplayPlaneProperties2KHR()
13212{
13213}
13214
13215void safe_VkDisplayPlaneProperties2KHR::initialize(const VkDisplayPlaneProperties2KHR* in_struct)
13216{
13217 sType = in_struct->sType;
13218 pNext = in_struct->pNext;
13219 displayPlaneProperties = in_struct->displayPlaneProperties;
13220}
13221
13222void safe_VkDisplayPlaneProperties2KHR::initialize(const safe_VkDisplayPlaneProperties2KHR* src)
13223{
13224 sType = src->sType;
13225 pNext = src->pNext;
13226 displayPlaneProperties = src->displayPlaneProperties;
13227}
13228
13229safe_VkDisplayModeProperties2KHR::safe_VkDisplayModeProperties2KHR(const VkDisplayModeProperties2KHR* in_struct) :
13230 sType(in_struct->sType),
13231 pNext(in_struct->pNext),
13232 displayModeProperties(in_struct->displayModeProperties)
13233{
13234}
13235
13236safe_VkDisplayModeProperties2KHR::safe_VkDisplayModeProperties2KHR()
13237{}
13238
13239safe_VkDisplayModeProperties2KHR::safe_VkDisplayModeProperties2KHR(const safe_VkDisplayModeProperties2KHR& src)
13240{
13241 sType = src.sType;
13242 pNext = src.pNext;
13243 displayModeProperties = src.displayModeProperties;
13244}
13245
13246safe_VkDisplayModeProperties2KHR& safe_VkDisplayModeProperties2KHR::operator=(const safe_VkDisplayModeProperties2KHR& src)
13247{
13248 if (&src == this) return *this;
13249
13250
13251 sType = src.sType;
13252 pNext = src.pNext;
13253 displayModeProperties = src.displayModeProperties;
13254
13255 return *this;
13256}
13257
13258safe_VkDisplayModeProperties2KHR::~safe_VkDisplayModeProperties2KHR()
13259{
13260}
13261
13262void safe_VkDisplayModeProperties2KHR::initialize(const VkDisplayModeProperties2KHR* in_struct)
13263{
13264 sType = in_struct->sType;
13265 pNext = in_struct->pNext;
13266 displayModeProperties = in_struct->displayModeProperties;
13267}
13268
13269void safe_VkDisplayModeProperties2KHR::initialize(const safe_VkDisplayModeProperties2KHR* src)
13270{
13271 sType = src->sType;
13272 pNext = src->pNext;
13273 displayModeProperties = src->displayModeProperties;
13274}
13275
13276safe_VkDisplayPlaneInfo2KHR::safe_VkDisplayPlaneInfo2KHR(const VkDisplayPlaneInfo2KHR* in_struct) :
13277 sType(in_struct->sType),
13278 pNext(in_struct->pNext),
13279 mode(in_struct->mode),
13280 planeIndex(in_struct->planeIndex)
13281{
13282}
13283
13284safe_VkDisplayPlaneInfo2KHR::safe_VkDisplayPlaneInfo2KHR()
13285{}
13286
13287safe_VkDisplayPlaneInfo2KHR::safe_VkDisplayPlaneInfo2KHR(const safe_VkDisplayPlaneInfo2KHR& src)
13288{
13289 sType = src.sType;
13290 pNext = src.pNext;
13291 mode = src.mode;
13292 planeIndex = src.planeIndex;
13293}
13294
13295safe_VkDisplayPlaneInfo2KHR& safe_VkDisplayPlaneInfo2KHR::operator=(const safe_VkDisplayPlaneInfo2KHR& src)
13296{
13297 if (&src == this) return *this;
13298
13299
13300 sType = src.sType;
13301 pNext = src.pNext;
13302 mode = src.mode;
13303 planeIndex = src.planeIndex;
13304
13305 return *this;
13306}
13307
13308safe_VkDisplayPlaneInfo2KHR::~safe_VkDisplayPlaneInfo2KHR()
13309{
13310}
13311
13312void safe_VkDisplayPlaneInfo2KHR::initialize(const VkDisplayPlaneInfo2KHR* in_struct)
13313{
13314 sType = in_struct->sType;
13315 pNext = in_struct->pNext;
13316 mode = in_struct->mode;
13317 planeIndex = in_struct->planeIndex;
13318}
13319
13320void safe_VkDisplayPlaneInfo2KHR::initialize(const safe_VkDisplayPlaneInfo2KHR* src)
13321{
13322 sType = src->sType;
13323 pNext = src->pNext;
13324 mode = src->mode;
13325 planeIndex = src->planeIndex;
13326}
13327
13328safe_VkDisplayPlaneCapabilities2KHR::safe_VkDisplayPlaneCapabilities2KHR(const VkDisplayPlaneCapabilities2KHR* in_struct) :
13329 sType(in_struct->sType),
13330 pNext(in_struct->pNext),
13331 capabilities(in_struct->capabilities)
13332{
13333}
13334
13335safe_VkDisplayPlaneCapabilities2KHR::safe_VkDisplayPlaneCapabilities2KHR()
13336{}
13337
13338safe_VkDisplayPlaneCapabilities2KHR::safe_VkDisplayPlaneCapabilities2KHR(const safe_VkDisplayPlaneCapabilities2KHR& src)
13339{
13340 sType = src.sType;
13341 pNext = src.pNext;
13342 capabilities = src.capabilities;
13343}
13344
13345safe_VkDisplayPlaneCapabilities2KHR& safe_VkDisplayPlaneCapabilities2KHR::operator=(const safe_VkDisplayPlaneCapabilities2KHR& src)
13346{
13347 if (&src == this) return *this;
13348
13349
13350 sType = src.sType;
13351 pNext = src.pNext;
13352 capabilities = src.capabilities;
13353
13354 return *this;
13355}
13356
13357safe_VkDisplayPlaneCapabilities2KHR::~safe_VkDisplayPlaneCapabilities2KHR()
13358{
13359}
13360
13361void safe_VkDisplayPlaneCapabilities2KHR::initialize(const VkDisplayPlaneCapabilities2KHR* in_struct)
13362{
13363 sType = in_struct->sType;
13364 pNext = in_struct->pNext;
13365 capabilities = in_struct->capabilities;
13366}
13367
13368void safe_VkDisplayPlaneCapabilities2KHR::initialize(const safe_VkDisplayPlaneCapabilities2KHR* src)
13369{
13370 sType = src->sType;
13371 pNext = src->pNext;
13372 capabilities = src->capabilities;
13373}
13374
13375safe_VkImageFormatListCreateInfoKHR::safe_VkImageFormatListCreateInfoKHR(const VkImageFormatListCreateInfoKHR* in_struct) :
13376 sType(in_struct->sType),
13377 pNext(in_struct->pNext),
13378 viewFormatCount(in_struct->viewFormatCount),
13379 pViewFormats(nullptr)
13380{
13381 if (in_struct->pViewFormats) {
13382 pViewFormats = new VkFormat[in_struct->viewFormatCount];
13383 memcpy ((void *)pViewFormats, (void *)in_struct->pViewFormats, sizeof(VkFormat)*in_struct->viewFormatCount);
13384 }
13385}
13386
13387safe_VkImageFormatListCreateInfoKHR::safe_VkImageFormatListCreateInfoKHR() :
13388 pViewFormats(nullptr)
13389{}
13390
13391safe_VkImageFormatListCreateInfoKHR::safe_VkImageFormatListCreateInfoKHR(const safe_VkImageFormatListCreateInfoKHR& src)
13392{
13393 sType = src.sType;
13394 pNext = src.pNext;
13395 viewFormatCount = src.viewFormatCount;
13396 pViewFormats = nullptr;
13397 if (src.pViewFormats) {
13398 pViewFormats = new VkFormat[src.viewFormatCount];
13399 memcpy ((void *)pViewFormats, (void *)src.pViewFormats, sizeof(VkFormat)*src.viewFormatCount);
13400 }
13401}
13402
13403safe_VkImageFormatListCreateInfoKHR& safe_VkImageFormatListCreateInfoKHR::operator=(const safe_VkImageFormatListCreateInfoKHR& src)
13404{
13405 if (&src == this) return *this;
13406
13407 if (pViewFormats)
13408 delete[] pViewFormats;
13409
13410 sType = src.sType;
13411 pNext = src.pNext;
13412 viewFormatCount = src.viewFormatCount;
13413 pViewFormats = nullptr;
13414 if (src.pViewFormats) {
13415 pViewFormats = new VkFormat[src.viewFormatCount];
13416 memcpy ((void *)pViewFormats, (void *)src.pViewFormats, sizeof(VkFormat)*src.viewFormatCount);
13417 }
13418
13419 return *this;
13420}
13421
13422safe_VkImageFormatListCreateInfoKHR::~safe_VkImageFormatListCreateInfoKHR()
13423{
13424 if (pViewFormats)
13425 delete[] pViewFormats;
13426}
13427
13428void safe_VkImageFormatListCreateInfoKHR::initialize(const VkImageFormatListCreateInfoKHR* in_struct)
13429{
13430 sType = in_struct->sType;
13431 pNext = in_struct->pNext;
13432 viewFormatCount = in_struct->viewFormatCount;
13433 pViewFormats = nullptr;
13434 if (in_struct->pViewFormats) {
13435 pViewFormats = new VkFormat[in_struct->viewFormatCount];
13436 memcpy ((void *)pViewFormats, (void *)in_struct->pViewFormats, sizeof(VkFormat)*in_struct->viewFormatCount);
13437 }
13438}
13439
13440void safe_VkImageFormatListCreateInfoKHR::initialize(const safe_VkImageFormatListCreateInfoKHR* src)
13441{
13442 sType = src->sType;
13443 pNext = src->pNext;
13444 viewFormatCount = src->viewFormatCount;
13445 pViewFormats = nullptr;
13446 if (src->pViewFormats) {
13447 pViewFormats = new VkFormat[src->viewFormatCount];
13448 memcpy ((void *)pViewFormats, (void *)src->pViewFormats, sizeof(VkFormat)*src->viewFormatCount);
13449 }
13450}
13451
13452safe_VkPhysicalDevice8BitStorageFeaturesKHR::safe_VkPhysicalDevice8BitStorageFeaturesKHR(const VkPhysicalDevice8BitStorageFeaturesKHR* in_struct) :
13453 sType(in_struct->sType),
13454 pNext(in_struct->pNext),
13455 storageBuffer8BitAccess(in_struct->storageBuffer8BitAccess),
13456 uniformAndStorageBuffer8BitAccess(in_struct->uniformAndStorageBuffer8BitAccess),
13457 storagePushConstant8(in_struct->storagePushConstant8)
13458{
13459}
13460
13461safe_VkPhysicalDevice8BitStorageFeaturesKHR::safe_VkPhysicalDevice8BitStorageFeaturesKHR()
13462{}
13463
13464safe_VkPhysicalDevice8BitStorageFeaturesKHR::safe_VkPhysicalDevice8BitStorageFeaturesKHR(const safe_VkPhysicalDevice8BitStorageFeaturesKHR& src)
13465{
13466 sType = src.sType;
13467 pNext = src.pNext;
13468 storageBuffer8BitAccess = src.storageBuffer8BitAccess;
13469 uniformAndStorageBuffer8BitAccess = src.uniformAndStorageBuffer8BitAccess;
13470 storagePushConstant8 = src.storagePushConstant8;
13471}
13472
13473safe_VkPhysicalDevice8BitStorageFeaturesKHR& safe_VkPhysicalDevice8BitStorageFeaturesKHR::operator=(const safe_VkPhysicalDevice8BitStorageFeaturesKHR& src)
13474{
13475 if (&src == this) return *this;
13476
13477
13478 sType = src.sType;
13479 pNext = src.pNext;
13480 storageBuffer8BitAccess = src.storageBuffer8BitAccess;
13481 uniformAndStorageBuffer8BitAccess = src.uniformAndStorageBuffer8BitAccess;
13482 storagePushConstant8 = src.storagePushConstant8;
13483
13484 return *this;
13485}
13486
13487safe_VkPhysicalDevice8BitStorageFeaturesKHR::~safe_VkPhysicalDevice8BitStorageFeaturesKHR()
13488{
13489}
13490
13491void safe_VkPhysicalDevice8BitStorageFeaturesKHR::initialize(const VkPhysicalDevice8BitStorageFeaturesKHR* in_struct)
13492{
13493 sType = in_struct->sType;
13494 pNext = in_struct->pNext;
13495 storageBuffer8BitAccess = in_struct->storageBuffer8BitAccess;
13496 uniformAndStorageBuffer8BitAccess = in_struct->uniformAndStorageBuffer8BitAccess;
13497 storagePushConstant8 = in_struct->storagePushConstant8;
13498}
13499
13500void safe_VkPhysicalDevice8BitStorageFeaturesKHR::initialize(const safe_VkPhysicalDevice8BitStorageFeaturesKHR* src)
13501{
13502 sType = src->sType;
13503 pNext = src->pNext;
13504 storageBuffer8BitAccess = src->storageBuffer8BitAccess;
13505 uniformAndStorageBuffer8BitAccess = src->uniformAndStorageBuffer8BitAccess;
13506 storagePushConstant8 = src->storagePushConstant8;
13507}
13508
13509safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR::safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR(const VkPhysicalDeviceShaderAtomicInt64FeaturesKHR* in_struct) :
13510 sType(in_struct->sType),
13511 pNext(in_struct->pNext),
13512 shaderBufferInt64Atomics(in_struct->shaderBufferInt64Atomics),
13513 shaderSharedInt64Atomics(in_struct->shaderSharedInt64Atomics)
13514{
13515}
13516
13517safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR::safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR()
13518{}
13519
13520safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR::safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR(const safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR& src)
13521{
13522 sType = src.sType;
13523 pNext = src.pNext;
13524 shaderBufferInt64Atomics = src.shaderBufferInt64Atomics;
13525 shaderSharedInt64Atomics = src.shaderSharedInt64Atomics;
13526}
13527
13528safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR& safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR::operator=(const safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR& src)
13529{
13530 if (&src == this) return *this;
13531
13532
13533 sType = src.sType;
13534 pNext = src.pNext;
13535 shaderBufferInt64Atomics = src.shaderBufferInt64Atomics;
13536 shaderSharedInt64Atomics = src.shaderSharedInt64Atomics;
13537
13538 return *this;
13539}
13540
13541safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR::~safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR()
13542{
13543}
13544
13545void safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR::initialize(const VkPhysicalDeviceShaderAtomicInt64FeaturesKHR* in_struct)
13546{
13547 sType = in_struct->sType;
13548 pNext = in_struct->pNext;
13549 shaderBufferInt64Atomics = in_struct->shaderBufferInt64Atomics;
13550 shaderSharedInt64Atomics = in_struct->shaderSharedInt64Atomics;
13551}
13552
13553void safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR::initialize(const safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR* src)
13554{
13555 sType = src->sType;
13556 pNext = src->pNext;
13557 shaderBufferInt64Atomics = src->shaderBufferInt64Atomics;
13558 shaderSharedInt64Atomics = src->shaderSharedInt64Atomics;
13559}
13560
13561safe_VkPhysicalDeviceDriverPropertiesKHR::safe_VkPhysicalDeviceDriverPropertiesKHR(const VkPhysicalDeviceDriverPropertiesKHR* in_struct) :
13562 sType(in_struct->sType),
13563 pNext(in_struct->pNext),
13564 driverID(in_struct->driverID),
13565 conformanceVersion(in_struct->conformanceVersion)
13566{
13567 for (uint32_t i=0; i<VK_MAX_DRIVER_NAME_SIZE_KHR; ++i) {
13568 driverName[i] = in_struct->driverName[i];
13569 }
13570 for (uint32_t i=0; i<VK_MAX_DRIVER_INFO_SIZE_KHR; ++i) {
13571 driverInfo[i] = in_struct->driverInfo[i];
13572 }
13573}
13574
13575safe_VkPhysicalDeviceDriverPropertiesKHR::safe_VkPhysicalDeviceDriverPropertiesKHR()
13576{}
13577
13578safe_VkPhysicalDeviceDriverPropertiesKHR::safe_VkPhysicalDeviceDriverPropertiesKHR(const safe_VkPhysicalDeviceDriverPropertiesKHR& src)
13579{
13580 sType = src.sType;
13581 pNext = src.pNext;
13582 driverID = src.driverID;
13583 conformanceVersion = src.conformanceVersion;
13584 for (uint32_t i=0; i<VK_MAX_DRIVER_NAME_SIZE_KHR; ++i) {
13585 driverName[i] = src.driverName[i];
13586 }
13587 for (uint32_t i=0; i<VK_MAX_DRIVER_INFO_SIZE_KHR; ++i) {
13588 driverInfo[i] = src.driverInfo[i];
13589 }
13590}
13591
13592safe_VkPhysicalDeviceDriverPropertiesKHR& safe_VkPhysicalDeviceDriverPropertiesKHR::operator=(const safe_VkPhysicalDeviceDriverPropertiesKHR& src)
13593{
13594 if (&src == this) return *this;
13595
13596
13597 sType = src.sType;
13598 pNext = src.pNext;
13599 driverID = src.driverID;
13600 conformanceVersion = src.conformanceVersion;
13601 for (uint32_t i=0; i<VK_MAX_DRIVER_NAME_SIZE_KHR; ++i) {
13602 driverName[i] = src.driverName[i];
13603 }
13604 for (uint32_t i=0; i<VK_MAX_DRIVER_INFO_SIZE_KHR; ++i) {
13605 driverInfo[i] = src.driverInfo[i];
13606 }
13607
13608 return *this;
13609}
13610
13611safe_VkPhysicalDeviceDriverPropertiesKHR::~safe_VkPhysicalDeviceDriverPropertiesKHR()
13612{
13613}
13614
13615void safe_VkPhysicalDeviceDriverPropertiesKHR::initialize(const VkPhysicalDeviceDriverPropertiesKHR* in_struct)
13616{
13617 sType = in_struct->sType;
13618 pNext = in_struct->pNext;
13619 driverID = in_struct->driverID;
13620 conformanceVersion = in_struct->conformanceVersion;
13621 for (uint32_t i=0; i<VK_MAX_DRIVER_NAME_SIZE_KHR; ++i) {
13622 driverName[i] = in_struct->driverName[i];
13623 }
13624 for (uint32_t i=0; i<VK_MAX_DRIVER_INFO_SIZE_KHR; ++i) {
13625 driverInfo[i] = in_struct->driverInfo[i];
13626 }
13627}
13628
13629void safe_VkPhysicalDeviceDriverPropertiesKHR::initialize(const safe_VkPhysicalDeviceDriverPropertiesKHR* src)
13630{
13631 sType = src->sType;
13632 pNext = src->pNext;
13633 driverID = src->driverID;
13634 conformanceVersion = src->conformanceVersion;
13635 for (uint32_t i=0; i<VK_MAX_DRIVER_NAME_SIZE_KHR; ++i) {
13636 driverName[i] = src->driverName[i];
13637 }
13638 for (uint32_t i=0; i<VK_MAX_DRIVER_INFO_SIZE_KHR; ++i) {
13639 driverInfo[i] = src->driverInfo[i];
13640 }
13641}
13642
13643safe_VkPhysicalDeviceFloatControlsPropertiesKHR::safe_VkPhysicalDeviceFloatControlsPropertiesKHR(const VkPhysicalDeviceFloatControlsPropertiesKHR* in_struct) :
13644 sType(in_struct->sType),
13645 pNext(in_struct->pNext),
13646 separateDenormSettings(in_struct->separateDenormSettings),
13647 separateRoundingModeSettings(in_struct->separateRoundingModeSettings),
13648 shaderSignedZeroInfNanPreserveFloat16(in_struct->shaderSignedZeroInfNanPreserveFloat16),
13649 shaderSignedZeroInfNanPreserveFloat32(in_struct->shaderSignedZeroInfNanPreserveFloat32),
13650 shaderSignedZeroInfNanPreserveFloat64(in_struct->shaderSignedZeroInfNanPreserveFloat64),
13651 shaderDenormPreserveFloat16(in_struct->shaderDenormPreserveFloat16),
13652 shaderDenormPreserveFloat32(in_struct->shaderDenormPreserveFloat32),
13653 shaderDenormPreserveFloat64(in_struct->shaderDenormPreserveFloat64),
13654 shaderDenormFlushToZeroFloat16(in_struct->shaderDenormFlushToZeroFloat16),
13655 shaderDenormFlushToZeroFloat32(in_struct->shaderDenormFlushToZeroFloat32),
13656 shaderDenormFlushToZeroFloat64(in_struct->shaderDenormFlushToZeroFloat64),
13657 shaderRoundingModeRTEFloat16(in_struct->shaderRoundingModeRTEFloat16),
13658 shaderRoundingModeRTEFloat32(in_struct->shaderRoundingModeRTEFloat32),
13659 shaderRoundingModeRTEFloat64(in_struct->shaderRoundingModeRTEFloat64),
13660 shaderRoundingModeRTZFloat16(in_struct->shaderRoundingModeRTZFloat16),
13661 shaderRoundingModeRTZFloat32(in_struct->shaderRoundingModeRTZFloat32),
13662 shaderRoundingModeRTZFloat64(in_struct->shaderRoundingModeRTZFloat64)
13663{
13664}
13665
13666safe_VkPhysicalDeviceFloatControlsPropertiesKHR::safe_VkPhysicalDeviceFloatControlsPropertiesKHR()
13667{}
13668
13669safe_VkPhysicalDeviceFloatControlsPropertiesKHR::safe_VkPhysicalDeviceFloatControlsPropertiesKHR(const safe_VkPhysicalDeviceFloatControlsPropertiesKHR& src)
13670{
13671 sType = src.sType;
13672 pNext = src.pNext;
13673 separateDenormSettings = src.separateDenormSettings;
13674 separateRoundingModeSettings = src.separateRoundingModeSettings;
13675 shaderSignedZeroInfNanPreserveFloat16 = src.shaderSignedZeroInfNanPreserveFloat16;
13676 shaderSignedZeroInfNanPreserveFloat32 = src.shaderSignedZeroInfNanPreserveFloat32;
13677 shaderSignedZeroInfNanPreserveFloat64 = src.shaderSignedZeroInfNanPreserveFloat64;
13678 shaderDenormPreserveFloat16 = src.shaderDenormPreserveFloat16;
13679 shaderDenormPreserveFloat32 = src.shaderDenormPreserveFloat32;
13680 shaderDenormPreserveFloat64 = src.shaderDenormPreserveFloat64;
13681 shaderDenormFlushToZeroFloat16 = src.shaderDenormFlushToZeroFloat16;
13682 shaderDenormFlushToZeroFloat32 = src.shaderDenormFlushToZeroFloat32;
13683 shaderDenormFlushToZeroFloat64 = src.shaderDenormFlushToZeroFloat64;
13684 shaderRoundingModeRTEFloat16 = src.shaderRoundingModeRTEFloat16;
13685 shaderRoundingModeRTEFloat32 = src.shaderRoundingModeRTEFloat32;
13686 shaderRoundingModeRTEFloat64 = src.shaderRoundingModeRTEFloat64;
13687 shaderRoundingModeRTZFloat16 = src.shaderRoundingModeRTZFloat16;
13688 shaderRoundingModeRTZFloat32 = src.shaderRoundingModeRTZFloat32;
13689 shaderRoundingModeRTZFloat64 = src.shaderRoundingModeRTZFloat64;
13690}
13691
13692safe_VkPhysicalDeviceFloatControlsPropertiesKHR& safe_VkPhysicalDeviceFloatControlsPropertiesKHR::operator=(const safe_VkPhysicalDeviceFloatControlsPropertiesKHR& src)
13693{
13694 if (&src == this) return *this;
13695
13696
13697 sType = src.sType;
13698 pNext = src.pNext;
13699 separateDenormSettings = src.separateDenormSettings;
13700 separateRoundingModeSettings = src.separateRoundingModeSettings;
13701 shaderSignedZeroInfNanPreserveFloat16 = src.shaderSignedZeroInfNanPreserveFloat16;
13702 shaderSignedZeroInfNanPreserveFloat32 = src.shaderSignedZeroInfNanPreserveFloat32;
13703 shaderSignedZeroInfNanPreserveFloat64 = src.shaderSignedZeroInfNanPreserveFloat64;
13704 shaderDenormPreserveFloat16 = src.shaderDenormPreserveFloat16;
13705 shaderDenormPreserveFloat32 = src.shaderDenormPreserveFloat32;
13706 shaderDenormPreserveFloat64 = src.shaderDenormPreserveFloat64;
13707 shaderDenormFlushToZeroFloat16 = src.shaderDenormFlushToZeroFloat16;
13708 shaderDenormFlushToZeroFloat32 = src.shaderDenormFlushToZeroFloat32;
13709 shaderDenormFlushToZeroFloat64 = src.shaderDenormFlushToZeroFloat64;
13710 shaderRoundingModeRTEFloat16 = src.shaderRoundingModeRTEFloat16;
13711 shaderRoundingModeRTEFloat32 = src.shaderRoundingModeRTEFloat32;
13712 shaderRoundingModeRTEFloat64 = src.shaderRoundingModeRTEFloat64;
13713 shaderRoundingModeRTZFloat16 = src.shaderRoundingModeRTZFloat16;
13714 shaderRoundingModeRTZFloat32 = src.shaderRoundingModeRTZFloat32;
13715 shaderRoundingModeRTZFloat64 = src.shaderRoundingModeRTZFloat64;
13716
13717 return *this;
13718}
13719
13720safe_VkPhysicalDeviceFloatControlsPropertiesKHR::~safe_VkPhysicalDeviceFloatControlsPropertiesKHR()
13721{
13722}
13723
13724void safe_VkPhysicalDeviceFloatControlsPropertiesKHR::initialize(const VkPhysicalDeviceFloatControlsPropertiesKHR* in_struct)
13725{
13726 sType = in_struct->sType;
13727 pNext = in_struct->pNext;
13728 separateDenormSettings = in_struct->separateDenormSettings;
13729 separateRoundingModeSettings = in_struct->separateRoundingModeSettings;
13730 shaderSignedZeroInfNanPreserveFloat16 = in_struct->shaderSignedZeroInfNanPreserveFloat16;
13731 shaderSignedZeroInfNanPreserveFloat32 = in_struct->shaderSignedZeroInfNanPreserveFloat32;
13732 shaderSignedZeroInfNanPreserveFloat64 = in_struct->shaderSignedZeroInfNanPreserveFloat64;
13733 shaderDenormPreserveFloat16 = in_struct->shaderDenormPreserveFloat16;
13734 shaderDenormPreserveFloat32 = in_struct->shaderDenormPreserveFloat32;
13735 shaderDenormPreserveFloat64 = in_struct->shaderDenormPreserveFloat64;
13736 shaderDenormFlushToZeroFloat16 = in_struct->shaderDenormFlushToZeroFloat16;
13737 shaderDenormFlushToZeroFloat32 = in_struct->shaderDenormFlushToZeroFloat32;
13738 shaderDenormFlushToZeroFloat64 = in_struct->shaderDenormFlushToZeroFloat64;
13739 shaderRoundingModeRTEFloat16 = in_struct->shaderRoundingModeRTEFloat16;
13740 shaderRoundingModeRTEFloat32 = in_struct->shaderRoundingModeRTEFloat32;
13741 shaderRoundingModeRTEFloat64 = in_struct->shaderRoundingModeRTEFloat64;
13742 shaderRoundingModeRTZFloat16 = in_struct->shaderRoundingModeRTZFloat16;
13743 shaderRoundingModeRTZFloat32 = in_struct->shaderRoundingModeRTZFloat32;
13744 shaderRoundingModeRTZFloat64 = in_struct->shaderRoundingModeRTZFloat64;
13745}
13746
13747void safe_VkPhysicalDeviceFloatControlsPropertiesKHR::initialize(const safe_VkPhysicalDeviceFloatControlsPropertiesKHR* src)
13748{
13749 sType = src->sType;
13750 pNext = src->pNext;
13751 separateDenormSettings = src->separateDenormSettings;
13752 separateRoundingModeSettings = src->separateRoundingModeSettings;
13753 shaderSignedZeroInfNanPreserveFloat16 = src->shaderSignedZeroInfNanPreserveFloat16;
13754 shaderSignedZeroInfNanPreserveFloat32 = src->shaderSignedZeroInfNanPreserveFloat32;
13755 shaderSignedZeroInfNanPreserveFloat64 = src->shaderSignedZeroInfNanPreserveFloat64;
13756 shaderDenormPreserveFloat16 = src->shaderDenormPreserveFloat16;
13757 shaderDenormPreserveFloat32 = src->shaderDenormPreserveFloat32;
13758 shaderDenormPreserveFloat64 = src->shaderDenormPreserveFloat64;
13759 shaderDenormFlushToZeroFloat16 = src->shaderDenormFlushToZeroFloat16;
13760 shaderDenormFlushToZeroFloat32 = src->shaderDenormFlushToZeroFloat32;
13761 shaderDenormFlushToZeroFloat64 = src->shaderDenormFlushToZeroFloat64;
13762 shaderRoundingModeRTEFloat16 = src->shaderRoundingModeRTEFloat16;
13763 shaderRoundingModeRTEFloat32 = src->shaderRoundingModeRTEFloat32;
13764 shaderRoundingModeRTEFloat64 = src->shaderRoundingModeRTEFloat64;
13765 shaderRoundingModeRTZFloat16 = src->shaderRoundingModeRTZFloat16;
13766 shaderRoundingModeRTZFloat32 = src->shaderRoundingModeRTZFloat32;
13767 shaderRoundingModeRTZFloat64 = src->shaderRoundingModeRTZFloat64;
13768}
13769
13770safe_VkSubpassDescriptionDepthStencilResolveKHR::safe_VkSubpassDescriptionDepthStencilResolveKHR(const VkSubpassDescriptionDepthStencilResolveKHR* in_struct) :
13771 sType(in_struct->sType),
13772 pNext(in_struct->pNext),
13773 depthResolveMode(in_struct->depthResolveMode),
13774 stencilResolveMode(in_struct->stencilResolveMode)
13775{
13776 if (in_struct->pDepthStencilResolveAttachment)
13777 pDepthStencilResolveAttachment = new safe_VkAttachmentReference2KHR(in_struct->pDepthStencilResolveAttachment);
13778 else
13779 pDepthStencilResolveAttachment = NULL;
13780}
13781
13782safe_VkSubpassDescriptionDepthStencilResolveKHR::safe_VkSubpassDescriptionDepthStencilResolveKHR()
13783{}
13784
13785safe_VkSubpassDescriptionDepthStencilResolveKHR::safe_VkSubpassDescriptionDepthStencilResolveKHR(const safe_VkSubpassDescriptionDepthStencilResolveKHR& src)
13786{
13787 sType = src.sType;
13788 pNext = src.pNext;
13789 depthResolveMode = src.depthResolveMode;
13790 stencilResolveMode = src.stencilResolveMode;
13791 if (src.pDepthStencilResolveAttachment)
13792 pDepthStencilResolveAttachment = new safe_VkAttachmentReference2KHR(*src.pDepthStencilResolveAttachment);
13793 else
13794 pDepthStencilResolveAttachment = NULL;
13795}
13796
13797safe_VkSubpassDescriptionDepthStencilResolveKHR& safe_VkSubpassDescriptionDepthStencilResolveKHR::operator=(const safe_VkSubpassDescriptionDepthStencilResolveKHR& src)
13798{
13799 if (&src == this) return *this;
13800
13801 if (pDepthStencilResolveAttachment)
13802 delete pDepthStencilResolveAttachment;
13803
13804 sType = src.sType;
13805 pNext = src.pNext;
13806 depthResolveMode = src.depthResolveMode;
13807 stencilResolveMode = src.stencilResolveMode;
13808 if (src.pDepthStencilResolveAttachment)
13809 pDepthStencilResolveAttachment = new safe_VkAttachmentReference2KHR(*src.pDepthStencilResolveAttachment);
13810 else
13811 pDepthStencilResolveAttachment = NULL;
13812
13813 return *this;
13814}
13815
13816safe_VkSubpassDescriptionDepthStencilResolveKHR::~safe_VkSubpassDescriptionDepthStencilResolveKHR()
13817{
13818 if (pDepthStencilResolveAttachment)
13819 delete pDepthStencilResolveAttachment;
13820}
13821
13822void safe_VkSubpassDescriptionDepthStencilResolveKHR::initialize(const VkSubpassDescriptionDepthStencilResolveKHR* in_struct)
13823{
13824 sType = in_struct->sType;
13825 pNext = in_struct->pNext;
13826 depthResolveMode = in_struct->depthResolveMode;
13827 stencilResolveMode = in_struct->stencilResolveMode;
13828 if (in_struct->pDepthStencilResolveAttachment)
13829 pDepthStencilResolveAttachment = new safe_VkAttachmentReference2KHR(in_struct->pDepthStencilResolveAttachment);
13830 else
13831 pDepthStencilResolveAttachment = NULL;
13832}
13833
13834void safe_VkSubpassDescriptionDepthStencilResolveKHR::initialize(const safe_VkSubpassDescriptionDepthStencilResolveKHR* src)
13835{
13836 sType = src->sType;
13837 pNext = src->pNext;
13838 depthResolveMode = src->depthResolveMode;
13839 stencilResolveMode = src->stencilResolveMode;
13840 if (src->pDepthStencilResolveAttachment)
13841 pDepthStencilResolveAttachment = new safe_VkAttachmentReference2KHR(*src->pDepthStencilResolveAttachment);
13842 else
13843 pDepthStencilResolveAttachment = NULL;
13844}
13845
13846safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR::safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR(const VkPhysicalDeviceDepthStencilResolvePropertiesKHR* in_struct) :
13847 sType(in_struct->sType),
13848 pNext(in_struct->pNext),
13849 supportedDepthResolveModes(in_struct->supportedDepthResolveModes),
13850 supportedStencilResolveModes(in_struct->supportedStencilResolveModes),
13851 independentResolveNone(in_struct->independentResolveNone),
13852 independentResolve(in_struct->independentResolve)
13853{
13854}
13855
13856safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR::safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR()
13857{}
13858
13859safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR::safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR(const safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR& src)
13860{
13861 sType = src.sType;
13862 pNext = src.pNext;
13863 supportedDepthResolveModes = src.supportedDepthResolveModes;
13864 supportedStencilResolveModes = src.supportedStencilResolveModes;
13865 independentResolveNone = src.independentResolveNone;
13866 independentResolve = src.independentResolve;
13867}
13868
13869safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR& safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR::operator=(const safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR& src)
13870{
13871 if (&src == this) return *this;
13872
13873
13874 sType = src.sType;
13875 pNext = src.pNext;
13876 supportedDepthResolveModes = src.supportedDepthResolveModes;
13877 supportedStencilResolveModes = src.supportedStencilResolveModes;
13878 independentResolveNone = src.independentResolveNone;
13879 independentResolve = src.independentResolve;
13880
13881 return *this;
13882}
13883
13884safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR::~safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR()
13885{
13886}
13887
13888void safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR::initialize(const VkPhysicalDeviceDepthStencilResolvePropertiesKHR* in_struct)
13889{
13890 sType = in_struct->sType;
13891 pNext = in_struct->pNext;
13892 supportedDepthResolveModes = in_struct->supportedDepthResolveModes;
13893 supportedStencilResolveModes = in_struct->supportedStencilResolveModes;
13894 independentResolveNone = in_struct->independentResolveNone;
13895 independentResolve = in_struct->independentResolve;
13896}
13897
13898void safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR::initialize(const safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR* src)
13899{
13900 sType = src->sType;
13901 pNext = src->pNext;
13902 supportedDepthResolveModes = src->supportedDepthResolveModes;
13903 supportedStencilResolveModes = src->supportedStencilResolveModes;
13904 independentResolveNone = src->independentResolveNone;
13905 independentResolve = src->independentResolve;
13906}
13907
13908safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR::safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR(const VkPhysicalDeviceVulkanMemoryModelFeaturesKHR* in_struct) :
13909 sType(in_struct->sType),
13910 pNext(in_struct->pNext),
13911 vulkanMemoryModel(in_struct->vulkanMemoryModel),
13912 vulkanMemoryModelDeviceScope(in_struct->vulkanMemoryModelDeviceScope),
13913 vulkanMemoryModelAvailabilityVisibilityChains(in_struct->vulkanMemoryModelAvailabilityVisibilityChains)
13914{
13915}
13916
13917safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR::safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR()
13918{}
13919
13920safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR::safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR(const safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR& src)
13921{
13922 sType = src.sType;
13923 pNext = src.pNext;
13924 vulkanMemoryModel = src.vulkanMemoryModel;
13925 vulkanMemoryModelDeviceScope = src.vulkanMemoryModelDeviceScope;
13926 vulkanMemoryModelAvailabilityVisibilityChains = src.vulkanMemoryModelAvailabilityVisibilityChains;
13927}
13928
13929safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR& safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR::operator=(const safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR& src)
13930{
13931 if (&src == this) return *this;
13932
13933
13934 sType = src.sType;
13935 pNext = src.pNext;
13936 vulkanMemoryModel = src.vulkanMemoryModel;
13937 vulkanMemoryModelDeviceScope = src.vulkanMemoryModelDeviceScope;
13938 vulkanMemoryModelAvailabilityVisibilityChains = src.vulkanMemoryModelAvailabilityVisibilityChains;
13939
13940 return *this;
13941}
13942
13943safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR::~safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR()
13944{
13945}
13946
13947void safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR::initialize(const VkPhysicalDeviceVulkanMemoryModelFeaturesKHR* in_struct)
13948{
13949 sType = in_struct->sType;
13950 pNext = in_struct->pNext;
13951 vulkanMemoryModel = in_struct->vulkanMemoryModel;
13952 vulkanMemoryModelDeviceScope = in_struct->vulkanMemoryModelDeviceScope;
13953 vulkanMemoryModelAvailabilityVisibilityChains = in_struct->vulkanMemoryModelAvailabilityVisibilityChains;
13954}
13955
13956void safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR::initialize(const safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR* src)
13957{
13958 sType = src->sType;
13959 pNext = src->pNext;
13960 vulkanMemoryModel = src->vulkanMemoryModel;
13961 vulkanMemoryModelDeviceScope = src->vulkanMemoryModelDeviceScope;
13962 vulkanMemoryModelAvailabilityVisibilityChains = src->vulkanMemoryModelAvailabilityVisibilityChains;
13963}
13964
13965safe_VkSurfaceProtectedCapabilitiesKHR::safe_VkSurfaceProtectedCapabilitiesKHR(const VkSurfaceProtectedCapabilitiesKHR* in_struct) :
13966 sType(in_struct->sType),
13967 pNext(in_struct->pNext),
13968 supportsProtected(in_struct->supportsProtected)
13969{
13970}
13971
13972safe_VkSurfaceProtectedCapabilitiesKHR::safe_VkSurfaceProtectedCapabilitiesKHR()
13973{}
13974
13975safe_VkSurfaceProtectedCapabilitiesKHR::safe_VkSurfaceProtectedCapabilitiesKHR(const safe_VkSurfaceProtectedCapabilitiesKHR& src)
13976{
13977 sType = src.sType;
13978 pNext = src.pNext;
13979 supportsProtected = src.supportsProtected;
13980}
13981
13982safe_VkSurfaceProtectedCapabilitiesKHR& safe_VkSurfaceProtectedCapabilitiesKHR::operator=(const safe_VkSurfaceProtectedCapabilitiesKHR& src)
13983{
13984 if (&src == this) return *this;
13985
13986
13987 sType = src.sType;
13988 pNext = src.pNext;
13989 supportsProtected = src.supportsProtected;
13990
13991 return *this;
13992}
13993
13994safe_VkSurfaceProtectedCapabilitiesKHR::~safe_VkSurfaceProtectedCapabilitiesKHR()
13995{
13996}
13997
13998void safe_VkSurfaceProtectedCapabilitiesKHR::initialize(const VkSurfaceProtectedCapabilitiesKHR* in_struct)
13999{
14000 sType = in_struct->sType;
14001 pNext = in_struct->pNext;
14002 supportsProtected = in_struct->supportsProtected;
14003}
14004
14005void safe_VkSurfaceProtectedCapabilitiesKHR::initialize(const safe_VkSurfaceProtectedCapabilitiesKHR* src)
14006{
14007 sType = src->sType;
14008 pNext = src->pNext;
14009 supportsProtected = src->supportsProtected;
14010}
14011
14012safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR::safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR(const VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR* in_struct) :
14013 sType(in_struct->sType),
14014 pNext(in_struct->pNext),
14015 uniformBufferStandardLayout(in_struct->uniformBufferStandardLayout)
14016{
14017}
14018
14019safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR::safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR()
14020{}
14021
14022safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR::safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR(const safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR& src)
14023{
14024 sType = src.sType;
14025 pNext = src.pNext;
14026 uniformBufferStandardLayout = src.uniformBufferStandardLayout;
14027}
14028
14029safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR& safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR::operator=(const safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR& src)
14030{
14031 if (&src == this) return *this;
14032
14033
14034 sType = src.sType;
14035 pNext = src.pNext;
14036 uniformBufferStandardLayout = src.uniformBufferStandardLayout;
14037
14038 return *this;
14039}
14040
14041safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR::~safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR()
14042{
14043}
14044
14045void safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR::initialize(const VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR* in_struct)
14046{
14047 sType = in_struct->sType;
14048 pNext = in_struct->pNext;
14049 uniformBufferStandardLayout = in_struct->uniformBufferStandardLayout;
14050}
14051
14052void safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR::initialize(const safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR* src)
14053{
14054 sType = src->sType;
14055 pNext = src->pNext;
14056 uniformBufferStandardLayout = src->uniformBufferStandardLayout;
14057}
14058
14059safe_VkDebugReportCallbackCreateInfoEXT::safe_VkDebugReportCallbackCreateInfoEXT(const VkDebugReportCallbackCreateInfoEXT* in_struct) :
14060 sType(in_struct->sType),
14061 pNext(in_struct->pNext),
14062 flags(in_struct->flags),
14063 pfnCallback(in_struct->pfnCallback),
14064 pUserData(in_struct->pUserData)
14065{
14066}
14067
14068safe_VkDebugReportCallbackCreateInfoEXT::safe_VkDebugReportCallbackCreateInfoEXT()
14069{}
14070
14071safe_VkDebugReportCallbackCreateInfoEXT::safe_VkDebugReportCallbackCreateInfoEXT(const safe_VkDebugReportCallbackCreateInfoEXT& src)
14072{
14073 sType = src.sType;
14074 pNext = src.pNext;
14075 flags = src.flags;
14076 pfnCallback = src.pfnCallback;
14077 pUserData = src.pUserData;
14078}
14079
14080safe_VkDebugReportCallbackCreateInfoEXT& safe_VkDebugReportCallbackCreateInfoEXT::operator=(const safe_VkDebugReportCallbackCreateInfoEXT& src)
14081{
14082 if (&src == this) return *this;
14083
14084
14085 sType = src.sType;
14086 pNext = src.pNext;
14087 flags = src.flags;
14088 pfnCallback = src.pfnCallback;
14089 pUserData = src.pUserData;
14090
14091 return *this;
14092}
14093
14094safe_VkDebugReportCallbackCreateInfoEXT::~safe_VkDebugReportCallbackCreateInfoEXT()
14095{
14096}
14097
14098void safe_VkDebugReportCallbackCreateInfoEXT::initialize(const VkDebugReportCallbackCreateInfoEXT* in_struct)
14099{
14100 sType = in_struct->sType;
14101 pNext = in_struct->pNext;
14102 flags = in_struct->flags;
14103 pfnCallback = in_struct->pfnCallback;
14104 pUserData = in_struct->pUserData;
14105}
14106
14107void safe_VkDebugReportCallbackCreateInfoEXT::initialize(const safe_VkDebugReportCallbackCreateInfoEXT* src)
14108{
14109 sType = src->sType;
14110 pNext = src->pNext;
14111 flags = src->flags;
14112 pfnCallback = src->pfnCallback;
14113 pUserData = src->pUserData;
14114}
14115
14116safe_VkPipelineRasterizationStateRasterizationOrderAMD::safe_VkPipelineRasterizationStateRasterizationOrderAMD(const VkPipelineRasterizationStateRasterizationOrderAMD* in_struct) :
14117 sType(in_struct->sType),
14118 pNext(in_struct->pNext),
14119 rasterizationOrder(in_struct->rasterizationOrder)
14120{
14121}
14122
14123safe_VkPipelineRasterizationStateRasterizationOrderAMD::safe_VkPipelineRasterizationStateRasterizationOrderAMD()
14124{}
14125
14126safe_VkPipelineRasterizationStateRasterizationOrderAMD::safe_VkPipelineRasterizationStateRasterizationOrderAMD(const safe_VkPipelineRasterizationStateRasterizationOrderAMD& src)
14127{
14128 sType = src.sType;
14129 pNext = src.pNext;
14130 rasterizationOrder = src.rasterizationOrder;
14131}
14132
14133safe_VkPipelineRasterizationStateRasterizationOrderAMD& safe_VkPipelineRasterizationStateRasterizationOrderAMD::operator=(const safe_VkPipelineRasterizationStateRasterizationOrderAMD& src)
14134{
14135 if (&src == this) return *this;
14136
14137
14138 sType = src.sType;
14139 pNext = src.pNext;
14140 rasterizationOrder = src.rasterizationOrder;
14141
14142 return *this;
14143}
14144
14145safe_VkPipelineRasterizationStateRasterizationOrderAMD::~safe_VkPipelineRasterizationStateRasterizationOrderAMD()
14146{
14147}
14148
14149void safe_VkPipelineRasterizationStateRasterizationOrderAMD::initialize(const VkPipelineRasterizationStateRasterizationOrderAMD* in_struct)
14150{
14151 sType = in_struct->sType;
14152 pNext = in_struct->pNext;
14153 rasterizationOrder = in_struct->rasterizationOrder;
14154}
14155
14156void safe_VkPipelineRasterizationStateRasterizationOrderAMD::initialize(const safe_VkPipelineRasterizationStateRasterizationOrderAMD* src)
14157{
14158 sType = src->sType;
14159 pNext = src->pNext;
14160 rasterizationOrder = src->rasterizationOrder;
14161}
14162
14163safe_VkDebugMarkerObjectNameInfoEXT::safe_VkDebugMarkerObjectNameInfoEXT(const VkDebugMarkerObjectNameInfoEXT* in_struct) :
14164 sType(in_struct->sType),
14165 pNext(in_struct->pNext),
14166 objectType(in_struct->objectType),
14167 object(in_struct->object),
14168 pObjectName(in_struct->pObjectName)
14169{
14170}
14171
14172safe_VkDebugMarkerObjectNameInfoEXT::safe_VkDebugMarkerObjectNameInfoEXT()
14173{}
14174
14175safe_VkDebugMarkerObjectNameInfoEXT::safe_VkDebugMarkerObjectNameInfoEXT(const safe_VkDebugMarkerObjectNameInfoEXT& src)
14176{
14177 sType = src.sType;
14178 pNext = src.pNext;
14179 objectType = src.objectType;
14180 object = src.object;
14181 pObjectName = src.pObjectName;
14182}
14183
14184safe_VkDebugMarkerObjectNameInfoEXT& safe_VkDebugMarkerObjectNameInfoEXT::operator=(const safe_VkDebugMarkerObjectNameInfoEXT& src)
14185{
14186 if (&src == this) return *this;
14187
14188
14189 sType = src.sType;
14190 pNext = src.pNext;
14191 objectType = src.objectType;
14192 object = src.object;
14193 pObjectName = src.pObjectName;
14194
14195 return *this;
14196}
14197
14198safe_VkDebugMarkerObjectNameInfoEXT::~safe_VkDebugMarkerObjectNameInfoEXT()
14199{
14200}
14201
14202void safe_VkDebugMarkerObjectNameInfoEXT::initialize(const VkDebugMarkerObjectNameInfoEXT* in_struct)
14203{
14204 sType = in_struct->sType;
14205 pNext = in_struct->pNext;
14206 objectType = in_struct->objectType;
14207 object = in_struct->object;
14208 pObjectName = in_struct->pObjectName;
14209}
14210
14211void safe_VkDebugMarkerObjectNameInfoEXT::initialize(const safe_VkDebugMarkerObjectNameInfoEXT* src)
14212{
14213 sType = src->sType;
14214 pNext = src->pNext;
14215 objectType = src->objectType;
14216 object = src->object;
14217 pObjectName = src->pObjectName;
14218}
14219
14220safe_VkDebugMarkerObjectTagInfoEXT::safe_VkDebugMarkerObjectTagInfoEXT(const VkDebugMarkerObjectTagInfoEXT* in_struct) :
14221 sType(in_struct->sType),
14222 pNext(in_struct->pNext),
14223 objectType(in_struct->objectType),
14224 object(in_struct->object),
14225 tagName(in_struct->tagName),
14226 tagSize(in_struct->tagSize),
14227 pTag(in_struct->pTag)
14228{
14229}
14230
14231safe_VkDebugMarkerObjectTagInfoEXT::safe_VkDebugMarkerObjectTagInfoEXT()
14232{}
14233
14234safe_VkDebugMarkerObjectTagInfoEXT::safe_VkDebugMarkerObjectTagInfoEXT(const safe_VkDebugMarkerObjectTagInfoEXT& src)
14235{
14236 sType = src.sType;
14237 pNext = src.pNext;
14238 objectType = src.objectType;
14239 object = src.object;
14240 tagName = src.tagName;
14241 tagSize = src.tagSize;
14242 pTag = src.pTag;
14243}
14244
14245safe_VkDebugMarkerObjectTagInfoEXT& safe_VkDebugMarkerObjectTagInfoEXT::operator=(const safe_VkDebugMarkerObjectTagInfoEXT& src)
14246{
14247 if (&src == this) return *this;
14248
14249
14250 sType = src.sType;
14251 pNext = src.pNext;
14252 objectType = src.objectType;
14253 object = src.object;
14254 tagName = src.tagName;
14255 tagSize = src.tagSize;
14256 pTag = src.pTag;
14257
14258 return *this;
14259}
14260
14261safe_VkDebugMarkerObjectTagInfoEXT::~safe_VkDebugMarkerObjectTagInfoEXT()
14262{
14263}
14264
14265void safe_VkDebugMarkerObjectTagInfoEXT::initialize(const VkDebugMarkerObjectTagInfoEXT* in_struct)
14266{
14267 sType = in_struct->sType;
14268 pNext = in_struct->pNext;
14269 objectType = in_struct->objectType;
14270 object = in_struct->object;
14271 tagName = in_struct->tagName;
14272 tagSize = in_struct->tagSize;
14273 pTag = in_struct->pTag;
14274}
14275
14276void safe_VkDebugMarkerObjectTagInfoEXT::initialize(const safe_VkDebugMarkerObjectTagInfoEXT* src)
14277{
14278 sType = src->sType;
14279 pNext = src->pNext;
14280 objectType = src->objectType;
14281 object = src->object;
14282 tagName = src->tagName;
14283 tagSize = src->tagSize;
14284 pTag = src->pTag;
14285}
14286
14287safe_VkDebugMarkerMarkerInfoEXT::safe_VkDebugMarkerMarkerInfoEXT(const VkDebugMarkerMarkerInfoEXT* in_struct) :
14288 sType(in_struct->sType),
14289 pNext(in_struct->pNext),
14290 pMarkerName(in_struct->pMarkerName)
14291{
14292 for (uint32_t i=0; i<4; ++i) {
14293 color[i] = in_struct->color[i];
14294 }
14295}
14296
14297safe_VkDebugMarkerMarkerInfoEXT::safe_VkDebugMarkerMarkerInfoEXT()
14298{}
14299
14300safe_VkDebugMarkerMarkerInfoEXT::safe_VkDebugMarkerMarkerInfoEXT(const safe_VkDebugMarkerMarkerInfoEXT& src)
14301{
14302 sType = src.sType;
14303 pNext = src.pNext;
14304 pMarkerName = src.pMarkerName;
14305 for (uint32_t i=0; i<4; ++i) {
14306 color[i] = src.color[i];
14307 }
14308}
14309
14310safe_VkDebugMarkerMarkerInfoEXT& safe_VkDebugMarkerMarkerInfoEXT::operator=(const safe_VkDebugMarkerMarkerInfoEXT& src)
14311{
14312 if (&src == this) return *this;
14313
14314
14315 sType = src.sType;
14316 pNext = src.pNext;
14317 pMarkerName = src.pMarkerName;
14318 for (uint32_t i=0; i<4; ++i) {
14319 color[i] = src.color[i];
14320 }
14321
14322 return *this;
14323}
14324
14325safe_VkDebugMarkerMarkerInfoEXT::~safe_VkDebugMarkerMarkerInfoEXT()
14326{
14327}
14328
14329void safe_VkDebugMarkerMarkerInfoEXT::initialize(const VkDebugMarkerMarkerInfoEXT* in_struct)
14330{
14331 sType = in_struct->sType;
14332 pNext = in_struct->pNext;
14333 pMarkerName = in_struct->pMarkerName;
14334 for (uint32_t i=0; i<4; ++i) {
14335 color[i] = in_struct->color[i];
14336 }
14337}
14338
14339void safe_VkDebugMarkerMarkerInfoEXT::initialize(const safe_VkDebugMarkerMarkerInfoEXT* src)
14340{
14341 sType = src->sType;
14342 pNext = src->pNext;
14343 pMarkerName = src->pMarkerName;
14344 for (uint32_t i=0; i<4; ++i) {
14345 color[i] = src->color[i];
14346 }
14347}
14348
14349safe_VkDedicatedAllocationImageCreateInfoNV::safe_VkDedicatedAllocationImageCreateInfoNV(const VkDedicatedAllocationImageCreateInfoNV* in_struct) :
14350 sType(in_struct->sType),
14351 pNext(in_struct->pNext),
14352 dedicatedAllocation(in_struct->dedicatedAllocation)
14353{
14354}
14355
14356safe_VkDedicatedAllocationImageCreateInfoNV::safe_VkDedicatedAllocationImageCreateInfoNV()
14357{}
14358
14359safe_VkDedicatedAllocationImageCreateInfoNV::safe_VkDedicatedAllocationImageCreateInfoNV(const safe_VkDedicatedAllocationImageCreateInfoNV& src)
14360{
14361 sType = src.sType;
14362 pNext = src.pNext;
14363 dedicatedAllocation = src.dedicatedAllocation;
14364}
14365
14366safe_VkDedicatedAllocationImageCreateInfoNV& safe_VkDedicatedAllocationImageCreateInfoNV::operator=(const safe_VkDedicatedAllocationImageCreateInfoNV& src)
14367{
14368 if (&src == this) return *this;
14369
14370
14371 sType = src.sType;
14372 pNext = src.pNext;
14373 dedicatedAllocation = src.dedicatedAllocation;
14374
14375 return *this;
14376}
14377
14378safe_VkDedicatedAllocationImageCreateInfoNV::~safe_VkDedicatedAllocationImageCreateInfoNV()
14379{
14380}
14381
14382void safe_VkDedicatedAllocationImageCreateInfoNV::initialize(const VkDedicatedAllocationImageCreateInfoNV* in_struct)
14383{
14384 sType = in_struct->sType;
14385 pNext = in_struct->pNext;
14386 dedicatedAllocation = in_struct->dedicatedAllocation;
14387}
14388
14389void safe_VkDedicatedAllocationImageCreateInfoNV::initialize(const safe_VkDedicatedAllocationImageCreateInfoNV* src)
14390{
14391 sType = src->sType;
14392 pNext = src->pNext;
14393 dedicatedAllocation = src->dedicatedAllocation;
14394}
14395
14396safe_VkDedicatedAllocationBufferCreateInfoNV::safe_VkDedicatedAllocationBufferCreateInfoNV(const VkDedicatedAllocationBufferCreateInfoNV* in_struct) :
14397 sType(in_struct->sType),
14398 pNext(in_struct->pNext),
14399 dedicatedAllocation(in_struct->dedicatedAllocation)
14400{
14401}
14402
14403safe_VkDedicatedAllocationBufferCreateInfoNV::safe_VkDedicatedAllocationBufferCreateInfoNV()
14404{}
14405
14406safe_VkDedicatedAllocationBufferCreateInfoNV::safe_VkDedicatedAllocationBufferCreateInfoNV(const safe_VkDedicatedAllocationBufferCreateInfoNV& src)
14407{
14408 sType = src.sType;
14409 pNext = src.pNext;
14410 dedicatedAllocation = src.dedicatedAllocation;
14411}
14412
14413safe_VkDedicatedAllocationBufferCreateInfoNV& safe_VkDedicatedAllocationBufferCreateInfoNV::operator=(const safe_VkDedicatedAllocationBufferCreateInfoNV& src)
14414{
14415 if (&src == this) return *this;
14416
14417
14418 sType = src.sType;
14419 pNext = src.pNext;
14420 dedicatedAllocation = src.dedicatedAllocation;
14421
14422 return *this;
14423}
14424
14425safe_VkDedicatedAllocationBufferCreateInfoNV::~safe_VkDedicatedAllocationBufferCreateInfoNV()
14426{
14427}
14428
14429void safe_VkDedicatedAllocationBufferCreateInfoNV::initialize(const VkDedicatedAllocationBufferCreateInfoNV* in_struct)
14430{
14431 sType = in_struct->sType;
14432 pNext = in_struct->pNext;
14433 dedicatedAllocation = in_struct->dedicatedAllocation;
14434}
14435
14436void safe_VkDedicatedAllocationBufferCreateInfoNV::initialize(const safe_VkDedicatedAllocationBufferCreateInfoNV* src)
14437{
14438 sType = src->sType;
14439 pNext = src->pNext;
14440 dedicatedAllocation = src->dedicatedAllocation;
14441}
14442
14443safe_VkDedicatedAllocationMemoryAllocateInfoNV::safe_VkDedicatedAllocationMemoryAllocateInfoNV(const VkDedicatedAllocationMemoryAllocateInfoNV* in_struct) :
14444 sType(in_struct->sType),
14445 pNext(in_struct->pNext),
14446 image(in_struct->image),
14447 buffer(in_struct->buffer)
14448{
14449}
14450
14451safe_VkDedicatedAllocationMemoryAllocateInfoNV::safe_VkDedicatedAllocationMemoryAllocateInfoNV()
14452{}
14453
14454safe_VkDedicatedAllocationMemoryAllocateInfoNV::safe_VkDedicatedAllocationMemoryAllocateInfoNV(const safe_VkDedicatedAllocationMemoryAllocateInfoNV& src)
14455{
14456 sType = src.sType;
14457 pNext = src.pNext;
14458 image = src.image;
14459 buffer = src.buffer;
14460}
14461
14462safe_VkDedicatedAllocationMemoryAllocateInfoNV& safe_VkDedicatedAllocationMemoryAllocateInfoNV::operator=(const safe_VkDedicatedAllocationMemoryAllocateInfoNV& src)
14463{
14464 if (&src == this) return *this;
14465
14466
14467 sType = src.sType;
14468 pNext = src.pNext;
14469 image = src.image;
14470 buffer = src.buffer;
14471
14472 return *this;
14473}
14474
14475safe_VkDedicatedAllocationMemoryAllocateInfoNV::~safe_VkDedicatedAllocationMemoryAllocateInfoNV()
14476{
14477}
14478
14479void safe_VkDedicatedAllocationMemoryAllocateInfoNV::initialize(const VkDedicatedAllocationMemoryAllocateInfoNV* in_struct)
14480{
14481 sType = in_struct->sType;
14482 pNext = in_struct->pNext;
14483 image = in_struct->image;
14484 buffer = in_struct->buffer;
14485}
14486
14487void safe_VkDedicatedAllocationMemoryAllocateInfoNV::initialize(const safe_VkDedicatedAllocationMemoryAllocateInfoNV* src)
14488{
14489 sType = src->sType;
14490 pNext = src->pNext;
14491 image = src->image;
14492 buffer = src->buffer;
14493}
14494
14495safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT::safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT(const VkPhysicalDeviceTransformFeedbackFeaturesEXT* in_struct) :
14496 sType(in_struct->sType),
14497 pNext(in_struct->pNext),
14498 transformFeedback(in_struct->transformFeedback),
14499 geometryStreams(in_struct->geometryStreams)
14500{
14501}
14502
14503safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT::safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT()
14504{}
14505
14506safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT::safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT(const safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT& src)
14507{
14508 sType = src.sType;
14509 pNext = src.pNext;
14510 transformFeedback = src.transformFeedback;
14511 geometryStreams = src.geometryStreams;
14512}
14513
14514safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT& safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT::operator=(const safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT& src)
14515{
14516 if (&src == this) return *this;
14517
14518
14519 sType = src.sType;
14520 pNext = src.pNext;
14521 transformFeedback = src.transformFeedback;
14522 geometryStreams = src.geometryStreams;
14523
14524 return *this;
14525}
14526
14527safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT::~safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT()
14528{
14529}
14530
14531void safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT::initialize(const VkPhysicalDeviceTransformFeedbackFeaturesEXT* in_struct)
14532{
14533 sType = in_struct->sType;
14534 pNext = in_struct->pNext;
14535 transformFeedback = in_struct->transformFeedback;
14536 geometryStreams = in_struct->geometryStreams;
14537}
14538
14539void safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT::initialize(const safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT* src)
14540{
14541 sType = src->sType;
14542 pNext = src->pNext;
14543 transformFeedback = src->transformFeedback;
14544 geometryStreams = src->geometryStreams;
14545}
14546
14547safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT::safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT(const VkPhysicalDeviceTransformFeedbackPropertiesEXT* in_struct) :
14548 sType(in_struct->sType),
14549 pNext(in_struct->pNext),
14550 maxTransformFeedbackStreams(in_struct->maxTransformFeedbackStreams),
14551 maxTransformFeedbackBuffers(in_struct->maxTransformFeedbackBuffers),
14552 maxTransformFeedbackBufferSize(in_struct->maxTransformFeedbackBufferSize),
14553 maxTransformFeedbackStreamDataSize(in_struct->maxTransformFeedbackStreamDataSize),
14554 maxTransformFeedbackBufferDataSize(in_struct->maxTransformFeedbackBufferDataSize),
14555 maxTransformFeedbackBufferDataStride(in_struct->maxTransformFeedbackBufferDataStride),
14556 transformFeedbackQueries(in_struct->transformFeedbackQueries),
14557 transformFeedbackStreamsLinesTriangles(in_struct->transformFeedbackStreamsLinesTriangles),
14558 transformFeedbackRasterizationStreamSelect(in_struct->transformFeedbackRasterizationStreamSelect),
14559 transformFeedbackDraw(in_struct->transformFeedbackDraw)
14560{
14561}
14562
14563safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT::safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT()
14564{}
14565
14566safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT::safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT(const safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT& src)
14567{
14568 sType = src.sType;
14569 pNext = src.pNext;
14570 maxTransformFeedbackStreams = src.maxTransformFeedbackStreams;
14571 maxTransformFeedbackBuffers = src.maxTransformFeedbackBuffers;
14572 maxTransformFeedbackBufferSize = src.maxTransformFeedbackBufferSize;
14573 maxTransformFeedbackStreamDataSize = src.maxTransformFeedbackStreamDataSize;
14574 maxTransformFeedbackBufferDataSize = src.maxTransformFeedbackBufferDataSize;
14575 maxTransformFeedbackBufferDataStride = src.maxTransformFeedbackBufferDataStride;
14576 transformFeedbackQueries = src.transformFeedbackQueries;
14577 transformFeedbackStreamsLinesTriangles = src.transformFeedbackStreamsLinesTriangles;
14578 transformFeedbackRasterizationStreamSelect = src.transformFeedbackRasterizationStreamSelect;
14579 transformFeedbackDraw = src.transformFeedbackDraw;
14580}
14581
14582safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT& safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT::operator=(const safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT& src)
14583{
14584 if (&src == this) return *this;
14585
14586
14587 sType = src.sType;
14588 pNext = src.pNext;
14589 maxTransformFeedbackStreams = src.maxTransformFeedbackStreams;
14590 maxTransformFeedbackBuffers = src.maxTransformFeedbackBuffers;
14591 maxTransformFeedbackBufferSize = src.maxTransformFeedbackBufferSize;
14592 maxTransformFeedbackStreamDataSize = src.maxTransformFeedbackStreamDataSize;
14593 maxTransformFeedbackBufferDataSize = src.maxTransformFeedbackBufferDataSize;
14594 maxTransformFeedbackBufferDataStride = src.maxTransformFeedbackBufferDataStride;
14595 transformFeedbackQueries = src.transformFeedbackQueries;
14596 transformFeedbackStreamsLinesTriangles = src.transformFeedbackStreamsLinesTriangles;
14597 transformFeedbackRasterizationStreamSelect = src.transformFeedbackRasterizationStreamSelect;
14598 transformFeedbackDraw = src.transformFeedbackDraw;
14599
14600 return *this;
14601}
14602
14603safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT::~safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT()
14604{
14605}
14606
14607void safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT::initialize(const VkPhysicalDeviceTransformFeedbackPropertiesEXT* in_struct)
14608{
14609 sType = in_struct->sType;
14610 pNext = in_struct->pNext;
14611 maxTransformFeedbackStreams = in_struct->maxTransformFeedbackStreams;
14612 maxTransformFeedbackBuffers = in_struct->maxTransformFeedbackBuffers;
14613 maxTransformFeedbackBufferSize = in_struct->maxTransformFeedbackBufferSize;
14614 maxTransformFeedbackStreamDataSize = in_struct->maxTransformFeedbackStreamDataSize;
14615 maxTransformFeedbackBufferDataSize = in_struct->maxTransformFeedbackBufferDataSize;
14616 maxTransformFeedbackBufferDataStride = in_struct->maxTransformFeedbackBufferDataStride;
14617 transformFeedbackQueries = in_struct->transformFeedbackQueries;
14618 transformFeedbackStreamsLinesTriangles = in_struct->transformFeedbackStreamsLinesTriangles;
14619 transformFeedbackRasterizationStreamSelect = in_struct->transformFeedbackRasterizationStreamSelect;
14620 transformFeedbackDraw = in_struct->transformFeedbackDraw;
14621}
14622
14623void safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT::initialize(const safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT* src)
14624{
14625 sType = src->sType;
14626 pNext = src->pNext;
14627 maxTransformFeedbackStreams = src->maxTransformFeedbackStreams;
14628 maxTransformFeedbackBuffers = src->maxTransformFeedbackBuffers;
14629 maxTransformFeedbackBufferSize = src->maxTransformFeedbackBufferSize;
14630 maxTransformFeedbackStreamDataSize = src->maxTransformFeedbackStreamDataSize;
14631 maxTransformFeedbackBufferDataSize = src->maxTransformFeedbackBufferDataSize;
14632 maxTransformFeedbackBufferDataStride = src->maxTransformFeedbackBufferDataStride;
14633 transformFeedbackQueries = src->transformFeedbackQueries;
14634 transformFeedbackStreamsLinesTriangles = src->transformFeedbackStreamsLinesTriangles;
14635 transformFeedbackRasterizationStreamSelect = src->transformFeedbackRasterizationStreamSelect;
14636 transformFeedbackDraw = src->transformFeedbackDraw;
14637}
14638
14639safe_VkPipelineRasterizationStateStreamCreateInfoEXT::safe_VkPipelineRasterizationStateStreamCreateInfoEXT(const VkPipelineRasterizationStateStreamCreateInfoEXT* in_struct) :
14640 sType(in_struct->sType),
14641 pNext(in_struct->pNext),
14642 flags(in_struct->flags),
14643 rasterizationStream(in_struct->rasterizationStream)
14644{
14645}
14646
14647safe_VkPipelineRasterizationStateStreamCreateInfoEXT::safe_VkPipelineRasterizationStateStreamCreateInfoEXT()
14648{}
14649
14650safe_VkPipelineRasterizationStateStreamCreateInfoEXT::safe_VkPipelineRasterizationStateStreamCreateInfoEXT(const safe_VkPipelineRasterizationStateStreamCreateInfoEXT& src)
14651{
14652 sType = src.sType;
14653 pNext = src.pNext;
14654 flags = src.flags;
14655 rasterizationStream = src.rasterizationStream;
14656}
14657
14658safe_VkPipelineRasterizationStateStreamCreateInfoEXT& safe_VkPipelineRasterizationStateStreamCreateInfoEXT::operator=(const safe_VkPipelineRasterizationStateStreamCreateInfoEXT& src)
14659{
14660 if (&src == this) return *this;
14661
14662
14663 sType = src.sType;
14664 pNext = src.pNext;
14665 flags = src.flags;
14666 rasterizationStream = src.rasterizationStream;
14667
14668 return *this;
14669}
14670
14671safe_VkPipelineRasterizationStateStreamCreateInfoEXT::~safe_VkPipelineRasterizationStateStreamCreateInfoEXT()
14672{
14673}
14674
14675void safe_VkPipelineRasterizationStateStreamCreateInfoEXT::initialize(const VkPipelineRasterizationStateStreamCreateInfoEXT* in_struct)
14676{
14677 sType = in_struct->sType;
14678 pNext = in_struct->pNext;
14679 flags = in_struct->flags;
14680 rasterizationStream = in_struct->rasterizationStream;
14681}
14682
14683void safe_VkPipelineRasterizationStateStreamCreateInfoEXT::initialize(const safe_VkPipelineRasterizationStateStreamCreateInfoEXT* src)
14684{
14685 sType = src->sType;
14686 pNext = src->pNext;
14687 flags = src->flags;
14688 rasterizationStream = src->rasterizationStream;
14689}
14690
14691safe_VkImageViewHandleInfoNVX::safe_VkImageViewHandleInfoNVX(const VkImageViewHandleInfoNVX* in_struct) :
14692 sType(in_struct->sType),
14693 pNext(in_struct->pNext),
14694 imageView(in_struct->imageView),
14695 descriptorType(in_struct->descriptorType),
14696 sampler(in_struct->sampler)
14697{
14698}
14699
14700safe_VkImageViewHandleInfoNVX::safe_VkImageViewHandleInfoNVX()
14701{}
14702
14703safe_VkImageViewHandleInfoNVX::safe_VkImageViewHandleInfoNVX(const safe_VkImageViewHandleInfoNVX& src)
14704{
14705 sType = src.sType;
14706 pNext = src.pNext;
14707 imageView = src.imageView;
14708 descriptorType = src.descriptorType;
14709 sampler = src.sampler;
14710}
14711
14712safe_VkImageViewHandleInfoNVX& safe_VkImageViewHandleInfoNVX::operator=(const safe_VkImageViewHandleInfoNVX& src)
14713{
14714 if (&src == this) return *this;
14715
14716
14717 sType = src.sType;
14718 pNext = src.pNext;
14719 imageView = src.imageView;
14720 descriptorType = src.descriptorType;
14721 sampler = src.sampler;
14722
14723 return *this;
14724}
14725
14726safe_VkImageViewHandleInfoNVX::~safe_VkImageViewHandleInfoNVX()
14727{
14728}
14729
14730void safe_VkImageViewHandleInfoNVX::initialize(const VkImageViewHandleInfoNVX* in_struct)
14731{
14732 sType = in_struct->sType;
14733 pNext = in_struct->pNext;
14734 imageView = in_struct->imageView;
14735 descriptorType = in_struct->descriptorType;
14736 sampler = in_struct->sampler;
14737}
14738
14739void safe_VkImageViewHandleInfoNVX::initialize(const safe_VkImageViewHandleInfoNVX* src)
14740{
14741 sType = src->sType;
14742 pNext = src->pNext;
14743 imageView = src->imageView;
14744 descriptorType = src->descriptorType;
14745 sampler = src->sampler;
14746}
14747
14748safe_VkTextureLODGatherFormatPropertiesAMD::safe_VkTextureLODGatherFormatPropertiesAMD(const VkTextureLODGatherFormatPropertiesAMD* in_struct) :
14749 sType(in_struct->sType),
14750 pNext(in_struct->pNext),
14751 supportsTextureGatherLODBiasAMD(in_struct->supportsTextureGatherLODBiasAMD)
14752{
14753}
14754
14755safe_VkTextureLODGatherFormatPropertiesAMD::safe_VkTextureLODGatherFormatPropertiesAMD()
14756{}
14757
14758safe_VkTextureLODGatherFormatPropertiesAMD::safe_VkTextureLODGatherFormatPropertiesAMD(const safe_VkTextureLODGatherFormatPropertiesAMD& src)
14759{
14760 sType = src.sType;
14761 pNext = src.pNext;
14762 supportsTextureGatherLODBiasAMD = src.supportsTextureGatherLODBiasAMD;
14763}
14764
14765safe_VkTextureLODGatherFormatPropertiesAMD& safe_VkTextureLODGatherFormatPropertiesAMD::operator=(const safe_VkTextureLODGatherFormatPropertiesAMD& src)
14766{
14767 if (&src == this) return *this;
14768
14769
14770 sType = src.sType;
14771 pNext = src.pNext;
14772 supportsTextureGatherLODBiasAMD = src.supportsTextureGatherLODBiasAMD;
14773
14774 return *this;
14775}
14776
14777safe_VkTextureLODGatherFormatPropertiesAMD::~safe_VkTextureLODGatherFormatPropertiesAMD()
14778{
14779}
14780
14781void safe_VkTextureLODGatherFormatPropertiesAMD::initialize(const VkTextureLODGatherFormatPropertiesAMD* in_struct)
14782{
14783 sType = in_struct->sType;
14784 pNext = in_struct->pNext;
14785 supportsTextureGatherLODBiasAMD = in_struct->supportsTextureGatherLODBiasAMD;
14786}
14787
14788void safe_VkTextureLODGatherFormatPropertiesAMD::initialize(const safe_VkTextureLODGatherFormatPropertiesAMD* src)
14789{
14790 sType = src->sType;
14791 pNext = src->pNext;
14792 supportsTextureGatherLODBiasAMD = src->supportsTextureGatherLODBiasAMD;
14793}
14794#ifdef VK_USE_PLATFORM_GGP
14795
14796
14797safe_VkStreamDescriptorSurfaceCreateInfoGGP::safe_VkStreamDescriptorSurfaceCreateInfoGGP(const VkStreamDescriptorSurfaceCreateInfoGGP* in_struct) :
14798 sType(in_struct->sType),
14799 pNext(in_struct->pNext),
14800 flags(in_struct->flags),
14801 streamDescriptor(in_struct->streamDescriptor)
14802{
14803}
14804
14805safe_VkStreamDescriptorSurfaceCreateInfoGGP::safe_VkStreamDescriptorSurfaceCreateInfoGGP()
14806{}
14807
14808safe_VkStreamDescriptorSurfaceCreateInfoGGP::safe_VkStreamDescriptorSurfaceCreateInfoGGP(const safe_VkStreamDescriptorSurfaceCreateInfoGGP& src)
14809{
14810 sType = src.sType;
14811 pNext = src.pNext;
14812 flags = src.flags;
14813 streamDescriptor = src.streamDescriptor;
14814}
14815
14816safe_VkStreamDescriptorSurfaceCreateInfoGGP& safe_VkStreamDescriptorSurfaceCreateInfoGGP::operator=(const safe_VkStreamDescriptorSurfaceCreateInfoGGP& src)
14817{
14818 if (&src == this) return *this;
14819
14820
14821 sType = src.sType;
14822 pNext = src.pNext;
14823 flags = src.flags;
14824 streamDescriptor = src.streamDescriptor;
14825
14826 return *this;
14827}
14828
14829safe_VkStreamDescriptorSurfaceCreateInfoGGP::~safe_VkStreamDescriptorSurfaceCreateInfoGGP()
14830{
14831}
14832
14833void safe_VkStreamDescriptorSurfaceCreateInfoGGP::initialize(const VkStreamDescriptorSurfaceCreateInfoGGP* in_struct)
14834{
14835 sType = in_struct->sType;
14836 pNext = in_struct->pNext;
14837 flags = in_struct->flags;
14838 streamDescriptor = in_struct->streamDescriptor;
14839}
14840
14841void safe_VkStreamDescriptorSurfaceCreateInfoGGP::initialize(const safe_VkStreamDescriptorSurfaceCreateInfoGGP* src)
14842{
14843 sType = src->sType;
14844 pNext = src->pNext;
14845 flags = src->flags;
14846 streamDescriptor = src->streamDescriptor;
14847}
14848#endif // VK_USE_PLATFORM_GGP
14849
14850
14851safe_VkPhysicalDeviceCornerSampledImageFeaturesNV::safe_VkPhysicalDeviceCornerSampledImageFeaturesNV(const VkPhysicalDeviceCornerSampledImageFeaturesNV* in_struct) :
14852 sType(in_struct->sType),
14853 pNext(in_struct->pNext),
14854 cornerSampledImage(in_struct->cornerSampledImage)
14855{
14856}
14857
14858safe_VkPhysicalDeviceCornerSampledImageFeaturesNV::safe_VkPhysicalDeviceCornerSampledImageFeaturesNV()
14859{}
14860
14861safe_VkPhysicalDeviceCornerSampledImageFeaturesNV::safe_VkPhysicalDeviceCornerSampledImageFeaturesNV(const safe_VkPhysicalDeviceCornerSampledImageFeaturesNV& src)
14862{
14863 sType = src.sType;
14864 pNext = src.pNext;
14865 cornerSampledImage = src.cornerSampledImage;
14866}
14867
14868safe_VkPhysicalDeviceCornerSampledImageFeaturesNV& safe_VkPhysicalDeviceCornerSampledImageFeaturesNV::operator=(const safe_VkPhysicalDeviceCornerSampledImageFeaturesNV& src)
14869{
14870 if (&src == this) return *this;
14871
14872
14873 sType = src.sType;
14874 pNext = src.pNext;
14875 cornerSampledImage = src.cornerSampledImage;
14876
14877 return *this;
14878}
14879
14880safe_VkPhysicalDeviceCornerSampledImageFeaturesNV::~safe_VkPhysicalDeviceCornerSampledImageFeaturesNV()
14881{
14882}
14883
14884void safe_VkPhysicalDeviceCornerSampledImageFeaturesNV::initialize(const VkPhysicalDeviceCornerSampledImageFeaturesNV* in_struct)
14885{
14886 sType = in_struct->sType;
14887 pNext = in_struct->pNext;
14888 cornerSampledImage = in_struct->cornerSampledImage;
14889}
14890
14891void safe_VkPhysicalDeviceCornerSampledImageFeaturesNV::initialize(const safe_VkPhysicalDeviceCornerSampledImageFeaturesNV* src)
14892{
14893 sType = src->sType;
14894 pNext = src->pNext;
14895 cornerSampledImage = src->cornerSampledImage;
14896}
14897
14898safe_VkExternalMemoryImageCreateInfoNV::safe_VkExternalMemoryImageCreateInfoNV(const VkExternalMemoryImageCreateInfoNV* in_struct) :
14899 sType(in_struct->sType),
14900 pNext(in_struct->pNext),
14901 handleTypes(in_struct->handleTypes)
14902{
14903}
14904
14905safe_VkExternalMemoryImageCreateInfoNV::safe_VkExternalMemoryImageCreateInfoNV()
14906{}
14907
14908safe_VkExternalMemoryImageCreateInfoNV::safe_VkExternalMemoryImageCreateInfoNV(const safe_VkExternalMemoryImageCreateInfoNV& src)
14909{
14910 sType = src.sType;
14911 pNext = src.pNext;
14912 handleTypes = src.handleTypes;
14913}
14914
14915safe_VkExternalMemoryImageCreateInfoNV& safe_VkExternalMemoryImageCreateInfoNV::operator=(const safe_VkExternalMemoryImageCreateInfoNV& src)
14916{
14917 if (&src == this) return *this;
14918
14919
14920 sType = src.sType;
14921 pNext = src.pNext;
14922 handleTypes = src.handleTypes;
14923
14924 return *this;
14925}
14926
14927safe_VkExternalMemoryImageCreateInfoNV::~safe_VkExternalMemoryImageCreateInfoNV()
14928{
14929}
14930
14931void safe_VkExternalMemoryImageCreateInfoNV::initialize(const VkExternalMemoryImageCreateInfoNV* in_struct)
14932{
14933 sType = in_struct->sType;
14934 pNext = in_struct->pNext;
14935 handleTypes = in_struct->handleTypes;
14936}
14937
14938void safe_VkExternalMemoryImageCreateInfoNV::initialize(const safe_VkExternalMemoryImageCreateInfoNV* src)
14939{
14940 sType = src->sType;
14941 pNext = src->pNext;
14942 handleTypes = src->handleTypes;
14943}
14944
14945safe_VkExportMemoryAllocateInfoNV::safe_VkExportMemoryAllocateInfoNV(const VkExportMemoryAllocateInfoNV* in_struct) :
14946 sType(in_struct->sType),
14947 pNext(in_struct->pNext),
14948 handleTypes(in_struct->handleTypes)
14949{
14950}
14951
14952safe_VkExportMemoryAllocateInfoNV::safe_VkExportMemoryAllocateInfoNV()
14953{}
14954
14955safe_VkExportMemoryAllocateInfoNV::safe_VkExportMemoryAllocateInfoNV(const safe_VkExportMemoryAllocateInfoNV& src)
14956{
14957 sType = src.sType;
14958 pNext = src.pNext;
14959 handleTypes = src.handleTypes;
14960}
14961
14962safe_VkExportMemoryAllocateInfoNV& safe_VkExportMemoryAllocateInfoNV::operator=(const safe_VkExportMemoryAllocateInfoNV& src)
14963{
14964 if (&src == this) return *this;
14965
14966
14967 sType = src.sType;
14968 pNext = src.pNext;
14969 handleTypes = src.handleTypes;
14970
14971 return *this;
14972}
14973
14974safe_VkExportMemoryAllocateInfoNV::~safe_VkExportMemoryAllocateInfoNV()
14975{
14976}
14977
14978void safe_VkExportMemoryAllocateInfoNV::initialize(const VkExportMemoryAllocateInfoNV* in_struct)
14979{
14980 sType = in_struct->sType;
14981 pNext = in_struct->pNext;
14982 handleTypes = in_struct->handleTypes;
14983}
14984
14985void safe_VkExportMemoryAllocateInfoNV::initialize(const safe_VkExportMemoryAllocateInfoNV* src)
14986{
14987 sType = src->sType;
14988 pNext = src->pNext;
14989 handleTypes = src->handleTypes;
14990}
14991#ifdef VK_USE_PLATFORM_WIN32_KHR
14992
14993
14994safe_VkImportMemoryWin32HandleInfoNV::safe_VkImportMemoryWin32HandleInfoNV(const VkImportMemoryWin32HandleInfoNV* in_struct) :
14995 sType(in_struct->sType),
14996 pNext(in_struct->pNext),
14997 handleType(in_struct->handleType),
14998 handle(in_struct->handle)
14999{
15000}
15001
15002safe_VkImportMemoryWin32HandleInfoNV::safe_VkImportMemoryWin32HandleInfoNV()
15003{}
15004
15005safe_VkImportMemoryWin32HandleInfoNV::safe_VkImportMemoryWin32HandleInfoNV(const safe_VkImportMemoryWin32HandleInfoNV& src)
15006{
15007 sType = src.sType;
15008 pNext = src.pNext;
15009 handleType = src.handleType;
15010 handle = src.handle;
15011}
15012
15013safe_VkImportMemoryWin32HandleInfoNV& safe_VkImportMemoryWin32HandleInfoNV::operator=(const safe_VkImportMemoryWin32HandleInfoNV& src)
15014{
15015 if (&src == this) return *this;
15016
15017
15018 sType = src.sType;
15019 pNext = src.pNext;
15020 handleType = src.handleType;
15021 handle = src.handle;
15022
15023 return *this;
15024}
15025
15026safe_VkImportMemoryWin32HandleInfoNV::~safe_VkImportMemoryWin32HandleInfoNV()
15027{
15028}
15029
15030void safe_VkImportMemoryWin32HandleInfoNV::initialize(const VkImportMemoryWin32HandleInfoNV* in_struct)
15031{
15032 sType = in_struct->sType;
15033 pNext = in_struct->pNext;
15034 handleType = in_struct->handleType;
15035 handle = in_struct->handle;
15036}
15037
15038void safe_VkImportMemoryWin32HandleInfoNV::initialize(const safe_VkImportMemoryWin32HandleInfoNV* src)
15039{
15040 sType = src->sType;
15041 pNext = src->pNext;
15042 handleType = src->handleType;
15043 handle = src->handle;
15044}
15045#endif // VK_USE_PLATFORM_WIN32_KHR
15046
15047#ifdef VK_USE_PLATFORM_WIN32_KHR
15048
15049
15050safe_VkExportMemoryWin32HandleInfoNV::safe_VkExportMemoryWin32HandleInfoNV(const VkExportMemoryWin32HandleInfoNV* in_struct) :
15051 sType(in_struct->sType),
15052 pNext(in_struct->pNext),
15053 pAttributes(nullptr),
15054 dwAccess(in_struct->dwAccess)
15055{
15056 if (in_struct->pAttributes) {
15057 pAttributes = new SECURITY_ATTRIBUTES(*in_struct->pAttributes);
15058 }
15059}
15060
15061safe_VkExportMemoryWin32HandleInfoNV::safe_VkExportMemoryWin32HandleInfoNV() :
15062 pAttributes(nullptr)
15063{}
15064
15065safe_VkExportMemoryWin32HandleInfoNV::safe_VkExportMemoryWin32HandleInfoNV(const safe_VkExportMemoryWin32HandleInfoNV& src)
15066{
15067 sType = src.sType;
15068 pNext = src.pNext;
15069 pAttributes = nullptr;
15070 dwAccess = src.dwAccess;
15071 if (src.pAttributes) {
15072 pAttributes = new SECURITY_ATTRIBUTES(*src.pAttributes);
15073 }
15074}
15075
15076safe_VkExportMemoryWin32HandleInfoNV& safe_VkExportMemoryWin32HandleInfoNV::operator=(const safe_VkExportMemoryWin32HandleInfoNV& src)
15077{
15078 if (&src == this) return *this;
15079
15080 if (pAttributes)
15081 delete pAttributes;
15082
15083 sType = src.sType;
15084 pNext = src.pNext;
15085 pAttributes = nullptr;
15086 dwAccess = src.dwAccess;
15087 if (src.pAttributes) {
15088 pAttributes = new SECURITY_ATTRIBUTES(*src.pAttributes);
15089 }
15090
15091 return *this;
15092}
15093
15094safe_VkExportMemoryWin32HandleInfoNV::~safe_VkExportMemoryWin32HandleInfoNV()
15095{
15096 if (pAttributes)
15097 delete pAttributes;
15098}
15099
15100void safe_VkExportMemoryWin32HandleInfoNV::initialize(const VkExportMemoryWin32HandleInfoNV* in_struct)
15101{
15102 sType = in_struct->sType;
15103 pNext = in_struct->pNext;
15104 pAttributes = nullptr;
15105 dwAccess = in_struct->dwAccess;
15106 if (in_struct->pAttributes) {
15107 pAttributes = new SECURITY_ATTRIBUTES(*in_struct->pAttributes);
15108 }
15109}
15110
15111void safe_VkExportMemoryWin32HandleInfoNV::initialize(const safe_VkExportMemoryWin32HandleInfoNV* src)
15112{
15113 sType = src->sType;
15114 pNext = src->pNext;
15115 pAttributes = nullptr;
15116 dwAccess = src->dwAccess;
15117 if (src->pAttributes) {
15118 pAttributes = new SECURITY_ATTRIBUTES(*src->pAttributes);
15119 }
15120}
15121#endif // VK_USE_PLATFORM_WIN32_KHR
15122
15123#ifdef VK_USE_PLATFORM_WIN32_KHR
15124
15125
15126safe_VkWin32KeyedMutexAcquireReleaseInfoNV::safe_VkWin32KeyedMutexAcquireReleaseInfoNV(const VkWin32KeyedMutexAcquireReleaseInfoNV* in_struct) :
15127 sType(in_struct->sType),
15128 pNext(in_struct->pNext),
15129 acquireCount(in_struct->acquireCount),
15130 pAcquireSyncs(nullptr),
15131 pAcquireKeys(nullptr),
15132 pAcquireTimeoutMilliseconds(nullptr),
15133 releaseCount(in_struct->releaseCount),
15134 pReleaseSyncs(nullptr),
15135 pReleaseKeys(nullptr)
15136{
15137 if (acquireCount && in_struct->pAcquireSyncs) {
15138 pAcquireSyncs = new VkDeviceMemory[acquireCount];
15139 for (uint32_t i=0; i<acquireCount; ++i) {
15140 pAcquireSyncs[i] = in_struct->pAcquireSyncs[i];
15141 }
15142 }
15143 if (in_struct->pAcquireKeys) {
15144 pAcquireKeys = new uint64_t[in_struct->acquireCount];
15145 memcpy ((void *)pAcquireKeys, (void *)in_struct->pAcquireKeys, sizeof(uint64_t)*in_struct->acquireCount);
15146 }
15147 if (in_struct->pAcquireTimeoutMilliseconds) {
15148 pAcquireTimeoutMilliseconds = new uint32_t[in_struct->acquireCount];
15149 memcpy ((void *)pAcquireTimeoutMilliseconds, (void *)in_struct->pAcquireTimeoutMilliseconds, sizeof(uint32_t)*in_struct->acquireCount);
15150 }
15151 if (releaseCount && in_struct->pReleaseSyncs) {
15152 pReleaseSyncs = new VkDeviceMemory[releaseCount];
15153 for (uint32_t i=0; i<releaseCount; ++i) {
15154 pReleaseSyncs[i] = in_struct->pReleaseSyncs[i];
15155 }
15156 }
15157 if (in_struct->pReleaseKeys) {
15158 pReleaseKeys = new uint64_t[in_struct->releaseCount];
15159 memcpy ((void *)pReleaseKeys, (void *)in_struct->pReleaseKeys, sizeof(uint64_t)*in_struct->releaseCount);
15160 }
15161}
15162
15163safe_VkWin32KeyedMutexAcquireReleaseInfoNV::safe_VkWin32KeyedMutexAcquireReleaseInfoNV() :
15164 pAcquireSyncs(nullptr),
15165 pAcquireKeys(nullptr),
15166 pAcquireTimeoutMilliseconds(nullptr),
15167 pReleaseSyncs(nullptr),
15168 pReleaseKeys(nullptr)
15169{}
15170
15171safe_VkWin32KeyedMutexAcquireReleaseInfoNV::safe_VkWin32KeyedMutexAcquireReleaseInfoNV(const safe_VkWin32KeyedMutexAcquireReleaseInfoNV& src)
15172{
15173 sType = src.sType;
15174 pNext = src.pNext;
15175 acquireCount = src.acquireCount;
15176 pAcquireSyncs = nullptr;
15177 pAcquireKeys = nullptr;
15178 pAcquireTimeoutMilliseconds = nullptr;
15179 releaseCount = src.releaseCount;
15180 pReleaseSyncs = nullptr;
15181 pReleaseKeys = nullptr;
15182 if (acquireCount && src.pAcquireSyncs) {
15183 pAcquireSyncs = new VkDeviceMemory[acquireCount];
15184 for (uint32_t i=0; i<acquireCount; ++i) {
15185 pAcquireSyncs[i] = src.pAcquireSyncs[i];
15186 }
15187 }
15188 if (src.pAcquireKeys) {
15189 pAcquireKeys = new uint64_t[src.acquireCount];
15190 memcpy ((void *)pAcquireKeys, (void *)src.pAcquireKeys, sizeof(uint64_t)*src.acquireCount);
15191 }
15192 if (src.pAcquireTimeoutMilliseconds) {
15193 pAcquireTimeoutMilliseconds = new uint32_t[src.acquireCount];
15194 memcpy ((void *)pAcquireTimeoutMilliseconds, (void *)src.pAcquireTimeoutMilliseconds, sizeof(uint32_t)*src.acquireCount);
15195 }
15196 if (releaseCount && src.pReleaseSyncs) {
15197 pReleaseSyncs = new VkDeviceMemory[releaseCount];
15198 for (uint32_t i=0; i<releaseCount; ++i) {
15199 pReleaseSyncs[i] = src.pReleaseSyncs[i];
15200 }
15201 }
15202 if (src.pReleaseKeys) {
15203 pReleaseKeys = new uint64_t[src.releaseCount];
15204 memcpy ((void *)pReleaseKeys, (void *)src.pReleaseKeys, sizeof(uint64_t)*src.releaseCount);
15205 }
15206}
15207
15208safe_VkWin32KeyedMutexAcquireReleaseInfoNV& safe_VkWin32KeyedMutexAcquireReleaseInfoNV::operator=(const safe_VkWin32KeyedMutexAcquireReleaseInfoNV& src)
15209{
15210 if (&src == this) return *this;
15211
15212 if (pAcquireSyncs)
15213 delete[] pAcquireSyncs;
15214 if (pAcquireKeys)
15215 delete[] pAcquireKeys;
15216 if (pAcquireTimeoutMilliseconds)
15217 delete[] pAcquireTimeoutMilliseconds;
15218 if (pReleaseSyncs)
15219 delete[] pReleaseSyncs;
15220 if (pReleaseKeys)
15221 delete[] pReleaseKeys;
15222
15223 sType = src.sType;
15224 pNext = src.pNext;
15225 acquireCount = src.acquireCount;
15226 pAcquireSyncs = nullptr;
15227 pAcquireKeys = nullptr;
15228 pAcquireTimeoutMilliseconds = nullptr;
15229 releaseCount = src.releaseCount;
15230 pReleaseSyncs = nullptr;
15231 pReleaseKeys = nullptr;
15232 if (acquireCount && src.pAcquireSyncs) {
15233 pAcquireSyncs = new VkDeviceMemory[acquireCount];
15234 for (uint32_t i=0; i<acquireCount; ++i) {
15235 pAcquireSyncs[i] = src.pAcquireSyncs[i];
15236 }
15237 }
15238 if (src.pAcquireKeys) {
15239 pAcquireKeys = new uint64_t[src.acquireCount];
15240 memcpy ((void *)pAcquireKeys, (void *)src.pAcquireKeys, sizeof(uint64_t)*src.acquireCount);
15241 }
15242 if (src.pAcquireTimeoutMilliseconds) {
15243 pAcquireTimeoutMilliseconds = new uint32_t[src.acquireCount];
15244 memcpy ((void *)pAcquireTimeoutMilliseconds, (void *)src.pAcquireTimeoutMilliseconds, sizeof(uint32_t)*src.acquireCount);
15245 }
15246 if (releaseCount && src.pReleaseSyncs) {
15247 pReleaseSyncs = new VkDeviceMemory[releaseCount];
15248 for (uint32_t i=0; i<releaseCount; ++i) {
15249 pReleaseSyncs[i] = src.pReleaseSyncs[i];
15250 }
15251 }
15252 if (src.pReleaseKeys) {
15253 pReleaseKeys = new uint64_t[src.releaseCount];
15254 memcpy ((void *)pReleaseKeys, (void *)src.pReleaseKeys, sizeof(uint64_t)*src.releaseCount);
15255 }
15256
15257 return *this;
15258}
15259
15260safe_VkWin32KeyedMutexAcquireReleaseInfoNV::~safe_VkWin32KeyedMutexAcquireReleaseInfoNV()
15261{
15262 if (pAcquireSyncs)
15263 delete[] pAcquireSyncs;
15264 if (pAcquireKeys)
15265 delete[] pAcquireKeys;
15266 if (pAcquireTimeoutMilliseconds)
15267 delete[] pAcquireTimeoutMilliseconds;
15268 if (pReleaseSyncs)
15269 delete[] pReleaseSyncs;
15270 if (pReleaseKeys)
15271 delete[] pReleaseKeys;
15272}
15273
15274void safe_VkWin32KeyedMutexAcquireReleaseInfoNV::initialize(const VkWin32KeyedMutexAcquireReleaseInfoNV* in_struct)
15275{
15276 sType = in_struct->sType;
15277 pNext = in_struct->pNext;
15278 acquireCount = in_struct->acquireCount;
15279 pAcquireSyncs = nullptr;
15280 pAcquireKeys = nullptr;
15281 pAcquireTimeoutMilliseconds = nullptr;
15282 releaseCount = in_struct->releaseCount;
15283 pReleaseSyncs = nullptr;
15284 pReleaseKeys = nullptr;
15285 if (acquireCount && in_struct->pAcquireSyncs) {
15286 pAcquireSyncs = new VkDeviceMemory[acquireCount];
15287 for (uint32_t i=0; i<acquireCount; ++i) {
15288 pAcquireSyncs[i] = in_struct->pAcquireSyncs[i];
15289 }
15290 }
15291 if (in_struct->pAcquireKeys) {
15292 pAcquireKeys = new uint64_t[in_struct->acquireCount];
15293 memcpy ((void *)pAcquireKeys, (void *)in_struct->pAcquireKeys, sizeof(uint64_t)*in_struct->acquireCount);
15294 }
15295 if (in_struct->pAcquireTimeoutMilliseconds) {
15296 pAcquireTimeoutMilliseconds = new uint32_t[in_struct->acquireCount];
15297 memcpy ((void *)pAcquireTimeoutMilliseconds, (void *)in_struct->pAcquireTimeoutMilliseconds, sizeof(uint32_t)*in_struct->acquireCount);
15298 }
15299 if (releaseCount && in_struct->pReleaseSyncs) {
15300 pReleaseSyncs = new VkDeviceMemory[releaseCount];
15301 for (uint32_t i=0; i<releaseCount; ++i) {
15302 pReleaseSyncs[i] = in_struct->pReleaseSyncs[i];
15303 }
15304 }
15305 if (in_struct->pReleaseKeys) {
15306 pReleaseKeys = new uint64_t[in_struct->releaseCount];
15307 memcpy ((void *)pReleaseKeys, (void *)in_struct->pReleaseKeys, sizeof(uint64_t)*in_struct->releaseCount);
15308 }
15309}
15310
15311void safe_VkWin32KeyedMutexAcquireReleaseInfoNV::initialize(const safe_VkWin32KeyedMutexAcquireReleaseInfoNV* src)
15312{
15313 sType = src->sType;
15314 pNext = src->pNext;
15315 acquireCount = src->acquireCount;
15316 pAcquireSyncs = nullptr;
15317 pAcquireKeys = nullptr;
15318 pAcquireTimeoutMilliseconds = nullptr;
15319 releaseCount = src->releaseCount;
15320 pReleaseSyncs = nullptr;
15321 pReleaseKeys = nullptr;
15322 if (acquireCount && src->pAcquireSyncs) {
15323 pAcquireSyncs = new VkDeviceMemory[acquireCount];
15324 for (uint32_t i=0; i<acquireCount; ++i) {
15325 pAcquireSyncs[i] = src->pAcquireSyncs[i];
15326 }
15327 }
15328 if (src->pAcquireKeys) {
15329 pAcquireKeys = new uint64_t[src->acquireCount];
15330 memcpy ((void *)pAcquireKeys, (void *)src->pAcquireKeys, sizeof(uint64_t)*src->acquireCount);
15331 }
15332 if (src->pAcquireTimeoutMilliseconds) {
15333 pAcquireTimeoutMilliseconds = new uint32_t[src->acquireCount];
15334 memcpy ((void *)pAcquireTimeoutMilliseconds, (void *)src->pAcquireTimeoutMilliseconds, sizeof(uint32_t)*src->acquireCount);
15335 }
15336 if (releaseCount && src->pReleaseSyncs) {
15337 pReleaseSyncs = new VkDeviceMemory[releaseCount];
15338 for (uint32_t i=0; i<releaseCount; ++i) {
15339 pReleaseSyncs[i] = src->pReleaseSyncs[i];
15340 }
15341 }
15342 if (src->pReleaseKeys) {
15343 pReleaseKeys = new uint64_t[src->releaseCount];
15344 memcpy ((void *)pReleaseKeys, (void *)src->pReleaseKeys, sizeof(uint64_t)*src->releaseCount);
15345 }
15346}
15347#endif // VK_USE_PLATFORM_WIN32_KHR
15348
15349
15350safe_VkValidationFlagsEXT::safe_VkValidationFlagsEXT(const VkValidationFlagsEXT* in_struct) :
15351 sType(in_struct->sType),
15352 pNext(in_struct->pNext),
15353 disabledValidationCheckCount(in_struct->disabledValidationCheckCount),
15354 pDisabledValidationChecks(nullptr)
15355{
15356 if (in_struct->pDisabledValidationChecks) {
15357 pDisabledValidationChecks = new VkValidationCheckEXT[in_struct->disabledValidationCheckCount];
15358 memcpy ((void *)pDisabledValidationChecks, (void *)in_struct->pDisabledValidationChecks, sizeof(VkValidationCheckEXT)*in_struct->disabledValidationCheckCount);
15359 }
15360}
15361
15362safe_VkValidationFlagsEXT::safe_VkValidationFlagsEXT() :
15363 pDisabledValidationChecks(nullptr)
15364{}
15365
15366safe_VkValidationFlagsEXT::safe_VkValidationFlagsEXT(const safe_VkValidationFlagsEXT& src)
15367{
15368 sType = src.sType;
15369 pNext = src.pNext;
15370 disabledValidationCheckCount = src.disabledValidationCheckCount;
15371 pDisabledValidationChecks = nullptr;
15372 if (src.pDisabledValidationChecks) {
15373 pDisabledValidationChecks = new VkValidationCheckEXT[src.disabledValidationCheckCount];
15374 memcpy ((void *)pDisabledValidationChecks, (void *)src.pDisabledValidationChecks, sizeof(VkValidationCheckEXT)*src.disabledValidationCheckCount);
15375 }
15376}
15377
15378safe_VkValidationFlagsEXT& safe_VkValidationFlagsEXT::operator=(const safe_VkValidationFlagsEXT& src)
15379{
15380 if (&src == this) return *this;
15381
15382 if (pDisabledValidationChecks)
15383 delete[] pDisabledValidationChecks;
15384
15385 sType = src.sType;
15386 pNext = src.pNext;
15387 disabledValidationCheckCount = src.disabledValidationCheckCount;
15388 pDisabledValidationChecks = nullptr;
15389 if (src.pDisabledValidationChecks) {
15390 pDisabledValidationChecks = new VkValidationCheckEXT[src.disabledValidationCheckCount];
15391 memcpy ((void *)pDisabledValidationChecks, (void *)src.pDisabledValidationChecks, sizeof(VkValidationCheckEXT)*src.disabledValidationCheckCount);
15392 }
15393
15394 return *this;
15395}
15396
15397safe_VkValidationFlagsEXT::~safe_VkValidationFlagsEXT()
15398{
15399 if (pDisabledValidationChecks)
15400 delete[] pDisabledValidationChecks;
15401}
15402
15403void safe_VkValidationFlagsEXT::initialize(const VkValidationFlagsEXT* in_struct)
15404{
15405 sType = in_struct->sType;
15406 pNext = in_struct->pNext;
15407 disabledValidationCheckCount = in_struct->disabledValidationCheckCount;
15408 pDisabledValidationChecks = nullptr;
15409 if (in_struct->pDisabledValidationChecks) {
15410 pDisabledValidationChecks = new VkValidationCheckEXT[in_struct->disabledValidationCheckCount];
15411 memcpy ((void *)pDisabledValidationChecks, (void *)in_struct->pDisabledValidationChecks, sizeof(VkValidationCheckEXT)*in_struct->disabledValidationCheckCount);
15412 }
15413}
15414
15415void safe_VkValidationFlagsEXT::initialize(const safe_VkValidationFlagsEXT* src)
15416{
15417 sType = src->sType;
15418 pNext = src->pNext;
15419 disabledValidationCheckCount = src->disabledValidationCheckCount;
15420 pDisabledValidationChecks = nullptr;
15421 if (src->pDisabledValidationChecks) {
15422 pDisabledValidationChecks = new VkValidationCheckEXT[src->disabledValidationCheckCount];
15423 memcpy ((void *)pDisabledValidationChecks, (void *)src->pDisabledValidationChecks, sizeof(VkValidationCheckEXT)*src->disabledValidationCheckCount);
15424 }
15425}
15426#ifdef VK_USE_PLATFORM_VI_NN
15427
15428
15429safe_VkViSurfaceCreateInfoNN::safe_VkViSurfaceCreateInfoNN(const VkViSurfaceCreateInfoNN* in_struct) :
15430 sType(in_struct->sType),
15431 pNext(in_struct->pNext),
15432 flags(in_struct->flags),
15433 window(in_struct->window)
15434{
15435}
15436
15437safe_VkViSurfaceCreateInfoNN::safe_VkViSurfaceCreateInfoNN()
15438{}
15439
15440safe_VkViSurfaceCreateInfoNN::safe_VkViSurfaceCreateInfoNN(const safe_VkViSurfaceCreateInfoNN& src)
15441{
15442 sType = src.sType;
15443 pNext = src.pNext;
15444 flags = src.flags;
15445 window = src.window;
15446}
15447
15448safe_VkViSurfaceCreateInfoNN& safe_VkViSurfaceCreateInfoNN::operator=(const safe_VkViSurfaceCreateInfoNN& src)
15449{
15450 if (&src == this) return *this;
15451
15452
15453 sType = src.sType;
15454 pNext = src.pNext;
15455 flags = src.flags;
15456 window = src.window;
15457
15458 return *this;
15459}
15460
15461safe_VkViSurfaceCreateInfoNN::~safe_VkViSurfaceCreateInfoNN()
15462{
15463}
15464
15465void safe_VkViSurfaceCreateInfoNN::initialize(const VkViSurfaceCreateInfoNN* in_struct)
15466{
15467 sType = in_struct->sType;
15468 pNext = in_struct->pNext;
15469 flags = in_struct->flags;
15470 window = in_struct->window;
15471}
15472
15473void safe_VkViSurfaceCreateInfoNN::initialize(const safe_VkViSurfaceCreateInfoNN* src)
15474{
15475 sType = src->sType;
15476 pNext = src->pNext;
15477 flags = src->flags;
15478 window = src->window;
15479}
15480#endif // VK_USE_PLATFORM_VI_NN
15481
15482
15483safe_VkImageViewASTCDecodeModeEXT::safe_VkImageViewASTCDecodeModeEXT(const VkImageViewASTCDecodeModeEXT* in_struct) :
15484 sType(in_struct->sType),
15485 pNext(in_struct->pNext),
15486 decodeMode(in_struct->decodeMode)
15487{
15488}
15489
15490safe_VkImageViewASTCDecodeModeEXT::safe_VkImageViewASTCDecodeModeEXT()
15491{}
15492
15493safe_VkImageViewASTCDecodeModeEXT::safe_VkImageViewASTCDecodeModeEXT(const safe_VkImageViewASTCDecodeModeEXT& src)
15494{
15495 sType = src.sType;
15496 pNext = src.pNext;
15497 decodeMode = src.decodeMode;
15498}
15499
15500safe_VkImageViewASTCDecodeModeEXT& safe_VkImageViewASTCDecodeModeEXT::operator=(const safe_VkImageViewASTCDecodeModeEXT& src)
15501{
15502 if (&src == this) return *this;
15503
15504
15505 sType = src.sType;
15506 pNext = src.pNext;
15507 decodeMode = src.decodeMode;
15508
15509 return *this;
15510}
15511
15512safe_VkImageViewASTCDecodeModeEXT::~safe_VkImageViewASTCDecodeModeEXT()
15513{
15514}
15515
15516void safe_VkImageViewASTCDecodeModeEXT::initialize(const VkImageViewASTCDecodeModeEXT* in_struct)
15517{
15518 sType = in_struct->sType;
15519 pNext = in_struct->pNext;
15520 decodeMode = in_struct->decodeMode;
15521}
15522
15523void safe_VkImageViewASTCDecodeModeEXT::initialize(const safe_VkImageViewASTCDecodeModeEXT* src)
15524{
15525 sType = src->sType;
15526 pNext = src->pNext;
15527 decodeMode = src->decodeMode;
15528}
15529
15530safe_VkPhysicalDeviceASTCDecodeFeaturesEXT::safe_VkPhysicalDeviceASTCDecodeFeaturesEXT(const VkPhysicalDeviceASTCDecodeFeaturesEXT* in_struct) :
15531 sType(in_struct->sType),
15532 pNext(in_struct->pNext),
15533 decodeModeSharedExponent(in_struct->decodeModeSharedExponent)
15534{
15535}
15536
15537safe_VkPhysicalDeviceASTCDecodeFeaturesEXT::safe_VkPhysicalDeviceASTCDecodeFeaturesEXT()
15538{}
15539
15540safe_VkPhysicalDeviceASTCDecodeFeaturesEXT::safe_VkPhysicalDeviceASTCDecodeFeaturesEXT(const safe_VkPhysicalDeviceASTCDecodeFeaturesEXT& src)
15541{
15542 sType = src.sType;
15543 pNext = src.pNext;
15544 decodeModeSharedExponent = src.decodeModeSharedExponent;
15545}
15546
15547safe_VkPhysicalDeviceASTCDecodeFeaturesEXT& safe_VkPhysicalDeviceASTCDecodeFeaturesEXT::operator=(const safe_VkPhysicalDeviceASTCDecodeFeaturesEXT& src)
15548{
15549 if (&src == this) return *this;
15550
15551
15552 sType = src.sType;
15553 pNext = src.pNext;
15554 decodeModeSharedExponent = src.decodeModeSharedExponent;
15555
15556 return *this;
15557}
15558
15559safe_VkPhysicalDeviceASTCDecodeFeaturesEXT::~safe_VkPhysicalDeviceASTCDecodeFeaturesEXT()
15560{
15561}
15562
15563void safe_VkPhysicalDeviceASTCDecodeFeaturesEXT::initialize(const VkPhysicalDeviceASTCDecodeFeaturesEXT* in_struct)
15564{
15565 sType = in_struct->sType;
15566 pNext = in_struct->pNext;
15567 decodeModeSharedExponent = in_struct->decodeModeSharedExponent;
15568}
15569
15570void safe_VkPhysicalDeviceASTCDecodeFeaturesEXT::initialize(const safe_VkPhysicalDeviceASTCDecodeFeaturesEXT* src)
15571{
15572 sType = src->sType;
15573 pNext = src->pNext;
15574 decodeModeSharedExponent = src->decodeModeSharedExponent;
15575}
15576
15577safe_VkConditionalRenderingBeginInfoEXT::safe_VkConditionalRenderingBeginInfoEXT(const VkConditionalRenderingBeginInfoEXT* in_struct) :
15578 sType(in_struct->sType),
15579 pNext(in_struct->pNext),
15580 buffer(in_struct->buffer),
15581 offset(in_struct->offset),
15582 flags(in_struct->flags)
15583{
15584}
15585
15586safe_VkConditionalRenderingBeginInfoEXT::safe_VkConditionalRenderingBeginInfoEXT()
15587{}
15588
15589safe_VkConditionalRenderingBeginInfoEXT::safe_VkConditionalRenderingBeginInfoEXT(const safe_VkConditionalRenderingBeginInfoEXT& src)
15590{
15591 sType = src.sType;
15592 pNext = src.pNext;
15593 buffer = src.buffer;
15594 offset = src.offset;
15595 flags = src.flags;
15596}
15597
15598safe_VkConditionalRenderingBeginInfoEXT& safe_VkConditionalRenderingBeginInfoEXT::operator=(const safe_VkConditionalRenderingBeginInfoEXT& src)
15599{
15600 if (&src == this) return *this;
15601
15602
15603 sType = src.sType;
15604 pNext = src.pNext;
15605 buffer = src.buffer;
15606 offset = src.offset;
15607 flags = src.flags;
15608
15609 return *this;
15610}
15611
15612safe_VkConditionalRenderingBeginInfoEXT::~safe_VkConditionalRenderingBeginInfoEXT()
15613{
15614}
15615
15616void safe_VkConditionalRenderingBeginInfoEXT::initialize(const VkConditionalRenderingBeginInfoEXT* in_struct)
15617{
15618 sType = in_struct->sType;
15619 pNext = in_struct->pNext;
15620 buffer = in_struct->buffer;
15621 offset = in_struct->offset;
15622 flags = in_struct->flags;
15623}
15624
15625void safe_VkConditionalRenderingBeginInfoEXT::initialize(const safe_VkConditionalRenderingBeginInfoEXT* src)
15626{
15627 sType = src->sType;
15628 pNext = src->pNext;
15629 buffer = src->buffer;
15630 offset = src->offset;
15631 flags = src->flags;
15632}
15633
15634safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT::safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT(const VkPhysicalDeviceConditionalRenderingFeaturesEXT* in_struct) :
15635 sType(in_struct->sType),
15636 pNext(in_struct->pNext),
15637 conditionalRendering(in_struct->conditionalRendering),
15638 inheritedConditionalRendering(in_struct->inheritedConditionalRendering)
15639{
15640}
15641
15642safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT::safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT()
15643{}
15644
15645safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT::safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT(const safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT& src)
15646{
15647 sType = src.sType;
15648 pNext = src.pNext;
15649 conditionalRendering = src.conditionalRendering;
15650 inheritedConditionalRendering = src.inheritedConditionalRendering;
15651}
15652
15653safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT& safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT::operator=(const safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT& src)
15654{
15655 if (&src == this) return *this;
15656
15657
15658 sType = src.sType;
15659 pNext = src.pNext;
15660 conditionalRendering = src.conditionalRendering;
15661 inheritedConditionalRendering = src.inheritedConditionalRendering;
15662
15663 return *this;
15664}
15665
15666safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT::~safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT()
15667{
15668}
15669
15670void safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT::initialize(const VkPhysicalDeviceConditionalRenderingFeaturesEXT* in_struct)
15671{
15672 sType = in_struct->sType;
15673 pNext = in_struct->pNext;
15674 conditionalRendering = in_struct->conditionalRendering;
15675 inheritedConditionalRendering = in_struct->inheritedConditionalRendering;
15676}
15677
15678void safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT::initialize(const safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT* src)
15679{
15680 sType = src->sType;
15681 pNext = src->pNext;
15682 conditionalRendering = src->conditionalRendering;
15683 inheritedConditionalRendering = src->inheritedConditionalRendering;
15684}
15685
15686safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT::safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT(const VkCommandBufferInheritanceConditionalRenderingInfoEXT* in_struct) :
15687 sType(in_struct->sType),
15688 pNext(in_struct->pNext),
15689 conditionalRenderingEnable(in_struct->conditionalRenderingEnable)
15690{
15691}
15692
15693safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT::safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT()
15694{}
15695
15696safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT::safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT(const safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT& src)
15697{
15698 sType = src.sType;
15699 pNext = src.pNext;
15700 conditionalRenderingEnable = src.conditionalRenderingEnable;
15701}
15702
15703safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT& safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT::operator=(const safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT& src)
15704{
15705 if (&src == this) return *this;
15706
15707
15708 sType = src.sType;
15709 pNext = src.pNext;
15710 conditionalRenderingEnable = src.conditionalRenderingEnable;
15711
15712 return *this;
15713}
15714
15715safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT::~safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT()
15716{
15717}
15718
15719void safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT::initialize(const VkCommandBufferInheritanceConditionalRenderingInfoEXT* in_struct)
15720{
15721 sType = in_struct->sType;
15722 pNext = in_struct->pNext;
15723 conditionalRenderingEnable = in_struct->conditionalRenderingEnable;
15724}
15725
15726void safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT::initialize(const safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT* src)
15727{
15728 sType = src->sType;
15729 pNext = src->pNext;
15730 conditionalRenderingEnable = src->conditionalRenderingEnable;
15731}
15732
15733safe_VkDeviceGeneratedCommandsFeaturesNVX::safe_VkDeviceGeneratedCommandsFeaturesNVX(const VkDeviceGeneratedCommandsFeaturesNVX* in_struct) :
15734 sType(in_struct->sType),
15735 pNext(in_struct->pNext),
15736 computeBindingPointSupport(in_struct->computeBindingPointSupport)
15737{
15738}
15739
15740safe_VkDeviceGeneratedCommandsFeaturesNVX::safe_VkDeviceGeneratedCommandsFeaturesNVX()
15741{}
15742
15743safe_VkDeviceGeneratedCommandsFeaturesNVX::safe_VkDeviceGeneratedCommandsFeaturesNVX(const safe_VkDeviceGeneratedCommandsFeaturesNVX& src)
15744{
15745 sType = src.sType;
15746 pNext = src.pNext;
15747 computeBindingPointSupport = src.computeBindingPointSupport;
15748}
15749
15750safe_VkDeviceGeneratedCommandsFeaturesNVX& safe_VkDeviceGeneratedCommandsFeaturesNVX::operator=(const safe_VkDeviceGeneratedCommandsFeaturesNVX& src)
15751{
15752 if (&src == this) return *this;
15753
15754
15755 sType = src.sType;
15756 pNext = src.pNext;
15757 computeBindingPointSupport = src.computeBindingPointSupport;
15758
15759 return *this;
15760}
15761
15762safe_VkDeviceGeneratedCommandsFeaturesNVX::~safe_VkDeviceGeneratedCommandsFeaturesNVX()
15763{
15764}
15765
15766void safe_VkDeviceGeneratedCommandsFeaturesNVX::initialize(const VkDeviceGeneratedCommandsFeaturesNVX* in_struct)
15767{
15768 sType = in_struct->sType;
15769 pNext = in_struct->pNext;
15770 computeBindingPointSupport = in_struct->computeBindingPointSupport;
15771}
15772
15773void safe_VkDeviceGeneratedCommandsFeaturesNVX::initialize(const safe_VkDeviceGeneratedCommandsFeaturesNVX* src)
15774{
15775 sType = src->sType;
15776 pNext = src->pNext;
15777 computeBindingPointSupport = src->computeBindingPointSupport;
15778}
15779
15780safe_VkDeviceGeneratedCommandsLimitsNVX::safe_VkDeviceGeneratedCommandsLimitsNVX(const VkDeviceGeneratedCommandsLimitsNVX* in_struct) :
15781 sType(in_struct->sType),
15782 pNext(in_struct->pNext),
15783 maxIndirectCommandsLayoutTokenCount(in_struct->maxIndirectCommandsLayoutTokenCount),
15784 maxObjectEntryCounts(in_struct->maxObjectEntryCounts),
15785 minSequenceCountBufferOffsetAlignment(in_struct->minSequenceCountBufferOffsetAlignment),
15786 minSequenceIndexBufferOffsetAlignment(in_struct->minSequenceIndexBufferOffsetAlignment),
15787 minCommandsTokenBufferOffsetAlignment(in_struct->minCommandsTokenBufferOffsetAlignment)
15788{
15789}
15790
15791safe_VkDeviceGeneratedCommandsLimitsNVX::safe_VkDeviceGeneratedCommandsLimitsNVX()
15792{}
15793
15794safe_VkDeviceGeneratedCommandsLimitsNVX::safe_VkDeviceGeneratedCommandsLimitsNVX(const safe_VkDeviceGeneratedCommandsLimitsNVX& src)
15795{
15796 sType = src.sType;
15797 pNext = src.pNext;
15798 maxIndirectCommandsLayoutTokenCount = src.maxIndirectCommandsLayoutTokenCount;
15799 maxObjectEntryCounts = src.maxObjectEntryCounts;
15800 minSequenceCountBufferOffsetAlignment = src.minSequenceCountBufferOffsetAlignment;
15801 minSequenceIndexBufferOffsetAlignment = src.minSequenceIndexBufferOffsetAlignment;
15802 minCommandsTokenBufferOffsetAlignment = src.minCommandsTokenBufferOffsetAlignment;
15803}
15804
15805safe_VkDeviceGeneratedCommandsLimitsNVX& safe_VkDeviceGeneratedCommandsLimitsNVX::operator=(const safe_VkDeviceGeneratedCommandsLimitsNVX& src)
15806{
15807 if (&src == this) return *this;
15808
15809
15810 sType = src.sType;
15811 pNext = src.pNext;
15812 maxIndirectCommandsLayoutTokenCount = src.maxIndirectCommandsLayoutTokenCount;
15813 maxObjectEntryCounts = src.maxObjectEntryCounts;
15814 minSequenceCountBufferOffsetAlignment = src.minSequenceCountBufferOffsetAlignment;
15815 minSequenceIndexBufferOffsetAlignment = src.minSequenceIndexBufferOffsetAlignment;
15816 minCommandsTokenBufferOffsetAlignment = src.minCommandsTokenBufferOffsetAlignment;
15817
15818 return *this;
15819}
15820
15821safe_VkDeviceGeneratedCommandsLimitsNVX::~safe_VkDeviceGeneratedCommandsLimitsNVX()
15822{
15823}
15824
15825void safe_VkDeviceGeneratedCommandsLimitsNVX::initialize(const VkDeviceGeneratedCommandsLimitsNVX* in_struct)
15826{
15827 sType = in_struct->sType;
15828 pNext = in_struct->pNext;
15829 maxIndirectCommandsLayoutTokenCount = in_struct->maxIndirectCommandsLayoutTokenCount;
15830 maxObjectEntryCounts = in_struct->maxObjectEntryCounts;
15831 minSequenceCountBufferOffsetAlignment = in_struct->minSequenceCountBufferOffsetAlignment;
15832 minSequenceIndexBufferOffsetAlignment = in_struct->minSequenceIndexBufferOffsetAlignment;
15833 minCommandsTokenBufferOffsetAlignment = in_struct->minCommandsTokenBufferOffsetAlignment;
15834}
15835
15836void safe_VkDeviceGeneratedCommandsLimitsNVX::initialize(const safe_VkDeviceGeneratedCommandsLimitsNVX* src)
15837{
15838 sType = src->sType;
15839 pNext = src->pNext;
15840 maxIndirectCommandsLayoutTokenCount = src->maxIndirectCommandsLayoutTokenCount;
15841 maxObjectEntryCounts = src->maxObjectEntryCounts;
15842 minSequenceCountBufferOffsetAlignment = src->minSequenceCountBufferOffsetAlignment;
15843 minSequenceIndexBufferOffsetAlignment = src->minSequenceIndexBufferOffsetAlignment;
15844 minCommandsTokenBufferOffsetAlignment = src->minCommandsTokenBufferOffsetAlignment;
15845}
15846
15847safe_VkIndirectCommandsLayoutCreateInfoNVX::safe_VkIndirectCommandsLayoutCreateInfoNVX(const VkIndirectCommandsLayoutCreateInfoNVX* in_struct) :
15848 sType(in_struct->sType),
15849 pNext(in_struct->pNext),
15850 pipelineBindPoint(in_struct->pipelineBindPoint),
15851 flags(in_struct->flags),
15852 tokenCount(in_struct->tokenCount),
15853 pTokens(nullptr)
15854{
15855 if (in_struct->pTokens) {
15856 pTokens = new VkIndirectCommandsLayoutTokenNVX[in_struct->tokenCount];
15857 memcpy ((void *)pTokens, (void *)in_struct->pTokens, sizeof(VkIndirectCommandsLayoutTokenNVX)*in_struct->tokenCount);
15858 }
15859}
15860
15861safe_VkIndirectCommandsLayoutCreateInfoNVX::safe_VkIndirectCommandsLayoutCreateInfoNVX() :
15862 pTokens(nullptr)
15863{}
15864
15865safe_VkIndirectCommandsLayoutCreateInfoNVX::safe_VkIndirectCommandsLayoutCreateInfoNVX(const safe_VkIndirectCommandsLayoutCreateInfoNVX& src)
15866{
15867 sType = src.sType;
15868 pNext = src.pNext;
15869 pipelineBindPoint = src.pipelineBindPoint;
15870 flags = src.flags;
15871 tokenCount = src.tokenCount;
15872 pTokens = nullptr;
15873 if (src.pTokens) {
15874 pTokens = new VkIndirectCommandsLayoutTokenNVX[src.tokenCount];
15875 memcpy ((void *)pTokens, (void *)src.pTokens, sizeof(VkIndirectCommandsLayoutTokenNVX)*src.tokenCount);
15876 }
15877}
15878
15879safe_VkIndirectCommandsLayoutCreateInfoNVX& safe_VkIndirectCommandsLayoutCreateInfoNVX::operator=(const safe_VkIndirectCommandsLayoutCreateInfoNVX& src)
15880{
15881 if (&src == this) return *this;
15882
15883 if (pTokens)
15884 delete[] pTokens;
15885
15886 sType = src.sType;
15887 pNext = src.pNext;
15888 pipelineBindPoint = src.pipelineBindPoint;
15889 flags = src.flags;
15890 tokenCount = src.tokenCount;
15891 pTokens = nullptr;
15892 if (src.pTokens) {
15893 pTokens = new VkIndirectCommandsLayoutTokenNVX[src.tokenCount];
15894 memcpy ((void *)pTokens, (void *)src.pTokens, sizeof(VkIndirectCommandsLayoutTokenNVX)*src.tokenCount);
15895 }
15896
15897 return *this;
15898}
15899
15900safe_VkIndirectCommandsLayoutCreateInfoNVX::~safe_VkIndirectCommandsLayoutCreateInfoNVX()
15901{
15902 if (pTokens)
15903 delete[] pTokens;
15904}
15905
15906void safe_VkIndirectCommandsLayoutCreateInfoNVX::initialize(const VkIndirectCommandsLayoutCreateInfoNVX* in_struct)
15907{
15908 sType = in_struct->sType;
15909 pNext = in_struct->pNext;
15910 pipelineBindPoint = in_struct->pipelineBindPoint;
15911 flags = in_struct->flags;
15912 tokenCount = in_struct->tokenCount;
15913 pTokens = nullptr;
15914 if (in_struct->pTokens) {
15915 pTokens = new VkIndirectCommandsLayoutTokenNVX[in_struct->tokenCount];
15916 memcpy ((void *)pTokens, (void *)in_struct->pTokens, sizeof(VkIndirectCommandsLayoutTokenNVX)*in_struct->tokenCount);
15917 }
15918}
15919
15920void safe_VkIndirectCommandsLayoutCreateInfoNVX::initialize(const safe_VkIndirectCommandsLayoutCreateInfoNVX* src)
15921{
15922 sType = src->sType;
15923 pNext = src->pNext;
15924 pipelineBindPoint = src->pipelineBindPoint;
15925 flags = src->flags;
15926 tokenCount = src->tokenCount;
15927 pTokens = nullptr;
15928 if (src->pTokens) {
15929 pTokens = new VkIndirectCommandsLayoutTokenNVX[src->tokenCount];
15930 memcpy ((void *)pTokens, (void *)src->pTokens, sizeof(VkIndirectCommandsLayoutTokenNVX)*src->tokenCount);
15931 }
15932}
15933
15934safe_VkCmdProcessCommandsInfoNVX::safe_VkCmdProcessCommandsInfoNVX(const VkCmdProcessCommandsInfoNVX* in_struct) :
15935 sType(in_struct->sType),
15936 pNext(in_struct->pNext),
15937 objectTable(in_struct->objectTable),
15938 indirectCommandsLayout(in_struct->indirectCommandsLayout),
15939 indirectCommandsTokenCount(in_struct->indirectCommandsTokenCount),
15940 pIndirectCommandsTokens(nullptr),
15941 maxSequencesCount(in_struct->maxSequencesCount),
15942 targetCommandBuffer(in_struct->targetCommandBuffer),
15943 sequencesCountBuffer(in_struct->sequencesCountBuffer),
15944 sequencesCountOffset(in_struct->sequencesCountOffset),
15945 sequencesIndexBuffer(in_struct->sequencesIndexBuffer),
15946 sequencesIndexOffset(in_struct->sequencesIndexOffset)
15947{
15948 if (indirectCommandsTokenCount && in_struct->pIndirectCommandsTokens) {
15949 pIndirectCommandsTokens = new VkIndirectCommandsTokenNVX[indirectCommandsTokenCount];
15950 for (uint32_t i=0; i<indirectCommandsTokenCount; ++i) {
15951 pIndirectCommandsTokens[i] = in_struct->pIndirectCommandsTokens[i];
15952 }
15953 }
15954}
15955
15956safe_VkCmdProcessCommandsInfoNVX::safe_VkCmdProcessCommandsInfoNVX() :
15957 pIndirectCommandsTokens(nullptr)
15958{}
15959
15960safe_VkCmdProcessCommandsInfoNVX::safe_VkCmdProcessCommandsInfoNVX(const safe_VkCmdProcessCommandsInfoNVX& src)
15961{
15962 sType = src.sType;
15963 pNext = src.pNext;
15964 objectTable = src.objectTable;
15965 indirectCommandsLayout = src.indirectCommandsLayout;
15966 indirectCommandsTokenCount = src.indirectCommandsTokenCount;
15967 pIndirectCommandsTokens = nullptr;
15968 maxSequencesCount = src.maxSequencesCount;
15969 targetCommandBuffer = src.targetCommandBuffer;
15970 sequencesCountBuffer = src.sequencesCountBuffer;
15971 sequencesCountOffset = src.sequencesCountOffset;
15972 sequencesIndexBuffer = src.sequencesIndexBuffer;
15973 sequencesIndexOffset = src.sequencesIndexOffset;
15974 if (indirectCommandsTokenCount && src.pIndirectCommandsTokens) {
15975 pIndirectCommandsTokens = new VkIndirectCommandsTokenNVX[indirectCommandsTokenCount];
15976 for (uint32_t i=0; i<indirectCommandsTokenCount; ++i) {
15977 pIndirectCommandsTokens[i] = src.pIndirectCommandsTokens[i];
15978 }
15979 }
15980}
15981
15982safe_VkCmdProcessCommandsInfoNVX& safe_VkCmdProcessCommandsInfoNVX::operator=(const safe_VkCmdProcessCommandsInfoNVX& src)
15983{
15984 if (&src == this) return *this;
15985
15986 if (pIndirectCommandsTokens)
15987 delete[] pIndirectCommandsTokens;
15988
15989 sType = src.sType;
15990 pNext = src.pNext;
15991 objectTable = src.objectTable;
15992 indirectCommandsLayout = src.indirectCommandsLayout;
15993 indirectCommandsTokenCount = src.indirectCommandsTokenCount;
15994 pIndirectCommandsTokens = nullptr;
15995 maxSequencesCount = src.maxSequencesCount;
15996 targetCommandBuffer = src.targetCommandBuffer;
15997 sequencesCountBuffer = src.sequencesCountBuffer;
15998 sequencesCountOffset = src.sequencesCountOffset;
15999 sequencesIndexBuffer = src.sequencesIndexBuffer;
16000 sequencesIndexOffset = src.sequencesIndexOffset;
16001 if (indirectCommandsTokenCount && src.pIndirectCommandsTokens) {
16002 pIndirectCommandsTokens = new VkIndirectCommandsTokenNVX[indirectCommandsTokenCount];
16003 for (uint32_t i=0; i<indirectCommandsTokenCount; ++i) {
16004 pIndirectCommandsTokens[i] = src.pIndirectCommandsTokens[i];
16005 }
16006 }
16007
16008 return *this;
16009}
16010
16011safe_VkCmdProcessCommandsInfoNVX::~safe_VkCmdProcessCommandsInfoNVX()
16012{
16013 if (pIndirectCommandsTokens)
16014 delete[] pIndirectCommandsTokens;
16015}
16016
16017void safe_VkCmdProcessCommandsInfoNVX::initialize(const VkCmdProcessCommandsInfoNVX* in_struct)
16018{
16019 sType = in_struct->sType;
16020 pNext = in_struct->pNext;
16021 objectTable = in_struct->objectTable;
16022 indirectCommandsLayout = in_struct->indirectCommandsLayout;
16023 indirectCommandsTokenCount = in_struct->indirectCommandsTokenCount;
16024 pIndirectCommandsTokens = nullptr;
16025 maxSequencesCount = in_struct->maxSequencesCount;
16026 targetCommandBuffer = in_struct->targetCommandBuffer;
16027 sequencesCountBuffer = in_struct->sequencesCountBuffer;
16028 sequencesCountOffset = in_struct->sequencesCountOffset;
16029 sequencesIndexBuffer = in_struct->sequencesIndexBuffer;
16030 sequencesIndexOffset = in_struct->sequencesIndexOffset;
16031 if (indirectCommandsTokenCount && in_struct->pIndirectCommandsTokens) {
16032 pIndirectCommandsTokens = new VkIndirectCommandsTokenNVX[indirectCommandsTokenCount];
16033 for (uint32_t i=0; i<indirectCommandsTokenCount; ++i) {
16034 pIndirectCommandsTokens[i] = in_struct->pIndirectCommandsTokens[i];
16035 }
16036 }
16037}
16038
16039void safe_VkCmdProcessCommandsInfoNVX::initialize(const safe_VkCmdProcessCommandsInfoNVX* src)
16040{
16041 sType = src->sType;
16042 pNext = src->pNext;
16043 objectTable = src->objectTable;
16044 indirectCommandsLayout = src->indirectCommandsLayout;
16045 indirectCommandsTokenCount = src->indirectCommandsTokenCount;
16046 pIndirectCommandsTokens = nullptr;
16047 maxSequencesCount = src->maxSequencesCount;
16048 targetCommandBuffer = src->targetCommandBuffer;
16049 sequencesCountBuffer = src->sequencesCountBuffer;
16050 sequencesCountOffset = src->sequencesCountOffset;
16051 sequencesIndexBuffer = src->sequencesIndexBuffer;
16052 sequencesIndexOffset = src->sequencesIndexOffset;
16053 if (indirectCommandsTokenCount && src->pIndirectCommandsTokens) {
16054 pIndirectCommandsTokens = new VkIndirectCommandsTokenNVX[indirectCommandsTokenCount];
16055 for (uint32_t i=0; i<indirectCommandsTokenCount; ++i) {
16056 pIndirectCommandsTokens[i] = src->pIndirectCommandsTokens[i];
16057 }
16058 }
16059}
16060
16061safe_VkCmdReserveSpaceForCommandsInfoNVX::safe_VkCmdReserveSpaceForCommandsInfoNVX(const VkCmdReserveSpaceForCommandsInfoNVX* in_struct) :
16062 sType(in_struct->sType),
16063 pNext(in_struct->pNext),
16064 objectTable(in_struct->objectTable),
16065 indirectCommandsLayout(in_struct->indirectCommandsLayout),
16066 maxSequencesCount(in_struct->maxSequencesCount)
16067{
16068}
16069
16070safe_VkCmdReserveSpaceForCommandsInfoNVX::safe_VkCmdReserveSpaceForCommandsInfoNVX()
16071{}
16072
16073safe_VkCmdReserveSpaceForCommandsInfoNVX::safe_VkCmdReserveSpaceForCommandsInfoNVX(const safe_VkCmdReserveSpaceForCommandsInfoNVX& src)
16074{
16075 sType = src.sType;
16076 pNext = src.pNext;
16077 objectTable = src.objectTable;
16078 indirectCommandsLayout = src.indirectCommandsLayout;
16079 maxSequencesCount = src.maxSequencesCount;
16080}
16081
16082safe_VkCmdReserveSpaceForCommandsInfoNVX& safe_VkCmdReserveSpaceForCommandsInfoNVX::operator=(const safe_VkCmdReserveSpaceForCommandsInfoNVX& src)
16083{
16084 if (&src == this) return *this;
16085
16086
16087 sType = src.sType;
16088 pNext = src.pNext;
16089 objectTable = src.objectTable;
16090 indirectCommandsLayout = src.indirectCommandsLayout;
16091 maxSequencesCount = src.maxSequencesCount;
16092
16093 return *this;
16094}
16095
16096safe_VkCmdReserveSpaceForCommandsInfoNVX::~safe_VkCmdReserveSpaceForCommandsInfoNVX()
16097{
16098}
16099
16100void safe_VkCmdReserveSpaceForCommandsInfoNVX::initialize(const VkCmdReserveSpaceForCommandsInfoNVX* in_struct)
16101{
16102 sType = in_struct->sType;
16103 pNext = in_struct->pNext;
16104 objectTable = in_struct->objectTable;
16105 indirectCommandsLayout = in_struct->indirectCommandsLayout;
16106 maxSequencesCount = in_struct->maxSequencesCount;
16107}
16108
16109void safe_VkCmdReserveSpaceForCommandsInfoNVX::initialize(const safe_VkCmdReserveSpaceForCommandsInfoNVX* src)
16110{
16111 sType = src->sType;
16112 pNext = src->pNext;
16113 objectTable = src->objectTable;
16114 indirectCommandsLayout = src->indirectCommandsLayout;
16115 maxSequencesCount = src->maxSequencesCount;
16116}
16117
16118safe_VkObjectTableCreateInfoNVX::safe_VkObjectTableCreateInfoNVX(const VkObjectTableCreateInfoNVX* in_struct) :
16119 sType(in_struct->sType),
16120 pNext(in_struct->pNext),
16121 objectCount(in_struct->objectCount),
16122 pObjectEntryTypes(nullptr),
16123 pObjectEntryCounts(nullptr),
16124 pObjectEntryUsageFlags(nullptr),
16125 maxUniformBuffersPerDescriptor(in_struct->maxUniformBuffersPerDescriptor),
16126 maxStorageBuffersPerDescriptor(in_struct->maxStorageBuffersPerDescriptor),
16127 maxStorageImagesPerDescriptor(in_struct->maxStorageImagesPerDescriptor),
16128 maxSampledImagesPerDescriptor(in_struct->maxSampledImagesPerDescriptor),
16129 maxPipelineLayouts(in_struct->maxPipelineLayouts)
16130{
16131 if (in_struct->pObjectEntryTypes) {
16132 pObjectEntryTypes = new VkObjectEntryTypeNVX[in_struct->objectCount];
16133 memcpy ((void *)pObjectEntryTypes, (void *)in_struct->pObjectEntryTypes, sizeof(VkObjectEntryTypeNVX)*in_struct->objectCount);
16134 }
16135 if (in_struct->pObjectEntryCounts) {
16136 pObjectEntryCounts = new uint32_t[in_struct->objectCount];
16137 memcpy ((void *)pObjectEntryCounts, (void *)in_struct->pObjectEntryCounts, sizeof(uint32_t)*in_struct->objectCount);
16138 }
16139 if (in_struct->pObjectEntryUsageFlags) {
16140 pObjectEntryUsageFlags = new VkObjectEntryUsageFlagsNVX[in_struct->objectCount];
16141 memcpy ((void *)pObjectEntryUsageFlags, (void *)in_struct->pObjectEntryUsageFlags, sizeof(VkObjectEntryUsageFlagsNVX)*in_struct->objectCount);
16142 }
16143}
16144
16145safe_VkObjectTableCreateInfoNVX::safe_VkObjectTableCreateInfoNVX() :
16146 pObjectEntryTypes(nullptr),
16147 pObjectEntryCounts(nullptr),
16148 pObjectEntryUsageFlags(nullptr)
16149{}
16150
16151safe_VkObjectTableCreateInfoNVX::safe_VkObjectTableCreateInfoNVX(const safe_VkObjectTableCreateInfoNVX& src)
16152{
16153 sType = src.sType;
16154 pNext = src.pNext;
16155 objectCount = src.objectCount;
16156 pObjectEntryTypes = nullptr;
16157 pObjectEntryCounts = nullptr;
16158 pObjectEntryUsageFlags = nullptr;
16159 maxUniformBuffersPerDescriptor = src.maxUniformBuffersPerDescriptor;
16160 maxStorageBuffersPerDescriptor = src.maxStorageBuffersPerDescriptor;
16161 maxStorageImagesPerDescriptor = src.maxStorageImagesPerDescriptor;
16162 maxSampledImagesPerDescriptor = src.maxSampledImagesPerDescriptor;
16163 maxPipelineLayouts = src.maxPipelineLayouts;
16164 if (src.pObjectEntryTypes) {
16165 pObjectEntryTypes = new VkObjectEntryTypeNVX[src.objectCount];
16166 memcpy ((void *)pObjectEntryTypes, (void *)src.pObjectEntryTypes, sizeof(VkObjectEntryTypeNVX)*src.objectCount);
16167 }
16168 if (src.pObjectEntryCounts) {
16169 pObjectEntryCounts = new uint32_t[src.objectCount];
16170 memcpy ((void *)pObjectEntryCounts, (void *)src.pObjectEntryCounts, sizeof(uint32_t)*src.objectCount);
16171 }
16172 if (src.pObjectEntryUsageFlags) {
16173 pObjectEntryUsageFlags = new VkObjectEntryUsageFlagsNVX[src.objectCount];
16174 memcpy ((void *)pObjectEntryUsageFlags, (void *)src.pObjectEntryUsageFlags, sizeof(VkObjectEntryUsageFlagsNVX)*src.objectCount);
16175 }
16176}
16177
16178safe_VkObjectTableCreateInfoNVX& safe_VkObjectTableCreateInfoNVX::operator=(const safe_VkObjectTableCreateInfoNVX& src)
16179{
16180 if (&src == this) return *this;
16181
16182 if (pObjectEntryTypes)
16183 delete[] pObjectEntryTypes;
16184 if (pObjectEntryCounts)
16185 delete[] pObjectEntryCounts;
16186 if (pObjectEntryUsageFlags)
16187 delete[] pObjectEntryUsageFlags;
16188
16189 sType = src.sType;
16190 pNext = src.pNext;
16191 objectCount = src.objectCount;
16192 pObjectEntryTypes = nullptr;
16193 pObjectEntryCounts = nullptr;
16194 pObjectEntryUsageFlags = nullptr;
16195 maxUniformBuffersPerDescriptor = src.maxUniformBuffersPerDescriptor;
16196 maxStorageBuffersPerDescriptor = src.maxStorageBuffersPerDescriptor;
16197 maxStorageImagesPerDescriptor = src.maxStorageImagesPerDescriptor;
16198 maxSampledImagesPerDescriptor = src.maxSampledImagesPerDescriptor;
16199 maxPipelineLayouts = src.maxPipelineLayouts;
16200 if (src.pObjectEntryTypes) {
16201 pObjectEntryTypes = new VkObjectEntryTypeNVX[src.objectCount];
16202 memcpy ((void *)pObjectEntryTypes, (void *)src.pObjectEntryTypes, sizeof(VkObjectEntryTypeNVX)*src.objectCount);
16203 }
16204 if (src.pObjectEntryCounts) {
16205 pObjectEntryCounts = new uint32_t[src.objectCount];
16206 memcpy ((void *)pObjectEntryCounts, (void *)src.pObjectEntryCounts, sizeof(uint32_t)*src.objectCount);
16207 }
16208 if (src.pObjectEntryUsageFlags) {
16209 pObjectEntryUsageFlags = new VkObjectEntryUsageFlagsNVX[src.objectCount];
16210 memcpy ((void *)pObjectEntryUsageFlags, (void *)src.pObjectEntryUsageFlags, sizeof(VkObjectEntryUsageFlagsNVX)*src.objectCount);
16211 }
16212
16213 return *this;
16214}
16215
16216safe_VkObjectTableCreateInfoNVX::~safe_VkObjectTableCreateInfoNVX()
16217{
16218 if (pObjectEntryTypes)
16219 delete[] pObjectEntryTypes;
16220 if (pObjectEntryCounts)
16221 delete[] pObjectEntryCounts;
16222 if (pObjectEntryUsageFlags)
16223 delete[] pObjectEntryUsageFlags;
16224}
16225
16226void safe_VkObjectTableCreateInfoNVX::initialize(const VkObjectTableCreateInfoNVX* in_struct)
16227{
16228 sType = in_struct->sType;
16229 pNext = in_struct->pNext;
16230 objectCount = in_struct->objectCount;
16231 pObjectEntryTypes = nullptr;
16232 pObjectEntryCounts = nullptr;
16233 pObjectEntryUsageFlags = nullptr;
16234 maxUniformBuffersPerDescriptor = in_struct->maxUniformBuffersPerDescriptor;
16235 maxStorageBuffersPerDescriptor = in_struct->maxStorageBuffersPerDescriptor;
16236 maxStorageImagesPerDescriptor = in_struct->maxStorageImagesPerDescriptor;
16237 maxSampledImagesPerDescriptor = in_struct->maxSampledImagesPerDescriptor;
16238 maxPipelineLayouts = in_struct->maxPipelineLayouts;
16239 if (in_struct->pObjectEntryTypes) {
16240 pObjectEntryTypes = new VkObjectEntryTypeNVX[in_struct->objectCount];
16241 memcpy ((void *)pObjectEntryTypes, (void *)in_struct->pObjectEntryTypes, sizeof(VkObjectEntryTypeNVX)*in_struct->objectCount);
16242 }
16243 if (in_struct->pObjectEntryCounts) {
16244 pObjectEntryCounts = new uint32_t[in_struct->objectCount];
16245 memcpy ((void *)pObjectEntryCounts, (void *)in_struct->pObjectEntryCounts, sizeof(uint32_t)*in_struct->objectCount);
16246 }
16247 if (in_struct->pObjectEntryUsageFlags) {
16248 pObjectEntryUsageFlags = new VkObjectEntryUsageFlagsNVX[in_struct->objectCount];
16249 memcpy ((void *)pObjectEntryUsageFlags, (void *)in_struct->pObjectEntryUsageFlags, sizeof(VkObjectEntryUsageFlagsNVX)*in_struct->objectCount);
16250 }
16251}
16252
16253void safe_VkObjectTableCreateInfoNVX::initialize(const safe_VkObjectTableCreateInfoNVX* src)
16254{
16255 sType = src->sType;
16256 pNext = src->pNext;
16257 objectCount = src->objectCount;
16258 pObjectEntryTypes = nullptr;
16259 pObjectEntryCounts = nullptr;
16260 pObjectEntryUsageFlags = nullptr;
16261 maxUniformBuffersPerDescriptor = src->maxUniformBuffersPerDescriptor;
16262 maxStorageBuffersPerDescriptor = src->maxStorageBuffersPerDescriptor;
16263 maxStorageImagesPerDescriptor = src->maxStorageImagesPerDescriptor;
16264 maxSampledImagesPerDescriptor = src->maxSampledImagesPerDescriptor;
16265 maxPipelineLayouts = src->maxPipelineLayouts;
16266 if (src->pObjectEntryTypes) {
16267 pObjectEntryTypes = new VkObjectEntryTypeNVX[src->objectCount];
16268 memcpy ((void *)pObjectEntryTypes, (void *)src->pObjectEntryTypes, sizeof(VkObjectEntryTypeNVX)*src->objectCount);
16269 }
16270 if (src->pObjectEntryCounts) {
16271 pObjectEntryCounts = new uint32_t[src->objectCount];
16272 memcpy ((void *)pObjectEntryCounts, (void *)src->pObjectEntryCounts, sizeof(uint32_t)*src->objectCount);
16273 }
16274 if (src->pObjectEntryUsageFlags) {
16275 pObjectEntryUsageFlags = new VkObjectEntryUsageFlagsNVX[src->objectCount];
16276 memcpy ((void *)pObjectEntryUsageFlags, (void *)src->pObjectEntryUsageFlags, sizeof(VkObjectEntryUsageFlagsNVX)*src->objectCount);
16277 }
16278}
16279
16280safe_VkPipelineViewportWScalingStateCreateInfoNV::safe_VkPipelineViewportWScalingStateCreateInfoNV(const VkPipelineViewportWScalingStateCreateInfoNV* in_struct) :
16281 sType(in_struct->sType),
16282 pNext(in_struct->pNext),
16283 viewportWScalingEnable(in_struct->viewportWScalingEnable),
16284 viewportCount(in_struct->viewportCount),
16285 pViewportWScalings(nullptr)
16286{
16287 if (in_struct->pViewportWScalings) {
16288 pViewportWScalings = new VkViewportWScalingNV[in_struct->viewportCount];
16289 memcpy ((void *)pViewportWScalings, (void *)in_struct->pViewportWScalings, sizeof(VkViewportWScalingNV)*in_struct->viewportCount);
16290 }
16291}
16292
16293safe_VkPipelineViewportWScalingStateCreateInfoNV::safe_VkPipelineViewportWScalingStateCreateInfoNV() :
16294 pViewportWScalings(nullptr)
16295{}
16296
16297safe_VkPipelineViewportWScalingStateCreateInfoNV::safe_VkPipelineViewportWScalingStateCreateInfoNV(const safe_VkPipelineViewportWScalingStateCreateInfoNV& src)
16298{
16299 sType = src.sType;
16300 pNext = src.pNext;
16301 viewportWScalingEnable = src.viewportWScalingEnable;
16302 viewportCount = src.viewportCount;
16303 pViewportWScalings = nullptr;
16304 if (src.pViewportWScalings) {
16305 pViewportWScalings = new VkViewportWScalingNV[src.viewportCount];
16306 memcpy ((void *)pViewportWScalings, (void *)src.pViewportWScalings, sizeof(VkViewportWScalingNV)*src.viewportCount);
16307 }
16308}
16309
16310safe_VkPipelineViewportWScalingStateCreateInfoNV& safe_VkPipelineViewportWScalingStateCreateInfoNV::operator=(const safe_VkPipelineViewportWScalingStateCreateInfoNV& src)
16311{
16312 if (&src == this) return *this;
16313
16314 if (pViewportWScalings)
16315 delete[] pViewportWScalings;
16316
16317 sType = src.sType;
16318 pNext = src.pNext;
16319 viewportWScalingEnable = src.viewportWScalingEnable;
16320 viewportCount = src.viewportCount;
16321 pViewportWScalings = nullptr;
16322 if (src.pViewportWScalings) {
16323 pViewportWScalings = new VkViewportWScalingNV[src.viewportCount];
16324 memcpy ((void *)pViewportWScalings, (void *)src.pViewportWScalings, sizeof(VkViewportWScalingNV)*src.viewportCount);
16325 }
16326
16327 return *this;
16328}
16329
16330safe_VkPipelineViewportWScalingStateCreateInfoNV::~safe_VkPipelineViewportWScalingStateCreateInfoNV()
16331{
16332 if (pViewportWScalings)
16333 delete[] pViewportWScalings;
16334}
16335
16336void safe_VkPipelineViewportWScalingStateCreateInfoNV::initialize(const VkPipelineViewportWScalingStateCreateInfoNV* in_struct)
16337{
16338 sType = in_struct->sType;
16339 pNext = in_struct->pNext;
16340 viewportWScalingEnable = in_struct->viewportWScalingEnable;
16341 viewportCount = in_struct->viewportCount;
16342 pViewportWScalings = nullptr;
16343 if (in_struct->pViewportWScalings) {
16344 pViewportWScalings = new VkViewportWScalingNV[in_struct->viewportCount];
16345 memcpy ((void *)pViewportWScalings, (void *)in_struct->pViewportWScalings, sizeof(VkViewportWScalingNV)*in_struct->viewportCount);
16346 }
16347}
16348
16349void safe_VkPipelineViewportWScalingStateCreateInfoNV::initialize(const safe_VkPipelineViewportWScalingStateCreateInfoNV* src)
16350{
16351 sType = src->sType;
16352 pNext = src->pNext;
16353 viewportWScalingEnable = src->viewportWScalingEnable;
16354 viewportCount = src->viewportCount;
16355 pViewportWScalings = nullptr;
16356 if (src->pViewportWScalings) {
16357 pViewportWScalings = new VkViewportWScalingNV[src->viewportCount];
16358 memcpy ((void *)pViewportWScalings, (void *)src->pViewportWScalings, sizeof(VkViewportWScalingNV)*src->viewportCount);
16359 }
16360}
16361
16362safe_VkSurfaceCapabilities2EXT::safe_VkSurfaceCapabilities2EXT(const VkSurfaceCapabilities2EXT* in_struct) :
16363 sType(in_struct->sType),
16364 pNext(in_struct->pNext),
16365 minImageCount(in_struct->minImageCount),
16366 maxImageCount(in_struct->maxImageCount),
16367 currentExtent(in_struct->currentExtent),
16368 minImageExtent(in_struct->minImageExtent),
16369 maxImageExtent(in_struct->maxImageExtent),
16370 maxImageArrayLayers(in_struct->maxImageArrayLayers),
16371 supportedTransforms(in_struct->supportedTransforms),
16372 currentTransform(in_struct->currentTransform),
16373 supportedCompositeAlpha(in_struct->supportedCompositeAlpha),
16374 supportedUsageFlags(in_struct->supportedUsageFlags),
16375 supportedSurfaceCounters(in_struct->supportedSurfaceCounters)
16376{
16377}
16378
16379safe_VkSurfaceCapabilities2EXT::safe_VkSurfaceCapabilities2EXT()
16380{}
16381
16382safe_VkSurfaceCapabilities2EXT::safe_VkSurfaceCapabilities2EXT(const safe_VkSurfaceCapabilities2EXT& src)
16383{
16384 sType = src.sType;
16385 pNext = src.pNext;
16386 minImageCount = src.minImageCount;
16387 maxImageCount = src.maxImageCount;
16388 currentExtent = src.currentExtent;
16389 minImageExtent = src.minImageExtent;
16390 maxImageExtent = src.maxImageExtent;
16391 maxImageArrayLayers = src.maxImageArrayLayers;
16392 supportedTransforms = src.supportedTransforms;
16393 currentTransform = src.currentTransform;
16394 supportedCompositeAlpha = src.supportedCompositeAlpha;
16395 supportedUsageFlags = src.supportedUsageFlags;
16396 supportedSurfaceCounters = src.supportedSurfaceCounters;
16397}
16398
16399safe_VkSurfaceCapabilities2EXT& safe_VkSurfaceCapabilities2EXT::operator=(const safe_VkSurfaceCapabilities2EXT& src)
16400{
16401 if (&src == this) return *this;
16402
16403
16404 sType = src.sType;
16405 pNext = src.pNext;
16406 minImageCount = src.minImageCount;
16407 maxImageCount = src.maxImageCount;
16408 currentExtent = src.currentExtent;
16409 minImageExtent = src.minImageExtent;
16410 maxImageExtent = src.maxImageExtent;
16411 maxImageArrayLayers = src.maxImageArrayLayers;
16412 supportedTransforms = src.supportedTransforms;
16413 currentTransform = src.currentTransform;
16414 supportedCompositeAlpha = src.supportedCompositeAlpha;
16415 supportedUsageFlags = src.supportedUsageFlags;
16416 supportedSurfaceCounters = src.supportedSurfaceCounters;
16417
16418 return *this;
16419}
16420
16421safe_VkSurfaceCapabilities2EXT::~safe_VkSurfaceCapabilities2EXT()
16422{
16423}
16424
16425void safe_VkSurfaceCapabilities2EXT::initialize(const VkSurfaceCapabilities2EXT* in_struct)
16426{
16427 sType = in_struct->sType;
16428 pNext = in_struct->pNext;
16429 minImageCount = in_struct->minImageCount;
16430 maxImageCount = in_struct->maxImageCount;
16431 currentExtent = in_struct->currentExtent;
16432 minImageExtent = in_struct->minImageExtent;
16433 maxImageExtent = in_struct->maxImageExtent;
16434 maxImageArrayLayers = in_struct->maxImageArrayLayers;
16435 supportedTransforms = in_struct->supportedTransforms;
16436 currentTransform = in_struct->currentTransform;
16437 supportedCompositeAlpha = in_struct->supportedCompositeAlpha;
16438 supportedUsageFlags = in_struct->supportedUsageFlags;
16439 supportedSurfaceCounters = in_struct->supportedSurfaceCounters;
16440}
16441
16442void safe_VkSurfaceCapabilities2EXT::initialize(const safe_VkSurfaceCapabilities2EXT* src)
16443{
16444 sType = src->sType;
16445 pNext = src->pNext;
16446 minImageCount = src->minImageCount;
16447 maxImageCount = src->maxImageCount;
16448 currentExtent = src->currentExtent;
16449 minImageExtent = src->minImageExtent;
16450 maxImageExtent = src->maxImageExtent;
16451 maxImageArrayLayers = src->maxImageArrayLayers;
16452 supportedTransforms = src->supportedTransforms;
16453 currentTransform = src->currentTransform;
16454 supportedCompositeAlpha = src->supportedCompositeAlpha;
16455 supportedUsageFlags = src->supportedUsageFlags;
16456 supportedSurfaceCounters = src->supportedSurfaceCounters;
16457}
16458
16459safe_VkDisplayPowerInfoEXT::safe_VkDisplayPowerInfoEXT(const VkDisplayPowerInfoEXT* in_struct) :
16460 sType(in_struct->sType),
16461 pNext(in_struct->pNext),
16462 powerState(in_struct->powerState)
16463{
16464}
16465
16466safe_VkDisplayPowerInfoEXT::safe_VkDisplayPowerInfoEXT()
16467{}
16468
16469safe_VkDisplayPowerInfoEXT::safe_VkDisplayPowerInfoEXT(const safe_VkDisplayPowerInfoEXT& src)
16470{
16471 sType = src.sType;
16472 pNext = src.pNext;
16473 powerState = src.powerState;
16474}
16475
16476safe_VkDisplayPowerInfoEXT& safe_VkDisplayPowerInfoEXT::operator=(const safe_VkDisplayPowerInfoEXT& src)
16477{
16478 if (&src == this) return *this;
16479
16480
16481 sType = src.sType;
16482 pNext = src.pNext;
16483 powerState = src.powerState;
16484
16485 return *this;
16486}
16487
16488safe_VkDisplayPowerInfoEXT::~safe_VkDisplayPowerInfoEXT()
16489{
16490}
16491
16492void safe_VkDisplayPowerInfoEXT::initialize(const VkDisplayPowerInfoEXT* in_struct)
16493{
16494 sType = in_struct->sType;
16495 pNext = in_struct->pNext;
16496 powerState = in_struct->powerState;
16497}
16498
16499void safe_VkDisplayPowerInfoEXT::initialize(const safe_VkDisplayPowerInfoEXT* src)
16500{
16501 sType = src->sType;
16502 pNext = src->pNext;
16503 powerState = src->powerState;
16504}
16505
16506safe_VkDeviceEventInfoEXT::safe_VkDeviceEventInfoEXT(const VkDeviceEventInfoEXT* in_struct) :
16507 sType(in_struct->sType),
16508 pNext(in_struct->pNext),
16509 deviceEvent(in_struct->deviceEvent)
16510{
16511}
16512
16513safe_VkDeviceEventInfoEXT::safe_VkDeviceEventInfoEXT()
16514{}
16515
16516safe_VkDeviceEventInfoEXT::safe_VkDeviceEventInfoEXT(const safe_VkDeviceEventInfoEXT& src)
16517{
16518 sType = src.sType;
16519 pNext = src.pNext;
16520 deviceEvent = src.deviceEvent;
16521}
16522
16523safe_VkDeviceEventInfoEXT& safe_VkDeviceEventInfoEXT::operator=(const safe_VkDeviceEventInfoEXT& src)
16524{
16525 if (&src == this) return *this;
16526
16527
16528 sType = src.sType;
16529 pNext = src.pNext;
16530 deviceEvent = src.deviceEvent;
16531
16532 return *this;
16533}
16534
16535safe_VkDeviceEventInfoEXT::~safe_VkDeviceEventInfoEXT()
16536{
16537}
16538
16539void safe_VkDeviceEventInfoEXT::initialize(const VkDeviceEventInfoEXT* in_struct)
16540{
16541 sType = in_struct->sType;
16542 pNext = in_struct->pNext;
16543 deviceEvent = in_struct->deviceEvent;
16544}
16545
16546void safe_VkDeviceEventInfoEXT::initialize(const safe_VkDeviceEventInfoEXT* src)
16547{
16548 sType = src->sType;
16549 pNext = src->pNext;
16550 deviceEvent = src->deviceEvent;
16551}
16552
16553safe_VkDisplayEventInfoEXT::safe_VkDisplayEventInfoEXT(const VkDisplayEventInfoEXT* in_struct) :
16554 sType(in_struct->sType),
16555 pNext(in_struct->pNext),
16556 displayEvent(in_struct->displayEvent)
16557{
16558}
16559
16560safe_VkDisplayEventInfoEXT::safe_VkDisplayEventInfoEXT()
16561{}
16562
16563safe_VkDisplayEventInfoEXT::safe_VkDisplayEventInfoEXT(const safe_VkDisplayEventInfoEXT& src)
16564{
16565 sType = src.sType;
16566 pNext = src.pNext;
16567 displayEvent = src.displayEvent;
16568}
16569
16570safe_VkDisplayEventInfoEXT& safe_VkDisplayEventInfoEXT::operator=(const safe_VkDisplayEventInfoEXT& src)
16571{
16572 if (&src == this) return *this;
16573
16574
16575 sType = src.sType;
16576 pNext = src.pNext;
16577 displayEvent = src.displayEvent;
16578
16579 return *this;
16580}
16581
16582safe_VkDisplayEventInfoEXT::~safe_VkDisplayEventInfoEXT()
16583{
16584}
16585
16586void safe_VkDisplayEventInfoEXT::initialize(const VkDisplayEventInfoEXT* in_struct)
16587{
16588 sType = in_struct->sType;
16589 pNext = in_struct->pNext;
16590 displayEvent = in_struct->displayEvent;
16591}
16592
16593void safe_VkDisplayEventInfoEXT::initialize(const safe_VkDisplayEventInfoEXT* src)
16594{
16595 sType = src->sType;
16596 pNext = src->pNext;
16597 displayEvent = src->displayEvent;
16598}
16599
16600safe_VkSwapchainCounterCreateInfoEXT::safe_VkSwapchainCounterCreateInfoEXT(const VkSwapchainCounterCreateInfoEXT* in_struct) :
16601 sType(in_struct->sType),
16602 pNext(in_struct->pNext),
16603 surfaceCounters(in_struct->surfaceCounters)
16604{
16605}
16606
16607safe_VkSwapchainCounterCreateInfoEXT::safe_VkSwapchainCounterCreateInfoEXT()
16608{}
16609
16610safe_VkSwapchainCounterCreateInfoEXT::safe_VkSwapchainCounterCreateInfoEXT(const safe_VkSwapchainCounterCreateInfoEXT& src)
16611{
16612 sType = src.sType;
16613 pNext = src.pNext;
16614 surfaceCounters = src.surfaceCounters;
16615}
16616
16617safe_VkSwapchainCounterCreateInfoEXT& safe_VkSwapchainCounterCreateInfoEXT::operator=(const safe_VkSwapchainCounterCreateInfoEXT& src)
16618{
16619 if (&src == this) return *this;
16620
16621
16622 sType = src.sType;
16623 pNext = src.pNext;
16624 surfaceCounters = src.surfaceCounters;
16625
16626 return *this;
16627}
16628
16629safe_VkSwapchainCounterCreateInfoEXT::~safe_VkSwapchainCounterCreateInfoEXT()
16630{
16631}
16632
16633void safe_VkSwapchainCounterCreateInfoEXT::initialize(const VkSwapchainCounterCreateInfoEXT* in_struct)
16634{
16635 sType = in_struct->sType;
16636 pNext = in_struct->pNext;
16637 surfaceCounters = in_struct->surfaceCounters;
16638}
16639
16640void safe_VkSwapchainCounterCreateInfoEXT::initialize(const safe_VkSwapchainCounterCreateInfoEXT* src)
16641{
16642 sType = src->sType;
16643 pNext = src->pNext;
16644 surfaceCounters = src->surfaceCounters;
16645}
16646
16647safe_VkPresentTimesInfoGOOGLE::safe_VkPresentTimesInfoGOOGLE(const VkPresentTimesInfoGOOGLE* in_struct) :
16648 sType(in_struct->sType),
16649 pNext(in_struct->pNext),
16650 swapchainCount(in_struct->swapchainCount),
16651 pTimes(nullptr)
16652{
16653 if (in_struct->pTimes) {
16654 pTimes = new VkPresentTimeGOOGLE[in_struct->swapchainCount];
16655 memcpy ((void *)pTimes, (void *)in_struct->pTimes, sizeof(VkPresentTimeGOOGLE)*in_struct->swapchainCount);
16656 }
16657}
16658
16659safe_VkPresentTimesInfoGOOGLE::safe_VkPresentTimesInfoGOOGLE() :
16660 pTimes(nullptr)
16661{}
16662
16663safe_VkPresentTimesInfoGOOGLE::safe_VkPresentTimesInfoGOOGLE(const safe_VkPresentTimesInfoGOOGLE& src)
16664{
16665 sType = src.sType;
16666 pNext = src.pNext;
16667 swapchainCount = src.swapchainCount;
16668 pTimes = nullptr;
16669 if (src.pTimes) {
16670 pTimes = new VkPresentTimeGOOGLE[src.swapchainCount];
16671 memcpy ((void *)pTimes, (void *)src.pTimes, sizeof(VkPresentTimeGOOGLE)*src.swapchainCount);
16672 }
16673}
16674
16675safe_VkPresentTimesInfoGOOGLE& safe_VkPresentTimesInfoGOOGLE::operator=(const safe_VkPresentTimesInfoGOOGLE& src)
16676{
16677 if (&src == this) return *this;
16678
16679 if (pTimes)
16680 delete[] pTimes;
16681
16682 sType = src.sType;
16683 pNext = src.pNext;
16684 swapchainCount = src.swapchainCount;
16685 pTimes = nullptr;
16686 if (src.pTimes) {
16687 pTimes = new VkPresentTimeGOOGLE[src.swapchainCount];
16688 memcpy ((void *)pTimes, (void *)src.pTimes, sizeof(VkPresentTimeGOOGLE)*src.swapchainCount);
16689 }
16690
16691 return *this;
16692}
16693
16694safe_VkPresentTimesInfoGOOGLE::~safe_VkPresentTimesInfoGOOGLE()
16695{
16696 if (pTimes)
16697 delete[] pTimes;
16698}
16699
16700void safe_VkPresentTimesInfoGOOGLE::initialize(const VkPresentTimesInfoGOOGLE* in_struct)
16701{
16702 sType = in_struct->sType;
16703 pNext = in_struct->pNext;
16704 swapchainCount = in_struct->swapchainCount;
16705 pTimes = nullptr;
16706 if (in_struct->pTimes) {
16707 pTimes = new VkPresentTimeGOOGLE[in_struct->swapchainCount];
16708 memcpy ((void *)pTimes, (void *)in_struct->pTimes, sizeof(VkPresentTimeGOOGLE)*in_struct->swapchainCount);
16709 }
16710}
16711
16712void safe_VkPresentTimesInfoGOOGLE::initialize(const safe_VkPresentTimesInfoGOOGLE* src)
16713{
16714 sType = src->sType;
16715 pNext = src->pNext;
16716 swapchainCount = src->swapchainCount;
16717 pTimes = nullptr;
16718 if (src->pTimes) {
16719 pTimes = new VkPresentTimeGOOGLE[src->swapchainCount];
16720 memcpy ((void *)pTimes, (void *)src->pTimes, sizeof(VkPresentTimeGOOGLE)*src->swapchainCount);
16721 }
16722}
16723
16724safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX::safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX(const VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX* in_struct) :
16725 sType(in_struct->sType),
16726 pNext(in_struct->pNext),
16727 perViewPositionAllComponents(in_struct->perViewPositionAllComponents)
16728{
16729}
16730
16731safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX::safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX()
16732{}
16733
16734safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX::safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX(const safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX& src)
16735{
16736 sType = src.sType;
16737 pNext = src.pNext;
16738 perViewPositionAllComponents = src.perViewPositionAllComponents;
16739}
16740
16741safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX& safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX::operator=(const safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX& src)
16742{
16743 if (&src == this) return *this;
16744
16745
16746 sType = src.sType;
16747 pNext = src.pNext;
16748 perViewPositionAllComponents = src.perViewPositionAllComponents;
16749
16750 return *this;
16751}
16752
16753safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX::~safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX()
16754{
16755}
16756
16757void safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX::initialize(const VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX* in_struct)
16758{
16759 sType = in_struct->sType;
16760 pNext = in_struct->pNext;
16761 perViewPositionAllComponents = in_struct->perViewPositionAllComponents;
16762}
16763
16764void safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX::initialize(const safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX* src)
16765{
16766 sType = src->sType;
16767 pNext = src->pNext;
16768 perViewPositionAllComponents = src->perViewPositionAllComponents;
16769}
16770
16771safe_VkPipelineViewportSwizzleStateCreateInfoNV::safe_VkPipelineViewportSwizzleStateCreateInfoNV(const VkPipelineViewportSwizzleStateCreateInfoNV* in_struct) :
16772 sType(in_struct->sType),
16773 pNext(in_struct->pNext),
16774 flags(in_struct->flags),
16775 viewportCount(in_struct->viewportCount),
16776 pViewportSwizzles(nullptr)
16777{
16778 if (in_struct->pViewportSwizzles) {
16779 pViewportSwizzles = new VkViewportSwizzleNV[in_struct->viewportCount];
16780 memcpy ((void *)pViewportSwizzles, (void *)in_struct->pViewportSwizzles, sizeof(VkViewportSwizzleNV)*in_struct->viewportCount);
16781 }
16782}
16783
16784safe_VkPipelineViewportSwizzleStateCreateInfoNV::safe_VkPipelineViewportSwizzleStateCreateInfoNV() :
16785 pViewportSwizzles(nullptr)
16786{}
16787
16788safe_VkPipelineViewportSwizzleStateCreateInfoNV::safe_VkPipelineViewportSwizzleStateCreateInfoNV(const safe_VkPipelineViewportSwizzleStateCreateInfoNV& src)
16789{
16790 sType = src.sType;
16791 pNext = src.pNext;
16792 flags = src.flags;
16793 viewportCount = src.viewportCount;
16794 pViewportSwizzles = nullptr;
16795 if (src.pViewportSwizzles) {
16796 pViewportSwizzles = new VkViewportSwizzleNV[src.viewportCount];
16797 memcpy ((void *)pViewportSwizzles, (void *)src.pViewportSwizzles, sizeof(VkViewportSwizzleNV)*src.viewportCount);
16798 }
16799}
16800
16801safe_VkPipelineViewportSwizzleStateCreateInfoNV& safe_VkPipelineViewportSwizzleStateCreateInfoNV::operator=(const safe_VkPipelineViewportSwizzleStateCreateInfoNV& src)
16802{
16803 if (&src == this) return *this;
16804
16805 if (pViewportSwizzles)
16806 delete[] pViewportSwizzles;
16807
16808 sType = src.sType;
16809 pNext = src.pNext;
16810 flags = src.flags;
16811 viewportCount = src.viewportCount;
16812 pViewportSwizzles = nullptr;
16813 if (src.pViewportSwizzles) {
16814 pViewportSwizzles = new VkViewportSwizzleNV[src.viewportCount];
16815 memcpy ((void *)pViewportSwizzles, (void *)src.pViewportSwizzles, sizeof(VkViewportSwizzleNV)*src.viewportCount);
16816 }
16817
16818 return *this;
16819}
16820
16821safe_VkPipelineViewportSwizzleStateCreateInfoNV::~safe_VkPipelineViewportSwizzleStateCreateInfoNV()
16822{
16823 if (pViewportSwizzles)
16824 delete[] pViewportSwizzles;
16825}
16826
16827void safe_VkPipelineViewportSwizzleStateCreateInfoNV::initialize(const VkPipelineViewportSwizzleStateCreateInfoNV* in_struct)
16828{
16829 sType = in_struct->sType;
16830 pNext = in_struct->pNext;
16831 flags = in_struct->flags;
16832 viewportCount = in_struct->viewportCount;
16833 pViewportSwizzles = nullptr;
16834 if (in_struct->pViewportSwizzles) {
16835 pViewportSwizzles = new VkViewportSwizzleNV[in_struct->viewportCount];
16836 memcpy ((void *)pViewportSwizzles, (void *)in_struct->pViewportSwizzles, sizeof(VkViewportSwizzleNV)*in_struct->viewportCount);
16837 }
16838}
16839
16840void safe_VkPipelineViewportSwizzleStateCreateInfoNV::initialize(const safe_VkPipelineViewportSwizzleStateCreateInfoNV* src)
16841{
16842 sType = src->sType;
16843 pNext = src->pNext;
16844 flags = src->flags;
16845 viewportCount = src->viewportCount;
16846 pViewportSwizzles = nullptr;
16847 if (src->pViewportSwizzles) {
16848 pViewportSwizzles = new VkViewportSwizzleNV[src->viewportCount];
16849 memcpy ((void *)pViewportSwizzles, (void *)src->pViewportSwizzles, sizeof(VkViewportSwizzleNV)*src->viewportCount);
16850 }
16851}
16852
16853safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT::safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT(const VkPhysicalDeviceDiscardRectanglePropertiesEXT* in_struct) :
16854 sType(in_struct->sType),
16855 pNext(in_struct->pNext),
16856 maxDiscardRectangles(in_struct->maxDiscardRectangles)
16857{
16858}
16859
16860safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT::safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT()
16861{}
16862
16863safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT::safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT(const safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT& src)
16864{
16865 sType = src.sType;
16866 pNext = src.pNext;
16867 maxDiscardRectangles = src.maxDiscardRectangles;
16868}
16869
16870safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT& safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT::operator=(const safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT& src)
16871{
16872 if (&src == this) return *this;
16873
16874
16875 sType = src.sType;
16876 pNext = src.pNext;
16877 maxDiscardRectangles = src.maxDiscardRectangles;
16878
16879 return *this;
16880}
16881
16882safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT::~safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT()
16883{
16884}
16885
16886void safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT::initialize(const VkPhysicalDeviceDiscardRectanglePropertiesEXT* in_struct)
16887{
16888 sType = in_struct->sType;
16889 pNext = in_struct->pNext;
16890 maxDiscardRectangles = in_struct->maxDiscardRectangles;
16891}
16892
16893void safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT::initialize(const safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT* src)
16894{
16895 sType = src->sType;
16896 pNext = src->pNext;
16897 maxDiscardRectangles = src->maxDiscardRectangles;
16898}
16899
16900safe_VkPipelineDiscardRectangleStateCreateInfoEXT::safe_VkPipelineDiscardRectangleStateCreateInfoEXT(const VkPipelineDiscardRectangleStateCreateInfoEXT* in_struct) :
16901 sType(in_struct->sType),
16902 pNext(in_struct->pNext),
16903 flags(in_struct->flags),
16904 discardRectangleMode(in_struct->discardRectangleMode),
16905 discardRectangleCount(in_struct->discardRectangleCount),
16906 pDiscardRectangles(nullptr)
16907{
16908 if (in_struct->pDiscardRectangles) {
16909 pDiscardRectangles = new VkRect2D[in_struct->discardRectangleCount];
16910 memcpy ((void *)pDiscardRectangles, (void *)in_struct->pDiscardRectangles, sizeof(VkRect2D)*in_struct->discardRectangleCount);
16911 }
16912}
16913
16914safe_VkPipelineDiscardRectangleStateCreateInfoEXT::safe_VkPipelineDiscardRectangleStateCreateInfoEXT() :
16915 pDiscardRectangles(nullptr)
16916{}
16917
16918safe_VkPipelineDiscardRectangleStateCreateInfoEXT::safe_VkPipelineDiscardRectangleStateCreateInfoEXT(const safe_VkPipelineDiscardRectangleStateCreateInfoEXT& src)
16919{
16920 sType = src.sType;
16921 pNext = src.pNext;
16922 flags = src.flags;
16923 discardRectangleMode = src.discardRectangleMode;
16924 discardRectangleCount = src.discardRectangleCount;
16925 pDiscardRectangles = nullptr;
16926 if (src.pDiscardRectangles) {
16927 pDiscardRectangles = new VkRect2D[src.discardRectangleCount];
16928 memcpy ((void *)pDiscardRectangles, (void *)src.pDiscardRectangles, sizeof(VkRect2D)*src.discardRectangleCount);
16929 }
16930}
16931
16932safe_VkPipelineDiscardRectangleStateCreateInfoEXT& safe_VkPipelineDiscardRectangleStateCreateInfoEXT::operator=(const safe_VkPipelineDiscardRectangleStateCreateInfoEXT& src)
16933{
16934 if (&src == this) return *this;
16935
16936 if (pDiscardRectangles)
16937 delete[] pDiscardRectangles;
16938
16939 sType = src.sType;
16940 pNext = src.pNext;
16941 flags = src.flags;
16942 discardRectangleMode = src.discardRectangleMode;
16943 discardRectangleCount = src.discardRectangleCount;
16944 pDiscardRectangles = nullptr;
16945 if (src.pDiscardRectangles) {
16946 pDiscardRectangles = new VkRect2D[src.discardRectangleCount];
16947 memcpy ((void *)pDiscardRectangles, (void *)src.pDiscardRectangles, sizeof(VkRect2D)*src.discardRectangleCount);
16948 }
16949
16950 return *this;
16951}
16952
16953safe_VkPipelineDiscardRectangleStateCreateInfoEXT::~safe_VkPipelineDiscardRectangleStateCreateInfoEXT()
16954{
16955 if (pDiscardRectangles)
16956 delete[] pDiscardRectangles;
16957}
16958
16959void safe_VkPipelineDiscardRectangleStateCreateInfoEXT::initialize(const VkPipelineDiscardRectangleStateCreateInfoEXT* in_struct)
16960{
16961 sType = in_struct->sType;
16962 pNext = in_struct->pNext;
16963 flags = in_struct->flags;
16964 discardRectangleMode = in_struct->discardRectangleMode;
16965 discardRectangleCount = in_struct->discardRectangleCount;
16966 pDiscardRectangles = nullptr;
16967 if (in_struct->pDiscardRectangles) {
16968 pDiscardRectangles = new VkRect2D[in_struct->discardRectangleCount];
16969 memcpy ((void *)pDiscardRectangles, (void *)in_struct->pDiscardRectangles, sizeof(VkRect2D)*in_struct->discardRectangleCount);
16970 }
16971}
16972
16973void safe_VkPipelineDiscardRectangleStateCreateInfoEXT::initialize(const safe_VkPipelineDiscardRectangleStateCreateInfoEXT* src)
16974{
16975 sType = src->sType;
16976 pNext = src->pNext;
16977 flags = src->flags;
16978 discardRectangleMode = src->discardRectangleMode;
16979 discardRectangleCount = src->discardRectangleCount;
16980 pDiscardRectangles = nullptr;
16981 if (src->pDiscardRectangles) {
16982 pDiscardRectangles = new VkRect2D[src->discardRectangleCount];
16983 memcpy ((void *)pDiscardRectangles, (void *)src->pDiscardRectangles, sizeof(VkRect2D)*src->discardRectangleCount);
16984 }
16985}
16986
16987safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT::safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT(const VkPhysicalDeviceConservativeRasterizationPropertiesEXT* in_struct) :
16988 sType(in_struct->sType),
16989 pNext(in_struct->pNext),
16990 primitiveOverestimationSize(in_struct->primitiveOverestimationSize),
16991 maxExtraPrimitiveOverestimationSize(in_struct->maxExtraPrimitiveOverestimationSize),
16992 extraPrimitiveOverestimationSizeGranularity(in_struct->extraPrimitiveOverestimationSizeGranularity),
16993 primitiveUnderestimation(in_struct->primitiveUnderestimation),
16994 conservativePointAndLineRasterization(in_struct->conservativePointAndLineRasterization),
16995 degenerateTrianglesRasterized(in_struct->degenerateTrianglesRasterized),
16996 degenerateLinesRasterized(in_struct->degenerateLinesRasterized),
16997 fullyCoveredFragmentShaderInputVariable(in_struct->fullyCoveredFragmentShaderInputVariable),
16998 conservativeRasterizationPostDepthCoverage(in_struct->conservativeRasterizationPostDepthCoverage)
16999{
17000}
17001
17002safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT::safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT()
17003{}
17004
17005safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT::safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT(const safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT& src)
17006{
17007 sType = src.sType;
17008 pNext = src.pNext;
17009 primitiveOverestimationSize = src.primitiveOverestimationSize;
17010 maxExtraPrimitiveOverestimationSize = src.maxExtraPrimitiveOverestimationSize;
17011 extraPrimitiveOverestimationSizeGranularity = src.extraPrimitiveOverestimationSizeGranularity;
17012 primitiveUnderestimation = src.primitiveUnderestimation;
17013 conservativePointAndLineRasterization = src.conservativePointAndLineRasterization;
17014 degenerateTrianglesRasterized = src.degenerateTrianglesRasterized;
17015 degenerateLinesRasterized = src.degenerateLinesRasterized;
17016 fullyCoveredFragmentShaderInputVariable = src.fullyCoveredFragmentShaderInputVariable;
17017 conservativeRasterizationPostDepthCoverage = src.conservativeRasterizationPostDepthCoverage;
17018}
17019
17020safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT& safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT::operator=(const safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT& src)
17021{
17022 if (&src == this) return *this;
17023
17024
17025 sType = src.sType;
17026 pNext = src.pNext;
17027 primitiveOverestimationSize = src.primitiveOverestimationSize;
17028 maxExtraPrimitiveOverestimationSize = src.maxExtraPrimitiveOverestimationSize;
17029 extraPrimitiveOverestimationSizeGranularity = src.extraPrimitiveOverestimationSizeGranularity;
17030 primitiveUnderestimation = src.primitiveUnderestimation;
17031 conservativePointAndLineRasterization = src.conservativePointAndLineRasterization;
17032 degenerateTrianglesRasterized = src.degenerateTrianglesRasterized;
17033 degenerateLinesRasterized = src.degenerateLinesRasterized;
17034 fullyCoveredFragmentShaderInputVariable = src.fullyCoveredFragmentShaderInputVariable;
17035 conservativeRasterizationPostDepthCoverage = src.conservativeRasterizationPostDepthCoverage;
17036
17037 return *this;
17038}
17039
17040safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT::~safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT()
17041{
17042}
17043
17044void safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT::initialize(const VkPhysicalDeviceConservativeRasterizationPropertiesEXT* in_struct)
17045{
17046 sType = in_struct->sType;
17047 pNext = in_struct->pNext;
17048 primitiveOverestimationSize = in_struct->primitiveOverestimationSize;
17049 maxExtraPrimitiveOverestimationSize = in_struct->maxExtraPrimitiveOverestimationSize;
17050 extraPrimitiveOverestimationSizeGranularity = in_struct->extraPrimitiveOverestimationSizeGranularity;
17051 primitiveUnderestimation = in_struct->primitiveUnderestimation;
17052 conservativePointAndLineRasterization = in_struct->conservativePointAndLineRasterization;
17053 degenerateTrianglesRasterized = in_struct->degenerateTrianglesRasterized;
17054 degenerateLinesRasterized = in_struct->degenerateLinesRasterized;
17055 fullyCoveredFragmentShaderInputVariable = in_struct->fullyCoveredFragmentShaderInputVariable;
17056 conservativeRasterizationPostDepthCoverage = in_struct->conservativeRasterizationPostDepthCoverage;
17057}
17058
17059void safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT::initialize(const safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT* src)
17060{
17061 sType = src->sType;
17062 pNext = src->pNext;
17063 primitiveOverestimationSize = src->primitiveOverestimationSize;
17064 maxExtraPrimitiveOverestimationSize = src->maxExtraPrimitiveOverestimationSize;
17065 extraPrimitiveOverestimationSizeGranularity = src->extraPrimitiveOverestimationSizeGranularity;
17066 primitiveUnderestimation = src->primitiveUnderestimation;
17067 conservativePointAndLineRasterization = src->conservativePointAndLineRasterization;
17068 degenerateTrianglesRasterized = src->degenerateTrianglesRasterized;
17069 degenerateLinesRasterized = src->degenerateLinesRasterized;
17070 fullyCoveredFragmentShaderInputVariable = src->fullyCoveredFragmentShaderInputVariable;
17071 conservativeRasterizationPostDepthCoverage = src->conservativeRasterizationPostDepthCoverage;
17072}
17073
17074safe_VkPipelineRasterizationConservativeStateCreateInfoEXT::safe_VkPipelineRasterizationConservativeStateCreateInfoEXT(const VkPipelineRasterizationConservativeStateCreateInfoEXT* in_struct) :
17075 sType(in_struct->sType),
17076 pNext(in_struct->pNext),
17077 flags(in_struct->flags),
17078 conservativeRasterizationMode(in_struct->conservativeRasterizationMode),
17079 extraPrimitiveOverestimationSize(in_struct->extraPrimitiveOverestimationSize)
17080{
17081}
17082
17083safe_VkPipelineRasterizationConservativeStateCreateInfoEXT::safe_VkPipelineRasterizationConservativeStateCreateInfoEXT()
17084{}
17085
17086safe_VkPipelineRasterizationConservativeStateCreateInfoEXT::safe_VkPipelineRasterizationConservativeStateCreateInfoEXT(const safe_VkPipelineRasterizationConservativeStateCreateInfoEXT& src)
17087{
17088 sType = src.sType;
17089 pNext = src.pNext;
17090 flags = src.flags;
17091 conservativeRasterizationMode = src.conservativeRasterizationMode;
17092 extraPrimitiveOverestimationSize = src.extraPrimitiveOverestimationSize;
17093}
17094
17095safe_VkPipelineRasterizationConservativeStateCreateInfoEXT& safe_VkPipelineRasterizationConservativeStateCreateInfoEXT::operator=(const safe_VkPipelineRasterizationConservativeStateCreateInfoEXT& src)
17096{
17097 if (&src == this) return *this;
17098
17099
17100 sType = src.sType;
17101 pNext = src.pNext;
17102 flags = src.flags;
17103 conservativeRasterizationMode = src.conservativeRasterizationMode;
17104 extraPrimitiveOverestimationSize = src.extraPrimitiveOverestimationSize;
17105
17106 return *this;
17107}
17108
17109safe_VkPipelineRasterizationConservativeStateCreateInfoEXT::~safe_VkPipelineRasterizationConservativeStateCreateInfoEXT()
17110{
17111}
17112
17113void safe_VkPipelineRasterizationConservativeStateCreateInfoEXT::initialize(const VkPipelineRasterizationConservativeStateCreateInfoEXT* in_struct)
17114{
17115 sType = in_struct->sType;
17116 pNext = in_struct->pNext;
17117 flags = in_struct->flags;
17118 conservativeRasterizationMode = in_struct->conservativeRasterizationMode;
17119 extraPrimitiveOverestimationSize = in_struct->extraPrimitiveOverestimationSize;
17120}
17121
17122void safe_VkPipelineRasterizationConservativeStateCreateInfoEXT::initialize(const safe_VkPipelineRasterizationConservativeStateCreateInfoEXT* src)
17123{
17124 sType = src->sType;
17125 pNext = src->pNext;
17126 flags = src->flags;
17127 conservativeRasterizationMode = src->conservativeRasterizationMode;
17128 extraPrimitiveOverestimationSize = src->extraPrimitiveOverestimationSize;
17129}
17130
17131safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT::safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT(const VkPhysicalDeviceDepthClipEnableFeaturesEXT* in_struct) :
17132 sType(in_struct->sType),
17133 pNext(in_struct->pNext),
17134 depthClipEnable(in_struct->depthClipEnable)
17135{
17136}
17137
17138safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT::safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT()
17139{}
17140
17141safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT::safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT(const safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT& src)
17142{
17143 sType = src.sType;
17144 pNext = src.pNext;
17145 depthClipEnable = src.depthClipEnable;
17146}
17147
17148safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT& safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT::operator=(const safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT& src)
17149{
17150 if (&src == this) return *this;
17151
17152
17153 sType = src.sType;
17154 pNext = src.pNext;
17155 depthClipEnable = src.depthClipEnable;
17156
17157 return *this;
17158}
17159
17160safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT::~safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT()
17161{
17162}
17163
17164void safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT::initialize(const VkPhysicalDeviceDepthClipEnableFeaturesEXT* in_struct)
17165{
17166 sType = in_struct->sType;
17167 pNext = in_struct->pNext;
17168 depthClipEnable = in_struct->depthClipEnable;
17169}
17170
17171void safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT::initialize(const safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT* src)
17172{
17173 sType = src->sType;
17174 pNext = src->pNext;
17175 depthClipEnable = src->depthClipEnable;
17176}
17177
17178safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT::safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT(const VkPipelineRasterizationDepthClipStateCreateInfoEXT* in_struct) :
17179 sType(in_struct->sType),
17180 pNext(in_struct->pNext),
17181 flags(in_struct->flags),
17182 depthClipEnable(in_struct->depthClipEnable)
17183{
17184}
17185
17186safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT::safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT()
17187{}
17188
17189safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT::safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT(const safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT& src)
17190{
17191 sType = src.sType;
17192 pNext = src.pNext;
17193 flags = src.flags;
17194 depthClipEnable = src.depthClipEnable;
17195}
17196
17197safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT& safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT::operator=(const safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT& src)
17198{
17199 if (&src == this) return *this;
17200
17201
17202 sType = src.sType;
17203 pNext = src.pNext;
17204 flags = src.flags;
17205 depthClipEnable = src.depthClipEnable;
17206
17207 return *this;
17208}
17209
17210safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT::~safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT()
17211{
17212}
17213
17214void safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT::initialize(const VkPipelineRasterizationDepthClipStateCreateInfoEXT* in_struct)
17215{
17216 sType = in_struct->sType;
17217 pNext = in_struct->pNext;
17218 flags = in_struct->flags;
17219 depthClipEnable = in_struct->depthClipEnable;
17220}
17221
17222void safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT::initialize(const safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT* src)
17223{
17224 sType = src->sType;
17225 pNext = src->pNext;
17226 flags = src->flags;
17227 depthClipEnable = src->depthClipEnable;
17228}
17229
17230safe_VkHdrMetadataEXT::safe_VkHdrMetadataEXT(const VkHdrMetadataEXT* in_struct) :
17231 sType(in_struct->sType),
17232 pNext(in_struct->pNext),
17233 displayPrimaryRed(in_struct->displayPrimaryRed),
17234 displayPrimaryGreen(in_struct->displayPrimaryGreen),
17235 displayPrimaryBlue(in_struct->displayPrimaryBlue),
17236 whitePoint(in_struct->whitePoint),
17237 maxLuminance(in_struct->maxLuminance),
17238 minLuminance(in_struct->minLuminance),
17239 maxContentLightLevel(in_struct->maxContentLightLevel),
17240 maxFrameAverageLightLevel(in_struct->maxFrameAverageLightLevel)
17241{
17242}
17243
17244safe_VkHdrMetadataEXT::safe_VkHdrMetadataEXT()
17245{}
17246
17247safe_VkHdrMetadataEXT::safe_VkHdrMetadataEXT(const safe_VkHdrMetadataEXT& src)
17248{
17249 sType = src.sType;
17250 pNext = src.pNext;
17251 displayPrimaryRed = src.displayPrimaryRed;
17252 displayPrimaryGreen = src.displayPrimaryGreen;
17253 displayPrimaryBlue = src.displayPrimaryBlue;
17254 whitePoint = src.whitePoint;
17255 maxLuminance = src.maxLuminance;
17256 minLuminance = src.minLuminance;
17257 maxContentLightLevel = src.maxContentLightLevel;
17258 maxFrameAverageLightLevel = src.maxFrameAverageLightLevel;
17259}
17260
17261safe_VkHdrMetadataEXT& safe_VkHdrMetadataEXT::operator=(const safe_VkHdrMetadataEXT& src)
17262{
17263 if (&src == this) return *this;
17264
17265
17266 sType = src.sType;
17267 pNext = src.pNext;
17268 displayPrimaryRed = src.displayPrimaryRed;
17269 displayPrimaryGreen = src.displayPrimaryGreen;
17270 displayPrimaryBlue = src.displayPrimaryBlue;
17271 whitePoint = src.whitePoint;
17272 maxLuminance = src.maxLuminance;
17273 minLuminance = src.minLuminance;
17274 maxContentLightLevel = src.maxContentLightLevel;
17275 maxFrameAverageLightLevel = src.maxFrameAverageLightLevel;
17276
17277 return *this;
17278}
17279
17280safe_VkHdrMetadataEXT::~safe_VkHdrMetadataEXT()
17281{
17282}
17283
17284void safe_VkHdrMetadataEXT::initialize(const VkHdrMetadataEXT* in_struct)
17285{
17286 sType = in_struct->sType;
17287 pNext = in_struct->pNext;
17288 displayPrimaryRed = in_struct->displayPrimaryRed;
17289 displayPrimaryGreen = in_struct->displayPrimaryGreen;
17290 displayPrimaryBlue = in_struct->displayPrimaryBlue;
17291 whitePoint = in_struct->whitePoint;
17292 maxLuminance = in_struct->maxLuminance;
17293 minLuminance = in_struct->minLuminance;
17294 maxContentLightLevel = in_struct->maxContentLightLevel;
17295 maxFrameAverageLightLevel = in_struct->maxFrameAverageLightLevel;
17296}
17297
17298void safe_VkHdrMetadataEXT::initialize(const safe_VkHdrMetadataEXT* src)
17299{
17300 sType = src->sType;
17301 pNext = src->pNext;
17302 displayPrimaryRed = src->displayPrimaryRed;
17303 displayPrimaryGreen = src->displayPrimaryGreen;
17304 displayPrimaryBlue = src->displayPrimaryBlue;
17305 whitePoint = src->whitePoint;
17306 maxLuminance = src->maxLuminance;
17307 minLuminance = src->minLuminance;
17308 maxContentLightLevel = src->maxContentLightLevel;
17309 maxFrameAverageLightLevel = src->maxFrameAverageLightLevel;
17310}
17311#ifdef VK_USE_PLATFORM_IOS_MVK
17312
17313
17314safe_VkIOSSurfaceCreateInfoMVK::safe_VkIOSSurfaceCreateInfoMVK(const VkIOSSurfaceCreateInfoMVK* in_struct) :
17315 sType(in_struct->sType),
17316 pNext(in_struct->pNext),
17317 flags(in_struct->flags),
17318 pView(in_struct->pView)
17319{
17320}
17321
17322safe_VkIOSSurfaceCreateInfoMVK::safe_VkIOSSurfaceCreateInfoMVK()
17323{}
17324
17325safe_VkIOSSurfaceCreateInfoMVK::safe_VkIOSSurfaceCreateInfoMVK(const safe_VkIOSSurfaceCreateInfoMVK& src)
17326{
17327 sType = src.sType;
17328 pNext = src.pNext;
17329 flags = src.flags;
17330 pView = src.pView;
17331}
17332
17333safe_VkIOSSurfaceCreateInfoMVK& safe_VkIOSSurfaceCreateInfoMVK::operator=(const safe_VkIOSSurfaceCreateInfoMVK& src)
17334{
17335 if (&src == this) return *this;
17336
17337
17338 sType = src.sType;
17339 pNext = src.pNext;
17340 flags = src.flags;
17341 pView = src.pView;
17342
17343 return *this;
17344}
17345
17346safe_VkIOSSurfaceCreateInfoMVK::~safe_VkIOSSurfaceCreateInfoMVK()
17347{
17348}
17349
17350void safe_VkIOSSurfaceCreateInfoMVK::initialize(const VkIOSSurfaceCreateInfoMVK* in_struct)
17351{
17352 sType = in_struct->sType;
17353 pNext = in_struct->pNext;
17354 flags = in_struct->flags;
17355 pView = in_struct->pView;
17356}
17357
17358void safe_VkIOSSurfaceCreateInfoMVK::initialize(const safe_VkIOSSurfaceCreateInfoMVK* src)
17359{
17360 sType = src->sType;
17361 pNext = src->pNext;
17362 flags = src->flags;
17363 pView = src->pView;
17364}
17365#endif // VK_USE_PLATFORM_IOS_MVK
17366
17367#ifdef VK_USE_PLATFORM_MACOS_MVK
17368
17369
17370safe_VkMacOSSurfaceCreateInfoMVK::safe_VkMacOSSurfaceCreateInfoMVK(const VkMacOSSurfaceCreateInfoMVK* in_struct) :
17371 sType(in_struct->sType),
17372 pNext(in_struct->pNext),
17373 flags(in_struct->flags),
17374 pView(in_struct->pView)
17375{
17376}
17377
17378safe_VkMacOSSurfaceCreateInfoMVK::safe_VkMacOSSurfaceCreateInfoMVK()
17379{}
17380
17381safe_VkMacOSSurfaceCreateInfoMVK::safe_VkMacOSSurfaceCreateInfoMVK(const safe_VkMacOSSurfaceCreateInfoMVK& src)
17382{
17383 sType = src.sType;
17384 pNext = src.pNext;
17385 flags = src.flags;
17386 pView = src.pView;
17387}
17388
17389safe_VkMacOSSurfaceCreateInfoMVK& safe_VkMacOSSurfaceCreateInfoMVK::operator=(const safe_VkMacOSSurfaceCreateInfoMVK& src)
17390{
17391 if (&src == this) return *this;
17392
17393
17394 sType = src.sType;
17395 pNext = src.pNext;
17396 flags = src.flags;
17397 pView = src.pView;
17398
17399 return *this;
17400}
17401
17402safe_VkMacOSSurfaceCreateInfoMVK::~safe_VkMacOSSurfaceCreateInfoMVK()
17403{
17404}
17405
17406void safe_VkMacOSSurfaceCreateInfoMVK::initialize(const VkMacOSSurfaceCreateInfoMVK* in_struct)
17407{
17408 sType = in_struct->sType;
17409 pNext = in_struct->pNext;
17410 flags = in_struct->flags;
17411 pView = in_struct->pView;
17412}
17413
17414void safe_VkMacOSSurfaceCreateInfoMVK::initialize(const safe_VkMacOSSurfaceCreateInfoMVK* src)
17415{
17416 sType = src->sType;
17417 pNext = src->pNext;
17418 flags = src->flags;
17419 pView = src->pView;
17420}
17421#endif // VK_USE_PLATFORM_MACOS_MVK
17422
17423
17424safe_VkDebugUtilsObjectNameInfoEXT::safe_VkDebugUtilsObjectNameInfoEXT(const VkDebugUtilsObjectNameInfoEXT* in_struct) :
17425 sType(in_struct->sType),
17426 pNext(in_struct->pNext),
17427 objectType(in_struct->objectType),
17428 objectHandle(in_struct->objectHandle),
17429 pObjectName(in_struct->pObjectName)
17430{
17431}
17432
17433safe_VkDebugUtilsObjectNameInfoEXT::safe_VkDebugUtilsObjectNameInfoEXT()
17434{}
17435
17436safe_VkDebugUtilsObjectNameInfoEXT::safe_VkDebugUtilsObjectNameInfoEXT(const safe_VkDebugUtilsObjectNameInfoEXT& src)
17437{
17438 sType = src.sType;
17439 pNext = src.pNext;
17440 objectType = src.objectType;
17441 objectHandle = src.objectHandle;
17442 pObjectName = src.pObjectName;
17443}
17444
17445safe_VkDebugUtilsObjectNameInfoEXT& safe_VkDebugUtilsObjectNameInfoEXT::operator=(const safe_VkDebugUtilsObjectNameInfoEXT& src)
17446{
17447 if (&src == this) return *this;
17448
17449
17450 sType = src.sType;
17451 pNext = src.pNext;
17452 objectType = src.objectType;
17453 objectHandle = src.objectHandle;
17454 pObjectName = src.pObjectName;
17455
17456 return *this;
17457}
17458
17459safe_VkDebugUtilsObjectNameInfoEXT::~safe_VkDebugUtilsObjectNameInfoEXT()
17460{
17461}
17462
17463void safe_VkDebugUtilsObjectNameInfoEXT::initialize(const VkDebugUtilsObjectNameInfoEXT* in_struct)
17464{
17465 sType = in_struct->sType;
17466 pNext = in_struct->pNext;
17467 objectType = in_struct->objectType;
17468 objectHandle = in_struct->objectHandle;
17469 pObjectName = in_struct->pObjectName;
17470}
17471
17472void safe_VkDebugUtilsObjectNameInfoEXT::initialize(const safe_VkDebugUtilsObjectNameInfoEXT* src)
17473{
17474 sType = src->sType;
17475 pNext = src->pNext;
17476 objectType = src->objectType;
17477 objectHandle = src->objectHandle;
17478 pObjectName = src->pObjectName;
17479}
17480
17481safe_VkDebugUtilsObjectTagInfoEXT::safe_VkDebugUtilsObjectTagInfoEXT(const VkDebugUtilsObjectTagInfoEXT* in_struct) :
17482 sType(in_struct->sType),
17483 pNext(in_struct->pNext),
17484 objectType(in_struct->objectType),
17485 objectHandle(in_struct->objectHandle),
17486 tagName(in_struct->tagName),
17487 tagSize(in_struct->tagSize),
17488 pTag(in_struct->pTag)
17489{
17490}
17491
17492safe_VkDebugUtilsObjectTagInfoEXT::safe_VkDebugUtilsObjectTagInfoEXT()
17493{}
17494
17495safe_VkDebugUtilsObjectTagInfoEXT::safe_VkDebugUtilsObjectTagInfoEXT(const safe_VkDebugUtilsObjectTagInfoEXT& src)
17496{
17497 sType = src.sType;
17498 pNext = src.pNext;
17499 objectType = src.objectType;
17500 objectHandle = src.objectHandle;
17501 tagName = src.tagName;
17502 tagSize = src.tagSize;
17503 pTag = src.pTag;
17504}
17505
17506safe_VkDebugUtilsObjectTagInfoEXT& safe_VkDebugUtilsObjectTagInfoEXT::operator=(const safe_VkDebugUtilsObjectTagInfoEXT& src)
17507{
17508 if (&src == this) return *this;
17509
17510
17511 sType = src.sType;
17512 pNext = src.pNext;
17513 objectType = src.objectType;
17514 objectHandle = src.objectHandle;
17515 tagName = src.tagName;
17516 tagSize = src.tagSize;
17517 pTag = src.pTag;
17518
17519 return *this;
17520}
17521
17522safe_VkDebugUtilsObjectTagInfoEXT::~safe_VkDebugUtilsObjectTagInfoEXT()
17523{
17524}
17525
17526void safe_VkDebugUtilsObjectTagInfoEXT::initialize(const VkDebugUtilsObjectTagInfoEXT* in_struct)
17527{
17528 sType = in_struct->sType;
17529 pNext = in_struct->pNext;
17530 objectType = in_struct->objectType;
17531 objectHandle = in_struct->objectHandle;
17532 tagName = in_struct->tagName;
17533 tagSize = in_struct->tagSize;
17534 pTag = in_struct->pTag;
17535}
17536
17537void safe_VkDebugUtilsObjectTagInfoEXT::initialize(const safe_VkDebugUtilsObjectTagInfoEXT* src)
17538{
17539 sType = src->sType;
17540 pNext = src->pNext;
17541 objectType = src->objectType;
17542 objectHandle = src->objectHandle;
17543 tagName = src->tagName;
17544 tagSize = src->tagSize;
17545 pTag = src->pTag;
17546}
17547
17548safe_VkDebugUtilsLabelEXT::safe_VkDebugUtilsLabelEXT(const VkDebugUtilsLabelEXT* in_struct) :
17549 sType(in_struct->sType),
17550 pNext(in_struct->pNext),
17551 pLabelName(in_struct->pLabelName)
17552{
17553 for (uint32_t i=0; i<4; ++i) {
17554 color[i] = in_struct->color[i];
17555 }
17556}
17557
17558safe_VkDebugUtilsLabelEXT::safe_VkDebugUtilsLabelEXT()
17559{}
17560
17561safe_VkDebugUtilsLabelEXT::safe_VkDebugUtilsLabelEXT(const safe_VkDebugUtilsLabelEXT& src)
17562{
17563 sType = src.sType;
17564 pNext = src.pNext;
17565 pLabelName = src.pLabelName;
17566 for (uint32_t i=0; i<4; ++i) {
17567 color[i] = src.color[i];
17568 }
17569}
17570
17571safe_VkDebugUtilsLabelEXT& safe_VkDebugUtilsLabelEXT::operator=(const safe_VkDebugUtilsLabelEXT& src)
17572{
17573 if (&src == this) return *this;
17574
17575
17576 sType = src.sType;
17577 pNext = src.pNext;
17578 pLabelName = src.pLabelName;
17579 for (uint32_t i=0; i<4; ++i) {
17580 color[i] = src.color[i];
17581 }
17582
17583 return *this;
17584}
17585
17586safe_VkDebugUtilsLabelEXT::~safe_VkDebugUtilsLabelEXT()
17587{
17588}
17589
17590void safe_VkDebugUtilsLabelEXT::initialize(const VkDebugUtilsLabelEXT* in_struct)
17591{
17592 sType = in_struct->sType;
17593 pNext = in_struct->pNext;
17594 pLabelName = in_struct->pLabelName;
17595 for (uint32_t i=0; i<4; ++i) {
17596 color[i] = in_struct->color[i];
17597 }
17598}
17599
17600void safe_VkDebugUtilsLabelEXT::initialize(const safe_VkDebugUtilsLabelEXT* src)
17601{
17602 sType = src->sType;
17603 pNext = src->pNext;
17604 pLabelName = src->pLabelName;
17605 for (uint32_t i=0; i<4; ++i) {
17606 color[i] = src->color[i];
17607 }
17608}
17609
17610safe_VkDebugUtilsMessengerCallbackDataEXT::safe_VkDebugUtilsMessengerCallbackDataEXT(const VkDebugUtilsMessengerCallbackDataEXT* in_struct) :
17611 sType(in_struct->sType),
17612 pNext(in_struct->pNext),
17613 flags(in_struct->flags),
17614 pMessageIdName(in_struct->pMessageIdName),
17615 messageIdNumber(in_struct->messageIdNumber),
17616 pMessage(in_struct->pMessage),
17617 queueLabelCount(in_struct->queueLabelCount),
17618 pQueueLabels(nullptr),
17619 cmdBufLabelCount(in_struct->cmdBufLabelCount),
17620 pCmdBufLabels(nullptr),
17621 objectCount(in_struct->objectCount),
17622 pObjects(nullptr)
17623{
17624 if (queueLabelCount && in_struct->pQueueLabels) {
17625 pQueueLabels = new safe_VkDebugUtilsLabelEXT[queueLabelCount];
17626 for (uint32_t i=0; i<queueLabelCount; ++i) {
17627 pQueueLabels[i].initialize(&in_struct->pQueueLabels[i]);
17628 }
17629 }
17630 if (cmdBufLabelCount && in_struct->pCmdBufLabels) {
17631 pCmdBufLabels = new safe_VkDebugUtilsLabelEXT[cmdBufLabelCount];
17632 for (uint32_t i=0; i<cmdBufLabelCount; ++i) {
17633 pCmdBufLabels[i].initialize(&in_struct->pCmdBufLabels[i]);
17634 }
17635 }
17636 if (objectCount && in_struct->pObjects) {
17637 pObjects = new safe_VkDebugUtilsObjectNameInfoEXT[objectCount];
17638 for (uint32_t i=0; i<objectCount; ++i) {
17639 pObjects[i].initialize(&in_struct->pObjects[i]);
17640 }
17641 }
17642}
17643
17644safe_VkDebugUtilsMessengerCallbackDataEXT::safe_VkDebugUtilsMessengerCallbackDataEXT() :
17645 pQueueLabels(nullptr),
17646 pCmdBufLabels(nullptr),
17647 pObjects(nullptr)
17648{}
17649
17650safe_VkDebugUtilsMessengerCallbackDataEXT::safe_VkDebugUtilsMessengerCallbackDataEXT(const safe_VkDebugUtilsMessengerCallbackDataEXT& src)
17651{
17652 sType = src.sType;
17653 pNext = src.pNext;
17654 flags = src.flags;
17655 pMessageIdName = src.pMessageIdName;
17656 messageIdNumber = src.messageIdNumber;
17657 pMessage = src.pMessage;
17658 queueLabelCount = src.queueLabelCount;
17659 pQueueLabels = nullptr;
17660 cmdBufLabelCount = src.cmdBufLabelCount;
17661 pCmdBufLabels = nullptr;
17662 objectCount = src.objectCount;
17663 pObjects = nullptr;
17664 if (queueLabelCount && src.pQueueLabels) {
17665 pQueueLabels = new safe_VkDebugUtilsLabelEXT[queueLabelCount];
17666 for (uint32_t i=0; i<queueLabelCount; ++i) {
17667 pQueueLabels[i].initialize(&src.pQueueLabels[i]);
17668 }
17669 }
17670 if (cmdBufLabelCount && src.pCmdBufLabels) {
17671 pCmdBufLabels = new safe_VkDebugUtilsLabelEXT[cmdBufLabelCount];
17672 for (uint32_t i=0; i<cmdBufLabelCount; ++i) {
17673 pCmdBufLabels[i].initialize(&src.pCmdBufLabels[i]);
17674 }
17675 }
17676 if (objectCount && src.pObjects) {
17677 pObjects = new safe_VkDebugUtilsObjectNameInfoEXT[objectCount];
17678 for (uint32_t i=0; i<objectCount; ++i) {
17679 pObjects[i].initialize(&src.pObjects[i]);
17680 }
17681 }
17682}
17683
17684safe_VkDebugUtilsMessengerCallbackDataEXT& safe_VkDebugUtilsMessengerCallbackDataEXT::operator=(const safe_VkDebugUtilsMessengerCallbackDataEXT& src)
17685{
17686 if (&src == this) return *this;
17687
17688 if (pQueueLabels)
17689 delete[] pQueueLabels;
17690 if (pCmdBufLabels)
17691 delete[] pCmdBufLabels;
17692 if (pObjects)
17693 delete[] pObjects;
17694
17695 sType = src.sType;
17696 pNext = src.pNext;
17697 flags = src.flags;
17698 pMessageIdName = src.pMessageIdName;
17699 messageIdNumber = src.messageIdNumber;
17700 pMessage = src.pMessage;
17701 queueLabelCount = src.queueLabelCount;
17702 pQueueLabels = nullptr;
17703 cmdBufLabelCount = src.cmdBufLabelCount;
17704 pCmdBufLabels = nullptr;
17705 objectCount = src.objectCount;
17706 pObjects = nullptr;
17707 if (queueLabelCount && src.pQueueLabels) {
17708 pQueueLabels = new safe_VkDebugUtilsLabelEXT[queueLabelCount];
17709 for (uint32_t i=0; i<queueLabelCount; ++i) {
17710 pQueueLabels[i].initialize(&src.pQueueLabels[i]);
17711 }
17712 }
17713 if (cmdBufLabelCount && src.pCmdBufLabels) {
17714 pCmdBufLabels = new safe_VkDebugUtilsLabelEXT[cmdBufLabelCount];
17715 for (uint32_t i=0; i<cmdBufLabelCount; ++i) {
17716 pCmdBufLabels[i].initialize(&src.pCmdBufLabels[i]);
17717 }
17718 }
17719 if (objectCount && src.pObjects) {
17720 pObjects = new safe_VkDebugUtilsObjectNameInfoEXT[objectCount];
17721 for (uint32_t i=0; i<objectCount; ++i) {
17722 pObjects[i].initialize(&src.pObjects[i]);
17723 }
17724 }
17725
17726 return *this;
17727}
17728
17729safe_VkDebugUtilsMessengerCallbackDataEXT::~safe_VkDebugUtilsMessengerCallbackDataEXT()
17730{
17731 if (pQueueLabels)
17732 delete[] pQueueLabels;
17733 if (pCmdBufLabels)
17734 delete[] pCmdBufLabels;
17735 if (pObjects)
17736 delete[] pObjects;
17737}
17738
17739void safe_VkDebugUtilsMessengerCallbackDataEXT::initialize(const VkDebugUtilsMessengerCallbackDataEXT* in_struct)
17740{
17741 sType = in_struct->sType;
17742 pNext = in_struct->pNext;
17743 flags = in_struct->flags;
17744 pMessageIdName = in_struct->pMessageIdName;
17745 messageIdNumber = in_struct->messageIdNumber;
17746 pMessage = in_struct->pMessage;
17747 queueLabelCount = in_struct->queueLabelCount;
17748 pQueueLabels = nullptr;
17749 cmdBufLabelCount = in_struct->cmdBufLabelCount;
17750 pCmdBufLabels = nullptr;
17751 objectCount = in_struct->objectCount;
17752 pObjects = nullptr;
17753 if (queueLabelCount && in_struct->pQueueLabels) {
17754 pQueueLabels = new safe_VkDebugUtilsLabelEXT[queueLabelCount];
17755 for (uint32_t i=0; i<queueLabelCount; ++i) {
17756 pQueueLabels[i].initialize(&in_struct->pQueueLabels[i]);
17757 }
17758 }
17759 if (cmdBufLabelCount && in_struct->pCmdBufLabels) {
17760 pCmdBufLabels = new safe_VkDebugUtilsLabelEXT[cmdBufLabelCount];
17761 for (uint32_t i=0; i<cmdBufLabelCount; ++i) {
17762 pCmdBufLabels[i].initialize(&in_struct->pCmdBufLabels[i]);
17763 }
17764 }
17765 if (objectCount && in_struct->pObjects) {
17766 pObjects = new safe_VkDebugUtilsObjectNameInfoEXT[objectCount];
17767 for (uint32_t i=0; i<objectCount; ++i) {
17768 pObjects[i].initialize(&in_struct->pObjects[i]);
17769 }
17770 }
17771}
17772
17773void safe_VkDebugUtilsMessengerCallbackDataEXT::initialize(const safe_VkDebugUtilsMessengerCallbackDataEXT* src)
17774{
17775 sType = src->sType;
17776 pNext = src->pNext;
17777 flags = src->flags;
17778 pMessageIdName = src->pMessageIdName;
17779 messageIdNumber = src->messageIdNumber;
17780 pMessage = src->pMessage;
17781 queueLabelCount = src->queueLabelCount;
17782 pQueueLabels = nullptr;
17783 cmdBufLabelCount = src->cmdBufLabelCount;
17784 pCmdBufLabels = nullptr;
17785 objectCount = src->objectCount;
17786 pObjects = nullptr;
17787 if (queueLabelCount && src->pQueueLabels) {
17788 pQueueLabels = new safe_VkDebugUtilsLabelEXT[queueLabelCount];
17789 for (uint32_t i=0; i<queueLabelCount; ++i) {
17790 pQueueLabels[i].initialize(&src->pQueueLabels[i]);
17791 }
17792 }
17793 if (cmdBufLabelCount && src->pCmdBufLabels) {
17794 pCmdBufLabels = new safe_VkDebugUtilsLabelEXT[cmdBufLabelCount];
17795 for (uint32_t i=0; i<cmdBufLabelCount; ++i) {
17796 pCmdBufLabels[i].initialize(&src->pCmdBufLabels[i]);
17797 }
17798 }
17799 if (objectCount && src->pObjects) {
17800 pObjects = new safe_VkDebugUtilsObjectNameInfoEXT[objectCount];
17801 for (uint32_t i=0; i<objectCount; ++i) {
17802 pObjects[i].initialize(&src->pObjects[i]);
17803 }
17804 }
17805}
17806
17807safe_VkDebugUtilsMessengerCreateInfoEXT::safe_VkDebugUtilsMessengerCreateInfoEXT(const VkDebugUtilsMessengerCreateInfoEXT* in_struct) :
17808 sType(in_struct->sType),
17809 pNext(in_struct->pNext),
17810 flags(in_struct->flags),
17811 messageSeverity(in_struct->messageSeverity),
17812 messageType(in_struct->messageType),
17813 pfnUserCallback(in_struct->pfnUserCallback),
17814 pUserData(in_struct->pUserData)
17815{
17816}
17817
17818safe_VkDebugUtilsMessengerCreateInfoEXT::safe_VkDebugUtilsMessengerCreateInfoEXT()
17819{}
17820
17821safe_VkDebugUtilsMessengerCreateInfoEXT::safe_VkDebugUtilsMessengerCreateInfoEXT(const safe_VkDebugUtilsMessengerCreateInfoEXT& src)
17822{
17823 sType = src.sType;
17824 pNext = src.pNext;
17825 flags = src.flags;
17826 messageSeverity = src.messageSeverity;
17827 messageType = src.messageType;
17828 pfnUserCallback = src.pfnUserCallback;
17829 pUserData = src.pUserData;
17830}
17831
17832safe_VkDebugUtilsMessengerCreateInfoEXT& safe_VkDebugUtilsMessengerCreateInfoEXT::operator=(const safe_VkDebugUtilsMessengerCreateInfoEXT& src)
17833{
17834 if (&src == this) return *this;
17835
17836
17837 sType = src.sType;
17838 pNext = src.pNext;
17839 flags = src.flags;
17840 messageSeverity = src.messageSeverity;
17841 messageType = src.messageType;
17842 pfnUserCallback = src.pfnUserCallback;
17843 pUserData = src.pUserData;
17844
17845 return *this;
17846}
17847
17848safe_VkDebugUtilsMessengerCreateInfoEXT::~safe_VkDebugUtilsMessengerCreateInfoEXT()
17849{
17850}
17851
17852void safe_VkDebugUtilsMessengerCreateInfoEXT::initialize(const VkDebugUtilsMessengerCreateInfoEXT* in_struct)
17853{
17854 sType = in_struct->sType;
17855 pNext = in_struct->pNext;
17856 flags = in_struct->flags;
17857 messageSeverity = in_struct->messageSeverity;
17858 messageType = in_struct->messageType;
17859 pfnUserCallback = in_struct->pfnUserCallback;
17860 pUserData = in_struct->pUserData;
17861}
17862
17863void safe_VkDebugUtilsMessengerCreateInfoEXT::initialize(const safe_VkDebugUtilsMessengerCreateInfoEXT* src)
17864{
17865 sType = src->sType;
17866 pNext = src->pNext;
17867 flags = src->flags;
17868 messageSeverity = src->messageSeverity;
17869 messageType = src->messageType;
17870 pfnUserCallback = src->pfnUserCallback;
17871 pUserData = src->pUserData;
17872}
17873#ifdef VK_USE_PLATFORM_ANDROID_KHR
17874
17875
17876safe_VkAndroidHardwareBufferUsageANDROID::safe_VkAndroidHardwareBufferUsageANDROID(const VkAndroidHardwareBufferUsageANDROID* in_struct) :
17877 sType(in_struct->sType),
17878 pNext(in_struct->pNext),
17879 androidHardwareBufferUsage(in_struct->androidHardwareBufferUsage)
17880{
17881}
17882
17883safe_VkAndroidHardwareBufferUsageANDROID::safe_VkAndroidHardwareBufferUsageANDROID()
17884{}
17885
17886safe_VkAndroidHardwareBufferUsageANDROID::safe_VkAndroidHardwareBufferUsageANDROID(const safe_VkAndroidHardwareBufferUsageANDROID& src)
17887{
17888 sType = src.sType;
17889 pNext = src.pNext;
17890 androidHardwareBufferUsage = src.androidHardwareBufferUsage;
17891}
17892
17893safe_VkAndroidHardwareBufferUsageANDROID& safe_VkAndroidHardwareBufferUsageANDROID::operator=(const safe_VkAndroidHardwareBufferUsageANDROID& src)
17894{
17895 if (&src == this) return *this;
17896
17897
17898 sType = src.sType;
17899 pNext = src.pNext;
17900 androidHardwareBufferUsage = src.androidHardwareBufferUsage;
17901
17902 return *this;
17903}
17904
17905safe_VkAndroidHardwareBufferUsageANDROID::~safe_VkAndroidHardwareBufferUsageANDROID()
17906{
17907}
17908
17909void safe_VkAndroidHardwareBufferUsageANDROID::initialize(const VkAndroidHardwareBufferUsageANDROID* in_struct)
17910{
17911 sType = in_struct->sType;
17912 pNext = in_struct->pNext;
17913 androidHardwareBufferUsage = in_struct->androidHardwareBufferUsage;
17914}
17915
17916void safe_VkAndroidHardwareBufferUsageANDROID::initialize(const safe_VkAndroidHardwareBufferUsageANDROID* src)
17917{
17918 sType = src->sType;
17919 pNext = src->pNext;
17920 androidHardwareBufferUsage = src->androidHardwareBufferUsage;
17921}
17922#endif // VK_USE_PLATFORM_ANDROID_KHR
17923
17924#ifdef VK_USE_PLATFORM_ANDROID_KHR
17925
17926
17927safe_VkAndroidHardwareBufferPropertiesANDROID::safe_VkAndroidHardwareBufferPropertiesANDROID(const VkAndroidHardwareBufferPropertiesANDROID* in_struct) :
17928 sType(in_struct->sType),
17929 pNext(in_struct->pNext),
17930 allocationSize(in_struct->allocationSize),
17931 memoryTypeBits(in_struct->memoryTypeBits)
17932{
17933}
17934
17935safe_VkAndroidHardwareBufferPropertiesANDROID::safe_VkAndroidHardwareBufferPropertiesANDROID()
17936{}
17937
17938safe_VkAndroidHardwareBufferPropertiesANDROID::safe_VkAndroidHardwareBufferPropertiesANDROID(const safe_VkAndroidHardwareBufferPropertiesANDROID& src)
17939{
17940 sType = src.sType;
17941 pNext = src.pNext;
17942 allocationSize = src.allocationSize;
17943 memoryTypeBits = src.memoryTypeBits;
17944}
17945
17946safe_VkAndroidHardwareBufferPropertiesANDROID& safe_VkAndroidHardwareBufferPropertiesANDROID::operator=(const safe_VkAndroidHardwareBufferPropertiesANDROID& src)
17947{
17948 if (&src == this) return *this;
17949
17950
17951 sType = src.sType;
17952 pNext = src.pNext;
17953 allocationSize = src.allocationSize;
17954 memoryTypeBits = src.memoryTypeBits;
17955
17956 return *this;
17957}
17958
17959safe_VkAndroidHardwareBufferPropertiesANDROID::~safe_VkAndroidHardwareBufferPropertiesANDROID()
17960{
17961}
17962
17963void safe_VkAndroidHardwareBufferPropertiesANDROID::initialize(const VkAndroidHardwareBufferPropertiesANDROID* in_struct)
17964{
17965 sType = in_struct->sType;
17966 pNext = in_struct->pNext;
17967 allocationSize = in_struct->allocationSize;
17968 memoryTypeBits = in_struct->memoryTypeBits;
17969}
17970
17971void safe_VkAndroidHardwareBufferPropertiesANDROID::initialize(const safe_VkAndroidHardwareBufferPropertiesANDROID* src)
17972{
17973 sType = src->sType;
17974 pNext = src->pNext;
17975 allocationSize = src->allocationSize;
17976 memoryTypeBits = src->memoryTypeBits;
17977}
17978#endif // VK_USE_PLATFORM_ANDROID_KHR
17979
17980#ifdef VK_USE_PLATFORM_ANDROID_KHR
17981
17982
17983safe_VkAndroidHardwareBufferFormatPropertiesANDROID::safe_VkAndroidHardwareBufferFormatPropertiesANDROID(const VkAndroidHardwareBufferFormatPropertiesANDROID* in_struct) :
17984 sType(in_struct->sType),
17985 pNext(in_struct->pNext),
17986 format(in_struct->format),
17987 externalFormat(in_struct->externalFormat),
17988 formatFeatures(in_struct->formatFeatures),
17989 samplerYcbcrConversionComponents(in_struct->samplerYcbcrConversionComponents),
17990 suggestedYcbcrModel(in_struct->suggestedYcbcrModel),
17991 suggestedYcbcrRange(in_struct->suggestedYcbcrRange),
17992 suggestedXChromaOffset(in_struct->suggestedXChromaOffset),
17993 suggestedYChromaOffset(in_struct->suggestedYChromaOffset)
17994{
17995}
17996
17997safe_VkAndroidHardwareBufferFormatPropertiesANDROID::safe_VkAndroidHardwareBufferFormatPropertiesANDROID()
17998{}
17999
18000safe_VkAndroidHardwareBufferFormatPropertiesANDROID::safe_VkAndroidHardwareBufferFormatPropertiesANDROID(const safe_VkAndroidHardwareBufferFormatPropertiesANDROID& src)
18001{
18002 sType = src.sType;
18003 pNext = src.pNext;
18004 format = src.format;
18005 externalFormat = src.externalFormat;
18006 formatFeatures = src.formatFeatures;
18007 samplerYcbcrConversionComponents = src.samplerYcbcrConversionComponents;
18008 suggestedYcbcrModel = src.suggestedYcbcrModel;
18009 suggestedYcbcrRange = src.suggestedYcbcrRange;
18010 suggestedXChromaOffset = src.suggestedXChromaOffset;
18011 suggestedYChromaOffset = src.suggestedYChromaOffset;
18012}
18013
18014safe_VkAndroidHardwareBufferFormatPropertiesANDROID& safe_VkAndroidHardwareBufferFormatPropertiesANDROID::operator=(const safe_VkAndroidHardwareBufferFormatPropertiesANDROID& src)
18015{
18016 if (&src == this) return *this;
18017
18018
18019 sType = src.sType;
18020 pNext = src.pNext;
18021 format = src.format;
18022 externalFormat = src.externalFormat;
18023 formatFeatures = src.formatFeatures;
18024 samplerYcbcrConversionComponents = src.samplerYcbcrConversionComponents;
18025 suggestedYcbcrModel = src.suggestedYcbcrModel;
18026 suggestedYcbcrRange = src.suggestedYcbcrRange;
18027 suggestedXChromaOffset = src.suggestedXChromaOffset;
18028 suggestedYChromaOffset = src.suggestedYChromaOffset;
18029
18030 return *this;
18031}
18032
18033safe_VkAndroidHardwareBufferFormatPropertiesANDROID::~safe_VkAndroidHardwareBufferFormatPropertiesANDROID()
18034{
18035}
18036
18037void safe_VkAndroidHardwareBufferFormatPropertiesANDROID::initialize(const VkAndroidHardwareBufferFormatPropertiesANDROID* in_struct)
18038{
18039 sType = in_struct->sType;
18040 pNext = in_struct->pNext;
18041 format = in_struct->format;
18042 externalFormat = in_struct->externalFormat;
18043 formatFeatures = in_struct->formatFeatures;
18044 samplerYcbcrConversionComponents = in_struct->samplerYcbcrConversionComponents;
18045 suggestedYcbcrModel = in_struct->suggestedYcbcrModel;
18046 suggestedYcbcrRange = in_struct->suggestedYcbcrRange;
18047 suggestedXChromaOffset = in_struct->suggestedXChromaOffset;
18048 suggestedYChromaOffset = in_struct->suggestedYChromaOffset;
18049}
18050
18051void safe_VkAndroidHardwareBufferFormatPropertiesANDROID::initialize(const safe_VkAndroidHardwareBufferFormatPropertiesANDROID* src)
18052{
18053 sType = src->sType;
18054 pNext = src->pNext;
18055 format = src->format;
18056 externalFormat = src->externalFormat;
18057 formatFeatures = src->formatFeatures;
18058 samplerYcbcrConversionComponents = src->samplerYcbcrConversionComponents;
18059 suggestedYcbcrModel = src->suggestedYcbcrModel;
18060 suggestedYcbcrRange = src->suggestedYcbcrRange;
18061 suggestedXChromaOffset = src->suggestedXChromaOffset;
18062 suggestedYChromaOffset = src->suggestedYChromaOffset;
18063}
18064#endif // VK_USE_PLATFORM_ANDROID_KHR
18065
18066#ifdef VK_USE_PLATFORM_ANDROID_KHR
18067
18068
18069safe_VkImportAndroidHardwareBufferInfoANDROID::safe_VkImportAndroidHardwareBufferInfoANDROID(const VkImportAndroidHardwareBufferInfoANDROID* in_struct) :
18070 sType(in_struct->sType),
18071 pNext(in_struct->pNext),
18072 buffer(nullptr)
18073{
18074 buffer = in_struct->buffer;
18075}
18076
18077safe_VkImportAndroidHardwareBufferInfoANDROID::safe_VkImportAndroidHardwareBufferInfoANDROID() :
18078 buffer(nullptr)
18079{}
18080
18081safe_VkImportAndroidHardwareBufferInfoANDROID::safe_VkImportAndroidHardwareBufferInfoANDROID(const safe_VkImportAndroidHardwareBufferInfoANDROID& src)
18082{
18083 sType = src.sType;
18084 pNext = src.pNext;
18085 buffer = src.buffer;
18086}
18087
18088safe_VkImportAndroidHardwareBufferInfoANDROID& safe_VkImportAndroidHardwareBufferInfoANDROID::operator=(const safe_VkImportAndroidHardwareBufferInfoANDROID& src)
18089{
18090 if (&src == this) return *this;
18091
18092
18093 sType = src.sType;
18094 pNext = src.pNext;
18095 buffer = src.buffer;
18096
18097 return *this;
18098}
18099
18100safe_VkImportAndroidHardwareBufferInfoANDROID::~safe_VkImportAndroidHardwareBufferInfoANDROID()
18101{
18102}
18103
18104void safe_VkImportAndroidHardwareBufferInfoANDROID::initialize(const VkImportAndroidHardwareBufferInfoANDROID* in_struct)
18105{
18106 sType = in_struct->sType;
18107 pNext = in_struct->pNext;
18108 buffer = in_struct->buffer;
18109}
18110
18111void safe_VkImportAndroidHardwareBufferInfoANDROID::initialize(const safe_VkImportAndroidHardwareBufferInfoANDROID* src)
18112{
18113 sType = src->sType;
18114 pNext = src->pNext;
18115 buffer = src->buffer;
18116}
18117#endif // VK_USE_PLATFORM_ANDROID_KHR
18118
18119#ifdef VK_USE_PLATFORM_ANDROID_KHR
18120
18121
18122safe_VkMemoryGetAndroidHardwareBufferInfoANDROID::safe_VkMemoryGetAndroidHardwareBufferInfoANDROID(const VkMemoryGetAndroidHardwareBufferInfoANDROID* in_struct) :
18123 sType(in_struct->sType),
18124 pNext(in_struct->pNext),
18125 memory(in_struct->memory)
18126{
18127}
18128
18129safe_VkMemoryGetAndroidHardwareBufferInfoANDROID::safe_VkMemoryGetAndroidHardwareBufferInfoANDROID()
18130{}
18131
18132safe_VkMemoryGetAndroidHardwareBufferInfoANDROID::safe_VkMemoryGetAndroidHardwareBufferInfoANDROID(const safe_VkMemoryGetAndroidHardwareBufferInfoANDROID& src)
18133{
18134 sType = src.sType;
18135 pNext = src.pNext;
18136 memory = src.memory;
18137}
18138
18139safe_VkMemoryGetAndroidHardwareBufferInfoANDROID& safe_VkMemoryGetAndroidHardwareBufferInfoANDROID::operator=(const safe_VkMemoryGetAndroidHardwareBufferInfoANDROID& src)
18140{
18141 if (&src == this) return *this;
18142
18143
18144 sType = src.sType;
18145 pNext = src.pNext;
18146 memory = src.memory;
18147
18148 return *this;
18149}
18150
18151safe_VkMemoryGetAndroidHardwareBufferInfoANDROID::~safe_VkMemoryGetAndroidHardwareBufferInfoANDROID()
18152{
18153}
18154
18155void safe_VkMemoryGetAndroidHardwareBufferInfoANDROID::initialize(const VkMemoryGetAndroidHardwareBufferInfoANDROID* in_struct)
18156{
18157 sType = in_struct->sType;
18158 pNext = in_struct->pNext;
18159 memory = in_struct->memory;
18160}
18161
18162void safe_VkMemoryGetAndroidHardwareBufferInfoANDROID::initialize(const safe_VkMemoryGetAndroidHardwareBufferInfoANDROID* src)
18163{
18164 sType = src->sType;
18165 pNext = src->pNext;
18166 memory = src->memory;
18167}
18168#endif // VK_USE_PLATFORM_ANDROID_KHR
18169
18170#ifdef VK_USE_PLATFORM_ANDROID_KHR
18171
18172
18173safe_VkExternalFormatANDROID::safe_VkExternalFormatANDROID(const VkExternalFormatANDROID* in_struct) :
18174 sType(in_struct->sType),
18175 pNext(in_struct->pNext),
18176 externalFormat(in_struct->externalFormat)
18177{
18178}
18179
18180safe_VkExternalFormatANDROID::safe_VkExternalFormatANDROID()
18181{}
18182
18183safe_VkExternalFormatANDROID::safe_VkExternalFormatANDROID(const safe_VkExternalFormatANDROID& src)
18184{
18185 sType = src.sType;
18186 pNext = src.pNext;
18187 externalFormat = src.externalFormat;
18188}
18189
18190safe_VkExternalFormatANDROID& safe_VkExternalFormatANDROID::operator=(const safe_VkExternalFormatANDROID& src)
18191{
18192 if (&src == this) return *this;
18193
18194
18195 sType = src.sType;
18196 pNext = src.pNext;
18197 externalFormat = src.externalFormat;
18198
18199 return *this;
18200}
18201
18202safe_VkExternalFormatANDROID::~safe_VkExternalFormatANDROID()
18203{
18204}
18205
18206void safe_VkExternalFormatANDROID::initialize(const VkExternalFormatANDROID* in_struct)
18207{
18208 sType = in_struct->sType;
18209 pNext = in_struct->pNext;
18210 externalFormat = in_struct->externalFormat;
18211}
18212
18213void safe_VkExternalFormatANDROID::initialize(const safe_VkExternalFormatANDROID* src)
18214{
18215 sType = src->sType;
18216 pNext = src->pNext;
18217 externalFormat = src->externalFormat;
18218}
18219#endif // VK_USE_PLATFORM_ANDROID_KHR
18220
18221
18222safe_VkSamplerReductionModeCreateInfoEXT::safe_VkSamplerReductionModeCreateInfoEXT(const VkSamplerReductionModeCreateInfoEXT* in_struct) :
18223 sType(in_struct->sType),
18224 pNext(in_struct->pNext),
18225 reductionMode(in_struct->reductionMode)
18226{
18227}
18228
18229safe_VkSamplerReductionModeCreateInfoEXT::safe_VkSamplerReductionModeCreateInfoEXT()
18230{}
18231
18232safe_VkSamplerReductionModeCreateInfoEXT::safe_VkSamplerReductionModeCreateInfoEXT(const safe_VkSamplerReductionModeCreateInfoEXT& src)
18233{
18234 sType = src.sType;
18235 pNext = src.pNext;
18236 reductionMode = src.reductionMode;
18237}
18238
18239safe_VkSamplerReductionModeCreateInfoEXT& safe_VkSamplerReductionModeCreateInfoEXT::operator=(const safe_VkSamplerReductionModeCreateInfoEXT& src)
18240{
18241 if (&src == this) return *this;
18242
18243
18244 sType = src.sType;
18245 pNext = src.pNext;
18246 reductionMode = src.reductionMode;
18247
18248 return *this;
18249}
18250
18251safe_VkSamplerReductionModeCreateInfoEXT::~safe_VkSamplerReductionModeCreateInfoEXT()
18252{
18253}
18254
18255void safe_VkSamplerReductionModeCreateInfoEXT::initialize(const VkSamplerReductionModeCreateInfoEXT* in_struct)
18256{
18257 sType = in_struct->sType;
18258 pNext = in_struct->pNext;
18259 reductionMode = in_struct->reductionMode;
18260}
18261
18262void safe_VkSamplerReductionModeCreateInfoEXT::initialize(const safe_VkSamplerReductionModeCreateInfoEXT* src)
18263{
18264 sType = src->sType;
18265 pNext = src->pNext;
18266 reductionMode = src->reductionMode;
18267}
18268
18269safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT::safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT(const VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT* in_struct) :
18270 sType(in_struct->sType),
18271 pNext(in_struct->pNext),
18272 filterMinmaxSingleComponentFormats(in_struct->filterMinmaxSingleComponentFormats),
18273 filterMinmaxImageComponentMapping(in_struct->filterMinmaxImageComponentMapping)
18274{
18275}
18276
18277safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT::safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT()
18278{}
18279
18280safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT::safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT(const safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT& src)
18281{
18282 sType = src.sType;
18283 pNext = src.pNext;
18284 filterMinmaxSingleComponentFormats = src.filterMinmaxSingleComponentFormats;
18285 filterMinmaxImageComponentMapping = src.filterMinmaxImageComponentMapping;
18286}
18287
18288safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT& safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT::operator=(const safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT& src)
18289{
18290 if (&src == this) return *this;
18291
18292
18293 sType = src.sType;
18294 pNext = src.pNext;
18295 filterMinmaxSingleComponentFormats = src.filterMinmaxSingleComponentFormats;
18296 filterMinmaxImageComponentMapping = src.filterMinmaxImageComponentMapping;
18297
18298 return *this;
18299}
18300
18301safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT::~safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT()
18302{
18303}
18304
18305void safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT::initialize(const VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT* in_struct)
18306{
18307 sType = in_struct->sType;
18308 pNext = in_struct->pNext;
18309 filterMinmaxSingleComponentFormats = in_struct->filterMinmaxSingleComponentFormats;
18310 filterMinmaxImageComponentMapping = in_struct->filterMinmaxImageComponentMapping;
18311}
18312
18313void safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT::initialize(const safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT* src)
18314{
18315 sType = src->sType;
18316 pNext = src->pNext;
18317 filterMinmaxSingleComponentFormats = src->filterMinmaxSingleComponentFormats;
18318 filterMinmaxImageComponentMapping = src->filterMinmaxImageComponentMapping;
18319}
18320
18321safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT::safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT(const VkPhysicalDeviceInlineUniformBlockFeaturesEXT* in_struct) :
18322 sType(in_struct->sType),
18323 pNext(in_struct->pNext),
18324 inlineUniformBlock(in_struct->inlineUniformBlock),
18325 descriptorBindingInlineUniformBlockUpdateAfterBind(in_struct->descriptorBindingInlineUniformBlockUpdateAfterBind)
18326{
18327}
18328
18329safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT::safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT()
18330{}
18331
18332safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT::safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT(const safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT& src)
18333{
18334 sType = src.sType;
18335 pNext = src.pNext;
18336 inlineUniformBlock = src.inlineUniformBlock;
18337 descriptorBindingInlineUniformBlockUpdateAfterBind = src.descriptorBindingInlineUniformBlockUpdateAfterBind;
18338}
18339
18340safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT& safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT::operator=(const safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT& src)
18341{
18342 if (&src == this) return *this;
18343
18344
18345 sType = src.sType;
18346 pNext = src.pNext;
18347 inlineUniformBlock = src.inlineUniformBlock;
18348 descriptorBindingInlineUniformBlockUpdateAfterBind = src.descriptorBindingInlineUniformBlockUpdateAfterBind;
18349
18350 return *this;
18351}
18352
18353safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT::~safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT()
18354{
18355}
18356
18357void safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT::initialize(const VkPhysicalDeviceInlineUniformBlockFeaturesEXT* in_struct)
18358{
18359 sType = in_struct->sType;
18360 pNext = in_struct->pNext;
18361 inlineUniformBlock = in_struct->inlineUniformBlock;
18362 descriptorBindingInlineUniformBlockUpdateAfterBind = in_struct->descriptorBindingInlineUniformBlockUpdateAfterBind;
18363}
18364
18365void safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT::initialize(const safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT* src)
18366{
18367 sType = src->sType;
18368 pNext = src->pNext;
18369 inlineUniformBlock = src->inlineUniformBlock;
18370 descriptorBindingInlineUniformBlockUpdateAfterBind = src->descriptorBindingInlineUniformBlockUpdateAfterBind;
18371}
18372
18373safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT::safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT(const VkPhysicalDeviceInlineUniformBlockPropertiesEXT* in_struct) :
18374 sType(in_struct->sType),
18375 pNext(in_struct->pNext),
18376 maxInlineUniformBlockSize(in_struct->maxInlineUniformBlockSize),
18377 maxPerStageDescriptorInlineUniformBlocks(in_struct->maxPerStageDescriptorInlineUniformBlocks),
18378 maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks(in_struct->maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks),
18379 maxDescriptorSetInlineUniformBlocks(in_struct->maxDescriptorSetInlineUniformBlocks),
18380 maxDescriptorSetUpdateAfterBindInlineUniformBlocks(in_struct->maxDescriptorSetUpdateAfterBindInlineUniformBlocks)
18381{
18382}
18383
18384safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT::safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT()
18385{}
18386
18387safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT::safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT(const safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT& src)
18388{
18389 sType = src.sType;
18390 pNext = src.pNext;
18391 maxInlineUniformBlockSize = src.maxInlineUniformBlockSize;
18392 maxPerStageDescriptorInlineUniformBlocks = src.maxPerStageDescriptorInlineUniformBlocks;
18393 maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks = src.maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks;
18394 maxDescriptorSetInlineUniformBlocks = src.maxDescriptorSetInlineUniformBlocks;
18395 maxDescriptorSetUpdateAfterBindInlineUniformBlocks = src.maxDescriptorSetUpdateAfterBindInlineUniformBlocks;
18396}
18397
18398safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT& safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT::operator=(const safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT& src)
18399{
18400 if (&src == this) return *this;
18401
18402
18403 sType = src.sType;
18404 pNext = src.pNext;
18405 maxInlineUniformBlockSize = src.maxInlineUniformBlockSize;
18406 maxPerStageDescriptorInlineUniformBlocks = src.maxPerStageDescriptorInlineUniformBlocks;
18407 maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks = src.maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks;
18408 maxDescriptorSetInlineUniformBlocks = src.maxDescriptorSetInlineUniformBlocks;
18409 maxDescriptorSetUpdateAfterBindInlineUniformBlocks = src.maxDescriptorSetUpdateAfterBindInlineUniformBlocks;
18410
18411 return *this;
18412}
18413
18414safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT::~safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT()
18415{
18416}
18417
18418void safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT::initialize(const VkPhysicalDeviceInlineUniformBlockPropertiesEXT* in_struct)
18419{
18420 sType = in_struct->sType;
18421 pNext = in_struct->pNext;
18422 maxInlineUniformBlockSize = in_struct->maxInlineUniformBlockSize;
18423 maxPerStageDescriptorInlineUniformBlocks = in_struct->maxPerStageDescriptorInlineUniformBlocks;
18424 maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks = in_struct->maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks;
18425 maxDescriptorSetInlineUniformBlocks = in_struct->maxDescriptorSetInlineUniformBlocks;
18426 maxDescriptorSetUpdateAfterBindInlineUniformBlocks = in_struct->maxDescriptorSetUpdateAfterBindInlineUniformBlocks;
18427}
18428
18429void safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT::initialize(const safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT* src)
18430{
18431 sType = src->sType;
18432 pNext = src->pNext;
18433 maxInlineUniformBlockSize = src->maxInlineUniformBlockSize;
18434 maxPerStageDescriptorInlineUniformBlocks = src->maxPerStageDescriptorInlineUniformBlocks;
18435 maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks = src->maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks;
18436 maxDescriptorSetInlineUniformBlocks = src->maxDescriptorSetInlineUniformBlocks;
18437 maxDescriptorSetUpdateAfterBindInlineUniformBlocks = src->maxDescriptorSetUpdateAfterBindInlineUniformBlocks;
18438}
18439
18440safe_VkWriteDescriptorSetInlineUniformBlockEXT::safe_VkWriteDescriptorSetInlineUniformBlockEXT(const VkWriteDescriptorSetInlineUniformBlockEXT* in_struct) :
18441 sType(in_struct->sType),
18442 pNext(in_struct->pNext),
18443 dataSize(in_struct->dataSize),
18444 pData(in_struct->pData)
18445{
18446}
18447
18448safe_VkWriteDescriptorSetInlineUniformBlockEXT::safe_VkWriteDescriptorSetInlineUniformBlockEXT()
18449{}
18450
18451safe_VkWriteDescriptorSetInlineUniformBlockEXT::safe_VkWriteDescriptorSetInlineUniformBlockEXT(const safe_VkWriteDescriptorSetInlineUniformBlockEXT& src)
18452{
18453 sType = src.sType;
18454 pNext = src.pNext;
18455 dataSize = src.dataSize;
18456 pData = src.pData;
18457}
18458
18459safe_VkWriteDescriptorSetInlineUniformBlockEXT& safe_VkWriteDescriptorSetInlineUniformBlockEXT::operator=(const safe_VkWriteDescriptorSetInlineUniformBlockEXT& src)
18460{
18461 if (&src == this) return *this;
18462
18463
18464 sType = src.sType;
18465 pNext = src.pNext;
18466 dataSize = src.dataSize;
18467 pData = src.pData;
18468
18469 return *this;
18470}
18471
18472safe_VkWriteDescriptorSetInlineUniformBlockEXT::~safe_VkWriteDescriptorSetInlineUniformBlockEXT()
18473{
18474}
18475
18476void safe_VkWriteDescriptorSetInlineUniformBlockEXT::initialize(const VkWriteDescriptorSetInlineUniformBlockEXT* in_struct)
18477{
18478 sType = in_struct->sType;
18479 pNext = in_struct->pNext;
18480 dataSize = in_struct->dataSize;
18481 pData = in_struct->pData;
18482}
18483
18484void safe_VkWriteDescriptorSetInlineUniformBlockEXT::initialize(const safe_VkWriteDescriptorSetInlineUniformBlockEXT* src)
18485{
18486 sType = src->sType;
18487 pNext = src->pNext;
18488 dataSize = src->dataSize;
18489 pData = src->pData;
18490}
18491
18492safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT::safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT(const VkDescriptorPoolInlineUniformBlockCreateInfoEXT* in_struct) :
18493 sType(in_struct->sType),
18494 pNext(in_struct->pNext),
18495 maxInlineUniformBlockBindings(in_struct->maxInlineUniformBlockBindings)
18496{
18497}
18498
18499safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT::safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT()
18500{}
18501
18502safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT::safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT(const safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT& src)
18503{
18504 sType = src.sType;
18505 pNext = src.pNext;
18506 maxInlineUniformBlockBindings = src.maxInlineUniformBlockBindings;
18507}
18508
18509safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT& safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT::operator=(const safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT& src)
18510{
18511 if (&src == this) return *this;
18512
18513
18514 sType = src.sType;
18515 pNext = src.pNext;
18516 maxInlineUniformBlockBindings = src.maxInlineUniformBlockBindings;
18517
18518 return *this;
18519}
18520
18521safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT::~safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT()
18522{
18523}
18524
18525void safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT::initialize(const VkDescriptorPoolInlineUniformBlockCreateInfoEXT* in_struct)
18526{
18527 sType = in_struct->sType;
18528 pNext = in_struct->pNext;
18529 maxInlineUniformBlockBindings = in_struct->maxInlineUniformBlockBindings;
18530}
18531
18532void safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT::initialize(const safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT* src)
18533{
18534 sType = src->sType;
18535 pNext = src->pNext;
18536 maxInlineUniformBlockBindings = src->maxInlineUniformBlockBindings;
18537}
18538
18539safe_VkSampleLocationsInfoEXT::safe_VkSampleLocationsInfoEXT(const VkSampleLocationsInfoEXT* in_struct) :
18540 sType(in_struct->sType),
18541 pNext(in_struct->pNext),
18542 sampleLocationsPerPixel(in_struct->sampleLocationsPerPixel),
18543 sampleLocationGridSize(in_struct->sampleLocationGridSize),
18544 sampleLocationsCount(in_struct->sampleLocationsCount),
18545 pSampleLocations(nullptr)
18546{
18547 if (in_struct->pSampleLocations) {
18548 pSampleLocations = new VkSampleLocationEXT[in_struct->sampleLocationsCount];
18549 memcpy ((void *)pSampleLocations, (void *)in_struct->pSampleLocations, sizeof(VkSampleLocationEXT)*in_struct->sampleLocationsCount);
18550 }
18551}
18552
18553safe_VkSampleLocationsInfoEXT::safe_VkSampleLocationsInfoEXT() :
18554 pSampleLocations(nullptr)
18555{}
18556
18557safe_VkSampleLocationsInfoEXT::safe_VkSampleLocationsInfoEXT(const safe_VkSampleLocationsInfoEXT& src)
18558{
18559 sType = src.sType;
18560 pNext = src.pNext;
18561 sampleLocationsPerPixel = src.sampleLocationsPerPixel;
18562 sampleLocationGridSize = src.sampleLocationGridSize;
18563 sampleLocationsCount = src.sampleLocationsCount;
18564 pSampleLocations = nullptr;
18565 if (src.pSampleLocations) {
18566 pSampleLocations = new VkSampleLocationEXT[src.sampleLocationsCount];
18567 memcpy ((void *)pSampleLocations, (void *)src.pSampleLocations, sizeof(VkSampleLocationEXT)*src.sampleLocationsCount);
18568 }
18569}
18570
18571safe_VkSampleLocationsInfoEXT& safe_VkSampleLocationsInfoEXT::operator=(const safe_VkSampleLocationsInfoEXT& src)
18572{
18573 if (&src == this) return *this;
18574
18575 if (pSampleLocations)
18576 delete[] pSampleLocations;
18577
18578 sType = src.sType;
18579 pNext = src.pNext;
18580 sampleLocationsPerPixel = src.sampleLocationsPerPixel;
18581 sampleLocationGridSize = src.sampleLocationGridSize;
18582 sampleLocationsCount = src.sampleLocationsCount;
18583 pSampleLocations = nullptr;
18584 if (src.pSampleLocations) {
18585 pSampleLocations = new VkSampleLocationEXT[src.sampleLocationsCount];
18586 memcpy ((void *)pSampleLocations, (void *)src.pSampleLocations, sizeof(VkSampleLocationEXT)*src.sampleLocationsCount);
18587 }
18588
18589 return *this;
18590}
18591
18592safe_VkSampleLocationsInfoEXT::~safe_VkSampleLocationsInfoEXT()
18593{
18594 if (pSampleLocations)
18595 delete[] pSampleLocations;
18596}
18597
18598void safe_VkSampleLocationsInfoEXT::initialize(const VkSampleLocationsInfoEXT* in_struct)
18599{
18600 sType = in_struct->sType;
18601 pNext = in_struct->pNext;
18602 sampleLocationsPerPixel = in_struct->sampleLocationsPerPixel;
18603 sampleLocationGridSize = in_struct->sampleLocationGridSize;
18604 sampleLocationsCount = in_struct->sampleLocationsCount;
18605 pSampleLocations = nullptr;
18606 if (in_struct->pSampleLocations) {
18607 pSampleLocations = new VkSampleLocationEXT[in_struct->sampleLocationsCount];
18608 memcpy ((void *)pSampleLocations, (void *)in_struct->pSampleLocations, sizeof(VkSampleLocationEXT)*in_struct->sampleLocationsCount);
18609 }
18610}
18611
18612void safe_VkSampleLocationsInfoEXT::initialize(const safe_VkSampleLocationsInfoEXT* src)
18613{
18614 sType = src->sType;
18615 pNext = src->pNext;
18616 sampleLocationsPerPixel = src->sampleLocationsPerPixel;
18617 sampleLocationGridSize = src->sampleLocationGridSize;
18618 sampleLocationsCount = src->sampleLocationsCount;
18619 pSampleLocations = nullptr;
18620 if (src->pSampleLocations) {
18621 pSampleLocations = new VkSampleLocationEXT[src->sampleLocationsCount];
18622 memcpy ((void *)pSampleLocations, (void *)src->pSampleLocations, sizeof(VkSampleLocationEXT)*src->sampleLocationsCount);
18623 }
18624}
18625
18626safe_VkRenderPassSampleLocationsBeginInfoEXT::safe_VkRenderPassSampleLocationsBeginInfoEXT(const VkRenderPassSampleLocationsBeginInfoEXT* in_struct) :
18627 sType(in_struct->sType),
18628 pNext(in_struct->pNext),
18629 attachmentInitialSampleLocationsCount(in_struct->attachmentInitialSampleLocationsCount),
18630 pAttachmentInitialSampleLocations(nullptr),
18631 postSubpassSampleLocationsCount(in_struct->postSubpassSampleLocationsCount),
18632 pPostSubpassSampleLocations(nullptr)
18633{
18634 if (in_struct->pAttachmentInitialSampleLocations) {
18635 pAttachmentInitialSampleLocations = new VkAttachmentSampleLocationsEXT[in_struct->attachmentInitialSampleLocationsCount];
18636 memcpy ((void *)pAttachmentInitialSampleLocations, (void *)in_struct->pAttachmentInitialSampleLocations, sizeof(VkAttachmentSampleLocationsEXT)*in_struct->attachmentInitialSampleLocationsCount);
18637 }
18638 if (in_struct->pPostSubpassSampleLocations) {
18639 pPostSubpassSampleLocations = new VkSubpassSampleLocationsEXT[in_struct->postSubpassSampleLocationsCount];
18640 memcpy ((void *)pPostSubpassSampleLocations, (void *)in_struct->pPostSubpassSampleLocations, sizeof(VkSubpassSampleLocationsEXT)*in_struct->postSubpassSampleLocationsCount);
18641 }
18642}
18643
18644safe_VkRenderPassSampleLocationsBeginInfoEXT::safe_VkRenderPassSampleLocationsBeginInfoEXT() :
18645 pAttachmentInitialSampleLocations(nullptr),
18646 pPostSubpassSampleLocations(nullptr)
18647{}
18648
18649safe_VkRenderPassSampleLocationsBeginInfoEXT::safe_VkRenderPassSampleLocationsBeginInfoEXT(const safe_VkRenderPassSampleLocationsBeginInfoEXT& src)
18650{
18651 sType = src.sType;
18652 pNext = src.pNext;
18653 attachmentInitialSampleLocationsCount = src.attachmentInitialSampleLocationsCount;
18654 pAttachmentInitialSampleLocations = nullptr;
18655 postSubpassSampleLocationsCount = src.postSubpassSampleLocationsCount;
18656 pPostSubpassSampleLocations = nullptr;
18657 if (src.pAttachmentInitialSampleLocations) {
18658 pAttachmentInitialSampleLocations = new VkAttachmentSampleLocationsEXT[src.attachmentInitialSampleLocationsCount];
18659 memcpy ((void *)pAttachmentInitialSampleLocations, (void *)src.pAttachmentInitialSampleLocations, sizeof(VkAttachmentSampleLocationsEXT)*src.attachmentInitialSampleLocationsCount);
18660 }
18661 if (src.pPostSubpassSampleLocations) {
18662 pPostSubpassSampleLocations = new VkSubpassSampleLocationsEXT[src.postSubpassSampleLocationsCount];
18663 memcpy ((void *)pPostSubpassSampleLocations, (void *)src.pPostSubpassSampleLocations, sizeof(VkSubpassSampleLocationsEXT)*src.postSubpassSampleLocationsCount);
18664 }
18665}
18666
18667safe_VkRenderPassSampleLocationsBeginInfoEXT& safe_VkRenderPassSampleLocationsBeginInfoEXT::operator=(const safe_VkRenderPassSampleLocationsBeginInfoEXT& src)
18668{
18669 if (&src == this) return *this;
18670
18671 if (pAttachmentInitialSampleLocations)
18672 delete[] pAttachmentInitialSampleLocations;
18673 if (pPostSubpassSampleLocations)
18674 delete[] pPostSubpassSampleLocations;
18675
18676 sType = src.sType;
18677 pNext = src.pNext;
18678 attachmentInitialSampleLocationsCount = src.attachmentInitialSampleLocationsCount;
18679 pAttachmentInitialSampleLocations = nullptr;
18680 postSubpassSampleLocationsCount = src.postSubpassSampleLocationsCount;
18681 pPostSubpassSampleLocations = nullptr;
18682 if (src.pAttachmentInitialSampleLocations) {
18683 pAttachmentInitialSampleLocations = new VkAttachmentSampleLocationsEXT[src.attachmentInitialSampleLocationsCount];
18684 memcpy ((void *)pAttachmentInitialSampleLocations, (void *)src.pAttachmentInitialSampleLocations, sizeof(VkAttachmentSampleLocationsEXT)*src.attachmentInitialSampleLocationsCount);
18685 }
18686 if (src.pPostSubpassSampleLocations) {
18687 pPostSubpassSampleLocations = new VkSubpassSampleLocationsEXT[src.postSubpassSampleLocationsCount];
18688 memcpy ((void *)pPostSubpassSampleLocations, (void *)src.pPostSubpassSampleLocations, sizeof(VkSubpassSampleLocationsEXT)*src.postSubpassSampleLocationsCount);
18689 }
18690
18691 return *this;
18692}
18693
18694safe_VkRenderPassSampleLocationsBeginInfoEXT::~safe_VkRenderPassSampleLocationsBeginInfoEXT()
18695{
18696 if (pAttachmentInitialSampleLocations)
18697 delete[] pAttachmentInitialSampleLocations;
18698 if (pPostSubpassSampleLocations)
18699 delete[] pPostSubpassSampleLocations;
18700}
18701
18702void safe_VkRenderPassSampleLocationsBeginInfoEXT::initialize(const VkRenderPassSampleLocationsBeginInfoEXT* in_struct)
18703{
18704 sType = in_struct->sType;
18705 pNext = in_struct->pNext;
18706 attachmentInitialSampleLocationsCount = in_struct->attachmentInitialSampleLocationsCount;
18707 pAttachmentInitialSampleLocations = nullptr;
18708 postSubpassSampleLocationsCount = in_struct->postSubpassSampleLocationsCount;
18709 pPostSubpassSampleLocations = nullptr;
18710 if (in_struct->pAttachmentInitialSampleLocations) {
18711 pAttachmentInitialSampleLocations = new VkAttachmentSampleLocationsEXT[in_struct->attachmentInitialSampleLocationsCount];
18712 memcpy ((void *)pAttachmentInitialSampleLocations, (void *)in_struct->pAttachmentInitialSampleLocations, sizeof(VkAttachmentSampleLocationsEXT)*in_struct->attachmentInitialSampleLocationsCount);
18713 }
18714 if (in_struct->pPostSubpassSampleLocations) {
18715 pPostSubpassSampleLocations = new VkSubpassSampleLocationsEXT[in_struct->postSubpassSampleLocationsCount];
18716 memcpy ((void *)pPostSubpassSampleLocations, (void *)in_struct->pPostSubpassSampleLocations, sizeof(VkSubpassSampleLocationsEXT)*in_struct->postSubpassSampleLocationsCount);
18717 }
18718}
18719
18720void safe_VkRenderPassSampleLocationsBeginInfoEXT::initialize(const safe_VkRenderPassSampleLocationsBeginInfoEXT* src)
18721{
18722 sType = src->sType;
18723 pNext = src->pNext;
18724 attachmentInitialSampleLocationsCount = src->attachmentInitialSampleLocationsCount;
18725 pAttachmentInitialSampleLocations = nullptr;
18726 postSubpassSampleLocationsCount = src->postSubpassSampleLocationsCount;
18727 pPostSubpassSampleLocations = nullptr;
18728 if (src->pAttachmentInitialSampleLocations) {
18729 pAttachmentInitialSampleLocations = new VkAttachmentSampleLocationsEXT[src->attachmentInitialSampleLocationsCount];
18730 memcpy ((void *)pAttachmentInitialSampleLocations, (void *)src->pAttachmentInitialSampleLocations, sizeof(VkAttachmentSampleLocationsEXT)*src->attachmentInitialSampleLocationsCount);
18731 }
18732 if (src->pPostSubpassSampleLocations) {
18733 pPostSubpassSampleLocations = new VkSubpassSampleLocationsEXT[src->postSubpassSampleLocationsCount];
18734 memcpy ((void *)pPostSubpassSampleLocations, (void *)src->pPostSubpassSampleLocations, sizeof(VkSubpassSampleLocationsEXT)*src->postSubpassSampleLocationsCount);
18735 }
18736}
18737
18738safe_VkPipelineSampleLocationsStateCreateInfoEXT::safe_VkPipelineSampleLocationsStateCreateInfoEXT(const VkPipelineSampleLocationsStateCreateInfoEXT* in_struct) :
18739 sType(in_struct->sType),
18740 pNext(in_struct->pNext),
18741 sampleLocationsEnable(in_struct->sampleLocationsEnable),
18742 sampleLocationsInfo(&in_struct->sampleLocationsInfo)
18743{
18744}
18745
18746safe_VkPipelineSampleLocationsStateCreateInfoEXT::safe_VkPipelineSampleLocationsStateCreateInfoEXT()
18747{}
18748
18749safe_VkPipelineSampleLocationsStateCreateInfoEXT::safe_VkPipelineSampleLocationsStateCreateInfoEXT(const safe_VkPipelineSampleLocationsStateCreateInfoEXT& src)
18750{
18751 sType = src.sType;
18752 pNext = src.pNext;
18753 sampleLocationsEnable = src.sampleLocationsEnable;
18754 sampleLocationsInfo.initialize(&src.sampleLocationsInfo);
18755}
18756
18757safe_VkPipelineSampleLocationsStateCreateInfoEXT& safe_VkPipelineSampleLocationsStateCreateInfoEXT::operator=(const safe_VkPipelineSampleLocationsStateCreateInfoEXT& src)
18758{
18759 if (&src == this) return *this;
18760
18761
18762 sType = src.sType;
18763 pNext = src.pNext;
18764 sampleLocationsEnable = src.sampleLocationsEnable;
18765 sampleLocationsInfo.initialize(&src.sampleLocationsInfo);
18766
18767 return *this;
18768}
18769
18770safe_VkPipelineSampleLocationsStateCreateInfoEXT::~safe_VkPipelineSampleLocationsStateCreateInfoEXT()
18771{
18772}
18773
18774void safe_VkPipelineSampleLocationsStateCreateInfoEXT::initialize(const VkPipelineSampleLocationsStateCreateInfoEXT* in_struct)
18775{
18776 sType = in_struct->sType;
18777 pNext = in_struct->pNext;
18778 sampleLocationsEnable = in_struct->sampleLocationsEnable;
18779 sampleLocationsInfo.initialize(&in_struct->sampleLocationsInfo);
18780}
18781
18782void safe_VkPipelineSampleLocationsStateCreateInfoEXT::initialize(const safe_VkPipelineSampleLocationsStateCreateInfoEXT* src)
18783{
18784 sType = src->sType;
18785 pNext = src->pNext;
18786 sampleLocationsEnable = src->sampleLocationsEnable;
18787 sampleLocationsInfo.initialize(&src->sampleLocationsInfo);
18788}
18789
18790safe_VkPhysicalDeviceSampleLocationsPropertiesEXT::safe_VkPhysicalDeviceSampleLocationsPropertiesEXT(const VkPhysicalDeviceSampleLocationsPropertiesEXT* in_struct) :
18791 sType(in_struct->sType),
18792 pNext(in_struct->pNext),
18793 sampleLocationSampleCounts(in_struct->sampleLocationSampleCounts),
18794 maxSampleLocationGridSize(in_struct->maxSampleLocationGridSize),
18795 sampleLocationSubPixelBits(in_struct->sampleLocationSubPixelBits),
18796 variableSampleLocations(in_struct->variableSampleLocations)
18797{
18798 for (uint32_t i=0; i<2; ++i) {
18799 sampleLocationCoordinateRange[i] = in_struct->sampleLocationCoordinateRange[i];
18800 }
18801}
18802
18803safe_VkPhysicalDeviceSampleLocationsPropertiesEXT::safe_VkPhysicalDeviceSampleLocationsPropertiesEXT()
18804{}
18805
18806safe_VkPhysicalDeviceSampleLocationsPropertiesEXT::safe_VkPhysicalDeviceSampleLocationsPropertiesEXT(const safe_VkPhysicalDeviceSampleLocationsPropertiesEXT& src)
18807{
18808 sType = src.sType;
18809 pNext = src.pNext;
18810 sampleLocationSampleCounts = src.sampleLocationSampleCounts;
18811 maxSampleLocationGridSize = src.maxSampleLocationGridSize;
18812 sampleLocationSubPixelBits = src.sampleLocationSubPixelBits;
18813 variableSampleLocations = src.variableSampleLocations;
18814 for (uint32_t i=0; i<2; ++i) {
18815 sampleLocationCoordinateRange[i] = src.sampleLocationCoordinateRange[i];
18816 }
18817}
18818
18819safe_VkPhysicalDeviceSampleLocationsPropertiesEXT& safe_VkPhysicalDeviceSampleLocationsPropertiesEXT::operator=(const safe_VkPhysicalDeviceSampleLocationsPropertiesEXT& src)
18820{
18821 if (&src == this) return *this;
18822
18823
18824 sType = src.sType;
18825 pNext = src.pNext;
18826 sampleLocationSampleCounts = src.sampleLocationSampleCounts;
18827 maxSampleLocationGridSize = src.maxSampleLocationGridSize;
18828 sampleLocationSubPixelBits = src.sampleLocationSubPixelBits;
18829 variableSampleLocations = src.variableSampleLocations;
18830 for (uint32_t i=0; i<2; ++i) {
18831 sampleLocationCoordinateRange[i] = src.sampleLocationCoordinateRange[i];
18832 }
18833
18834 return *this;
18835}
18836
18837safe_VkPhysicalDeviceSampleLocationsPropertiesEXT::~safe_VkPhysicalDeviceSampleLocationsPropertiesEXT()
18838{
18839}
18840
18841void safe_VkPhysicalDeviceSampleLocationsPropertiesEXT::initialize(const VkPhysicalDeviceSampleLocationsPropertiesEXT* in_struct)
18842{
18843 sType = in_struct->sType;
18844 pNext = in_struct->pNext;
18845 sampleLocationSampleCounts = in_struct->sampleLocationSampleCounts;
18846 maxSampleLocationGridSize = in_struct->maxSampleLocationGridSize;
18847 sampleLocationSubPixelBits = in_struct->sampleLocationSubPixelBits;
18848 variableSampleLocations = in_struct->variableSampleLocations;
18849 for (uint32_t i=0; i<2; ++i) {
18850 sampleLocationCoordinateRange[i] = in_struct->sampleLocationCoordinateRange[i];
18851 }
18852}
18853
18854void safe_VkPhysicalDeviceSampleLocationsPropertiesEXT::initialize(const safe_VkPhysicalDeviceSampleLocationsPropertiesEXT* src)
18855{
18856 sType = src->sType;
18857 pNext = src->pNext;
18858 sampleLocationSampleCounts = src->sampleLocationSampleCounts;
18859 maxSampleLocationGridSize = src->maxSampleLocationGridSize;
18860 sampleLocationSubPixelBits = src->sampleLocationSubPixelBits;
18861 variableSampleLocations = src->variableSampleLocations;
18862 for (uint32_t i=0; i<2; ++i) {
18863 sampleLocationCoordinateRange[i] = src->sampleLocationCoordinateRange[i];
18864 }
18865}
18866
18867safe_VkMultisamplePropertiesEXT::safe_VkMultisamplePropertiesEXT(const VkMultisamplePropertiesEXT* in_struct) :
18868 sType(in_struct->sType),
18869 pNext(in_struct->pNext),
18870 maxSampleLocationGridSize(in_struct->maxSampleLocationGridSize)
18871{
18872}
18873
18874safe_VkMultisamplePropertiesEXT::safe_VkMultisamplePropertiesEXT()
18875{}
18876
18877safe_VkMultisamplePropertiesEXT::safe_VkMultisamplePropertiesEXT(const safe_VkMultisamplePropertiesEXT& src)
18878{
18879 sType = src.sType;
18880 pNext = src.pNext;
18881 maxSampleLocationGridSize = src.maxSampleLocationGridSize;
18882}
18883
18884safe_VkMultisamplePropertiesEXT& safe_VkMultisamplePropertiesEXT::operator=(const safe_VkMultisamplePropertiesEXT& src)
18885{
18886 if (&src == this) return *this;
18887
18888
18889 sType = src.sType;
18890 pNext = src.pNext;
18891 maxSampleLocationGridSize = src.maxSampleLocationGridSize;
18892
18893 return *this;
18894}
18895
18896safe_VkMultisamplePropertiesEXT::~safe_VkMultisamplePropertiesEXT()
18897{
18898}
18899
18900void safe_VkMultisamplePropertiesEXT::initialize(const VkMultisamplePropertiesEXT* in_struct)
18901{
18902 sType = in_struct->sType;
18903 pNext = in_struct->pNext;
18904 maxSampleLocationGridSize = in_struct->maxSampleLocationGridSize;
18905}
18906
18907void safe_VkMultisamplePropertiesEXT::initialize(const safe_VkMultisamplePropertiesEXT* src)
18908{
18909 sType = src->sType;
18910 pNext = src->pNext;
18911 maxSampleLocationGridSize = src->maxSampleLocationGridSize;
18912}
18913
18914safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT::safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT(const VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT* in_struct) :
18915 sType(in_struct->sType),
18916 pNext(in_struct->pNext),
18917 advancedBlendCoherentOperations(in_struct->advancedBlendCoherentOperations)
18918{
18919}
18920
18921safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT::safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT()
18922{}
18923
18924safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT::safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT(const safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT& src)
18925{
18926 sType = src.sType;
18927 pNext = src.pNext;
18928 advancedBlendCoherentOperations = src.advancedBlendCoherentOperations;
18929}
18930
18931safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT& safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT::operator=(const safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT& src)
18932{
18933 if (&src == this) return *this;
18934
18935
18936 sType = src.sType;
18937 pNext = src.pNext;
18938 advancedBlendCoherentOperations = src.advancedBlendCoherentOperations;
18939
18940 return *this;
18941}
18942
18943safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT::~safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT()
18944{
18945}
18946
18947void safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT::initialize(const VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT* in_struct)
18948{
18949 sType = in_struct->sType;
18950 pNext = in_struct->pNext;
18951 advancedBlendCoherentOperations = in_struct->advancedBlendCoherentOperations;
18952}
18953
18954void safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT::initialize(const safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT* src)
18955{
18956 sType = src->sType;
18957 pNext = src->pNext;
18958 advancedBlendCoherentOperations = src->advancedBlendCoherentOperations;
18959}
18960
18961safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT::safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT(const VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT* in_struct) :
18962 sType(in_struct->sType),
18963 pNext(in_struct->pNext),
18964 advancedBlendMaxColorAttachments(in_struct->advancedBlendMaxColorAttachments),
18965 advancedBlendIndependentBlend(in_struct->advancedBlendIndependentBlend),
18966 advancedBlendNonPremultipliedSrcColor(in_struct->advancedBlendNonPremultipliedSrcColor),
18967 advancedBlendNonPremultipliedDstColor(in_struct->advancedBlendNonPremultipliedDstColor),
18968 advancedBlendCorrelatedOverlap(in_struct->advancedBlendCorrelatedOverlap),
18969 advancedBlendAllOperations(in_struct->advancedBlendAllOperations)
18970{
18971}
18972
18973safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT::safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT()
18974{}
18975
18976safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT::safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT(const safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT& src)
18977{
18978 sType = src.sType;
18979 pNext = src.pNext;
18980 advancedBlendMaxColorAttachments = src.advancedBlendMaxColorAttachments;
18981 advancedBlendIndependentBlend = src.advancedBlendIndependentBlend;
18982 advancedBlendNonPremultipliedSrcColor = src.advancedBlendNonPremultipliedSrcColor;
18983 advancedBlendNonPremultipliedDstColor = src.advancedBlendNonPremultipliedDstColor;
18984 advancedBlendCorrelatedOverlap = src.advancedBlendCorrelatedOverlap;
18985 advancedBlendAllOperations = src.advancedBlendAllOperations;
18986}
18987
18988safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT& safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT::operator=(const safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT& src)
18989{
18990 if (&src == this) return *this;
18991
18992
18993 sType = src.sType;
18994 pNext = src.pNext;
18995 advancedBlendMaxColorAttachments = src.advancedBlendMaxColorAttachments;
18996 advancedBlendIndependentBlend = src.advancedBlendIndependentBlend;
18997 advancedBlendNonPremultipliedSrcColor = src.advancedBlendNonPremultipliedSrcColor;
18998 advancedBlendNonPremultipliedDstColor = src.advancedBlendNonPremultipliedDstColor;
18999 advancedBlendCorrelatedOverlap = src.advancedBlendCorrelatedOverlap;
19000 advancedBlendAllOperations = src.advancedBlendAllOperations;
19001
19002 return *this;
19003}
19004
19005safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT::~safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT()
19006{
19007}
19008
19009void safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT::initialize(const VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT* in_struct)
19010{
19011 sType = in_struct->sType;
19012 pNext = in_struct->pNext;
19013 advancedBlendMaxColorAttachments = in_struct->advancedBlendMaxColorAttachments;
19014 advancedBlendIndependentBlend = in_struct->advancedBlendIndependentBlend;
19015 advancedBlendNonPremultipliedSrcColor = in_struct->advancedBlendNonPremultipliedSrcColor;
19016 advancedBlendNonPremultipliedDstColor = in_struct->advancedBlendNonPremultipliedDstColor;
19017 advancedBlendCorrelatedOverlap = in_struct->advancedBlendCorrelatedOverlap;
19018 advancedBlendAllOperations = in_struct->advancedBlendAllOperations;
19019}
19020
19021void safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT::initialize(const safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT* src)
19022{
19023 sType = src->sType;
19024 pNext = src->pNext;
19025 advancedBlendMaxColorAttachments = src->advancedBlendMaxColorAttachments;
19026 advancedBlendIndependentBlend = src->advancedBlendIndependentBlend;
19027 advancedBlendNonPremultipliedSrcColor = src->advancedBlendNonPremultipliedSrcColor;
19028 advancedBlendNonPremultipliedDstColor = src->advancedBlendNonPremultipliedDstColor;
19029 advancedBlendCorrelatedOverlap = src->advancedBlendCorrelatedOverlap;
19030 advancedBlendAllOperations = src->advancedBlendAllOperations;
19031}
19032
19033safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT::safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT(const VkPipelineColorBlendAdvancedStateCreateInfoEXT* in_struct) :
19034 sType(in_struct->sType),
19035 pNext(in_struct->pNext),
19036 srcPremultiplied(in_struct->srcPremultiplied),
19037 dstPremultiplied(in_struct->dstPremultiplied),
19038 blendOverlap(in_struct->blendOverlap)
19039{
19040}
19041
19042safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT::safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT()
19043{}
19044
19045safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT::safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT(const safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT& src)
19046{
19047 sType = src.sType;
19048 pNext = src.pNext;
19049 srcPremultiplied = src.srcPremultiplied;
19050 dstPremultiplied = src.dstPremultiplied;
19051 blendOverlap = src.blendOverlap;
19052}
19053
19054safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT& safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT::operator=(const safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT& src)
19055{
19056 if (&src == this) return *this;
19057
19058
19059 sType = src.sType;
19060 pNext = src.pNext;
19061 srcPremultiplied = src.srcPremultiplied;
19062 dstPremultiplied = src.dstPremultiplied;
19063 blendOverlap = src.blendOverlap;
19064
19065 return *this;
19066}
19067
19068safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT::~safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT()
19069{
19070}
19071
19072void safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT::initialize(const VkPipelineColorBlendAdvancedStateCreateInfoEXT* in_struct)
19073{
19074 sType = in_struct->sType;
19075 pNext = in_struct->pNext;
19076 srcPremultiplied = in_struct->srcPremultiplied;
19077 dstPremultiplied = in_struct->dstPremultiplied;
19078 blendOverlap = in_struct->blendOverlap;
19079}
19080
19081void safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT::initialize(const safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT* src)
19082{
19083 sType = src->sType;
19084 pNext = src->pNext;
19085 srcPremultiplied = src->srcPremultiplied;
19086 dstPremultiplied = src->dstPremultiplied;
19087 blendOverlap = src->blendOverlap;
19088}
19089
19090safe_VkPipelineCoverageToColorStateCreateInfoNV::safe_VkPipelineCoverageToColorStateCreateInfoNV(const VkPipelineCoverageToColorStateCreateInfoNV* in_struct) :
19091 sType(in_struct->sType),
19092 pNext(in_struct->pNext),
19093 flags(in_struct->flags),
19094 coverageToColorEnable(in_struct->coverageToColorEnable),
19095 coverageToColorLocation(in_struct->coverageToColorLocation)
19096{
19097}
19098
19099safe_VkPipelineCoverageToColorStateCreateInfoNV::safe_VkPipelineCoverageToColorStateCreateInfoNV()
19100{}
19101
19102safe_VkPipelineCoverageToColorStateCreateInfoNV::safe_VkPipelineCoverageToColorStateCreateInfoNV(const safe_VkPipelineCoverageToColorStateCreateInfoNV& src)
19103{
19104 sType = src.sType;
19105 pNext = src.pNext;
19106 flags = src.flags;
19107 coverageToColorEnable = src.coverageToColorEnable;
19108 coverageToColorLocation = src.coverageToColorLocation;
19109}
19110
19111safe_VkPipelineCoverageToColorStateCreateInfoNV& safe_VkPipelineCoverageToColorStateCreateInfoNV::operator=(const safe_VkPipelineCoverageToColorStateCreateInfoNV& src)
19112{
19113 if (&src == this) return *this;
19114
19115
19116 sType = src.sType;
19117 pNext = src.pNext;
19118 flags = src.flags;
19119 coverageToColorEnable = src.coverageToColorEnable;
19120 coverageToColorLocation = src.coverageToColorLocation;
19121
19122 return *this;
19123}
19124
19125safe_VkPipelineCoverageToColorStateCreateInfoNV::~safe_VkPipelineCoverageToColorStateCreateInfoNV()
19126{
19127}
19128
19129void safe_VkPipelineCoverageToColorStateCreateInfoNV::initialize(const VkPipelineCoverageToColorStateCreateInfoNV* in_struct)
19130{
19131 sType = in_struct->sType;
19132 pNext = in_struct->pNext;
19133 flags = in_struct->flags;
19134 coverageToColorEnable = in_struct->coverageToColorEnable;
19135 coverageToColorLocation = in_struct->coverageToColorLocation;
19136}
19137
19138void safe_VkPipelineCoverageToColorStateCreateInfoNV::initialize(const safe_VkPipelineCoverageToColorStateCreateInfoNV* src)
19139{
19140 sType = src->sType;
19141 pNext = src->pNext;
19142 flags = src->flags;
19143 coverageToColorEnable = src->coverageToColorEnable;
19144 coverageToColorLocation = src->coverageToColorLocation;
19145}
19146
19147safe_VkPipelineCoverageModulationStateCreateInfoNV::safe_VkPipelineCoverageModulationStateCreateInfoNV(const VkPipelineCoverageModulationStateCreateInfoNV* in_struct) :
19148 sType(in_struct->sType),
19149 pNext(in_struct->pNext),
19150 flags(in_struct->flags),
19151 coverageModulationMode(in_struct->coverageModulationMode),
19152 coverageModulationTableEnable(in_struct->coverageModulationTableEnable),
19153 coverageModulationTableCount(in_struct->coverageModulationTableCount),
19154 pCoverageModulationTable(nullptr)
19155{
19156 if (in_struct->pCoverageModulationTable) {
19157 pCoverageModulationTable = new float[in_struct->coverageModulationTableCount];
19158 memcpy ((void *)pCoverageModulationTable, (void *)in_struct->pCoverageModulationTable, sizeof(float)*in_struct->coverageModulationTableCount);
19159 }
19160}
19161
19162safe_VkPipelineCoverageModulationStateCreateInfoNV::safe_VkPipelineCoverageModulationStateCreateInfoNV() :
19163 pCoverageModulationTable(nullptr)
19164{}
19165
19166safe_VkPipelineCoverageModulationStateCreateInfoNV::safe_VkPipelineCoverageModulationStateCreateInfoNV(const safe_VkPipelineCoverageModulationStateCreateInfoNV& src)
19167{
19168 sType = src.sType;
19169 pNext = src.pNext;
19170 flags = src.flags;
19171 coverageModulationMode = src.coverageModulationMode;
19172 coverageModulationTableEnable = src.coverageModulationTableEnable;
19173 coverageModulationTableCount = src.coverageModulationTableCount;
19174 pCoverageModulationTable = nullptr;
19175 if (src.pCoverageModulationTable) {
19176 pCoverageModulationTable = new float[src.coverageModulationTableCount];
19177 memcpy ((void *)pCoverageModulationTable, (void *)src.pCoverageModulationTable, sizeof(float)*src.coverageModulationTableCount);
19178 }
19179}
19180
19181safe_VkPipelineCoverageModulationStateCreateInfoNV& safe_VkPipelineCoverageModulationStateCreateInfoNV::operator=(const safe_VkPipelineCoverageModulationStateCreateInfoNV& src)
19182{
19183 if (&src == this) return *this;
19184
19185 if (pCoverageModulationTable)
19186 delete[] pCoverageModulationTable;
19187
19188 sType = src.sType;
19189 pNext = src.pNext;
19190 flags = src.flags;
19191 coverageModulationMode = src.coverageModulationMode;
19192 coverageModulationTableEnable = src.coverageModulationTableEnable;
19193 coverageModulationTableCount = src.coverageModulationTableCount;
19194 pCoverageModulationTable = nullptr;
19195 if (src.pCoverageModulationTable) {
19196 pCoverageModulationTable = new float[src.coverageModulationTableCount];
19197 memcpy ((void *)pCoverageModulationTable, (void *)src.pCoverageModulationTable, sizeof(float)*src.coverageModulationTableCount);
19198 }
19199
19200 return *this;
19201}
19202
19203safe_VkPipelineCoverageModulationStateCreateInfoNV::~safe_VkPipelineCoverageModulationStateCreateInfoNV()
19204{
19205 if (pCoverageModulationTable)
19206 delete[] pCoverageModulationTable;
19207}
19208
19209void safe_VkPipelineCoverageModulationStateCreateInfoNV::initialize(const VkPipelineCoverageModulationStateCreateInfoNV* in_struct)
19210{
19211 sType = in_struct->sType;
19212 pNext = in_struct->pNext;
19213 flags = in_struct->flags;
19214 coverageModulationMode = in_struct->coverageModulationMode;
19215 coverageModulationTableEnable = in_struct->coverageModulationTableEnable;
19216 coverageModulationTableCount = in_struct->coverageModulationTableCount;
19217 pCoverageModulationTable = nullptr;
19218 if (in_struct->pCoverageModulationTable) {
19219 pCoverageModulationTable = new float[in_struct->coverageModulationTableCount];
19220 memcpy ((void *)pCoverageModulationTable, (void *)in_struct->pCoverageModulationTable, sizeof(float)*in_struct->coverageModulationTableCount);
19221 }
19222}
19223
19224void safe_VkPipelineCoverageModulationStateCreateInfoNV::initialize(const safe_VkPipelineCoverageModulationStateCreateInfoNV* src)
19225{
19226 sType = src->sType;
19227 pNext = src->pNext;
19228 flags = src->flags;
19229 coverageModulationMode = src->coverageModulationMode;
19230 coverageModulationTableEnable = src->coverageModulationTableEnable;
19231 coverageModulationTableCount = src->coverageModulationTableCount;
19232 pCoverageModulationTable = nullptr;
19233 if (src->pCoverageModulationTable) {
19234 pCoverageModulationTable = new float[src->coverageModulationTableCount];
19235 memcpy ((void *)pCoverageModulationTable, (void *)src->pCoverageModulationTable, sizeof(float)*src->coverageModulationTableCount);
19236 }
19237}
19238
19239safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV::safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV(const VkPhysicalDeviceShaderSMBuiltinsPropertiesNV* in_struct) :
19240 sType(in_struct->sType),
19241 pNext(in_struct->pNext),
19242 shaderSMCount(in_struct->shaderSMCount),
19243 shaderWarpsPerSM(in_struct->shaderWarpsPerSM)
19244{
19245}
19246
19247safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV::safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV()
19248{}
19249
19250safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV::safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV(const safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV& src)
19251{
19252 sType = src.sType;
19253 pNext = src.pNext;
19254 shaderSMCount = src.shaderSMCount;
19255 shaderWarpsPerSM = src.shaderWarpsPerSM;
19256}
19257
19258safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV& safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV::operator=(const safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV& src)
19259{
19260 if (&src == this) return *this;
19261
19262
19263 sType = src.sType;
19264 pNext = src.pNext;
19265 shaderSMCount = src.shaderSMCount;
19266 shaderWarpsPerSM = src.shaderWarpsPerSM;
19267
19268 return *this;
19269}
19270
19271safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV::~safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV()
19272{
19273}
19274
19275void safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV::initialize(const VkPhysicalDeviceShaderSMBuiltinsPropertiesNV* in_struct)
19276{
19277 sType = in_struct->sType;
19278 pNext = in_struct->pNext;
19279 shaderSMCount = in_struct->shaderSMCount;
19280 shaderWarpsPerSM = in_struct->shaderWarpsPerSM;
19281}
19282
19283void safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV::initialize(const safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV* src)
19284{
19285 sType = src->sType;
19286 pNext = src->pNext;
19287 shaderSMCount = src->shaderSMCount;
19288 shaderWarpsPerSM = src->shaderWarpsPerSM;
19289}
19290
19291safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV::safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV(const VkPhysicalDeviceShaderSMBuiltinsFeaturesNV* in_struct) :
19292 sType(in_struct->sType),
19293 pNext(in_struct->pNext),
19294 shaderSMBuiltins(in_struct->shaderSMBuiltins)
19295{
19296}
19297
19298safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV::safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV()
19299{}
19300
19301safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV::safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV(const safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV& src)
19302{
19303 sType = src.sType;
19304 pNext = src.pNext;
19305 shaderSMBuiltins = src.shaderSMBuiltins;
19306}
19307
19308safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV& safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV::operator=(const safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV& src)
19309{
19310 if (&src == this) return *this;
19311
19312
19313 sType = src.sType;
19314 pNext = src.pNext;
19315 shaderSMBuiltins = src.shaderSMBuiltins;
19316
19317 return *this;
19318}
19319
19320safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV::~safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV()
19321{
19322}
19323
19324void safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV::initialize(const VkPhysicalDeviceShaderSMBuiltinsFeaturesNV* in_struct)
19325{
19326 sType = in_struct->sType;
19327 pNext = in_struct->pNext;
19328 shaderSMBuiltins = in_struct->shaderSMBuiltins;
19329}
19330
19331void safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV::initialize(const safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV* src)
19332{
19333 sType = src->sType;
19334 pNext = src->pNext;
19335 shaderSMBuiltins = src->shaderSMBuiltins;
19336}
19337
19338safe_VkDrmFormatModifierPropertiesListEXT::safe_VkDrmFormatModifierPropertiesListEXT(const VkDrmFormatModifierPropertiesListEXT* in_struct) :
19339 sType(in_struct->sType),
19340 pNext(in_struct->pNext),
19341 drmFormatModifierCount(in_struct->drmFormatModifierCount),
19342 pDrmFormatModifierProperties(nullptr)
19343{
19344 if (in_struct->pDrmFormatModifierProperties) {
19345 pDrmFormatModifierProperties = new VkDrmFormatModifierPropertiesEXT[in_struct->drmFormatModifierCount];
19346 memcpy ((void *)pDrmFormatModifierProperties, (void *)in_struct->pDrmFormatModifierProperties, sizeof(VkDrmFormatModifierPropertiesEXT)*in_struct->drmFormatModifierCount);
19347 }
19348}
19349
19350safe_VkDrmFormatModifierPropertiesListEXT::safe_VkDrmFormatModifierPropertiesListEXT() :
19351 pDrmFormatModifierProperties(nullptr)
19352{}
19353
19354safe_VkDrmFormatModifierPropertiesListEXT::safe_VkDrmFormatModifierPropertiesListEXT(const safe_VkDrmFormatModifierPropertiesListEXT& src)
19355{
19356 sType = src.sType;
19357 pNext = src.pNext;
19358 drmFormatModifierCount = src.drmFormatModifierCount;
19359 pDrmFormatModifierProperties = nullptr;
19360 if (src.pDrmFormatModifierProperties) {
19361 pDrmFormatModifierProperties = new VkDrmFormatModifierPropertiesEXT[src.drmFormatModifierCount];
19362 memcpy ((void *)pDrmFormatModifierProperties, (void *)src.pDrmFormatModifierProperties, sizeof(VkDrmFormatModifierPropertiesEXT)*src.drmFormatModifierCount);
19363 }
19364}
19365
19366safe_VkDrmFormatModifierPropertiesListEXT& safe_VkDrmFormatModifierPropertiesListEXT::operator=(const safe_VkDrmFormatModifierPropertiesListEXT& src)
19367{
19368 if (&src == this) return *this;
19369
19370 if (pDrmFormatModifierProperties)
19371 delete[] pDrmFormatModifierProperties;
19372
19373 sType = src.sType;
19374 pNext = src.pNext;
19375 drmFormatModifierCount = src.drmFormatModifierCount;
19376 pDrmFormatModifierProperties = nullptr;
19377 if (src.pDrmFormatModifierProperties) {
19378 pDrmFormatModifierProperties = new VkDrmFormatModifierPropertiesEXT[src.drmFormatModifierCount];
19379 memcpy ((void *)pDrmFormatModifierProperties, (void *)src.pDrmFormatModifierProperties, sizeof(VkDrmFormatModifierPropertiesEXT)*src.drmFormatModifierCount);
19380 }
19381
19382 return *this;
19383}
19384
19385safe_VkDrmFormatModifierPropertiesListEXT::~safe_VkDrmFormatModifierPropertiesListEXT()
19386{
19387 if (pDrmFormatModifierProperties)
19388 delete[] pDrmFormatModifierProperties;
19389}
19390
19391void safe_VkDrmFormatModifierPropertiesListEXT::initialize(const VkDrmFormatModifierPropertiesListEXT* in_struct)
19392{
19393 sType = in_struct->sType;
19394 pNext = in_struct->pNext;
19395 drmFormatModifierCount = in_struct->drmFormatModifierCount;
19396 pDrmFormatModifierProperties = nullptr;
19397 if (in_struct->pDrmFormatModifierProperties) {
19398 pDrmFormatModifierProperties = new VkDrmFormatModifierPropertiesEXT[in_struct->drmFormatModifierCount];
19399 memcpy ((void *)pDrmFormatModifierProperties, (void *)in_struct->pDrmFormatModifierProperties, sizeof(VkDrmFormatModifierPropertiesEXT)*in_struct->drmFormatModifierCount);
19400 }
19401}
19402
19403void safe_VkDrmFormatModifierPropertiesListEXT::initialize(const safe_VkDrmFormatModifierPropertiesListEXT* src)
19404{
19405 sType = src->sType;
19406 pNext = src->pNext;
19407 drmFormatModifierCount = src->drmFormatModifierCount;
19408 pDrmFormatModifierProperties = nullptr;
19409 if (src->pDrmFormatModifierProperties) {
19410 pDrmFormatModifierProperties = new VkDrmFormatModifierPropertiesEXT[src->drmFormatModifierCount];
19411 memcpy ((void *)pDrmFormatModifierProperties, (void *)src->pDrmFormatModifierProperties, sizeof(VkDrmFormatModifierPropertiesEXT)*src->drmFormatModifierCount);
19412 }
19413}
19414
19415safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT::safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT(const VkPhysicalDeviceImageDrmFormatModifierInfoEXT* in_struct) :
19416 sType(in_struct->sType),
19417 pNext(in_struct->pNext),
19418 drmFormatModifier(in_struct->drmFormatModifier),
19419 sharingMode(in_struct->sharingMode),
19420 queueFamilyIndexCount(in_struct->queueFamilyIndexCount),
19421 pQueueFamilyIndices(nullptr)
19422{
19423 if (in_struct->pQueueFamilyIndices) {
19424 pQueueFamilyIndices = new uint32_t[in_struct->queueFamilyIndexCount];
19425 memcpy ((void *)pQueueFamilyIndices, (void *)in_struct->pQueueFamilyIndices, sizeof(uint32_t)*in_struct->queueFamilyIndexCount);
19426 }
19427}
19428
19429safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT::safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT() :
19430 pQueueFamilyIndices(nullptr)
19431{}
19432
19433safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT::safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT(const safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT& src)
19434{
19435 sType = src.sType;
19436 pNext = src.pNext;
19437 drmFormatModifier = src.drmFormatModifier;
19438 sharingMode = src.sharingMode;
19439 queueFamilyIndexCount = src.queueFamilyIndexCount;
19440 pQueueFamilyIndices = nullptr;
19441 if (src.pQueueFamilyIndices) {
19442 pQueueFamilyIndices = new uint32_t[src.queueFamilyIndexCount];
19443 memcpy ((void *)pQueueFamilyIndices, (void *)src.pQueueFamilyIndices, sizeof(uint32_t)*src.queueFamilyIndexCount);
19444 }
19445}
19446
19447safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT& safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT::operator=(const safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT& src)
19448{
19449 if (&src == this) return *this;
19450
19451 if (pQueueFamilyIndices)
19452 delete[] pQueueFamilyIndices;
19453
19454 sType = src.sType;
19455 pNext = src.pNext;
19456 drmFormatModifier = src.drmFormatModifier;
19457 sharingMode = src.sharingMode;
19458 queueFamilyIndexCount = src.queueFamilyIndexCount;
19459 pQueueFamilyIndices = nullptr;
19460 if (src.pQueueFamilyIndices) {
19461 pQueueFamilyIndices = new uint32_t[src.queueFamilyIndexCount];
19462 memcpy ((void *)pQueueFamilyIndices, (void *)src.pQueueFamilyIndices, sizeof(uint32_t)*src.queueFamilyIndexCount);
19463 }
19464
19465 return *this;
19466}
19467
19468safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT::~safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT()
19469{
19470 if (pQueueFamilyIndices)
19471 delete[] pQueueFamilyIndices;
19472}
19473
19474void safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT::initialize(const VkPhysicalDeviceImageDrmFormatModifierInfoEXT* in_struct)
19475{
19476 sType = in_struct->sType;
19477 pNext = in_struct->pNext;
19478 drmFormatModifier = in_struct->drmFormatModifier;
19479 sharingMode = in_struct->sharingMode;
19480 queueFamilyIndexCount = in_struct->queueFamilyIndexCount;
19481 pQueueFamilyIndices = nullptr;
19482 if (in_struct->pQueueFamilyIndices) {
19483 pQueueFamilyIndices = new uint32_t[in_struct->queueFamilyIndexCount];
19484 memcpy ((void *)pQueueFamilyIndices, (void *)in_struct->pQueueFamilyIndices, sizeof(uint32_t)*in_struct->queueFamilyIndexCount);
19485 }
19486}
19487
19488void safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT::initialize(const safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT* src)
19489{
19490 sType = src->sType;
19491 pNext = src->pNext;
19492 drmFormatModifier = src->drmFormatModifier;
19493 sharingMode = src->sharingMode;
19494 queueFamilyIndexCount = src->queueFamilyIndexCount;
19495 pQueueFamilyIndices = nullptr;
19496 if (src->pQueueFamilyIndices) {
19497 pQueueFamilyIndices = new uint32_t[src->queueFamilyIndexCount];
19498 memcpy ((void *)pQueueFamilyIndices, (void *)src->pQueueFamilyIndices, sizeof(uint32_t)*src->queueFamilyIndexCount);
19499 }
19500}
19501
19502safe_VkImageDrmFormatModifierListCreateInfoEXT::safe_VkImageDrmFormatModifierListCreateInfoEXT(const VkImageDrmFormatModifierListCreateInfoEXT* in_struct) :
19503 sType(in_struct->sType),
19504 pNext(in_struct->pNext),
19505 drmFormatModifierCount(in_struct->drmFormatModifierCount),
19506 pDrmFormatModifiers(nullptr)
19507{
19508 if (in_struct->pDrmFormatModifiers) {
19509 pDrmFormatModifiers = new uint64_t[in_struct->drmFormatModifierCount];
19510 memcpy ((void *)pDrmFormatModifiers, (void *)in_struct->pDrmFormatModifiers, sizeof(uint64_t)*in_struct->drmFormatModifierCount);
19511 }
19512}
19513
19514safe_VkImageDrmFormatModifierListCreateInfoEXT::safe_VkImageDrmFormatModifierListCreateInfoEXT() :
19515 pDrmFormatModifiers(nullptr)
19516{}
19517
19518safe_VkImageDrmFormatModifierListCreateInfoEXT::safe_VkImageDrmFormatModifierListCreateInfoEXT(const safe_VkImageDrmFormatModifierListCreateInfoEXT& src)
19519{
19520 sType = src.sType;
19521 pNext = src.pNext;
19522 drmFormatModifierCount = src.drmFormatModifierCount;
19523 pDrmFormatModifiers = nullptr;
19524 if (src.pDrmFormatModifiers) {
19525 pDrmFormatModifiers = new uint64_t[src.drmFormatModifierCount];
19526 memcpy ((void *)pDrmFormatModifiers, (void *)src.pDrmFormatModifiers, sizeof(uint64_t)*src.drmFormatModifierCount);
19527 }
19528}
19529
19530safe_VkImageDrmFormatModifierListCreateInfoEXT& safe_VkImageDrmFormatModifierListCreateInfoEXT::operator=(const safe_VkImageDrmFormatModifierListCreateInfoEXT& src)
19531{
19532 if (&src == this) return *this;
19533
19534 if (pDrmFormatModifiers)
19535 delete[] pDrmFormatModifiers;
19536
19537 sType = src.sType;
19538 pNext = src.pNext;
19539 drmFormatModifierCount = src.drmFormatModifierCount;
19540 pDrmFormatModifiers = nullptr;
19541 if (src.pDrmFormatModifiers) {
19542 pDrmFormatModifiers = new uint64_t[src.drmFormatModifierCount];
19543 memcpy ((void *)pDrmFormatModifiers, (void *)src.pDrmFormatModifiers, sizeof(uint64_t)*src.drmFormatModifierCount);
19544 }
19545
19546 return *this;
19547}
19548
19549safe_VkImageDrmFormatModifierListCreateInfoEXT::~safe_VkImageDrmFormatModifierListCreateInfoEXT()
19550{
19551 if (pDrmFormatModifiers)
19552 delete[] pDrmFormatModifiers;
19553}
19554
19555void safe_VkImageDrmFormatModifierListCreateInfoEXT::initialize(const VkImageDrmFormatModifierListCreateInfoEXT* in_struct)
19556{
19557 sType = in_struct->sType;
19558 pNext = in_struct->pNext;
19559 drmFormatModifierCount = in_struct->drmFormatModifierCount;
19560 pDrmFormatModifiers = nullptr;
19561 if (in_struct->pDrmFormatModifiers) {
19562 pDrmFormatModifiers = new uint64_t[in_struct->drmFormatModifierCount];
19563 memcpy ((void *)pDrmFormatModifiers, (void *)in_struct->pDrmFormatModifiers, sizeof(uint64_t)*in_struct->drmFormatModifierCount);
19564 }
19565}
19566
19567void safe_VkImageDrmFormatModifierListCreateInfoEXT::initialize(const safe_VkImageDrmFormatModifierListCreateInfoEXT* src)
19568{
19569 sType = src->sType;
19570 pNext = src->pNext;
19571 drmFormatModifierCount = src->drmFormatModifierCount;
19572 pDrmFormatModifiers = nullptr;
19573 if (src->pDrmFormatModifiers) {
19574 pDrmFormatModifiers = new uint64_t[src->drmFormatModifierCount];
19575 memcpy ((void *)pDrmFormatModifiers, (void *)src->pDrmFormatModifiers, sizeof(uint64_t)*src->drmFormatModifierCount);
19576 }
19577}
19578
19579safe_VkImageDrmFormatModifierExplicitCreateInfoEXT::safe_VkImageDrmFormatModifierExplicitCreateInfoEXT(const VkImageDrmFormatModifierExplicitCreateInfoEXT* in_struct) :
19580 sType(in_struct->sType),
19581 pNext(in_struct->pNext),
19582 drmFormatModifier(in_struct->drmFormatModifier),
19583 drmFormatModifierPlaneCount(in_struct->drmFormatModifierPlaneCount),
19584 pPlaneLayouts(nullptr)
19585{
19586 if (in_struct->pPlaneLayouts) {
19587 pPlaneLayouts = new VkSubresourceLayout[in_struct->drmFormatModifierPlaneCount];
19588 memcpy ((void *)pPlaneLayouts, (void *)in_struct->pPlaneLayouts, sizeof(VkSubresourceLayout)*in_struct->drmFormatModifierPlaneCount);
19589 }
19590}
19591
19592safe_VkImageDrmFormatModifierExplicitCreateInfoEXT::safe_VkImageDrmFormatModifierExplicitCreateInfoEXT() :
19593 pPlaneLayouts(nullptr)
19594{}
19595
19596safe_VkImageDrmFormatModifierExplicitCreateInfoEXT::safe_VkImageDrmFormatModifierExplicitCreateInfoEXT(const safe_VkImageDrmFormatModifierExplicitCreateInfoEXT& src)
19597{
19598 sType = src.sType;
19599 pNext = src.pNext;
19600 drmFormatModifier = src.drmFormatModifier;
19601 drmFormatModifierPlaneCount = src.drmFormatModifierPlaneCount;
19602 pPlaneLayouts = nullptr;
19603 if (src.pPlaneLayouts) {
19604 pPlaneLayouts = new VkSubresourceLayout[src.drmFormatModifierPlaneCount];
19605 memcpy ((void *)pPlaneLayouts, (void *)src.pPlaneLayouts, sizeof(VkSubresourceLayout)*src.drmFormatModifierPlaneCount);
19606 }
19607}
19608
19609safe_VkImageDrmFormatModifierExplicitCreateInfoEXT& safe_VkImageDrmFormatModifierExplicitCreateInfoEXT::operator=(const safe_VkImageDrmFormatModifierExplicitCreateInfoEXT& src)
19610{
19611 if (&src == this) return *this;
19612
19613 if (pPlaneLayouts)
19614 delete[] pPlaneLayouts;
19615
19616 sType = src.sType;
19617 pNext = src.pNext;
19618 drmFormatModifier = src.drmFormatModifier;
19619 drmFormatModifierPlaneCount = src.drmFormatModifierPlaneCount;
19620 pPlaneLayouts = nullptr;
19621 if (src.pPlaneLayouts) {
19622 pPlaneLayouts = new VkSubresourceLayout[src.drmFormatModifierPlaneCount];
19623 memcpy ((void *)pPlaneLayouts, (void *)src.pPlaneLayouts, sizeof(VkSubresourceLayout)*src.drmFormatModifierPlaneCount);
19624 }
19625
19626 return *this;
19627}
19628
19629safe_VkImageDrmFormatModifierExplicitCreateInfoEXT::~safe_VkImageDrmFormatModifierExplicitCreateInfoEXT()
19630{
19631 if (pPlaneLayouts)
19632 delete[] pPlaneLayouts;
19633}
19634
19635void safe_VkImageDrmFormatModifierExplicitCreateInfoEXT::initialize(const VkImageDrmFormatModifierExplicitCreateInfoEXT* in_struct)
19636{
19637 sType = in_struct->sType;
19638 pNext = in_struct->pNext;
19639 drmFormatModifier = in_struct->drmFormatModifier;
19640 drmFormatModifierPlaneCount = in_struct->drmFormatModifierPlaneCount;
19641 pPlaneLayouts = nullptr;
19642 if (in_struct->pPlaneLayouts) {
19643 pPlaneLayouts = new VkSubresourceLayout[in_struct->drmFormatModifierPlaneCount];
19644 memcpy ((void *)pPlaneLayouts, (void *)in_struct->pPlaneLayouts, sizeof(VkSubresourceLayout)*in_struct->drmFormatModifierPlaneCount);
19645 }
19646}
19647
19648void safe_VkImageDrmFormatModifierExplicitCreateInfoEXT::initialize(const safe_VkImageDrmFormatModifierExplicitCreateInfoEXT* src)
19649{
19650 sType = src->sType;
19651 pNext = src->pNext;
19652 drmFormatModifier = src->drmFormatModifier;
19653 drmFormatModifierPlaneCount = src->drmFormatModifierPlaneCount;
19654 pPlaneLayouts = nullptr;
19655 if (src->pPlaneLayouts) {
19656 pPlaneLayouts = new VkSubresourceLayout[src->drmFormatModifierPlaneCount];
19657 memcpy ((void *)pPlaneLayouts, (void *)src->pPlaneLayouts, sizeof(VkSubresourceLayout)*src->drmFormatModifierPlaneCount);
19658 }
19659}
19660
19661safe_VkImageDrmFormatModifierPropertiesEXT::safe_VkImageDrmFormatModifierPropertiesEXT(const VkImageDrmFormatModifierPropertiesEXT* in_struct) :
19662 sType(in_struct->sType),
19663 pNext(in_struct->pNext),
19664 drmFormatModifier(in_struct->drmFormatModifier)
19665{
19666}
19667
19668safe_VkImageDrmFormatModifierPropertiesEXT::safe_VkImageDrmFormatModifierPropertiesEXT()
19669{}
19670
19671safe_VkImageDrmFormatModifierPropertiesEXT::safe_VkImageDrmFormatModifierPropertiesEXT(const safe_VkImageDrmFormatModifierPropertiesEXT& src)
19672{
19673 sType = src.sType;
19674 pNext = src.pNext;
19675 drmFormatModifier = src.drmFormatModifier;
19676}
19677
19678safe_VkImageDrmFormatModifierPropertiesEXT& safe_VkImageDrmFormatModifierPropertiesEXT::operator=(const safe_VkImageDrmFormatModifierPropertiesEXT& src)
19679{
19680 if (&src == this) return *this;
19681
19682
19683 sType = src.sType;
19684 pNext = src.pNext;
19685 drmFormatModifier = src.drmFormatModifier;
19686
19687 return *this;
19688}
19689
19690safe_VkImageDrmFormatModifierPropertiesEXT::~safe_VkImageDrmFormatModifierPropertiesEXT()
19691{
19692}
19693
19694void safe_VkImageDrmFormatModifierPropertiesEXT::initialize(const VkImageDrmFormatModifierPropertiesEXT* in_struct)
19695{
19696 sType = in_struct->sType;
19697 pNext = in_struct->pNext;
19698 drmFormatModifier = in_struct->drmFormatModifier;
19699}
19700
19701void safe_VkImageDrmFormatModifierPropertiesEXT::initialize(const safe_VkImageDrmFormatModifierPropertiesEXT* src)
19702{
19703 sType = src->sType;
19704 pNext = src->pNext;
19705 drmFormatModifier = src->drmFormatModifier;
19706}
19707
19708safe_VkValidationCacheCreateInfoEXT::safe_VkValidationCacheCreateInfoEXT(const VkValidationCacheCreateInfoEXT* in_struct) :
19709 sType(in_struct->sType),
19710 pNext(in_struct->pNext),
19711 flags(in_struct->flags),
19712 initialDataSize(in_struct->initialDataSize),
19713 pInitialData(in_struct->pInitialData)
19714{
19715}
19716
19717safe_VkValidationCacheCreateInfoEXT::safe_VkValidationCacheCreateInfoEXT()
19718{}
19719
19720safe_VkValidationCacheCreateInfoEXT::safe_VkValidationCacheCreateInfoEXT(const safe_VkValidationCacheCreateInfoEXT& src)
19721{
19722 sType = src.sType;
19723 pNext = src.pNext;
19724 flags = src.flags;
19725 initialDataSize = src.initialDataSize;
19726 pInitialData = src.pInitialData;
19727}
19728
19729safe_VkValidationCacheCreateInfoEXT& safe_VkValidationCacheCreateInfoEXT::operator=(const safe_VkValidationCacheCreateInfoEXT& src)
19730{
19731 if (&src == this) return *this;
19732
19733
19734 sType = src.sType;
19735 pNext = src.pNext;
19736 flags = src.flags;
19737 initialDataSize = src.initialDataSize;
19738 pInitialData = src.pInitialData;
19739
19740 return *this;
19741}
19742
19743safe_VkValidationCacheCreateInfoEXT::~safe_VkValidationCacheCreateInfoEXT()
19744{
19745}
19746
19747void safe_VkValidationCacheCreateInfoEXT::initialize(const VkValidationCacheCreateInfoEXT* in_struct)
19748{
19749 sType = in_struct->sType;
19750 pNext = in_struct->pNext;
19751 flags = in_struct->flags;
19752 initialDataSize = in_struct->initialDataSize;
19753 pInitialData = in_struct->pInitialData;
19754}
19755
19756void safe_VkValidationCacheCreateInfoEXT::initialize(const safe_VkValidationCacheCreateInfoEXT* src)
19757{
19758 sType = src->sType;
19759 pNext = src->pNext;
19760 flags = src->flags;
19761 initialDataSize = src->initialDataSize;
19762 pInitialData = src->pInitialData;
19763}
19764
19765safe_VkShaderModuleValidationCacheCreateInfoEXT::safe_VkShaderModuleValidationCacheCreateInfoEXT(const VkShaderModuleValidationCacheCreateInfoEXT* in_struct) :
19766 sType(in_struct->sType),
19767 pNext(in_struct->pNext),
19768 validationCache(in_struct->validationCache)
19769{
19770}
19771
19772safe_VkShaderModuleValidationCacheCreateInfoEXT::safe_VkShaderModuleValidationCacheCreateInfoEXT()
19773{}
19774
19775safe_VkShaderModuleValidationCacheCreateInfoEXT::safe_VkShaderModuleValidationCacheCreateInfoEXT(const safe_VkShaderModuleValidationCacheCreateInfoEXT& src)
19776{
19777 sType = src.sType;
19778 pNext = src.pNext;
19779 validationCache = src.validationCache;
19780}
19781
19782safe_VkShaderModuleValidationCacheCreateInfoEXT& safe_VkShaderModuleValidationCacheCreateInfoEXT::operator=(const safe_VkShaderModuleValidationCacheCreateInfoEXT& src)
19783{
19784 if (&src == this) return *this;
19785
19786
19787 sType = src.sType;
19788 pNext = src.pNext;
19789 validationCache = src.validationCache;
19790
19791 return *this;
19792}
19793
19794safe_VkShaderModuleValidationCacheCreateInfoEXT::~safe_VkShaderModuleValidationCacheCreateInfoEXT()
19795{
19796}
19797
19798void safe_VkShaderModuleValidationCacheCreateInfoEXT::initialize(const VkShaderModuleValidationCacheCreateInfoEXT* in_struct)
19799{
19800 sType = in_struct->sType;
19801 pNext = in_struct->pNext;
19802 validationCache = in_struct->validationCache;
19803}
19804
19805void safe_VkShaderModuleValidationCacheCreateInfoEXT::initialize(const safe_VkShaderModuleValidationCacheCreateInfoEXT* src)
19806{
19807 sType = src->sType;
19808 pNext = src->pNext;
19809 validationCache = src->validationCache;
19810}
19811
19812safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT::safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT(const VkDescriptorSetLayoutBindingFlagsCreateInfoEXT* in_struct) :
19813 sType(in_struct->sType),
19814 pNext(in_struct->pNext),
19815 bindingCount(in_struct->bindingCount),
19816 pBindingFlags(nullptr)
19817{
19818 if (in_struct->pBindingFlags) {
19819 pBindingFlags = new VkDescriptorBindingFlagsEXT[in_struct->bindingCount];
19820 memcpy ((void *)pBindingFlags, (void *)in_struct->pBindingFlags, sizeof(VkDescriptorBindingFlagsEXT)*in_struct->bindingCount);
19821 }
19822}
19823
19824safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT::safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT() :
19825 pBindingFlags(nullptr)
19826{}
19827
19828safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT::safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT(const safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT& src)
19829{
19830 sType = src.sType;
19831 pNext = src.pNext;
19832 bindingCount = src.bindingCount;
19833 pBindingFlags = nullptr;
19834 if (src.pBindingFlags) {
19835 pBindingFlags = new VkDescriptorBindingFlagsEXT[src.bindingCount];
19836 memcpy ((void *)pBindingFlags, (void *)src.pBindingFlags, sizeof(VkDescriptorBindingFlagsEXT)*src.bindingCount);
19837 }
19838}
19839
19840safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT& safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT::operator=(const safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT& src)
19841{
19842 if (&src == this) return *this;
19843
19844 if (pBindingFlags)
19845 delete[] pBindingFlags;
19846
19847 sType = src.sType;
19848 pNext = src.pNext;
19849 bindingCount = src.bindingCount;
19850 pBindingFlags = nullptr;
19851 if (src.pBindingFlags) {
19852 pBindingFlags = new VkDescriptorBindingFlagsEXT[src.bindingCount];
19853 memcpy ((void *)pBindingFlags, (void *)src.pBindingFlags, sizeof(VkDescriptorBindingFlagsEXT)*src.bindingCount);
19854 }
19855
19856 return *this;
19857}
19858
19859safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT::~safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT()
19860{
19861 if (pBindingFlags)
19862 delete[] pBindingFlags;
19863}
19864
19865void safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT::initialize(const VkDescriptorSetLayoutBindingFlagsCreateInfoEXT* in_struct)
19866{
19867 sType = in_struct->sType;
19868 pNext = in_struct->pNext;
19869 bindingCount = in_struct->bindingCount;
19870 pBindingFlags = nullptr;
19871 if (in_struct->pBindingFlags) {
19872 pBindingFlags = new VkDescriptorBindingFlagsEXT[in_struct->bindingCount];
19873 memcpy ((void *)pBindingFlags, (void *)in_struct->pBindingFlags, sizeof(VkDescriptorBindingFlagsEXT)*in_struct->bindingCount);
19874 }
19875}
19876
19877void safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT::initialize(const safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT* src)
19878{
19879 sType = src->sType;
19880 pNext = src->pNext;
19881 bindingCount = src->bindingCount;
19882 pBindingFlags = nullptr;
19883 if (src->pBindingFlags) {
19884 pBindingFlags = new VkDescriptorBindingFlagsEXT[src->bindingCount];
19885 memcpy ((void *)pBindingFlags, (void *)src->pBindingFlags, sizeof(VkDescriptorBindingFlagsEXT)*src->bindingCount);
19886 }
19887}
19888
19889safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT::safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT(const VkPhysicalDeviceDescriptorIndexingFeaturesEXT* in_struct) :
19890 sType(in_struct->sType),
19891 pNext(in_struct->pNext),
19892 shaderInputAttachmentArrayDynamicIndexing(in_struct->shaderInputAttachmentArrayDynamicIndexing),
19893 shaderUniformTexelBufferArrayDynamicIndexing(in_struct->shaderUniformTexelBufferArrayDynamicIndexing),
19894 shaderStorageTexelBufferArrayDynamicIndexing(in_struct->shaderStorageTexelBufferArrayDynamicIndexing),
19895 shaderUniformBufferArrayNonUniformIndexing(in_struct->shaderUniformBufferArrayNonUniformIndexing),
19896 shaderSampledImageArrayNonUniformIndexing(in_struct->shaderSampledImageArrayNonUniformIndexing),
19897 shaderStorageBufferArrayNonUniformIndexing(in_struct->shaderStorageBufferArrayNonUniformIndexing),
19898 shaderStorageImageArrayNonUniformIndexing(in_struct->shaderStorageImageArrayNonUniformIndexing),
19899 shaderInputAttachmentArrayNonUniformIndexing(in_struct->shaderInputAttachmentArrayNonUniformIndexing),
19900 shaderUniformTexelBufferArrayNonUniformIndexing(in_struct->shaderUniformTexelBufferArrayNonUniformIndexing),
19901 shaderStorageTexelBufferArrayNonUniformIndexing(in_struct->shaderStorageTexelBufferArrayNonUniformIndexing),
19902 descriptorBindingUniformBufferUpdateAfterBind(in_struct->descriptorBindingUniformBufferUpdateAfterBind),
19903 descriptorBindingSampledImageUpdateAfterBind(in_struct->descriptorBindingSampledImageUpdateAfterBind),
19904 descriptorBindingStorageImageUpdateAfterBind(in_struct->descriptorBindingStorageImageUpdateAfterBind),
19905 descriptorBindingStorageBufferUpdateAfterBind(in_struct->descriptorBindingStorageBufferUpdateAfterBind),
19906 descriptorBindingUniformTexelBufferUpdateAfterBind(in_struct->descriptorBindingUniformTexelBufferUpdateAfterBind),
19907 descriptorBindingStorageTexelBufferUpdateAfterBind(in_struct->descriptorBindingStorageTexelBufferUpdateAfterBind),
19908 descriptorBindingUpdateUnusedWhilePending(in_struct->descriptorBindingUpdateUnusedWhilePending),
19909 descriptorBindingPartiallyBound(in_struct->descriptorBindingPartiallyBound),
19910 descriptorBindingVariableDescriptorCount(in_struct->descriptorBindingVariableDescriptorCount),
19911 runtimeDescriptorArray(in_struct->runtimeDescriptorArray)
19912{
19913}
19914
19915safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT::safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT()
19916{}
19917
19918safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT::safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT(const safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT& src)
19919{
19920 sType = src.sType;
19921 pNext = src.pNext;
19922 shaderInputAttachmentArrayDynamicIndexing = src.shaderInputAttachmentArrayDynamicIndexing;
19923 shaderUniformTexelBufferArrayDynamicIndexing = src.shaderUniformTexelBufferArrayDynamicIndexing;
19924 shaderStorageTexelBufferArrayDynamicIndexing = src.shaderStorageTexelBufferArrayDynamicIndexing;
19925 shaderUniformBufferArrayNonUniformIndexing = src.shaderUniformBufferArrayNonUniformIndexing;
19926 shaderSampledImageArrayNonUniformIndexing = src.shaderSampledImageArrayNonUniformIndexing;
19927 shaderStorageBufferArrayNonUniformIndexing = src.shaderStorageBufferArrayNonUniformIndexing;
19928 shaderStorageImageArrayNonUniformIndexing = src.shaderStorageImageArrayNonUniformIndexing;
19929 shaderInputAttachmentArrayNonUniformIndexing = src.shaderInputAttachmentArrayNonUniformIndexing;
19930 shaderUniformTexelBufferArrayNonUniformIndexing = src.shaderUniformTexelBufferArrayNonUniformIndexing;
19931 shaderStorageTexelBufferArrayNonUniformIndexing = src.shaderStorageTexelBufferArrayNonUniformIndexing;
19932 descriptorBindingUniformBufferUpdateAfterBind = src.descriptorBindingUniformBufferUpdateAfterBind;
19933 descriptorBindingSampledImageUpdateAfterBind = src.descriptorBindingSampledImageUpdateAfterBind;
19934 descriptorBindingStorageImageUpdateAfterBind = src.descriptorBindingStorageImageUpdateAfterBind;
19935 descriptorBindingStorageBufferUpdateAfterBind = src.descriptorBindingStorageBufferUpdateAfterBind;
19936 descriptorBindingUniformTexelBufferUpdateAfterBind = src.descriptorBindingUniformTexelBufferUpdateAfterBind;
19937 descriptorBindingStorageTexelBufferUpdateAfterBind = src.descriptorBindingStorageTexelBufferUpdateAfterBind;
19938 descriptorBindingUpdateUnusedWhilePending = src.descriptorBindingUpdateUnusedWhilePending;
19939 descriptorBindingPartiallyBound = src.descriptorBindingPartiallyBound;
19940 descriptorBindingVariableDescriptorCount = src.descriptorBindingVariableDescriptorCount;
19941 runtimeDescriptorArray = src.runtimeDescriptorArray;
19942}
19943
19944safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT& safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT::operator=(const safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT& src)
19945{
19946 if (&src == this) return *this;
19947
19948
19949 sType = src.sType;
19950 pNext = src.pNext;
19951 shaderInputAttachmentArrayDynamicIndexing = src.shaderInputAttachmentArrayDynamicIndexing;
19952 shaderUniformTexelBufferArrayDynamicIndexing = src.shaderUniformTexelBufferArrayDynamicIndexing;
19953 shaderStorageTexelBufferArrayDynamicIndexing = src.shaderStorageTexelBufferArrayDynamicIndexing;
19954 shaderUniformBufferArrayNonUniformIndexing = src.shaderUniformBufferArrayNonUniformIndexing;
19955 shaderSampledImageArrayNonUniformIndexing = src.shaderSampledImageArrayNonUniformIndexing;
19956 shaderStorageBufferArrayNonUniformIndexing = src.shaderStorageBufferArrayNonUniformIndexing;
19957 shaderStorageImageArrayNonUniformIndexing = src.shaderStorageImageArrayNonUniformIndexing;
19958 shaderInputAttachmentArrayNonUniformIndexing = src.shaderInputAttachmentArrayNonUniformIndexing;
19959 shaderUniformTexelBufferArrayNonUniformIndexing = src.shaderUniformTexelBufferArrayNonUniformIndexing;
19960 shaderStorageTexelBufferArrayNonUniformIndexing = src.shaderStorageTexelBufferArrayNonUniformIndexing;
19961 descriptorBindingUniformBufferUpdateAfterBind = src.descriptorBindingUniformBufferUpdateAfterBind;
19962 descriptorBindingSampledImageUpdateAfterBind = src.descriptorBindingSampledImageUpdateAfterBind;
19963 descriptorBindingStorageImageUpdateAfterBind = src.descriptorBindingStorageImageUpdateAfterBind;
19964 descriptorBindingStorageBufferUpdateAfterBind = src.descriptorBindingStorageBufferUpdateAfterBind;
19965 descriptorBindingUniformTexelBufferUpdateAfterBind = src.descriptorBindingUniformTexelBufferUpdateAfterBind;
19966 descriptorBindingStorageTexelBufferUpdateAfterBind = src.descriptorBindingStorageTexelBufferUpdateAfterBind;
19967 descriptorBindingUpdateUnusedWhilePending = src.descriptorBindingUpdateUnusedWhilePending;
19968 descriptorBindingPartiallyBound = src.descriptorBindingPartiallyBound;
19969 descriptorBindingVariableDescriptorCount = src.descriptorBindingVariableDescriptorCount;
19970 runtimeDescriptorArray = src.runtimeDescriptorArray;
19971
19972 return *this;
19973}
19974
19975safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT::~safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT()
19976{
19977}
19978
19979void safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT::initialize(const VkPhysicalDeviceDescriptorIndexingFeaturesEXT* in_struct)
19980{
19981 sType = in_struct->sType;
19982 pNext = in_struct->pNext;
19983 shaderInputAttachmentArrayDynamicIndexing = in_struct->shaderInputAttachmentArrayDynamicIndexing;
19984 shaderUniformTexelBufferArrayDynamicIndexing = in_struct->shaderUniformTexelBufferArrayDynamicIndexing;
19985 shaderStorageTexelBufferArrayDynamicIndexing = in_struct->shaderStorageTexelBufferArrayDynamicIndexing;
19986 shaderUniformBufferArrayNonUniformIndexing = in_struct->shaderUniformBufferArrayNonUniformIndexing;
19987 shaderSampledImageArrayNonUniformIndexing = in_struct->shaderSampledImageArrayNonUniformIndexing;
19988 shaderStorageBufferArrayNonUniformIndexing = in_struct->shaderStorageBufferArrayNonUniformIndexing;
19989 shaderStorageImageArrayNonUniformIndexing = in_struct->shaderStorageImageArrayNonUniformIndexing;
19990 shaderInputAttachmentArrayNonUniformIndexing = in_struct->shaderInputAttachmentArrayNonUniformIndexing;
19991 shaderUniformTexelBufferArrayNonUniformIndexing = in_struct->shaderUniformTexelBufferArrayNonUniformIndexing;
19992 shaderStorageTexelBufferArrayNonUniformIndexing = in_struct->shaderStorageTexelBufferArrayNonUniformIndexing;
19993 descriptorBindingUniformBufferUpdateAfterBind = in_struct->descriptorBindingUniformBufferUpdateAfterBind;
19994 descriptorBindingSampledImageUpdateAfterBind = in_struct->descriptorBindingSampledImageUpdateAfterBind;
19995 descriptorBindingStorageImageUpdateAfterBind = in_struct->descriptorBindingStorageImageUpdateAfterBind;
19996 descriptorBindingStorageBufferUpdateAfterBind = in_struct->descriptorBindingStorageBufferUpdateAfterBind;
19997 descriptorBindingUniformTexelBufferUpdateAfterBind = in_struct->descriptorBindingUniformTexelBufferUpdateAfterBind;
19998 descriptorBindingStorageTexelBufferUpdateAfterBind = in_struct->descriptorBindingStorageTexelBufferUpdateAfterBind;
19999 descriptorBindingUpdateUnusedWhilePending = in_struct->descriptorBindingUpdateUnusedWhilePending;
20000 descriptorBindingPartiallyBound = in_struct->descriptorBindingPartiallyBound;
20001 descriptorBindingVariableDescriptorCount = in_struct->descriptorBindingVariableDescriptorCount;
20002 runtimeDescriptorArray = in_struct->runtimeDescriptorArray;
20003}
20004
20005void safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT::initialize(const safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT* src)
20006{
20007 sType = src->sType;
20008 pNext = src->pNext;
20009 shaderInputAttachmentArrayDynamicIndexing = src->shaderInputAttachmentArrayDynamicIndexing;
20010 shaderUniformTexelBufferArrayDynamicIndexing = src->shaderUniformTexelBufferArrayDynamicIndexing;
20011 shaderStorageTexelBufferArrayDynamicIndexing = src->shaderStorageTexelBufferArrayDynamicIndexing;
20012 shaderUniformBufferArrayNonUniformIndexing = src->shaderUniformBufferArrayNonUniformIndexing;
20013 shaderSampledImageArrayNonUniformIndexing = src->shaderSampledImageArrayNonUniformIndexing;
20014 shaderStorageBufferArrayNonUniformIndexing = src->shaderStorageBufferArrayNonUniformIndexing;
20015 shaderStorageImageArrayNonUniformIndexing = src->shaderStorageImageArrayNonUniformIndexing;
20016 shaderInputAttachmentArrayNonUniformIndexing = src->shaderInputAttachmentArrayNonUniformIndexing;
20017 shaderUniformTexelBufferArrayNonUniformIndexing = src->shaderUniformTexelBufferArrayNonUniformIndexing;
20018 shaderStorageTexelBufferArrayNonUniformIndexing = src->shaderStorageTexelBufferArrayNonUniformIndexing;
20019 descriptorBindingUniformBufferUpdateAfterBind = src->descriptorBindingUniformBufferUpdateAfterBind;
20020 descriptorBindingSampledImageUpdateAfterBind = src->descriptorBindingSampledImageUpdateAfterBind;
20021 descriptorBindingStorageImageUpdateAfterBind = src->descriptorBindingStorageImageUpdateAfterBind;
20022 descriptorBindingStorageBufferUpdateAfterBind = src->descriptorBindingStorageBufferUpdateAfterBind;
20023 descriptorBindingUniformTexelBufferUpdateAfterBind = src->descriptorBindingUniformTexelBufferUpdateAfterBind;
20024 descriptorBindingStorageTexelBufferUpdateAfterBind = src->descriptorBindingStorageTexelBufferUpdateAfterBind;
20025 descriptorBindingUpdateUnusedWhilePending = src->descriptorBindingUpdateUnusedWhilePending;
20026 descriptorBindingPartiallyBound = src->descriptorBindingPartiallyBound;
20027 descriptorBindingVariableDescriptorCount = src->descriptorBindingVariableDescriptorCount;
20028 runtimeDescriptorArray = src->runtimeDescriptorArray;
20029}
20030
20031safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT::safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT(const VkPhysicalDeviceDescriptorIndexingPropertiesEXT* in_struct) :
20032 sType(in_struct->sType),
20033 pNext(in_struct->pNext),
20034 maxUpdateAfterBindDescriptorsInAllPools(in_struct->maxUpdateAfterBindDescriptorsInAllPools),
20035 shaderUniformBufferArrayNonUniformIndexingNative(in_struct->shaderUniformBufferArrayNonUniformIndexingNative),
20036 shaderSampledImageArrayNonUniformIndexingNative(in_struct->shaderSampledImageArrayNonUniformIndexingNative),
20037 shaderStorageBufferArrayNonUniformIndexingNative(in_struct->shaderStorageBufferArrayNonUniformIndexingNative),
20038 shaderStorageImageArrayNonUniformIndexingNative(in_struct->shaderStorageImageArrayNonUniformIndexingNative),
20039 shaderInputAttachmentArrayNonUniformIndexingNative(in_struct->shaderInputAttachmentArrayNonUniformIndexingNative),
20040 robustBufferAccessUpdateAfterBind(in_struct->robustBufferAccessUpdateAfterBind),
20041 quadDivergentImplicitLod(in_struct->quadDivergentImplicitLod),
20042 maxPerStageDescriptorUpdateAfterBindSamplers(in_struct->maxPerStageDescriptorUpdateAfterBindSamplers),
20043 maxPerStageDescriptorUpdateAfterBindUniformBuffers(in_struct->maxPerStageDescriptorUpdateAfterBindUniformBuffers),
20044 maxPerStageDescriptorUpdateAfterBindStorageBuffers(in_struct->maxPerStageDescriptorUpdateAfterBindStorageBuffers),
20045 maxPerStageDescriptorUpdateAfterBindSampledImages(in_struct->maxPerStageDescriptorUpdateAfterBindSampledImages),
20046 maxPerStageDescriptorUpdateAfterBindStorageImages(in_struct->maxPerStageDescriptorUpdateAfterBindStorageImages),
20047 maxPerStageDescriptorUpdateAfterBindInputAttachments(in_struct->maxPerStageDescriptorUpdateAfterBindInputAttachments),
20048 maxPerStageUpdateAfterBindResources(in_struct->maxPerStageUpdateAfterBindResources),
20049 maxDescriptorSetUpdateAfterBindSamplers(in_struct->maxDescriptorSetUpdateAfterBindSamplers),
20050 maxDescriptorSetUpdateAfterBindUniformBuffers(in_struct->maxDescriptorSetUpdateAfterBindUniformBuffers),
20051 maxDescriptorSetUpdateAfterBindUniformBuffersDynamic(in_struct->maxDescriptorSetUpdateAfterBindUniformBuffersDynamic),
20052 maxDescriptorSetUpdateAfterBindStorageBuffers(in_struct->maxDescriptorSetUpdateAfterBindStorageBuffers),
20053 maxDescriptorSetUpdateAfterBindStorageBuffersDynamic(in_struct->maxDescriptorSetUpdateAfterBindStorageBuffersDynamic),
20054 maxDescriptorSetUpdateAfterBindSampledImages(in_struct->maxDescriptorSetUpdateAfterBindSampledImages),
20055 maxDescriptorSetUpdateAfterBindStorageImages(in_struct->maxDescriptorSetUpdateAfterBindStorageImages),
20056 maxDescriptorSetUpdateAfterBindInputAttachments(in_struct->maxDescriptorSetUpdateAfterBindInputAttachments)
20057{
20058}
20059
20060safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT::safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT()
20061{}
20062
20063safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT::safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT(const safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT& src)
20064{
20065 sType = src.sType;
20066 pNext = src.pNext;
20067 maxUpdateAfterBindDescriptorsInAllPools = src.maxUpdateAfterBindDescriptorsInAllPools;
20068 shaderUniformBufferArrayNonUniformIndexingNative = src.shaderUniformBufferArrayNonUniformIndexingNative;
20069 shaderSampledImageArrayNonUniformIndexingNative = src.shaderSampledImageArrayNonUniformIndexingNative;
20070 shaderStorageBufferArrayNonUniformIndexingNative = src.shaderStorageBufferArrayNonUniformIndexingNative;
20071 shaderStorageImageArrayNonUniformIndexingNative = src.shaderStorageImageArrayNonUniformIndexingNative;
20072 shaderInputAttachmentArrayNonUniformIndexingNative = src.shaderInputAttachmentArrayNonUniformIndexingNative;
20073 robustBufferAccessUpdateAfterBind = src.robustBufferAccessUpdateAfterBind;
20074 quadDivergentImplicitLod = src.quadDivergentImplicitLod;
20075 maxPerStageDescriptorUpdateAfterBindSamplers = src.maxPerStageDescriptorUpdateAfterBindSamplers;
20076 maxPerStageDescriptorUpdateAfterBindUniformBuffers = src.maxPerStageDescriptorUpdateAfterBindUniformBuffers;
20077 maxPerStageDescriptorUpdateAfterBindStorageBuffers = src.maxPerStageDescriptorUpdateAfterBindStorageBuffers;
20078 maxPerStageDescriptorUpdateAfterBindSampledImages = src.maxPerStageDescriptorUpdateAfterBindSampledImages;
20079 maxPerStageDescriptorUpdateAfterBindStorageImages = src.maxPerStageDescriptorUpdateAfterBindStorageImages;
20080 maxPerStageDescriptorUpdateAfterBindInputAttachments = src.maxPerStageDescriptorUpdateAfterBindInputAttachments;
20081 maxPerStageUpdateAfterBindResources = src.maxPerStageUpdateAfterBindResources;
20082 maxDescriptorSetUpdateAfterBindSamplers = src.maxDescriptorSetUpdateAfterBindSamplers;
20083 maxDescriptorSetUpdateAfterBindUniformBuffers = src.maxDescriptorSetUpdateAfterBindUniformBuffers;
20084 maxDescriptorSetUpdateAfterBindUniformBuffersDynamic = src.maxDescriptorSetUpdateAfterBindUniformBuffersDynamic;
20085 maxDescriptorSetUpdateAfterBindStorageBuffers = src.maxDescriptorSetUpdateAfterBindStorageBuffers;
20086 maxDescriptorSetUpdateAfterBindStorageBuffersDynamic = src.maxDescriptorSetUpdateAfterBindStorageBuffersDynamic;
20087 maxDescriptorSetUpdateAfterBindSampledImages = src.maxDescriptorSetUpdateAfterBindSampledImages;
20088 maxDescriptorSetUpdateAfterBindStorageImages = src.maxDescriptorSetUpdateAfterBindStorageImages;
20089 maxDescriptorSetUpdateAfterBindInputAttachments = src.maxDescriptorSetUpdateAfterBindInputAttachments;
20090}
20091
20092safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT& safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT::operator=(const safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT& src)
20093{
20094 if (&src == this) return *this;
20095
20096
20097 sType = src.sType;
20098 pNext = src.pNext;
20099 maxUpdateAfterBindDescriptorsInAllPools = src.maxUpdateAfterBindDescriptorsInAllPools;
20100 shaderUniformBufferArrayNonUniformIndexingNative = src.shaderUniformBufferArrayNonUniformIndexingNative;
20101 shaderSampledImageArrayNonUniformIndexingNative = src.shaderSampledImageArrayNonUniformIndexingNative;
20102 shaderStorageBufferArrayNonUniformIndexingNative = src.shaderStorageBufferArrayNonUniformIndexingNative;
20103 shaderStorageImageArrayNonUniformIndexingNative = src.shaderStorageImageArrayNonUniformIndexingNative;
20104 shaderInputAttachmentArrayNonUniformIndexingNative = src.shaderInputAttachmentArrayNonUniformIndexingNative;
20105 robustBufferAccessUpdateAfterBind = src.robustBufferAccessUpdateAfterBind;
20106 quadDivergentImplicitLod = src.quadDivergentImplicitLod;
20107 maxPerStageDescriptorUpdateAfterBindSamplers = src.maxPerStageDescriptorUpdateAfterBindSamplers;
20108 maxPerStageDescriptorUpdateAfterBindUniformBuffers = src.maxPerStageDescriptorUpdateAfterBindUniformBuffers;
20109 maxPerStageDescriptorUpdateAfterBindStorageBuffers = src.maxPerStageDescriptorUpdateAfterBindStorageBuffers;
20110 maxPerStageDescriptorUpdateAfterBindSampledImages = src.maxPerStageDescriptorUpdateAfterBindSampledImages;
20111 maxPerStageDescriptorUpdateAfterBindStorageImages = src.maxPerStageDescriptorUpdateAfterBindStorageImages;
20112 maxPerStageDescriptorUpdateAfterBindInputAttachments = src.maxPerStageDescriptorUpdateAfterBindInputAttachments;
20113 maxPerStageUpdateAfterBindResources = src.maxPerStageUpdateAfterBindResources;
20114 maxDescriptorSetUpdateAfterBindSamplers = src.maxDescriptorSetUpdateAfterBindSamplers;
20115 maxDescriptorSetUpdateAfterBindUniformBuffers = src.maxDescriptorSetUpdateAfterBindUniformBuffers;
20116 maxDescriptorSetUpdateAfterBindUniformBuffersDynamic = src.maxDescriptorSetUpdateAfterBindUniformBuffersDynamic;
20117 maxDescriptorSetUpdateAfterBindStorageBuffers = src.maxDescriptorSetUpdateAfterBindStorageBuffers;
20118 maxDescriptorSetUpdateAfterBindStorageBuffersDynamic = src.maxDescriptorSetUpdateAfterBindStorageBuffersDynamic;
20119 maxDescriptorSetUpdateAfterBindSampledImages = src.maxDescriptorSetUpdateAfterBindSampledImages;
20120 maxDescriptorSetUpdateAfterBindStorageImages = src.maxDescriptorSetUpdateAfterBindStorageImages;
20121 maxDescriptorSetUpdateAfterBindInputAttachments = src.maxDescriptorSetUpdateAfterBindInputAttachments;
20122
20123 return *this;
20124}
20125
20126safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT::~safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT()
20127{
20128}
20129
20130void safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT::initialize(const VkPhysicalDeviceDescriptorIndexingPropertiesEXT* in_struct)
20131{
20132 sType = in_struct->sType;
20133 pNext = in_struct->pNext;
20134 maxUpdateAfterBindDescriptorsInAllPools = in_struct->maxUpdateAfterBindDescriptorsInAllPools;
20135 shaderUniformBufferArrayNonUniformIndexingNative = in_struct->shaderUniformBufferArrayNonUniformIndexingNative;
20136 shaderSampledImageArrayNonUniformIndexingNative = in_struct->shaderSampledImageArrayNonUniformIndexingNative;
20137 shaderStorageBufferArrayNonUniformIndexingNative = in_struct->shaderStorageBufferArrayNonUniformIndexingNative;
20138 shaderStorageImageArrayNonUniformIndexingNative = in_struct->shaderStorageImageArrayNonUniformIndexingNative;
20139 shaderInputAttachmentArrayNonUniformIndexingNative = in_struct->shaderInputAttachmentArrayNonUniformIndexingNative;
20140 robustBufferAccessUpdateAfterBind = in_struct->robustBufferAccessUpdateAfterBind;
20141 quadDivergentImplicitLod = in_struct->quadDivergentImplicitLod;
20142 maxPerStageDescriptorUpdateAfterBindSamplers = in_struct->maxPerStageDescriptorUpdateAfterBindSamplers;
20143 maxPerStageDescriptorUpdateAfterBindUniformBuffers = in_struct->maxPerStageDescriptorUpdateAfterBindUniformBuffers;
20144 maxPerStageDescriptorUpdateAfterBindStorageBuffers = in_struct->maxPerStageDescriptorUpdateAfterBindStorageBuffers;
20145 maxPerStageDescriptorUpdateAfterBindSampledImages = in_struct->maxPerStageDescriptorUpdateAfterBindSampledImages;
20146 maxPerStageDescriptorUpdateAfterBindStorageImages = in_struct->maxPerStageDescriptorUpdateAfterBindStorageImages;
20147 maxPerStageDescriptorUpdateAfterBindInputAttachments = in_struct->maxPerStageDescriptorUpdateAfterBindInputAttachments;
20148 maxPerStageUpdateAfterBindResources = in_struct->maxPerStageUpdateAfterBindResources;
20149 maxDescriptorSetUpdateAfterBindSamplers = in_struct->maxDescriptorSetUpdateAfterBindSamplers;
20150 maxDescriptorSetUpdateAfterBindUniformBuffers = in_struct->maxDescriptorSetUpdateAfterBindUniformBuffers;
20151 maxDescriptorSetUpdateAfterBindUniformBuffersDynamic = in_struct->maxDescriptorSetUpdateAfterBindUniformBuffersDynamic;
20152 maxDescriptorSetUpdateAfterBindStorageBuffers = in_struct->maxDescriptorSetUpdateAfterBindStorageBuffers;
20153 maxDescriptorSetUpdateAfterBindStorageBuffersDynamic = in_struct->maxDescriptorSetUpdateAfterBindStorageBuffersDynamic;
20154 maxDescriptorSetUpdateAfterBindSampledImages = in_struct->maxDescriptorSetUpdateAfterBindSampledImages;
20155 maxDescriptorSetUpdateAfterBindStorageImages = in_struct->maxDescriptorSetUpdateAfterBindStorageImages;
20156 maxDescriptorSetUpdateAfterBindInputAttachments = in_struct->maxDescriptorSetUpdateAfterBindInputAttachments;
20157}
20158
20159void safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT::initialize(const safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT* src)
20160{
20161 sType = src->sType;
20162 pNext = src->pNext;
20163 maxUpdateAfterBindDescriptorsInAllPools = src->maxUpdateAfterBindDescriptorsInAllPools;
20164 shaderUniformBufferArrayNonUniformIndexingNative = src->shaderUniformBufferArrayNonUniformIndexingNative;
20165 shaderSampledImageArrayNonUniformIndexingNative = src->shaderSampledImageArrayNonUniformIndexingNative;
20166 shaderStorageBufferArrayNonUniformIndexingNative = src->shaderStorageBufferArrayNonUniformIndexingNative;
20167 shaderStorageImageArrayNonUniformIndexingNative = src->shaderStorageImageArrayNonUniformIndexingNative;
20168 shaderInputAttachmentArrayNonUniformIndexingNative = src->shaderInputAttachmentArrayNonUniformIndexingNative;
20169 robustBufferAccessUpdateAfterBind = src->robustBufferAccessUpdateAfterBind;
20170 quadDivergentImplicitLod = src->quadDivergentImplicitLod;
20171 maxPerStageDescriptorUpdateAfterBindSamplers = src->maxPerStageDescriptorUpdateAfterBindSamplers;
20172 maxPerStageDescriptorUpdateAfterBindUniformBuffers = src->maxPerStageDescriptorUpdateAfterBindUniformBuffers;
20173 maxPerStageDescriptorUpdateAfterBindStorageBuffers = src->maxPerStageDescriptorUpdateAfterBindStorageBuffers;
20174 maxPerStageDescriptorUpdateAfterBindSampledImages = src->maxPerStageDescriptorUpdateAfterBindSampledImages;
20175 maxPerStageDescriptorUpdateAfterBindStorageImages = src->maxPerStageDescriptorUpdateAfterBindStorageImages;
20176 maxPerStageDescriptorUpdateAfterBindInputAttachments = src->maxPerStageDescriptorUpdateAfterBindInputAttachments;
20177 maxPerStageUpdateAfterBindResources = src->maxPerStageUpdateAfterBindResources;
20178 maxDescriptorSetUpdateAfterBindSamplers = src->maxDescriptorSetUpdateAfterBindSamplers;
20179 maxDescriptorSetUpdateAfterBindUniformBuffers = src->maxDescriptorSetUpdateAfterBindUniformBuffers;
20180 maxDescriptorSetUpdateAfterBindUniformBuffersDynamic = src->maxDescriptorSetUpdateAfterBindUniformBuffersDynamic;
20181 maxDescriptorSetUpdateAfterBindStorageBuffers = src->maxDescriptorSetUpdateAfterBindStorageBuffers;
20182 maxDescriptorSetUpdateAfterBindStorageBuffersDynamic = src->maxDescriptorSetUpdateAfterBindStorageBuffersDynamic;
20183 maxDescriptorSetUpdateAfterBindSampledImages = src->maxDescriptorSetUpdateAfterBindSampledImages;
20184 maxDescriptorSetUpdateAfterBindStorageImages = src->maxDescriptorSetUpdateAfterBindStorageImages;
20185 maxDescriptorSetUpdateAfterBindInputAttachments = src->maxDescriptorSetUpdateAfterBindInputAttachments;
20186}
20187
20188safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT::safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT(const VkDescriptorSetVariableDescriptorCountAllocateInfoEXT* in_struct) :
20189 sType(in_struct->sType),
20190 pNext(in_struct->pNext),
20191 descriptorSetCount(in_struct->descriptorSetCount),
20192 pDescriptorCounts(nullptr)
20193{
20194 if (in_struct->pDescriptorCounts) {
20195 pDescriptorCounts = new uint32_t[in_struct->descriptorSetCount];
20196 memcpy ((void *)pDescriptorCounts, (void *)in_struct->pDescriptorCounts, sizeof(uint32_t)*in_struct->descriptorSetCount);
20197 }
20198}
20199
20200safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT::safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT() :
20201 pDescriptorCounts(nullptr)
20202{}
20203
20204safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT::safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT(const safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT& src)
20205{
20206 sType = src.sType;
20207 pNext = src.pNext;
20208 descriptorSetCount = src.descriptorSetCount;
20209 pDescriptorCounts = nullptr;
20210 if (src.pDescriptorCounts) {
20211 pDescriptorCounts = new uint32_t[src.descriptorSetCount];
20212 memcpy ((void *)pDescriptorCounts, (void *)src.pDescriptorCounts, sizeof(uint32_t)*src.descriptorSetCount);
20213 }
20214}
20215
20216safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT& safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT::operator=(const safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT& src)
20217{
20218 if (&src == this) return *this;
20219
20220 if (pDescriptorCounts)
20221 delete[] pDescriptorCounts;
20222
20223 sType = src.sType;
20224 pNext = src.pNext;
20225 descriptorSetCount = src.descriptorSetCount;
20226 pDescriptorCounts = nullptr;
20227 if (src.pDescriptorCounts) {
20228 pDescriptorCounts = new uint32_t[src.descriptorSetCount];
20229 memcpy ((void *)pDescriptorCounts, (void *)src.pDescriptorCounts, sizeof(uint32_t)*src.descriptorSetCount);
20230 }
20231
20232 return *this;
20233}
20234
20235safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT::~safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT()
20236{
20237 if (pDescriptorCounts)
20238 delete[] pDescriptorCounts;
20239}
20240
20241void safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT::initialize(const VkDescriptorSetVariableDescriptorCountAllocateInfoEXT* in_struct)
20242{
20243 sType = in_struct->sType;
20244 pNext = in_struct->pNext;
20245 descriptorSetCount = in_struct->descriptorSetCount;
20246 pDescriptorCounts = nullptr;
20247 if (in_struct->pDescriptorCounts) {
20248 pDescriptorCounts = new uint32_t[in_struct->descriptorSetCount];
20249 memcpy ((void *)pDescriptorCounts, (void *)in_struct->pDescriptorCounts, sizeof(uint32_t)*in_struct->descriptorSetCount);
20250 }
20251}
20252
20253void safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT::initialize(const safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT* src)
20254{
20255 sType = src->sType;
20256 pNext = src->pNext;
20257 descriptorSetCount = src->descriptorSetCount;
20258 pDescriptorCounts = nullptr;
20259 if (src->pDescriptorCounts) {
20260 pDescriptorCounts = new uint32_t[src->descriptorSetCount];
20261 memcpy ((void *)pDescriptorCounts, (void *)src->pDescriptorCounts, sizeof(uint32_t)*src->descriptorSetCount);
20262 }
20263}
20264
20265safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT::safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT(const VkDescriptorSetVariableDescriptorCountLayoutSupportEXT* in_struct) :
20266 sType(in_struct->sType),
20267 pNext(in_struct->pNext),
20268 maxVariableDescriptorCount(in_struct->maxVariableDescriptorCount)
20269{
20270}
20271
20272safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT::safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT()
20273{}
20274
20275safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT::safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT(const safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT& src)
20276{
20277 sType = src.sType;
20278 pNext = src.pNext;
20279 maxVariableDescriptorCount = src.maxVariableDescriptorCount;
20280}
20281
20282safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT& safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT::operator=(const safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT& src)
20283{
20284 if (&src == this) return *this;
20285
20286
20287 sType = src.sType;
20288 pNext = src.pNext;
20289 maxVariableDescriptorCount = src.maxVariableDescriptorCount;
20290
20291 return *this;
20292}
20293
20294safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT::~safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT()
20295{
20296}
20297
20298void safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT::initialize(const VkDescriptorSetVariableDescriptorCountLayoutSupportEXT* in_struct)
20299{
20300 sType = in_struct->sType;
20301 pNext = in_struct->pNext;
20302 maxVariableDescriptorCount = in_struct->maxVariableDescriptorCount;
20303}
20304
20305void safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT::initialize(const safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT* src)
20306{
20307 sType = src->sType;
20308 pNext = src->pNext;
20309 maxVariableDescriptorCount = src->maxVariableDescriptorCount;
20310}
20311
20312safe_VkShadingRatePaletteNV::safe_VkShadingRatePaletteNV(const VkShadingRatePaletteNV* in_struct) :
20313 shadingRatePaletteEntryCount(in_struct->shadingRatePaletteEntryCount),
20314 pShadingRatePaletteEntries(nullptr)
20315{
20316 if (in_struct->pShadingRatePaletteEntries) {
20317 pShadingRatePaletteEntries = new VkShadingRatePaletteEntryNV[in_struct->shadingRatePaletteEntryCount];
20318 memcpy ((void *)pShadingRatePaletteEntries, (void *)in_struct->pShadingRatePaletteEntries, sizeof(VkShadingRatePaletteEntryNV)*in_struct->shadingRatePaletteEntryCount);
20319 }
20320}
20321
20322safe_VkShadingRatePaletteNV::safe_VkShadingRatePaletteNV() :
20323 pShadingRatePaletteEntries(nullptr)
20324{}
20325
20326safe_VkShadingRatePaletteNV::safe_VkShadingRatePaletteNV(const safe_VkShadingRatePaletteNV& src)
20327{
20328 shadingRatePaletteEntryCount = src.shadingRatePaletteEntryCount;
20329 pShadingRatePaletteEntries = nullptr;
20330 if (src.pShadingRatePaletteEntries) {
20331 pShadingRatePaletteEntries = new VkShadingRatePaletteEntryNV[src.shadingRatePaletteEntryCount];
20332 memcpy ((void *)pShadingRatePaletteEntries, (void *)src.pShadingRatePaletteEntries, sizeof(VkShadingRatePaletteEntryNV)*src.shadingRatePaletteEntryCount);
20333 }
20334}
20335
20336safe_VkShadingRatePaletteNV& safe_VkShadingRatePaletteNV::operator=(const safe_VkShadingRatePaletteNV& src)
20337{
20338 if (&src == this) return *this;
20339
20340 if (pShadingRatePaletteEntries)
20341 delete[] pShadingRatePaletteEntries;
20342
20343 shadingRatePaletteEntryCount = src.shadingRatePaletteEntryCount;
20344 pShadingRatePaletteEntries = nullptr;
20345 if (src.pShadingRatePaletteEntries) {
20346 pShadingRatePaletteEntries = new VkShadingRatePaletteEntryNV[src.shadingRatePaletteEntryCount];
20347 memcpy ((void *)pShadingRatePaletteEntries, (void *)src.pShadingRatePaletteEntries, sizeof(VkShadingRatePaletteEntryNV)*src.shadingRatePaletteEntryCount);
20348 }
20349
20350 return *this;
20351}
20352
20353safe_VkShadingRatePaletteNV::~safe_VkShadingRatePaletteNV()
20354{
20355 if (pShadingRatePaletteEntries)
20356 delete[] pShadingRatePaletteEntries;
20357}
20358
20359void safe_VkShadingRatePaletteNV::initialize(const VkShadingRatePaletteNV* in_struct)
20360{
20361 shadingRatePaletteEntryCount = in_struct->shadingRatePaletteEntryCount;
20362 pShadingRatePaletteEntries = nullptr;
20363 if (in_struct->pShadingRatePaletteEntries) {
20364 pShadingRatePaletteEntries = new VkShadingRatePaletteEntryNV[in_struct->shadingRatePaletteEntryCount];
20365 memcpy ((void *)pShadingRatePaletteEntries, (void *)in_struct->pShadingRatePaletteEntries, sizeof(VkShadingRatePaletteEntryNV)*in_struct->shadingRatePaletteEntryCount);
20366 }
20367}
20368
20369void safe_VkShadingRatePaletteNV::initialize(const safe_VkShadingRatePaletteNV* src)
20370{
20371 shadingRatePaletteEntryCount = src->shadingRatePaletteEntryCount;
20372 pShadingRatePaletteEntries = nullptr;
20373 if (src->pShadingRatePaletteEntries) {
20374 pShadingRatePaletteEntries = new VkShadingRatePaletteEntryNV[src->shadingRatePaletteEntryCount];
20375 memcpy ((void *)pShadingRatePaletteEntries, (void *)src->pShadingRatePaletteEntries, sizeof(VkShadingRatePaletteEntryNV)*src->shadingRatePaletteEntryCount);
20376 }
20377}
20378
20379safe_VkPipelineViewportShadingRateImageStateCreateInfoNV::safe_VkPipelineViewportShadingRateImageStateCreateInfoNV(const VkPipelineViewportShadingRateImageStateCreateInfoNV* in_struct) :
20380 sType(in_struct->sType),
20381 pNext(in_struct->pNext),
20382 shadingRateImageEnable(in_struct->shadingRateImageEnable),
20383 viewportCount(in_struct->viewportCount),
20384 pShadingRatePalettes(nullptr)
20385{
20386 if (viewportCount && in_struct->pShadingRatePalettes) {
20387 pShadingRatePalettes = new safe_VkShadingRatePaletteNV[viewportCount];
20388 for (uint32_t i=0; i<viewportCount; ++i) {
20389 pShadingRatePalettes[i].initialize(&in_struct->pShadingRatePalettes[i]);
20390 }
20391 }
20392}
20393
20394safe_VkPipelineViewportShadingRateImageStateCreateInfoNV::safe_VkPipelineViewportShadingRateImageStateCreateInfoNV() :
20395 pShadingRatePalettes(nullptr)
20396{}
20397
20398safe_VkPipelineViewportShadingRateImageStateCreateInfoNV::safe_VkPipelineViewportShadingRateImageStateCreateInfoNV(const safe_VkPipelineViewportShadingRateImageStateCreateInfoNV& src)
20399{
20400 sType = src.sType;
20401 pNext = src.pNext;
20402 shadingRateImageEnable = src.shadingRateImageEnable;
20403 viewportCount = src.viewportCount;
20404 pShadingRatePalettes = nullptr;
20405 if (viewportCount && src.pShadingRatePalettes) {
20406 pShadingRatePalettes = new safe_VkShadingRatePaletteNV[viewportCount];
20407 for (uint32_t i=0; i<viewportCount; ++i) {
20408 pShadingRatePalettes[i].initialize(&src.pShadingRatePalettes[i]);
20409 }
20410 }
20411}
20412
20413safe_VkPipelineViewportShadingRateImageStateCreateInfoNV& safe_VkPipelineViewportShadingRateImageStateCreateInfoNV::operator=(const safe_VkPipelineViewportShadingRateImageStateCreateInfoNV& src)
20414{
20415 if (&src == this) return *this;
20416
20417 if (pShadingRatePalettes)
20418 delete[] pShadingRatePalettes;
20419
20420 sType = src.sType;
20421 pNext = src.pNext;
20422 shadingRateImageEnable = src.shadingRateImageEnable;
20423 viewportCount = src.viewportCount;
20424 pShadingRatePalettes = nullptr;
20425 if (viewportCount && src.pShadingRatePalettes) {
20426 pShadingRatePalettes = new safe_VkShadingRatePaletteNV[viewportCount];
20427 for (uint32_t i=0; i<viewportCount; ++i) {
20428 pShadingRatePalettes[i].initialize(&src.pShadingRatePalettes[i]);
20429 }
20430 }
20431
20432 return *this;
20433}
20434
20435safe_VkPipelineViewportShadingRateImageStateCreateInfoNV::~safe_VkPipelineViewportShadingRateImageStateCreateInfoNV()
20436{
20437 if (pShadingRatePalettes)
20438 delete[] pShadingRatePalettes;
20439}
20440
20441void safe_VkPipelineViewportShadingRateImageStateCreateInfoNV::initialize(const VkPipelineViewportShadingRateImageStateCreateInfoNV* in_struct)
20442{
20443 sType = in_struct->sType;
20444 pNext = in_struct->pNext;
20445 shadingRateImageEnable = in_struct->shadingRateImageEnable;
20446 viewportCount = in_struct->viewportCount;
20447 pShadingRatePalettes = nullptr;
20448 if (viewportCount && in_struct->pShadingRatePalettes) {
20449 pShadingRatePalettes = new safe_VkShadingRatePaletteNV[viewportCount];
20450 for (uint32_t i=0; i<viewportCount; ++i) {
20451 pShadingRatePalettes[i].initialize(&in_struct->pShadingRatePalettes[i]);
20452 }
20453 }
20454}
20455
20456void safe_VkPipelineViewportShadingRateImageStateCreateInfoNV::initialize(const safe_VkPipelineViewportShadingRateImageStateCreateInfoNV* src)
20457{
20458 sType = src->sType;
20459 pNext = src->pNext;
20460 shadingRateImageEnable = src->shadingRateImageEnable;
20461 viewportCount = src->viewportCount;
20462 pShadingRatePalettes = nullptr;
20463 if (viewportCount && src->pShadingRatePalettes) {
20464 pShadingRatePalettes = new safe_VkShadingRatePaletteNV[viewportCount];
20465 for (uint32_t i=0; i<viewportCount; ++i) {
20466 pShadingRatePalettes[i].initialize(&src->pShadingRatePalettes[i]);
20467 }
20468 }
20469}
20470
20471safe_VkPhysicalDeviceShadingRateImageFeaturesNV::safe_VkPhysicalDeviceShadingRateImageFeaturesNV(const VkPhysicalDeviceShadingRateImageFeaturesNV* in_struct) :
20472 sType(in_struct->sType),
20473 pNext(in_struct->pNext),
20474 shadingRateImage(in_struct->shadingRateImage),
20475 shadingRateCoarseSampleOrder(in_struct->shadingRateCoarseSampleOrder)
20476{
20477}
20478
20479safe_VkPhysicalDeviceShadingRateImageFeaturesNV::safe_VkPhysicalDeviceShadingRateImageFeaturesNV()
20480{}
20481
20482safe_VkPhysicalDeviceShadingRateImageFeaturesNV::safe_VkPhysicalDeviceShadingRateImageFeaturesNV(const safe_VkPhysicalDeviceShadingRateImageFeaturesNV& src)
20483{
20484 sType = src.sType;
20485 pNext = src.pNext;
20486 shadingRateImage = src.shadingRateImage;
20487 shadingRateCoarseSampleOrder = src.shadingRateCoarseSampleOrder;
20488}
20489
20490safe_VkPhysicalDeviceShadingRateImageFeaturesNV& safe_VkPhysicalDeviceShadingRateImageFeaturesNV::operator=(const safe_VkPhysicalDeviceShadingRateImageFeaturesNV& src)
20491{
20492 if (&src == this) return *this;
20493
20494
20495 sType = src.sType;
20496 pNext = src.pNext;
20497 shadingRateImage = src.shadingRateImage;
20498 shadingRateCoarseSampleOrder = src.shadingRateCoarseSampleOrder;
20499
20500 return *this;
20501}
20502
20503safe_VkPhysicalDeviceShadingRateImageFeaturesNV::~safe_VkPhysicalDeviceShadingRateImageFeaturesNV()
20504{
20505}
20506
20507void safe_VkPhysicalDeviceShadingRateImageFeaturesNV::initialize(const VkPhysicalDeviceShadingRateImageFeaturesNV* in_struct)
20508{
20509 sType = in_struct->sType;
20510 pNext = in_struct->pNext;
20511 shadingRateImage = in_struct->shadingRateImage;
20512 shadingRateCoarseSampleOrder = in_struct->shadingRateCoarseSampleOrder;
20513}
20514
20515void safe_VkPhysicalDeviceShadingRateImageFeaturesNV::initialize(const safe_VkPhysicalDeviceShadingRateImageFeaturesNV* src)
20516{
20517 sType = src->sType;
20518 pNext = src->pNext;
20519 shadingRateImage = src->shadingRateImage;
20520 shadingRateCoarseSampleOrder = src->shadingRateCoarseSampleOrder;
20521}
20522
20523safe_VkPhysicalDeviceShadingRateImagePropertiesNV::safe_VkPhysicalDeviceShadingRateImagePropertiesNV(const VkPhysicalDeviceShadingRateImagePropertiesNV* in_struct) :
20524 sType(in_struct->sType),
20525 pNext(in_struct->pNext),
20526 shadingRateTexelSize(in_struct->shadingRateTexelSize),
20527 shadingRatePaletteSize(in_struct->shadingRatePaletteSize),
20528 shadingRateMaxCoarseSamples(in_struct->shadingRateMaxCoarseSamples)
20529{
20530}
20531
20532safe_VkPhysicalDeviceShadingRateImagePropertiesNV::safe_VkPhysicalDeviceShadingRateImagePropertiesNV()
20533{}
20534
20535safe_VkPhysicalDeviceShadingRateImagePropertiesNV::safe_VkPhysicalDeviceShadingRateImagePropertiesNV(const safe_VkPhysicalDeviceShadingRateImagePropertiesNV& src)
20536{
20537 sType = src.sType;
20538 pNext = src.pNext;
20539 shadingRateTexelSize = src.shadingRateTexelSize;
20540 shadingRatePaletteSize = src.shadingRatePaletteSize;
20541 shadingRateMaxCoarseSamples = src.shadingRateMaxCoarseSamples;
20542}
20543
20544safe_VkPhysicalDeviceShadingRateImagePropertiesNV& safe_VkPhysicalDeviceShadingRateImagePropertiesNV::operator=(const safe_VkPhysicalDeviceShadingRateImagePropertiesNV& src)
20545{
20546 if (&src == this) return *this;
20547
20548
20549 sType = src.sType;
20550 pNext = src.pNext;
20551 shadingRateTexelSize = src.shadingRateTexelSize;
20552 shadingRatePaletteSize = src.shadingRatePaletteSize;
20553 shadingRateMaxCoarseSamples = src.shadingRateMaxCoarseSamples;
20554
20555 return *this;
20556}
20557
20558safe_VkPhysicalDeviceShadingRateImagePropertiesNV::~safe_VkPhysicalDeviceShadingRateImagePropertiesNV()
20559{
20560}
20561
20562void safe_VkPhysicalDeviceShadingRateImagePropertiesNV::initialize(const VkPhysicalDeviceShadingRateImagePropertiesNV* in_struct)
20563{
20564 sType = in_struct->sType;
20565 pNext = in_struct->pNext;
20566 shadingRateTexelSize = in_struct->shadingRateTexelSize;
20567 shadingRatePaletteSize = in_struct->shadingRatePaletteSize;
20568 shadingRateMaxCoarseSamples = in_struct->shadingRateMaxCoarseSamples;
20569}
20570
20571void safe_VkPhysicalDeviceShadingRateImagePropertiesNV::initialize(const safe_VkPhysicalDeviceShadingRateImagePropertiesNV* src)
20572{
20573 sType = src->sType;
20574 pNext = src->pNext;
20575 shadingRateTexelSize = src->shadingRateTexelSize;
20576 shadingRatePaletteSize = src->shadingRatePaletteSize;
20577 shadingRateMaxCoarseSamples = src->shadingRateMaxCoarseSamples;
20578}
20579
20580safe_VkCoarseSampleOrderCustomNV::safe_VkCoarseSampleOrderCustomNV(const VkCoarseSampleOrderCustomNV* in_struct) :
20581 shadingRate(in_struct->shadingRate),
20582 sampleCount(in_struct->sampleCount),
20583 sampleLocationCount(in_struct->sampleLocationCount),
20584 pSampleLocations(nullptr)
20585{
20586 if (in_struct->pSampleLocations) {
20587 pSampleLocations = new VkCoarseSampleLocationNV[in_struct->sampleLocationCount];
20588 memcpy ((void *)pSampleLocations, (void *)in_struct->pSampleLocations, sizeof(VkCoarseSampleLocationNV)*in_struct->sampleLocationCount);
20589 }
20590}
20591
20592safe_VkCoarseSampleOrderCustomNV::safe_VkCoarseSampleOrderCustomNV() :
20593 pSampleLocations(nullptr)
20594{}
20595
20596safe_VkCoarseSampleOrderCustomNV::safe_VkCoarseSampleOrderCustomNV(const safe_VkCoarseSampleOrderCustomNV& src)
20597{
20598 shadingRate = src.shadingRate;
20599 sampleCount = src.sampleCount;
20600 sampleLocationCount = src.sampleLocationCount;
20601 pSampleLocations = nullptr;
20602 if (src.pSampleLocations) {
20603 pSampleLocations = new VkCoarseSampleLocationNV[src.sampleLocationCount];
20604 memcpy ((void *)pSampleLocations, (void *)src.pSampleLocations, sizeof(VkCoarseSampleLocationNV)*src.sampleLocationCount);
20605 }
20606}
20607
20608safe_VkCoarseSampleOrderCustomNV& safe_VkCoarseSampleOrderCustomNV::operator=(const safe_VkCoarseSampleOrderCustomNV& src)
20609{
20610 if (&src == this) return *this;
20611
20612 if (pSampleLocations)
20613 delete[] pSampleLocations;
20614
20615 shadingRate = src.shadingRate;
20616 sampleCount = src.sampleCount;
20617 sampleLocationCount = src.sampleLocationCount;
20618 pSampleLocations = nullptr;
20619 if (src.pSampleLocations) {
20620 pSampleLocations = new VkCoarseSampleLocationNV[src.sampleLocationCount];
20621 memcpy ((void *)pSampleLocations, (void *)src.pSampleLocations, sizeof(VkCoarseSampleLocationNV)*src.sampleLocationCount);
20622 }
20623
20624 return *this;
20625}
20626
20627safe_VkCoarseSampleOrderCustomNV::~safe_VkCoarseSampleOrderCustomNV()
20628{
20629 if (pSampleLocations)
20630 delete[] pSampleLocations;
20631}
20632
20633void safe_VkCoarseSampleOrderCustomNV::initialize(const VkCoarseSampleOrderCustomNV* in_struct)
20634{
20635 shadingRate = in_struct->shadingRate;
20636 sampleCount = in_struct->sampleCount;
20637 sampleLocationCount = in_struct->sampleLocationCount;
20638 pSampleLocations = nullptr;
20639 if (in_struct->pSampleLocations) {
20640 pSampleLocations = new VkCoarseSampleLocationNV[in_struct->sampleLocationCount];
20641 memcpy ((void *)pSampleLocations, (void *)in_struct->pSampleLocations, sizeof(VkCoarseSampleLocationNV)*in_struct->sampleLocationCount);
20642 }
20643}
20644
20645void safe_VkCoarseSampleOrderCustomNV::initialize(const safe_VkCoarseSampleOrderCustomNV* src)
20646{
20647 shadingRate = src->shadingRate;
20648 sampleCount = src->sampleCount;
20649 sampleLocationCount = src->sampleLocationCount;
20650 pSampleLocations = nullptr;
20651 if (src->pSampleLocations) {
20652 pSampleLocations = new VkCoarseSampleLocationNV[src->sampleLocationCount];
20653 memcpy ((void *)pSampleLocations, (void *)src->pSampleLocations, sizeof(VkCoarseSampleLocationNV)*src->sampleLocationCount);
20654 }
20655}
20656
20657safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV::safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV(const VkPipelineViewportCoarseSampleOrderStateCreateInfoNV* in_struct) :
20658 sType(in_struct->sType),
20659 pNext(in_struct->pNext),
20660 sampleOrderType(in_struct->sampleOrderType),
20661 customSampleOrderCount(in_struct->customSampleOrderCount),
20662 pCustomSampleOrders(nullptr)
20663{
20664 if (customSampleOrderCount && in_struct->pCustomSampleOrders) {
20665 pCustomSampleOrders = new safe_VkCoarseSampleOrderCustomNV[customSampleOrderCount];
20666 for (uint32_t i=0; i<customSampleOrderCount; ++i) {
20667 pCustomSampleOrders[i].initialize(&in_struct->pCustomSampleOrders[i]);
20668 }
20669 }
20670}
20671
20672safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV::safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV() :
20673 pCustomSampleOrders(nullptr)
20674{}
20675
20676safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV::safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV(const safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV& src)
20677{
20678 sType = src.sType;
20679 pNext = src.pNext;
20680 sampleOrderType = src.sampleOrderType;
20681 customSampleOrderCount = src.customSampleOrderCount;
20682 pCustomSampleOrders = nullptr;
20683 if (customSampleOrderCount && src.pCustomSampleOrders) {
20684 pCustomSampleOrders = new safe_VkCoarseSampleOrderCustomNV[customSampleOrderCount];
20685 for (uint32_t i=0; i<customSampleOrderCount; ++i) {
20686 pCustomSampleOrders[i].initialize(&src.pCustomSampleOrders[i]);
20687 }
20688 }
20689}
20690
20691safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV& safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV::operator=(const safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV& src)
20692{
20693 if (&src == this) return *this;
20694
20695 if (pCustomSampleOrders)
20696 delete[] pCustomSampleOrders;
20697
20698 sType = src.sType;
20699 pNext = src.pNext;
20700 sampleOrderType = src.sampleOrderType;
20701 customSampleOrderCount = src.customSampleOrderCount;
20702 pCustomSampleOrders = nullptr;
20703 if (customSampleOrderCount && src.pCustomSampleOrders) {
20704 pCustomSampleOrders = new safe_VkCoarseSampleOrderCustomNV[customSampleOrderCount];
20705 for (uint32_t i=0; i<customSampleOrderCount; ++i) {
20706 pCustomSampleOrders[i].initialize(&src.pCustomSampleOrders[i]);
20707 }
20708 }
20709
20710 return *this;
20711}
20712
20713safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV::~safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV()
20714{
20715 if (pCustomSampleOrders)
20716 delete[] pCustomSampleOrders;
20717}
20718
20719void safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV::initialize(const VkPipelineViewportCoarseSampleOrderStateCreateInfoNV* in_struct)
20720{
20721 sType = in_struct->sType;
20722 pNext = in_struct->pNext;
20723 sampleOrderType = in_struct->sampleOrderType;
20724 customSampleOrderCount = in_struct->customSampleOrderCount;
20725 pCustomSampleOrders = nullptr;
20726 if (customSampleOrderCount && in_struct->pCustomSampleOrders) {
20727 pCustomSampleOrders = new safe_VkCoarseSampleOrderCustomNV[customSampleOrderCount];
20728 for (uint32_t i=0; i<customSampleOrderCount; ++i) {
20729 pCustomSampleOrders[i].initialize(&in_struct->pCustomSampleOrders[i]);
20730 }
20731 }
20732}
20733
20734void safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV::initialize(const safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV* src)
20735{
20736 sType = src->sType;
20737 pNext = src->pNext;
20738 sampleOrderType = src->sampleOrderType;
20739 customSampleOrderCount = src->customSampleOrderCount;
20740 pCustomSampleOrders = nullptr;
20741 if (customSampleOrderCount && src->pCustomSampleOrders) {
20742 pCustomSampleOrders = new safe_VkCoarseSampleOrderCustomNV[customSampleOrderCount];
20743 for (uint32_t i=0; i<customSampleOrderCount; ++i) {
20744 pCustomSampleOrders[i].initialize(&src->pCustomSampleOrders[i]);
20745 }
20746 }
20747}
20748
20749safe_VkRayTracingShaderGroupCreateInfoNV::safe_VkRayTracingShaderGroupCreateInfoNV(const VkRayTracingShaderGroupCreateInfoNV* in_struct) :
20750 sType(in_struct->sType),
20751 pNext(in_struct->pNext),
20752 type(in_struct->type),
20753 generalShader(in_struct->generalShader),
20754 closestHitShader(in_struct->closestHitShader),
20755 anyHitShader(in_struct->anyHitShader),
20756 intersectionShader(in_struct->intersectionShader)
20757{
20758}
20759
20760safe_VkRayTracingShaderGroupCreateInfoNV::safe_VkRayTracingShaderGroupCreateInfoNV()
20761{}
20762
20763safe_VkRayTracingShaderGroupCreateInfoNV::safe_VkRayTracingShaderGroupCreateInfoNV(const safe_VkRayTracingShaderGroupCreateInfoNV& src)
20764{
20765 sType = src.sType;
20766 pNext = src.pNext;
20767 type = src.type;
20768 generalShader = src.generalShader;
20769 closestHitShader = src.closestHitShader;
20770 anyHitShader = src.anyHitShader;
20771 intersectionShader = src.intersectionShader;
20772}
20773
20774safe_VkRayTracingShaderGroupCreateInfoNV& safe_VkRayTracingShaderGroupCreateInfoNV::operator=(const safe_VkRayTracingShaderGroupCreateInfoNV& src)
20775{
20776 if (&src == this) return *this;
20777
20778
20779 sType = src.sType;
20780 pNext = src.pNext;
20781 type = src.type;
20782 generalShader = src.generalShader;
20783 closestHitShader = src.closestHitShader;
20784 anyHitShader = src.anyHitShader;
20785 intersectionShader = src.intersectionShader;
20786
20787 return *this;
20788}
20789
20790safe_VkRayTracingShaderGroupCreateInfoNV::~safe_VkRayTracingShaderGroupCreateInfoNV()
20791{
20792}
20793
20794void safe_VkRayTracingShaderGroupCreateInfoNV::initialize(const VkRayTracingShaderGroupCreateInfoNV* in_struct)
20795{
20796 sType = in_struct->sType;
20797 pNext = in_struct->pNext;
20798 type = in_struct->type;
20799 generalShader = in_struct->generalShader;
20800 closestHitShader = in_struct->closestHitShader;
20801 anyHitShader = in_struct->anyHitShader;
20802 intersectionShader = in_struct->intersectionShader;
20803}
20804
20805void safe_VkRayTracingShaderGroupCreateInfoNV::initialize(const safe_VkRayTracingShaderGroupCreateInfoNV* src)
20806{
20807 sType = src->sType;
20808 pNext = src->pNext;
20809 type = src->type;
20810 generalShader = src->generalShader;
20811 closestHitShader = src->closestHitShader;
20812 anyHitShader = src->anyHitShader;
20813 intersectionShader = src->intersectionShader;
20814}
20815
20816safe_VkRayTracingPipelineCreateInfoNV::safe_VkRayTracingPipelineCreateInfoNV(const VkRayTracingPipelineCreateInfoNV* in_struct) :
20817 sType(in_struct->sType),
20818 pNext(in_struct->pNext),
20819 flags(in_struct->flags),
20820 stageCount(in_struct->stageCount),
20821 pStages(nullptr),
20822 groupCount(in_struct->groupCount),
20823 pGroups(nullptr),
20824 maxRecursionDepth(in_struct->maxRecursionDepth),
20825 layout(in_struct->layout),
20826 basePipelineHandle(in_struct->basePipelineHandle),
20827 basePipelineIndex(in_struct->basePipelineIndex)
20828{
20829 if (stageCount && in_struct->pStages) {
20830 pStages = new safe_VkPipelineShaderStageCreateInfo[stageCount];
20831 for (uint32_t i=0; i<stageCount; ++i) {
20832 pStages[i].initialize(&in_struct->pStages[i]);
20833 }
20834 }
20835 if (groupCount && in_struct->pGroups) {
20836 pGroups = new safe_VkRayTracingShaderGroupCreateInfoNV[groupCount];
20837 for (uint32_t i=0; i<groupCount; ++i) {
20838 pGroups[i].initialize(&in_struct->pGroups[i]);
20839 }
20840 }
20841}
20842
20843safe_VkRayTracingPipelineCreateInfoNV::safe_VkRayTracingPipelineCreateInfoNV() :
20844 pStages(nullptr),
20845 pGroups(nullptr)
20846{}
20847
20848safe_VkRayTracingPipelineCreateInfoNV::safe_VkRayTracingPipelineCreateInfoNV(const safe_VkRayTracingPipelineCreateInfoNV& src)
20849{
20850 sType = src.sType;
20851 pNext = src.pNext;
20852 flags = src.flags;
20853 stageCount = src.stageCount;
20854 pStages = nullptr;
20855 groupCount = src.groupCount;
20856 pGroups = nullptr;
20857 maxRecursionDepth = src.maxRecursionDepth;
20858 layout = src.layout;
20859 basePipelineHandle = src.basePipelineHandle;
20860 basePipelineIndex = src.basePipelineIndex;
20861 if (stageCount && src.pStages) {
20862 pStages = new safe_VkPipelineShaderStageCreateInfo[stageCount];
20863 for (uint32_t i=0; i<stageCount; ++i) {
20864 pStages[i].initialize(&src.pStages[i]);
20865 }
20866 }
20867 if (groupCount && src.pGroups) {
20868 pGroups = new safe_VkRayTracingShaderGroupCreateInfoNV[groupCount];
20869 for (uint32_t i=0; i<groupCount; ++i) {
20870 pGroups[i].initialize(&src.pGroups[i]);
20871 }
20872 }
20873}
20874
20875safe_VkRayTracingPipelineCreateInfoNV& safe_VkRayTracingPipelineCreateInfoNV::operator=(const safe_VkRayTracingPipelineCreateInfoNV& src)
20876{
20877 if (&src == this) return *this;
20878
20879 if (pStages)
20880 delete[] pStages;
20881 if (pGroups)
20882 delete[] pGroups;
20883
20884 sType = src.sType;
20885 pNext = src.pNext;
20886 flags = src.flags;
20887 stageCount = src.stageCount;
20888 pStages = nullptr;
20889 groupCount = src.groupCount;
20890 pGroups = nullptr;
20891 maxRecursionDepth = src.maxRecursionDepth;
20892 layout = src.layout;
20893 basePipelineHandle = src.basePipelineHandle;
20894 basePipelineIndex = src.basePipelineIndex;
20895 if (stageCount && src.pStages) {
20896 pStages = new safe_VkPipelineShaderStageCreateInfo[stageCount];
20897 for (uint32_t i=0; i<stageCount; ++i) {
20898 pStages[i].initialize(&src.pStages[i]);
20899 }
20900 }
20901 if (groupCount && src.pGroups) {
20902 pGroups = new safe_VkRayTracingShaderGroupCreateInfoNV[groupCount];
20903 for (uint32_t i=0; i<groupCount; ++i) {
20904 pGroups[i].initialize(&src.pGroups[i]);
20905 }
20906 }
20907
20908 return *this;
20909}
20910
20911safe_VkRayTracingPipelineCreateInfoNV::~safe_VkRayTracingPipelineCreateInfoNV()
20912{
20913 if (pStages)
20914 delete[] pStages;
20915 if (pGroups)
20916 delete[] pGroups;
20917}
20918
20919void safe_VkRayTracingPipelineCreateInfoNV::initialize(const VkRayTracingPipelineCreateInfoNV* in_struct)
20920{
20921 sType = in_struct->sType;
20922 pNext = in_struct->pNext;
20923 flags = in_struct->flags;
20924 stageCount = in_struct->stageCount;
20925 pStages = nullptr;
20926 groupCount = in_struct->groupCount;
20927 pGroups = nullptr;
20928 maxRecursionDepth = in_struct->maxRecursionDepth;
20929 layout = in_struct->layout;
20930 basePipelineHandle = in_struct->basePipelineHandle;
20931 basePipelineIndex = in_struct->basePipelineIndex;
20932 if (stageCount && in_struct->pStages) {
20933 pStages = new safe_VkPipelineShaderStageCreateInfo[stageCount];
20934 for (uint32_t i=0; i<stageCount; ++i) {
20935 pStages[i].initialize(&in_struct->pStages[i]);
20936 }
20937 }
20938 if (groupCount && in_struct->pGroups) {
20939 pGroups = new safe_VkRayTracingShaderGroupCreateInfoNV[groupCount];
20940 for (uint32_t i=0; i<groupCount; ++i) {
20941 pGroups[i].initialize(&in_struct->pGroups[i]);
20942 }
20943 }
20944}
20945
20946void safe_VkRayTracingPipelineCreateInfoNV::initialize(const safe_VkRayTracingPipelineCreateInfoNV* src)
20947{
20948 sType = src->sType;
20949 pNext = src->pNext;
20950 flags = src->flags;
20951 stageCount = src->stageCount;
20952 pStages = nullptr;
20953 groupCount = src->groupCount;
20954 pGroups = nullptr;
20955 maxRecursionDepth = src->maxRecursionDepth;
20956 layout = src->layout;
20957 basePipelineHandle = src->basePipelineHandle;
20958 basePipelineIndex = src->basePipelineIndex;
20959 if (stageCount && src->pStages) {
20960 pStages = new safe_VkPipelineShaderStageCreateInfo[stageCount];
20961 for (uint32_t i=0; i<stageCount; ++i) {
20962 pStages[i].initialize(&src->pStages[i]);
20963 }
20964 }
20965 if (groupCount && src->pGroups) {
20966 pGroups = new safe_VkRayTracingShaderGroupCreateInfoNV[groupCount];
20967 for (uint32_t i=0; i<groupCount; ++i) {
20968 pGroups[i].initialize(&src->pGroups[i]);
20969 }
20970 }
20971}
20972
20973safe_VkGeometryTrianglesNV::safe_VkGeometryTrianglesNV(const VkGeometryTrianglesNV* in_struct) :
20974 sType(in_struct->sType),
20975 pNext(in_struct->pNext),
20976 vertexData(in_struct->vertexData),
20977 vertexOffset(in_struct->vertexOffset),
20978 vertexCount(in_struct->vertexCount),
20979 vertexStride(in_struct->vertexStride),
20980 vertexFormat(in_struct->vertexFormat),
20981 indexData(in_struct->indexData),
20982 indexOffset(in_struct->indexOffset),
20983 indexCount(in_struct->indexCount),
20984 indexType(in_struct->indexType),
20985 transformData(in_struct->transformData),
20986 transformOffset(in_struct->transformOffset)
20987{
20988}
20989
20990safe_VkGeometryTrianglesNV::safe_VkGeometryTrianglesNV()
20991{}
20992
20993safe_VkGeometryTrianglesNV::safe_VkGeometryTrianglesNV(const safe_VkGeometryTrianglesNV& src)
20994{
20995 sType = src.sType;
20996 pNext = src.pNext;
20997 vertexData = src.vertexData;
20998 vertexOffset = src.vertexOffset;
20999 vertexCount = src.vertexCount;
21000 vertexStride = src.vertexStride;
21001 vertexFormat = src.vertexFormat;
21002 indexData = src.indexData;
21003 indexOffset = src.indexOffset;
21004 indexCount = src.indexCount;
21005 indexType = src.indexType;
21006 transformData = src.transformData;
21007 transformOffset = src.transformOffset;
21008}
21009
21010safe_VkGeometryTrianglesNV& safe_VkGeometryTrianglesNV::operator=(const safe_VkGeometryTrianglesNV& src)
21011{
21012 if (&src == this) return *this;
21013
21014
21015 sType = src.sType;
21016 pNext = src.pNext;
21017 vertexData = src.vertexData;
21018 vertexOffset = src.vertexOffset;
21019 vertexCount = src.vertexCount;
21020 vertexStride = src.vertexStride;
21021 vertexFormat = src.vertexFormat;
21022 indexData = src.indexData;
21023 indexOffset = src.indexOffset;
21024 indexCount = src.indexCount;
21025 indexType = src.indexType;
21026 transformData = src.transformData;
21027 transformOffset = src.transformOffset;
21028
21029 return *this;
21030}
21031
21032safe_VkGeometryTrianglesNV::~safe_VkGeometryTrianglesNV()
21033{
21034}
21035
21036void safe_VkGeometryTrianglesNV::initialize(const VkGeometryTrianglesNV* in_struct)
21037{
21038 sType = in_struct->sType;
21039 pNext = in_struct->pNext;
21040 vertexData = in_struct->vertexData;
21041 vertexOffset = in_struct->vertexOffset;
21042 vertexCount = in_struct->vertexCount;
21043 vertexStride = in_struct->vertexStride;
21044 vertexFormat = in_struct->vertexFormat;
21045 indexData = in_struct->indexData;
21046 indexOffset = in_struct->indexOffset;
21047 indexCount = in_struct->indexCount;
21048 indexType = in_struct->indexType;
21049 transformData = in_struct->transformData;
21050 transformOffset = in_struct->transformOffset;
21051}
21052
21053void safe_VkGeometryTrianglesNV::initialize(const safe_VkGeometryTrianglesNV* src)
21054{
21055 sType = src->sType;
21056 pNext = src->pNext;
21057 vertexData = src->vertexData;
21058 vertexOffset = src->vertexOffset;
21059 vertexCount = src->vertexCount;
21060 vertexStride = src->vertexStride;
21061 vertexFormat = src->vertexFormat;
21062 indexData = src->indexData;
21063 indexOffset = src->indexOffset;
21064 indexCount = src->indexCount;
21065 indexType = src->indexType;
21066 transformData = src->transformData;
21067 transformOffset = src->transformOffset;
21068}
21069
21070safe_VkGeometryAABBNV::safe_VkGeometryAABBNV(const VkGeometryAABBNV* in_struct) :
21071 sType(in_struct->sType),
21072 pNext(in_struct->pNext),
21073 aabbData(in_struct->aabbData),
21074 numAABBs(in_struct->numAABBs),
21075 stride(in_struct->stride),
21076 offset(in_struct->offset)
21077{
21078}
21079
21080safe_VkGeometryAABBNV::safe_VkGeometryAABBNV()
21081{}
21082
21083safe_VkGeometryAABBNV::safe_VkGeometryAABBNV(const safe_VkGeometryAABBNV& src)
21084{
21085 sType = src.sType;
21086 pNext = src.pNext;
21087 aabbData = src.aabbData;
21088 numAABBs = src.numAABBs;
21089 stride = src.stride;
21090 offset = src.offset;
21091}
21092
21093safe_VkGeometryAABBNV& safe_VkGeometryAABBNV::operator=(const safe_VkGeometryAABBNV& src)
21094{
21095 if (&src == this) return *this;
21096
21097
21098 sType = src.sType;
21099 pNext = src.pNext;
21100 aabbData = src.aabbData;
21101 numAABBs = src.numAABBs;
21102 stride = src.stride;
21103 offset = src.offset;
21104
21105 return *this;
21106}
21107
21108safe_VkGeometryAABBNV::~safe_VkGeometryAABBNV()
21109{
21110}
21111
21112void safe_VkGeometryAABBNV::initialize(const VkGeometryAABBNV* in_struct)
21113{
21114 sType = in_struct->sType;
21115 pNext = in_struct->pNext;
21116 aabbData = in_struct->aabbData;
21117 numAABBs = in_struct->numAABBs;
21118 stride = in_struct->stride;
21119 offset = in_struct->offset;
21120}
21121
21122void safe_VkGeometryAABBNV::initialize(const safe_VkGeometryAABBNV* src)
21123{
21124 sType = src->sType;
21125 pNext = src->pNext;
21126 aabbData = src->aabbData;
21127 numAABBs = src->numAABBs;
21128 stride = src->stride;
21129 offset = src->offset;
21130}
21131
21132safe_VkGeometryNV::safe_VkGeometryNV(const VkGeometryNV* in_struct) :
21133 sType(in_struct->sType),
21134 pNext(in_struct->pNext),
21135 geometryType(in_struct->geometryType),
21136 geometry(in_struct->geometry),
21137 flags(in_struct->flags)
21138{
21139}
21140
21141safe_VkGeometryNV::safe_VkGeometryNV()
21142{}
21143
21144safe_VkGeometryNV::safe_VkGeometryNV(const safe_VkGeometryNV& src)
21145{
21146 sType = src.sType;
21147 pNext = src.pNext;
21148 geometryType = src.geometryType;
21149 geometry = src.geometry;
21150 flags = src.flags;
21151}
21152
21153safe_VkGeometryNV& safe_VkGeometryNV::operator=(const safe_VkGeometryNV& src)
21154{
21155 if (&src == this) return *this;
21156
21157
21158 sType = src.sType;
21159 pNext = src.pNext;
21160 geometryType = src.geometryType;
21161 geometry = src.geometry;
21162 flags = src.flags;
21163
21164 return *this;
21165}
21166
21167safe_VkGeometryNV::~safe_VkGeometryNV()
21168{
21169}
21170
21171void safe_VkGeometryNV::initialize(const VkGeometryNV* in_struct)
21172{
21173 sType = in_struct->sType;
21174 pNext = in_struct->pNext;
21175 geometryType = in_struct->geometryType;
21176 geometry = in_struct->geometry;
21177 flags = in_struct->flags;
21178}
21179
21180void safe_VkGeometryNV::initialize(const safe_VkGeometryNV* src)
21181{
21182 sType = src->sType;
21183 pNext = src->pNext;
21184 geometryType = src->geometryType;
21185 geometry = src->geometry;
21186 flags = src->flags;
21187}
21188
21189safe_VkAccelerationStructureInfoNV::safe_VkAccelerationStructureInfoNV(const VkAccelerationStructureInfoNV* in_struct) :
21190 sType(in_struct->sType),
21191 pNext(in_struct->pNext),
21192 type(in_struct->type),
21193 flags(in_struct->flags),
21194 instanceCount(in_struct->instanceCount),
21195 geometryCount(in_struct->geometryCount),
21196 pGeometries(nullptr)
21197{
21198 if (geometryCount && in_struct->pGeometries) {
21199 pGeometries = new safe_VkGeometryNV[geometryCount];
21200 for (uint32_t i=0; i<geometryCount; ++i) {
21201 pGeometries[i].initialize(&in_struct->pGeometries[i]);
21202 }
21203 }
21204}
21205
21206safe_VkAccelerationStructureInfoNV::safe_VkAccelerationStructureInfoNV() :
21207 pGeometries(nullptr)
21208{}
21209
21210safe_VkAccelerationStructureInfoNV::safe_VkAccelerationStructureInfoNV(const safe_VkAccelerationStructureInfoNV& src)
21211{
21212 sType = src.sType;
21213 pNext = src.pNext;
21214 type = src.type;
21215 flags = src.flags;
21216 instanceCount = src.instanceCount;
21217 geometryCount = src.geometryCount;
21218 pGeometries = nullptr;
21219 if (geometryCount && src.pGeometries) {
21220 pGeometries = new safe_VkGeometryNV[geometryCount];
21221 for (uint32_t i=0; i<geometryCount; ++i) {
21222 pGeometries[i].initialize(&src.pGeometries[i]);
21223 }
21224 }
21225}
21226
21227safe_VkAccelerationStructureInfoNV& safe_VkAccelerationStructureInfoNV::operator=(const safe_VkAccelerationStructureInfoNV& src)
21228{
21229 if (&src == this) return *this;
21230
21231 if (pGeometries)
21232 delete[] pGeometries;
21233
21234 sType = src.sType;
21235 pNext = src.pNext;
21236 type = src.type;
21237 flags = src.flags;
21238 instanceCount = src.instanceCount;
21239 geometryCount = src.geometryCount;
21240 pGeometries = nullptr;
21241 if (geometryCount && src.pGeometries) {
21242 pGeometries = new safe_VkGeometryNV[geometryCount];
21243 for (uint32_t i=0; i<geometryCount; ++i) {
21244 pGeometries[i].initialize(&src.pGeometries[i]);
21245 }
21246 }
21247
21248 return *this;
21249}
21250
21251safe_VkAccelerationStructureInfoNV::~safe_VkAccelerationStructureInfoNV()
21252{
21253 if (pGeometries)
21254 delete[] pGeometries;
21255}
21256
21257void safe_VkAccelerationStructureInfoNV::initialize(const VkAccelerationStructureInfoNV* in_struct)
21258{
21259 sType = in_struct->sType;
21260 pNext = in_struct->pNext;
21261 type = in_struct->type;
21262 flags = in_struct->flags;
21263 instanceCount = in_struct->instanceCount;
21264 geometryCount = in_struct->geometryCount;
21265 pGeometries = nullptr;
21266 if (geometryCount && in_struct->pGeometries) {
21267 pGeometries = new safe_VkGeometryNV[geometryCount];
21268 for (uint32_t i=0; i<geometryCount; ++i) {
21269 pGeometries[i].initialize(&in_struct->pGeometries[i]);
21270 }
21271 }
21272}
21273
21274void safe_VkAccelerationStructureInfoNV::initialize(const safe_VkAccelerationStructureInfoNV* src)
21275{
21276 sType = src->sType;
21277 pNext = src->pNext;
21278 type = src->type;
21279 flags = src->flags;
21280 instanceCount = src->instanceCount;
21281 geometryCount = src->geometryCount;
21282 pGeometries = nullptr;
21283 if (geometryCount && src->pGeometries) {
21284 pGeometries = new safe_VkGeometryNV[geometryCount];
21285 for (uint32_t i=0; i<geometryCount; ++i) {
21286 pGeometries[i].initialize(&src->pGeometries[i]);
21287 }
21288 }
21289}
21290
21291safe_VkAccelerationStructureCreateInfoNV::safe_VkAccelerationStructureCreateInfoNV(const VkAccelerationStructureCreateInfoNV* in_struct) :
21292 sType(in_struct->sType),
21293 pNext(in_struct->pNext),
21294 compactedSize(in_struct->compactedSize),
21295 info(&in_struct->info)
21296{
21297}
21298
21299safe_VkAccelerationStructureCreateInfoNV::safe_VkAccelerationStructureCreateInfoNV()
21300{}
21301
21302safe_VkAccelerationStructureCreateInfoNV::safe_VkAccelerationStructureCreateInfoNV(const safe_VkAccelerationStructureCreateInfoNV& src)
21303{
21304 sType = src.sType;
21305 pNext = src.pNext;
21306 compactedSize = src.compactedSize;
21307 info.initialize(&src.info);
21308}
21309
21310safe_VkAccelerationStructureCreateInfoNV& safe_VkAccelerationStructureCreateInfoNV::operator=(const safe_VkAccelerationStructureCreateInfoNV& src)
21311{
21312 if (&src == this) return *this;
21313
21314
21315 sType = src.sType;
21316 pNext = src.pNext;
21317 compactedSize = src.compactedSize;
21318 info.initialize(&src.info);
21319
21320 return *this;
21321}
21322
21323safe_VkAccelerationStructureCreateInfoNV::~safe_VkAccelerationStructureCreateInfoNV()
21324{
21325}
21326
21327void safe_VkAccelerationStructureCreateInfoNV::initialize(const VkAccelerationStructureCreateInfoNV* in_struct)
21328{
21329 sType = in_struct->sType;
21330 pNext = in_struct->pNext;
21331 compactedSize = in_struct->compactedSize;
21332 info.initialize(&in_struct->info);
21333}
21334
21335void safe_VkAccelerationStructureCreateInfoNV::initialize(const safe_VkAccelerationStructureCreateInfoNV* src)
21336{
21337 sType = src->sType;
21338 pNext = src->pNext;
21339 compactedSize = src->compactedSize;
21340 info.initialize(&src->info);
21341}
21342
21343safe_VkBindAccelerationStructureMemoryInfoNV::safe_VkBindAccelerationStructureMemoryInfoNV(const VkBindAccelerationStructureMemoryInfoNV* in_struct) :
21344 sType(in_struct->sType),
21345 pNext(in_struct->pNext),
21346 accelerationStructure(in_struct->accelerationStructure),
21347 memory(in_struct->memory),
21348 memoryOffset(in_struct->memoryOffset),
21349 deviceIndexCount(in_struct->deviceIndexCount),
21350 pDeviceIndices(nullptr)
21351{
21352 if (in_struct->pDeviceIndices) {
21353 pDeviceIndices = new uint32_t[in_struct->deviceIndexCount];
21354 memcpy ((void *)pDeviceIndices, (void *)in_struct->pDeviceIndices, sizeof(uint32_t)*in_struct->deviceIndexCount);
21355 }
21356}
21357
21358safe_VkBindAccelerationStructureMemoryInfoNV::safe_VkBindAccelerationStructureMemoryInfoNV() :
21359 pDeviceIndices(nullptr)
21360{}
21361
21362safe_VkBindAccelerationStructureMemoryInfoNV::safe_VkBindAccelerationStructureMemoryInfoNV(const safe_VkBindAccelerationStructureMemoryInfoNV& src)
21363{
21364 sType = src.sType;
21365 pNext = src.pNext;
21366 accelerationStructure = src.accelerationStructure;
21367 memory = src.memory;
21368 memoryOffset = src.memoryOffset;
21369 deviceIndexCount = src.deviceIndexCount;
21370 pDeviceIndices = nullptr;
21371 if (src.pDeviceIndices) {
21372 pDeviceIndices = new uint32_t[src.deviceIndexCount];
21373 memcpy ((void *)pDeviceIndices, (void *)src.pDeviceIndices, sizeof(uint32_t)*src.deviceIndexCount);
21374 }
21375}
21376
21377safe_VkBindAccelerationStructureMemoryInfoNV& safe_VkBindAccelerationStructureMemoryInfoNV::operator=(const safe_VkBindAccelerationStructureMemoryInfoNV& src)
21378{
21379 if (&src == this) return *this;
21380
21381 if (pDeviceIndices)
21382 delete[] pDeviceIndices;
21383
21384 sType = src.sType;
21385 pNext = src.pNext;
21386 accelerationStructure = src.accelerationStructure;
21387 memory = src.memory;
21388 memoryOffset = src.memoryOffset;
21389 deviceIndexCount = src.deviceIndexCount;
21390 pDeviceIndices = nullptr;
21391 if (src.pDeviceIndices) {
21392 pDeviceIndices = new uint32_t[src.deviceIndexCount];
21393 memcpy ((void *)pDeviceIndices, (void *)src.pDeviceIndices, sizeof(uint32_t)*src.deviceIndexCount);
21394 }
21395
21396 return *this;
21397}
21398
21399safe_VkBindAccelerationStructureMemoryInfoNV::~safe_VkBindAccelerationStructureMemoryInfoNV()
21400{
21401 if (pDeviceIndices)
21402 delete[] pDeviceIndices;
21403}
21404
21405void safe_VkBindAccelerationStructureMemoryInfoNV::initialize(const VkBindAccelerationStructureMemoryInfoNV* in_struct)
21406{
21407 sType = in_struct->sType;
21408 pNext = in_struct->pNext;
21409 accelerationStructure = in_struct->accelerationStructure;
21410 memory = in_struct->memory;
21411 memoryOffset = in_struct->memoryOffset;
21412 deviceIndexCount = in_struct->deviceIndexCount;
21413 pDeviceIndices = nullptr;
21414 if (in_struct->pDeviceIndices) {
21415 pDeviceIndices = new uint32_t[in_struct->deviceIndexCount];
21416 memcpy ((void *)pDeviceIndices, (void *)in_struct->pDeviceIndices, sizeof(uint32_t)*in_struct->deviceIndexCount);
21417 }
21418}
21419
21420void safe_VkBindAccelerationStructureMemoryInfoNV::initialize(const safe_VkBindAccelerationStructureMemoryInfoNV* src)
21421{
21422 sType = src->sType;
21423 pNext = src->pNext;
21424 accelerationStructure = src->accelerationStructure;
21425 memory = src->memory;
21426 memoryOffset = src->memoryOffset;
21427 deviceIndexCount = src->deviceIndexCount;
21428 pDeviceIndices = nullptr;
21429 if (src->pDeviceIndices) {
21430 pDeviceIndices = new uint32_t[src->deviceIndexCount];
21431 memcpy ((void *)pDeviceIndices, (void *)src->pDeviceIndices, sizeof(uint32_t)*src->deviceIndexCount);
21432 }
21433}
21434
21435safe_VkWriteDescriptorSetAccelerationStructureNV::safe_VkWriteDescriptorSetAccelerationStructureNV(const VkWriteDescriptorSetAccelerationStructureNV* in_struct) :
21436 sType(in_struct->sType),
21437 pNext(in_struct->pNext),
21438 accelerationStructureCount(in_struct->accelerationStructureCount),
21439 pAccelerationStructures(nullptr)
21440{
21441 if (accelerationStructureCount && in_struct->pAccelerationStructures) {
21442 pAccelerationStructures = new VkAccelerationStructureNV[accelerationStructureCount];
21443 for (uint32_t i=0; i<accelerationStructureCount; ++i) {
21444 pAccelerationStructures[i] = in_struct->pAccelerationStructures[i];
21445 }
21446 }
21447}
21448
21449safe_VkWriteDescriptorSetAccelerationStructureNV::safe_VkWriteDescriptorSetAccelerationStructureNV() :
21450 pAccelerationStructures(nullptr)
21451{}
21452
21453safe_VkWriteDescriptorSetAccelerationStructureNV::safe_VkWriteDescriptorSetAccelerationStructureNV(const safe_VkWriteDescriptorSetAccelerationStructureNV& src)
21454{
21455 sType = src.sType;
21456 pNext = src.pNext;
21457 accelerationStructureCount = src.accelerationStructureCount;
21458 pAccelerationStructures = nullptr;
21459 if (accelerationStructureCount && src.pAccelerationStructures) {
21460 pAccelerationStructures = new VkAccelerationStructureNV[accelerationStructureCount];
21461 for (uint32_t i=0; i<accelerationStructureCount; ++i) {
21462 pAccelerationStructures[i] = src.pAccelerationStructures[i];
21463 }
21464 }
21465}
21466
21467safe_VkWriteDescriptorSetAccelerationStructureNV& safe_VkWriteDescriptorSetAccelerationStructureNV::operator=(const safe_VkWriteDescriptorSetAccelerationStructureNV& src)
21468{
21469 if (&src == this) return *this;
21470
21471 if (pAccelerationStructures)
21472 delete[] pAccelerationStructures;
21473
21474 sType = src.sType;
21475 pNext = src.pNext;
21476 accelerationStructureCount = src.accelerationStructureCount;
21477 pAccelerationStructures = nullptr;
21478 if (accelerationStructureCount && src.pAccelerationStructures) {
21479 pAccelerationStructures = new VkAccelerationStructureNV[accelerationStructureCount];
21480 for (uint32_t i=0; i<accelerationStructureCount; ++i) {
21481 pAccelerationStructures[i] = src.pAccelerationStructures[i];
21482 }
21483 }
21484
21485 return *this;
21486}
21487
21488safe_VkWriteDescriptorSetAccelerationStructureNV::~safe_VkWriteDescriptorSetAccelerationStructureNV()
21489{
21490 if (pAccelerationStructures)
21491 delete[] pAccelerationStructures;
21492}
21493
21494void safe_VkWriteDescriptorSetAccelerationStructureNV::initialize(const VkWriteDescriptorSetAccelerationStructureNV* in_struct)
21495{
21496 sType = in_struct->sType;
21497 pNext = in_struct->pNext;
21498 accelerationStructureCount = in_struct->accelerationStructureCount;
21499 pAccelerationStructures = nullptr;
21500 if (accelerationStructureCount && in_struct->pAccelerationStructures) {
21501 pAccelerationStructures = new VkAccelerationStructureNV[accelerationStructureCount];
21502 for (uint32_t i=0; i<accelerationStructureCount; ++i) {
21503 pAccelerationStructures[i] = in_struct->pAccelerationStructures[i];
21504 }
21505 }
21506}
21507
21508void safe_VkWriteDescriptorSetAccelerationStructureNV::initialize(const safe_VkWriteDescriptorSetAccelerationStructureNV* src)
21509{
21510 sType = src->sType;
21511 pNext = src->pNext;
21512 accelerationStructureCount = src->accelerationStructureCount;
21513 pAccelerationStructures = nullptr;
21514 if (accelerationStructureCount && src->pAccelerationStructures) {
21515 pAccelerationStructures = new VkAccelerationStructureNV[accelerationStructureCount];
21516 for (uint32_t i=0; i<accelerationStructureCount; ++i) {
21517 pAccelerationStructures[i] = src->pAccelerationStructures[i];
21518 }
21519 }
21520}
21521
21522safe_VkAccelerationStructureMemoryRequirementsInfoNV::safe_VkAccelerationStructureMemoryRequirementsInfoNV(const VkAccelerationStructureMemoryRequirementsInfoNV* in_struct) :
21523 sType(in_struct->sType),
21524 pNext(in_struct->pNext),
21525 type(in_struct->type),
21526 accelerationStructure(in_struct->accelerationStructure)
21527{
21528}
21529
21530safe_VkAccelerationStructureMemoryRequirementsInfoNV::safe_VkAccelerationStructureMemoryRequirementsInfoNV()
21531{}
21532
21533safe_VkAccelerationStructureMemoryRequirementsInfoNV::safe_VkAccelerationStructureMemoryRequirementsInfoNV(const safe_VkAccelerationStructureMemoryRequirementsInfoNV& src)
21534{
21535 sType = src.sType;
21536 pNext = src.pNext;
21537 type = src.type;
21538 accelerationStructure = src.accelerationStructure;
21539}
21540
21541safe_VkAccelerationStructureMemoryRequirementsInfoNV& safe_VkAccelerationStructureMemoryRequirementsInfoNV::operator=(const safe_VkAccelerationStructureMemoryRequirementsInfoNV& src)
21542{
21543 if (&src == this) return *this;
21544
21545
21546 sType = src.sType;
21547 pNext = src.pNext;
21548 type = src.type;
21549 accelerationStructure = src.accelerationStructure;
21550
21551 return *this;
21552}
21553
21554safe_VkAccelerationStructureMemoryRequirementsInfoNV::~safe_VkAccelerationStructureMemoryRequirementsInfoNV()
21555{
21556}
21557
21558void safe_VkAccelerationStructureMemoryRequirementsInfoNV::initialize(const VkAccelerationStructureMemoryRequirementsInfoNV* in_struct)
21559{
21560 sType = in_struct->sType;
21561 pNext = in_struct->pNext;
21562 type = in_struct->type;
21563 accelerationStructure = in_struct->accelerationStructure;
21564}
21565
21566void safe_VkAccelerationStructureMemoryRequirementsInfoNV::initialize(const safe_VkAccelerationStructureMemoryRequirementsInfoNV* src)
21567{
21568 sType = src->sType;
21569 pNext = src->pNext;
21570 type = src->type;
21571 accelerationStructure = src->accelerationStructure;
21572}
21573
21574safe_VkPhysicalDeviceRayTracingPropertiesNV::safe_VkPhysicalDeviceRayTracingPropertiesNV(const VkPhysicalDeviceRayTracingPropertiesNV* in_struct) :
21575 sType(in_struct->sType),
21576 pNext(in_struct->pNext),
21577 shaderGroupHandleSize(in_struct->shaderGroupHandleSize),
21578 maxRecursionDepth(in_struct->maxRecursionDepth),
21579 maxShaderGroupStride(in_struct->maxShaderGroupStride),
21580 shaderGroupBaseAlignment(in_struct->shaderGroupBaseAlignment),
21581 maxGeometryCount(in_struct->maxGeometryCount),
21582 maxInstanceCount(in_struct->maxInstanceCount),
21583 maxTriangleCount(in_struct->maxTriangleCount),
21584 maxDescriptorSetAccelerationStructures(in_struct->maxDescriptorSetAccelerationStructures)
21585{
21586}
21587
21588safe_VkPhysicalDeviceRayTracingPropertiesNV::safe_VkPhysicalDeviceRayTracingPropertiesNV()
21589{}
21590
21591safe_VkPhysicalDeviceRayTracingPropertiesNV::safe_VkPhysicalDeviceRayTracingPropertiesNV(const safe_VkPhysicalDeviceRayTracingPropertiesNV& src)
21592{
21593 sType = src.sType;
21594 pNext = src.pNext;
21595 shaderGroupHandleSize = src.shaderGroupHandleSize;
21596 maxRecursionDepth = src.maxRecursionDepth;
21597 maxShaderGroupStride = src.maxShaderGroupStride;
21598 shaderGroupBaseAlignment = src.shaderGroupBaseAlignment;
21599 maxGeometryCount = src.maxGeometryCount;
21600 maxInstanceCount = src.maxInstanceCount;
21601 maxTriangleCount = src.maxTriangleCount;
21602 maxDescriptorSetAccelerationStructures = src.maxDescriptorSetAccelerationStructures;
21603}
21604
21605safe_VkPhysicalDeviceRayTracingPropertiesNV& safe_VkPhysicalDeviceRayTracingPropertiesNV::operator=(const safe_VkPhysicalDeviceRayTracingPropertiesNV& src)
21606{
21607 if (&src == this) return *this;
21608
21609
21610 sType = src.sType;
21611 pNext = src.pNext;
21612 shaderGroupHandleSize = src.shaderGroupHandleSize;
21613 maxRecursionDepth = src.maxRecursionDepth;
21614 maxShaderGroupStride = src.maxShaderGroupStride;
21615 shaderGroupBaseAlignment = src.shaderGroupBaseAlignment;
21616 maxGeometryCount = src.maxGeometryCount;
21617 maxInstanceCount = src.maxInstanceCount;
21618 maxTriangleCount = src.maxTriangleCount;
21619 maxDescriptorSetAccelerationStructures = src.maxDescriptorSetAccelerationStructures;
21620
21621 return *this;
21622}
21623
21624safe_VkPhysicalDeviceRayTracingPropertiesNV::~safe_VkPhysicalDeviceRayTracingPropertiesNV()
21625{
21626}
21627
21628void safe_VkPhysicalDeviceRayTracingPropertiesNV::initialize(const VkPhysicalDeviceRayTracingPropertiesNV* in_struct)
21629{
21630 sType = in_struct->sType;
21631 pNext = in_struct->pNext;
21632 shaderGroupHandleSize = in_struct->shaderGroupHandleSize;
21633 maxRecursionDepth = in_struct->maxRecursionDepth;
21634 maxShaderGroupStride = in_struct->maxShaderGroupStride;
21635 shaderGroupBaseAlignment = in_struct->shaderGroupBaseAlignment;
21636 maxGeometryCount = in_struct->maxGeometryCount;
21637 maxInstanceCount = in_struct->maxInstanceCount;
21638 maxTriangleCount = in_struct->maxTriangleCount;
21639 maxDescriptorSetAccelerationStructures = in_struct->maxDescriptorSetAccelerationStructures;
21640}
21641
21642void safe_VkPhysicalDeviceRayTracingPropertiesNV::initialize(const safe_VkPhysicalDeviceRayTracingPropertiesNV* src)
21643{
21644 sType = src->sType;
21645 pNext = src->pNext;
21646 shaderGroupHandleSize = src->shaderGroupHandleSize;
21647 maxRecursionDepth = src->maxRecursionDepth;
21648 maxShaderGroupStride = src->maxShaderGroupStride;
21649 shaderGroupBaseAlignment = src->shaderGroupBaseAlignment;
21650 maxGeometryCount = src->maxGeometryCount;
21651 maxInstanceCount = src->maxInstanceCount;
21652 maxTriangleCount = src->maxTriangleCount;
21653 maxDescriptorSetAccelerationStructures = src->maxDescriptorSetAccelerationStructures;
21654}
21655
21656safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV::safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV(const VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV* in_struct) :
21657 sType(in_struct->sType),
21658 pNext(in_struct->pNext),
21659 representativeFragmentTest(in_struct->representativeFragmentTest)
21660{
21661}
21662
21663safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV::safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV()
21664{}
21665
21666safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV::safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV(const safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV& src)
21667{
21668 sType = src.sType;
21669 pNext = src.pNext;
21670 representativeFragmentTest = src.representativeFragmentTest;
21671}
21672
21673safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV& safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV::operator=(const safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV& src)
21674{
21675 if (&src == this) return *this;
21676
21677
21678 sType = src.sType;
21679 pNext = src.pNext;
21680 representativeFragmentTest = src.representativeFragmentTest;
21681
21682 return *this;
21683}
21684
21685safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV::~safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV()
21686{
21687}
21688
21689void safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV::initialize(const VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV* in_struct)
21690{
21691 sType = in_struct->sType;
21692 pNext = in_struct->pNext;
21693 representativeFragmentTest = in_struct->representativeFragmentTest;
21694}
21695
21696void safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV::initialize(const safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV* src)
21697{
21698 sType = src->sType;
21699 pNext = src->pNext;
21700 representativeFragmentTest = src->representativeFragmentTest;
21701}
21702
21703safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV::safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV(const VkPipelineRepresentativeFragmentTestStateCreateInfoNV* in_struct) :
21704 sType(in_struct->sType),
21705 pNext(in_struct->pNext),
21706 representativeFragmentTestEnable(in_struct->representativeFragmentTestEnable)
21707{
21708}
21709
21710safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV::safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV()
21711{}
21712
21713safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV::safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV(const safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV& src)
21714{
21715 sType = src.sType;
21716 pNext = src.pNext;
21717 representativeFragmentTestEnable = src.representativeFragmentTestEnable;
21718}
21719
21720safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV& safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV::operator=(const safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV& src)
21721{
21722 if (&src == this) return *this;
21723
21724
21725 sType = src.sType;
21726 pNext = src.pNext;
21727 representativeFragmentTestEnable = src.representativeFragmentTestEnable;
21728
21729 return *this;
21730}
21731
21732safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV::~safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV()
21733{
21734}
21735
21736void safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV::initialize(const VkPipelineRepresentativeFragmentTestStateCreateInfoNV* in_struct)
21737{
21738 sType = in_struct->sType;
21739 pNext = in_struct->pNext;
21740 representativeFragmentTestEnable = in_struct->representativeFragmentTestEnable;
21741}
21742
21743void safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV::initialize(const safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV* src)
21744{
21745 sType = src->sType;
21746 pNext = src->pNext;
21747 representativeFragmentTestEnable = src->representativeFragmentTestEnable;
21748}
21749
21750safe_VkPhysicalDeviceImageViewImageFormatInfoEXT::safe_VkPhysicalDeviceImageViewImageFormatInfoEXT(const VkPhysicalDeviceImageViewImageFormatInfoEXT* in_struct) :
21751 sType(in_struct->sType),
21752 pNext(in_struct->pNext),
21753 imageViewType(in_struct->imageViewType)
21754{
21755}
21756
21757safe_VkPhysicalDeviceImageViewImageFormatInfoEXT::safe_VkPhysicalDeviceImageViewImageFormatInfoEXT()
21758{}
21759
21760safe_VkPhysicalDeviceImageViewImageFormatInfoEXT::safe_VkPhysicalDeviceImageViewImageFormatInfoEXT(const safe_VkPhysicalDeviceImageViewImageFormatInfoEXT& src)
21761{
21762 sType = src.sType;
21763 pNext = src.pNext;
21764 imageViewType = src.imageViewType;
21765}
21766
21767safe_VkPhysicalDeviceImageViewImageFormatInfoEXT& safe_VkPhysicalDeviceImageViewImageFormatInfoEXT::operator=(const safe_VkPhysicalDeviceImageViewImageFormatInfoEXT& src)
21768{
21769 if (&src == this) return *this;
21770
21771
21772 sType = src.sType;
21773 pNext = src.pNext;
21774 imageViewType = src.imageViewType;
21775
21776 return *this;
21777}
21778
21779safe_VkPhysicalDeviceImageViewImageFormatInfoEXT::~safe_VkPhysicalDeviceImageViewImageFormatInfoEXT()
21780{
21781}
21782
21783void safe_VkPhysicalDeviceImageViewImageFormatInfoEXT::initialize(const VkPhysicalDeviceImageViewImageFormatInfoEXT* in_struct)
21784{
21785 sType = in_struct->sType;
21786 pNext = in_struct->pNext;
21787 imageViewType = in_struct->imageViewType;
21788}
21789
21790void safe_VkPhysicalDeviceImageViewImageFormatInfoEXT::initialize(const safe_VkPhysicalDeviceImageViewImageFormatInfoEXT* src)
21791{
21792 sType = src->sType;
21793 pNext = src->pNext;
21794 imageViewType = src->imageViewType;
21795}
21796
21797safe_VkFilterCubicImageViewImageFormatPropertiesEXT::safe_VkFilterCubicImageViewImageFormatPropertiesEXT(const VkFilterCubicImageViewImageFormatPropertiesEXT* in_struct) :
21798 sType(in_struct->sType),
21799 pNext(in_struct->pNext),
21800 filterCubic(in_struct->filterCubic),
21801 filterCubicMinmax(in_struct->filterCubicMinmax)
21802{
21803}
21804
21805safe_VkFilterCubicImageViewImageFormatPropertiesEXT::safe_VkFilterCubicImageViewImageFormatPropertiesEXT()
21806{}
21807
21808safe_VkFilterCubicImageViewImageFormatPropertiesEXT::safe_VkFilterCubicImageViewImageFormatPropertiesEXT(const safe_VkFilterCubicImageViewImageFormatPropertiesEXT& src)
21809{
21810 sType = src.sType;
21811 pNext = src.pNext;
21812 filterCubic = src.filterCubic;
21813 filterCubicMinmax = src.filterCubicMinmax;
21814}
21815
21816safe_VkFilterCubicImageViewImageFormatPropertiesEXT& safe_VkFilterCubicImageViewImageFormatPropertiesEXT::operator=(const safe_VkFilterCubicImageViewImageFormatPropertiesEXT& src)
21817{
21818 if (&src == this) return *this;
21819
21820
21821 sType = src.sType;
21822 pNext = src.pNext;
21823 filterCubic = src.filterCubic;
21824 filterCubicMinmax = src.filterCubicMinmax;
21825
21826 return *this;
21827}
21828
21829safe_VkFilterCubicImageViewImageFormatPropertiesEXT::~safe_VkFilterCubicImageViewImageFormatPropertiesEXT()
21830{
21831}
21832
21833void safe_VkFilterCubicImageViewImageFormatPropertiesEXT::initialize(const VkFilterCubicImageViewImageFormatPropertiesEXT* in_struct)
21834{
21835 sType = in_struct->sType;
21836 pNext = in_struct->pNext;
21837 filterCubic = in_struct->filterCubic;
21838 filterCubicMinmax = in_struct->filterCubicMinmax;
21839}
21840
21841void safe_VkFilterCubicImageViewImageFormatPropertiesEXT::initialize(const safe_VkFilterCubicImageViewImageFormatPropertiesEXT* src)
21842{
21843 sType = src->sType;
21844 pNext = src->pNext;
21845 filterCubic = src->filterCubic;
21846 filterCubicMinmax = src->filterCubicMinmax;
21847}
21848
21849safe_VkDeviceQueueGlobalPriorityCreateInfoEXT::safe_VkDeviceQueueGlobalPriorityCreateInfoEXT(const VkDeviceQueueGlobalPriorityCreateInfoEXT* in_struct) :
21850 sType(in_struct->sType),
21851 pNext(in_struct->pNext),
21852 globalPriority(in_struct->globalPriority)
21853{
21854}
21855
21856safe_VkDeviceQueueGlobalPriorityCreateInfoEXT::safe_VkDeviceQueueGlobalPriorityCreateInfoEXT()
21857{}
21858
21859safe_VkDeviceQueueGlobalPriorityCreateInfoEXT::safe_VkDeviceQueueGlobalPriorityCreateInfoEXT(const safe_VkDeviceQueueGlobalPriorityCreateInfoEXT& src)
21860{
21861 sType = src.sType;
21862 pNext = src.pNext;
21863 globalPriority = src.globalPriority;
21864}
21865
21866safe_VkDeviceQueueGlobalPriorityCreateInfoEXT& safe_VkDeviceQueueGlobalPriorityCreateInfoEXT::operator=(const safe_VkDeviceQueueGlobalPriorityCreateInfoEXT& src)
21867{
21868 if (&src == this) return *this;
21869
21870
21871 sType = src.sType;
21872 pNext = src.pNext;
21873 globalPriority = src.globalPriority;
21874
21875 return *this;
21876}
21877
21878safe_VkDeviceQueueGlobalPriorityCreateInfoEXT::~safe_VkDeviceQueueGlobalPriorityCreateInfoEXT()
21879{
21880}
21881
21882void safe_VkDeviceQueueGlobalPriorityCreateInfoEXT::initialize(const VkDeviceQueueGlobalPriorityCreateInfoEXT* in_struct)
21883{
21884 sType = in_struct->sType;
21885 pNext = in_struct->pNext;
21886 globalPriority = in_struct->globalPriority;
21887}
21888
21889void safe_VkDeviceQueueGlobalPriorityCreateInfoEXT::initialize(const safe_VkDeviceQueueGlobalPriorityCreateInfoEXT* src)
21890{
21891 sType = src->sType;
21892 pNext = src->pNext;
21893 globalPriority = src->globalPriority;
21894}
21895
21896safe_VkImportMemoryHostPointerInfoEXT::safe_VkImportMemoryHostPointerInfoEXT(const VkImportMemoryHostPointerInfoEXT* in_struct) :
21897 sType(in_struct->sType),
21898 pNext(in_struct->pNext),
21899 handleType(in_struct->handleType),
21900 pHostPointer(in_struct->pHostPointer)
21901{
21902}
21903
21904safe_VkImportMemoryHostPointerInfoEXT::safe_VkImportMemoryHostPointerInfoEXT()
21905{}
21906
21907safe_VkImportMemoryHostPointerInfoEXT::safe_VkImportMemoryHostPointerInfoEXT(const safe_VkImportMemoryHostPointerInfoEXT& src)
21908{
21909 sType = src.sType;
21910 pNext = src.pNext;
21911 handleType = src.handleType;
21912 pHostPointer = src.pHostPointer;
21913}
21914
21915safe_VkImportMemoryHostPointerInfoEXT& safe_VkImportMemoryHostPointerInfoEXT::operator=(const safe_VkImportMemoryHostPointerInfoEXT& src)
21916{
21917 if (&src == this) return *this;
21918
21919
21920 sType = src.sType;
21921 pNext = src.pNext;
21922 handleType = src.handleType;
21923 pHostPointer = src.pHostPointer;
21924
21925 return *this;
21926}
21927
21928safe_VkImportMemoryHostPointerInfoEXT::~safe_VkImportMemoryHostPointerInfoEXT()
21929{
21930}
21931
21932void safe_VkImportMemoryHostPointerInfoEXT::initialize(const VkImportMemoryHostPointerInfoEXT* in_struct)
21933{
21934 sType = in_struct->sType;
21935 pNext = in_struct->pNext;
21936 handleType = in_struct->handleType;
21937 pHostPointer = in_struct->pHostPointer;
21938}
21939
21940void safe_VkImportMemoryHostPointerInfoEXT::initialize(const safe_VkImportMemoryHostPointerInfoEXT* src)
21941{
21942 sType = src->sType;
21943 pNext = src->pNext;
21944 handleType = src->handleType;
21945 pHostPointer = src->pHostPointer;
21946}
21947
21948safe_VkMemoryHostPointerPropertiesEXT::safe_VkMemoryHostPointerPropertiesEXT(const VkMemoryHostPointerPropertiesEXT* in_struct) :
21949 sType(in_struct->sType),
21950 pNext(in_struct->pNext),
21951 memoryTypeBits(in_struct->memoryTypeBits)
21952{
21953}
21954
21955safe_VkMemoryHostPointerPropertiesEXT::safe_VkMemoryHostPointerPropertiesEXT()
21956{}
21957
21958safe_VkMemoryHostPointerPropertiesEXT::safe_VkMemoryHostPointerPropertiesEXT(const safe_VkMemoryHostPointerPropertiesEXT& src)
21959{
21960 sType = src.sType;
21961 pNext = src.pNext;
21962 memoryTypeBits = src.memoryTypeBits;
21963}
21964
21965safe_VkMemoryHostPointerPropertiesEXT& safe_VkMemoryHostPointerPropertiesEXT::operator=(const safe_VkMemoryHostPointerPropertiesEXT& src)
21966{
21967 if (&src == this) return *this;
21968
21969
21970 sType = src.sType;
21971 pNext = src.pNext;
21972 memoryTypeBits = src.memoryTypeBits;
21973
21974 return *this;
21975}
21976
21977safe_VkMemoryHostPointerPropertiesEXT::~safe_VkMemoryHostPointerPropertiesEXT()
21978{
21979}
21980
21981void safe_VkMemoryHostPointerPropertiesEXT::initialize(const VkMemoryHostPointerPropertiesEXT* in_struct)
21982{
21983 sType = in_struct->sType;
21984 pNext = in_struct->pNext;
21985 memoryTypeBits = in_struct->memoryTypeBits;
21986}
21987
21988void safe_VkMemoryHostPointerPropertiesEXT::initialize(const safe_VkMemoryHostPointerPropertiesEXT* src)
21989{
21990 sType = src->sType;
21991 pNext = src->pNext;
21992 memoryTypeBits = src->memoryTypeBits;
21993}
21994
21995safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT::safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT(const VkPhysicalDeviceExternalMemoryHostPropertiesEXT* in_struct) :
21996 sType(in_struct->sType),
21997 pNext(in_struct->pNext),
21998 minImportedHostPointerAlignment(in_struct->minImportedHostPointerAlignment)
21999{
22000}
22001
22002safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT::safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT()
22003{}
22004
22005safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT::safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT(const safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT& src)
22006{
22007 sType = src.sType;
22008 pNext = src.pNext;
22009 minImportedHostPointerAlignment = src.minImportedHostPointerAlignment;
22010}
22011
22012safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT& safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT::operator=(const safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT& src)
22013{
22014 if (&src == this) return *this;
22015
22016
22017 sType = src.sType;
22018 pNext = src.pNext;
22019 minImportedHostPointerAlignment = src.minImportedHostPointerAlignment;
22020
22021 return *this;
22022}
22023
22024safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT::~safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT()
22025{
22026}
22027
22028void safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT::initialize(const VkPhysicalDeviceExternalMemoryHostPropertiesEXT* in_struct)
22029{
22030 sType = in_struct->sType;
22031 pNext = in_struct->pNext;
22032 minImportedHostPointerAlignment = in_struct->minImportedHostPointerAlignment;
22033}
22034
22035void safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT::initialize(const safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT* src)
22036{
22037 sType = src->sType;
22038 pNext = src->pNext;
22039 minImportedHostPointerAlignment = src->minImportedHostPointerAlignment;
22040}
22041
22042safe_VkCalibratedTimestampInfoEXT::safe_VkCalibratedTimestampInfoEXT(const VkCalibratedTimestampInfoEXT* in_struct) :
22043 sType(in_struct->sType),
22044 pNext(in_struct->pNext),
22045 timeDomain(in_struct->timeDomain)
22046{
22047}
22048
22049safe_VkCalibratedTimestampInfoEXT::safe_VkCalibratedTimestampInfoEXT()
22050{}
22051
22052safe_VkCalibratedTimestampInfoEXT::safe_VkCalibratedTimestampInfoEXT(const safe_VkCalibratedTimestampInfoEXT& src)
22053{
22054 sType = src.sType;
22055 pNext = src.pNext;
22056 timeDomain = src.timeDomain;
22057}
22058
22059safe_VkCalibratedTimestampInfoEXT& safe_VkCalibratedTimestampInfoEXT::operator=(const safe_VkCalibratedTimestampInfoEXT& src)
22060{
22061 if (&src == this) return *this;
22062
22063
22064 sType = src.sType;
22065 pNext = src.pNext;
22066 timeDomain = src.timeDomain;
22067
22068 return *this;
22069}
22070
22071safe_VkCalibratedTimestampInfoEXT::~safe_VkCalibratedTimestampInfoEXT()
22072{
22073}
22074
22075void safe_VkCalibratedTimestampInfoEXT::initialize(const VkCalibratedTimestampInfoEXT* in_struct)
22076{
22077 sType = in_struct->sType;
22078 pNext = in_struct->pNext;
22079 timeDomain = in_struct->timeDomain;
22080}
22081
22082void safe_VkCalibratedTimestampInfoEXT::initialize(const safe_VkCalibratedTimestampInfoEXT* src)
22083{
22084 sType = src->sType;
22085 pNext = src->pNext;
22086 timeDomain = src->timeDomain;
22087}
22088
22089safe_VkPhysicalDeviceShaderCorePropertiesAMD::safe_VkPhysicalDeviceShaderCorePropertiesAMD(const VkPhysicalDeviceShaderCorePropertiesAMD* in_struct) :
22090 sType(in_struct->sType),
22091 pNext(in_struct->pNext),
22092 shaderEngineCount(in_struct->shaderEngineCount),
22093 shaderArraysPerEngineCount(in_struct->shaderArraysPerEngineCount),
22094 computeUnitsPerShaderArray(in_struct->computeUnitsPerShaderArray),
22095 simdPerComputeUnit(in_struct->simdPerComputeUnit),
22096 wavefrontsPerSimd(in_struct->wavefrontsPerSimd),
22097 wavefrontSize(in_struct->wavefrontSize),
22098 sgprsPerSimd(in_struct->sgprsPerSimd),
22099 minSgprAllocation(in_struct->minSgprAllocation),
22100 maxSgprAllocation(in_struct->maxSgprAllocation),
22101 sgprAllocationGranularity(in_struct->sgprAllocationGranularity),
22102 vgprsPerSimd(in_struct->vgprsPerSimd),
22103 minVgprAllocation(in_struct->minVgprAllocation),
22104 maxVgprAllocation(in_struct->maxVgprAllocation),
22105 vgprAllocationGranularity(in_struct->vgprAllocationGranularity)
22106{
22107}
22108
22109safe_VkPhysicalDeviceShaderCorePropertiesAMD::safe_VkPhysicalDeviceShaderCorePropertiesAMD()
22110{}
22111
22112safe_VkPhysicalDeviceShaderCorePropertiesAMD::safe_VkPhysicalDeviceShaderCorePropertiesAMD(const safe_VkPhysicalDeviceShaderCorePropertiesAMD& src)
22113{
22114 sType = src.sType;
22115 pNext = src.pNext;
22116 shaderEngineCount = src.shaderEngineCount;
22117 shaderArraysPerEngineCount = src.shaderArraysPerEngineCount;
22118 computeUnitsPerShaderArray = src.computeUnitsPerShaderArray;
22119 simdPerComputeUnit = src.simdPerComputeUnit;
22120 wavefrontsPerSimd = src.wavefrontsPerSimd;
22121 wavefrontSize = src.wavefrontSize;
22122 sgprsPerSimd = src.sgprsPerSimd;
22123 minSgprAllocation = src.minSgprAllocation;
22124 maxSgprAllocation = src.maxSgprAllocation;
22125 sgprAllocationGranularity = src.sgprAllocationGranularity;
22126 vgprsPerSimd = src.vgprsPerSimd;
22127 minVgprAllocation = src.minVgprAllocation;
22128 maxVgprAllocation = src.maxVgprAllocation;
22129 vgprAllocationGranularity = src.vgprAllocationGranularity;
22130}
22131
22132safe_VkPhysicalDeviceShaderCorePropertiesAMD& safe_VkPhysicalDeviceShaderCorePropertiesAMD::operator=(const safe_VkPhysicalDeviceShaderCorePropertiesAMD& src)
22133{
22134 if (&src == this) return *this;
22135
22136
22137 sType = src.sType;
22138 pNext = src.pNext;
22139 shaderEngineCount = src.shaderEngineCount;
22140 shaderArraysPerEngineCount = src.shaderArraysPerEngineCount;
22141 computeUnitsPerShaderArray = src.computeUnitsPerShaderArray;
22142 simdPerComputeUnit = src.simdPerComputeUnit;
22143 wavefrontsPerSimd = src.wavefrontsPerSimd;
22144 wavefrontSize = src.wavefrontSize;
22145 sgprsPerSimd = src.sgprsPerSimd;
22146 minSgprAllocation = src.minSgprAllocation;
22147 maxSgprAllocation = src.maxSgprAllocation;
22148 sgprAllocationGranularity = src.sgprAllocationGranularity;
22149 vgprsPerSimd = src.vgprsPerSimd;
22150 minVgprAllocation = src.minVgprAllocation;
22151 maxVgprAllocation = src.maxVgprAllocation;
22152 vgprAllocationGranularity = src.vgprAllocationGranularity;
22153
22154 return *this;
22155}
22156
22157safe_VkPhysicalDeviceShaderCorePropertiesAMD::~safe_VkPhysicalDeviceShaderCorePropertiesAMD()
22158{
22159}
22160
22161void safe_VkPhysicalDeviceShaderCorePropertiesAMD::initialize(const VkPhysicalDeviceShaderCorePropertiesAMD* in_struct)
22162{
22163 sType = in_struct->sType;
22164 pNext = in_struct->pNext;
22165 shaderEngineCount = in_struct->shaderEngineCount;
22166 shaderArraysPerEngineCount = in_struct->shaderArraysPerEngineCount;
22167 computeUnitsPerShaderArray = in_struct->computeUnitsPerShaderArray;
22168 simdPerComputeUnit = in_struct->simdPerComputeUnit;
22169 wavefrontsPerSimd = in_struct->wavefrontsPerSimd;
22170 wavefrontSize = in_struct->wavefrontSize;
22171 sgprsPerSimd = in_struct->sgprsPerSimd;
22172 minSgprAllocation = in_struct->minSgprAllocation;
22173 maxSgprAllocation = in_struct->maxSgprAllocation;
22174 sgprAllocationGranularity = in_struct->sgprAllocationGranularity;
22175 vgprsPerSimd = in_struct->vgprsPerSimd;
22176 minVgprAllocation = in_struct->minVgprAllocation;
22177 maxVgprAllocation = in_struct->maxVgprAllocation;
22178 vgprAllocationGranularity = in_struct->vgprAllocationGranularity;
22179}
22180
22181void safe_VkPhysicalDeviceShaderCorePropertiesAMD::initialize(const safe_VkPhysicalDeviceShaderCorePropertiesAMD* src)
22182{
22183 sType = src->sType;
22184 pNext = src->pNext;
22185 shaderEngineCount = src->shaderEngineCount;
22186 shaderArraysPerEngineCount = src->shaderArraysPerEngineCount;
22187 computeUnitsPerShaderArray = src->computeUnitsPerShaderArray;
22188 simdPerComputeUnit = src->simdPerComputeUnit;
22189 wavefrontsPerSimd = src->wavefrontsPerSimd;
22190 wavefrontSize = src->wavefrontSize;
22191 sgprsPerSimd = src->sgprsPerSimd;
22192 minSgprAllocation = src->minSgprAllocation;
22193 maxSgprAllocation = src->maxSgprAllocation;
22194 sgprAllocationGranularity = src->sgprAllocationGranularity;
22195 vgprsPerSimd = src->vgprsPerSimd;
22196 minVgprAllocation = src->minVgprAllocation;
22197 maxVgprAllocation = src->maxVgprAllocation;
22198 vgprAllocationGranularity = src->vgprAllocationGranularity;
22199}
22200
22201safe_VkDeviceMemoryOverallocationCreateInfoAMD::safe_VkDeviceMemoryOverallocationCreateInfoAMD(const VkDeviceMemoryOverallocationCreateInfoAMD* in_struct) :
22202 sType(in_struct->sType),
22203 pNext(in_struct->pNext),
22204 overallocationBehavior(in_struct->overallocationBehavior)
22205{
22206}
22207
22208safe_VkDeviceMemoryOverallocationCreateInfoAMD::safe_VkDeviceMemoryOverallocationCreateInfoAMD()
22209{}
22210
22211safe_VkDeviceMemoryOverallocationCreateInfoAMD::safe_VkDeviceMemoryOverallocationCreateInfoAMD(const safe_VkDeviceMemoryOverallocationCreateInfoAMD& src)
22212{
22213 sType = src.sType;
22214 pNext = src.pNext;
22215 overallocationBehavior = src.overallocationBehavior;
22216}
22217
22218safe_VkDeviceMemoryOverallocationCreateInfoAMD& safe_VkDeviceMemoryOverallocationCreateInfoAMD::operator=(const safe_VkDeviceMemoryOverallocationCreateInfoAMD& src)
22219{
22220 if (&src == this) return *this;
22221
22222
22223 sType = src.sType;
22224 pNext = src.pNext;
22225 overallocationBehavior = src.overallocationBehavior;
22226
22227 return *this;
22228}
22229
22230safe_VkDeviceMemoryOverallocationCreateInfoAMD::~safe_VkDeviceMemoryOverallocationCreateInfoAMD()
22231{
22232}
22233
22234void safe_VkDeviceMemoryOverallocationCreateInfoAMD::initialize(const VkDeviceMemoryOverallocationCreateInfoAMD* in_struct)
22235{
22236 sType = in_struct->sType;
22237 pNext = in_struct->pNext;
22238 overallocationBehavior = in_struct->overallocationBehavior;
22239}
22240
22241void safe_VkDeviceMemoryOverallocationCreateInfoAMD::initialize(const safe_VkDeviceMemoryOverallocationCreateInfoAMD* src)
22242{
22243 sType = src->sType;
22244 pNext = src->pNext;
22245 overallocationBehavior = src->overallocationBehavior;
22246}
22247
22248safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT::safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT(const VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT* in_struct) :
22249 sType(in_struct->sType),
22250 pNext(in_struct->pNext),
22251 maxVertexAttribDivisor(in_struct->maxVertexAttribDivisor)
22252{
22253}
22254
22255safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT::safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT()
22256{}
22257
22258safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT::safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT(const safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT& src)
22259{
22260 sType = src.sType;
22261 pNext = src.pNext;
22262 maxVertexAttribDivisor = src.maxVertexAttribDivisor;
22263}
22264
22265safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT& safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT::operator=(const safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT& src)
22266{
22267 if (&src == this) return *this;
22268
22269
22270 sType = src.sType;
22271 pNext = src.pNext;
22272 maxVertexAttribDivisor = src.maxVertexAttribDivisor;
22273
22274 return *this;
22275}
22276
22277safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT::~safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT()
22278{
22279}
22280
22281void safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT::initialize(const VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT* in_struct)
22282{
22283 sType = in_struct->sType;
22284 pNext = in_struct->pNext;
22285 maxVertexAttribDivisor = in_struct->maxVertexAttribDivisor;
22286}
22287
22288void safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT::initialize(const safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT* src)
22289{
22290 sType = src->sType;
22291 pNext = src->pNext;
22292 maxVertexAttribDivisor = src->maxVertexAttribDivisor;
22293}
22294
22295safe_VkPipelineVertexInputDivisorStateCreateInfoEXT::safe_VkPipelineVertexInputDivisorStateCreateInfoEXT(const VkPipelineVertexInputDivisorStateCreateInfoEXT* in_struct) :
22296 sType(in_struct->sType),
22297 pNext(in_struct->pNext),
22298 vertexBindingDivisorCount(in_struct->vertexBindingDivisorCount),
22299 pVertexBindingDivisors(nullptr)
22300{
22301 if (in_struct->pVertexBindingDivisors) {
22302 pVertexBindingDivisors = new VkVertexInputBindingDivisorDescriptionEXT[in_struct->vertexBindingDivisorCount];
22303 memcpy ((void *)pVertexBindingDivisors, (void *)in_struct->pVertexBindingDivisors, sizeof(VkVertexInputBindingDivisorDescriptionEXT)*in_struct->vertexBindingDivisorCount);
22304 }
22305}
22306
22307safe_VkPipelineVertexInputDivisorStateCreateInfoEXT::safe_VkPipelineVertexInputDivisorStateCreateInfoEXT() :
22308 pVertexBindingDivisors(nullptr)
22309{}
22310
22311safe_VkPipelineVertexInputDivisorStateCreateInfoEXT::safe_VkPipelineVertexInputDivisorStateCreateInfoEXT(const safe_VkPipelineVertexInputDivisorStateCreateInfoEXT& src)
22312{
22313 sType = src.sType;
22314 pNext = src.pNext;
22315 vertexBindingDivisorCount = src.vertexBindingDivisorCount;
22316 pVertexBindingDivisors = nullptr;
22317 if (src.pVertexBindingDivisors) {
22318 pVertexBindingDivisors = new VkVertexInputBindingDivisorDescriptionEXT[src.vertexBindingDivisorCount];
22319 memcpy ((void *)pVertexBindingDivisors, (void *)src.pVertexBindingDivisors, sizeof(VkVertexInputBindingDivisorDescriptionEXT)*src.vertexBindingDivisorCount);
22320 }
22321}
22322
22323safe_VkPipelineVertexInputDivisorStateCreateInfoEXT& safe_VkPipelineVertexInputDivisorStateCreateInfoEXT::operator=(const safe_VkPipelineVertexInputDivisorStateCreateInfoEXT& src)
22324{
22325 if (&src == this) return *this;
22326
22327 if (pVertexBindingDivisors)
22328 delete[] pVertexBindingDivisors;
22329
22330 sType = src.sType;
22331 pNext = src.pNext;
22332 vertexBindingDivisorCount = src.vertexBindingDivisorCount;
22333 pVertexBindingDivisors = nullptr;
22334 if (src.pVertexBindingDivisors) {
22335 pVertexBindingDivisors = new VkVertexInputBindingDivisorDescriptionEXT[src.vertexBindingDivisorCount];
22336 memcpy ((void *)pVertexBindingDivisors, (void *)src.pVertexBindingDivisors, sizeof(VkVertexInputBindingDivisorDescriptionEXT)*src.vertexBindingDivisorCount);
22337 }
22338
22339 return *this;
22340}
22341
22342safe_VkPipelineVertexInputDivisorStateCreateInfoEXT::~safe_VkPipelineVertexInputDivisorStateCreateInfoEXT()
22343{
22344 if (pVertexBindingDivisors)
22345 delete[] pVertexBindingDivisors;
22346}
22347
22348void safe_VkPipelineVertexInputDivisorStateCreateInfoEXT::initialize(const VkPipelineVertexInputDivisorStateCreateInfoEXT* in_struct)
22349{
22350 sType = in_struct->sType;
22351 pNext = in_struct->pNext;
22352 vertexBindingDivisorCount = in_struct->vertexBindingDivisorCount;
22353 pVertexBindingDivisors = nullptr;
22354 if (in_struct->pVertexBindingDivisors) {
22355 pVertexBindingDivisors = new VkVertexInputBindingDivisorDescriptionEXT[in_struct->vertexBindingDivisorCount];
22356 memcpy ((void *)pVertexBindingDivisors, (void *)in_struct->pVertexBindingDivisors, sizeof(VkVertexInputBindingDivisorDescriptionEXT)*in_struct->vertexBindingDivisorCount);
22357 }
22358}
22359
22360void safe_VkPipelineVertexInputDivisorStateCreateInfoEXT::initialize(const safe_VkPipelineVertexInputDivisorStateCreateInfoEXT* src)
22361{
22362 sType = src->sType;
22363 pNext = src->pNext;
22364 vertexBindingDivisorCount = src->vertexBindingDivisorCount;
22365 pVertexBindingDivisors = nullptr;
22366 if (src->pVertexBindingDivisors) {
22367 pVertexBindingDivisors = new VkVertexInputBindingDivisorDescriptionEXT[src->vertexBindingDivisorCount];
22368 memcpy ((void *)pVertexBindingDivisors, (void *)src->pVertexBindingDivisors, sizeof(VkVertexInputBindingDivisorDescriptionEXT)*src->vertexBindingDivisorCount);
22369 }
22370}
22371
22372safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT::safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT(const VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT* in_struct) :
22373 sType(in_struct->sType),
22374 pNext(in_struct->pNext),
22375 vertexAttributeInstanceRateDivisor(in_struct->vertexAttributeInstanceRateDivisor),
22376 vertexAttributeInstanceRateZeroDivisor(in_struct->vertexAttributeInstanceRateZeroDivisor)
22377{
22378}
22379
22380safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT::safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT()
22381{}
22382
22383safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT::safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT(const safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT& src)
22384{
22385 sType = src.sType;
22386 pNext = src.pNext;
22387 vertexAttributeInstanceRateDivisor = src.vertexAttributeInstanceRateDivisor;
22388 vertexAttributeInstanceRateZeroDivisor = src.vertexAttributeInstanceRateZeroDivisor;
22389}
22390
22391safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT& safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT::operator=(const safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT& src)
22392{
22393 if (&src == this) return *this;
22394
22395
22396 sType = src.sType;
22397 pNext = src.pNext;
22398 vertexAttributeInstanceRateDivisor = src.vertexAttributeInstanceRateDivisor;
22399 vertexAttributeInstanceRateZeroDivisor = src.vertexAttributeInstanceRateZeroDivisor;
22400
22401 return *this;
22402}
22403
22404safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT::~safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT()
22405{
22406}
22407
22408void safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT::initialize(const VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT* in_struct)
22409{
22410 sType = in_struct->sType;
22411 pNext = in_struct->pNext;
22412 vertexAttributeInstanceRateDivisor = in_struct->vertexAttributeInstanceRateDivisor;
22413 vertexAttributeInstanceRateZeroDivisor = in_struct->vertexAttributeInstanceRateZeroDivisor;
22414}
22415
22416void safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT::initialize(const safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT* src)
22417{
22418 sType = src->sType;
22419 pNext = src->pNext;
22420 vertexAttributeInstanceRateDivisor = src->vertexAttributeInstanceRateDivisor;
22421 vertexAttributeInstanceRateZeroDivisor = src->vertexAttributeInstanceRateZeroDivisor;
22422}
22423#ifdef VK_USE_PLATFORM_GGP
22424
22425
22426safe_VkPresentFrameTokenGGP::safe_VkPresentFrameTokenGGP(const VkPresentFrameTokenGGP* in_struct) :
22427 sType(in_struct->sType),
22428 pNext(in_struct->pNext),
22429 frameToken(in_struct->frameToken)
22430{
22431}
22432
22433safe_VkPresentFrameTokenGGP::safe_VkPresentFrameTokenGGP()
22434{}
22435
22436safe_VkPresentFrameTokenGGP::safe_VkPresentFrameTokenGGP(const safe_VkPresentFrameTokenGGP& src)
22437{
22438 sType = src.sType;
22439 pNext = src.pNext;
22440 frameToken = src.frameToken;
22441}
22442
22443safe_VkPresentFrameTokenGGP& safe_VkPresentFrameTokenGGP::operator=(const safe_VkPresentFrameTokenGGP& src)
22444{
22445 if (&src == this) return *this;
22446
22447
22448 sType = src.sType;
22449 pNext = src.pNext;
22450 frameToken = src.frameToken;
22451
22452 return *this;
22453}
22454
22455safe_VkPresentFrameTokenGGP::~safe_VkPresentFrameTokenGGP()
22456{
22457}
22458
22459void safe_VkPresentFrameTokenGGP::initialize(const VkPresentFrameTokenGGP* in_struct)
22460{
22461 sType = in_struct->sType;
22462 pNext = in_struct->pNext;
22463 frameToken = in_struct->frameToken;
22464}
22465
22466void safe_VkPresentFrameTokenGGP::initialize(const safe_VkPresentFrameTokenGGP* src)
22467{
22468 sType = src->sType;
22469 pNext = src->pNext;
22470 frameToken = src->frameToken;
22471}
22472#endif // VK_USE_PLATFORM_GGP
22473
22474
22475safe_VkPipelineCreationFeedbackCreateInfoEXT::safe_VkPipelineCreationFeedbackCreateInfoEXT(const VkPipelineCreationFeedbackCreateInfoEXT* in_struct) :
22476 sType(in_struct->sType),
22477 pNext(in_struct->pNext),
22478 pPipelineCreationFeedback(nullptr),
22479 pipelineStageCreationFeedbackCount(in_struct->pipelineStageCreationFeedbackCount),
22480 pPipelineStageCreationFeedbacks(nullptr)
22481{
22482 if (in_struct->pPipelineCreationFeedback) {
22483 pPipelineCreationFeedback = new VkPipelineCreationFeedbackEXT(*in_struct->pPipelineCreationFeedback);
22484 }
22485 if (in_struct->pPipelineStageCreationFeedbacks) {
22486 pPipelineStageCreationFeedbacks = new VkPipelineCreationFeedbackEXT[in_struct->pipelineStageCreationFeedbackCount];
22487 memcpy ((void *)pPipelineStageCreationFeedbacks, (void *)in_struct->pPipelineStageCreationFeedbacks, sizeof(VkPipelineCreationFeedbackEXT)*in_struct->pipelineStageCreationFeedbackCount);
22488 }
22489}
22490
22491safe_VkPipelineCreationFeedbackCreateInfoEXT::safe_VkPipelineCreationFeedbackCreateInfoEXT() :
22492 pPipelineCreationFeedback(nullptr),
22493 pPipelineStageCreationFeedbacks(nullptr)
22494{}
22495
22496safe_VkPipelineCreationFeedbackCreateInfoEXT::safe_VkPipelineCreationFeedbackCreateInfoEXT(const safe_VkPipelineCreationFeedbackCreateInfoEXT& src)
22497{
22498 sType = src.sType;
22499 pNext = src.pNext;
22500 pPipelineCreationFeedback = nullptr;
22501 pipelineStageCreationFeedbackCount = src.pipelineStageCreationFeedbackCount;
22502 pPipelineStageCreationFeedbacks = nullptr;
22503 if (src.pPipelineCreationFeedback) {
22504 pPipelineCreationFeedback = new VkPipelineCreationFeedbackEXT(*src.pPipelineCreationFeedback);
22505 }
22506 if (src.pPipelineStageCreationFeedbacks) {
22507 pPipelineStageCreationFeedbacks = new VkPipelineCreationFeedbackEXT[src.pipelineStageCreationFeedbackCount];
22508 memcpy ((void *)pPipelineStageCreationFeedbacks, (void *)src.pPipelineStageCreationFeedbacks, sizeof(VkPipelineCreationFeedbackEXT)*src.pipelineStageCreationFeedbackCount);
22509 }
22510}
22511
22512safe_VkPipelineCreationFeedbackCreateInfoEXT& safe_VkPipelineCreationFeedbackCreateInfoEXT::operator=(const safe_VkPipelineCreationFeedbackCreateInfoEXT& src)
22513{
22514 if (&src == this) return *this;
22515
22516 if (pPipelineCreationFeedback)
22517 delete pPipelineCreationFeedback;
22518 if (pPipelineStageCreationFeedbacks)
22519 delete[] pPipelineStageCreationFeedbacks;
22520
22521 sType = src.sType;
22522 pNext = src.pNext;
22523 pPipelineCreationFeedback = nullptr;
22524 pipelineStageCreationFeedbackCount = src.pipelineStageCreationFeedbackCount;
22525 pPipelineStageCreationFeedbacks = nullptr;
22526 if (src.pPipelineCreationFeedback) {
22527 pPipelineCreationFeedback = new VkPipelineCreationFeedbackEXT(*src.pPipelineCreationFeedback);
22528 }
22529 if (src.pPipelineStageCreationFeedbacks) {
22530 pPipelineStageCreationFeedbacks = new VkPipelineCreationFeedbackEXT[src.pipelineStageCreationFeedbackCount];
22531 memcpy ((void *)pPipelineStageCreationFeedbacks, (void *)src.pPipelineStageCreationFeedbacks, sizeof(VkPipelineCreationFeedbackEXT)*src.pipelineStageCreationFeedbackCount);
22532 }
22533
22534 return *this;
22535}
22536
22537safe_VkPipelineCreationFeedbackCreateInfoEXT::~safe_VkPipelineCreationFeedbackCreateInfoEXT()
22538{
22539 if (pPipelineCreationFeedback)
22540 delete pPipelineCreationFeedback;
22541 if (pPipelineStageCreationFeedbacks)
22542 delete[] pPipelineStageCreationFeedbacks;
22543}
22544
22545void safe_VkPipelineCreationFeedbackCreateInfoEXT::initialize(const VkPipelineCreationFeedbackCreateInfoEXT* in_struct)
22546{
22547 sType = in_struct->sType;
22548 pNext = in_struct->pNext;
22549 pPipelineCreationFeedback = nullptr;
22550 pipelineStageCreationFeedbackCount = in_struct->pipelineStageCreationFeedbackCount;
22551 pPipelineStageCreationFeedbacks = nullptr;
22552 if (in_struct->pPipelineCreationFeedback) {
22553 pPipelineCreationFeedback = new VkPipelineCreationFeedbackEXT(*in_struct->pPipelineCreationFeedback);
22554 }
22555 if (in_struct->pPipelineStageCreationFeedbacks) {
22556 pPipelineStageCreationFeedbacks = new VkPipelineCreationFeedbackEXT[in_struct->pipelineStageCreationFeedbackCount];
22557 memcpy ((void *)pPipelineStageCreationFeedbacks, (void *)in_struct->pPipelineStageCreationFeedbacks, sizeof(VkPipelineCreationFeedbackEXT)*in_struct->pipelineStageCreationFeedbackCount);
22558 }
22559}
22560
22561void safe_VkPipelineCreationFeedbackCreateInfoEXT::initialize(const safe_VkPipelineCreationFeedbackCreateInfoEXT* src)
22562{
22563 sType = src->sType;
22564 pNext = src->pNext;
22565 pPipelineCreationFeedback = nullptr;
22566 pipelineStageCreationFeedbackCount = src->pipelineStageCreationFeedbackCount;
22567 pPipelineStageCreationFeedbacks = nullptr;
22568 if (src->pPipelineCreationFeedback) {
22569 pPipelineCreationFeedback = new VkPipelineCreationFeedbackEXT(*src->pPipelineCreationFeedback);
22570 }
22571 if (src->pPipelineStageCreationFeedbacks) {
22572 pPipelineStageCreationFeedbacks = new VkPipelineCreationFeedbackEXT[src->pipelineStageCreationFeedbackCount];
22573 memcpy ((void *)pPipelineStageCreationFeedbacks, (void *)src->pPipelineStageCreationFeedbacks, sizeof(VkPipelineCreationFeedbackEXT)*src->pipelineStageCreationFeedbackCount);
22574 }
22575}
22576
22577safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV::safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV(const VkPhysicalDeviceComputeShaderDerivativesFeaturesNV* in_struct) :
22578 sType(in_struct->sType),
22579 pNext(in_struct->pNext),
22580 computeDerivativeGroupQuads(in_struct->computeDerivativeGroupQuads),
22581 computeDerivativeGroupLinear(in_struct->computeDerivativeGroupLinear)
22582{
22583}
22584
22585safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV::safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV()
22586{}
22587
22588safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV::safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV(const safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV& src)
22589{
22590 sType = src.sType;
22591 pNext = src.pNext;
22592 computeDerivativeGroupQuads = src.computeDerivativeGroupQuads;
22593 computeDerivativeGroupLinear = src.computeDerivativeGroupLinear;
22594}
22595
22596safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV& safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV::operator=(const safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV& src)
22597{
22598 if (&src == this) return *this;
22599
22600
22601 sType = src.sType;
22602 pNext = src.pNext;
22603 computeDerivativeGroupQuads = src.computeDerivativeGroupQuads;
22604 computeDerivativeGroupLinear = src.computeDerivativeGroupLinear;
22605
22606 return *this;
22607}
22608
22609safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV::~safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV()
22610{
22611}
22612
22613void safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV::initialize(const VkPhysicalDeviceComputeShaderDerivativesFeaturesNV* in_struct)
22614{
22615 sType = in_struct->sType;
22616 pNext = in_struct->pNext;
22617 computeDerivativeGroupQuads = in_struct->computeDerivativeGroupQuads;
22618 computeDerivativeGroupLinear = in_struct->computeDerivativeGroupLinear;
22619}
22620
22621void safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV::initialize(const safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV* src)
22622{
22623 sType = src->sType;
22624 pNext = src->pNext;
22625 computeDerivativeGroupQuads = src->computeDerivativeGroupQuads;
22626 computeDerivativeGroupLinear = src->computeDerivativeGroupLinear;
22627}
22628
22629safe_VkPhysicalDeviceMeshShaderFeaturesNV::safe_VkPhysicalDeviceMeshShaderFeaturesNV(const VkPhysicalDeviceMeshShaderFeaturesNV* in_struct) :
22630 sType(in_struct->sType),
22631 pNext(in_struct->pNext),
22632 taskShader(in_struct->taskShader),
22633 meshShader(in_struct->meshShader)
22634{
22635}
22636
22637safe_VkPhysicalDeviceMeshShaderFeaturesNV::safe_VkPhysicalDeviceMeshShaderFeaturesNV()
22638{}
22639
22640safe_VkPhysicalDeviceMeshShaderFeaturesNV::safe_VkPhysicalDeviceMeshShaderFeaturesNV(const safe_VkPhysicalDeviceMeshShaderFeaturesNV& src)
22641{
22642 sType = src.sType;
22643 pNext = src.pNext;
22644 taskShader = src.taskShader;
22645 meshShader = src.meshShader;
22646}
22647
22648safe_VkPhysicalDeviceMeshShaderFeaturesNV& safe_VkPhysicalDeviceMeshShaderFeaturesNV::operator=(const safe_VkPhysicalDeviceMeshShaderFeaturesNV& src)
22649{
22650 if (&src == this) return *this;
22651
22652
22653 sType = src.sType;
22654 pNext = src.pNext;
22655 taskShader = src.taskShader;
22656 meshShader = src.meshShader;
22657
22658 return *this;
22659}
22660
22661safe_VkPhysicalDeviceMeshShaderFeaturesNV::~safe_VkPhysicalDeviceMeshShaderFeaturesNV()
22662{
22663}
22664
22665void safe_VkPhysicalDeviceMeshShaderFeaturesNV::initialize(const VkPhysicalDeviceMeshShaderFeaturesNV* in_struct)
22666{
22667 sType = in_struct->sType;
22668 pNext = in_struct->pNext;
22669 taskShader = in_struct->taskShader;
22670 meshShader = in_struct->meshShader;
22671}
22672
22673void safe_VkPhysicalDeviceMeshShaderFeaturesNV::initialize(const safe_VkPhysicalDeviceMeshShaderFeaturesNV* src)
22674{
22675 sType = src->sType;
22676 pNext = src->pNext;
22677 taskShader = src->taskShader;
22678 meshShader = src->meshShader;
22679}
22680
22681safe_VkPhysicalDeviceMeshShaderPropertiesNV::safe_VkPhysicalDeviceMeshShaderPropertiesNV(const VkPhysicalDeviceMeshShaderPropertiesNV* in_struct) :
22682 sType(in_struct->sType),
22683 pNext(in_struct->pNext),
22684 maxDrawMeshTasksCount(in_struct->maxDrawMeshTasksCount),
22685 maxTaskWorkGroupInvocations(in_struct->maxTaskWorkGroupInvocations),
22686 maxTaskTotalMemorySize(in_struct->maxTaskTotalMemorySize),
22687 maxTaskOutputCount(in_struct->maxTaskOutputCount),
22688 maxMeshWorkGroupInvocations(in_struct->maxMeshWorkGroupInvocations),
22689 maxMeshTotalMemorySize(in_struct->maxMeshTotalMemorySize),
22690 maxMeshOutputVertices(in_struct->maxMeshOutputVertices),
22691 maxMeshOutputPrimitives(in_struct->maxMeshOutputPrimitives),
22692 maxMeshMultiviewViewCount(in_struct->maxMeshMultiviewViewCount),
22693 meshOutputPerVertexGranularity(in_struct->meshOutputPerVertexGranularity),
22694 meshOutputPerPrimitiveGranularity(in_struct->meshOutputPerPrimitiveGranularity)
22695{
22696 for (uint32_t i=0; i<3; ++i) {
22697 maxTaskWorkGroupSize[i] = in_struct->maxTaskWorkGroupSize[i];
22698 }
22699 for (uint32_t i=0; i<3; ++i) {
22700 maxMeshWorkGroupSize[i] = in_struct->maxMeshWorkGroupSize[i];
22701 }
22702}
22703
22704safe_VkPhysicalDeviceMeshShaderPropertiesNV::safe_VkPhysicalDeviceMeshShaderPropertiesNV()
22705{}
22706
22707safe_VkPhysicalDeviceMeshShaderPropertiesNV::safe_VkPhysicalDeviceMeshShaderPropertiesNV(const safe_VkPhysicalDeviceMeshShaderPropertiesNV& src)
22708{
22709 sType = src.sType;
22710 pNext = src.pNext;
22711 maxDrawMeshTasksCount = src.maxDrawMeshTasksCount;
22712 maxTaskWorkGroupInvocations = src.maxTaskWorkGroupInvocations;
22713 maxTaskTotalMemorySize = src.maxTaskTotalMemorySize;
22714 maxTaskOutputCount = src.maxTaskOutputCount;
22715 maxMeshWorkGroupInvocations = src.maxMeshWorkGroupInvocations;
22716 maxMeshTotalMemorySize = src.maxMeshTotalMemorySize;
22717 maxMeshOutputVertices = src.maxMeshOutputVertices;
22718 maxMeshOutputPrimitives = src.maxMeshOutputPrimitives;
22719 maxMeshMultiviewViewCount = src.maxMeshMultiviewViewCount;
22720 meshOutputPerVertexGranularity = src.meshOutputPerVertexGranularity;
22721 meshOutputPerPrimitiveGranularity = src.meshOutputPerPrimitiveGranularity;
22722 for (uint32_t i=0; i<3; ++i) {
22723 maxTaskWorkGroupSize[i] = src.maxTaskWorkGroupSize[i];
22724 }
22725 for (uint32_t i=0; i<3; ++i) {
22726 maxMeshWorkGroupSize[i] = src.maxMeshWorkGroupSize[i];
22727 }
22728}
22729
22730safe_VkPhysicalDeviceMeshShaderPropertiesNV& safe_VkPhysicalDeviceMeshShaderPropertiesNV::operator=(const safe_VkPhysicalDeviceMeshShaderPropertiesNV& src)
22731{
22732 if (&src == this) return *this;
22733
22734
22735 sType = src.sType;
22736 pNext = src.pNext;
22737 maxDrawMeshTasksCount = src.maxDrawMeshTasksCount;
22738 maxTaskWorkGroupInvocations = src.maxTaskWorkGroupInvocations;
22739 maxTaskTotalMemorySize = src.maxTaskTotalMemorySize;
22740 maxTaskOutputCount = src.maxTaskOutputCount;
22741 maxMeshWorkGroupInvocations = src.maxMeshWorkGroupInvocations;
22742 maxMeshTotalMemorySize = src.maxMeshTotalMemorySize;
22743 maxMeshOutputVertices = src.maxMeshOutputVertices;
22744 maxMeshOutputPrimitives = src.maxMeshOutputPrimitives;
22745 maxMeshMultiviewViewCount = src.maxMeshMultiviewViewCount;
22746 meshOutputPerVertexGranularity = src.meshOutputPerVertexGranularity;
22747 meshOutputPerPrimitiveGranularity = src.meshOutputPerPrimitiveGranularity;
22748 for (uint32_t i=0; i<3; ++i) {
22749 maxTaskWorkGroupSize[i] = src.maxTaskWorkGroupSize[i];
22750 }
22751 for (uint32_t i=0; i<3; ++i) {
22752 maxMeshWorkGroupSize[i] = src.maxMeshWorkGroupSize[i];
22753 }
22754
22755 return *this;
22756}
22757
22758safe_VkPhysicalDeviceMeshShaderPropertiesNV::~safe_VkPhysicalDeviceMeshShaderPropertiesNV()
22759{
22760}
22761
22762void safe_VkPhysicalDeviceMeshShaderPropertiesNV::initialize(const VkPhysicalDeviceMeshShaderPropertiesNV* in_struct)
22763{
22764 sType = in_struct->sType;
22765 pNext = in_struct->pNext;
22766 maxDrawMeshTasksCount = in_struct->maxDrawMeshTasksCount;
22767 maxTaskWorkGroupInvocations = in_struct->maxTaskWorkGroupInvocations;
22768 maxTaskTotalMemorySize = in_struct->maxTaskTotalMemorySize;
22769 maxTaskOutputCount = in_struct->maxTaskOutputCount;
22770 maxMeshWorkGroupInvocations = in_struct->maxMeshWorkGroupInvocations;
22771 maxMeshTotalMemorySize = in_struct->maxMeshTotalMemorySize;
22772 maxMeshOutputVertices = in_struct->maxMeshOutputVertices;
22773 maxMeshOutputPrimitives = in_struct->maxMeshOutputPrimitives;
22774 maxMeshMultiviewViewCount = in_struct->maxMeshMultiviewViewCount;
22775 meshOutputPerVertexGranularity = in_struct->meshOutputPerVertexGranularity;
22776 meshOutputPerPrimitiveGranularity = in_struct->meshOutputPerPrimitiveGranularity;
22777 for (uint32_t i=0; i<3; ++i) {
22778 maxTaskWorkGroupSize[i] = in_struct->maxTaskWorkGroupSize[i];
22779 }
22780 for (uint32_t i=0; i<3; ++i) {
22781 maxMeshWorkGroupSize[i] = in_struct->maxMeshWorkGroupSize[i];
22782 }
22783}
22784
22785void safe_VkPhysicalDeviceMeshShaderPropertiesNV::initialize(const safe_VkPhysicalDeviceMeshShaderPropertiesNV* src)
22786{
22787 sType = src->sType;
22788 pNext = src->pNext;
22789 maxDrawMeshTasksCount = src->maxDrawMeshTasksCount;
22790 maxTaskWorkGroupInvocations = src->maxTaskWorkGroupInvocations;
22791 maxTaskTotalMemorySize = src->maxTaskTotalMemorySize;
22792 maxTaskOutputCount = src->maxTaskOutputCount;
22793 maxMeshWorkGroupInvocations = src->maxMeshWorkGroupInvocations;
22794 maxMeshTotalMemorySize = src->maxMeshTotalMemorySize;
22795 maxMeshOutputVertices = src->maxMeshOutputVertices;
22796 maxMeshOutputPrimitives = src->maxMeshOutputPrimitives;
22797 maxMeshMultiviewViewCount = src->maxMeshMultiviewViewCount;
22798 meshOutputPerVertexGranularity = src->meshOutputPerVertexGranularity;
22799 meshOutputPerPrimitiveGranularity = src->meshOutputPerPrimitiveGranularity;
22800 for (uint32_t i=0; i<3; ++i) {
22801 maxTaskWorkGroupSize[i] = src->maxTaskWorkGroupSize[i];
22802 }
22803 for (uint32_t i=0; i<3; ++i) {
22804 maxMeshWorkGroupSize[i] = src->maxMeshWorkGroupSize[i];
22805 }
22806}
22807
22808safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV::safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV(const VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV* in_struct) :
22809 sType(in_struct->sType),
22810 pNext(in_struct->pNext),
22811 fragmentShaderBarycentric(in_struct->fragmentShaderBarycentric)
22812{
22813}
22814
22815safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV::safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV()
22816{}
22817
22818safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV::safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV(const safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV& src)
22819{
22820 sType = src.sType;
22821 pNext = src.pNext;
22822 fragmentShaderBarycentric = src.fragmentShaderBarycentric;
22823}
22824
22825safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV& safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV::operator=(const safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV& src)
22826{
22827 if (&src == this) return *this;
22828
22829
22830 sType = src.sType;
22831 pNext = src.pNext;
22832 fragmentShaderBarycentric = src.fragmentShaderBarycentric;
22833
22834 return *this;
22835}
22836
22837safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV::~safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV()
22838{
22839}
22840
22841void safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV::initialize(const VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV* in_struct)
22842{
22843 sType = in_struct->sType;
22844 pNext = in_struct->pNext;
22845 fragmentShaderBarycentric = in_struct->fragmentShaderBarycentric;
22846}
22847
22848void safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV::initialize(const safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV* src)
22849{
22850 sType = src->sType;
22851 pNext = src->pNext;
22852 fragmentShaderBarycentric = src->fragmentShaderBarycentric;
22853}
22854
22855safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV::safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV(const VkPhysicalDeviceShaderImageFootprintFeaturesNV* in_struct) :
22856 sType(in_struct->sType),
22857 pNext(in_struct->pNext),
22858 imageFootprint(in_struct->imageFootprint)
22859{
22860}
22861
22862safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV::safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV()
22863{}
22864
22865safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV::safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV(const safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV& src)
22866{
22867 sType = src.sType;
22868 pNext = src.pNext;
22869 imageFootprint = src.imageFootprint;
22870}
22871
22872safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV& safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV::operator=(const safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV& src)
22873{
22874 if (&src == this) return *this;
22875
22876
22877 sType = src.sType;
22878 pNext = src.pNext;
22879 imageFootprint = src.imageFootprint;
22880
22881 return *this;
22882}
22883
22884safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV::~safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV()
22885{
22886}
22887
22888void safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV::initialize(const VkPhysicalDeviceShaderImageFootprintFeaturesNV* in_struct)
22889{
22890 sType = in_struct->sType;
22891 pNext = in_struct->pNext;
22892 imageFootprint = in_struct->imageFootprint;
22893}
22894
22895void safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV::initialize(const safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV* src)
22896{
22897 sType = src->sType;
22898 pNext = src->pNext;
22899 imageFootprint = src->imageFootprint;
22900}
22901
22902safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV::safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV(const VkPipelineViewportExclusiveScissorStateCreateInfoNV* in_struct) :
22903 sType(in_struct->sType),
22904 pNext(in_struct->pNext),
22905 exclusiveScissorCount(in_struct->exclusiveScissorCount),
22906 pExclusiveScissors(nullptr)
22907{
22908 if (in_struct->pExclusiveScissors) {
22909 pExclusiveScissors = new VkRect2D[in_struct->exclusiveScissorCount];
22910 memcpy ((void *)pExclusiveScissors, (void *)in_struct->pExclusiveScissors, sizeof(VkRect2D)*in_struct->exclusiveScissorCount);
22911 }
22912}
22913
22914safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV::safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV() :
22915 pExclusiveScissors(nullptr)
22916{}
22917
22918safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV::safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV(const safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV& src)
22919{
22920 sType = src.sType;
22921 pNext = src.pNext;
22922 exclusiveScissorCount = src.exclusiveScissorCount;
22923 pExclusiveScissors = nullptr;
22924 if (src.pExclusiveScissors) {
22925 pExclusiveScissors = new VkRect2D[src.exclusiveScissorCount];
22926 memcpy ((void *)pExclusiveScissors, (void *)src.pExclusiveScissors, sizeof(VkRect2D)*src.exclusiveScissorCount);
22927 }
22928}
22929
22930safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV& safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV::operator=(const safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV& src)
22931{
22932 if (&src == this) return *this;
22933
22934 if (pExclusiveScissors)
22935 delete[] pExclusiveScissors;
22936
22937 sType = src.sType;
22938 pNext = src.pNext;
22939 exclusiveScissorCount = src.exclusiveScissorCount;
22940 pExclusiveScissors = nullptr;
22941 if (src.pExclusiveScissors) {
22942 pExclusiveScissors = new VkRect2D[src.exclusiveScissorCount];
22943 memcpy ((void *)pExclusiveScissors, (void *)src.pExclusiveScissors, sizeof(VkRect2D)*src.exclusiveScissorCount);
22944 }
22945
22946 return *this;
22947}
22948
22949safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV::~safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV()
22950{
22951 if (pExclusiveScissors)
22952 delete[] pExclusiveScissors;
22953}
22954
22955void safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV::initialize(const VkPipelineViewportExclusiveScissorStateCreateInfoNV* in_struct)
22956{
22957 sType = in_struct->sType;
22958 pNext = in_struct->pNext;
22959 exclusiveScissorCount = in_struct->exclusiveScissorCount;
22960 pExclusiveScissors = nullptr;
22961 if (in_struct->pExclusiveScissors) {
22962 pExclusiveScissors = new VkRect2D[in_struct->exclusiveScissorCount];
22963 memcpy ((void *)pExclusiveScissors, (void *)in_struct->pExclusiveScissors, sizeof(VkRect2D)*in_struct->exclusiveScissorCount);
22964 }
22965}
22966
22967void safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV::initialize(const safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV* src)
22968{
22969 sType = src->sType;
22970 pNext = src->pNext;
22971 exclusiveScissorCount = src->exclusiveScissorCount;
22972 pExclusiveScissors = nullptr;
22973 if (src->pExclusiveScissors) {
22974 pExclusiveScissors = new VkRect2D[src->exclusiveScissorCount];
22975 memcpy ((void *)pExclusiveScissors, (void *)src->pExclusiveScissors, sizeof(VkRect2D)*src->exclusiveScissorCount);
22976 }
22977}
22978
22979safe_VkPhysicalDeviceExclusiveScissorFeaturesNV::safe_VkPhysicalDeviceExclusiveScissorFeaturesNV(const VkPhysicalDeviceExclusiveScissorFeaturesNV* in_struct) :
22980 sType(in_struct->sType),
22981 pNext(in_struct->pNext),
22982 exclusiveScissor(in_struct->exclusiveScissor)
22983{
22984}
22985
22986safe_VkPhysicalDeviceExclusiveScissorFeaturesNV::safe_VkPhysicalDeviceExclusiveScissorFeaturesNV()
22987{}
22988
22989safe_VkPhysicalDeviceExclusiveScissorFeaturesNV::safe_VkPhysicalDeviceExclusiveScissorFeaturesNV(const safe_VkPhysicalDeviceExclusiveScissorFeaturesNV& src)
22990{
22991 sType = src.sType;
22992 pNext = src.pNext;
22993 exclusiveScissor = src.exclusiveScissor;
22994}
22995
22996safe_VkPhysicalDeviceExclusiveScissorFeaturesNV& safe_VkPhysicalDeviceExclusiveScissorFeaturesNV::operator=(const safe_VkPhysicalDeviceExclusiveScissorFeaturesNV& src)
22997{
22998 if (&src == this) return *this;
22999
23000
23001 sType = src.sType;
23002 pNext = src.pNext;
23003 exclusiveScissor = src.exclusiveScissor;
23004
23005 return *this;
23006}
23007
23008safe_VkPhysicalDeviceExclusiveScissorFeaturesNV::~safe_VkPhysicalDeviceExclusiveScissorFeaturesNV()
23009{
23010}
23011
23012void safe_VkPhysicalDeviceExclusiveScissorFeaturesNV::initialize(const VkPhysicalDeviceExclusiveScissorFeaturesNV* in_struct)
23013{
23014 sType = in_struct->sType;
23015 pNext = in_struct->pNext;
23016 exclusiveScissor = in_struct->exclusiveScissor;
23017}
23018
23019void safe_VkPhysicalDeviceExclusiveScissorFeaturesNV::initialize(const safe_VkPhysicalDeviceExclusiveScissorFeaturesNV* src)
23020{
23021 sType = src->sType;
23022 pNext = src->pNext;
23023 exclusiveScissor = src->exclusiveScissor;
23024}
23025
23026safe_VkQueueFamilyCheckpointPropertiesNV::safe_VkQueueFamilyCheckpointPropertiesNV(const VkQueueFamilyCheckpointPropertiesNV* in_struct) :
23027 sType(in_struct->sType),
23028 pNext(in_struct->pNext),
23029 checkpointExecutionStageMask(in_struct->checkpointExecutionStageMask)
23030{
23031}
23032
23033safe_VkQueueFamilyCheckpointPropertiesNV::safe_VkQueueFamilyCheckpointPropertiesNV()
23034{}
23035
23036safe_VkQueueFamilyCheckpointPropertiesNV::safe_VkQueueFamilyCheckpointPropertiesNV(const safe_VkQueueFamilyCheckpointPropertiesNV& src)
23037{
23038 sType = src.sType;
23039 pNext = src.pNext;
23040 checkpointExecutionStageMask = src.checkpointExecutionStageMask;
23041}
23042
23043safe_VkQueueFamilyCheckpointPropertiesNV& safe_VkQueueFamilyCheckpointPropertiesNV::operator=(const safe_VkQueueFamilyCheckpointPropertiesNV& src)
23044{
23045 if (&src == this) return *this;
23046
23047
23048 sType = src.sType;
23049 pNext = src.pNext;
23050 checkpointExecutionStageMask = src.checkpointExecutionStageMask;
23051
23052 return *this;
23053}
23054
23055safe_VkQueueFamilyCheckpointPropertiesNV::~safe_VkQueueFamilyCheckpointPropertiesNV()
23056{
23057}
23058
23059void safe_VkQueueFamilyCheckpointPropertiesNV::initialize(const VkQueueFamilyCheckpointPropertiesNV* in_struct)
23060{
23061 sType = in_struct->sType;
23062 pNext = in_struct->pNext;
23063 checkpointExecutionStageMask = in_struct->checkpointExecutionStageMask;
23064}
23065
23066void safe_VkQueueFamilyCheckpointPropertiesNV::initialize(const safe_VkQueueFamilyCheckpointPropertiesNV* src)
23067{
23068 sType = src->sType;
23069 pNext = src->pNext;
23070 checkpointExecutionStageMask = src->checkpointExecutionStageMask;
23071}
23072
23073safe_VkCheckpointDataNV::safe_VkCheckpointDataNV(const VkCheckpointDataNV* in_struct) :
23074 sType(in_struct->sType),
23075 pNext(in_struct->pNext),
23076 stage(in_struct->stage),
23077 pCheckpointMarker(in_struct->pCheckpointMarker)
23078{
23079}
23080
23081safe_VkCheckpointDataNV::safe_VkCheckpointDataNV()
23082{}
23083
23084safe_VkCheckpointDataNV::safe_VkCheckpointDataNV(const safe_VkCheckpointDataNV& src)
23085{
23086 sType = src.sType;
23087 pNext = src.pNext;
23088 stage = src.stage;
23089 pCheckpointMarker = src.pCheckpointMarker;
23090}
23091
23092safe_VkCheckpointDataNV& safe_VkCheckpointDataNV::operator=(const safe_VkCheckpointDataNV& src)
23093{
23094 if (&src == this) return *this;
23095
23096
23097 sType = src.sType;
23098 pNext = src.pNext;
23099 stage = src.stage;
23100 pCheckpointMarker = src.pCheckpointMarker;
23101
23102 return *this;
23103}
23104
23105safe_VkCheckpointDataNV::~safe_VkCheckpointDataNV()
23106{
23107}
23108
23109void safe_VkCheckpointDataNV::initialize(const VkCheckpointDataNV* in_struct)
23110{
23111 sType = in_struct->sType;
23112 pNext = in_struct->pNext;
23113 stage = in_struct->stage;
23114 pCheckpointMarker = in_struct->pCheckpointMarker;
23115}
23116
23117void safe_VkCheckpointDataNV::initialize(const safe_VkCheckpointDataNV* src)
23118{
23119 sType = src->sType;
23120 pNext = src->pNext;
23121 stage = src->stage;
23122 pCheckpointMarker = src->pCheckpointMarker;
23123}
23124
23125safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL::safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL(const VkPhysicalDeviceShaderIntegerFunctions2INTEL* in_struct) :
23126 sType(in_struct->sType),
23127 pNext(in_struct->pNext),
23128 shaderIntegerFunctions2(in_struct->shaderIntegerFunctions2)
23129{
23130}
23131
23132safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL::safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL()
23133{}
23134
23135safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL::safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL(const safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL& src)
23136{
23137 sType = src.sType;
23138 pNext = src.pNext;
23139 shaderIntegerFunctions2 = src.shaderIntegerFunctions2;
23140}
23141
23142safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL& safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL::operator=(const safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL& src)
23143{
23144 if (&src == this) return *this;
23145
23146
23147 sType = src.sType;
23148 pNext = src.pNext;
23149 shaderIntegerFunctions2 = src.shaderIntegerFunctions2;
23150
23151 return *this;
23152}
23153
23154safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL::~safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL()
23155{
23156}
23157
23158void safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL::initialize(const VkPhysicalDeviceShaderIntegerFunctions2INTEL* in_struct)
23159{
23160 sType = in_struct->sType;
23161 pNext = in_struct->pNext;
23162 shaderIntegerFunctions2 = in_struct->shaderIntegerFunctions2;
23163}
23164
23165void safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL::initialize(const safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL* src)
23166{
23167 sType = src->sType;
23168 pNext = src->pNext;
23169 shaderIntegerFunctions2 = src->shaderIntegerFunctions2;
23170}
23171
23172safe_VkPerformanceValueDataINTEL::safe_VkPerformanceValueDataINTEL(const VkPerformanceValueDataINTEL* in_struct) :
23173 value32(in_struct->value32),
23174 value64(in_struct->value64),
23175 valueFloat(in_struct->valueFloat),
23176 valueBool(in_struct->valueBool),
23177 valueString(in_struct->valueString)
23178{
23179}
23180
23181safe_VkPerformanceValueDataINTEL::safe_VkPerformanceValueDataINTEL()
23182{}
23183
23184safe_VkPerformanceValueDataINTEL::safe_VkPerformanceValueDataINTEL(const safe_VkPerformanceValueDataINTEL& src)
23185{
23186 value32 = src.value32;
23187 value64 = src.value64;
23188 valueFloat = src.valueFloat;
23189 valueBool = src.valueBool;
23190 valueString = src.valueString;
23191}
23192
23193safe_VkPerformanceValueDataINTEL& safe_VkPerformanceValueDataINTEL::operator=(const safe_VkPerformanceValueDataINTEL& src)
23194{
23195 if (&src == this) return *this;
23196
23197
23198 value32 = src.value32;
23199 value64 = src.value64;
23200 valueFloat = src.valueFloat;
23201 valueBool = src.valueBool;
23202 valueString = src.valueString;
23203
23204 return *this;
23205}
23206
23207safe_VkPerformanceValueDataINTEL::~safe_VkPerformanceValueDataINTEL()
23208{
23209}
23210
23211void safe_VkPerformanceValueDataINTEL::initialize(const VkPerformanceValueDataINTEL* in_struct)
23212{
23213 value32 = in_struct->value32;
23214 value64 = in_struct->value64;
23215 valueFloat = in_struct->valueFloat;
23216 valueBool = in_struct->valueBool;
23217 valueString = in_struct->valueString;
23218}
23219
23220void safe_VkPerformanceValueDataINTEL::initialize(const safe_VkPerformanceValueDataINTEL* src)
23221{
23222 value32 = src->value32;
23223 value64 = src->value64;
23224 valueFloat = src->valueFloat;
23225 valueBool = src->valueBool;
23226 valueString = src->valueString;
23227}
23228
23229safe_VkInitializePerformanceApiInfoINTEL::safe_VkInitializePerformanceApiInfoINTEL(const VkInitializePerformanceApiInfoINTEL* in_struct) :
23230 sType(in_struct->sType),
23231 pNext(in_struct->pNext),
23232 pUserData(in_struct->pUserData)
23233{
23234}
23235
23236safe_VkInitializePerformanceApiInfoINTEL::safe_VkInitializePerformanceApiInfoINTEL()
23237{}
23238
23239safe_VkInitializePerformanceApiInfoINTEL::safe_VkInitializePerformanceApiInfoINTEL(const safe_VkInitializePerformanceApiInfoINTEL& src)
23240{
23241 sType = src.sType;
23242 pNext = src.pNext;
23243 pUserData = src.pUserData;
23244}
23245
23246safe_VkInitializePerformanceApiInfoINTEL& safe_VkInitializePerformanceApiInfoINTEL::operator=(const safe_VkInitializePerformanceApiInfoINTEL& src)
23247{
23248 if (&src == this) return *this;
23249
23250
23251 sType = src.sType;
23252 pNext = src.pNext;
23253 pUserData = src.pUserData;
23254
23255 return *this;
23256}
23257
23258safe_VkInitializePerformanceApiInfoINTEL::~safe_VkInitializePerformanceApiInfoINTEL()
23259{
23260}
23261
23262void safe_VkInitializePerformanceApiInfoINTEL::initialize(const VkInitializePerformanceApiInfoINTEL* in_struct)
23263{
23264 sType = in_struct->sType;
23265 pNext = in_struct->pNext;
23266 pUserData = in_struct->pUserData;
23267}
23268
23269void safe_VkInitializePerformanceApiInfoINTEL::initialize(const safe_VkInitializePerformanceApiInfoINTEL* src)
23270{
23271 sType = src->sType;
23272 pNext = src->pNext;
23273 pUserData = src->pUserData;
23274}
23275
23276safe_VkQueryPoolCreateInfoINTEL::safe_VkQueryPoolCreateInfoINTEL(const VkQueryPoolCreateInfoINTEL* in_struct) :
23277 sType(in_struct->sType),
23278 pNext(in_struct->pNext),
23279 performanceCountersSampling(in_struct->performanceCountersSampling)
23280{
23281}
23282
23283safe_VkQueryPoolCreateInfoINTEL::safe_VkQueryPoolCreateInfoINTEL()
23284{}
23285
23286safe_VkQueryPoolCreateInfoINTEL::safe_VkQueryPoolCreateInfoINTEL(const safe_VkQueryPoolCreateInfoINTEL& src)
23287{
23288 sType = src.sType;
23289 pNext = src.pNext;
23290 performanceCountersSampling = src.performanceCountersSampling;
23291}
23292
23293safe_VkQueryPoolCreateInfoINTEL& safe_VkQueryPoolCreateInfoINTEL::operator=(const safe_VkQueryPoolCreateInfoINTEL& src)
23294{
23295 if (&src == this) return *this;
23296
23297
23298 sType = src.sType;
23299 pNext = src.pNext;
23300 performanceCountersSampling = src.performanceCountersSampling;
23301
23302 return *this;
23303}
23304
23305safe_VkQueryPoolCreateInfoINTEL::~safe_VkQueryPoolCreateInfoINTEL()
23306{
23307}
23308
23309void safe_VkQueryPoolCreateInfoINTEL::initialize(const VkQueryPoolCreateInfoINTEL* in_struct)
23310{
23311 sType = in_struct->sType;
23312 pNext = in_struct->pNext;
23313 performanceCountersSampling = in_struct->performanceCountersSampling;
23314}
23315
23316void safe_VkQueryPoolCreateInfoINTEL::initialize(const safe_VkQueryPoolCreateInfoINTEL* src)
23317{
23318 sType = src->sType;
23319 pNext = src->pNext;
23320 performanceCountersSampling = src->performanceCountersSampling;
23321}
23322
23323safe_VkPerformanceMarkerInfoINTEL::safe_VkPerformanceMarkerInfoINTEL(const VkPerformanceMarkerInfoINTEL* in_struct) :
23324 sType(in_struct->sType),
23325 pNext(in_struct->pNext),
23326 marker(in_struct->marker)
23327{
23328}
23329
23330safe_VkPerformanceMarkerInfoINTEL::safe_VkPerformanceMarkerInfoINTEL()
23331{}
23332
23333safe_VkPerformanceMarkerInfoINTEL::safe_VkPerformanceMarkerInfoINTEL(const safe_VkPerformanceMarkerInfoINTEL& src)
23334{
23335 sType = src.sType;
23336 pNext = src.pNext;
23337 marker = src.marker;
23338}
23339
23340safe_VkPerformanceMarkerInfoINTEL& safe_VkPerformanceMarkerInfoINTEL::operator=(const safe_VkPerformanceMarkerInfoINTEL& src)
23341{
23342 if (&src == this) return *this;
23343
23344
23345 sType = src.sType;
23346 pNext = src.pNext;
23347 marker = src.marker;
23348
23349 return *this;
23350}
23351
23352safe_VkPerformanceMarkerInfoINTEL::~safe_VkPerformanceMarkerInfoINTEL()
23353{
23354}
23355
23356void safe_VkPerformanceMarkerInfoINTEL::initialize(const VkPerformanceMarkerInfoINTEL* in_struct)
23357{
23358 sType = in_struct->sType;
23359 pNext = in_struct->pNext;
23360 marker = in_struct->marker;
23361}
23362
23363void safe_VkPerformanceMarkerInfoINTEL::initialize(const safe_VkPerformanceMarkerInfoINTEL* src)
23364{
23365 sType = src->sType;
23366 pNext = src->pNext;
23367 marker = src->marker;
23368}
23369
23370safe_VkPerformanceStreamMarkerInfoINTEL::safe_VkPerformanceStreamMarkerInfoINTEL(const VkPerformanceStreamMarkerInfoINTEL* in_struct) :
23371 sType(in_struct->sType),
23372 pNext(in_struct->pNext),
23373 marker(in_struct->marker)
23374{
23375}
23376
23377safe_VkPerformanceStreamMarkerInfoINTEL::safe_VkPerformanceStreamMarkerInfoINTEL()
23378{}
23379
23380safe_VkPerformanceStreamMarkerInfoINTEL::safe_VkPerformanceStreamMarkerInfoINTEL(const safe_VkPerformanceStreamMarkerInfoINTEL& src)
23381{
23382 sType = src.sType;
23383 pNext = src.pNext;
23384 marker = src.marker;
23385}
23386
23387safe_VkPerformanceStreamMarkerInfoINTEL& safe_VkPerformanceStreamMarkerInfoINTEL::operator=(const safe_VkPerformanceStreamMarkerInfoINTEL& src)
23388{
23389 if (&src == this) return *this;
23390
23391
23392 sType = src.sType;
23393 pNext = src.pNext;
23394 marker = src.marker;
23395
23396 return *this;
23397}
23398
23399safe_VkPerformanceStreamMarkerInfoINTEL::~safe_VkPerformanceStreamMarkerInfoINTEL()
23400{
23401}
23402
23403void safe_VkPerformanceStreamMarkerInfoINTEL::initialize(const VkPerformanceStreamMarkerInfoINTEL* in_struct)
23404{
23405 sType = in_struct->sType;
23406 pNext = in_struct->pNext;
23407 marker = in_struct->marker;
23408}
23409
23410void safe_VkPerformanceStreamMarkerInfoINTEL::initialize(const safe_VkPerformanceStreamMarkerInfoINTEL* src)
23411{
23412 sType = src->sType;
23413 pNext = src->pNext;
23414 marker = src->marker;
23415}
23416
23417safe_VkPerformanceOverrideInfoINTEL::safe_VkPerformanceOverrideInfoINTEL(const VkPerformanceOverrideInfoINTEL* in_struct) :
23418 sType(in_struct->sType),
23419 pNext(in_struct->pNext),
23420 type(in_struct->type),
23421 enable(in_struct->enable),
23422 parameter(in_struct->parameter)
23423{
23424}
23425
23426safe_VkPerformanceOverrideInfoINTEL::safe_VkPerformanceOverrideInfoINTEL()
23427{}
23428
23429safe_VkPerformanceOverrideInfoINTEL::safe_VkPerformanceOverrideInfoINTEL(const safe_VkPerformanceOverrideInfoINTEL& src)
23430{
23431 sType = src.sType;
23432 pNext = src.pNext;
23433 type = src.type;
23434 enable = src.enable;
23435 parameter = src.parameter;
23436}
23437
23438safe_VkPerformanceOverrideInfoINTEL& safe_VkPerformanceOverrideInfoINTEL::operator=(const safe_VkPerformanceOverrideInfoINTEL& src)
23439{
23440 if (&src == this) return *this;
23441
23442
23443 sType = src.sType;
23444 pNext = src.pNext;
23445 type = src.type;
23446 enable = src.enable;
23447 parameter = src.parameter;
23448
23449 return *this;
23450}
23451
23452safe_VkPerformanceOverrideInfoINTEL::~safe_VkPerformanceOverrideInfoINTEL()
23453{
23454}
23455
23456void safe_VkPerformanceOverrideInfoINTEL::initialize(const VkPerformanceOverrideInfoINTEL* in_struct)
23457{
23458 sType = in_struct->sType;
23459 pNext = in_struct->pNext;
23460 type = in_struct->type;
23461 enable = in_struct->enable;
23462 parameter = in_struct->parameter;
23463}
23464
23465void safe_VkPerformanceOverrideInfoINTEL::initialize(const safe_VkPerformanceOverrideInfoINTEL* src)
23466{
23467 sType = src->sType;
23468 pNext = src->pNext;
23469 type = src->type;
23470 enable = src->enable;
23471 parameter = src->parameter;
23472}
23473
23474safe_VkPerformanceConfigurationAcquireInfoINTEL::safe_VkPerformanceConfigurationAcquireInfoINTEL(const VkPerformanceConfigurationAcquireInfoINTEL* in_struct) :
23475 sType(in_struct->sType),
23476 pNext(in_struct->pNext),
23477 type(in_struct->type)
23478{
23479}
23480
23481safe_VkPerformanceConfigurationAcquireInfoINTEL::safe_VkPerformanceConfigurationAcquireInfoINTEL()
23482{}
23483
23484safe_VkPerformanceConfigurationAcquireInfoINTEL::safe_VkPerformanceConfigurationAcquireInfoINTEL(const safe_VkPerformanceConfigurationAcquireInfoINTEL& src)
23485{
23486 sType = src.sType;
23487 pNext = src.pNext;
23488 type = src.type;
23489}
23490
23491safe_VkPerformanceConfigurationAcquireInfoINTEL& safe_VkPerformanceConfigurationAcquireInfoINTEL::operator=(const safe_VkPerformanceConfigurationAcquireInfoINTEL& src)
23492{
23493 if (&src == this) return *this;
23494
23495
23496 sType = src.sType;
23497 pNext = src.pNext;
23498 type = src.type;
23499
23500 return *this;
23501}
23502
23503safe_VkPerformanceConfigurationAcquireInfoINTEL::~safe_VkPerformanceConfigurationAcquireInfoINTEL()
23504{
23505}
23506
23507void safe_VkPerformanceConfigurationAcquireInfoINTEL::initialize(const VkPerformanceConfigurationAcquireInfoINTEL* in_struct)
23508{
23509 sType = in_struct->sType;
23510 pNext = in_struct->pNext;
23511 type = in_struct->type;
23512}
23513
23514void safe_VkPerformanceConfigurationAcquireInfoINTEL::initialize(const safe_VkPerformanceConfigurationAcquireInfoINTEL* src)
23515{
23516 sType = src->sType;
23517 pNext = src->pNext;
23518 type = src->type;
23519}
23520
23521safe_VkPhysicalDevicePCIBusInfoPropertiesEXT::safe_VkPhysicalDevicePCIBusInfoPropertiesEXT(const VkPhysicalDevicePCIBusInfoPropertiesEXT* in_struct) :
23522 sType(in_struct->sType),
23523 pNext(in_struct->pNext),
23524 pciDomain(in_struct->pciDomain),
23525 pciBus(in_struct->pciBus),
23526 pciDevice(in_struct->pciDevice),
23527 pciFunction(in_struct->pciFunction)
23528{
23529}
23530
23531safe_VkPhysicalDevicePCIBusInfoPropertiesEXT::safe_VkPhysicalDevicePCIBusInfoPropertiesEXT()
23532{}
23533
23534safe_VkPhysicalDevicePCIBusInfoPropertiesEXT::safe_VkPhysicalDevicePCIBusInfoPropertiesEXT(const safe_VkPhysicalDevicePCIBusInfoPropertiesEXT& src)
23535{
23536 sType = src.sType;
23537 pNext = src.pNext;
23538 pciDomain = src.pciDomain;
23539 pciBus = src.pciBus;
23540 pciDevice = src.pciDevice;
23541 pciFunction = src.pciFunction;
23542}
23543
23544safe_VkPhysicalDevicePCIBusInfoPropertiesEXT& safe_VkPhysicalDevicePCIBusInfoPropertiesEXT::operator=(const safe_VkPhysicalDevicePCIBusInfoPropertiesEXT& src)
23545{
23546 if (&src == this) return *this;
23547
23548
23549 sType = src.sType;
23550 pNext = src.pNext;
23551 pciDomain = src.pciDomain;
23552 pciBus = src.pciBus;
23553 pciDevice = src.pciDevice;
23554 pciFunction = src.pciFunction;
23555
23556 return *this;
23557}
23558
23559safe_VkPhysicalDevicePCIBusInfoPropertiesEXT::~safe_VkPhysicalDevicePCIBusInfoPropertiesEXT()
23560{
23561}
23562
23563void safe_VkPhysicalDevicePCIBusInfoPropertiesEXT::initialize(const VkPhysicalDevicePCIBusInfoPropertiesEXT* in_struct)
23564{
23565 sType = in_struct->sType;
23566 pNext = in_struct->pNext;
23567 pciDomain = in_struct->pciDomain;
23568 pciBus = in_struct->pciBus;
23569 pciDevice = in_struct->pciDevice;
23570 pciFunction = in_struct->pciFunction;
23571}
23572
23573void safe_VkPhysicalDevicePCIBusInfoPropertiesEXT::initialize(const safe_VkPhysicalDevicePCIBusInfoPropertiesEXT* src)
23574{
23575 sType = src->sType;
23576 pNext = src->pNext;
23577 pciDomain = src->pciDomain;
23578 pciBus = src->pciBus;
23579 pciDevice = src->pciDevice;
23580 pciFunction = src->pciFunction;
23581}
23582
23583safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD::safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD(const VkDisplayNativeHdrSurfaceCapabilitiesAMD* in_struct) :
23584 sType(in_struct->sType),
23585 pNext(in_struct->pNext),
23586 localDimmingSupport(in_struct->localDimmingSupport)
23587{
23588}
23589
23590safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD::safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD()
23591{}
23592
23593safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD::safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD(const safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD& src)
23594{
23595 sType = src.sType;
23596 pNext = src.pNext;
23597 localDimmingSupport = src.localDimmingSupport;
23598}
23599
23600safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD& safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD::operator=(const safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD& src)
23601{
23602 if (&src == this) return *this;
23603
23604
23605 sType = src.sType;
23606 pNext = src.pNext;
23607 localDimmingSupport = src.localDimmingSupport;
23608
23609 return *this;
23610}
23611
23612safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD::~safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD()
23613{
23614}
23615
23616void safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD::initialize(const VkDisplayNativeHdrSurfaceCapabilitiesAMD* in_struct)
23617{
23618 sType = in_struct->sType;
23619 pNext = in_struct->pNext;
23620 localDimmingSupport = in_struct->localDimmingSupport;
23621}
23622
23623void safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD::initialize(const safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD* src)
23624{
23625 sType = src->sType;
23626 pNext = src->pNext;
23627 localDimmingSupport = src->localDimmingSupport;
23628}
23629
23630safe_VkSwapchainDisplayNativeHdrCreateInfoAMD::safe_VkSwapchainDisplayNativeHdrCreateInfoAMD(const VkSwapchainDisplayNativeHdrCreateInfoAMD* in_struct) :
23631 sType(in_struct->sType),
23632 pNext(in_struct->pNext),
23633 localDimmingEnable(in_struct->localDimmingEnable)
23634{
23635}
23636
23637safe_VkSwapchainDisplayNativeHdrCreateInfoAMD::safe_VkSwapchainDisplayNativeHdrCreateInfoAMD()
23638{}
23639
23640safe_VkSwapchainDisplayNativeHdrCreateInfoAMD::safe_VkSwapchainDisplayNativeHdrCreateInfoAMD(const safe_VkSwapchainDisplayNativeHdrCreateInfoAMD& src)
23641{
23642 sType = src.sType;
23643 pNext = src.pNext;
23644 localDimmingEnable = src.localDimmingEnable;
23645}
23646
23647safe_VkSwapchainDisplayNativeHdrCreateInfoAMD& safe_VkSwapchainDisplayNativeHdrCreateInfoAMD::operator=(const safe_VkSwapchainDisplayNativeHdrCreateInfoAMD& src)
23648{
23649 if (&src == this) return *this;
23650
23651
23652 sType = src.sType;
23653 pNext = src.pNext;
23654 localDimmingEnable = src.localDimmingEnable;
23655
23656 return *this;
23657}
23658
23659safe_VkSwapchainDisplayNativeHdrCreateInfoAMD::~safe_VkSwapchainDisplayNativeHdrCreateInfoAMD()
23660{
23661}
23662
23663void safe_VkSwapchainDisplayNativeHdrCreateInfoAMD::initialize(const VkSwapchainDisplayNativeHdrCreateInfoAMD* in_struct)
23664{
23665 sType = in_struct->sType;
23666 pNext = in_struct->pNext;
23667 localDimmingEnable = in_struct->localDimmingEnable;
23668}
23669
23670void safe_VkSwapchainDisplayNativeHdrCreateInfoAMD::initialize(const safe_VkSwapchainDisplayNativeHdrCreateInfoAMD* src)
23671{
23672 sType = src->sType;
23673 pNext = src->pNext;
23674 localDimmingEnable = src->localDimmingEnable;
23675}
23676#ifdef VK_USE_PLATFORM_FUCHSIA
23677
23678
23679safe_VkImagePipeSurfaceCreateInfoFUCHSIA::safe_VkImagePipeSurfaceCreateInfoFUCHSIA(const VkImagePipeSurfaceCreateInfoFUCHSIA* in_struct) :
23680 sType(in_struct->sType),
23681 pNext(in_struct->pNext),
23682 flags(in_struct->flags),
23683 imagePipeHandle(in_struct->imagePipeHandle)
23684{
23685}
23686
23687safe_VkImagePipeSurfaceCreateInfoFUCHSIA::safe_VkImagePipeSurfaceCreateInfoFUCHSIA()
23688{}
23689
23690safe_VkImagePipeSurfaceCreateInfoFUCHSIA::safe_VkImagePipeSurfaceCreateInfoFUCHSIA(const safe_VkImagePipeSurfaceCreateInfoFUCHSIA& src)
23691{
23692 sType = src.sType;
23693 pNext = src.pNext;
23694 flags = src.flags;
23695 imagePipeHandle = src.imagePipeHandle;
23696}
23697
23698safe_VkImagePipeSurfaceCreateInfoFUCHSIA& safe_VkImagePipeSurfaceCreateInfoFUCHSIA::operator=(const safe_VkImagePipeSurfaceCreateInfoFUCHSIA& src)
23699{
23700 if (&src == this) return *this;
23701
23702
23703 sType = src.sType;
23704 pNext = src.pNext;
23705 flags = src.flags;
23706 imagePipeHandle = src.imagePipeHandle;
23707
23708 return *this;
23709}
23710
23711safe_VkImagePipeSurfaceCreateInfoFUCHSIA::~safe_VkImagePipeSurfaceCreateInfoFUCHSIA()
23712{
23713}
23714
23715void safe_VkImagePipeSurfaceCreateInfoFUCHSIA::initialize(const VkImagePipeSurfaceCreateInfoFUCHSIA* in_struct)
23716{
23717 sType = in_struct->sType;
23718 pNext = in_struct->pNext;
23719 flags = in_struct->flags;
23720 imagePipeHandle = in_struct->imagePipeHandle;
23721}
23722
23723void safe_VkImagePipeSurfaceCreateInfoFUCHSIA::initialize(const safe_VkImagePipeSurfaceCreateInfoFUCHSIA* src)
23724{
23725 sType = src->sType;
23726 pNext = src->pNext;
23727 flags = src->flags;
23728 imagePipeHandle = src->imagePipeHandle;
23729}
23730#endif // VK_USE_PLATFORM_FUCHSIA
23731
23732#ifdef VK_USE_PLATFORM_METAL_EXT
23733
23734
23735safe_VkMetalSurfaceCreateInfoEXT::safe_VkMetalSurfaceCreateInfoEXT(const VkMetalSurfaceCreateInfoEXT* in_struct) :
23736 sType(in_struct->sType),
23737 pNext(in_struct->pNext),
23738 flags(in_struct->flags),
23739 pLayer(nullptr)
23740{
23741 if (in_struct->pLayer) {
23742 pLayer = new CAMetalLayer(*in_struct->pLayer);
23743 }
23744}
23745
23746safe_VkMetalSurfaceCreateInfoEXT::safe_VkMetalSurfaceCreateInfoEXT() :
23747 pLayer(nullptr)
23748{}
23749
23750safe_VkMetalSurfaceCreateInfoEXT::safe_VkMetalSurfaceCreateInfoEXT(const safe_VkMetalSurfaceCreateInfoEXT& src)
23751{
23752 sType = src.sType;
23753 pNext = src.pNext;
23754 flags = src.flags;
23755 pLayer = nullptr;
23756 if (src.pLayer) {
23757 pLayer = new CAMetalLayer(*src.pLayer);
23758 }
23759}
23760
23761safe_VkMetalSurfaceCreateInfoEXT& safe_VkMetalSurfaceCreateInfoEXT::operator=(const safe_VkMetalSurfaceCreateInfoEXT& src)
23762{
23763 if (&src == this) return *this;
23764
23765 if (pLayer)
23766 delete pLayer;
23767
23768 sType = src.sType;
23769 pNext = src.pNext;
23770 flags = src.flags;
23771 pLayer = nullptr;
23772 if (src.pLayer) {
23773 pLayer = new CAMetalLayer(*src.pLayer);
23774 }
23775
23776 return *this;
23777}
23778
23779safe_VkMetalSurfaceCreateInfoEXT::~safe_VkMetalSurfaceCreateInfoEXT()
23780{
23781 if (pLayer)
23782 delete pLayer;
23783}
23784
23785void safe_VkMetalSurfaceCreateInfoEXT::initialize(const VkMetalSurfaceCreateInfoEXT* in_struct)
23786{
23787 sType = in_struct->sType;
23788 pNext = in_struct->pNext;
23789 flags = in_struct->flags;
23790 pLayer = nullptr;
23791 if (in_struct->pLayer) {
23792 pLayer = new CAMetalLayer(*in_struct->pLayer);
23793 }
23794}
23795
23796void safe_VkMetalSurfaceCreateInfoEXT::initialize(const safe_VkMetalSurfaceCreateInfoEXT* src)
23797{
23798 sType = src->sType;
23799 pNext = src->pNext;
23800 flags = src->flags;
23801 pLayer = nullptr;
23802 if (src->pLayer) {
23803 pLayer = new CAMetalLayer(*src->pLayer);
23804 }
23805}
23806#endif // VK_USE_PLATFORM_METAL_EXT
23807
23808
23809safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT::safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT(const VkPhysicalDeviceFragmentDensityMapFeaturesEXT* in_struct) :
23810 sType(in_struct->sType),
23811 pNext(in_struct->pNext),
23812 fragmentDensityMap(in_struct->fragmentDensityMap),
23813 fragmentDensityMapDynamic(in_struct->fragmentDensityMapDynamic),
23814 fragmentDensityMapNonSubsampledImages(in_struct->fragmentDensityMapNonSubsampledImages)
23815{
23816}
23817
23818safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT::safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT()
23819{}
23820
23821safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT::safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT(const safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT& src)
23822{
23823 sType = src.sType;
23824 pNext = src.pNext;
23825 fragmentDensityMap = src.fragmentDensityMap;
23826 fragmentDensityMapDynamic = src.fragmentDensityMapDynamic;
23827 fragmentDensityMapNonSubsampledImages = src.fragmentDensityMapNonSubsampledImages;
23828}
23829
23830safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT& safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT::operator=(const safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT& src)
23831{
23832 if (&src == this) return *this;
23833
23834
23835 sType = src.sType;
23836 pNext = src.pNext;
23837 fragmentDensityMap = src.fragmentDensityMap;
23838 fragmentDensityMapDynamic = src.fragmentDensityMapDynamic;
23839 fragmentDensityMapNonSubsampledImages = src.fragmentDensityMapNonSubsampledImages;
23840
23841 return *this;
23842}
23843
23844safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT::~safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT()
23845{
23846}
23847
23848void safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT::initialize(const VkPhysicalDeviceFragmentDensityMapFeaturesEXT* in_struct)
23849{
23850 sType = in_struct->sType;
23851 pNext = in_struct->pNext;
23852 fragmentDensityMap = in_struct->fragmentDensityMap;
23853 fragmentDensityMapDynamic = in_struct->fragmentDensityMapDynamic;
23854 fragmentDensityMapNonSubsampledImages = in_struct->fragmentDensityMapNonSubsampledImages;
23855}
23856
23857void safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT::initialize(const safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT* src)
23858{
23859 sType = src->sType;
23860 pNext = src->pNext;
23861 fragmentDensityMap = src->fragmentDensityMap;
23862 fragmentDensityMapDynamic = src->fragmentDensityMapDynamic;
23863 fragmentDensityMapNonSubsampledImages = src->fragmentDensityMapNonSubsampledImages;
23864}
23865
23866safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT::safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT(const VkPhysicalDeviceFragmentDensityMapPropertiesEXT* in_struct) :
23867 sType(in_struct->sType),
23868 pNext(in_struct->pNext),
23869 minFragmentDensityTexelSize(in_struct->minFragmentDensityTexelSize),
23870 maxFragmentDensityTexelSize(in_struct->maxFragmentDensityTexelSize),
23871 fragmentDensityInvocations(in_struct->fragmentDensityInvocations)
23872{
23873}
23874
23875safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT::safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT()
23876{}
23877
23878safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT::safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT(const safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT& src)
23879{
23880 sType = src.sType;
23881 pNext = src.pNext;
23882 minFragmentDensityTexelSize = src.minFragmentDensityTexelSize;
23883 maxFragmentDensityTexelSize = src.maxFragmentDensityTexelSize;
23884 fragmentDensityInvocations = src.fragmentDensityInvocations;
23885}
23886
23887safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT& safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT::operator=(const safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT& src)
23888{
23889 if (&src == this) return *this;
23890
23891
23892 sType = src.sType;
23893 pNext = src.pNext;
23894 minFragmentDensityTexelSize = src.minFragmentDensityTexelSize;
23895 maxFragmentDensityTexelSize = src.maxFragmentDensityTexelSize;
23896 fragmentDensityInvocations = src.fragmentDensityInvocations;
23897
23898 return *this;
23899}
23900
23901safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT::~safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT()
23902{
23903}
23904
23905void safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT::initialize(const VkPhysicalDeviceFragmentDensityMapPropertiesEXT* in_struct)
23906{
23907 sType = in_struct->sType;
23908 pNext = in_struct->pNext;
23909 minFragmentDensityTexelSize = in_struct->minFragmentDensityTexelSize;
23910 maxFragmentDensityTexelSize = in_struct->maxFragmentDensityTexelSize;
23911 fragmentDensityInvocations = in_struct->fragmentDensityInvocations;
23912}
23913
23914void safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT::initialize(const safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT* src)
23915{
23916 sType = src->sType;
23917 pNext = src->pNext;
23918 minFragmentDensityTexelSize = src->minFragmentDensityTexelSize;
23919 maxFragmentDensityTexelSize = src->maxFragmentDensityTexelSize;
23920 fragmentDensityInvocations = src->fragmentDensityInvocations;
23921}
23922
23923safe_VkRenderPassFragmentDensityMapCreateInfoEXT::safe_VkRenderPassFragmentDensityMapCreateInfoEXT(const VkRenderPassFragmentDensityMapCreateInfoEXT* in_struct) :
23924 sType(in_struct->sType),
23925 pNext(in_struct->pNext),
23926 fragmentDensityMapAttachment(in_struct->fragmentDensityMapAttachment)
23927{
23928}
23929
23930safe_VkRenderPassFragmentDensityMapCreateInfoEXT::safe_VkRenderPassFragmentDensityMapCreateInfoEXT()
23931{}
23932
23933safe_VkRenderPassFragmentDensityMapCreateInfoEXT::safe_VkRenderPassFragmentDensityMapCreateInfoEXT(const safe_VkRenderPassFragmentDensityMapCreateInfoEXT& src)
23934{
23935 sType = src.sType;
23936 pNext = src.pNext;
23937 fragmentDensityMapAttachment = src.fragmentDensityMapAttachment;
23938}
23939
23940safe_VkRenderPassFragmentDensityMapCreateInfoEXT& safe_VkRenderPassFragmentDensityMapCreateInfoEXT::operator=(const safe_VkRenderPassFragmentDensityMapCreateInfoEXT& src)
23941{
23942 if (&src == this) return *this;
23943
23944
23945 sType = src.sType;
23946 pNext = src.pNext;
23947 fragmentDensityMapAttachment = src.fragmentDensityMapAttachment;
23948
23949 return *this;
23950}
23951
23952safe_VkRenderPassFragmentDensityMapCreateInfoEXT::~safe_VkRenderPassFragmentDensityMapCreateInfoEXT()
23953{
23954}
23955
23956void safe_VkRenderPassFragmentDensityMapCreateInfoEXT::initialize(const VkRenderPassFragmentDensityMapCreateInfoEXT* in_struct)
23957{
23958 sType = in_struct->sType;
23959 pNext = in_struct->pNext;
23960 fragmentDensityMapAttachment = in_struct->fragmentDensityMapAttachment;
23961}
23962
23963void safe_VkRenderPassFragmentDensityMapCreateInfoEXT::initialize(const safe_VkRenderPassFragmentDensityMapCreateInfoEXT* src)
23964{
23965 sType = src->sType;
23966 pNext = src->pNext;
23967 fragmentDensityMapAttachment = src->fragmentDensityMapAttachment;
23968}
23969
23970safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT::safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT(const VkPhysicalDeviceScalarBlockLayoutFeaturesEXT* in_struct) :
23971 sType(in_struct->sType),
23972 pNext(in_struct->pNext),
23973 scalarBlockLayout(in_struct->scalarBlockLayout)
23974{
23975}
23976
23977safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT::safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT()
23978{}
23979
23980safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT::safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT(const safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT& src)
23981{
23982 sType = src.sType;
23983 pNext = src.pNext;
23984 scalarBlockLayout = src.scalarBlockLayout;
23985}
23986
23987safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT& safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT::operator=(const safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT& src)
23988{
23989 if (&src == this) return *this;
23990
23991
23992 sType = src.sType;
23993 pNext = src.pNext;
23994 scalarBlockLayout = src.scalarBlockLayout;
23995
23996 return *this;
23997}
23998
23999safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT::~safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT()
24000{
24001}
24002
24003void safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT::initialize(const VkPhysicalDeviceScalarBlockLayoutFeaturesEXT* in_struct)
24004{
24005 sType = in_struct->sType;
24006 pNext = in_struct->pNext;
24007 scalarBlockLayout = in_struct->scalarBlockLayout;
24008}
24009
24010void safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT::initialize(const safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT* src)
24011{
24012 sType = src->sType;
24013 pNext = src->pNext;
24014 scalarBlockLayout = src->scalarBlockLayout;
24015}
24016
24017safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT::safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT(const VkPhysicalDeviceMemoryBudgetPropertiesEXT* in_struct) :
24018 sType(in_struct->sType),
24019 pNext(in_struct->pNext)
24020{
24021 for (uint32_t i=0; i<VK_MAX_MEMORY_HEAPS; ++i) {
24022 heapBudget[i] = in_struct->heapBudget[i];
24023 }
24024 for (uint32_t i=0; i<VK_MAX_MEMORY_HEAPS; ++i) {
24025 heapUsage[i] = in_struct->heapUsage[i];
24026 }
24027}
24028
24029safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT::safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT()
24030{}
24031
24032safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT::safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT(const safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT& src)
24033{
24034 sType = src.sType;
24035 pNext = src.pNext;
24036 for (uint32_t i=0; i<VK_MAX_MEMORY_HEAPS; ++i) {
24037 heapBudget[i] = src.heapBudget[i];
24038 }
24039 for (uint32_t i=0; i<VK_MAX_MEMORY_HEAPS; ++i) {
24040 heapUsage[i] = src.heapUsage[i];
24041 }
24042}
24043
24044safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT& safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT::operator=(const safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT& src)
24045{
24046 if (&src == this) return *this;
24047
24048
24049 sType = src.sType;
24050 pNext = src.pNext;
24051 for (uint32_t i=0; i<VK_MAX_MEMORY_HEAPS; ++i) {
24052 heapBudget[i] = src.heapBudget[i];
24053 }
24054 for (uint32_t i=0; i<VK_MAX_MEMORY_HEAPS; ++i) {
24055 heapUsage[i] = src.heapUsage[i];
24056 }
24057
24058 return *this;
24059}
24060
24061safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT::~safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT()
24062{
24063}
24064
24065void safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT::initialize(const VkPhysicalDeviceMemoryBudgetPropertiesEXT* in_struct)
24066{
24067 sType = in_struct->sType;
24068 pNext = in_struct->pNext;
24069 for (uint32_t i=0; i<VK_MAX_MEMORY_HEAPS; ++i) {
24070 heapBudget[i] = in_struct->heapBudget[i];
24071 }
24072 for (uint32_t i=0; i<VK_MAX_MEMORY_HEAPS; ++i) {
24073 heapUsage[i] = in_struct->heapUsage[i];
24074 }
24075}
24076
24077void safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT::initialize(const safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT* src)
24078{
24079 sType = src->sType;
24080 pNext = src->pNext;
24081 for (uint32_t i=0; i<VK_MAX_MEMORY_HEAPS; ++i) {
24082 heapBudget[i] = src->heapBudget[i];
24083 }
24084 for (uint32_t i=0; i<VK_MAX_MEMORY_HEAPS; ++i) {
24085 heapUsage[i] = src->heapUsage[i];
24086 }
24087}
24088
24089safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT::safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT(const VkPhysicalDeviceMemoryPriorityFeaturesEXT* in_struct) :
24090 sType(in_struct->sType),
24091 pNext(in_struct->pNext),
24092 memoryPriority(in_struct->memoryPriority)
24093{
24094}
24095
24096safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT::safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT()
24097{}
24098
24099safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT::safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT(const safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT& src)
24100{
24101 sType = src.sType;
24102 pNext = src.pNext;
24103 memoryPriority = src.memoryPriority;
24104}
24105
24106safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT& safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT::operator=(const safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT& src)
24107{
24108 if (&src == this) return *this;
24109
24110
24111 sType = src.sType;
24112 pNext = src.pNext;
24113 memoryPriority = src.memoryPriority;
24114
24115 return *this;
24116}
24117
24118safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT::~safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT()
24119{
24120}
24121
24122void safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT::initialize(const VkPhysicalDeviceMemoryPriorityFeaturesEXT* in_struct)
24123{
24124 sType = in_struct->sType;
24125 pNext = in_struct->pNext;
24126 memoryPriority = in_struct->memoryPriority;
24127}
24128
24129void safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT::initialize(const safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT* src)
24130{
24131 sType = src->sType;
24132 pNext = src->pNext;
24133 memoryPriority = src->memoryPriority;
24134}
24135
24136safe_VkMemoryPriorityAllocateInfoEXT::safe_VkMemoryPriorityAllocateInfoEXT(const VkMemoryPriorityAllocateInfoEXT* in_struct) :
24137 sType(in_struct->sType),
24138 pNext(in_struct->pNext),
24139 priority(in_struct->priority)
24140{
24141}
24142
24143safe_VkMemoryPriorityAllocateInfoEXT::safe_VkMemoryPriorityAllocateInfoEXT()
24144{}
24145
24146safe_VkMemoryPriorityAllocateInfoEXT::safe_VkMemoryPriorityAllocateInfoEXT(const safe_VkMemoryPriorityAllocateInfoEXT& src)
24147{
24148 sType = src.sType;
24149 pNext = src.pNext;
24150 priority = src.priority;
24151}
24152
24153safe_VkMemoryPriorityAllocateInfoEXT& safe_VkMemoryPriorityAllocateInfoEXT::operator=(const safe_VkMemoryPriorityAllocateInfoEXT& src)
24154{
24155 if (&src == this) return *this;
24156
24157
24158 sType = src.sType;
24159 pNext = src.pNext;
24160 priority = src.priority;
24161
24162 return *this;
24163}
24164
24165safe_VkMemoryPriorityAllocateInfoEXT::~safe_VkMemoryPriorityAllocateInfoEXT()
24166{
24167}
24168
24169void safe_VkMemoryPriorityAllocateInfoEXT::initialize(const VkMemoryPriorityAllocateInfoEXT* in_struct)
24170{
24171 sType = in_struct->sType;
24172 pNext = in_struct->pNext;
24173 priority = in_struct->priority;
24174}
24175
24176void safe_VkMemoryPriorityAllocateInfoEXT::initialize(const safe_VkMemoryPriorityAllocateInfoEXT* src)
24177{
24178 sType = src->sType;
24179 pNext = src->pNext;
24180 priority = src->priority;
24181}
24182
24183safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV::safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV(const VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV* in_struct) :
24184 sType(in_struct->sType),
24185 pNext(in_struct->pNext),
24186 dedicatedAllocationImageAliasing(in_struct->dedicatedAllocationImageAliasing)
24187{
24188}
24189
24190safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV::safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV()
24191{}
24192
24193safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV::safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV(const safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV& src)
24194{
24195 sType = src.sType;
24196 pNext = src.pNext;
24197 dedicatedAllocationImageAliasing = src.dedicatedAllocationImageAliasing;
24198}
24199
24200safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV& safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV::operator=(const safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV& src)
24201{
24202 if (&src == this) return *this;
24203
24204
24205 sType = src.sType;
24206 pNext = src.pNext;
24207 dedicatedAllocationImageAliasing = src.dedicatedAllocationImageAliasing;
24208
24209 return *this;
24210}
24211
24212safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV::~safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV()
24213{
24214}
24215
24216void safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV::initialize(const VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV* in_struct)
24217{
24218 sType = in_struct->sType;
24219 pNext = in_struct->pNext;
24220 dedicatedAllocationImageAliasing = in_struct->dedicatedAllocationImageAliasing;
24221}
24222
24223void safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV::initialize(const safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV* src)
24224{
24225 sType = src->sType;
24226 pNext = src->pNext;
24227 dedicatedAllocationImageAliasing = src->dedicatedAllocationImageAliasing;
24228}
24229
24230safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT::safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT(const VkPhysicalDeviceBufferDeviceAddressFeaturesEXT* in_struct) :
24231 sType(in_struct->sType),
24232 pNext(in_struct->pNext),
24233 bufferDeviceAddress(in_struct->bufferDeviceAddress),
24234 bufferDeviceAddressCaptureReplay(in_struct->bufferDeviceAddressCaptureReplay),
24235 bufferDeviceAddressMultiDevice(in_struct->bufferDeviceAddressMultiDevice)
24236{
24237}
24238
24239safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT::safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT()
24240{}
24241
24242safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT::safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT(const safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT& src)
24243{
24244 sType = src.sType;
24245 pNext = src.pNext;
24246 bufferDeviceAddress = src.bufferDeviceAddress;
24247 bufferDeviceAddressCaptureReplay = src.bufferDeviceAddressCaptureReplay;
24248 bufferDeviceAddressMultiDevice = src.bufferDeviceAddressMultiDevice;
24249}
24250
24251safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT& safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT::operator=(const safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT& src)
24252{
24253 if (&src == this) return *this;
24254
24255
24256 sType = src.sType;
24257 pNext = src.pNext;
24258 bufferDeviceAddress = src.bufferDeviceAddress;
24259 bufferDeviceAddressCaptureReplay = src.bufferDeviceAddressCaptureReplay;
24260 bufferDeviceAddressMultiDevice = src.bufferDeviceAddressMultiDevice;
24261
24262 return *this;
24263}
24264
24265safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT::~safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT()
24266{
24267}
24268
24269void safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT::initialize(const VkPhysicalDeviceBufferDeviceAddressFeaturesEXT* in_struct)
24270{
24271 sType = in_struct->sType;
24272 pNext = in_struct->pNext;
24273 bufferDeviceAddress = in_struct->bufferDeviceAddress;
24274 bufferDeviceAddressCaptureReplay = in_struct->bufferDeviceAddressCaptureReplay;
24275 bufferDeviceAddressMultiDevice = in_struct->bufferDeviceAddressMultiDevice;
24276}
24277
24278void safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT::initialize(const safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT* src)
24279{
24280 sType = src->sType;
24281 pNext = src->pNext;
24282 bufferDeviceAddress = src->bufferDeviceAddress;
24283 bufferDeviceAddressCaptureReplay = src->bufferDeviceAddressCaptureReplay;
24284 bufferDeviceAddressMultiDevice = src->bufferDeviceAddressMultiDevice;
24285}
24286
24287safe_VkBufferDeviceAddressInfoEXT::safe_VkBufferDeviceAddressInfoEXT(const VkBufferDeviceAddressInfoEXT* in_struct) :
24288 sType(in_struct->sType),
24289 pNext(in_struct->pNext),
24290 buffer(in_struct->buffer)
24291{
24292}
24293
24294safe_VkBufferDeviceAddressInfoEXT::safe_VkBufferDeviceAddressInfoEXT()
24295{}
24296
24297safe_VkBufferDeviceAddressInfoEXT::safe_VkBufferDeviceAddressInfoEXT(const safe_VkBufferDeviceAddressInfoEXT& src)
24298{
24299 sType = src.sType;
24300 pNext = src.pNext;
24301 buffer = src.buffer;
24302}
24303
24304safe_VkBufferDeviceAddressInfoEXT& safe_VkBufferDeviceAddressInfoEXT::operator=(const safe_VkBufferDeviceAddressInfoEXT& src)
24305{
24306 if (&src == this) return *this;
24307
24308
24309 sType = src.sType;
24310 pNext = src.pNext;
24311 buffer = src.buffer;
24312
24313 return *this;
24314}
24315
24316safe_VkBufferDeviceAddressInfoEXT::~safe_VkBufferDeviceAddressInfoEXT()
24317{
24318}
24319
24320void safe_VkBufferDeviceAddressInfoEXT::initialize(const VkBufferDeviceAddressInfoEXT* in_struct)
24321{
24322 sType = in_struct->sType;
24323 pNext = in_struct->pNext;
24324 buffer = in_struct->buffer;
24325}
24326
24327void safe_VkBufferDeviceAddressInfoEXT::initialize(const safe_VkBufferDeviceAddressInfoEXT* src)
24328{
24329 sType = src->sType;
24330 pNext = src->pNext;
24331 buffer = src->buffer;
24332}
24333
24334safe_VkBufferDeviceAddressCreateInfoEXT::safe_VkBufferDeviceAddressCreateInfoEXT(const VkBufferDeviceAddressCreateInfoEXT* in_struct) :
24335 sType(in_struct->sType),
24336 pNext(in_struct->pNext),
24337 deviceAddress(in_struct->deviceAddress)
24338{
24339}
24340
24341safe_VkBufferDeviceAddressCreateInfoEXT::safe_VkBufferDeviceAddressCreateInfoEXT()
24342{}
24343
24344safe_VkBufferDeviceAddressCreateInfoEXT::safe_VkBufferDeviceAddressCreateInfoEXT(const safe_VkBufferDeviceAddressCreateInfoEXT& src)
24345{
24346 sType = src.sType;
24347 pNext = src.pNext;
24348 deviceAddress = src.deviceAddress;
24349}
24350
24351safe_VkBufferDeviceAddressCreateInfoEXT& safe_VkBufferDeviceAddressCreateInfoEXT::operator=(const safe_VkBufferDeviceAddressCreateInfoEXT& src)
24352{
24353 if (&src == this) return *this;
24354
24355
24356 sType = src.sType;
24357 pNext = src.pNext;
24358 deviceAddress = src.deviceAddress;
24359
24360 return *this;
24361}
24362
24363safe_VkBufferDeviceAddressCreateInfoEXT::~safe_VkBufferDeviceAddressCreateInfoEXT()
24364{
24365}
24366
24367void safe_VkBufferDeviceAddressCreateInfoEXT::initialize(const VkBufferDeviceAddressCreateInfoEXT* in_struct)
24368{
24369 sType = in_struct->sType;
24370 pNext = in_struct->pNext;
24371 deviceAddress = in_struct->deviceAddress;
24372}
24373
24374void safe_VkBufferDeviceAddressCreateInfoEXT::initialize(const safe_VkBufferDeviceAddressCreateInfoEXT* src)
24375{
24376 sType = src->sType;
24377 pNext = src->pNext;
24378 deviceAddress = src->deviceAddress;
24379}
24380
24381safe_VkImageStencilUsageCreateInfoEXT::safe_VkImageStencilUsageCreateInfoEXT(const VkImageStencilUsageCreateInfoEXT* in_struct) :
24382 sType(in_struct->sType),
24383 pNext(in_struct->pNext),
24384 stencilUsage(in_struct->stencilUsage)
24385{
24386}
24387
24388safe_VkImageStencilUsageCreateInfoEXT::safe_VkImageStencilUsageCreateInfoEXT()
24389{}
24390
24391safe_VkImageStencilUsageCreateInfoEXT::safe_VkImageStencilUsageCreateInfoEXT(const safe_VkImageStencilUsageCreateInfoEXT& src)
24392{
24393 sType = src.sType;
24394 pNext = src.pNext;
24395 stencilUsage = src.stencilUsage;
24396}
24397
24398safe_VkImageStencilUsageCreateInfoEXT& safe_VkImageStencilUsageCreateInfoEXT::operator=(const safe_VkImageStencilUsageCreateInfoEXT& src)
24399{
24400 if (&src == this) return *this;
24401
24402
24403 sType = src.sType;
24404 pNext = src.pNext;
24405 stencilUsage = src.stencilUsage;
24406
24407 return *this;
24408}
24409
24410safe_VkImageStencilUsageCreateInfoEXT::~safe_VkImageStencilUsageCreateInfoEXT()
24411{
24412}
24413
24414void safe_VkImageStencilUsageCreateInfoEXT::initialize(const VkImageStencilUsageCreateInfoEXT* in_struct)
24415{
24416 sType = in_struct->sType;
24417 pNext = in_struct->pNext;
24418 stencilUsage = in_struct->stencilUsage;
24419}
24420
24421void safe_VkImageStencilUsageCreateInfoEXT::initialize(const safe_VkImageStencilUsageCreateInfoEXT* src)
24422{
24423 sType = src->sType;
24424 pNext = src->pNext;
24425 stencilUsage = src->stencilUsage;
24426}
24427
24428safe_VkValidationFeaturesEXT::safe_VkValidationFeaturesEXT(const VkValidationFeaturesEXT* in_struct) :
24429 sType(in_struct->sType),
24430 pNext(in_struct->pNext),
24431 enabledValidationFeatureCount(in_struct->enabledValidationFeatureCount),
24432 pEnabledValidationFeatures(nullptr),
24433 disabledValidationFeatureCount(in_struct->disabledValidationFeatureCount),
24434 pDisabledValidationFeatures(nullptr)
24435{
24436 if (in_struct->pEnabledValidationFeatures) {
24437 pEnabledValidationFeatures = new VkValidationFeatureEnableEXT[in_struct->enabledValidationFeatureCount];
24438 memcpy ((void *)pEnabledValidationFeatures, (void *)in_struct->pEnabledValidationFeatures, sizeof(VkValidationFeatureEnableEXT)*in_struct->enabledValidationFeatureCount);
24439 }
24440 if (in_struct->pDisabledValidationFeatures) {
24441 pDisabledValidationFeatures = new VkValidationFeatureDisableEXT[in_struct->disabledValidationFeatureCount];
24442 memcpy ((void *)pDisabledValidationFeatures, (void *)in_struct->pDisabledValidationFeatures, sizeof(VkValidationFeatureDisableEXT)*in_struct->disabledValidationFeatureCount);
24443 }
24444}
24445
24446safe_VkValidationFeaturesEXT::safe_VkValidationFeaturesEXT() :
24447 pEnabledValidationFeatures(nullptr),
24448 pDisabledValidationFeatures(nullptr)
24449{}
24450
24451safe_VkValidationFeaturesEXT::safe_VkValidationFeaturesEXT(const safe_VkValidationFeaturesEXT& src)
24452{
24453 sType = src.sType;
24454 pNext = src.pNext;
24455 enabledValidationFeatureCount = src.enabledValidationFeatureCount;
24456 pEnabledValidationFeatures = nullptr;
24457 disabledValidationFeatureCount = src.disabledValidationFeatureCount;
24458 pDisabledValidationFeatures = nullptr;
24459 if (src.pEnabledValidationFeatures) {
24460 pEnabledValidationFeatures = new VkValidationFeatureEnableEXT[src.enabledValidationFeatureCount];
24461 memcpy ((void *)pEnabledValidationFeatures, (void *)src.pEnabledValidationFeatures, sizeof(VkValidationFeatureEnableEXT)*src.enabledValidationFeatureCount);
24462 }
24463 if (src.pDisabledValidationFeatures) {
24464 pDisabledValidationFeatures = new VkValidationFeatureDisableEXT[src.disabledValidationFeatureCount];
24465 memcpy ((void *)pDisabledValidationFeatures, (void *)src.pDisabledValidationFeatures, sizeof(VkValidationFeatureDisableEXT)*src.disabledValidationFeatureCount);
24466 }
24467}
24468
24469safe_VkValidationFeaturesEXT& safe_VkValidationFeaturesEXT::operator=(const safe_VkValidationFeaturesEXT& src)
24470{
24471 if (&src == this) return *this;
24472
24473 if (pEnabledValidationFeatures)
24474 delete[] pEnabledValidationFeatures;
24475 if (pDisabledValidationFeatures)
24476 delete[] pDisabledValidationFeatures;
24477
24478 sType = src.sType;
24479 pNext = src.pNext;
24480 enabledValidationFeatureCount = src.enabledValidationFeatureCount;
24481 pEnabledValidationFeatures = nullptr;
24482 disabledValidationFeatureCount = src.disabledValidationFeatureCount;
24483 pDisabledValidationFeatures = nullptr;
24484 if (src.pEnabledValidationFeatures) {
24485 pEnabledValidationFeatures = new VkValidationFeatureEnableEXT[src.enabledValidationFeatureCount];
24486 memcpy ((void *)pEnabledValidationFeatures, (void *)src.pEnabledValidationFeatures, sizeof(VkValidationFeatureEnableEXT)*src.enabledValidationFeatureCount);
24487 }
24488 if (src.pDisabledValidationFeatures) {
24489 pDisabledValidationFeatures = new VkValidationFeatureDisableEXT[src.disabledValidationFeatureCount];
24490 memcpy ((void *)pDisabledValidationFeatures, (void *)src.pDisabledValidationFeatures, sizeof(VkValidationFeatureDisableEXT)*src.disabledValidationFeatureCount);
24491 }
24492
24493 return *this;
24494}
24495
24496safe_VkValidationFeaturesEXT::~safe_VkValidationFeaturesEXT()
24497{
24498 if (pEnabledValidationFeatures)
24499 delete[] pEnabledValidationFeatures;
24500 if (pDisabledValidationFeatures)
24501 delete[] pDisabledValidationFeatures;
24502}
24503
24504void safe_VkValidationFeaturesEXT::initialize(const VkValidationFeaturesEXT* in_struct)
24505{
24506 sType = in_struct->sType;
24507 pNext = in_struct->pNext;
24508 enabledValidationFeatureCount = in_struct->enabledValidationFeatureCount;
24509 pEnabledValidationFeatures = nullptr;
24510 disabledValidationFeatureCount = in_struct->disabledValidationFeatureCount;
24511 pDisabledValidationFeatures = nullptr;
24512 if (in_struct->pEnabledValidationFeatures) {
24513 pEnabledValidationFeatures = new VkValidationFeatureEnableEXT[in_struct->enabledValidationFeatureCount];
24514 memcpy ((void *)pEnabledValidationFeatures, (void *)in_struct->pEnabledValidationFeatures, sizeof(VkValidationFeatureEnableEXT)*in_struct->enabledValidationFeatureCount);
24515 }
24516 if (in_struct->pDisabledValidationFeatures) {
24517 pDisabledValidationFeatures = new VkValidationFeatureDisableEXT[in_struct->disabledValidationFeatureCount];
24518 memcpy ((void *)pDisabledValidationFeatures, (void *)in_struct->pDisabledValidationFeatures, sizeof(VkValidationFeatureDisableEXT)*in_struct->disabledValidationFeatureCount);
24519 }
24520}
24521
24522void safe_VkValidationFeaturesEXT::initialize(const safe_VkValidationFeaturesEXT* src)
24523{
24524 sType = src->sType;
24525 pNext = src->pNext;
24526 enabledValidationFeatureCount = src->enabledValidationFeatureCount;
24527 pEnabledValidationFeatures = nullptr;
24528 disabledValidationFeatureCount = src->disabledValidationFeatureCount;
24529 pDisabledValidationFeatures = nullptr;
24530 if (src->pEnabledValidationFeatures) {
24531 pEnabledValidationFeatures = new VkValidationFeatureEnableEXT[src->enabledValidationFeatureCount];
24532 memcpy ((void *)pEnabledValidationFeatures, (void *)src->pEnabledValidationFeatures, sizeof(VkValidationFeatureEnableEXT)*src->enabledValidationFeatureCount);
24533 }
24534 if (src->pDisabledValidationFeatures) {
24535 pDisabledValidationFeatures = new VkValidationFeatureDisableEXT[src->disabledValidationFeatureCount];
24536 memcpy ((void *)pDisabledValidationFeatures, (void *)src->pDisabledValidationFeatures, sizeof(VkValidationFeatureDisableEXT)*src->disabledValidationFeatureCount);
24537 }
24538}
24539
24540safe_VkCooperativeMatrixPropertiesNV::safe_VkCooperativeMatrixPropertiesNV(const VkCooperativeMatrixPropertiesNV* in_struct) :
24541 sType(in_struct->sType),
24542 pNext(in_struct->pNext),
24543 MSize(in_struct->MSize),
24544 NSize(in_struct->NSize),
24545 KSize(in_struct->KSize),
24546 AType(in_struct->AType),
24547 BType(in_struct->BType),
24548 CType(in_struct->CType),
24549 DType(in_struct->DType),
24550 scope(in_struct->scope)
24551{
24552}
24553
24554safe_VkCooperativeMatrixPropertiesNV::safe_VkCooperativeMatrixPropertiesNV()
24555{}
24556
24557safe_VkCooperativeMatrixPropertiesNV::safe_VkCooperativeMatrixPropertiesNV(const safe_VkCooperativeMatrixPropertiesNV& src)
24558{
24559 sType = src.sType;
24560 pNext = src.pNext;
24561 MSize = src.MSize;
24562 NSize = src.NSize;
24563 KSize = src.KSize;
24564 AType = src.AType;
24565 BType = src.BType;
24566 CType = src.CType;
24567 DType = src.DType;
24568 scope = src.scope;
24569}
24570
24571safe_VkCooperativeMatrixPropertiesNV& safe_VkCooperativeMatrixPropertiesNV::operator=(const safe_VkCooperativeMatrixPropertiesNV& src)
24572{
24573 if (&src == this) return *this;
24574
24575
24576 sType = src.sType;
24577 pNext = src.pNext;
24578 MSize = src.MSize;
24579 NSize = src.NSize;
24580 KSize = src.KSize;
24581 AType = src.AType;
24582 BType = src.BType;
24583 CType = src.CType;
24584 DType = src.DType;
24585 scope = src.scope;
24586
24587 return *this;
24588}
24589
24590safe_VkCooperativeMatrixPropertiesNV::~safe_VkCooperativeMatrixPropertiesNV()
24591{
24592}
24593
24594void safe_VkCooperativeMatrixPropertiesNV::initialize(const VkCooperativeMatrixPropertiesNV* in_struct)
24595{
24596 sType = in_struct->sType;
24597 pNext = in_struct->pNext;
24598 MSize = in_struct->MSize;
24599 NSize = in_struct->NSize;
24600 KSize = in_struct->KSize;
24601 AType = in_struct->AType;
24602 BType = in_struct->BType;
24603 CType = in_struct->CType;
24604 DType = in_struct->DType;
24605 scope = in_struct->scope;
24606}
24607
24608void safe_VkCooperativeMatrixPropertiesNV::initialize(const safe_VkCooperativeMatrixPropertiesNV* src)
24609{
24610 sType = src->sType;
24611 pNext = src->pNext;
24612 MSize = src->MSize;
24613 NSize = src->NSize;
24614 KSize = src->KSize;
24615 AType = src->AType;
24616 BType = src->BType;
24617 CType = src->CType;
24618 DType = src->DType;
24619 scope = src->scope;
24620}
24621
24622safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV::safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV(const VkPhysicalDeviceCooperativeMatrixFeaturesNV* in_struct) :
24623 sType(in_struct->sType),
24624 pNext(in_struct->pNext),
24625 cooperativeMatrix(in_struct->cooperativeMatrix),
24626 cooperativeMatrixRobustBufferAccess(in_struct->cooperativeMatrixRobustBufferAccess)
24627{
24628}
24629
24630safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV::safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV()
24631{}
24632
24633safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV::safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV(const safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV& src)
24634{
24635 sType = src.sType;
24636 pNext = src.pNext;
24637 cooperativeMatrix = src.cooperativeMatrix;
24638 cooperativeMatrixRobustBufferAccess = src.cooperativeMatrixRobustBufferAccess;
24639}
24640
24641safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV& safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV::operator=(const safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV& src)
24642{
24643 if (&src == this) return *this;
24644
24645
24646 sType = src.sType;
24647 pNext = src.pNext;
24648 cooperativeMatrix = src.cooperativeMatrix;
24649 cooperativeMatrixRobustBufferAccess = src.cooperativeMatrixRobustBufferAccess;
24650
24651 return *this;
24652}
24653
24654safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV::~safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV()
24655{
24656}
24657
24658void safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV::initialize(const VkPhysicalDeviceCooperativeMatrixFeaturesNV* in_struct)
24659{
24660 sType = in_struct->sType;
24661 pNext = in_struct->pNext;
24662 cooperativeMatrix = in_struct->cooperativeMatrix;
24663 cooperativeMatrixRobustBufferAccess = in_struct->cooperativeMatrixRobustBufferAccess;
24664}
24665
24666void safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV::initialize(const safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV* src)
24667{
24668 sType = src->sType;
24669 pNext = src->pNext;
24670 cooperativeMatrix = src->cooperativeMatrix;
24671 cooperativeMatrixRobustBufferAccess = src->cooperativeMatrixRobustBufferAccess;
24672}
24673
24674safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV::safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV(const VkPhysicalDeviceCooperativeMatrixPropertiesNV* in_struct) :
24675 sType(in_struct->sType),
24676 pNext(in_struct->pNext),
24677 cooperativeMatrixSupportedStages(in_struct->cooperativeMatrixSupportedStages)
24678{
24679}
24680
24681safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV::safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV()
24682{}
24683
24684safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV::safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV(const safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV& src)
24685{
24686 sType = src.sType;
24687 pNext = src.pNext;
24688 cooperativeMatrixSupportedStages = src.cooperativeMatrixSupportedStages;
24689}
24690
24691safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV& safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV::operator=(const safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV& src)
24692{
24693 if (&src == this) return *this;
24694
24695
24696 sType = src.sType;
24697 pNext = src.pNext;
24698 cooperativeMatrixSupportedStages = src.cooperativeMatrixSupportedStages;
24699
24700 return *this;
24701}
24702
24703safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV::~safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV()
24704{
24705}
24706
24707void safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV::initialize(const VkPhysicalDeviceCooperativeMatrixPropertiesNV* in_struct)
24708{
24709 sType = in_struct->sType;
24710 pNext = in_struct->pNext;
24711 cooperativeMatrixSupportedStages = in_struct->cooperativeMatrixSupportedStages;
24712}
24713
24714void safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV::initialize(const safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV* src)
24715{
24716 sType = src->sType;
24717 pNext = src->pNext;
24718 cooperativeMatrixSupportedStages = src->cooperativeMatrixSupportedStages;
24719}
24720
24721safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV::safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV(const VkPhysicalDeviceCoverageReductionModeFeaturesNV* in_struct) :
24722 sType(in_struct->sType),
24723 pNext(in_struct->pNext),
24724 coverageReductionMode(in_struct->coverageReductionMode)
24725{
24726}
24727
24728safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV::safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV()
24729{}
24730
24731safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV::safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV(const safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV& src)
24732{
24733 sType = src.sType;
24734 pNext = src.pNext;
24735 coverageReductionMode = src.coverageReductionMode;
24736}
24737
24738safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV& safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV::operator=(const safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV& src)
24739{
24740 if (&src == this) return *this;
24741
24742
24743 sType = src.sType;
24744 pNext = src.pNext;
24745 coverageReductionMode = src.coverageReductionMode;
24746
24747 return *this;
24748}
24749
24750safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV::~safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV()
24751{
24752}
24753
24754void safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV::initialize(const VkPhysicalDeviceCoverageReductionModeFeaturesNV* in_struct)
24755{
24756 sType = in_struct->sType;
24757 pNext = in_struct->pNext;
24758 coverageReductionMode = in_struct->coverageReductionMode;
24759}
24760
24761void safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV::initialize(const safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV* src)
24762{
24763 sType = src->sType;
24764 pNext = src->pNext;
24765 coverageReductionMode = src->coverageReductionMode;
24766}
24767
24768safe_VkPipelineCoverageReductionStateCreateInfoNV::safe_VkPipelineCoverageReductionStateCreateInfoNV(const VkPipelineCoverageReductionStateCreateInfoNV* in_struct) :
24769 sType(in_struct->sType),
24770 pNext(in_struct->pNext),
24771 flags(in_struct->flags),
24772 coverageReductionMode(in_struct->coverageReductionMode)
24773{
24774}
24775
24776safe_VkPipelineCoverageReductionStateCreateInfoNV::safe_VkPipelineCoverageReductionStateCreateInfoNV()
24777{}
24778
24779safe_VkPipelineCoverageReductionStateCreateInfoNV::safe_VkPipelineCoverageReductionStateCreateInfoNV(const safe_VkPipelineCoverageReductionStateCreateInfoNV& src)
24780{
24781 sType = src.sType;
24782 pNext = src.pNext;
24783 flags = src.flags;
24784 coverageReductionMode = src.coverageReductionMode;
24785}
24786
24787safe_VkPipelineCoverageReductionStateCreateInfoNV& safe_VkPipelineCoverageReductionStateCreateInfoNV::operator=(const safe_VkPipelineCoverageReductionStateCreateInfoNV& src)
24788{
24789 if (&src == this) return *this;
24790
24791
24792 sType = src.sType;
24793 pNext = src.pNext;
24794 flags = src.flags;
24795 coverageReductionMode = src.coverageReductionMode;
24796
24797 return *this;
24798}
24799
24800safe_VkPipelineCoverageReductionStateCreateInfoNV::~safe_VkPipelineCoverageReductionStateCreateInfoNV()
24801{
24802}
24803
24804void safe_VkPipelineCoverageReductionStateCreateInfoNV::initialize(const VkPipelineCoverageReductionStateCreateInfoNV* in_struct)
24805{
24806 sType = in_struct->sType;
24807 pNext = in_struct->pNext;
24808 flags = in_struct->flags;
24809 coverageReductionMode = in_struct->coverageReductionMode;
24810}
24811
24812void safe_VkPipelineCoverageReductionStateCreateInfoNV::initialize(const safe_VkPipelineCoverageReductionStateCreateInfoNV* src)
24813{
24814 sType = src->sType;
24815 pNext = src->pNext;
24816 flags = src->flags;
24817 coverageReductionMode = src->coverageReductionMode;
24818}
24819
24820safe_VkFramebufferMixedSamplesCombinationNV::safe_VkFramebufferMixedSamplesCombinationNV(const VkFramebufferMixedSamplesCombinationNV* in_struct) :
24821 sType(in_struct->sType),
24822 pNext(in_struct->pNext),
24823 coverageReductionMode(in_struct->coverageReductionMode),
24824 rasterizationSamples(in_struct->rasterizationSamples),
24825 depthStencilSamples(in_struct->depthStencilSamples),
24826 colorSamples(in_struct->colorSamples)
24827{
24828}
24829
24830safe_VkFramebufferMixedSamplesCombinationNV::safe_VkFramebufferMixedSamplesCombinationNV()
24831{}
24832
24833safe_VkFramebufferMixedSamplesCombinationNV::safe_VkFramebufferMixedSamplesCombinationNV(const safe_VkFramebufferMixedSamplesCombinationNV& src)
24834{
24835 sType = src.sType;
24836 pNext = src.pNext;
24837 coverageReductionMode = src.coverageReductionMode;
24838 rasterizationSamples = src.rasterizationSamples;
24839 depthStencilSamples = src.depthStencilSamples;
24840 colorSamples = src.colorSamples;
24841}
24842
24843safe_VkFramebufferMixedSamplesCombinationNV& safe_VkFramebufferMixedSamplesCombinationNV::operator=(const safe_VkFramebufferMixedSamplesCombinationNV& src)
24844{
24845 if (&src == this) return *this;
24846
24847
24848 sType = src.sType;
24849 pNext = src.pNext;
24850 coverageReductionMode = src.coverageReductionMode;
24851 rasterizationSamples = src.rasterizationSamples;
24852 depthStencilSamples = src.depthStencilSamples;
24853 colorSamples = src.colorSamples;
24854
24855 return *this;
24856}
24857
24858safe_VkFramebufferMixedSamplesCombinationNV::~safe_VkFramebufferMixedSamplesCombinationNV()
24859{
24860}
24861
24862void safe_VkFramebufferMixedSamplesCombinationNV::initialize(const VkFramebufferMixedSamplesCombinationNV* in_struct)
24863{
24864 sType = in_struct->sType;
24865 pNext = in_struct->pNext;
24866 coverageReductionMode = in_struct->coverageReductionMode;
24867 rasterizationSamples = in_struct->rasterizationSamples;
24868 depthStencilSamples = in_struct->depthStencilSamples;
24869 colorSamples = in_struct->colorSamples;
24870}
24871
24872void safe_VkFramebufferMixedSamplesCombinationNV::initialize(const safe_VkFramebufferMixedSamplesCombinationNV* src)
24873{
24874 sType = src->sType;
24875 pNext = src->pNext;
24876 coverageReductionMode = src->coverageReductionMode;
24877 rasterizationSamples = src->rasterizationSamples;
24878 depthStencilSamples = src->depthStencilSamples;
24879 colorSamples = src->colorSamples;
24880}
24881
24882safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT::safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT(const VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT* in_struct) :
24883 sType(in_struct->sType),
24884 pNext(in_struct->pNext),
24885 fragmentShaderSampleInterlock(in_struct->fragmentShaderSampleInterlock),
24886 fragmentShaderPixelInterlock(in_struct->fragmentShaderPixelInterlock),
24887 fragmentShaderShadingRateInterlock(in_struct->fragmentShaderShadingRateInterlock)
24888{
24889}
24890
24891safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT::safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT()
24892{}
24893
24894safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT::safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT(const safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT& src)
24895{
24896 sType = src.sType;
24897 pNext = src.pNext;
24898 fragmentShaderSampleInterlock = src.fragmentShaderSampleInterlock;
24899 fragmentShaderPixelInterlock = src.fragmentShaderPixelInterlock;
24900 fragmentShaderShadingRateInterlock = src.fragmentShaderShadingRateInterlock;
24901}
24902
24903safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT& safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT::operator=(const safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT& src)
24904{
24905 if (&src == this) return *this;
24906
24907
24908 sType = src.sType;
24909 pNext = src.pNext;
24910 fragmentShaderSampleInterlock = src.fragmentShaderSampleInterlock;
24911 fragmentShaderPixelInterlock = src.fragmentShaderPixelInterlock;
24912 fragmentShaderShadingRateInterlock = src.fragmentShaderShadingRateInterlock;
24913
24914 return *this;
24915}
24916
24917safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT::~safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT()
24918{
24919}
24920
24921void safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT::initialize(const VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT* in_struct)
24922{
24923 sType = in_struct->sType;
24924 pNext = in_struct->pNext;
24925 fragmentShaderSampleInterlock = in_struct->fragmentShaderSampleInterlock;
24926 fragmentShaderPixelInterlock = in_struct->fragmentShaderPixelInterlock;
24927 fragmentShaderShadingRateInterlock = in_struct->fragmentShaderShadingRateInterlock;
24928}
24929
24930void safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT::initialize(const safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT* src)
24931{
24932 sType = src->sType;
24933 pNext = src->pNext;
24934 fragmentShaderSampleInterlock = src->fragmentShaderSampleInterlock;
24935 fragmentShaderPixelInterlock = src->fragmentShaderPixelInterlock;
24936 fragmentShaderShadingRateInterlock = src->fragmentShaderShadingRateInterlock;
24937}
24938
24939safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT::safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT(const VkPhysicalDeviceYcbcrImageArraysFeaturesEXT* in_struct) :
24940 sType(in_struct->sType),
24941 pNext(in_struct->pNext),
24942 ycbcrImageArrays(in_struct->ycbcrImageArrays)
24943{
24944}
24945
24946safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT::safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT()
24947{}
24948
24949safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT::safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT(const safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT& src)
24950{
24951 sType = src.sType;
24952 pNext = src.pNext;
24953 ycbcrImageArrays = src.ycbcrImageArrays;
24954}
24955
24956safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT& safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT::operator=(const safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT& src)
24957{
24958 if (&src == this) return *this;
24959
24960
24961 sType = src.sType;
24962 pNext = src.pNext;
24963 ycbcrImageArrays = src.ycbcrImageArrays;
24964
24965 return *this;
24966}
24967
24968safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT::~safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT()
24969{
24970}
24971
24972void safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT::initialize(const VkPhysicalDeviceYcbcrImageArraysFeaturesEXT* in_struct)
24973{
24974 sType = in_struct->sType;
24975 pNext = in_struct->pNext;
24976 ycbcrImageArrays = in_struct->ycbcrImageArrays;
24977}
24978
24979void safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT::initialize(const safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT* src)
24980{
24981 sType = src->sType;
24982 pNext = src->pNext;
24983 ycbcrImageArrays = src->ycbcrImageArrays;
24984}
24985#ifdef VK_USE_PLATFORM_WIN32_KHR
24986
24987
24988safe_VkSurfaceFullScreenExclusiveInfoEXT::safe_VkSurfaceFullScreenExclusiveInfoEXT(const VkSurfaceFullScreenExclusiveInfoEXT* in_struct) :
24989 sType(in_struct->sType),
24990 pNext(in_struct->pNext),
24991 fullScreenExclusive(in_struct->fullScreenExclusive)
24992{
24993}
24994
24995safe_VkSurfaceFullScreenExclusiveInfoEXT::safe_VkSurfaceFullScreenExclusiveInfoEXT()
24996{}
24997
24998safe_VkSurfaceFullScreenExclusiveInfoEXT::safe_VkSurfaceFullScreenExclusiveInfoEXT(const safe_VkSurfaceFullScreenExclusiveInfoEXT& src)
24999{
25000 sType = src.sType;
25001 pNext = src.pNext;
25002 fullScreenExclusive = src.fullScreenExclusive;
25003}
25004
25005safe_VkSurfaceFullScreenExclusiveInfoEXT& safe_VkSurfaceFullScreenExclusiveInfoEXT::operator=(const safe_VkSurfaceFullScreenExclusiveInfoEXT& src)
25006{
25007 if (&src == this) return *this;
25008
25009
25010 sType = src.sType;
25011 pNext = src.pNext;
25012 fullScreenExclusive = src.fullScreenExclusive;
25013
25014 return *this;
25015}
25016
25017safe_VkSurfaceFullScreenExclusiveInfoEXT::~safe_VkSurfaceFullScreenExclusiveInfoEXT()
25018{
25019}
25020
25021void safe_VkSurfaceFullScreenExclusiveInfoEXT::initialize(const VkSurfaceFullScreenExclusiveInfoEXT* in_struct)
25022{
25023 sType = in_struct->sType;
25024 pNext = in_struct->pNext;
25025 fullScreenExclusive = in_struct->fullScreenExclusive;
25026}
25027
25028void safe_VkSurfaceFullScreenExclusiveInfoEXT::initialize(const safe_VkSurfaceFullScreenExclusiveInfoEXT* src)
25029{
25030 sType = src->sType;
25031 pNext = src->pNext;
25032 fullScreenExclusive = src->fullScreenExclusive;
25033}
25034#endif // VK_USE_PLATFORM_WIN32_KHR
25035
25036#ifdef VK_USE_PLATFORM_WIN32_KHR
25037
25038
25039safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT::safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT(const VkSurfaceCapabilitiesFullScreenExclusiveEXT* in_struct) :
25040 sType(in_struct->sType),
25041 pNext(in_struct->pNext),
25042 fullScreenExclusiveSupported(in_struct->fullScreenExclusiveSupported)
25043{
25044}
25045
25046safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT::safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT()
25047{}
25048
25049safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT::safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT(const safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT& src)
25050{
25051 sType = src.sType;
25052 pNext = src.pNext;
25053 fullScreenExclusiveSupported = src.fullScreenExclusiveSupported;
25054}
25055
25056safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT& safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT::operator=(const safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT& src)
25057{
25058 if (&src == this) return *this;
25059
25060
25061 sType = src.sType;
25062 pNext = src.pNext;
25063 fullScreenExclusiveSupported = src.fullScreenExclusiveSupported;
25064
25065 return *this;
25066}
25067
25068safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT::~safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT()
25069{
25070}
25071
25072void safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT::initialize(const VkSurfaceCapabilitiesFullScreenExclusiveEXT* in_struct)
25073{
25074 sType = in_struct->sType;
25075 pNext = in_struct->pNext;
25076 fullScreenExclusiveSupported = in_struct->fullScreenExclusiveSupported;
25077}
25078
25079void safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT::initialize(const safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT* src)
25080{
25081 sType = src->sType;
25082 pNext = src->pNext;
25083 fullScreenExclusiveSupported = src->fullScreenExclusiveSupported;
25084}
25085#endif // VK_USE_PLATFORM_WIN32_KHR
25086
25087#ifdef VK_USE_PLATFORM_WIN32_KHR
25088
25089
25090safe_VkSurfaceFullScreenExclusiveWin32InfoEXT::safe_VkSurfaceFullScreenExclusiveWin32InfoEXT(const VkSurfaceFullScreenExclusiveWin32InfoEXT* in_struct) :
25091 sType(in_struct->sType),
25092 pNext(in_struct->pNext),
25093 hmonitor(in_struct->hmonitor)
25094{
25095}
25096
25097safe_VkSurfaceFullScreenExclusiveWin32InfoEXT::safe_VkSurfaceFullScreenExclusiveWin32InfoEXT()
25098{}
25099
25100safe_VkSurfaceFullScreenExclusiveWin32InfoEXT::safe_VkSurfaceFullScreenExclusiveWin32InfoEXT(const safe_VkSurfaceFullScreenExclusiveWin32InfoEXT& src)
25101{
25102 sType = src.sType;
25103 pNext = src.pNext;
25104 hmonitor = src.hmonitor;
25105}
25106
25107safe_VkSurfaceFullScreenExclusiveWin32InfoEXT& safe_VkSurfaceFullScreenExclusiveWin32InfoEXT::operator=(const safe_VkSurfaceFullScreenExclusiveWin32InfoEXT& src)
25108{
25109 if (&src == this) return *this;
25110
25111
25112 sType = src.sType;
25113 pNext = src.pNext;
25114 hmonitor = src.hmonitor;
25115
25116 return *this;
25117}
25118
25119safe_VkSurfaceFullScreenExclusiveWin32InfoEXT::~safe_VkSurfaceFullScreenExclusiveWin32InfoEXT()
25120{
25121}
25122
25123void safe_VkSurfaceFullScreenExclusiveWin32InfoEXT::initialize(const VkSurfaceFullScreenExclusiveWin32InfoEXT* in_struct)
25124{
25125 sType = in_struct->sType;
25126 pNext = in_struct->pNext;
25127 hmonitor = in_struct->hmonitor;
25128}
25129
25130void safe_VkSurfaceFullScreenExclusiveWin32InfoEXT::initialize(const safe_VkSurfaceFullScreenExclusiveWin32InfoEXT* src)
25131{
25132 sType = src->sType;
25133 pNext = src->pNext;
25134 hmonitor = src->hmonitor;
25135}
25136#endif // VK_USE_PLATFORM_WIN32_KHR
25137
25138
25139safe_VkHeadlessSurfaceCreateInfoEXT::safe_VkHeadlessSurfaceCreateInfoEXT(const VkHeadlessSurfaceCreateInfoEXT* in_struct) :
25140 sType(in_struct->sType),
25141 pNext(in_struct->pNext),
25142 flags(in_struct->flags)
25143{
25144}
25145
25146safe_VkHeadlessSurfaceCreateInfoEXT::safe_VkHeadlessSurfaceCreateInfoEXT()
25147{}
25148
25149safe_VkHeadlessSurfaceCreateInfoEXT::safe_VkHeadlessSurfaceCreateInfoEXT(const safe_VkHeadlessSurfaceCreateInfoEXT& src)
25150{
25151 sType = src.sType;
25152 pNext = src.pNext;
25153 flags = src.flags;
25154}
25155
25156safe_VkHeadlessSurfaceCreateInfoEXT& safe_VkHeadlessSurfaceCreateInfoEXT::operator=(const safe_VkHeadlessSurfaceCreateInfoEXT& src)
25157{
25158 if (&src == this) return *this;
25159
25160
25161 sType = src.sType;
25162 pNext = src.pNext;
25163 flags = src.flags;
25164
25165 return *this;
25166}
25167
25168safe_VkHeadlessSurfaceCreateInfoEXT::~safe_VkHeadlessSurfaceCreateInfoEXT()
25169{
25170}
25171
25172void safe_VkHeadlessSurfaceCreateInfoEXT::initialize(const VkHeadlessSurfaceCreateInfoEXT* in_struct)
25173{
25174 sType = in_struct->sType;
25175 pNext = in_struct->pNext;
25176 flags = in_struct->flags;
25177}
25178
25179void safe_VkHeadlessSurfaceCreateInfoEXT::initialize(const safe_VkHeadlessSurfaceCreateInfoEXT* src)
25180{
25181 sType = src->sType;
25182 pNext = src->pNext;
25183 flags = src->flags;
25184}
25185
25186safe_VkPhysicalDeviceHostQueryResetFeaturesEXT::safe_VkPhysicalDeviceHostQueryResetFeaturesEXT(const VkPhysicalDeviceHostQueryResetFeaturesEXT* in_struct) :
25187 sType(in_struct->sType),
25188 pNext(in_struct->pNext),
25189 hostQueryReset(in_struct->hostQueryReset)
25190{
25191}
25192
25193safe_VkPhysicalDeviceHostQueryResetFeaturesEXT::safe_VkPhysicalDeviceHostQueryResetFeaturesEXT()
25194{}
25195
25196safe_VkPhysicalDeviceHostQueryResetFeaturesEXT::safe_VkPhysicalDeviceHostQueryResetFeaturesEXT(const safe_VkPhysicalDeviceHostQueryResetFeaturesEXT& src)
25197{
25198 sType = src.sType;
25199 pNext = src.pNext;
25200 hostQueryReset = src.hostQueryReset;
25201}
25202
25203safe_VkPhysicalDeviceHostQueryResetFeaturesEXT& safe_VkPhysicalDeviceHostQueryResetFeaturesEXT::operator=(const safe_VkPhysicalDeviceHostQueryResetFeaturesEXT& src)
25204{
25205 if (&src == this) return *this;
25206
25207
25208 sType = src.sType;
25209 pNext = src.pNext;
25210 hostQueryReset = src.hostQueryReset;
25211
25212 return *this;
25213}
25214
25215safe_VkPhysicalDeviceHostQueryResetFeaturesEXT::~safe_VkPhysicalDeviceHostQueryResetFeaturesEXT()
25216{
25217}
25218
25219void safe_VkPhysicalDeviceHostQueryResetFeaturesEXT::initialize(const VkPhysicalDeviceHostQueryResetFeaturesEXT* in_struct)
25220{
25221 sType = in_struct->sType;
25222 pNext = in_struct->pNext;
25223 hostQueryReset = in_struct->hostQueryReset;
25224}
25225
25226void safe_VkPhysicalDeviceHostQueryResetFeaturesEXT::initialize(const safe_VkPhysicalDeviceHostQueryResetFeaturesEXT* src)
25227{
25228 sType = src->sType;
25229 pNext = src->pNext;
25230 hostQueryReset = src->hostQueryReset;
25231}
Shannon McPherson0e65e192019-07-17 16:52:21 -060025232
25233safe_VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT::safe_VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT(const VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT* in_struct) :
25234 sType(in_struct->sType),
25235 pNext(in_struct->pNext),
25236 shaderDemoteToHelperInvocation(in_struct->shaderDemoteToHelperInvocation)
25237{
25238}
25239
25240safe_VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT::safe_VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT()
25241{}
25242
25243safe_VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT::safe_VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT(const safe_VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT& src)
25244{
25245 sType = src.sType;
25246 pNext = src.pNext;
25247 shaderDemoteToHelperInvocation = src.shaderDemoteToHelperInvocation;
25248}
25249
25250safe_VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT& safe_VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT::operator=(const safe_VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT& src)
25251{
25252 if (&src == this) return *this;
25253
25254
25255 sType = src.sType;
25256 pNext = src.pNext;
25257 shaderDemoteToHelperInvocation = src.shaderDemoteToHelperInvocation;
25258
25259 return *this;
25260}
25261
25262safe_VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT::~safe_VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT()
25263{
25264}
25265
25266void safe_VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT::initialize(const VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT* in_struct)
25267{
25268 sType = in_struct->sType;
25269 pNext = in_struct->pNext;
25270 shaderDemoteToHelperInvocation = in_struct->shaderDemoteToHelperInvocation;
25271}
25272
25273void safe_VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT::initialize(const safe_VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT* src)
25274{
25275 sType = src->sType;
25276 pNext = src->pNext;
25277 shaderDemoteToHelperInvocation = src->shaderDemoteToHelperInvocation;
25278}
25279
25280safe_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT::safe_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT(const VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT* in_struct) :
25281 sType(in_struct->sType),
25282 pNext(in_struct->pNext),
25283 texelBufferAlignment(in_struct->texelBufferAlignment)
25284{
25285}
25286
25287safe_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT::safe_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT()
25288{}
25289
25290safe_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT::safe_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT(const safe_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT& src)
25291{
25292 sType = src.sType;
25293 pNext = src.pNext;
25294 texelBufferAlignment = src.texelBufferAlignment;
25295}
25296
25297safe_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT& safe_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT::operator=(const safe_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT& src)
25298{
25299 if (&src == this) return *this;
25300
25301
25302 sType = src.sType;
25303 pNext = src.pNext;
25304 texelBufferAlignment = src.texelBufferAlignment;
25305
25306 return *this;
25307}
25308
25309safe_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT::~safe_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT()
25310{
25311}
25312
25313void safe_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT::initialize(const VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT* in_struct)
25314{
25315 sType = in_struct->sType;
25316 pNext = in_struct->pNext;
25317 texelBufferAlignment = in_struct->texelBufferAlignment;
25318}
25319
25320void safe_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT::initialize(const safe_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT* src)
25321{
25322 sType = src->sType;
25323 pNext = src->pNext;
25324 texelBufferAlignment = src->texelBufferAlignment;
25325}
25326
25327safe_VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT::safe_VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT(const VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT* in_struct) :
25328 sType(in_struct->sType),
25329 pNext(in_struct->pNext),
25330 storageTexelBufferOffsetAlignmentBytes(in_struct->storageTexelBufferOffsetAlignmentBytes),
25331 storageTexelBufferOffsetSingleTexelAlignment(in_struct->storageTexelBufferOffsetSingleTexelAlignment),
25332 uniformTexelBufferOffsetAlignmentBytes(in_struct->uniformTexelBufferOffsetAlignmentBytes),
25333 uniformTexelBufferOffsetSingleTexelAlignment(in_struct->uniformTexelBufferOffsetSingleTexelAlignment)
25334{
25335}
25336
25337safe_VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT::safe_VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT()
25338{}
25339
25340safe_VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT::safe_VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT(const safe_VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT& src)
25341{
25342 sType = src.sType;
25343 pNext = src.pNext;
25344 storageTexelBufferOffsetAlignmentBytes = src.storageTexelBufferOffsetAlignmentBytes;
25345 storageTexelBufferOffsetSingleTexelAlignment = src.storageTexelBufferOffsetSingleTexelAlignment;
25346 uniformTexelBufferOffsetAlignmentBytes = src.uniformTexelBufferOffsetAlignmentBytes;
25347 uniformTexelBufferOffsetSingleTexelAlignment = src.uniformTexelBufferOffsetSingleTexelAlignment;
25348}
25349
25350safe_VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT& safe_VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT::operator=(const safe_VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT& src)
25351{
25352 if (&src == this) return *this;
25353
25354
25355 sType = src.sType;
25356 pNext = src.pNext;
25357 storageTexelBufferOffsetAlignmentBytes = src.storageTexelBufferOffsetAlignmentBytes;
25358 storageTexelBufferOffsetSingleTexelAlignment = src.storageTexelBufferOffsetSingleTexelAlignment;
25359 uniformTexelBufferOffsetAlignmentBytes = src.uniformTexelBufferOffsetAlignmentBytes;
25360 uniformTexelBufferOffsetSingleTexelAlignment = src.uniformTexelBufferOffsetSingleTexelAlignment;
25361
25362 return *this;
25363}
25364
25365safe_VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT::~safe_VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT()
25366{
25367}
25368
25369void safe_VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT::initialize(const VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT* in_struct)
25370{
25371 sType = in_struct->sType;
25372 pNext = in_struct->pNext;
25373 storageTexelBufferOffsetAlignmentBytes = in_struct->storageTexelBufferOffsetAlignmentBytes;
25374 storageTexelBufferOffsetSingleTexelAlignment = in_struct->storageTexelBufferOffsetSingleTexelAlignment;
25375 uniformTexelBufferOffsetAlignmentBytes = in_struct->uniformTexelBufferOffsetAlignmentBytes;
25376 uniformTexelBufferOffsetSingleTexelAlignment = in_struct->uniformTexelBufferOffsetSingleTexelAlignment;
25377}
25378
25379void safe_VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT::initialize(const safe_VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT* src)
25380{
25381 sType = src->sType;
25382 pNext = src->pNext;
25383 storageTexelBufferOffsetAlignmentBytes = src->storageTexelBufferOffsetAlignmentBytes;
25384 storageTexelBufferOffsetSingleTexelAlignment = src->storageTexelBufferOffsetSingleTexelAlignment;
25385 uniformTexelBufferOffsetAlignmentBytes = src->uniformTexelBufferOffsetAlignmentBytes;
25386 uniformTexelBufferOffsetSingleTexelAlignment = src->uniformTexelBufferOffsetSingleTexelAlignment;
25387}
Mark Lobodzinskib836ac92019-07-18 16:14:43 -060025388
25389void *SafePnextCopy(const void *pNext) {
25390 void *cur_pnext = const_cast<void *>(pNext);
25391 void *cur_ext_struct = NULL;
25392
25393 if (cur_pnext == nullptr) {
25394 return nullptr;
25395 } else {
25396 VkBaseOutStructure *header = reinterpret_cast<VkBaseOutStructure *>(cur_pnext);
25397
25398 switch (header->sType) {
25399 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES: {
25400 safe_VkPhysicalDeviceSubgroupProperties *safe_struct = new safe_VkPhysicalDeviceSubgroupProperties;
25401 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceSubgroupProperties *>(cur_pnext));
25402 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25403 } break;
25404
25405 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES: {
25406 safe_VkPhysicalDevice16BitStorageFeatures *safe_struct = new safe_VkPhysicalDevice16BitStorageFeatures;
25407 safe_struct->initialize(reinterpret_cast<const VkPhysicalDevice16BitStorageFeatures *>(cur_pnext));
25408 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25409 } break;
25410
25411 case VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS: {
25412 safe_VkMemoryDedicatedRequirements *safe_struct = new safe_VkMemoryDedicatedRequirements;
25413 safe_struct->initialize(reinterpret_cast<const VkMemoryDedicatedRequirements *>(cur_pnext));
25414 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25415 } break;
25416
25417 case VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO: {
25418 safe_VkMemoryDedicatedAllocateInfo *safe_struct = new safe_VkMemoryDedicatedAllocateInfo;
25419 safe_struct->initialize(reinterpret_cast<const VkMemoryDedicatedAllocateInfo *>(cur_pnext));
25420 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25421 } break;
25422
25423 case VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO: {
25424 safe_VkMemoryAllocateFlagsInfo *safe_struct = new safe_VkMemoryAllocateFlagsInfo;
25425 safe_struct->initialize(reinterpret_cast<const VkMemoryAllocateFlagsInfo *>(cur_pnext));
25426 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25427 } break;
25428
25429 case VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO: {
25430 safe_VkDeviceGroupRenderPassBeginInfo *safe_struct = new safe_VkDeviceGroupRenderPassBeginInfo;
25431 safe_struct->initialize(reinterpret_cast<const VkDeviceGroupRenderPassBeginInfo *>(cur_pnext));
25432 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25433 } break;
25434
25435 case VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO: {
25436 safe_VkDeviceGroupCommandBufferBeginInfo *safe_struct = new safe_VkDeviceGroupCommandBufferBeginInfo;
25437 safe_struct->initialize(reinterpret_cast<const VkDeviceGroupCommandBufferBeginInfo *>(cur_pnext));
25438 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25439 } break;
25440
25441 case VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO: {
25442 safe_VkDeviceGroupSubmitInfo *safe_struct = new safe_VkDeviceGroupSubmitInfo;
25443 safe_struct->initialize(reinterpret_cast<const VkDeviceGroupSubmitInfo *>(cur_pnext));
25444 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25445 } break;
25446
25447 case VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO: {
25448 safe_VkDeviceGroupBindSparseInfo *safe_struct = new safe_VkDeviceGroupBindSparseInfo;
25449 safe_struct->initialize(reinterpret_cast<const VkDeviceGroupBindSparseInfo *>(cur_pnext));
25450 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25451 } break;
25452
25453 case VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO: {
25454 safe_VkBindBufferMemoryDeviceGroupInfo *safe_struct = new safe_VkBindBufferMemoryDeviceGroupInfo;
25455 safe_struct->initialize(reinterpret_cast<const VkBindBufferMemoryDeviceGroupInfo *>(cur_pnext));
25456 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25457 } break;
25458
25459 case VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO: {
25460 safe_VkBindImageMemoryDeviceGroupInfo *safe_struct = new safe_VkBindImageMemoryDeviceGroupInfo;
25461 safe_struct->initialize(reinterpret_cast<const VkBindImageMemoryDeviceGroupInfo *>(cur_pnext));
25462 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25463 } break;
25464
25465 case VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO: {
25466 safe_VkDeviceGroupDeviceCreateInfo *safe_struct = new safe_VkDeviceGroupDeviceCreateInfo;
25467 safe_struct->initialize(reinterpret_cast<const VkDeviceGroupDeviceCreateInfo *>(cur_pnext));
25468 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25469 } break;
25470
25471 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2: {
25472 safe_VkPhysicalDeviceFeatures2 *safe_struct = new safe_VkPhysicalDeviceFeatures2;
25473 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceFeatures2 *>(cur_pnext));
25474 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25475 } break;
25476
25477 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES: {
25478 safe_VkPhysicalDevicePointClippingProperties *safe_struct = new safe_VkPhysicalDevicePointClippingProperties;
25479 safe_struct->initialize(reinterpret_cast<const VkPhysicalDevicePointClippingProperties *>(cur_pnext));
25480 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25481 } break;
25482
25483 case VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO: {
25484 safe_VkRenderPassInputAttachmentAspectCreateInfo *safe_struct = new safe_VkRenderPassInputAttachmentAspectCreateInfo;
25485 safe_struct->initialize(reinterpret_cast<const VkRenderPassInputAttachmentAspectCreateInfo *>(cur_pnext));
25486 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25487 } break;
25488
25489 case VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO: {
25490 safe_VkImageViewUsageCreateInfo *safe_struct = new safe_VkImageViewUsageCreateInfo;
25491 safe_struct->initialize(reinterpret_cast<const VkImageViewUsageCreateInfo *>(cur_pnext));
25492 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25493 } break;
25494
25495 case VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO: {
25496 safe_VkPipelineTessellationDomainOriginStateCreateInfo *safe_struct = new safe_VkPipelineTessellationDomainOriginStateCreateInfo;
25497 safe_struct->initialize(reinterpret_cast<const VkPipelineTessellationDomainOriginStateCreateInfo *>(cur_pnext));
25498 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25499 } break;
25500
25501 case VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO: {
25502 safe_VkRenderPassMultiviewCreateInfo *safe_struct = new safe_VkRenderPassMultiviewCreateInfo;
25503 safe_struct->initialize(reinterpret_cast<const VkRenderPassMultiviewCreateInfo *>(cur_pnext));
25504 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25505 } break;
25506
25507 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES: {
25508 safe_VkPhysicalDeviceMultiviewFeatures *safe_struct = new safe_VkPhysicalDeviceMultiviewFeatures;
25509 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceMultiviewFeatures *>(cur_pnext));
25510 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25511 } break;
25512
25513 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES: {
25514 safe_VkPhysicalDeviceMultiviewProperties *safe_struct = new safe_VkPhysicalDeviceMultiviewProperties;
25515 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceMultiviewProperties *>(cur_pnext));
25516 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25517 } break;
25518
25519 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES: {
25520 safe_VkPhysicalDeviceVariablePointersFeatures *safe_struct = new safe_VkPhysicalDeviceVariablePointersFeatures;
25521 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceVariablePointersFeatures *>(cur_pnext));
25522 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25523 } break;
25524
25525 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES: {
25526 safe_VkPhysicalDeviceProtectedMemoryFeatures *safe_struct = new safe_VkPhysicalDeviceProtectedMemoryFeatures;
25527 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceProtectedMemoryFeatures *>(cur_pnext));
25528 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25529 } break;
25530
25531 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES: {
25532 safe_VkPhysicalDeviceProtectedMemoryProperties *safe_struct = new safe_VkPhysicalDeviceProtectedMemoryProperties;
25533 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceProtectedMemoryProperties *>(cur_pnext));
25534 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25535 } break;
25536
25537 case VK_STRUCTURE_TYPE_PROTECTED_SUBMIT_INFO: {
25538 safe_VkProtectedSubmitInfo *safe_struct = new safe_VkProtectedSubmitInfo;
25539 safe_struct->initialize(reinterpret_cast<const VkProtectedSubmitInfo *>(cur_pnext));
25540 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25541 } break;
25542
25543 case VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO: {
25544 safe_VkSamplerYcbcrConversionInfo *safe_struct = new safe_VkSamplerYcbcrConversionInfo;
25545 safe_struct->initialize(reinterpret_cast<const VkSamplerYcbcrConversionInfo *>(cur_pnext));
25546 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25547 } break;
25548
25549 case VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO: {
25550 safe_VkBindImagePlaneMemoryInfo *safe_struct = new safe_VkBindImagePlaneMemoryInfo;
25551 safe_struct->initialize(reinterpret_cast<const VkBindImagePlaneMemoryInfo *>(cur_pnext));
25552 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25553 } break;
25554
25555 case VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO: {
25556 safe_VkImagePlaneMemoryRequirementsInfo *safe_struct = new safe_VkImagePlaneMemoryRequirementsInfo;
25557 safe_struct->initialize(reinterpret_cast<const VkImagePlaneMemoryRequirementsInfo *>(cur_pnext));
25558 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25559 } break;
25560
25561 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES: {
25562 safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures *safe_struct = new safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures;
25563 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceSamplerYcbcrConversionFeatures *>(cur_pnext));
25564 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25565 } break;
25566
25567 case VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES: {
25568 safe_VkSamplerYcbcrConversionImageFormatProperties *safe_struct = new safe_VkSamplerYcbcrConversionImageFormatProperties;
25569 safe_struct->initialize(reinterpret_cast<const VkSamplerYcbcrConversionImageFormatProperties *>(cur_pnext));
25570 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25571 } break;
25572
25573 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO: {
25574 safe_VkPhysicalDeviceExternalImageFormatInfo *safe_struct = new safe_VkPhysicalDeviceExternalImageFormatInfo;
25575 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceExternalImageFormatInfo *>(cur_pnext));
25576 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25577 } break;
25578
25579 case VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES: {
25580 safe_VkExternalImageFormatProperties *safe_struct = new safe_VkExternalImageFormatProperties;
25581 safe_struct->initialize(reinterpret_cast<const VkExternalImageFormatProperties *>(cur_pnext));
25582 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25583 } break;
25584
25585 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES: {
25586 safe_VkPhysicalDeviceIDProperties *safe_struct = new safe_VkPhysicalDeviceIDProperties;
25587 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceIDProperties *>(cur_pnext));
25588 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25589 } break;
25590
25591 case VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO: {
25592 safe_VkExternalMemoryImageCreateInfo *safe_struct = new safe_VkExternalMemoryImageCreateInfo;
25593 safe_struct->initialize(reinterpret_cast<const VkExternalMemoryImageCreateInfo *>(cur_pnext));
25594 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25595 } break;
25596
25597 case VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO: {
25598 safe_VkExternalMemoryBufferCreateInfo *safe_struct = new safe_VkExternalMemoryBufferCreateInfo;
25599 safe_struct->initialize(reinterpret_cast<const VkExternalMemoryBufferCreateInfo *>(cur_pnext));
25600 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25601 } break;
25602
25603 case VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO: {
25604 safe_VkExportMemoryAllocateInfo *safe_struct = new safe_VkExportMemoryAllocateInfo;
25605 safe_struct->initialize(reinterpret_cast<const VkExportMemoryAllocateInfo *>(cur_pnext));
25606 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25607 } break;
25608
25609 case VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO: {
25610 safe_VkExportFenceCreateInfo *safe_struct = new safe_VkExportFenceCreateInfo;
25611 safe_struct->initialize(reinterpret_cast<const VkExportFenceCreateInfo *>(cur_pnext));
25612 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25613 } break;
25614
25615 case VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO: {
25616 safe_VkExportSemaphoreCreateInfo *safe_struct = new safe_VkExportSemaphoreCreateInfo;
25617 safe_struct->initialize(reinterpret_cast<const VkExportSemaphoreCreateInfo *>(cur_pnext));
25618 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25619 } break;
25620
25621 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES: {
25622 safe_VkPhysicalDeviceMaintenance3Properties *safe_struct = new safe_VkPhysicalDeviceMaintenance3Properties;
25623 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceMaintenance3Properties *>(cur_pnext));
25624 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25625 } break;
25626
25627 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETERS_FEATURES: {
25628 safe_VkPhysicalDeviceShaderDrawParametersFeatures *safe_struct = new safe_VkPhysicalDeviceShaderDrawParametersFeatures;
25629 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceShaderDrawParametersFeatures *>(cur_pnext));
25630 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25631 } break;
25632
25633 case VK_STRUCTURE_TYPE_IMAGE_SWAPCHAIN_CREATE_INFO_KHR: {
25634 safe_VkImageSwapchainCreateInfoKHR *safe_struct = new safe_VkImageSwapchainCreateInfoKHR;
25635 safe_struct->initialize(reinterpret_cast<const VkImageSwapchainCreateInfoKHR *>(cur_pnext));
25636 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25637 } break;
25638
25639 case VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_SWAPCHAIN_INFO_KHR: {
25640 safe_VkBindImageMemorySwapchainInfoKHR *safe_struct = new safe_VkBindImageMemorySwapchainInfoKHR;
25641 safe_struct->initialize(reinterpret_cast<const VkBindImageMemorySwapchainInfoKHR *>(cur_pnext));
25642 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25643 } break;
25644
25645 case VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_INFO_KHR: {
25646 safe_VkDeviceGroupPresentInfoKHR *safe_struct = new safe_VkDeviceGroupPresentInfoKHR;
25647 safe_struct->initialize(reinterpret_cast<const VkDeviceGroupPresentInfoKHR *>(cur_pnext));
25648 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25649 } break;
25650
25651 case VK_STRUCTURE_TYPE_DEVICE_GROUP_SWAPCHAIN_CREATE_INFO_KHR: {
25652 safe_VkDeviceGroupSwapchainCreateInfoKHR *safe_struct = new safe_VkDeviceGroupSwapchainCreateInfoKHR;
25653 safe_struct->initialize(reinterpret_cast<const VkDeviceGroupSwapchainCreateInfoKHR *>(cur_pnext));
25654 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25655 } break;
25656
25657 case VK_STRUCTURE_TYPE_DISPLAY_PRESENT_INFO_KHR: {
25658 safe_VkDisplayPresentInfoKHR *safe_struct = new safe_VkDisplayPresentInfoKHR;
25659 safe_struct->initialize(reinterpret_cast<const VkDisplayPresentInfoKHR *>(cur_pnext));
25660 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25661 } break;
25662
25663#ifdef VK_USE_PLATFORM_WIN32_KHR
25664 case VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR: {
25665 safe_VkImportMemoryWin32HandleInfoKHR *safe_struct = new safe_VkImportMemoryWin32HandleInfoKHR;
25666 safe_struct->initialize(reinterpret_cast<const VkImportMemoryWin32HandleInfoKHR *>(cur_pnext));
25667 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25668 } break;
25669#endif // VK_USE_PLATFORM_WIN32_KHR
25670
25671#ifdef VK_USE_PLATFORM_WIN32_KHR
25672 case VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_KHR: {
25673 safe_VkExportMemoryWin32HandleInfoKHR *safe_struct = new safe_VkExportMemoryWin32HandleInfoKHR;
25674 safe_struct->initialize(reinterpret_cast<const VkExportMemoryWin32HandleInfoKHR *>(cur_pnext));
25675 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25676 } break;
25677#endif // VK_USE_PLATFORM_WIN32_KHR
25678
25679 case VK_STRUCTURE_TYPE_IMPORT_MEMORY_FD_INFO_KHR: {
25680 safe_VkImportMemoryFdInfoKHR *safe_struct = new safe_VkImportMemoryFdInfoKHR;
25681 safe_struct->initialize(reinterpret_cast<const VkImportMemoryFdInfoKHR *>(cur_pnext));
25682 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25683 } break;
25684
25685#ifdef VK_USE_PLATFORM_WIN32_KHR
25686 case VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_KHR: {
25687 safe_VkWin32KeyedMutexAcquireReleaseInfoKHR *safe_struct = new safe_VkWin32KeyedMutexAcquireReleaseInfoKHR;
25688 safe_struct->initialize(reinterpret_cast<const VkWin32KeyedMutexAcquireReleaseInfoKHR *>(cur_pnext));
25689 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25690 } break;
25691#endif // VK_USE_PLATFORM_WIN32_KHR
25692
25693#ifdef VK_USE_PLATFORM_WIN32_KHR
25694 case VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR: {
25695 safe_VkExportSemaphoreWin32HandleInfoKHR *safe_struct = new safe_VkExportSemaphoreWin32HandleInfoKHR;
25696 safe_struct->initialize(reinterpret_cast<const VkExportSemaphoreWin32HandleInfoKHR *>(cur_pnext));
25697 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25698 } break;
25699#endif // VK_USE_PLATFORM_WIN32_KHR
25700
25701#ifdef VK_USE_PLATFORM_WIN32_KHR
25702 case VK_STRUCTURE_TYPE_D3D12_FENCE_SUBMIT_INFO_KHR: {
25703 safe_VkD3D12FenceSubmitInfoKHR *safe_struct = new safe_VkD3D12FenceSubmitInfoKHR;
25704 safe_struct->initialize(reinterpret_cast<const VkD3D12FenceSubmitInfoKHR *>(cur_pnext));
25705 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25706 } break;
25707#endif // VK_USE_PLATFORM_WIN32_KHR
25708
25709 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_DESCRIPTOR_PROPERTIES_KHR: {
25710 safe_VkPhysicalDevicePushDescriptorPropertiesKHR *safe_struct = new safe_VkPhysicalDevicePushDescriptorPropertiesKHR;
25711 safe_struct->initialize(reinterpret_cast<const VkPhysicalDevicePushDescriptorPropertiesKHR *>(cur_pnext));
25712 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25713 } break;
25714
25715 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT16_INT8_FEATURES_KHR: {
25716 safe_VkPhysicalDeviceFloat16Int8FeaturesKHR *safe_struct = new safe_VkPhysicalDeviceFloat16Int8FeaturesKHR;
25717 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceFloat16Int8FeaturesKHR *>(cur_pnext));
25718 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25719 } break;
25720
25721 case VK_STRUCTURE_TYPE_PRESENT_REGIONS_KHR: {
25722 safe_VkPresentRegionsKHR *safe_struct = new safe_VkPresentRegionsKHR;
25723 safe_struct->initialize(reinterpret_cast<const VkPresentRegionsKHR *>(cur_pnext));
25724 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25725 } break;
25726
25727 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGELESS_FRAMEBUFFER_FEATURES_KHR: {
25728 safe_VkPhysicalDeviceImagelessFramebufferFeaturesKHR *safe_struct = new safe_VkPhysicalDeviceImagelessFramebufferFeaturesKHR;
25729 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceImagelessFramebufferFeaturesKHR *>(cur_pnext));
25730 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25731 } break;
25732
25733 case VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENTS_CREATE_INFO_KHR: {
25734 safe_VkFramebufferAttachmentsCreateInfoKHR *safe_struct = new safe_VkFramebufferAttachmentsCreateInfoKHR;
25735 safe_struct->initialize(reinterpret_cast<const VkFramebufferAttachmentsCreateInfoKHR *>(cur_pnext));
25736 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25737 } break;
25738
25739 case VK_STRUCTURE_TYPE_RENDER_PASS_ATTACHMENT_BEGIN_INFO_KHR: {
25740 safe_VkRenderPassAttachmentBeginInfoKHR *safe_struct = new safe_VkRenderPassAttachmentBeginInfoKHR;
25741 safe_struct->initialize(reinterpret_cast<const VkRenderPassAttachmentBeginInfoKHR *>(cur_pnext));
25742 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25743 } break;
25744
25745 case VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_KHR: {
25746 safe_VkSharedPresentSurfaceCapabilitiesKHR *safe_struct = new safe_VkSharedPresentSurfaceCapabilitiesKHR;
25747 safe_struct->initialize(reinterpret_cast<const VkSharedPresentSurfaceCapabilitiesKHR *>(cur_pnext));
25748 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25749 } break;
25750
25751#ifdef VK_USE_PLATFORM_WIN32_KHR
25752 case VK_STRUCTURE_TYPE_EXPORT_FENCE_WIN32_HANDLE_INFO_KHR: {
25753 safe_VkExportFenceWin32HandleInfoKHR *safe_struct = new safe_VkExportFenceWin32HandleInfoKHR;
25754 safe_struct->initialize(reinterpret_cast<const VkExportFenceWin32HandleInfoKHR *>(cur_pnext));
25755 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25756 } break;
25757#endif // VK_USE_PLATFORM_WIN32_KHR
25758
25759 case VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO_KHR: {
25760 safe_VkImageFormatListCreateInfoKHR *safe_struct = new safe_VkImageFormatListCreateInfoKHR;
25761 safe_struct->initialize(reinterpret_cast<const VkImageFormatListCreateInfoKHR *>(cur_pnext));
25762 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25763 } break;
25764
25765 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES_KHR: {
25766 safe_VkPhysicalDevice8BitStorageFeaturesKHR *safe_struct = new safe_VkPhysicalDevice8BitStorageFeaturesKHR;
25767 safe_struct->initialize(reinterpret_cast<const VkPhysicalDevice8BitStorageFeaturesKHR *>(cur_pnext));
25768 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25769 } break;
25770
25771 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURES_KHR: {
25772 safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR *safe_struct = new safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR;
25773 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceShaderAtomicInt64FeaturesKHR *>(cur_pnext));
25774 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25775 } break;
25776
25777 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIES_KHR: {
25778 safe_VkPhysicalDeviceDriverPropertiesKHR *safe_struct = new safe_VkPhysicalDeviceDriverPropertiesKHR;
25779 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceDriverPropertiesKHR *>(cur_pnext));
25780 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25781 } break;
25782
25783 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIES_KHR: {
25784 safe_VkPhysicalDeviceFloatControlsPropertiesKHR *safe_struct = new safe_VkPhysicalDeviceFloatControlsPropertiesKHR;
25785 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceFloatControlsPropertiesKHR *>(cur_pnext));
25786 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25787 } break;
25788
25789 case VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_DEPTH_STENCIL_RESOLVE_KHR: {
25790 safe_VkSubpassDescriptionDepthStencilResolveKHR *safe_struct = new safe_VkSubpassDescriptionDepthStencilResolveKHR;
25791 safe_struct->initialize(reinterpret_cast<const VkSubpassDescriptionDepthStencilResolveKHR *>(cur_pnext));
25792 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25793 } break;
25794
25795 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_STENCIL_RESOLVE_PROPERTIES_KHR: {
25796 safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR *safe_struct = new safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR;
25797 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceDepthStencilResolvePropertiesKHR *>(cur_pnext));
25798 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25799 } break;
25800
25801 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_MEMORY_MODEL_FEATURES_KHR: {
25802 safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR *safe_struct = new safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR;
25803 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceVulkanMemoryModelFeaturesKHR *>(cur_pnext));
25804 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25805 } break;
25806
25807 case VK_STRUCTURE_TYPE_SURFACE_PROTECTED_CAPABILITIES_KHR: {
25808 safe_VkSurfaceProtectedCapabilitiesKHR *safe_struct = new safe_VkSurfaceProtectedCapabilitiesKHR;
25809 safe_struct->initialize(reinterpret_cast<const VkSurfaceProtectedCapabilitiesKHR *>(cur_pnext));
25810 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25811 } break;
25812
25813 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES_KHR: {
25814 safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR *safe_struct = new safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR;
25815 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR *>(cur_pnext));
25816 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25817 } break;
25818
25819 case VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT: {
25820 safe_VkDebugReportCallbackCreateInfoEXT *safe_struct = new safe_VkDebugReportCallbackCreateInfoEXT;
25821 safe_struct->initialize(reinterpret_cast<const VkDebugReportCallbackCreateInfoEXT *>(cur_pnext));
25822 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25823 } break;
25824
25825 case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMD: {
25826 safe_VkPipelineRasterizationStateRasterizationOrderAMD *safe_struct = new safe_VkPipelineRasterizationStateRasterizationOrderAMD;
25827 safe_struct->initialize(reinterpret_cast<const VkPipelineRasterizationStateRasterizationOrderAMD *>(cur_pnext));
25828 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25829 } break;
25830
25831 case VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV: {
25832 safe_VkDedicatedAllocationImageCreateInfoNV *safe_struct = new safe_VkDedicatedAllocationImageCreateInfoNV;
25833 safe_struct->initialize(reinterpret_cast<const VkDedicatedAllocationImageCreateInfoNV *>(cur_pnext));
25834 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25835 } break;
25836
25837 case VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_BUFFER_CREATE_INFO_NV: {
25838 safe_VkDedicatedAllocationBufferCreateInfoNV *safe_struct = new safe_VkDedicatedAllocationBufferCreateInfoNV;
25839 safe_struct->initialize(reinterpret_cast<const VkDedicatedAllocationBufferCreateInfoNV *>(cur_pnext));
25840 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25841 } break;
25842
25843 case VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV: {
25844 safe_VkDedicatedAllocationMemoryAllocateInfoNV *safe_struct = new safe_VkDedicatedAllocationMemoryAllocateInfoNV;
25845 safe_struct->initialize(reinterpret_cast<const VkDedicatedAllocationMemoryAllocateInfoNV *>(cur_pnext));
25846 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25847 } break;
25848
25849 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_FEATURES_EXT: {
25850 safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT *safe_struct = new safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT;
25851 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceTransformFeedbackFeaturesEXT *>(cur_pnext));
25852 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25853 } break;
25854
25855 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_PROPERTIES_EXT: {
25856 safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT *safe_struct = new safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT;
25857 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceTransformFeedbackPropertiesEXT *>(cur_pnext));
25858 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25859 } break;
25860
25861 case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_STREAM_CREATE_INFO_EXT: {
25862 safe_VkPipelineRasterizationStateStreamCreateInfoEXT *safe_struct = new safe_VkPipelineRasterizationStateStreamCreateInfoEXT;
25863 safe_struct->initialize(reinterpret_cast<const VkPipelineRasterizationStateStreamCreateInfoEXT *>(cur_pnext));
25864 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25865 } break;
25866
25867 case VK_STRUCTURE_TYPE_TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMD: {
25868 safe_VkTextureLODGatherFormatPropertiesAMD *safe_struct = new safe_VkTextureLODGatherFormatPropertiesAMD;
25869 safe_struct->initialize(reinterpret_cast<const VkTextureLODGatherFormatPropertiesAMD *>(cur_pnext));
25870 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25871 } break;
25872
25873 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CORNER_SAMPLED_IMAGE_FEATURES_NV: {
25874 safe_VkPhysicalDeviceCornerSampledImageFeaturesNV *safe_struct = new safe_VkPhysicalDeviceCornerSampledImageFeaturesNV;
25875 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceCornerSampledImageFeaturesNV *>(cur_pnext));
25876 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25877 } break;
25878
25879 case VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO_NV: {
25880 safe_VkExternalMemoryImageCreateInfoNV *safe_struct = new safe_VkExternalMemoryImageCreateInfoNV;
25881 safe_struct->initialize(reinterpret_cast<const VkExternalMemoryImageCreateInfoNV *>(cur_pnext));
25882 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25883 } break;
25884
25885 case VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO_NV: {
25886 safe_VkExportMemoryAllocateInfoNV *safe_struct = new safe_VkExportMemoryAllocateInfoNV;
25887 safe_struct->initialize(reinterpret_cast<const VkExportMemoryAllocateInfoNV *>(cur_pnext));
25888 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25889 } break;
25890
25891#ifdef VK_USE_PLATFORM_WIN32_KHR
25892 case VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_NV: {
25893 safe_VkImportMemoryWin32HandleInfoNV *safe_struct = new safe_VkImportMemoryWin32HandleInfoNV;
25894 safe_struct->initialize(reinterpret_cast<const VkImportMemoryWin32HandleInfoNV *>(cur_pnext));
25895 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25896 } break;
25897#endif // VK_USE_PLATFORM_WIN32_KHR
25898
25899#ifdef VK_USE_PLATFORM_WIN32_KHR
25900 case VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_NV: {
25901 safe_VkExportMemoryWin32HandleInfoNV *safe_struct = new safe_VkExportMemoryWin32HandleInfoNV;
25902 safe_struct->initialize(reinterpret_cast<const VkExportMemoryWin32HandleInfoNV *>(cur_pnext));
25903 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25904 } break;
25905#endif // VK_USE_PLATFORM_WIN32_KHR
25906
25907#ifdef VK_USE_PLATFORM_WIN32_KHR
25908 case VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_NV: {
25909 safe_VkWin32KeyedMutexAcquireReleaseInfoNV *safe_struct = new safe_VkWin32KeyedMutexAcquireReleaseInfoNV;
25910 safe_struct->initialize(reinterpret_cast<const VkWin32KeyedMutexAcquireReleaseInfoNV *>(cur_pnext));
25911 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25912 } break;
25913#endif // VK_USE_PLATFORM_WIN32_KHR
25914
25915 case VK_STRUCTURE_TYPE_VALIDATION_FLAGS_EXT: {
25916 safe_VkValidationFlagsEXT *safe_struct = new safe_VkValidationFlagsEXT;
25917 safe_struct->initialize(reinterpret_cast<const VkValidationFlagsEXT *>(cur_pnext));
25918 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25919 } break;
25920
25921 case VK_STRUCTURE_TYPE_IMAGE_VIEW_ASTC_DECODE_MODE_EXT: {
25922 safe_VkImageViewASTCDecodeModeEXT *safe_struct = new safe_VkImageViewASTCDecodeModeEXT;
25923 safe_struct->initialize(reinterpret_cast<const VkImageViewASTCDecodeModeEXT *>(cur_pnext));
25924 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25925 } break;
25926
25927 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ASTC_DECODE_FEATURES_EXT: {
25928 safe_VkPhysicalDeviceASTCDecodeFeaturesEXT *safe_struct = new safe_VkPhysicalDeviceASTCDecodeFeaturesEXT;
25929 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceASTCDecodeFeaturesEXT *>(cur_pnext));
25930 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25931 } break;
25932
25933 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONDITIONAL_RENDERING_FEATURES_EXT: {
25934 safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT *safe_struct = new safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT;
25935 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceConditionalRenderingFeaturesEXT *>(cur_pnext));
25936 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25937 } break;
25938
25939 case VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_CONDITIONAL_RENDERING_INFO_EXT: {
25940 safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT *safe_struct = new safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT;
25941 safe_struct->initialize(reinterpret_cast<const VkCommandBufferInheritanceConditionalRenderingInfoEXT *>(cur_pnext));
25942 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25943 } break;
25944
25945 case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_W_SCALING_STATE_CREATE_INFO_NV: {
25946 safe_VkPipelineViewportWScalingStateCreateInfoNV *safe_struct = new safe_VkPipelineViewportWScalingStateCreateInfoNV;
25947 safe_struct->initialize(reinterpret_cast<const VkPipelineViewportWScalingStateCreateInfoNV *>(cur_pnext));
25948 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25949 } break;
25950
25951 case VK_STRUCTURE_TYPE_SWAPCHAIN_COUNTER_CREATE_INFO_EXT: {
25952 safe_VkSwapchainCounterCreateInfoEXT *safe_struct = new safe_VkSwapchainCounterCreateInfoEXT;
25953 safe_struct->initialize(reinterpret_cast<const VkSwapchainCounterCreateInfoEXT *>(cur_pnext));
25954 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25955 } break;
25956
25957 case VK_STRUCTURE_TYPE_PRESENT_TIMES_INFO_GOOGLE: {
25958 safe_VkPresentTimesInfoGOOGLE *safe_struct = new safe_VkPresentTimesInfoGOOGLE;
25959 safe_struct->initialize(reinterpret_cast<const VkPresentTimesInfoGOOGLE *>(cur_pnext));
25960 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25961 } break;
25962
25963 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_ATTRIBUTES_PROPERTIES_NVX: {
25964 safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX *safe_struct = new safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX;
25965 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX *>(cur_pnext));
25966 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25967 } break;
25968
25969 case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV: {
25970 safe_VkPipelineViewportSwizzleStateCreateInfoNV *safe_struct = new safe_VkPipelineViewportSwizzleStateCreateInfoNV;
25971 safe_struct->initialize(reinterpret_cast<const VkPipelineViewportSwizzleStateCreateInfoNV *>(cur_pnext));
25972 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25973 } break;
25974
25975 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DISCARD_RECTANGLE_PROPERTIES_EXT: {
25976 safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT *safe_struct = new safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT;
25977 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceDiscardRectanglePropertiesEXT *>(cur_pnext));
25978 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25979 } break;
25980
25981 case VK_STRUCTURE_TYPE_PIPELINE_DISCARD_RECTANGLE_STATE_CREATE_INFO_EXT: {
25982 safe_VkPipelineDiscardRectangleStateCreateInfoEXT *safe_struct = new safe_VkPipelineDiscardRectangleStateCreateInfoEXT;
25983 safe_struct->initialize(reinterpret_cast<const VkPipelineDiscardRectangleStateCreateInfoEXT *>(cur_pnext));
25984 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25985 } break;
25986
25987 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONSERVATIVE_RASTERIZATION_PROPERTIES_EXT: {
25988 safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT *safe_struct = new safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT;
25989 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceConservativeRasterizationPropertiesEXT *>(cur_pnext));
25990 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25991 } break;
25992
25993 case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_CONSERVATIVE_STATE_CREATE_INFO_EXT: {
25994 safe_VkPipelineRasterizationConservativeStateCreateInfoEXT *safe_struct = new safe_VkPipelineRasterizationConservativeStateCreateInfoEXT;
25995 safe_struct->initialize(reinterpret_cast<const VkPipelineRasterizationConservativeStateCreateInfoEXT *>(cur_pnext));
25996 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
25997 } break;
25998
25999 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_ENABLE_FEATURES_EXT: {
26000 safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT *safe_struct = new safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT;
26001 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceDepthClipEnableFeaturesEXT *>(cur_pnext));
26002 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26003 } break;
26004
26005 case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_DEPTH_CLIP_STATE_CREATE_INFO_EXT: {
26006 safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT *safe_struct = new safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT;
26007 safe_struct->initialize(reinterpret_cast<const VkPipelineRasterizationDepthClipStateCreateInfoEXT *>(cur_pnext));
26008 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26009 } break;
26010
26011 case VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT: {
26012 safe_VkDebugUtilsMessengerCreateInfoEXT *safe_struct = new safe_VkDebugUtilsMessengerCreateInfoEXT;
26013 safe_struct->initialize(reinterpret_cast<const VkDebugUtilsMessengerCreateInfoEXT *>(cur_pnext));
26014 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26015 } break;
26016
26017#ifdef VK_USE_PLATFORM_ANDROID_KHR
26018 case VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_USAGE_ANDROID: {
26019 safe_VkAndroidHardwareBufferUsageANDROID *safe_struct = new safe_VkAndroidHardwareBufferUsageANDROID;
26020 safe_struct->initialize(reinterpret_cast<const VkAndroidHardwareBufferUsageANDROID *>(cur_pnext));
26021 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26022 } break;
26023#endif // VK_USE_PLATFORM_ANDROID_KHR
26024
26025#ifdef VK_USE_PLATFORM_ANDROID_KHR
26026 case VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_ANDROID: {
26027 safe_VkAndroidHardwareBufferFormatPropertiesANDROID *safe_struct = new safe_VkAndroidHardwareBufferFormatPropertiesANDROID;
26028 safe_struct->initialize(reinterpret_cast<const VkAndroidHardwareBufferFormatPropertiesANDROID *>(cur_pnext));
26029 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26030 } break;
26031#endif // VK_USE_PLATFORM_ANDROID_KHR
26032
26033#ifdef VK_USE_PLATFORM_ANDROID_KHR
26034 case VK_STRUCTURE_TYPE_IMPORT_ANDROID_HARDWARE_BUFFER_INFO_ANDROID: {
26035 safe_VkImportAndroidHardwareBufferInfoANDROID *safe_struct = new safe_VkImportAndroidHardwareBufferInfoANDROID;
26036 safe_struct->initialize(reinterpret_cast<const VkImportAndroidHardwareBufferInfoANDROID *>(cur_pnext));
26037 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26038 } break;
26039#endif // VK_USE_PLATFORM_ANDROID_KHR
26040
26041#ifdef VK_USE_PLATFORM_ANDROID_KHR
26042 case VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_ANDROID: {
26043 safe_VkExternalFormatANDROID *safe_struct = new safe_VkExternalFormatANDROID;
26044 safe_struct->initialize(reinterpret_cast<const VkExternalFormatANDROID *>(cur_pnext));
26045 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26046 } break;
26047#endif // VK_USE_PLATFORM_ANDROID_KHR
26048
26049 case VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO_EXT: {
26050 safe_VkSamplerReductionModeCreateInfoEXT *safe_struct = new safe_VkSamplerReductionModeCreateInfoEXT;
26051 safe_struct->initialize(reinterpret_cast<const VkSamplerReductionModeCreateInfoEXT *>(cur_pnext));
26052 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26053 } break;
26054
26055 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES_EXT: {
26056 safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT *safe_struct = new safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT;
26057 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT *>(cur_pnext));
26058 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26059 } break;
26060
26061 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_FEATURES_EXT: {
26062 safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT *safe_struct = new safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT;
26063 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceInlineUniformBlockFeaturesEXT *>(cur_pnext));
26064 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26065 } break;
26066
26067 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_PROPERTIES_EXT: {
26068 safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT *safe_struct = new safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT;
26069 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceInlineUniformBlockPropertiesEXT *>(cur_pnext));
26070 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26071 } break;
26072
26073 case VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_INLINE_UNIFORM_BLOCK_EXT: {
26074 safe_VkWriteDescriptorSetInlineUniformBlockEXT *safe_struct = new safe_VkWriteDescriptorSetInlineUniformBlockEXT;
26075 safe_struct->initialize(reinterpret_cast<const VkWriteDescriptorSetInlineUniformBlockEXT *>(cur_pnext));
26076 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26077 } break;
26078
26079 case VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_INLINE_UNIFORM_BLOCK_CREATE_INFO_EXT: {
26080 safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT *safe_struct = new safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT;
26081 safe_struct->initialize(reinterpret_cast<const VkDescriptorPoolInlineUniformBlockCreateInfoEXT *>(cur_pnext));
26082 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26083 } break;
26084
26085 case VK_STRUCTURE_TYPE_SAMPLE_LOCATIONS_INFO_EXT: {
26086 safe_VkSampleLocationsInfoEXT *safe_struct = new safe_VkSampleLocationsInfoEXT;
26087 safe_struct->initialize(reinterpret_cast<const VkSampleLocationsInfoEXT *>(cur_pnext));
26088 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26089 } break;
26090
26091 case VK_STRUCTURE_TYPE_RENDER_PASS_SAMPLE_LOCATIONS_BEGIN_INFO_EXT: {
26092 safe_VkRenderPassSampleLocationsBeginInfoEXT *safe_struct = new safe_VkRenderPassSampleLocationsBeginInfoEXT;
26093 safe_struct->initialize(reinterpret_cast<const VkRenderPassSampleLocationsBeginInfoEXT *>(cur_pnext));
26094 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26095 } break;
26096
26097 case VK_STRUCTURE_TYPE_PIPELINE_SAMPLE_LOCATIONS_STATE_CREATE_INFO_EXT: {
26098 safe_VkPipelineSampleLocationsStateCreateInfoEXT *safe_struct = new safe_VkPipelineSampleLocationsStateCreateInfoEXT;
26099 safe_struct->initialize(reinterpret_cast<const VkPipelineSampleLocationsStateCreateInfoEXT *>(cur_pnext));
26100 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26101 } break;
26102
26103 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLE_LOCATIONS_PROPERTIES_EXT: {
26104 safe_VkPhysicalDeviceSampleLocationsPropertiesEXT *safe_struct = new safe_VkPhysicalDeviceSampleLocationsPropertiesEXT;
26105 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceSampleLocationsPropertiesEXT *>(cur_pnext));
26106 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26107 } break;
26108
26109 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_FEATURES_EXT: {
26110 safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT *safe_struct = new safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT;
26111 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT *>(cur_pnext));
26112 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26113 } break;
26114
26115 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_PROPERTIES_EXT: {
26116 safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT *safe_struct = new safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT;
26117 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT *>(cur_pnext));
26118 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26119 } break;
26120
26121 case VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_ADVANCED_STATE_CREATE_INFO_EXT: {
26122 safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT *safe_struct = new safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT;
26123 safe_struct->initialize(reinterpret_cast<const VkPipelineColorBlendAdvancedStateCreateInfoEXT *>(cur_pnext));
26124 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26125 } break;
26126
26127 case VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV: {
26128 safe_VkPipelineCoverageToColorStateCreateInfoNV *safe_struct = new safe_VkPipelineCoverageToColorStateCreateInfoNV;
26129 safe_struct->initialize(reinterpret_cast<const VkPipelineCoverageToColorStateCreateInfoNV *>(cur_pnext));
26130 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26131 } break;
26132
26133 case VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_MODULATION_STATE_CREATE_INFO_NV: {
26134 safe_VkPipelineCoverageModulationStateCreateInfoNV *safe_struct = new safe_VkPipelineCoverageModulationStateCreateInfoNV;
26135 safe_struct->initialize(reinterpret_cast<const VkPipelineCoverageModulationStateCreateInfoNV *>(cur_pnext));
26136 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26137 } break;
26138
26139 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SM_BUILTINS_PROPERTIES_NV: {
26140 safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV *safe_struct = new safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV;
26141 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceShaderSMBuiltinsPropertiesNV *>(cur_pnext));
26142 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26143 } break;
26144
26145 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SM_BUILTINS_FEATURES_NV: {
26146 safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV *safe_struct = new safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV;
26147 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceShaderSMBuiltinsFeaturesNV *>(cur_pnext));
26148 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26149 } break;
26150
26151 case VK_STRUCTURE_TYPE_DRM_FORMAT_MODIFIER_PROPERTIES_LIST_EXT: {
26152 safe_VkDrmFormatModifierPropertiesListEXT *safe_struct = new safe_VkDrmFormatModifierPropertiesListEXT;
26153 safe_struct->initialize(reinterpret_cast<const VkDrmFormatModifierPropertiesListEXT *>(cur_pnext));
26154 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26155 } break;
26156
26157 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_DRM_FORMAT_MODIFIER_INFO_EXT: {
26158 safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT *safe_struct = new safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT;
26159 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceImageDrmFormatModifierInfoEXT *>(cur_pnext));
26160 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26161 } break;
26162
26163 case VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_LIST_CREATE_INFO_EXT: {
26164 safe_VkImageDrmFormatModifierListCreateInfoEXT *safe_struct = new safe_VkImageDrmFormatModifierListCreateInfoEXT;
26165 safe_struct->initialize(reinterpret_cast<const VkImageDrmFormatModifierListCreateInfoEXT *>(cur_pnext));
26166 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26167 } break;
26168
26169 case VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_EXPLICIT_CREATE_INFO_EXT: {
26170 safe_VkImageDrmFormatModifierExplicitCreateInfoEXT *safe_struct = new safe_VkImageDrmFormatModifierExplicitCreateInfoEXT;
26171 safe_struct->initialize(reinterpret_cast<const VkImageDrmFormatModifierExplicitCreateInfoEXT *>(cur_pnext));
26172 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26173 } break;
26174
26175 case VK_STRUCTURE_TYPE_SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXT: {
26176 safe_VkShaderModuleValidationCacheCreateInfoEXT *safe_struct = new safe_VkShaderModuleValidationCacheCreateInfoEXT;
26177 safe_struct->initialize(reinterpret_cast<const VkShaderModuleValidationCacheCreateInfoEXT *>(cur_pnext));
26178 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26179 } break;
26180
26181 case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO_EXT: {
26182 safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT *safe_struct = new safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT;
26183 safe_struct->initialize(reinterpret_cast<const VkDescriptorSetLayoutBindingFlagsCreateInfoEXT *>(cur_pnext));
26184 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26185 } break;
26186
26187 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES_EXT: {
26188 safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT *safe_struct = new safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT;
26189 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceDescriptorIndexingFeaturesEXT *>(cur_pnext));
26190 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26191 } break;
26192
26193 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_PROPERTIES_EXT: {
26194 safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT *safe_struct = new safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT;
26195 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceDescriptorIndexingPropertiesEXT *>(cur_pnext));
26196 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26197 } break;
26198
26199 case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO_EXT: {
26200 safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT *safe_struct = new safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT;
26201 safe_struct->initialize(reinterpret_cast<const VkDescriptorSetVariableDescriptorCountAllocateInfoEXT *>(cur_pnext));
26202 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26203 } break;
26204
26205 case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT_EXT: {
26206 safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT *safe_struct = new safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT;
26207 safe_struct->initialize(reinterpret_cast<const VkDescriptorSetVariableDescriptorCountLayoutSupportEXT *>(cur_pnext));
26208 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26209 } break;
26210
26211 case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SHADING_RATE_IMAGE_STATE_CREATE_INFO_NV: {
26212 safe_VkPipelineViewportShadingRateImageStateCreateInfoNV *safe_struct = new safe_VkPipelineViewportShadingRateImageStateCreateInfoNV;
26213 safe_struct->initialize(reinterpret_cast<const VkPipelineViewportShadingRateImageStateCreateInfoNV *>(cur_pnext));
26214 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26215 } break;
26216
26217 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_FEATURES_NV: {
26218 safe_VkPhysicalDeviceShadingRateImageFeaturesNV *safe_struct = new safe_VkPhysicalDeviceShadingRateImageFeaturesNV;
26219 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceShadingRateImageFeaturesNV *>(cur_pnext));
26220 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26221 } break;
26222
26223 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_PROPERTIES_NV: {
26224 safe_VkPhysicalDeviceShadingRateImagePropertiesNV *safe_struct = new safe_VkPhysicalDeviceShadingRateImagePropertiesNV;
26225 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceShadingRateImagePropertiesNV *>(cur_pnext));
26226 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26227 } break;
26228
26229 case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_COARSE_SAMPLE_ORDER_STATE_CREATE_INFO_NV: {
26230 safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV *safe_struct = new safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV;
26231 safe_struct->initialize(reinterpret_cast<const VkPipelineViewportCoarseSampleOrderStateCreateInfoNV *>(cur_pnext));
26232 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26233 } break;
26234
26235 case VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_NV: {
26236 safe_VkWriteDescriptorSetAccelerationStructureNV *safe_struct = new safe_VkWriteDescriptorSetAccelerationStructureNV;
26237 safe_struct->initialize(reinterpret_cast<const VkWriteDescriptorSetAccelerationStructureNV *>(cur_pnext));
26238 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26239 } break;
26240
26241 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PROPERTIES_NV: {
26242 safe_VkPhysicalDeviceRayTracingPropertiesNV *safe_struct = new safe_VkPhysicalDeviceRayTracingPropertiesNV;
26243 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceRayTracingPropertiesNV *>(cur_pnext));
26244 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26245 } break;
26246
26247 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_REPRESENTATIVE_FRAGMENT_TEST_FEATURES_NV: {
26248 safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV *safe_struct = new safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV;
26249 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV *>(cur_pnext));
26250 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26251 } break;
26252
26253 case VK_STRUCTURE_TYPE_PIPELINE_REPRESENTATIVE_FRAGMENT_TEST_STATE_CREATE_INFO_NV: {
26254 safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV *safe_struct = new safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV;
26255 safe_struct->initialize(reinterpret_cast<const VkPipelineRepresentativeFragmentTestStateCreateInfoNV *>(cur_pnext));
26256 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26257 } break;
26258
26259 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_VIEW_IMAGE_FORMAT_INFO_EXT: {
26260 safe_VkPhysicalDeviceImageViewImageFormatInfoEXT *safe_struct = new safe_VkPhysicalDeviceImageViewImageFormatInfoEXT;
26261 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceImageViewImageFormatInfoEXT *>(cur_pnext));
26262 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26263 } break;
26264
26265 case VK_STRUCTURE_TYPE_FILTER_CUBIC_IMAGE_VIEW_IMAGE_FORMAT_PROPERTIES_EXT: {
26266 safe_VkFilterCubicImageViewImageFormatPropertiesEXT *safe_struct = new safe_VkFilterCubicImageViewImageFormatPropertiesEXT;
26267 safe_struct->initialize(reinterpret_cast<const VkFilterCubicImageViewImageFormatPropertiesEXT *>(cur_pnext));
26268 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26269 } break;
26270
26271 case VK_STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_EXT: {
26272 safe_VkDeviceQueueGlobalPriorityCreateInfoEXT *safe_struct = new safe_VkDeviceQueueGlobalPriorityCreateInfoEXT;
26273 safe_struct->initialize(reinterpret_cast<const VkDeviceQueueGlobalPriorityCreateInfoEXT *>(cur_pnext));
26274 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26275 } break;
26276
26277 case VK_STRUCTURE_TYPE_IMPORT_MEMORY_HOST_POINTER_INFO_EXT: {
26278 safe_VkImportMemoryHostPointerInfoEXT *safe_struct = new safe_VkImportMemoryHostPointerInfoEXT;
26279 safe_struct->initialize(reinterpret_cast<const VkImportMemoryHostPointerInfoEXT *>(cur_pnext));
26280 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26281 } break;
26282
26283 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_HOST_PROPERTIES_EXT: {
26284 safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT *safe_struct = new safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT;
26285 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceExternalMemoryHostPropertiesEXT *>(cur_pnext));
26286 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26287 } break;
26288
26289 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_AMD: {
26290 safe_VkPhysicalDeviceShaderCorePropertiesAMD *safe_struct = new safe_VkPhysicalDeviceShaderCorePropertiesAMD;
26291 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceShaderCorePropertiesAMD *>(cur_pnext));
26292 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26293 } break;
26294
26295 case VK_STRUCTURE_TYPE_DEVICE_MEMORY_OVERALLOCATION_CREATE_INFO_AMD: {
26296 safe_VkDeviceMemoryOverallocationCreateInfoAMD *safe_struct = new safe_VkDeviceMemoryOverallocationCreateInfoAMD;
26297 safe_struct->initialize(reinterpret_cast<const VkDeviceMemoryOverallocationCreateInfoAMD *>(cur_pnext));
26298 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26299 } break;
26300
26301 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_EXT: {
26302 safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT *safe_struct = new safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT;
26303 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT *>(cur_pnext));
26304 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26305 } break;
26306
26307 case VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_EXT: {
26308 safe_VkPipelineVertexInputDivisorStateCreateInfoEXT *safe_struct = new safe_VkPipelineVertexInputDivisorStateCreateInfoEXT;
26309 safe_struct->initialize(reinterpret_cast<const VkPipelineVertexInputDivisorStateCreateInfoEXT *>(cur_pnext));
26310 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26311 } break;
26312
26313 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_EXT: {
26314 safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT *safe_struct = new safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT;
26315 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT *>(cur_pnext));
26316 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26317 } break;
26318
26319#ifdef VK_USE_PLATFORM_GGP
26320 case VK_STRUCTURE_TYPE_PRESENT_FRAME_TOKEN_GGP: {
26321 safe_VkPresentFrameTokenGGP *safe_struct = new safe_VkPresentFrameTokenGGP;
26322 safe_struct->initialize(reinterpret_cast<const VkPresentFrameTokenGGP *>(cur_pnext));
26323 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26324 } break;
26325#endif // VK_USE_PLATFORM_GGP
26326
26327 case VK_STRUCTURE_TYPE_PIPELINE_CREATION_FEEDBACK_CREATE_INFO_EXT: {
26328 safe_VkPipelineCreationFeedbackCreateInfoEXT *safe_struct = new safe_VkPipelineCreationFeedbackCreateInfoEXT;
26329 safe_struct->initialize(reinterpret_cast<const VkPipelineCreationFeedbackCreateInfoEXT *>(cur_pnext));
26330 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26331 } break;
26332
26333 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_FEATURES_NV: {
26334 safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV *safe_struct = new safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV;
26335 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceComputeShaderDerivativesFeaturesNV *>(cur_pnext));
26336 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26337 } break;
26338
26339 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_FEATURES_NV: {
26340 safe_VkPhysicalDeviceMeshShaderFeaturesNV *safe_struct = new safe_VkPhysicalDeviceMeshShaderFeaturesNV;
26341 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceMeshShaderFeaturesNV *>(cur_pnext));
26342 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26343 } break;
26344
26345 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_PROPERTIES_NV: {
26346 safe_VkPhysicalDeviceMeshShaderPropertiesNV *safe_struct = new safe_VkPhysicalDeviceMeshShaderPropertiesNV;
26347 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceMeshShaderPropertiesNV *>(cur_pnext));
26348 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26349 } break;
26350
26351 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_FEATURES_NV: {
26352 safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV *safe_struct = new safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV;
26353 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV *>(cur_pnext));
26354 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26355 } break;
26356
26357 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_IMAGE_FOOTPRINT_FEATURES_NV: {
26358 safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV *safe_struct = new safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV;
26359 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceShaderImageFootprintFeaturesNV *>(cur_pnext));
26360 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26361 } break;
26362
26363 case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_EXCLUSIVE_SCISSOR_STATE_CREATE_INFO_NV: {
26364 safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV *safe_struct = new safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV;
26365 safe_struct->initialize(reinterpret_cast<const VkPipelineViewportExclusiveScissorStateCreateInfoNV *>(cur_pnext));
26366 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26367 } break;
26368
26369 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXCLUSIVE_SCISSOR_FEATURES_NV: {
26370 safe_VkPhysicalDeviceExclusiveScissorFeaturesNV *safe_struct = new safe_VkPhysicalDeviceExclusiveScissorFeaturesNV;
26371 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceExclusiveScissorFeaturesNV *>(cur_pnext));
26372 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26373 } break;
26374
26375 case VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_NV: {
26376 safe_VkQueueFamilyCheckpointPropertiesNV *safe_struct = new safe_VkQueueFamilyCheckpointPropertiesNV;
26377 safe_struct->initialize(reinterpret_cast<const VkQueueFamilyCheckpointPropertiesNV *>(cur_pnext));
26378 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26379 } break;
26380
26381 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_FUNCTIONS2_FEATURES_INTEL: {
26382 safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL *safe_struct = new safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL;
26383 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceShaderIntegerFunctions2INTEL *>(cur_pnext));
26384 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26385 } break;
26386
26387 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PCI_BUS_INFO_PROPERTIES_EXT: {
26388 safe_VkPhysicalDevicePCIBusInfoPropertiesEXT *safe_struct = new safe_VkPhysicalDevicePCIBusInfoPropertiesEXT;
26389 safe_struct->initialize(reinterpret_cast<const VkPhysicalDevicePCIBusInfoPropertiesEXT *>(cur_pnext));
26390 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26391 } break;
26392
26393 case VK_STRUCTURE_TYPE_DISPLAY_NATIVE_HDR_SURFACE_CAPABILITIES_AMD: {
26394 safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD *safe_struct = new safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD;
26395 safe_struct->initialize(reinterpret_cast<const VkDisplayNativeHdrSurfaceCapabilitiesAMD *>(cur_pnext));
26396 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26397 } break;
26398
26399 case VK_STRUCTURE_TYPE_SWAPCHAIN_DISPLAY_NATIVE_HDR_CREATE_INFO_AMD: {
26400 safe_VkSwapchainDisplayNativeHdrCreateInfoAMD *safe_struct = new safe_VkSwapchainDisplayNativeHdrCreateInfoAMD;
26401 safe_struct->initialize(reinterpret_cast<const VkSwapchainDisplayNativeHdrCreateInfoAMD *>(cur_pnext));
26402 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26403 } break;
26404
26405 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_FEATURES_EXT: {
26406 safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT *safe_struct = new safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT;
26407 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceFragmentDensityMapFeaturesEXT *>(cur_pnext));
26408 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26409 } break;
26410
26411 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_PROPERTIES_EXT: {
26412 safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT *safe_struct = new safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT;
26413 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceFragmentDensityMapPropertiesEXT *>(cur_pnext));
26414 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26415 } break;
26416
26417 case VK_STRUCTURE_TYPE_RENDER_PASS_FRAGMENT_DENSITY_MAP_CREATE_INFO_EXT: {
26418 safe_VkRenderPassFragmentDensityMapCreateInfoEXT *safe_struct = new safe_VkRenderPassFragmentDensityMapCreateInfoEXT;
26419 safe_struct->initialize(reinterpret_cast<const VkRenderPassFragmentDensityMapCreateInfoEXT *>(cur_pnext));
26420 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26421 } break;
26422
26423 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURES_EXT: {
26424 safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT *safe_struct = new safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT;
26425 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceScalarBlockLayoutFeaturesEXT *>(cur_pnext));
26426 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26427 } break;
26428
26429 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_BUDGET_PROPERTIES_EXT: {
26430 safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT *safe_struct = new safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT;
26431 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceMemoryBudgetPropertiesEXT *>(cur_pnext));
26432 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26433 } break;
26434
26435 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PRIORITY_FEATURES_EXT: {
26436 safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT *safe_struct = new safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT;
26437 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceMemoryPriorityFeaturesEXT *>(cur_pnext));
26438 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26439 } break;
26440
26441 case VK_STRUCTURE_TYPE_MEMORY_PRIORITY_ALLOCATE_INFO_EXT: {
26442 safe_VkMemoryPriorityAllocateInfoEXT *safe_struct = new safe_VkMemoryPriorityAllocateInfoEXT;
26443 safe_struct->initialize(reinterpret_cast<const VkMemoryPriorityAllocateInfoEXT *>(cur_pnext));
26444 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26445 } break;
26446
26447 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEDICATED_ALLOCATION_IMAGE_ALIASING_FEATURES_NV: {
26448 safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV *safe_struct = new safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV;
26449 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV *>(cur_pnext));
26450 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26451 } break;
26452
26453 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES_EXT: {
26454 safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT *safe_struct = new safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT;
26455 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceBufferDeviceAddressFeaturesEXT *>(cur_pnext));
26456 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26457 } break;
26458
26459 case VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_CREATE_INFO_EXT: {
26460 safe_VkBufferDeviceAddressCreateInfoEXT *safe_struct = new safe_VkBufferDeviceAddressCreateInfoEXT;
26461 safe_struct->initialize(reinterpret_cast<const VkBufferDeviceAddressCreateInfoEXT *>(cur_pnext));
26462 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26463 } break;
26464
26465 case VK_STRUCTURE_TYPE_IMAGE_STENCIL_USAGE_CREATE_INFO_EXT: {
26466 safe_VkImageStencilUsageCreateInfoEXT *safe_struct = new safe_VkImageStencilUsageCreateInfoEXT;
26467 safe_struct->initialize(reinterpret_cast<const VkImageStencilUsageCreateInfoEXT *>(cur_pnext));
26468 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26469 } break;
26470
26471 case VK_STRUCTURE_TYPE_VALIDATION_FEATURES_EXT: {
26472 safe_VkValidationFeaturesEXT *safe_struct = new safe_VkValidationFeaturesEXT;
26473 safe_struct->initialize(reinterpret_cast<const VkValidationFeaturesEXT *>(cur_pnext));
26474 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26475 } break;
26476
26477 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_FEATURES_NV: {
26478 safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV *safe_struct = new safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV;
26479 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceCooperativeMatrixFeaturesNV *>(cur_pnext));
26480 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26481 } break;
26482
26483 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_PROPERTIES_NV: {
26484 safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV *safe_struct = new safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV;
26485 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceCooperativeMatrixPropertiesNV *>(cur_pnext));
26486 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26487 } break;
26488
26489 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COVERAGE_REDUCTION_MODE_FEATURES_NV: {
26490 safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV *safe_struct = new safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV;
26491 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceCoverageReductionModeFeaturesNV *>(cur_pnext));
26492 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26493 } break;
26494
26495 case VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_REDUCTION_STATE_CREATE_INFO_NV: {
26496 safe_VkPipelineCoverageReductionStateCreateInfoNV *safe_struct = new safe_VkPipelineCoverageReductionStateCreateInfoNV;
26497 safe_struct->initialize(reinterpret_cast<const VkPipelineCoverageReductionStateCreateInfoNV *>(cur_pnext));
26498 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26499 } break;
26500
26501 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_INTERLOCK_FEATURES_EXT: {
26502 safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT *safe_struct = new safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT;
26503 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT *>(cur_pnext));
26504 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26505 } break;
26506
26507 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_YCBCR_IMAGE_ARRAYS_FEATURES_EXT: {
26508 safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT *safe_struct = new safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT;
26509 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceYcbcrImageArraysFeaturesEXT *>(cur_pnext));
26510 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26511 } break;
26512
26513#ifdef VK_USE_PLATFORM_WIN32_KHR
26514 case VK_STRUCTURE_TYPE_SURFACE_FULL_SCREEN_EXCLUSIVE_INFO_EXT: {
26515 safe_VkSurfaceFullScreenExclusiveInfoEXT *safe_struct = new safe_VkSurfaceFullScreenExclusiveInfoEXT;
26516 safe_struct->initialize(reinterpret_cast<const VkSurfaceFullScreenExclusiveInfoEXT *>(cur_pnext));
26517 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26518 } break;
26519#endif // VK_USE_PLATFORM_WIN32_KHR
26520
26521#ifdef VK_USE_PLATFORM_WIN32_KHR
26522 case VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_FULL_SCREEN_EXCLUSIVE_EXT: {
26523 safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT *safe_struct = new safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT;
26524 safe_struct->initialize(reinterpret_cast<const VkSurfaceCapabilitiesFullScreenExclusiveEXT *>(cur_pnext));
26525 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26526 } break;
26527#endif // VK_USE_PLATFORM_WIN32_KHR
26528
26529#ifdef VK_USE_PLATFORM_WIN32_KHR
26530 case VK_STRUCTURE_TYPE_SURFACE_FULL_SCREEN_EXCLUSIVE_WIN32_INFO_EXT: {
26531 safe_VkSurfaceFullScreenExclusiveWin32InfoEXT *safe_struct = new safe_VkSurfaceFullScreenExclusiveWin32InfoEXT;
26532 safe_struct->initialize(reinterpret_cast<const VkSurfaceFullScreenExclusiveWin32InfoEXT *>(cur_pnext));
26533 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26534 } break;
26535#endif // VK_USE_PLATFORM_WIN32_KHR
26536
26537 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES_EXT: {
26538 safe_VkPhysicalDeviceHostQueryResetFeaturesEXT *safe_struct = new safe_VkPhysicalDeviceHostQueryResetFeaturesEXT;
26539 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceHostQueryResetFeaturesEXT *>(cur_pnext));
26540 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26541 } break;
26542
26543 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DEMOTE_TO_HELPER_INVOCATION_FEATURES_EXT: {
26544 safe_VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT *safe_struct = new safe_VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT;
26545 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT *>(cur_pnext));
26546 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26547 } break;
26548
26549 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_FEATURES_EXT: {
26550 safe_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT *safe_struct = new safe_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT;
26551 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT *>(cur_pnext));
26552 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26553 } break;
26554
26555 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_PROPERTIES_EXT: {
26556 safe_VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT *safe_struct = new safe_VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT;
26557 safe_struct->initialize(reinterpret_cast<const VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT *>(cur_pnext));
26558 cur_ext_struct = reinterpret_cast<void *>(safe_struct);
26559 } break;
26560
26561 default:
26562 break;
26563 }
26564 }
26565 return cur_ext_struct;
26566}
26567
26568
26569
26570// Free a pNext extension chain
26571void FreePnextChain(void *head) {
26572 VkBaseOutStructure *curr_ptr = reinterpret_cast<VkBaseOutStructure *>(head);
26573 while (curr_ptr) {
26574 VkBaseOutStructure *header = curr_ptr;
26575 curr_ptr = reinterpret_cast<VkBaseOutStructure *>(header->pNext);
26576
26577 switch (header->sType) {
26578 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES:
26579 delete reinterpret_cast<safe_VkPhysicalDeviceSubgroupProperties *>(header);
26580 break;
26581
26582 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES:
26583 delete reinterpret_cast<safe_VkPhysicalDevice16BitStorageFeatures *>(header);
26584 break;
26585
26586 case VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS:
26587 delete reinterpret_cast<safe_VkMemoryDedicatedRequirements *>(header);
26588 break;
26589
26590 case VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO:
26591 delete reinterpret_cast<safe_VkMemoryDedicatedAllocateInfo *>(header);
26592 break;
26593
26594 case VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO:
26595 delete reinterpret_cast<safe_VkMemoryAllocateFlagsInfo *>(header);
26596 break;
26597
26598 case VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO:
26599 delete reinterpret_cast<safe_VkDeviceGroupRenderPassBeginInfo *>(header);
26600 break;
26601
26602 case VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO:
26603 delete reinterpret_cast<safe_VkDeviceGroupCommandBufferBeginInfo *>(header);
26604 break;
26605
26606 case VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO:
26607 delete reinterpret_cast<safe_VkDeviceGroupSubmitInfo *>(header);
26608 break;
26609
26610 case VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO:
26611 delete reinterpret_cast<safe_VkDeviceGroupBindSparseInfo *>(header);
26612 break;
26613
26614 case VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO:
26615 delete reinterpret_cast<safe_VkBindBufferMemoryDeviceGroupInfo *>(header);
26616 break;
26617
26618 case VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO:
26619 delete reinterpret_cast<safe_VkBindImageMemoryDeviceGroupInfo *>(header);
26620 break;
26621
26622 case VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO:
26623 delete reinterpret_cast<safe_VkDeviceGroupDeviceCreateInfo *>(header);
26624 break;
26625
26626 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2:
26627 delete reinterpret_cast<safe_VkPhysicalDeviceFeatures2 *>(header);
26628 break;
26629
26630 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES:
26631 delete reinterpret_cast<safe_VkPhysicalDevicePointClippingProperties *>(header);
26632 break;
26633
26634 case VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO:
26635 delete reinterpret_cast<safe_VkRenderPassInputAttachmentAspectCreateInfo *>(header);
26636 break;
26637
26638 case VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO:
26639 delete reinterpret_cast<safe_VkImageViewUsageCreateInfo *>(header);
26640 break;
26641
26642 case VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO:
26643 delete reinterpret_cast<safe_VkPipelineTessellationDomainOriginStateCreateInfo *>(header);
26644 break;
26645
26646 case VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO:
26647 delete reinterpret_cast<safe_VkRenderPassMultiviewCreateInfo *>(header);
26648 break;
26649
26650 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES:
26651 delete reinterpret_cast<safe_VkPhysicalDeviceMultiviewFeatures *>(header);
26652 break;
26653
26654 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES:
26655 delete reinterpret_cast<safe_VkPhysicalDeviceMultiviewProperties *>(header);
26656 break;
26657
26658 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES:
26659 delete reinterpret_cast<safe_VkPhysicalDeviceVariablePointersFeatures *>(header);
26660 break;
26661
26662 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES:
26663 delete reinterpret_cast<safe_VkPhysicalDeviceProtectedMemoryFeatures *>(header);
26664 break;
26665
26666 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES:
26667 delete reinterpret_cast<safe_VkPhysicalDeviceProtectedMemoryProperties *>(header);
26668 break;
26669
26670 case VK_STRUCTURE_TYPE_PROTECTED_SUBMIT_INFO:
26671 delete reinterpret_cast<safe_VkProtectedSubmitInfo *>(header);
26672 break;
26673
26674 case VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO:
26675 delete reinterpret_cast<safe_VkSamplerYcbcrConversionInfo *>(header);
26676 break;
26677
26678 case VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO:
26679 delete reinterpret_cast<safe_VkBindImagePlaneMemoryInfo *>(header);
26680 break;
26681
26682 case VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO:
26683 delete reinterpret_cast<safe_VkImagePlaneMemoryRequirementsInfo *>(header);
26684 break;
26685
26686 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES:
26687 delete reinterpret_cast<safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures *>(header);
26688 break;
26689
26690 case VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES:
26691 delete reinterpret_cast<safe_VkSamplerYcbcrConversionImageFormatProperties *>(header);
26692 break;
26693
26694 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO:
26695 delete reinterpret_cast<safe_VkPhysicalDeviceExternalImageFormatInfo *>(header);
26696 break;
26697
26698 case VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES:
26699 delete reinterpret_cast<safe_VkExternalImageFormatProperties *>(header);
26700 break;
26701
26702 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES:
26703 delete reinterpret_cast<safe_VkPhysicalDeviceIDProperties *>(header);
26704 break;
26705
26706 case VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO:
26707 delete reinterpret_cast<safe_VkExternalMemoryImageCreateInfo *>(header);
26708 break;
26709
26710 case VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO:
26711 delete reinterpret_cast<safe_VkExternalMemoryBufferCreateInfo *>(header);
26712 break;
26713
26714 case VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO:
26715 delete reinterpret_cast<safe_VkExportMemoryAllocateInfo *>(header);
26716 break;
26717
26718 case VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO:
26719 delete reinterpret_cast<safe_VkExportFenceCreateInfo *>(header);
26720 break;
26721
26722 case VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO:
26723 delete reinterpret_cast<safe_VkExportSemaphoreCreateInfo *>(header);
26724 break;
26725
26726 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES:
26727 delete reinterpret_cast<safe_VkPhysicalDeviceMaintenance3Properties *>(header);
26728 break;
26729
26730 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETERS_FEATURES:
26731 delete reinterpret_cast<safe_VkPhysicalDeviceShaderDrawParametersFeatures *>(header);
26732 break;
26733
26734 case VK_STRUCTURE_TYPE_IMAGE_SWAPCHAIN_CREATE_INFO_KHR:
26735 delete reinterpret_cast<safe_VkImageSwapchainCreateInfoKHR *>(header);
26736 break;
26737
26738 case VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_SWAPCHAIN_INFO_KHR:
26739 delete reinterpret_cast<safe_VkBindImageMemorySwapchainInfoKHR *>(header);
26740 break;
26741
26742 case VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_INFO_KHR:
26743 delete reinterpret_cast<safe_VkDeviceGroupPresentInfoKHR *>(header);
26744 break;
26745
26746 case VK_STRUCTURE_TYPE_DEVICE_GROUP_SWAPCHAIN_CREATE_INFO_KHR:
26747 delete reinterpret_cast<safe_VkDeviceGroupSwapchainCreateInfoKHR *>(header);
26748 break;
26749
26750 case VK_STRUCTURE_TYPE_DISPLAY_PRESENT_INFO_KHR:
26751 delete reinterpret_cast<safe_VkDisplayPresentInfoKHR *>(header);
26752 break;
26753
26754#ifdef VK_USE_PLATFORM_WIN32_KHR
26755 case VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR:
26756 delete reinterpret_cast<safe_VkImportMemoryWin32HandleInfoKHR *>(header);
26757 break;
26758#endif // VK_USE_PLATFORM_WIN32_KHR
26759
26760#ifdef VK_USE_PLATFORM_WIN32_KHR
26761 case VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_KHR:
26762 delete reinterpret_cast<safe_VkExportMemoryWin32HandleInfoKHR *>(header);
26763 break;
26764#endif // VK_USE_PLATFORM_WIN32_KHR
26765
26766 case VK_STRUCTURE_TYPE_IMPORT_MEMORY_FD_INFO_KHR:
26767 delete reinterpret_cast<safe_VkImportMemoryFdInfoKHR *>(header);
26768 break;
26769
26770#ifdef VK_USE_PLATFORM_WIN32_KHR
26771 case VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_KHR:
26772 delete reinterpret_cast<safe_VkWin32KeyedMutexAcquireReleaseInfoKHR *>(header);
26773 break;
26774#endif // VK_USE_PLATFORM_WIN32_KHR
26775
26776#ifdef VK_USE_PLATFORM_WIN32_KHR
26777 case VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR:
26778 delete reinterpret_cast<safe_VkExportSemaphoreWin32HandleInfoKHR *>(header);
26779 break;
26780#endif // VK_USE_PLATFORM_WIN32_KHR
26781
26782#ifdef VK_USE_PLATFORM_WIN32_KHR
26783 case VK_STRUCTURE_TYPE_D3D12_FENCE_SUBMIT_INFO_KHR:
26784 delete reinterpret_cast<safe_VkD3D12FenceSubmitInfoKHR *>(header);
26785 break;
26786#endif // VK_USE_PLATFORM_WIN32_KHR
26787
26788 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_DESCRIPTOR_PROPERTIES_KHR:
26789 delete reinterpret_cast<safe_VkPhysicalDevicePushDescriptorPropertiesKHR *>(header);
26790 break;
26791
26792 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT16_INT8_FEATURES_KHR:
26793 delete reinterpret_cast<safe_VkPhysicalDeviceFloat16Int8FeaturesKHR *>(header);
26794 break;
26795
26796 case VK_STRUCTURE_TYPE_PRESENT_REGIONS_KHR:
26797 delete reinterpret_cast<safe_VkPresentRegionsKHR *>(header);
26798 break;
26799
26800 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGELESS_FRAMEBUFFER_FEATURES_KHR:
26801 delete reinterpret_cast<safe_VkPhysicalDeviceImagelessFramebufferFeaturesKHR *>(header);
26802 break;
26803
26804 case VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENTS_CREATE_INFO_KHR:
26805 delete reinterpret_cast<safe_VkFramebufferAttachmentsCreateInfoKHR *>(header);
26806 break;
26807
26808 case VK_STRUCTURE_TYPE_RENDER_PASS_ATTACHMENT_BEGIN_INFO_KHR:
26809 delete reinterpret_cast<safe_VkRenderPassAttachmentBeginInfoKHR *>(header);
26810 break;
26811
26812 case VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_KHR:
26813 delete reinterpret_cast<safe_VkSharedPresentSurfaceCapabilitiesKHR *>(header);
26814 break;
26815
26816#ifdef VK_USE_PLATFORM_WIN32_KHR
26817 case VK_STRUCTURE_TYPE_EXPORT_FENCE_WIN32_HANDLE_INFO_KHR:
26818 delete reinterpret_cast<safe_VkExportFenceWin32HandleInfoKHR *>(header);
26819 break;
26820#endif // VK_USE_PLATFORM_WIN32_KHR
26821
26822 case VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO_KHR:
26823 delete reinterpret_cast<safe_VkImageFormatListCreateInfoKHR *>(header);
26824 break;
26825
26826 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES_KHR:
26827 delete reinterpret_cast<safe_VkPhysicalDevice8BitStorageFeaturesKHR *>(header);
26828 break;
26829
26830 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURES_KHR:
26831 delete reinterpret_cast<safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR *>(header);
26832 break;
26833
26834 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIES_KHR:
26835 delete reinterpret_cast<safe_VkPhysicalDeviceDriverPropertiesKHR *>(header);
26836 break;
26837
26838 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIES_KHR:
26839 delete reinterpret_cast<safe_VkPhysicalDeviceFloatControlsPropertiesKHR *>(header);
26840 break;
26841
26842 case VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_DEPTH_STENCIL_RESOLVE_KHR:
26843 delete reinterpret_cast<safe_VkSubpassDescriptionDepthStencilResolveKHR *>(header);
26844 break;
26845
26846 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_STENCIL_RESOLVE_PROPERTIES_KHR:
26847 delete reinterpret_cast<safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR *>(header);
26848 break;
26849
26850 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_MEMORY_MODEL_FEATURES_KHR:
26851 delete reinterpret_cast<safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR *>(header);
26852 break;
26853
26854 case VK_STRUCTURE_TYPE_SURFACE_PROTECTED_CAPABILITIES_KHR:
26855 delete reinterpret_cast<safe_VkSurfaceProtectedCapabilitiesKHR *>(header);
26856 break;
26857
26858 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES_KHR:
26859 delete reinterpret_cast<safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR *>(header);
26860 break;
26861
26862 case VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT:
26863 delete reinterpret_cast<safe_VkDebugReportCallbackCreateInfoEXT *>(header);
26864 break;
26865
26866 case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMD:
26867 delete reinterpret_cast<safe_VkPipelineRasterizationStateRasterizationOrderAMD *>(header);
26868 break;
26869
26870 case VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV:
26871 delete reinterpret_cast<safe_VkDedicatedAllocationImageCreateInfoNV *>(header);
26872 break;
26873
26874 case VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_BUFFER_CREATE_INFO_NV:
26875 delete reinterpret_cast<safe_VkDedicatedAllocationBufferCreateInfoNV *>(header);
26876 break;
26877
26878 case VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV:
26879 delete reinterpret_cast<safe_VkDedicatedAllocationMemoryAllocateInfoNV *>(header);
26880 break;
26881
26882 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_FEATURES_EXT:
26883 delete reinterpret_cast<safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT *>(header);
26884 break;
26885
26886 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_PROPERTIES_EXT:
26887 delete reinterpret_cast<safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT *>(header);
26888 break;
26889
26890 case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_STREAM_CREATE_INFO_EXT:
26891 delete reinterpret_cast<safe_VkPipelineRasterizationStateStreamCreateInfoEXT *>(header);
26892 break;
26893
26894 case VK_STRUCTURE_TYPE_TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMD:
26895 delete reinterpret_cast<safe_VkTextureLODGatherFormatPropertiesAMD *>(header);
26896 break;
26897
26898 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CORNER_SAMPLED_IMAGE_FEATURES_NV:
26899 delete reinterpret_cast<safe_VkPhysicalDeviceCornerSampledImageFeaturesNV *>(header);
26900 break;
26901
26902 case VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO_NV:
26903 delete reinterpret_cast<safe_VkExternalMemoryImageCreateInfoNV *>(header);
26904 break;
26905
26906 case VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO_NV:
26907 delete reinterpret_cast<safe_VkExportMemoryAllocateInfoNV *>(header);
26908 break;
26909
26910#ifdef VK_USE_PLATFORM_WIN32_KHR
26911 case VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_NV:
26912 delete reinterpret_cast<safe_VkImportMemoryWin32HandleInfoNV *>(header);
26913 break;
26914#endif // VK_USE_PLATFORM_WIN32_KHR
26915
26916#ifdef VK_USE_PLATFORM_WIN32_KHR
26917 case VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_NV:
26918 delete reinterpret_cast<safe_VkExportMemoryWin32HandleInfoNV *>(header);
26919 break;
26920#endif // VK_USE_PLATFORM_WIN32_KHR
26921
26922#ifdef VK_USE_PLATFORM_WIN32_KHR
26923 case VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_NV:
26924 delete reinterpret_cast<safe_VkWin32KeyedMutexAcquireReleaseInfoNV *>(header);
26925 break;
26926#endif // VK_USE_PLATFORM_WIN32_KHR
26927
26928 case VK_STRUCTURE_TYPE_VALIDATION_FLAGS_EXT:
26929 delete reinterpret_cast<safe_VkValidationFlagsEXT *>(header);
26930 break;
26931
26932 case VK_STRUCTURE_TYPE_IMAGE_VIEW_ASTC_DECODE_MODE_EXT:
26933 delete reinterpret_cast<safe_VkImageViewASTCDecodeModeEXT *>(header);
26934 break;
26935
26936 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ASTC_DECODE_FEATURES_EXT:
26937 delete reinterpret_cast<safe_VkPhysicalDeviceASTCDecodeFeaturesEXT *>(header);
26938 break;
26939
26940 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONDITIONAL_RENDERING_FEATURES_EXT:
26941 delete reinterpret_cast<safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT *>(header);
26942 break;
26943
26944 case VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_CONDITIONAL_RENDERING_INFO_EXT:
26945 delete reinterpret_cast<safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT *>(header);
26946 break;
26947
26948 case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_W_SCALING_STATE_CREATE_INFO_NV:
26949 delete reinterpret_cast<safe_VkPipelineViewportWScalingStateCreateInfoNV *>(header);
26950 break;
26951
26952 case VK_STRUCTURE_TYPE_SWAPCHAIN_COUNTER_CREATE_INFO_EXT:
26953 delete reinterpret_cast<safe_VkSwapchainCounterCreateInfoEXT *>(header);
26954 break;
26955
26956 case VK_STRUCTURE_TYPE_PRESENT_TIMES_INFO_GOOGLE:
26957 delete reinterpret_cast<safe_VkPresentTimesInfoGOOGLE *>(header);
26958 break;
26959
26960 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_ATTRIBUTES_PROPERTIES_NVX:
26961 delete reinterpret_cast<safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX *>(header);
26962 break;
26963
26964 case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV:
26965 delete reinterpret_cast<safe_VkPipelineViewportSwizzleStateCreateInfoNV *>(header);
26966 break;
26967
26968 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DISCARD_RECTANGLE_PROPERTIES_EXT:
26969 delete reinterpret_cast<safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT *>(header);
26970 break;
26971
26972 case VK_STRUCTURE_TYPE_PIPELINE_DISCARD_RECTANGLE_STATE_CREATE_INFO_EXT:
26973 delete reinterpret_cast<safe_VkPipelineDiscardRectangleStateCreateInfoEXT *>(header);
26974 break;
26975
26976 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONSERVATIVE_RASTERIZATION_PROPERTIES_EXT:
26977 delete reinterpret_cast<safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT *>(header);
26978 break;
26979
26980 case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_CONSERVATIVE_STATE_CREATE_INFO_EXT:
26981 delete reinterpret_cast<safe_VkPipelineRasterizationConservativeStateCreateInfoEXT *>(header);
26982 break;
26983
26984 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_ENABLE_FEATURES_EXT:
26985 delete reinterpret_cast<safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT *>(header);
26986 break;
26987
26988 case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_DEPTH_CLIP_STATE_CREATE_INFO_EXT:
26989 delete reinterpret_cast<safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT *>(header);
26990 break;
26991
26992 case VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT:
26993 delete reinterpret_cast<safe_VkDebugUtilsMessengerCreateInfoEXT *>(header);
26994 break;
26995
26996#ifdef VK_USE_PLATFORM_ANDROID_KHR
26997 case VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_USAGE_ANDROID:
26998 delete reinterpret_cast<safe_VkAndroidHardwareBufferUsageANDROID *>(header);
26999 break;
27000#endif // VK_USE_PLATFORM_ANDROID_KHR
27001
27002#ifdef VK_USE_PLATFORM_ANDROID_KHR
27003 case VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_ANDROID:
27004 delete reinterpret_cast<safe_VkAndroidHardwareBufferFormatPropertiesANDROID *>(header);
27005 break;
27006#endif // VK_USE_PLATFORM_ANDROID_KHR
27007
27008#ifdef VK_USE_PLATFORM_ANDROID_KHR
27009 case VK_STRUCTURE_TYPE_IMPORT_ANDROID_HARDWARE_BUFFER_INFO_ANDROID:
27010 delete reinterpret_cast<safe_VkImportAndroidHardwareBufferInfoANDROID *>(header);
27011 break;
27012#endif // VK_USE_PLATFORM_ANDROID_KHR
27013
27014#ifdef VK_USE_PLATFORM_ANDROID_KHR
27015 case VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_ANDROID:
27016 delete reinterpret_cast<safe_VkExternalFormatANDROID *>(header);
27017 break;
27018#endif // VK_USE_PLATFORM_ANDROID_KHR
27019
27020 case VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO_EXT:
27021 delete reinterpret_cast<safe_VkSamplerReductionModeCreateInfoEXT *>(header);
27022 break;
27023
27024 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES_EXT:
27025 delete reinterpret_cast<safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT *>(header);
27026 break;
27027
27028 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_FEATURES_EXT:
27029 delete reinterpret_cast<safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT *>(header);
27030 break;
27031
27032 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_PROPERTIES_EXT:
27033 delete reinterpret_cast<safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT *>(header);
27034 break;
27035
27036 case VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_INLINE_UNIFORM_BLOCK_EXT:
27037 delete reinterpret_cast<safe_VkWriteDescriptorSetInlineUniformBlockEXT *>(header);
27038 break;
27039
27040 case VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_INLINE_UNIFORM_BLOCK_CREATE_INFO_EXT:
27041 delete reinterpret_cast<safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT *>(header);
27042 break;
27043
27044 case VK_STRUCTURE_TYPE_SAMPLE_LOCATIONS_INFO_EXT:
27045 delete reinterpret_cast<safe_VkSampleLocationsInfoEXT *>(header);
27046 break;
27047
27048 case VK_STRUCTURE_TYPE_RENDER_PASS_SAMPLE_LOCATIONS_BEGIN_INFO_EXT:
27049 delete reinterpret_cast<safe_VkRenderPassSampleLocationsBeginInfoEXT *>(header);
27050 break;
27051
27052 case VK_STRUCTURE_TYPE_PIPELINE_SAMPLE_LOCATIONS_STATE_CREATE_INFO_EXT:
27053 delete reinterpret_cast<safe_VkPipelineSampleLocationsStateCreateInfoEXT *>(header);
27054 break;
27055
27056 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLE_LOCATIONS_PROPERTIES_EXT:
27057 delete reinterpret_cast<safe_VkPhysicalDeviceSampleLocationsPropertiesEXT *>(header);
27058 break;
27059
27060 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_FEATURES_EXT:
27061 delete reinterpret_cast<safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT *>(header);
27062 break;
27063
27064 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_PROPERTIES_EXT:
27065 delete reinterpret_cast<safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT *>(header);
27066 break;
27067
27068 case VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_ADVANCED_STATE_CREATE_INFO_EXT:
27069 delete reinterpret_cast<safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT *>(header);
27070 break;
27071
27072 case VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV:
27073 delete reinterpret_cast<safe_VkPipelineCoverageToColorStateCreateInfoNV *>(header);
27074 break;
27075
27076 case VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_MODULATION_STATE_CREATE_INFO_NV:
27077 delete reinterpret_cast<safe_VkPipelineCoverageModulationStateCreateInfoNV *>(header);
27078 break;
27079
27080 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SM_BUILTINS_PROPERTIES_NV:
27081 delete reinterpret_cast<safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV *>(header);
27082 break;
27083
27084 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SM_BUILTINS_FEATURES_NV:
27085 delete reinterpret_cast<safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV *>(header);
27086 break;
27087
27088 case VK_STRUCTURE_TYPE_DRM_FORMAT_MODIFIER_PROPERTIES_LIST_EXT:
27089 delete reinterpret_cast<safe_VkDrmFormatModifierPropertiesListEXT *>(header);
27090 break;
27091
27092 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_DRM_FORMAT_MODIFIER_INFO_EXT:
27093 delete reinterpret_cast<safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT *>(header);
27094 break;
27095
27096 case VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_LIST_CREATE_INFO_EXT:
27097 delete reinterpret_cast<safe_VkImageDrmFormatModifierListCreateInfoEXT *>(header);
27098 break;
27099
27100 case VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_EXPLICIT_CREATE_INFO_EXT:
27101 delete reinterpret_cast<safe_VkImageDrmFormatModifierExplicitCreateInfoEXT *>(header);
27102 break;
27103
27104 case VK_STRUCTURE_TYPE_SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXT:
27105 delete reinterpret_cast<safe_VkShaderModuleValidationCacheCreateInfoEXT *>(header);
27106 break;
27107
27108 case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO_EXT:
27109 delete reinterpret_cast<safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT *>(header);
27110 break;
27111
27112 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES_EXT:
27113 delete reinterpret_cast<safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT *>(header);
27114 break;
27115
27116 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_PROPERTIES_EXT:
27117 delete reinterpret_cast<safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT *>(header);
27118 break;
27119
27120 case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO_EXT:
27121 delete reinterpret_cast<safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT *>(header);
27122 break;
27123
27124 case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT_EXT:
27125 delete reinterpret_cast<safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT *>(header);
27126 break;
27127
27128 case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SHADING_RATE_IMAGE_STATE_CREATE_INFO_NV:
27129 delete reinterpret_cast<safe_VkPipelineViewportShadingRateImageStateCreateInfoNV *>(header);
27130 break;
27131
27132 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_FEATURES_NV:
27133 delete reinterpret_cast<safe_VkPhysicalDeviceShadingRateImageFeaturesNV *>(header);
27134 break;
27135
27136 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_PROPERTIES_NV:
27137 delete reinterpret_cast<safe_VkPhysicalDeviceShadingRateImagePropertiesNV *>(header);
27138 break;
27139
27140 case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_COARSE_SAMPLE_ORDER_STATE_CREATE_INFO_NV:
27141 delete reinterpret_cast<safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV *>(header);
27142 break;
27143
27144 case VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_NV:
27145 delete reinterpret_cast<safe_VkWriteDescriptorSetAccelerationStructureNV *>(header);
27146 break;
27147
27148 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PROPERTIES_NV:
27149 delete reinterpret_cast<safe_VkPhysicalDeviceRayTracingPropertiesNV *>(header);
27150 break;
27151
27152 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_REPRESENTATIVE_FRAGMENT_TEST_FEATURES_NV:
27153 delete reinterpret_cast<safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV *>(header);
27154 break;
27155
27156 case VK_STRUCTURE_TYPE_PIPELINE_REPRESENTATIVE_FRAGMENT_TEST_STATE_CREATE_INFO_NV:
27157 delete reinterpret_cast<safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV *>(header);
27158 break;
27159
27160 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_VIEW_IMAGE_FORMAT_INFO_EXT:
27161 delete reinterpret_cast<safe_VkPhysicalDeviceImageViewImageFormatInfoEXT *>(header);
27162 break;
27163
27164 case VK_STRUCTURE_TYPE_FILTER_CUBIC_IMAGE_VIEW_IMAGE_FORMAT_PROPERTIES_EXT:
27165 delete reinterpret_cast<safe_VkFilterCubicImageViewImageFormatPropertiesEXT *>(header);
27166 break;
27167
27168 case VK_STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_EXT:
27169 delete reinterpret_cast<safe_VkDeviceQueueGlobalPriorityCreateInfoEXT *>(header);
27170 break;
27171
27172 case VK_STRUCTURE_TYPE_IMPORT_MEMORY_HOST_POINTER_INFO_EXT:
27173 delete reinterpret_cast<safe_VkImportMemoryHostPointerInfoEXT *>(header);
27174 break;
27175
27176 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_HOST_PROPERTIES_EXT:
27177 delete reinterpret_cast<safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT *>(header);
27178 break;
27179
27180 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_AMD:
27181 delete reinterpret_cast<safe_VkPhysicalDeviceShaderCorePropertiesAMD *>(header);
27182 break;
27183
27184 case VK_STRUCTURE_TYPE_DEVICE_MEMORY_OVERALLOCATION_CREATE_INFO_AMD:
27185 delete reinterpret_cast<safe_VkDeviceMemoryOverallocationCreateInfoAMD *>(header);
27186 break;
27187
27188 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_EXT:
27189 delete reinterpret_cast<safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT *>(header);
27190 break;
27191
27192 case VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_EXT:
27193 delete reinterpret_cast<safe_VkPipelineVertexInputDivisorStateCreateInfoEXT *>(header);
27194 break;
27195
27196 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_EXT:
27197 delete reinterpret_cast<safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT *>(header);
27198 break;
27199
27200#ifdef VK_USE_PLATFORM_GGP
27201 case VK_STRUCTURE_TYPE_PRESENT_FRAME_TOKEN_GGP:
27202 delete reinterpret_cast<safe_VkPresentFrameTokenGGP *>(header);
27203 break;
27204#endif // VK_USE_PLATFORM_GGP
27205
27206 case VK_STRUCTURE_TYPE_PIPELINE_CREATION_FEEDBACK_CREATE_INFO_EXT:
27207 delete reinterpret_cast<safe_VkPipelineCreationFeedbackCreateInfoEXT *>(header);
27208 break;
27209
27210 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_FEATURES_NV:
27211 delete reinterpret_cast<safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV *>(header);
27212 break;
27213
27214 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_FEATURES_NV:
27215 delete reinterpret_cast<safe_VkPhysicalDeviceMeshShaderFeaturesNV *>(header);
27216 break;
27217
27218 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_PROPERTIES_NV:
27219 delete reinterpret_cast<safe_VkPhysicalDeviceMeshShaderPropertiesNV *>(header);
27220 break;
27221
27222 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_FEATURES_NV:
27223 delete reinterpret_cast<safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV *>(header);
27224 break;
27225
27226 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_IMAGE_FOOTPRINT_FEATURES_NV:
27227 delete reinterpret_cast<safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV *>(header);
27228 break;
27229
27230 case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_EXCLUSIVE_SCISSOR_STATE_CREATE_INFO_NV:
27231 delete reinterpret_cast<safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV *>(header);
27232 break;
27233
27234 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXCLUSIVE_SCISSOR_FEATURES_NV:
27235 delete reinterpret_cast<safe_VkPhysicalDeviceExclusiveScissorFeaturesNV *>(header);
27236 break;
27237
27238 case VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_NV:
27239 delete reinterpret_cast<safe_VkQueueFamilyCheckpointPropertiesNV *>(header);
27240 break;
27241
27242 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_FUNCTIONS2_FEATURES_INTEL:
27243 delete reinterpret_cast<safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL *>(header);
27244 break;
27245
27246 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PCI_BUS_INFO_PROPERTIES_EXT:
27247 delete reinterpret_cast<safe_VkPhysicalDevicePCIBusInfoPropertiesEXT *>(header);
27248 break;
27249
27250 case VK_STRUCTURE_TYPE_DISPLAY_NATIVE_HDR_SURFACE_CAPABILITIES_AMD:
27251 delete reinterpret_cast<safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD *>(header);
27252 break;
27253
27254 case VK_STRUCTURE_TYPE_SWAPCHAIN_DISPLAY_NATIVE_HDR_CREATE_INFO_AMD:
27255 delete reinterpret_cast<safe_VkSwapchainDisplayNativeHdrCreateInfoAMD *>(header);
27256 break;
27257
27258 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_FEATURES_EXT:
27259 delete reinterpret_cast<safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT *>(header);
27260 break;
27261
27262 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_PROPERTIES_EXT:
27263 delete reinterpret_cast<safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT *>(header);
27264 break;
27265
27266 case VK_STRUCTURE_TYPE_RENDER_PASS_FRAGMENT_DENSITY_MAP_CREATE_INFO_EXT:
27267 delete reinterpret_cast<safe_VkRenderPassFragmentDensityMapCreateInfoEXT *>(header);
27268 break;
27269
27270 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURES_EXT:
27271 delete reinterpret_cast<safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT *>(header);
27272 break;
27273
27274 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_BUDGET_PROPERTIES_EXT:
27275 delete reinterpret_cast<safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT *>(header);
27276 break;
27277
27278 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PRIORITY_FEATURES_EXT:
27279 delete reinterpret_cast<safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT *>(header);
27280 break;
27281
27282 case VK_STRUCTURE_TYPE_MEMORY_PRIORITY_ALLOCATE_INFO_EXT:
27283 delete reinterpret_cast<safe_VkMemoryPriorityAllocateInfoEXT *>(header);
27284 break;
27285
27286 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEDICATED_ALLOCATION_IMAGE_ALIASING_FEATURES_NV:
27287 delete reinterpret_cast<safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV *>(header);
27288 break;
27289
27290 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES_EXT:
27291 delete reinterpret_cast<safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT *>(header);
27292 break;
27293
27294 case VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_CREATE_INFO_EXT:
27295 delete reinterpret_cast<safe_VkBufferDeviceAddressCreateInfoEXT *>(header);
27296 break;
27297
27298 case VK_STRUCTURE_TYPE_IMAGE_STENCIL_USAGE_CREATE_INFO_EXT:
27299 delete reinterpret_cast<safe_VkImageStencilUsageCreateInfoEXT *>(header);
27300 break;
27301
27302 case VK_STRUCTURE_TYPE_VALIDATION_FEATURES_EXT:
27303 delete reinterpret_cast<safe_VkValidationFeaturesEXT *>(header);
27304 break;
27305
27306 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_FEATURES_NV:
27307 delete reinterpret_cast<safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV *>(header);
27308 break;
27309
27310 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_PROPERTIES_NV:
27311 delete reinterpret_cast<safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV *>(header);
27312 break;
27313
27314 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COVERAGE_REDUCTION_MODE_FEATURES_NV:
27315 delete reinterpret_cast<safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV *>(header);
27316 break;
27317
27318 case VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_REDUCTION_STATE_CREATE_INFO_NV:
27319 delete reinterpret_cast<safe_VkPipelineCoverageReductionStateCreateInfoNV *>(header);
27320 break;
27321
27322 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_INTERLOCK_FEATURES_EXT:
27323 delete reinterpret_cast<safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT *>(header);
27324 break;
27325
27326 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_YCBCR_IMAGE_ARRAYS_FEATURES_EXT:
27327 delete reinterpret_cast<safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT *>(header);
27328 break;
27329
27330#ifdef VK_USE_PLATFORM_WIN32_KHR
27331 case VK_STRUCTURE_TYPE_SURFACE_FULL_SCREEN_EXCLUSIVE_INFO_EXT:
27332 delete reinterpret_cast<safe_VkSurfaceFullScreenExclusiveInfoEXT *>(header);
27333 break;
27334#endif // VK_USE_PLATFORM_WIN32_KHR
27335
27336#ifdef VK_USE_PLATFORM_WIN32_KHR
27337 case VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_FULL_SCREEN_EXCLUSIVE_EXT:
27338 delete reinterpret_cast<safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT *>(header);
27339 break;
27340#endif // VK_USE_PLATFORM_WIN32_KHR
27341
27342#ifdef VK_USE_PLATFORM_WIN32_KHR
27343 case VK_STRUCTURE_TYPE_SURFACE_FULL_SCREEN_EXCLUSIVE_WIN32_INFO_EXT:
27344 delete reinterpret_cast<safe_VkSurfaceFullScreenExclusiveWin32InfoEXT *>(header);
27345 break;
27346#endif // VK_USE_PLATFORM_WIN32_KHR
27347
27348 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES_EXT:
27349 delete reinterpret_cast<safe_VkPhysicalDeviceHostQueryResetFeaturesEXT *>(header);
27350 break;
27351
27352 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DEMOTE_TO_HELPER_INVOCATION_FEATURES_EXT:
27353 delete reinterpret_cast<safe_VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT *>(header);
27354 break;
27355
27356 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_FEATURES_EXT:
27357 delete reinterpret_cast<safe_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT *>(header);
27358 break;
27359
27360 case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_PROPERTIES_EXT:
27361 delete reinterpret_cast<safe_VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT *>(header);
27362 break;
27363
27364 default:
27365 assert(0);
27366 }
27367 }
27368}