blob: 34cd5464b0e41cbd699092db761d539431770bae [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"
34#include <string.h>
35
36
37safe_VkApplicationInfo::safe_VkApplicationInfo(const VkApplicationInfo* in_struct) :
38 sType(in_struct->sType),
39 pNext(in_struct->pNext),
40 pApplicationName(in_struct->pApplicationName),
41 applicationVersion(in_struct->applicationVersion),
42 pEngineName(in_struct->pEngineName),
43 engineVersion(in_struct->engineVersion),
44 apiVersion(in_struct->apiVersion)
45{
46}
47
48safe_VkApplicationInfo::safe_VkApplicationInfo()
49{}
50
51safe_VkApplicationInfo::safe_VkApplicationInfo(const safe_VkApplicationInfo& src)
52{
53 sType = src.sType;
54 pNext = src.pNext;
55 pApplicationName = src.pApplicationName;
56 applicationVersion = src.applicationVersion;
57 pEngineName = src.pEngineName;
58 engineVersion = src.engineVersion;
59 apiVersion = src.apiVersion;
60}
61
62safe_VkApplicationInfo& safe_VkApplicationInfo::operator=(const safe_VkApplicationInfo& src)
63{
64 if (&src == this) return *this;
65
66
67 sType = src.sType;
68 pNext = src.pNext;
69 pApplicationName = src.pApplicationName;
70 applicationVersion = src.applicationVersion;
71 pEngineName = src.pEngineName;
72 engineVersion = src.engineVersion;
73 apiVersion = src.apiVersion;
74
75 return *this;
76}
77
78safe_VkApplicationInfo::~safe_VkApplicationInfo()
79{
80}
81
82void safe_VkApplicationInfo::initialize(const VkApplicationInfo* in_struct)
83{
84 sType = in_struct->sType;
85 pNext = in_struct->pNext;
86 pApplicationName = in_struct->pApplicationName;
87 applicationVersion = in_struct->applicationVersion;
88 pEngineName = in_struct->pEngineName;
89 engineVersion = in_struct->engineVersion;
90 apiVersion = in_struct->apiVersion;
91}
92
93void safe_VkApplicationInfo::initialize(const safe_VkApplicationInfo* src)
94{
95 sType = src->sType;
96 pNext = src->pNext;
97 pApplicationName = src->pApplicationName;
98 applicationVersion = src->applicationVersion;
99 pEngineName = src->pEngineName;
100 engineVersion = src->engineVersion;
101 apiVersion = src->apiVersion;
102}
103
104safe_VkInstanceCreateInfo::safe_VkInstanceCreateInfo(const VkInstanceCreateInfo* in_struct) :
105 sType(in_struct->sType),
106 pNext(in_struct->pNext),
107 flags(in_struct->flags),
108 enabledLayerCount(in_struct->enabledLayerCount),
109 ppEnabledLayerNames(in_struct->ppEnabledLayerNames),
110 enabledExtensionCount(in_struct->enabledExtensionCount),
111 ppEnabledExtensionNames(in_struct->ppEnabledExtensionNames)
112{
113 if (in_struct->pApplicationInfo)
114 pApplicationInfo = new safe_VkApplicationInfo(in_struct->pApplicationInfo);
115 else
116 pApplicationInfo = NULL;
117}
118
119safe_VkInstanceCreateInfo::safe_VkInstanceCreateInfo()
120{}
121
122safe_VkInstanceCreateInfo::safe_VkInstanceCreateInfo(const safe_VkInstanceCreateInfo& src)
123{
124 sType = src.sType;
125 pNext = src.pNext;
126 flags = src.flags;
127 enabledLayerCount = src.enabledLayerCount;
128 ppEnabledLayerNames = src.ppEnabledLayerNames;
129 enabledExtensionCount = src.enabledExtensionCount;
130 ppEnabledExtensionNames = src.ppEnabledExtensionNames;
131 if (src.pApplicationInfo)
132 pApplicationInfo = new safe_VkApplicationInfo(*src.pApplicationInfo);
133 else
134 pApplicationInfo = NULL;
135}
136
137safe_VkInstanceCreateInfo& safe_VkInstanceCreateInfo::operator=(const safe_VkInstanceCreateInfo& src)
138{
139 if (&src == this) return *this;
140
141 if (pApplicationInfo)
142 delete pApplicationInfo;
143
144 sType = src.sType;
145 pNext = src.pNext;
146 flags = src.flags;
147 enabledLayerCount = src.enabledLayerCount;
148 ppEnabledLayerNames = src.ppEnabledLayerNames;
149 enabledExtensionCount = src.enabledExtensionCount;
150 ppEnabledExtensionNames = src.ppEnabledExtensionNames;
151 if (src.pApplicationInfo)
152 pApplicationInfo = new safe_VkApplicationInfo(*src.pApplicationInfo);
153 else
154 pApplicationInfo = NULL;
155
156 return *this;
157}
158
159safe_VkInstanceCreateInfo::~safe_VkInstanceCreateInfo()
160{
161 if (pApplicationInfo)
162 delete pApplicationInfo;
163}
164
165void safe_VkInstanceCreateInfo::initialize(const VkInstanceCreateInfo* in_struct)
166{
167 sType = in_struct->sType;
168 pNext = in_struct->pNext;
169 flags = in_struct->flags;
170 enabledLayerCount = in_struct->enabledLayerCount;
171 ppEnabledLayerNames = in_struct->ppEnabledLayerNames;
172 enabledExtensionCount = in_struct->enabledExtensionCount;
173 ppEnabledExtensionNames = in_struct->ppEnabledExtensionNames;
174 if (in_struct->pApplicationInfo)
175 pApplicationInfo = new safe_VkApplicationInfo(in_struct->pApplicationInfo);
176 else
177 pApplicationInfo = NULL;
178}
179
180void safe_VkInstanceCreateInfo::initialize(const safe_VkInstanceCreateInfo* src)
181{
182 sType = src->sType;
183 pNext = src->pNext;
184 flags = src->flags;
185 enabledLayerCount = src->enabledLayerCount;
186 ppEnabledLayerNames = src->ppEnabledLayerNames;
187 enabledExtensionCount = src->enabledExtensionCount;
188 ppEnabledExtensionNames = src->ppEnabledExtensionNames;
189 if (src->pApplicationInfo)
190 pApplicationInfo = new safe_VkApplicationInfo(*src->pApplicationInfo);
191 else
192 pApplicationInfo = NULL;
193}
194
195safe_VkAllocationCallbacks::safe_VkAllocationCallbacks(const VkAllocationCallbacks* in_struct) :
196 pUserData(in_struct->pUserData),
197 pfnAllocation(in_struct->pfnAllocation),
198 pfnReallocation(in_struct->pfnReallocation),
199 pfnFree(in_struct->pfnFree),
200 pfnInternalAllocation(in_struct->pfnInternalAllocation),
201 pfnInternalFree(in_struct->pfnInternalFree)
202{
203}
204
205safe_VkAllocationCallbacks::safe_VkAllocationCallbacks()
206{}
207
208safe_VkAllocationCallbacks::safe_VkAllocationCallbacks(const safe_VkAllocationCallbacks& src)
209{
210 pUserData = src.pUserData;
211 pfnAllocation = src.pfnAllocation;
212 pfnReallocation = src.pfnReallocation;
213 pfnFree = src.pfnFree;
214 pfnInternalAllocation = src.pfnInternalAllocation;
215 pfnInternalFree = src.pfnInternalFree;
216}
217
218safe_VkAllocationCallbacks& safe_VkAllocationCallbacks::operator=(const safe_VkAllocationCallbacks& src)
219{
220 if (&src == this) return *this;
221
222
223 pUserData = src.pUserData;
224 pfnAllocation = src.pfnAllocation;
225 pfnReallocation = src.pfnReallocation;
226 pfnFree = src.pfnFree;
227 pfnInternalAllocation = src.pfnInternalAllocation;
228 pfnInternalFree = src.pfnInternalFree;
229
230 return *this;
231}
232
233safe_VkAllocationCallbacks::~safe_VkAllocationCallbacks()
234{
235}
236
237void safe_VkAllocationCallbacks::initialize(const VkAllocationCallbacks* in_struct)
238{
239 pUserData = in_struct->pUserData;
240 pfnAllocation = in_struct->pfnAllocation;
241 pfnReallocation = in_struct->pfnReallocation;
242 pfnFree = in_struct->pfnFree;
243 pfnInternalAllocation = in_struct->pfnInternalAllocation;
244 pfnInternalFree = in_struct->pfnInternalFree;
245}
246
247void safe_VkAllocationCallbacks::initialize(const safe_VkAllocationCallbacks* src)
248{
249 pUserData = src->pUserData;
250 pfnAllocation = src->pfnAllocation;
251 pfnReallocation = src->pfnReallocation;
252 pfnFree = src->pfnFree;
253 pfnInternalAllocation = src->pfnInternalAllocation;
254 pfnInternalFree = src->pfnInternalFree;
255}
256
257safe_VkDeviceQueueCreateInfo::safe_VkDeviceQueueCreateInfo(const VkDeviceQueueCreateInfo* in_struct) :
258 sType(in_struct->sType),
259 pNext(in_struct->pNext),
260 flags(in_struct->flags),
261 queueFamilyIndex(in_struct->queueFamilyIndex),
262 queueCount(in_struct->queueCount),
263 pQueuePriorities(nullptr)
264{
265 if (in_struct->pQueuePriorities) {
266 pQueuePriorities = new float[in_struct->queueCount];
267 memcpy ((void *)pQueuePriorities, (void *)in_struct->pQueuePriorities, sizeof(float)*in_struct->queueCount);
268 }
269}
270
271safe_VkDeviceQueueCreateInfo::safe_VkDeviceQueueCreateInfo() :
272 pQueuePriorities(nullptr)
273{}
274
275safe_VkDeviceQueueCreateInfo::safe_VkDeviceQueueCreateInfo(const safe_VkDeviceQueueCreateInfo& src)
276{
277 sType = src.sType;
278 pNext = src.pNext;
279 flags = src.flags;
280 queueFamilyIndex = src.queueFamilyIndex;
281 queueCount = src.queueCount;
282 pQueuePriorities = nullptr;
283 if (src.pQueuePriorities) {
284 pQueuePriorities = new float[src.queueCount];
285 memcpy ((void *)pQueuePriorities, (void *)src.pQueuePriorities, sizeof(float)*src.queueCount);
286 }
287}
288
289safe_VkDeviceQueueCreateInfo& safe_VkDeviceQueueCreateInfo::operator=(const safe_VkDeviceQueueCreateInfo& src)
290{
291 if (&src == this) return *this;
292
293 if (pQueuePriorities)
294 delete[] pQueuePriorities;
295
296 sType = src.sType;
297 pNext = src.pNext;
298 flags = src.flags;
299 queueFamilyIndex = src.queueFamilyIndex;
300 queueCount = src.queueCount;
301 pQueuePriorities = nullptr;
302 if (src.pQueuePriorities) {
303 pQueuePriorities = new float[src.queueCount];
304 memcpy ((void *)pQueuePriorities, (void *)src.pQueuePriorities, sizeof(float)*src.queueCount);
305 }
306
307 return *this;
308}
309
310safe_VkDeviceQueueCreateInfo::~safe_VkDeviceQueueCreateInfo()
311{
312 if (pQueuePriorities)
313 delete[] pQueuePriorities;
314}
315
316void safe_VkDeviceQueueCreateInfo::initialize(const VkDeviceQueueCreateInfo* in_struct)
317{
318 sType = in_struct->sType;
319 pNext = in_struct->pNext;
320 flags = in_struct->flags;
321 queueFamilyIndex = in_struct->queueFamilyIndex;
322 queueCount = in_struct->queueCount;
323 pQueuePriorities = nullptr;
324 if (in_struct->pQueuePriorities) {
325 pQueuePriorities = new float[in_struct->queueCount];
326 memcpy ((void *)pQueuePriorities, (void *)in_struct->pQueuePriorities, sizeof(float)*in_struct->queueCount);
327 }
328}
329
330void safe_VkDeviceQueueCreateInfo::initialize(const safe_VkDeviceQueueCreateInfo* src)
331{
332 sType = src->sType;
333 pNext = src->pNext;
334 flags = src->flags;
335 queueFamilyIndex = src->queueFamilyIndex;
336 queueCount = src->queueCount;
337 pQueuePriorities = nullptr;
338 if (src->pQueuePriorities) {
339 pQueuePriorities = new float[src->queueCount];
340 memcpy ((void *)pQueuePriorities, (void *)src->pQueuePriorities, sizeof(float)*src->queueCount);
341 }
342}
343
344safe_VkDeviceCreateInfo::safe_VkDeviceCreateInfo(const VkDeviceCreateInfo* in_struct) :
345 sType(in_struct->sType),
346 pNext(in_struct->pNext),
347 flags(in_struct->flags),
348 queueCreateInfoCount(in_struct->queueCreateInfoCount),
349 pQueueCreateInfos(nullptr),
350 enabledLayerCount(in_struct->enabledLayerCount),
351 ppEnabledLayerNames(in_struct->ppEnabledLayerNames),
352 enabledExtensionCount(in_struct->enabledExtensionCount),
353 ppEnabledExtensionNames(in_struct->ppEnabledExtensionNames),
354 pEnabledFeatures(nullptr)
355{
356 if (queueCreateInfoCount && in_struct->pQueueCreateInfos) {
357 pQueueCreateInfos = new safe_VkDeviceQueueCreateInfo[queueCreateInfoCount];
358 for (uint32_t i=0; i<queueCreateInfoCount; ++i) {
359 pQueueCreateInfos[i].initialize(&in_struct->pQueueCreateInfos[i]);
360 }
361 }
362 if (in_struct->pEnabledFeatures) {
363 pEnabledFeatures = new VkPhysicalDeviceFeatures(*in_struct->pEnabledFeatures);
364 }
365}
366
367safe_VkDeviceCreateInfo::safe_VkDeviceCreateInfo() :
368 pQueueCreateInfos(nullptr),
369 pEnabledFeatures(nullptr)
370{}
371
372safe_VkDeviceCreateInfo::safe_VkDeviceCreateInfo(const safe_VkDeviceCreateInfo& src)
373{
374 sType = src.sType;
375 pNext = src.pNext;
376 flags = src.flags;
377 queueCreateInfoCount = src.queueCreateInfoCount;
378 pQueueCreateInfos = nullptr;
379 enabledLayerCount = src.enabledLayerCount;
380 ppEnabledLayerNames = src.ppEnabledLayerNames;
381 enabledExtensionCount = src.enabledExtensionCount;
382 ppEnabledExtensionNames = src.ppEnabledExtensionNames;
383 pEnabledFeatures = nullptr;
384 if (queueCreateInfoCount && src.pQueueCreateInfos) {
385 pQueueCreateInfos = new safe_VkDeviceQueueCreateInfo[queueCreateInfoCount];
386 for (uint32_t i=0; i<queueCreateInfoCount; ++i) {
387 pQueueCreateInfos[i].initialize(&src.pQueueCreateInfos[i]);
388 }
389 }
390 if (src.pEnabledFeatures) {
391 pEnabledFeatures = new VkPhysicalDeviceFeatures(*src.pEnabledFeatures);
392 }
393}
394
395safe_VkDeviceCreateInfo& safe_VkDeviceCreateInfo::operator=(const safe_VkDeviceCreateInfo& src)
396{
397 if (&src == this) return *this;
398
399 if (pQueueCreateInfos)
400 delete[] pQueueCreateInfos;
401 if (pEnabledFeatures)
402 delete pEnabledFeatures;
403
404 sType = src.sType;
405 pNext = src.pNext;
406 flags = src.flags;
407 queueCreateInfoCount = src.queueCreateInfoCount;
408 pQueueCreateInfos = nullptr;
409 enabledLayerCount = src.enabledLayerCount;
410 ppEnabledLayerNames = src.ppEnabledLayerNames;
411 enabledExtensionCount = src.enabledExtensionCount;
412 ppEnabledExtensionNames = src.ppEnabledExtensionNames;
413 pEnabledFeatures = nullptr;
414 if (queueCreateInfoCount && src.pQueueCreateInfos) {
415 pQueueCreateInfos = new safe_VkDeviceQueueCreateInfo[queueCreateInfoCount];
416 for (uint32_t i=0; i<queueCreateInfoCount; ++i) {
417 pQueueCreateInfos[i].initialize(&src.pQueueCreateInfos[i]);
418 }
419 }
420 if (src.pEnabledFeatures) {
421 pEnabledFeatures = new VkPhysicalDeviceFeatures(*src.pEnabledFeatures);
422 }
423
424 return *this;
425}
426
427safe_VkDeviceCreateInfo::~safe_VkDeviceCreateInfo()
428{
429 if (pQueueCreateInfos)
430 delete[] pQueueCreateInfos;
431 if (pEnabledFeatures)
432 delete pEnabledFeatures;
433}
434
435void safe_VkDeviceCreateInfo::initialize(const VkDeviceCreateInfo* in_struct)
436{
437 sType = in_struct->sType;
438 pNext = in_struct->pNext;
439 flags = in_struct->flags;
440 queueCreateInfoCount = in_struct->queueCreateInfoCount;
441 pQueueCreateInfos = nullptr;
442 enabledLayerCount = in_struct->enabledLayerCount;
443 ppEnabledLayerNames = in_struct->ppEnabledLayerNames;
444 enabledExtensionCount = in_struct->enabledExtensionCount;
445 ppEnabledExtensionNames = in_struct->ppEnabledExtensionNames;
446 pEnabledFeatures = nullptr;
447 if (queueCreateInfoCount && in_struct->pQueueCreateInfos) {
448 pQueueCreateInfos = new safe_VkDeviceQueueCreateInfo[queueCreateInfoCount];
449 for (uint32_t i=0; i<queueCreateInfoCount; ++i) {
450 pQueueCreateInfos[i].initialize(&in_struct->pQueueCreateInfos[i]);
451 }
452 }
453 if (in_struct->pEnabledFeatures) {
454 pEnabledFeatures = new VkPhysicalDeviceFeatures(*in_struct->pEnabledFeatures);
455 }
456}
457
458void safe_VkDeviceCreateInfo::initialize(const safe_VkDeviceCreateInfo* src)
459{
460 sType = src->sType;
461 pNext = src->pNext;
462 flags = src->flags;
463 queueCreateInfoCount = src->queueCreateInfoCount;
464 pQueueCreateInfos = nullptr;
465 enabledLayerCount = src->enabledLayerCount;
466 ppEnabledLayerNames = src->ppEnabledLayerNames;
467 enabledExtensionCount = src->enabledExtensionCount;
468 ppEnabledExtensionNames = src->ppEnabledExtensionNames;
469 pEnabledFeatures = nullptr;
470 if (queueCreateInfoCount && src->pQueueCreateInfos) {
471 pQueueCreateInfos = new safe_VkDeviceQueueCreateInfo[queueCreateInfoCount];
472 for (uint32_t i=0; i<queueCreateInfoCount; ++i) {
473 pQueueCreateInfos[i].initialize(&src->pQueueCreateInfos[i]);
474 }
475 }
476 if (src->pEnabledFeatures) {
477 pEnabledFeatures = new VkPhysicalDeviceFeatures(*src->pEnabledFeatures);
478 }
479}
480
481safe_VkSubmitInfo::safe_VkSubmitInfo(const VkSubmitInfo* in_struct) :
482 sType(in_struct->sType),
483 pNext(in_struct->pNext),
484 waitSemaphoreCount(in_struct->waitSemaphoreCount),
485 pWaitSemaphores(nullptr),
486 pWaitDstStageMask(nullptr),
487 commandBufferCount(in_struct->commandBufferCount),
488 pCommandBuffers(nullptr),
489 signalSemaphoreCount(in_struct->signalSemaphoreCount),
490 pSignalSemaphores(nullptr)
491{
492 if (waitSemaphoreCount && in_struct->pWaitSemaphores) {
493 pWaitSemaphores = new VkSemaphore[waitSemaphoreCount];
494 for (uint32_t i=0; i<waitSemaphoreCount; ++i) {
495 pWaitSemaphores[i] = in_struct->pWaitSemaphores[i];
496 }
497 }
498 if (in_struct->pWaitDstStageMask) {
499 pWaitDstStageMask = new VkPipelineStageFlags[in_struct->waitSemaphoreCount];
500 memcpy ((void *)pWaitDstStageMask, (void *)in_struct->pWaitDstStageMask, sizeof(VkPipelineStageFlags)*in_struct->waitSemaphoreCount);
501 }
502 if (in_struct->pCommandBuffers) {
503 pCommandBuffers = new VkCommandBuffer[in_struct->commandBufferCount];
504 memcpy ((void *)pCommandBuffers, (void *)in_struct->pCommandBuffers, sizeof(VkCommandBuffer)*in_struct->commandBufferCount);
505 }
506 if (signalSemaphoreCount && in_struct->pSignalSemaphores) {
507 pSignalSemaphores = new VkSemaphore[signalSemaphoreCount];
508 for (uint32_t i=0; i<signalSemaphoreCount; ++i) {
509 pSignalSemaphores[i] = in_struct->pSignalSemaphores[i];
510 }
511 }
512}
513
514safe_VkSubmitInfo::safe_VkSubmitInfo() :
515 pWaitSemaphores(nullptr),
516 pWaitDstStageMask(nullptr),
517 pCommandBuffers(nullptr),
518 pSignalSemaphores(nullptr)
519{}
520
521safe_VkSubmitInfo::safe_VkSubmitInfo(const safe_VkSubmitInfo& src)
522{
523 sType = src.sType;
524 pNext = src.pNext;
525 waitSemaphoreCount = src.waitSemaphoreCount;
526 pWaitSemaphores = nullptr;
527 pWaitDstStageMask = nullptr;
528 commandBufferCount = src.commandBufferCount;
529 pCommandBuffers = nullptr;
530 signalSemaphoreCount = src.signalSemaphoreCount;
531 pSignalSemaphores = nullptr;
532 if (waitSemaphoreCount && src.pWaitSemaphores) {
533 pWaitSemaphores = new VkSemaphore[waitSemaphoreCount];
534 for (uint32_t i=0; i<waitSemaphoreCount; ++i) {
535 pWaitSemaphores[i] = src.pWaitSemaphores[i];
536 }
537 }
538 if (src.pWaitDstStageMask) {
539 pWaitDstStageMask = new VkPipelineStageFlags[src.waitSemaphoreCount];
540 memcpy ((void *)pWaitDstStageMask, (void *)src.pWaitDstStageMask, sizeof(VkPipelineStageFlags)*src.waitSemaphoreCount);
541 }
542 if (src.pCommandBuffers) {
543 pCommandBuffers = new VkCommandBuffer[src.commandBufferCount];
544 memcpy ((void *)pCommandBuffers, (void *)src.pCommandBuffers, sizeof(VkCommandBuffer)*src.commandBufferCount);
545 }
546 if (signalSemaphoreCount && src.pSignalSemaphores) {
547 pSignalSemaphores = new VkSemaphore[signalSemaphoreCount];
548 for (uint32_t i=0; i<signalSemaphoreCount; ++i) {
549 pSignalSemaphores[i] = src.pSignalSemaphores[i];
550 }
551 }
552}
553
554safe_VkSubmitInfo& safe_VkSubmitInfo::operator=(const safe_VkSubmitInfo& src)
555{
556 if (&src == this) return *this;
557
558 if (pWaitSemaphores)
559 delete[] pWaitSemaphores;
560 if (pWaitDstStageMask)
561 delete[] pWaitDstStageMask;
562 if (pCommandBuffers)
563 delete[] pCommandBuffers;
564 if (pSignalSemaphores)
565 delete[] pSignalSemaphores;
566
567 sType = src.sType;
568 pNext = src.pNext;
569 waitSemaphoreCount = src.waitSemaphoreCount;
570 pWaitSemaphores = nullptr;
571 pWaitDstStageMask = nullptr;
572 commandBufferCount = src.commandBufferCount;
573 pCommandBuffers = nullptr;
574 signalSemaphoreCount = src.signalSemaphoreCount;
575 pSignalSemaphores = nullptr;
576 if (waitSemaphoreCount && src.pWaitSemaphores) {
577 pWaitSemaphores = new VkSemaphore[waitSemaphoreCount];
578 for (uint32_t i=0; i<waitSemaphoreCount; ++i) {
579 pWaitSemaphores[i] = src.pWaitSemaphores[i];
580 }
581 }
582 if (src.pWaitDstStageMask) {
583 pWaitDstStageMask = new VkPipelineStageFlags[src.waitSemaphoreCount];
584 memcpy ((void *)pWaitDstStageMask, (void *)src.pWaitDstStageMask, sizeof(VkPipelineStageFlags)*src.waitSemaphoreCount);
585 }
586 if (src.pCommandBuffers) {
587 pCommandBuffers = new VkCommandBuffer[src.commandBufferCount];
588 memcpy ((void *)pCommandBuffers, (void *)src.pCommandBuffers, sizeof(VkCommandBuffer)*src.commandBufferCount);
589 }
590 if (signalSemaphoreCount && src.pSignalSemaphores) {
591 pSignalSemaphores = new VkSemaphore[signalSemaphoreCount];
592 for (uint32_t i=0; i<signalSemaphoreCount; ++i) {
593 pSignalSemaphores[i] = src.pSignalSemaphores[i];
594 }
595 }
596
597 return *this;
598}
599
600safe_VkSubmitInfo::~safe_VkSubmitInfo()
601{
602 if (pWaitSemaphores)
603 delete[] pWaitSemaphores;
604 if (pWaitDstStageMask)
605 delete[] pWaitDstStageMask;
606 if (pCommandBuffers)
607 delete[] pCommandBuffers;
608 if (pSignalSemaphores)
609 delete[] pSignalSemaphores;
610}
611
612void safe_VkSubmitInfo::initialize(const VkSubmitInfo* in_struct)
613{
614 sType = in_struct->sType;
615 pNext = in_struct->pNext;
616 waitSemaphoreCount = in_struct->waitSemaphoreCount;
617 pWaitSemaphores = nullptr;
618 pWaitDstStageMask = nullptr;
619 commandBufferCount = in_struct->commandBufferCount;
620 pCommandBuffers = nullptr;
621 signalSemaphoreCount = in_struct->signalSemaphoreCount;
622 pSignalSemaphores = nullptr;
623 if (waitSemaphoreCount && in_struct->pWaitSemaphores) {
624 pWaitSemaphores = new VkSemaphore[waitSemaphoreCount];
625 for (uint32_t i=0; i<waitSemaphoreCount; ++i) {
626 pWaitSemaphores[i] = in_struct->pWaitSemaphores[i];
627 }
628 }
629 if (in_struct->pWaitDstStageMask) {
630 pWaitDstStageMask = new VkPipelineStageFlags[in_struct->waitSemaphoreCount];
631 memcpy ((void *)pWaitDstStageMask, (void *)in_struct->pWaitDstStageMask, sizeof(VkPipelineStageFlags)*in_struct->waitSemaphoreCount);
632 }
633 if (in_struct->pCommandBuffers) {
634 pCommandBuffers = new VkCommandBuffer[in_struct->commandBufferCount];
635 memcpy ((void *)pCommandBuffers, (void *)in_struct->pCommandBuffers, sizeof(VkCommandBuffer)*in_struct->commandBufferCount);
636 }
637 if (signalSemaphoreCount && in_struct->pSignalSemaphores) {
638 pSignalSemaphores = new VkSemaphore[signalSemaphoreCount];
639 for (uint32_t i=0; i<signalSemaphoreCount; ++i) {
640 pSignalSemaphores[i] = in_struct->pSignalSemaphores[i];
641 }
642 }
643}
644
645void safe_VkSubmitInfo::initialize(const safe_VkSubmitInfo* src)
646{
647 sType = src->sType;
648 pNext = src->pNext;
649 waitSemaphoreCount = src->waitSemaphoreCount;
650 pWaitSemaphores = nullptr;
651 pWaitDstStageMask = nullptr;
652 commandBufferCount = src->commandBufferCount;
653 pCommandBuffers = nullptr;
654 signalSemaphoreCount = src->signalSemaphoreCount;
655 pSignalSemaphores = nullptr;
656 if (waitSemaphoreCount && src->pWaitSemaphores) {
657 pWaitSemaphores = new VkSemaphore[waitSemaphoreCount];
658 for (uint32_t i=0; i<waitSemaphoreCount; ++i) {
659 pWaitSemaphores[i] = src->pWaitSemaphores[i];
660 }
661 }
662 if (src->pWaitDstStageMask) {
663 pWaitDstStageMask = new VkPipelineStageFlags[src->waitSemaphoreCount];
664 memcpy ((void *)pWaitDstStageMask, (void *)src->pWaitDstStageMask, sizeof(VkPipelineStageFlags)*src->waitSemaphoreCount);
665 }
666 if (src->pCommandBuffers) {
667 pCommandBuffers = new VkCommandBuffer[src->commandBufferCount];
668 memcpy ((void *)pCommandBuffers, (void *)src->pCommandBuffers, sizeof(VkCommandBuffer)*src->commandBufferCount);
669 }
670 if (signalSemaphoreCount && src->pSignalSemaphores) {
671 pSignalSemaphores = new VkSemaphore[signalSemaphoreCount];
672 for (uint32_t i=0; i<signalSemaphoreCount; ++i) {
673 pSignalSemaphores[i] = src->pSignalSemaphores[i];
674 }
675 }
676}
677
678safe_VkMemoryAllocateInfo::safe_VkMemoryAllocateInfo(const VkMemoryAllocateInfo* in_struct) :
679 sType(in_struct->sType),
680 pNext(in_struct->pNext),
681 allocationSize(in_struct->allocationSize),
682 memoryTypeIndex(in_struct->memoryTypeIndex)
683{
684}
685
686safe_VkMemoryAllocateInfo::safe_VkMemoryAllocateInfo()
687{}
688
689safe_VkMemoryAllocateInfo::safe_VkMemoryAllocateInfo(const safe_VkMemoryAllocateInfo& src)
690{
691 sType = src.sType;
692 pNext = src.pNext;
693 allocationSize = src.allocationSize;
694 memoryTypeIndex = src.memoryTypeIndex;
695}
696
697safe_VkMemoryAllocateInfo& safe_VkMemoryAllocateInfo::operator=(const safe_VkMemoryAllocateInfo& src)
698{
699 if (&src == this) return *this;
700
701
702 sType = src.sType;
703 pNext = src.pNext;
704 allocationSize = src.allocationSize;
705 memoryTypeIndex = src.memoryTypeIndex;
706
707 return *this;
708}
709
710safe_VkMemoryAllocateInfo::~safe_VkMemoryAllocateInfo()
711{
712}
713
714void safe_VkMemoryAllocateInfo::initialize(const VkMemoryAllocateInfo* in_struct)
715{
716 sType = in_struct->sType;
717 pNext = in_struct->pNext;
718 allocationSize = in_struct->allocationSize;
719 memoryTypeIndex = in_struct->memoryTypeIndex;
720}
721
722void safe_VkMemoryAllocateInfo::initialize(const safe_VkMemoryAllocateInfo* src)
723{
724 sType = src->sType;
725 pNext = src->pNext;
726 allocationSize = src->allocationSize;
727 memoryTypeIndex = src->memoryTypeIndex;
728}
729
730safe_VkMappedMemoryRange::safe_VkMappedMemoryRange(const VkMappedMemoryRange* in_struct) :
731 sType(in_struct->sType),
732 pNext(in_struct->pNext),
733 memory(in_struct->memory),
734 offset(in_struct->offset),
735 size(in_struct->size)
736{
737}
738
739safe_VkMappedMemoryRange::safe_VkMappedMemoryRange()
740{}
741
742safe_VkMappedMemoryRange::safe_VkMappedMemoryRange(const safe_VkMappedMemoryRange& src)
743{
744 sType = src.sType;
745 pNext = src.pNext;
746 memory = src.memory;
747 offset = src.offset;
748 size = src.size;
749}
750
751safe_VkMappedMemoryRange& safe_VkMappedMemoryRange::operator=(const safe_VkMappedMemoryRange& src)
752{
753 if (&src == this) return *this;
754
755
756 sType = src.sType;
757 pNext = src.pNext;
758 memory = src.memory;
759 offset = src.offset;
760 size = src.size;
761
762 return *this;
763}
764
765safe_VkMappedMemoryRange::~safe_VkMappedMemoryRange()
766{
767}
768
769void safe_VkMappedMemoryRange::initialize(const VkMappedMemoryRange* in_struct)
770{
771 sType = in_struct->sType;
772 pNext = in_struct->pNext;
773 memory = in_struct->memory;
774 offset = in_struct->offset;
775 size = in_struct->size;
776}
777
778void safe_VkMappedMemoryRange::initialize(const safe_VkMappedMemoryRange* src)
779{
780 sType = src->sType;
781 pNext = src->pNext;
782 memory = src->memory;
783 offset = src->offset;
784 size = src->size;
785}
786
787safe_VkSparseBufferMemoryBindInfo::safe_VkSparseBufferMemoryBindInfo(const VkSparseBufferMemoryBindInfo* in_struct) :
788 buffer(in_struct->buffer),
789 bindCount(in_struct->bindCount),
790 pBinds(nullptr)
791{
792 if (bindCount && in_struct->pBinds) {
793 pBinds = new VkSparseMemoryBind[bindCount];
794 for (uint32_t i=0; i<bindCount; ++i) {
795 pBinds[i] = in_struct->pBinds[i];
796 }
797 }
798}
799
800safe_VkSparseBufferMemoryBindInfo::safe_VkSparseBufferMemoryBindInfo() :
801 pBinds(nullptr)
802{}
803
804safe_VkSparseBufferMemoryBindInfo::safe_VkSparseBufferMemoryBindInfo(const safe_VkSparseBufferMemoryBindInfo& src)
805{
806 buffer = src.buffer;
807 bindCount = src.bindCount;
808 pBinds = nullptr;
809 if (bindCount && src.pBinds) {
810 pBinds = new VkSparseMemoryBind[bindCount];
811 for (uint32_t i=0; i<bindCount; ++i) {
812 pBinds[i] = src.pBinds[i];
813 }
814 }
815}
816
817safe_VkSparseBufferMemoryBindInfo& safe_VkSparseBufferMemoryBindInfo::operator=(const safe_VkSparseBufferMemoryBindInfo& src)
818{
819 if (&src == this) return *this;
820
821 if (pBinds)
822 delete[] pBinds;
823
824 buffer = src.buffer;
825 bindCount = src.bindCount;
826 pBinds = nullptr;
827 if (bindCount && src.pBinds) {
828 pBinds = new VkSparseMemoryBind[bindCount];
829 for (uint32_t i=0; i<bindCount; ++i) {
830 pBinds[i] = src.pBinds[i];
831 }
832 }
833
834 return *this;
835}
836
837safe_VkSparseBufferMemoryBindInfo::~safe_VkSparseBufferMemoryBindInfo()
838{
839 if (pBinds)
840 delete[] pBinds;
841}
842
843void safe_VkSparseBufferMemoryBindInfo::initialize(const VkSparseBufferMemoryBindInfo* in_struct)
844{
845 buffer = in_struct->buffer;
846 bindCount = in_struct->bindCount;
847 pBinds = nullptr;
848 if (bindCount && in_struct->pBinds) {
849 pBinds = new VkSparseMemoryBind[bindCount];
850 for (uint32_t i=0; i<bindCount; ++i) {
851 pBinds[i] = in_struct->pBinds[i];
852 }
853 }
854}
855
856void safe_VkSparseBufferMemoryBindInfo::initialize(const safe_VkSparseBufferMemoryBindInfo* src)
857{
858 buffer = src->buffer;
859 bindCount = src->bindCount;
860 pBinds = nullptr;
861 if (bindCount && src->pBinds) {
862 pBinds = new VkSparseMemoryBind[bindCount];
863 for (uint32_t i=0; i<bindCount; ++i) {
864 pBinds[i] = src->pBinds[i];
865 }
866 }
867}
868
869safe_VkSparseImageOpaqueMemoryBindInfo::safe_VkSparseImageOpaqueMemoryBindInfo(const VkSparseImageOpaqueMemoryBindInfo* in_struct) :
870 image(in_struct->image),
871 bindCount(in_struct->bindCount),
872 pBinds(nullptr)
873{
874 if (bindCount && in_struct->pBinds) {
875 pBinds = new VkSparseMemoryBind[bindCount];
876 for (uint32_t i=0; i<bindCount; ++i) {
877 pBinds[i] = in_struct->pBinds[i];
878 }
879 }
880}
881
882safe_VkSparseImageOpaqueMemoryBindInfo::safe_VkSparseImageOpaqueMemoryBindInfo() :
883 pBinds(nullptr)
884{}
885
886safe_VkSparseImageOpaqueMemoryBindInfo::safe_VkSparseImageOpaqueMemoryBindInfo(const safe_VkSparseImageOpaqueMemoryBindInfo& src)
887{
888 image = src.image;
889 bindCount = src.bindCount;
890 pBinds = nullptr;
891 if (bindCount && src.pBinds) {
892 pBinds = new VkSparseMemoryBind[bindCount];
893 for (uint32_t i=0; i<bindCount; ++i) {
894 pBinds[i] = src.pBinds[i];
895 }
896 }
897}
898
899safe_VkSparseImageOpaqueMemoryBindInfo& safe_VkSparseImageOpaqueMemoryBindInfo::operator=(const safe_VkSparseImageOpaqueMemoryBindInfo& src)
900{
901 if (&src == this) return *this;
902
903 if (pBinds)
904 delete[] pBinds;
905
906 image = src.image;
907 bindCount = src.bindCount;
908 pBinds = nullptr;
909 if (bindCount && src.pBinds) {
910 pBinds = new VkSparseMemoryBind[bindCount];
911 for (uint32_t i=0; i<bindCount; ++i) {
912 pBinds[i] = src.pBinds[i];
913 }
914 }
915
916 return *this;
917}
918
919safe_VkSparseImageOpaqueMemoryBindInfo::~safe_VkSparseImageOpaqueMemoryBindInfo()
920{
921 if (pBinds)
922 delete[] pBinds;
923}
924
925void safe_VkSparseImageOpaqueMemoryBindInfo::initialize(const VkSparseImageOpaqueMemoryBindInfo* in_struct)
926{
927 image = in_struct->image;
928 bindCount = in_struct->bindCount;
929 pBinds = nullptr;
930 if (bindCount && in_struct->pBinds) {
931 pBinds = new VkSparseMemoryBind[bindCount];
932 for (uint32_t i=0; i<bindCount; ++i) {
933 pBinds[i] = in_struct->pBinds[i];
934 }
935 }
936}
937
938void safe_VkSparseImageOpaqueMemoryBindInfo::initialize(const safe_VkSparseImageOpaqueMemoryBindInfo* src)
939{
940 image = src->image;
941 bindCount = src->bindCount;
942 pBinds = nullptr;
943 if (bindCount && src->pBinds) {
944 pBinds = new VkSparseMemoryBind[bindCount];
945 for (uint32_t i=0; i<bindCount; ++i) {
946 pBinds[i] = src->pBinds[i];
947 }
948 }
949}
950
951safe_VkSparseImageMemoryBindInfo::safe_VkSparseImageMemoryBindInfo(const VkSparseImageMemoryBindInfo* in_struct) :
952 image(in_struct->image),
953 bindCount(in_struct->bindCount),
954 pBinds(nullptr)
955{
956 if (bindCount && in_struct->pBinds) {
957 pBinds = new VkSparseImageMemoryBind[bindCount];
958 for (uint32_t i=0; i<bindCount; ++i) {
959 pBinds[i] = in_struct->pBinds[i];
960 }
961 }
962}
963
964safe_VkSparseImageMemoryBindInfo::safe_VkSparseImageMemoryBindInfo() :
965 pBinds(nullptr)
966{}
967
968safe_VkSparseImageMemoryBindInfo::safe_VkSparseImageMemoryBindInfo(const safe_VkSparseImageMemoryBindInfo& src)
969{
970 image = src.image;
971 bindCount = src.bindCount;
972 pBinds = nullptr;
973 if (bindCount && src.pBinds) {
974 pBinds = new VkSparseImageMemoryBind[bindCount];
975 for (uint32_t i=0; i<bindCount; ++i) {
976 pBinds[i] = src.pBinds[i];
977 }
978 }
979}
980
981safe_VkSparseImageMemoryBindInfo& safe_VkSparseImageMemoryBindInfo::operator=(const safe_VkSparseImageMemoryBindInfo& src)
982{
983 if (&src == this) return *this;
984
985 if (pBinds)
986 delete[] pBinds;
987
988 image = src.image;
989 bindCount = src.bindCount;
990 pBinds = nullptr;
991 if (bindCount && src.pBinds) {
992 pBinds = new VkSparseImageMemoryBind[bindCount];
993 for (uint32_t i=0; i<bindCount; ++i) {
994 pBinds[i] = src.pBinds[i];
995 }
996 }
997
998 return *this;
999}
1000
1001safe_VkSparseImageMemoryBindInfo::~safe_VkSparseImageMemoryBindInfo()
1002{
1003 if (pBinds)
1004 delete[] pBinds;
1005}
1006
1007void safe_VkSparseImageMemoryBindInfo::initialize(const VkSparseImageMemoryBindInfo* in_struct)
1008{
1009 image = in_struct->image;
1010 bindCount = in_struct->bindCount;
1011 pBinds = nullptr;
1012 if (bindCount && in_struct->pBinds) {
1013 pBinds = new VkSparseImageMemoryBind[bindCount];
1014 for (uint32_t i=0; i<bindCount; ++i) {
1015 pBinds[i] = in_struct->pBinds[i];
1016 }
1017 }
1018}
1019
1020void safe_VkSparseImageMemoryBindInfo::initialize(const safe_VkSparseImageMemoryBindInfo* src)
1021{
1022 image = src->image;
1023 bindCount = src->bindCount;
1024 pBinds = nullptr;
1025 if (bindCount && src->pBinds) {
1026 pBinds = new VkSparseImageMemoryBind[bindCount];
1027 for (uint32_t i=0; i<bindCount; ++i) {
1028 pBinds[i] = src->pBinds[i];
1029 }
1030 }
1031}
1032
1033safe_VkBindSparseInfo::safe_VkBindSparseInfo(const VkBindSparseInfo* in_struct) :
1034 sType(in_struct->sType),
1035 pNext(in_struct->pNext),
1036 waitSemaphoreCount(in_struct->waitSemaphoreCount),
1037 pWaitSemaphores(nullptr),
1038 bufferBindCount(in_struct->bufferBindCount),
1039 pBufferBinds(nullptr),
1040 imageOpaqueBindCount(in_struct->imageOpaqueBindCount),
1041 pImageOpaqueBinds(nullptr),
1042 imageBindCount(in_struct->imageBindCount),
1043 pImageBinds(nullptr),
1044 signalSemaphoreCount(in_struct->signalSemaphoreCount),
1045 pSignalSemaphores(nullptr)
1046{
1047 if (waitSemaphoreCount && in_struct->pWaitSemaphores) {
1048 pWaitSemaphores = new VkSemaphore[waitSemaphoreCount];
1049 for (uint32_t i=0; i<waitSemaphoreCount; ++i) {
1050 pWaitSemaphores[i] = in_struct->pWaitSemaphores[i];
1051 }
1052 }
1053 if (bufferBindCount && in_struct->pBufferBinds) {
1054 pBufferBinds = new safe_VkSparseBufferMemoryBindInfo[bufferBindCount];
1055 for (uint32_t i=0; i<bufferBindCount; ++i) {
1056 pBufferBinds[i].initialize(&in_struct->pBufferBinds[i]);
1057 }
1058 }
1059 if (imageOpaqueBindCount && in_struct->pImageOpaqueBinds) {
1060 pImageOpaqueBinds = new safe_VkSparseImageOpaqueMemoryBindInfo[imageOpaqueBindCount];
1061 for (uint32_t i=0; i<imageOpaqueBindCount; ++i) {
1062 pImageOpaqueBinds[i].initialize(&in_struct->pImageOpaqueBinds[i]);
1063 }
1064 }
1065 if (imageBindCount && in_struct->pImageBinds) {
1066 pImageBinds = new safe_VkSparseImageMemoryBindInfo[imageBindCount];
1067 for (uint32_t i=0; i<imageBindCount; ++i) {
1068 pImageBinds[i].initialize(&in_struct->pImageBinds[i]);
1069 }
1070 }
1071 if (signalSemaphoreCount && in_struct->pSignalSemaphores) {
1072 pSignalSemaphores = new VkSemaphore[signalSemaphoreCount];
1073 for (uint32_t i=0; i<signalSemaphoreCount; ++i) {
1074 pSignalSemaphores[i] = in_struct->pSignalSemaphores[i];
1075 }
1076 }
1077}
1078
1079safe_VkBindSparseInfo::safe_VkBindSparseInfo() :
1080 pWaitSemaphores(nullptr),
1081 pBufferBinds(nullptr),
1082 pImageOpaqueBinds(nullptr),
1083 pImageBinds(nullptr),
1084 pSignalSemaphores(nullptr)
1085{}
1086
1087safe_VkBindSparseInfo::safe_VkBindSparseInfo(const safe_VkBindSparseInfo& src)
1088{
1089 sType = src.sType;
1090 pNext = src.pNext;
1091 waitSemaphoreCount = src.waitSemaphoreCount;
1092 pWaitSemaphores = nullptr;
1093 bufferBindCount = src.bufferBindCount;
1094 pBufferBinds = nullptr;
1095 imageOpaqueBindCount = src.imageOpaqueBindCount;
1096 pImageOpaqueBinds = nullptr;
1097 imageBindCount = src.imageBindCount;
1098 pImageBinds = nullptr;
1099 signalSemaphoreCount = src.signalSemaphoreCount;
1100 pSignalSemaphores = nullptr;
1101 if (waitSemaphoreCount && src.pWaitSemaphores) {
1102 pWaitSemaphores = new VkSemaphore[waitSemaphoreCount];
1103 for (uint32_t i=0; i<waitSemaphoreCount; ++i) {
1104 pWaitSemaphores[i] = src.pWaitSemaphores[i];
1105 }
1106 }
1107 if (bufferBindCount && src.pBufferBinds) {
1108 pBufferBinds = new safe_VkSparseBufferMemoryBindInfo[bufferBindCount];
1109 for (uint32_t i=0; i<bufferBindCount; ++i) {
1110 pBufferBinds[i].initialize(&src.pBufferBinds[i]);
1111 }
1112 }
1113 if (imageOpaqueBindCount && src.pImageOpaqueBinds) {
1114 pImageOpaqueBinds = new safe_VkSparseImageOpaqueMemoryBindInfo[imageOpaqueBindCount];
1115 for (uint32_t i=0; i<imageOpaqueBindCount; ++i) {
1116 pImageOpaqueBinds[i].initialize(&src.pImageOpaqueBinds[i]);
1117 }
1118 }
1119 if (imageBindCount && src.pImageBinds) {
1120 pImageBinds = new safe_VkSparseImageMemoryBindInfo[imageBindCount];
1121 for (uint32_t i=0; i<imageBindCount; ++i) {
1122 pImageBinds[i].initialize(&src.pImageBinds[i]);
1123 }
1124 }
1125 if (signalSemaphoreCount && src.pSignalSemaphores) {
1126 pSignalSemaphores = new VkSemaphore[signalSemaphoreCount];
1127 for (uint32_t i=0; i<signalSemaphoreCount; ++i) {
1128 pSignalSemaphores[i] = src.pSignalSemaphores[i];
1129 }
1130 }
1131}
1132
1133safe_VkBindSparseInfo& safe_VkBindSparseInfo::operator=(const safe_VkBindSparseInfo& src)
1134{
1135 if (&src == this) return *this;
1136
1137 if (pWaitSemaphores)
1138 delete[] pWaitSemaphores;
1139 if (pBufferBinds)
1140 delete[] pBufferBinds;
1141 if (pImageOpaqueBinds)
1142 delete[] pImageOpaqueBinds;
1143 if (pImageBinds)
1144 delete[] pImageBinds;
1145 if (pSignalSemaphores)
1146 delete[] pSignalSemaphores;
1147
1148 sType = src.sType;
1149 pNext = src.pNext;
1150 waitSemaphoreCount = src.waitSemaphoreCount;
1151 pWaitSemaphores = nullptr;
1152 bufferBindCount = src.bufferBindCount;
1153 pBufferBinds = nullptr;
1154 imageOpaqueBindCount = src.imageOpaqueBindCount;
1155 pImageOpaqueBinds = nullptr;
1156 imageBindCount = src.imageBindCount;
1157 pImageBinds = nullptr;
1158 signalSemaphoreCount = src.signalSemaphoreCount;
1159 pSignalSemaphores = nullptr;
1160 if (waitSemaphoreCount && src.pWaitSemaphores) {
1161 pWaitSemaphores = new VkSemaphore[waitSemaphoreCount];
1162 for (uint32_t i=0; i<waitSemaphoreCount; ++i) {
1163 pWaitSemaphores[i] = src.pWaitSemaphores[i];
1164 }
1165 }
1166 if (bufferBindCount && src.pBufferBinds) {
1167 pBufferBinds = new safe_VkSparseBufferMemoryBindInfo[bufferBindCount];
1168 for (uint32_t i=0; i<bufferBindCount; ++i) {
1169 pBufferBinds[i].initialize(&src.pBufferBinds[i]);
1170 }
1171 }
1172 if (imageOpaqueBindCount && src.pImageOpaqueBinds) {
1173 pImageOpaqueBinds = new safe_VkSparseImageOpaqueMemoryBindInfo[imageOpaqueBindCount];
1174 for (uint32_t i=0; i<imageOpaqueBindCount; ++i) {
1175 pImageOpaqueBinds[i].initialize(&src.pImageOpaqueBinds[i]);
1176 }
1177 }
1178 if (imageBindCount && src.pImageBinds) {
1179 pImageBinds = new safe_VkSparseImageMemoryBindInfo[imageBindCount];
1180 for (uint32_t i=0; i<imageBindCount; ++i) {
1181 pImageBinds[i].initialize(&src.pImageBinds[i]);
1182 }
1183 }
1184 if (signalSemaphoreCount && src.pSignalSemaphores) {
1185 pSignalSemaphores = new VkSemaphore[signalSemaphoreCount];
1186 for (uint32_t i=0; i<signalSemaphoreCount; ++i) {
1187 pSignalSemaphores[i] = src.pSignalSemaphores[i];
1188 }
1189 }
1190
1191 return *this;
1192}
1193
1194safe_VkBindSparseInfo::~safe_VkBindSparseInfo()
1195{
1196 if (pWaitSemaphores)
1197 delete[] pWaitSemaphores;
1198 if (pBufferBinds)
1199 delete[] pBufferBinds;
1200 if (pImageOpaqueBinds)
1201 delete[] pImageOpaqueBinds;
1202 if (pImageBinds)
1203 delete[] pImageBinds;
1204 if (pSignalSemaphores)
1205 delete[] pSignalSemaphores;
1206}
1207
1208void safe_VkBindSparseInfo::initialize(const VkBindSparseInfo* in_struct)
1209{
1210 sType = in_struct->sType;
1211 pNext = in_struct->pNext;
1212 waitSemaphoreCount = in_struct->waitSemaphoreCount;
1213 pWaitSemaphores = nullptr;
1214 bufferBindCount = in_struct->bufferBindCount;
1215 pBufferBinds = nullptr;
1216 imageOpaqueBindCount = in_struct->imageOpaqueBindCount;
1217 pImageOpaqueBinds = nullptr;
1218 imageBindCount = in_struct->imageBindCount;
1219 pImageBinds = nullptr;
1220 signalSemaphoreCount = in_struct->signalSemaphoreCount;
1221 pSignalSemaphores = nullptr;
1222 if (waitSemaphoreCount && in_struct->pWaitSemaphores) {
1223 pWaitSemaphores = new VkSemaphore[waitSemaphoreCount];
1224 for (uint32_t i=0; i<waitSemaphoreCount; ++i) {
1225 pWaitSemaphores[i] = in_struct->pWaitSemaphores[i];
1226 }
1227 }
1228 if (bufferBindCount && in_struct->pBufferBinds) {
1229 pBufferBinds = new safe_VkSparseBufferMemoryBindInfo[bufferBindCount];
1230 for (uint32_t i=0; i<bufferBindCount; ++i) {
1231 pBufferBinds[i].initialize(&in_struct->pBufferBinds[i]);
1232 }
1233 }
1234 if (imageOpaqueBindCount && in_struct->pImageOpaqueBinds) {
1235 pImageOpaqueBinds = new safe_VkSparseImageOpaqueMemoryBindInfo[imageOpaqueBindCount];
1236 for (uint32_t i=0; i<imageOpaqueBindCount; ++i) {
1237 pImageOpaqueBinds[i].initialize(&in_struct->pImageOpaqueBinds[i]);
1238 }
1239 }
1240 if (imageBindCount && in_struct->pImageBinds) {
1241 pImageBinds = new safe_VkSparseImageMemoryBindInfo[imageBindCount];
1242 for (uint32_t i=0; i<imageBindCount; ++i) {
1243 pImageBinds[i].initialize(&in_struct->pImageBinds[i]);
1244 }
1245 }
1246 if (signalSemaphoreCount && in_struct->pSignalSemaphores) {
1247 pSignalSemaphores = new VkSemaphore[signalSemaphoreCount];
1248 for (uint32_t i=0; i<signalSemaphoreCount; ++i) {
1249 pSignalSemaphores[i] = in_struct->pSignalSemaphores[i];
1250 }
1251 }
1252}
1253
1254void safe_VkBindSparseInfo::initialize(const safe_VkBindSparseInfo* src)
1255{
1256 sType = src->sType;
1257 pNext = src->pNext;
1258 waitSemaphoreCount = src->waitSemaphoreCount;
1259 pWaitSemaphores = nullptr;
1260 bufferBindCount = src->bufferBindCount;
1261 pBufferBinds = nullptr;
1262 imageOpaqueBindCount = src->imageOpaqueBindCount;
1263 pImageOpaqueBinds = nullptr;
1264 imageBindCount = src->imageBindCount;
1265 pImageBinds = nullptr;
1266 signalSemaphoreCount = src->signalSemaphoreCount;
1267 pSignalSemaphores = nullptr;
1268 if (waitSemaphoreCount && src->pWaitSemaphores) {
1269 pWaitSemaphores = new VkSemaphore[waitSemaphoreCount];
1270 for (uint32_t i=0; i<waitSemaphoreCount; ++i) {
1271 pWaitSemaphores[i] = src->pWaitSemaphores[i];
1272 }
1273 }
1274 if (bufferBindCount && src->pBufferBinds) {
1275 pBufferBinds = new safe_VkSparseBufferMemoryBindInfo[bufferBindCount];
1276 for (uint32_t i=0; i<bufferBindCount; ++i) {
1277 pBufferBinds[i].initialize(&src->pBufferBinds[i]);
1278 }
1279 }
1280 if (imageOpaqueBindCount && src->pImageOpaqueBinds) {
1281 pImageOpaqueBinds = new safe_VkSparseImageOpaqueMemoryBindInfo[imageOpaqueBindCount];
1282 for (uint32_t i=0; i<imageOpaqueBindCount; ++i) {
1283 pImageOpaqueBinds[i].initialize(&src->pImageOpaqueBinds[i]);
1284 }
1285 }
1286 if (imageBindCount && src->pImageBinds) {
1287 pImageBinds = new safe_VkSparseImageMemoryBindInfo[imageBindCount];
1288 for (uint32_t i=0; i<imageBindCount; ++i) {
1289 pImageBinds[i].initialize(&src->pImageBinds[i]);
1290 }
1291 }
1292 if (signalSemaphoreCount && src->pSignalSemaphores) {
1293 pSignalSemaphores = new VkSemaphore[signalSemaphoreCount];
1294 for (uint32_t i=0; i<signalSemaphoreCount; ++i) {
1295 pSignalSemaphores[i] = src->pSignalSemaphores[i];
1296 }
1297 }
1298}
1299
1300safe_VkFenceCreateInfo::safe_VkFenceCreateInfo(const VkFenceCreateInfo* in_struct) :
1301 sType(in_struct->sType),
1302 pNext(in_struct->pNext),
1303 flags(in_struct->flags)
1304{
1305}
1306
1307safe_VkFenceCreateInfo::safe_VkFenceCreateInfo()
1308{}
1309
1310safe_VkFenceCreateInfo::safe_VkFenceCreateInfo(const safe_VkFenceCreateInfo& src)
1311{
1312 sType = src.sType;
1313 pNext = src.pNext;
1314 flags = src.flags;
1315}
1316
1317safe_VkFenceCreateInfo& safe_VkFenceCreateInfo::operator=(const safe_VkFenceCreateInfo& src)
1318{
1319 if (&src == this) return *this;
1320
1321
1322 sType = src.sType;
1323 pNext = src.pNext;
1324 flags = src.flags;
1325
1326 return *this;
1327}
1328
1329safe_VkFenceCreateInfo::~safe_VkFenceCreateInfo()
1330{
1331}
1332
1333void safe_VkFenceCreateInfo::initialize(const VkFenceCreateInfo* in_struct)
1334{
1335 sType = in_struct->sType;
1336 pNext = in_struct->pNext;
1337 flags = in_struct->flags;
1338}
1339
1340void safe_VkFenceCreateInfo::initialize(const safe_VkFenceCreateInfo* src)
1341{
1342 sType = src->sType;
1343 pNext = src->pNext;
1344 flags = src->flags;
1345}
1346
1347safe_VkSemaphoreCreateInfo::safe_VkSemaphoreCreateInfo(const VkSemaphoreCreateInfo* in_struct) :
1348 sType(in_struct->sType),
1349 pNext(in_struct->pNext),
1350 flags(in_struct->flags)
1351{
1352}
1353
1354safe_VkSemaphoreCreateInfo::safe_VkSemaphoreCreateInfo()
1355{}
1356
1357safe_VkSemaphoreCreateInfo::safe_VkSemaphoreCreateInfo(const safe_VkSemaphoreCreateInfo& src)
1358{
1359 sType = src.sType;
1360 pNext = src.pNext;
1361 flags = src.flags;
1362}
1363
1364safe_VkSemaphoreCreateInfo& safe_VkSemaphoreCreateInfo::operator=(const safe_VkSemaphoreCreateInfo& src)
1365{
1366 if (&src == this) return *this;
1367
1368
1369 sType = src.sType;
1370 pNext = src.pNext;
1371 flags = src.flags;
1372
1373 return *this;
1374}
1375
1376safe_VkSemaphoreCreateInfo::~safe_VkSemaphoreCreateInfo()
1377{
1378}
1379
1380void safe_VkSemaphoreCreateInfo::initialize(const VkSemaphoreCreateInfo* in_struct)
1381{
1382 sType = in_struct->sType;
1383 pNext = in_struct->pNext;
1384 flags = in_struct->flags;
1385}
1386
1387void safe_VkSemaphoreCreateInfo::initialize(const safe_VkSemaphoreCreateInfo* src)
1388{
1389 sType = src->sType;
1390 pNext = src->pNext;
1391 flags = src->flags;
1392}
1393
1394safe_VkEventCreateInfo::safe_VkEventCreateInfo(const VkEventCreateInfo* in_struct) :
1395 sType(in_struct->sType),
1396 pNext(in_struct->pNext),
1397 flags(in_struct->flags)
1398{
1399}
1400
1401safe_VkEventCreateInfo::safe_VkEventCreateInfo()
1402{}
1403
1404safe_VkEventCreateInfo::safe_VkEventCreateInfo(const safe_VkEventCreateInfo& src)
1405{
1406 sType = src.sType;
1407 pNext = src.pNext;
1408 flags = src.flags;
1409}
1410
1411safe_VkEventCreateInfo& safe_VkEventCreateInfo::operator=(const safe_VkEventCreateInfo& src)
1412{
1413 if (&src == this) return *this;
1414
1415
1416 sType = src.sType;
1417 pNext = src.pNext;
1418 flags = src.flags;
1419
1420 return *this;
1421}
1422
1423safe_VkEventCreateInfo::~safe_VkEventCreateInfo()
1424{
1425}
1426
1427void safe_VkEventCreateInfo::initialize(const VkEventCreateInfo* in_struct)
1428{
1429 sType = in_struct->sType;
1430 pNext = in_struct->pNext;
1431 flags = in_struct->flags;
1432}
1433
1434void safe_VkEventCreateInfo::initialize(const safe_VkEventCreateInfo* src)
1435{
1436 sType = src->sType;
1437 pNext = src->pNext;
1438 flags = src->flags;
1439}
1440
1441safe_VkQueryPoolCreateInfo::safe_VkQueryPoolCreateInfo(const VkQueryPoolCreateInfo* in_struct) :
1442 sType(in_struct->sType),
1443 pNext(in_struct->pNext),
1444 flags(in_struct->flags),
1445 queryType(in_struct->queryType),
1446 queryCount(in_struct->queryCount),
1447 pipelineStatistics(in_struct->pipelineStatistics)
1448{
1449}
1450
1451safe_VkQueryPoolCreateInfo::safe_VkQueryPoolCreateInfo()
1452{}
1453
1454safe_VkQueryPoolCreateInfo::safe_VkQueryPoolCreateInfo(const safe_VkQueryPoolCreateInfo& src)
1455{
1456 sType = src.sType;
1457 pNext = src.pNext;
1458 flags = src.flags;
1459 queryType = src.queryType;
1460 queryCount = src.queryCount;
1461 pipelineStatistics = src.pipelineStatistics;
1462}
1463
1464safe_VkQueryPoolCreateInfo& safe_VkQueryPoolCreateInfo::operator=(const safe_VkQueryPoolCreateInfo& src)
1465{
1466 if (&src == this) return *this;
1467
1468
1469 sType = src.sType;
1470 pNext = src.pNext;
1471 flags = src.flags;
1472 queryType = src.queryType;
1473 queryCount = src.queryCount;
1474 pipelineStatistics = src.pipelineStatistics;
1475
1476 return *this;
1477}
1478
1479safe_VkQueryPoolCreateInfo::~safe_VkQueryPoolCreateInfo()
1480{
1481}
1482
1483void safe_VkQueryPoolCreateInfo::initialize(const VkQueryPoolCreateInfo* in_struct)
1484{
1485 sType = in_struct->sType;
1486 pNext = in_struct->pNext;
1487 flags = in_struct->flags;
1488 queryType = in_struct->queryType;
1489 queryCount = in_struct->queryCount;
1490 pipelineStatistics = in_struct->pipelineStatistics;
1491}
1492
1493void safe_VkQueryPoolCreateInfo::initialize(const safe_VkQueryPoolCreateInfo* src)
1494{
1495 sType = src->sType;
1496 pNext = src->pNext;
1497 flags = src->flags;
1498 queryType = src->queryType;
1499 queryCount = src->queryCount;
1500 pipelineStatistics = src->pipelineStatistics;
1501}
1502
1503safe_VkBufferCreateInfo::safe_VkBufferCreateInfo(const VkBufferCreateInfo* in_struct) :
1504 sType(in_struct->sType),
1505 pNext(in_struct->pNext),
1506 flags(in_struct->flags),
1507 size(in_struct->size),
1508 usage(in_struct->usage),
1509 sharingMode(in_struct->sharingMode),
1510 queueFamilyIndexCount(in_struct->queueFamilyIndexCount),
1511 pQueueFamilyIndices(nullptr)
1512{
1513 if (in_struct->pQueueFamilyIndices) {
1514 pQueueFamilyIndices = new uint32_t[in_struct->queueFamilyIndexCount];
1515 memcpy ((void *)pQueueFamilyIndices, (void *)in_struct->pQueueFamilyIndices, sizeof(uint32_t)*in_struct->queueFamilyIndexCount);
1516 }
1517}
1518
1519safe_VkBufferCreateInfo::safe_VkBufferCreateInfo() :
1520 pQueueFamilyIndices(nullptr)
1521{}
1522
1523safe_VkBufferCreateInfo::safe_VkBufferCreateInfo(const safe_VkBufferCreateInfo& src)
1524{
1525 sType = src.sType;
1526 pNext = src.pNext;
1527 flags = src.flags;
1528 size = src.size;
1529 usage = src.usage;
1530 sharingMode = src.sharingMode;
1531 queueFamilyIndexCount = src.queueFamilyIndexCount;
1532 pQueueFamilyIndices = nullptr;
1533 if (src.pQueueFamilyIndices) {
1534 pQueueFamilyIndices = new uint32_t[src.queueFamilyIndexCount];
1535 memcpy ((void *)pQueueFamilyIndices, (void *)src.pQueueFamilyIndices, sizeof(uint32_t)*src.queueFamilyIndexCount);
1536 }
1537}
1538
1539safe_VkBufferCreateInfo& safe_VkBufferCreateInfo::operator=(const safe_VkBufferCreateInfo& src)
1540{
1541 if (&src == this) return *this;
1542
1543 if (pQueueFamilyIndices)
1544 delete[] pQueueFamilyIndices;
1545
1546 sType = src.sType;
1547 pNext = src.pNext;
1548 flags = src.flags;
1549 size = src.size;
1550 usage = src.usage;
1551 sharingMode = src.sharingMode;
1552 queueFamilyIndexCount = src.queueFamilyIndexCount;
1553 pQueueFamilyIndices = nullptr;
1554 if (src.pQueueFamilyIndices) {
1555 pQueueFamilyIndices = new uint32_t[src.queueFamilyIndexCount];
1556 memcpy ((void *)pQueueFamilyIndices, (void *)src.pQueueFamilyIndices, sizeof(uint32_t)*src.queueFamilyIndexCount);
1557 }
1558
1559 return *this;
1560}
1561
1562safe_VkBufferCreateInfo::~safe_VkBufferCreateInfo()
1563{
1564 if (pQueueFamilyIndices)
1565 delete[] pQueueFamilyIndices;
1566}
1567
1568void safe_VkBufferCreateInfo::initialize(const VkBufferCreateInfo* in_struct)
1569{
1570 sType = in_struct->sType;
1571 pNext = in_struct->pNext;
1572 flags = in_struct->flags;
1573 size = in_struct->size;
1574 usage = in_struct->usage;
1575 sharingMode = in_struct->sharingMode;
1576 queueFamilyIndexCount = in_struct->queueFamilyIndexCount;
1577 pQueueFamilyIndices = nullptr;
1578 if (in_struct->pQueueFamilyIndices) {
1579 pQueueFamilyIndices = new uint32_t[in_struct->queueFamilyIndexCount];
1580 memcpy ((void *)pQueueFamilyIndices, (void *)in_struct->pQueueFamilyIndices, sizeof(uint32_t)*in_struct->queueFamilyIndexCount);
1581 }
1582}
1583
1584void safe_VkBufferCreateInfo::initialize(const safe_VkBufferCreateInfo* src)
1585{
1586 sType = src->sType;
1587 pNext = src->pNext;
1588 flags = src->flags;
1589 size = src->size;
1590 usage = src->usage;
1591 sharingMode = src->sharingMode;
1592 queueFamilyIndexCount = src->queueFamilyIndexCount;
1593 pQueueFamilyIndices = nullptr;
1594 if (src->pQueueFamilyIndices) {
1595 pQueueFamilyIndices = new uint32_t[src->queueFamilyIndexCount];
1596 memcpy ((void *)pQueueFamilyIndices, (void *)src->pQueueFamilyIndices, sizeof(uint32_t)*src->queueFamilyIndexCount);
1597 }
1598}
1599
1600safe_VkBufferViewCreateInfo::safe_VkBufferViewCreateInfo(const VkBufferViewCreateInfo* in_struct) :
1601 sType(in_struct->sType),
1602 pNext(in_struct->pNext),
1603 flags(in_struct->flags),
1604 buffer(in_struct->buffer),
1605 format(in_struct->format),
1606 offset(in_struct->offset),
1607 range(in_struct->range)
1608{
1609}
1610
1611safe_VkBufferViewCreateInfo::safe_VkBufferViewCreateInfo()
1612{}
1613
1614safe_VkBufferViewCreateInfo::safe_VkBufferViewCreateInfo(const safe_VkBufferViewCreateInfo& src)
1615{
1616 sType = src.sType;
1617 pNext = src.pNext;
1618 flags = src.flags;
1619 buffer = src.buffer;
1620 format = src.format;
1621 offset = src.offset;
1622 range = src.range;
1623}
1624
1625safe_VkBufferViewCreateInfo& safe_VkBufferViewCreateInfo::operator=(const safe_VkBufferViewCreateInfo& src)
1626{
1627 if (&src == this) return *this;
1628
1629
1630 sType = src.sType;
1631 pNext = src.pNext;
1632 flags = src.flags;
1633 buffer = src.buffer;
1634 format = src.format;
1635 offset = src.offset;
1636 range = src.range;
1637
1638 return *this;
1639}
1640
1641safe_VkBufferViewCreateInfo::~safe_VkBufferViewCreateInfo()
1642{
1643}
1644
1645void safe_VkBufferViewCreateInfo::initialize(const VkBufferViewCreateInfo* in_struct)
1646{
1647 sType = in_struct->sType;
1648 pNext = in_struct->pNext;
1649 flags = in_struct->flags;
1650 buffer = in_struct->buffer;
1651 format = in_struct->format;
1652 offset = in_struct->offset;
1653 range = in_struct->range;
1654}
1655
1656void safe_VkBufferViewCreateInfo::initialize(const safe_VkBufferViewCreateInfo* src)
1657{
1658 sType = src->sType;
1659 pNext = src->pNext;
1660 flags = src->flags;
1661 buffer = src->buffer;
1662 format = src->format;
1663 offset = src->offset;
1664 range = src->range;
1665}
1666
1667safe_VkImageCreateInfo::safe_VkImageCreateInfo(const VkImageCreateInfo* in_struct) :
1668 sType(in_struct->sType),
1669 pNext(in_struct->pNext),
1670 flags(in_struct->flags),
1671 imageType(in_struct->imageType),
1672 format(in_struct->format),
1673 extent(in_struct->extent),
1674 mipLevels(in_struct->mipLevels),
1675 arrayLayers(in_struct->arrayLayers),
1676 samples(in_struct->samples),
1677 tiling(in_struct->tiling),
1678 usage(in_struct->usage),
1679 sharingMode(in_struct->sharingMode),
1680 queueFamilyIndexCount(in_struct->queueFamilyIndexCount),
1681 pQueueFamilyIndices(nullptr),
1682 initialLayout(in_struct->initialLayout)
1683{
1684 if (in_struct->pQueueFamilyIndices) {
1685 pQueueFamilyIndices = new uint32_t[in_struct->queueFamilyIndexCount];
1686 memcpy ((void *)pQueueFamilyIndices, (void *)in_struct->pQueueFamilyIndices, sizeof(uint32_t)*in_struct->queueFamilyIndexCount);
1687 }
1688}
1689
1690safe_VkImageCreateInfo::safe_VkImageCreateInfo() :
1691 pQueueFamilyIndices(nullptr)
1692{}
1693
1694safe_VkImageCreateInfo::safe_VkImageCreateInfo(const safe_VkImageCreateInfo& src)
1695{
1696 sType = src.sType;
1697 pNext = src.pNext;
1698 flags = src.flags;
1699 imageType = src.imageType;
1700 format = src.format;
1701 extent = src.extent;
1702 mipLevels = src.mipLevels;
1703 arrayLayers = src.arrayLayers;
1704 samples = src.samples;
1705 tiling = src.tiling;
1706 usage = src.usage;
1707 sharingMode = src.sharingMode;
1708 queueFamilyIndexCount = src.queueFamilyIndexCount;
1709 pQueueFamilyIndices = nullptr;
1710 initialLayout = src.initialLayout;
1711 if (src.pQueueFamilyIndices) {
1712 pQueueFamilyIndices = new uint32_t[src.queueFamilyIndexCount];
1713 memcpy ((void *)pQueueFamilyIndices, (void *)src.pQueueFamilyIndices, sizeof(uint32_t)*src.queueFamilyIndexCount);
1714 }
1715}
1716
1717safe_VkImageCreateInfo& safe_VkImageCreateInfo::operator=(const safe_VkImageCreateInfo& src)
1718{
1719 if (&src == this) return *this;
1720
1721 if (pQueueFamilyIndices)
1722 delete[] pQueueFamilyIndices;
1723
1724 sType = src.sType;
1725 pNext = src.pNext;
1726 flags = src.flags;
1727 imageType = src.imageType;
1728 format = src.format;
1729 extent = src.extent;
1730 mipLevels = src.mipLevels;
1731 arrayLayers = src.arrayLayers;
1732 samples = src.samples;
1733 tiling = src.tiling;
1734 usage = src.usage;
1735 sharingMode = src.sharingMode;
1736 queueFamilyIndexCount = src.queueFamilyIndexCount;
1737 pQueueFamilyIndices = nullptr;
1738 initialLayout = src.initialLayout;
1739 if (src.pQueueFamilyIndices) {
1740 pQueueFamilyIndices = new uint32_t[src.queueFamilyIndexCount];
1741 memcpy ((void *)pQueueFamilyIndices, (void *)src.pQueueFamilyIndices, sizeof(uint32_t)*src.queueFamilyIndexCount);
1742 }
1743
1744 return *this;
1745}
1746
1747safe_VkImageCreateInfo::~safe_VkImageCreateInfo()
1748{
1749 if (pQueueFamilyIndices)
1750 delete[] pQueueFamilyIndices;
1751}
1752
1753void safe_VkImageCreateInfo::initialize(const VkImageCreateInfo* in_struct)
1754{
1755 sType = in_struct->sType;
1756 pNext = in_struct->pNext;
1757 flags = in_struct->flags;
1758 imageType = in_struct->imageType;
1759 format = in_struct->format;
1760 extent = in_struct->extent;
1761 mipLevels = in_struct->mipLevels;
1762 arrayLayers = in_struct->arrayLayers;
1763 samples = in_struct->samples;
1764 tiling = in_struct->tiling;
1765 usage = in_struct->usage;
1766 sharingMode = in_struct->sharingMode;
1767 queueFamilyIndexCount = in_struct->queueFamilyIndexCount;
1768 pQueueFamilyIndices = nullptr;
1769 initialLayout = in_struct->initialLayout;
1770 if (in_struct->pQueueFamilyIndices) {
1771 pQueueFamilyIndices = new uint32_t[in_struct->queueFamilyIndexCount];
1772 memcpy ((void *)pQueueFamilyIndices, (void *)in_struct->pQueueFamilyIndices, sizeof(uint32_t)*in_struct->queueFamilyIndexCount);
1773 }
1774}
1775
1776void safe_VkImageCreateInfo::initialize(const safe_VkImageCreateInfo* src)
1777{
1778 sType = src->sType;
1779 pNext = src->pNext;
1780 flags = src->flags;
1781 imageType = src->imageType;
1782 format = src->format;
1783 extent = src->extent;
1784 mipLevels = src->mipLevels;
1785 arrayLayers = src->arrayLayers;
1786 samples = src->samples;
1787 tiling = src->tiling;
1788 usage = src->usage;
1789 sharingMode = src->sharingMode;
1790 queueFamilyIndexCount = src->queueFamilyIndexCount;
1791 pQueueFamilyIndices = nullptr;
1792 initialLayout = src->initialLayout;
1793 if (src->pQueueFamilyIndices) {
1794 pQueueFamilyIndices = new uint32_t[src->queueFamilyIndexCount];
1795 memcpy ((void *)pQueueFamilyIndices, (void *)src->pQueueFamilyIndices, sizeof(uint32_t)*src->queueFamilyIndexCount);
1796 }
1797}
1798
1799safe_VkImageViewCreateInfo::safe_VkImageViewCreateInfo(const VkImageViewCreateInfo* in_struct) :
1800 sType(in_struct->sType),
1801 pNext(in_struct->pNext),
1802 flags(in_struct->flags),
1803 image(in_struct->image),
1804 viewType(in_struct->viewType),
1805 format(in_struct->format),
1806 components(in_struct->components),
1807 subresourceRange(in_struct->subresourceRange)
1808{
1809}
1810
1811safe_VkImageViewCreateInfo::safe_VkImageViewCreateInfo()
1812{}
1813
1814safe_VkImageViewCreateInfo::safe_VkImageViewCreateInfo(const safe_VkImageViewCreateInfo& src)
1815{
1816 sType = src.sType;
1817 pNext = src.pNext;
1818 flags = src.flags;
1819 image = src.image;
1820 viewType = src.viewType;
1821 format = src.format;
1822 components = src.components;
1823 subresourceRange = src.subresourceRange;
1824}
1825
1826safe_VkImageViewCreateInfo& safe_VkImageViewCreateInfo::operator=(const safe_VkImageViewCreateInfo& src)
1827{
1828 if (&src == this) return *this;
1829
1830
1831 sType = src.sType;
1832 pNext = src.pNext;
1833 flags = src.flags;
1834 image = src.image;
1835 viewType = src.viewType;
1836 format = src.format;
1837 components = src.components;
1838 subresourceRange = src.subresourceRange;
1839
1840 return *this;
1841}
1842
1843safe_VkImageViewCreateInfo::~safe_VkImageViewCreateInfo()
1844{
1845}
1846
1847void safe_VkImageViewCreateInfo::initialize(const VkImageViewCreateInfo* in_struct)
1848{
1849 sType = in_struct->sType;
1850 pNext = in_struct->pNext;
1851 flags = in_struct->flags;
1852 image = in_struct->image;
1853 viewType = in_struct->viewType;
1854 format = in_struct->format;
1855 components = in_struct->components;
1856 subresourceRange = in_struct->subresourceRange;
1857}
1858
1859void safe_VkImageViewCreateInfo::initialize(const safe_VkImageViewCreateInfo* src)
1860{
1861 sType = src->sType;
1862 pNext = src->pNext;
1863 flags = src->flags;
1864 image = src->image;
1865 viewType = src->viewType;
1866 format = src->format;
1867 components = src->components;
1868 subresourceRange = src->subresourceRange;
1869}
1870
1871safe_VkShaderModuleCreateInfo::safe_VkShaderModuleCreateInfo(const VkShaderModuleCreateInfo* in_struct) :
1872 sType(in_struct->sType),
1873 pNext(in_struct->pNext),
1874 flags(in_struct->flags),
1875 codeSize(in_struct->codeSize),
1876 pCode(nullptr)
1877{
1878 if (in_struct->pCode) {
1879 pCode = reinterpret_cast<uint32_t *>(new uint8_t[codeSize]);
1880 memcpy((void *)pCode, (void *)in_struct->pCode, codeSize);
1881 }
1882}
1883
1884safe_VkShaderModuleCreateInfo::safe_VkShaderModuleCreateInfo() :
1885 pCode(nullptr)
1886{}
1887
1888safe_VkShaderModuleCreateInfo::safe_VkShaderModuleCreateInfo(const safe_VkShaderModuleCreateInfo& src)
1889{
1890 sType = src.sType;
1891 pNext = src.pNext;
1892 flags = src.flags;
1893 codeSize = src.codeSize;
1894 pCode = nullptr;
1895 if (src.pCode) {
1896 pCode = reinterpret_cast<uint32_t *>(new uint8_t[codeSize]);
1897 memcpy((void *)pCode, (void *)src.pCode, codeSize);
1898 }
1899}
1900
1901safe_VkShaderModuleCreateInfo& safe_VkShaderModuleCreateInfo::operator=(const safe_VkShaderModuleCreateInfo& src)
1902{
1903 if (&src == this) return *this;
1904
1905 if (pCode)
1906 delete[] reinterpret_cast<const uint8_t *>(pCode);
1907
1908 sType = src.sType;
1909 pNext = src.pNext;
1910 flags = src.flags;
1911 codeSize = src.codeSize;
1912 pCode = nullptr;
1913 if (src.pCode) {
1914 pCode = reinterpret_cast<uint32_t *>(new uint8_t[codeSize]);
1915 memcpy((void *)pCode, (void *)src.pCode, codeSize);
1916 }
1917
1918 return *this;
1919}
1920
1921safe_VkShaderModuleCreateInfo::~safe_VkShaderModuleCreateInfo()
1922{
1923 if (pCode)
1924 delete[] reinterpret_cast<const uint8_t *>(pCode);
1925}
1926
1927void safe_VkShaderModuleCreateInfo::initialize(const VkShaderModuleCreateInfo* in_struct)
1928{
1929 sType = in_struct->sType;
1930 pNext = in_struct->pNext;
1931 flags = in_struct->flags;
1932 codeSize = in_struct->codeSize;
1933 pCode = nullptr;
1934 if (in_struct->pCode) {
1935 pCode = reinterpret_cast<uint32_t *>(new uint8_t[codeSize]);
1936 memcpy((void *)pCode, (void *)in_struct->pCode, codeSize);
1937 }
1938}
1939
1940void safe_VkShaderModuleCreateInfo::initialize(const safe_VkShaderModuleCreateInfo* src)
1941{
1942 sType = src->sType;
1943 pNext = src->pNext;
1944 flags = src->flags;
1945 codeSize = src->codeSize;
1946 pCode = nullptr;
1947 if (src->pCode) {
1948 pCode = reinterpret_cast<uint32_t *>(new uint8_t[codeSize]);
1949 memcpy((void *)pCode, (void *)src->pCode, codeSize);
1950 }
1951}
1952
1953safe_VkPipelineCacheCreateInfo::safe_VkPipelineCacheCreateInfo(const VkPipelineCacheCreateInfo* in_struct) :
1954 sType(in_struct->sType),
1955 pNext(in_struct->pNext),
1956 flags(in_struct->flags),
1957 initialDataSize(in_struct->initialDataSize),
1958 pInitialData(in_struct->pInitialData)
1959{
1960}
1961
1962safe_VkPipelineCacheCreateInfo::safe_VkPipelineCacheCreateInfo()
1963{}
1964
1965safe_VkPipelineCacheCreateInfo::safe_VkPipelineCacheCreateInfo(const safe_VkPipelineCacheCreateInfo& src)
1966{
1967 sType = src.sType;
1968 pNext = src.pNext;
1969 flags = src.flags;
1970 initialDataSize = src.initialDataSize;
1971 pInitialData = src.pInitialData;
1972}
1973
1974safe_VkPipelineCacheCreateInfo& safe_VkPipelineCacheCreateInfo::operator=(const safe_VkPipelineCacheCreateInfo& src)
1975{
1976 if (&src == this) return *this;
1977
1978
1979 sType = src.sType;
1980 pNext = src.pNext;
1981 flags = src.flags;
1982 initialDataSize = src.initialDataSize;
1983 pInitialData = src.pInitialData;
1984
1985 return *this;
1986}
1987
1988safe_VkPipelineCacheCreateInfo::~safe_VkPipelineCacheCreateInfo()
1989{
1990}
1991
1992void safe_VkPipelineCacheCreateInfo::initialize(const VkPipelineCacheCreateInfo* in_struct)
1993{
1994 sType = in_struct->sType;
1995 pNext = in_struct->pNext;
1996 flags = in_struct->flags;
1997 initialDataSize = in_struct->initialDataSize;
1998 pInitialData = in_struct->pInitialData;
1999}
2000
2001void safe_VkPipelineCacheCreateInfo::initialize(const safe_VkPipelineCacheCreateInfo* src)
2002{
2003 sType = src->sType;
2004 pNext = src->pNext;
2005 flags = src->flags;
2006 initialDataSize = src->initialDataSize;
2007 pInitialData = src->pInitialData;
2008}
2009
2010safe_VkSpecializationInfo::safe_VkSpecializationInfo(const VkSpecializationInfo* in_struct) :
2011 mapEntryCount(in_struct->mapEntryCount),
2012 pMapEntries(nullptr),
2013 dataSize(in_struct->dataSize),
2014 pData(in_struct->pData)
2015{
2016 if (in_struct->pMapEntries) {
2017 pMapEntries = new VkSpecializationMapEntry[in_struct->mapEntryCount];
2018 memcpy ((void *)pMapEntries, (void *)in_struct->pMapEntries, sizeof(VkSpecializationMapEntry)*in_struct->mapEntryCount);
2019 }
2020}
2021
2022safe_VkSpecializationInfo::safe_VkSpecializationInfo() :
2023 pMapEntries(nullptr)
2024{}
2025
2026safe_VkSpecializationInfo::safe_VkSpecializationInfo(const safe_VkSpecializationInfo& src)
2027{
2028 mapEntryCount = src.mapEntryCount;
2029 pMapEntries = nullptr;
2030 dataSize = src.dataSize;
2031 pData = src.pData;
2032 if (src.pMapEntries) {
2033 pMapEntries = new VkSpecializationMapEntry[src.mapEntryCount];
2034 memcpy ((void *)pMapEntries, (void *)src.pMapEntries, sizeof(VkSpecializationMapEntry)*src.mapEntryCount);
2035 }
2036}
2037
2038safe_VkSpecializationInfo& safe_VkSpecializationInfo::operator=(const safe_VkSpecializationInfo& src)
2039{
2040 if (&src == this) return *this;
2041
2042 if (pMapEntries)
2043 delete[] pMapEntries;
2044
2045 mapEntryCount = src.mapEntryCount;
2046 pMapEntries = nullptr;
2047 dataSize = src.dataSize;
2048 pData = src.pData;
2049 if (src.pMapEntries) {
2050 pMapEntries = new VkSpecializationMapEntry[src.mapEntryCount];
2051 memcpy ((void *)pMapEntries, (void *)src.pMapEntries, sizeof(VkSpecializationMapEntry)*src.mapEntryCount);
2052 }
2053
2054 return *this;
2055}
2056
2057safe_VkSpecializationInfo::~safe_VkSpecializationInfo()
2058{
2059 if (pMapEntries)
2060 delete[] pMapEntries;
2061}
2062
2063void safe_VkSpecializationInfo::initialize(const VkSpecializationInfo* in_struct)
2064{
2065 mapEntryCount = in_struct->mapEntryCount;
2066 pMapEntries = nullptr;
2067 dataSize = in_struct->dataSize;
2068 pData = in_struct->pData;
2069 if (in_struct->pMapEntries) {
2070 pMapEntries = new VkSpecializationMapEntry[in_struct->mapEntryCount];
2071 memcpy ((void *)pMapEntries, (void *)in_struct->pMapEntries, sizeof(VkSpecializationMapEntry)*in_struct->mapEntryCount);
2072 }
2073}
2074
2075void safe_VkSpecializationInfo::initialize(const safe_VkSpecializationInfo* src)
2076{
2077 mapEntryCount = src->mapEntryCount;
2078 pMapEntries = nullptr;
2079 dataSize = src->dataSize;
2080 pData = src->pData;
2081 if (src->pMapEntries) {
2082 pMapEntries = new VkSpecializationMapEntry[src->mapEntryCount];
2083 memcpy ((void *)pMapEntries, (void *)src->pMapEntries, sizeof(VkSpecializationMapEntry)*src->mapEntryCount);
2084 }
2085}
2086
2087safe_VkPipelineShaderStageCreateInfo::safe_VkPipelineShaderStageCreateInfo(const VkPipelineShaderStageCreateInfo* in_struct) :
2088 sType(in_struct->sType),
2089 pNext(in_struct->pNext),
2090 flags(in_struct->flags),
2091 stage(in_struct->stage),
2092 module(in_struct->module),
2093 pName(in_struct->pName)
2094{
2095 if (in_struct->pSpecializationInfo)
2096 pSpecializationInfo = new safe_VkSpecializationInfo(in_struct->pSpecializationInfo);
2097 else
2098 pSpecializationInfo = NULL;
2099}
2100
2101safe_VkPipelineShaderStageCreateInfo::safe_VkPipelineShaderStageCreateInfo()
2102{}
2103
2104safe_VkPipelineShaderStageCreateInfo::safe_VkPipelineShaderStageCreateInfo(const safe_VkPipelineShaderStageCreateInfo& src)
2105{
2106 sType = src.sType;
2107 pNext = src.pNext;
2108 flags = src.flags;
2109 stage = src.stage;
2110 module = src.module;
2111 pName = src.pName;
2112 if (src.pSpecializationInfo)
2113 pSpecializationInfo = new safe_VkSpecializationInfo(*src.pSpecializationInfo);
2114 else
2115 pSpecializationInfo = NULL;
2116}
2117
2118safe_VkPipelineShaderStageCreateInfo& safe_VkPipelineShaderStageCreateInfo::operator=(const safe_VkPipelineShaderStageCreateInfo& src)
2119{
2120 if (&src == this) return *this;
2121
2122 if (pSpecializationInfo)
2123 delete pSpecializationInfo;
2124
2125 sType = src.sType;
2126 pNext = src.pNext;
2127 flags = src.flags;
2128 stage = src.stage;
2129 module = src.module;
2130 pName = src.pName;
2131 if (src.pSpecializationInfo)
2132 pSpecializationInfo = new safe_VkSpecializationInfo(*src.pSpecializationInfo);
2133 else
2134 pSpecializationInfo = NULL;
2135
2136 return *this;
2137}
2138
2139safe_VkPipelineShaderStageCreateInfo::~safe_VkPipelineShaderStageCreateInfo()
2140{
2141 if (pSpecializationInfo)
2142 delete pSpecializationInfo;
2143}
2144
2145void safe_VkPipelineShaderStageCreateInfo::initialize(const VkPipelineShaderStageCreateInfo* in_struct)
2146{
2147 sType = in_struct->sType;
2148 pNext = in_struct->pNext;
2149 flags = in_struct->flags;
2150 stage = in_struct->stage;
2151 module = in_struct->module;
2152 pName = in_struct->pName;
2153 if (in_struct->pSpecializationInfo)
2154 pSpecializationInfo = new safe_VkSpecializationInfo(in_struct->pSpecializationInfo);
2155 else
2156 pSpecializationInfo = NULL;
2157}
2158
2159void safe_VkPipelineShaderStageCreateInfo::initialize(const safe_VkPipelineShaderStageCreateInfo* src)
2160{
2161 sType = src->sType;
2162 pNext = src->pNext;
2163 flags = src->flags;
2164 stage = src->stage;
2165 module = src->module;
2166 pName = src->pName;
2167 if (src->pSpecializationInfo)
2168 pSpecializationInfo = new safe_VkSpecializationInfo(*src->pSpecializationInfo);
2169 else
2170 pSpecializationInfo = NULL;
2171}
2172
2173safe_VkPipelineVertexInputStateCreateInfo::safe_VkPipelineVertexInputStateCreateInfo(const VkPipelineVertexInputStateCreateInfo* in_struct) :
2174 sType(in_struct->sType),
2175 pNext(in_struct->pNext),
2176 flags(in_struct->flags),
2177 vertexBindingDescriptionCount(in_struct->vertexBindingDescriptionCount),
2178 pVertexBindingDescriptions(nullptr),
2179 vertexAttributeDescriptionCount(in_struct->vertexAttributeDescriptionCount),
2180 pVertexAttributeDescriptions(nullptr)
2181{
2182 if (in_struct->pVertexBindingDescriptions) {
2183 pVertexBindingDescriptions = new VkVertexInputBindingDescription[in_struct->vertexBindingDescriptionCount];
2184 memcpy ((void *)pVertexBindingDescriptions, (void *)in_struct->pVertexBindingDescriptions, sizeof(VkVertexInputBindingDescription)*in_struct->vertexBindingDescriptionCount);
2185 }
2186 if (in_struct->pVertexAttributeDescriptions) {
2187 pVertexAttributeDescriptions = new VkVertexInputAttributeDescription[in_struct->vertexAttributeDescriptionCount];
2188 memcpy ((void *)pVertexAttributeDescriptions, (void *)in_struct->pVertexAttributeDescriptions, sizeof(VkVertexInputAttributeDescription)*in_struct->vertexAttributeDescriptionCount);
2189 }
2190}
2191
2192safe_VkPipelineVertexInputStateCreateInfo::safe_VkPipelineVertexInputStateCreateInfo() :
2193 pVertexBindingDescriptions(nullptr),
2194 pVertexAttributeDescriptions(nullptr)
2195{}
2196
2197safe_VkPipelineVertexInputStateCreateInfo::safe_VkPipelineVertexInputStateCreateInfo(const safe_VkPipelineVertexInputStateCreateInfo& src)
2198{
2199 sType = src.sType;
2200 pNext = src.pNext;
2201 flags = src.flags;
2202 vertexBindingDescriptionCount = src.vertexBindingDescriptionCount;
2203 pVertexBindingDescriptions = nullptr;
2204 vertexAttributeDescriptionCount = src.vertexAttributeDescriptionCount;
2205 pVertexAttributeDescriptions = nullptr;
2206 if (src.pVertexBindingDescriptions) {
2207 pVertexBindingDescriptions = new VkVertexInputBindingDescription[src.vertexBindingDescriptionCount];
2208 memcpy ((void *)pVertexBindingDescriptions, (void *)src.pVertexBindingDescriptions, sizeof(VkVertexInputBindingDescription)*src.vertexBindingDescriptionCount);
2209 }
2210 if (src.pVertexAttributeDescriptions) {
2211 pVertexAttributeDescriptions = new VkVertexInputAttributeDescription[src.vertexAttributeDescriptionCount];
2212 memcpy ((void *)pVertexAttributeDescriptions, (void *)src.pVertexAttributeDescriptions, sizeof(VkVertexInputAttributeDescription)*src.vertexAttributeDescriptionCount);
2213 }
2214}
2215
2216safe_VkPipelineVertexInputStateCreateInfo& safe_VkPipelineVertexInputStateCreateInfo::operator=(const safe_VkPipelineVertexInputStateCreateInfo& src)
2217{
2218 if (&src == this) return *this;
2219
2220 if (pVertexBindingDescriptions)
2221 delete[] pVertexBindingDescriptions;
2222 if (pVertexAttributeDescriptions)
2223 delete[] pVertexAttributeDescriptions;
2224
2225 sType = src.sType;
2226 pNext = src.pNext;
2227 flags = src.flags;
2228 vertexBindingDescriptionCount = src.vertexBindingDescriptionCount;
2229 pVertexBindingDescriptions = nullptr;
2230 vertexAttributeDescriptionCount = src.vertexAttributeDescriptionCount;
2231 pVertexAttributeDescriptions = nullptr;
2232 if (src.pVertexBindingDescriptions) {
2233 pVertexBindingDescriptions = new VkVertexInputBindingDescription[src.vertexBindingDescriptionCount];
2234 memcpy ((void *)pVertexBindingDescriptions, (void *)src.pVertexBindingDescriptions, sizeof(VkVertexInputBindingDescription)*src.vertexBindingDescriptionCount);
2235 }
2236 if (src.pVertexAttributeDescriptions) {
2237 pVertexAttributeDescriptions = new VkVertexInputAttributeDescription[src.vertexAttributeDescriptionCount];
2238 memcpy ((void *)pVertexAttributeDescriptions, (void *)src.pVertexAttributeDescriptions, sizeof(VkVertexInputAttributeDescription)*src.vertexAttributeDescriptionCount);
2239 }
2240
2241 return *this;
2242}
2243
2244safe_VkPipelineVertexInputStateCreateInfo::~safe_VkPipelineVertexInputStateCreateInfo()
2245{
2246 if (pVertexBindingDescriptions)
2247 delete[] pVertexBindingDescriptions;
2248 if (pVertexAttributeDescriptions)
2249 delete[] pVertexAttributeDescriptions;
2250}
2251
2252void safe_VkPipelineVertexInputStateCreateInfo::initialize(const VkPipelineVertexInputStateCreateInfo* in_struct)
2253{
2254 sType = in_struct->sType;
2255 pNext = in_struct->pNext;
2256 flags = in_struct->flags;
2257 vertexBindingDescriptionCount = in_struct->vertexBindingDescriptionCount;
2258 pVertexBindingDescriptions = nullptr;
2259 vertexAttributeDescriptionCount = in_struct->vertexAttributeDescriptionCount;
2260 pVertexAttributeDescriptions = nullptr;
2261 if (in_struct->pVertexBindingDescriptions) {
2262 pVertexBindingDescriptions = new VkVertexInputBindingDescription[in_struct->vertexBindingDescriptionCount];
2263 memcpy ((void *)pVertexBindingDescriptions, (void *)in_struct->pVertexBindingDescriptions, sizeof(VkVertexInputBindingDescription)*in_struct->vertexBindingDescriptionCount);
2264 }
2265 if (in_struct->pVertexAttributeDescriptions) {
2266 pVertexAttributeDescriptions = new VkVertexInputAttributeDescription[in_struct->vertexAttributeDescriptionCount];
2267 memcpy ((void *)pVertexAttributeDescriptions, (void *)in_struct->pVertexAttributeDescriptions, sizeof(VkVertexInputAttributeDescription)*in_struct->vertexAttributeDescriptionCount);
2268 }
2269}
2270
2271void safe_VkPipelineVertexInputStateCreateInfo::initialize(const safe_VkPipelineVertexInputStateCreateInfo* src)
2272{
2273 sType = src->sType;
2274 pNext = src->pNext;
2275 flags = src->flags;
2276 vertexBindingDescriptionCount = src->vertexBindingDescriptionCount;
2277 pVertexBindingDescriptions = nullptr;
2278 vertexAttributeDescriptionCount = src->vertexAttributeDescriptionCount;
2279 pVertexAttributeDescriptions = nullptr;
2280 if (src->pVertexBindingDescriptions) {
2281 pVertexBindingDescriptions = new VkVertexInputBindingDescription[src->vertexBindingDescriptionCount];
2282 memcpy ((void *)pVertexBindingDescriptions, (void *)src->pVertexBindingDescriptions, sizeof(VkVertexInputBindingDescription)*src->vertexBindingDescriptionCount);
2283 }
2284 if (src->pVertexAttributeDescriptions) {
2285 pVertexAttributeDescriptions = new VkVertexInputAttributeDescription[src->vertexAttributeDescriptionCount];
2286 memcpy ((void *)pVertexAttributeDescriptions, (void *)src->pVertexAttributeDescriptions, sizeof(VkVertexInputAttributeDescription)*src->vertexAttributeDescriptionCount);
2287 }
2288}
2289
2290safe_VkPipelineInputAssemblyStateCreateInfo::safe_VkPipelineInputAssemblyStateCreateInfo(const VkPipelineInputAssemblyStateCreateInfo* in_struct) :
2291 sType(in_struct->sType),
2292 pNext(in_struct->pNext),
2293 flags(in_struct->flags),
2294 topology(in_struct->topology),
2295 primitiveRestartEnable(in_struct->primitiveRestartEnable)
2296{
2297}
2298
2299safe_VkPipelineInputAssemblyStateCreateInfo::safe_VkPipelineInputAssemblyStateCreateInfo()
2300{}
2301
2302safe_VkPipelineInputAssemblyStateCreateInfo::safe_VkPipelineInputAssemblyStateCreateInfo(const safe_VkPipelineInputAssemblyStateCreateInfo& src)
2303{
2304 sType = src.sType;
2305 pNext = src.pNext;
2306 flags = src.flags;
2307 topology = src.topology;
2308 primitiveRestartEnable = src.primitiveRestartEnable;
2309}
2310
2311safe_VkPipelineInputAssemblyStateCreateInfo& safe_VkPipelineInputAssemblyStateCreateInfo::operator=(const safe_VkPipelineInputAssemblyStateCreateInfo& src)
2312{
2313 if (&src == this) return *this;
2314
2315
2316 sType = src.sType;
2317 pNext = src.pNext;
2318 flags = src.flags;
2319 topology = src.topology;
2320 primitiveRestartEnable = src.primitiveRestartEnable;
2321
2322 return *this;
2323}
2324
2325safe_VkPipelineInputAssemblyStateCreateInfo::~safe_VkPipelineInputAssemblyStateCreateInfo()
2326{
2327}
2328
2329void safe_VkPipelineInputAssemblyStateCreateInfo::initialize(const VkPipelineInputAssemblyStateCreateInfo* in_struct)
2330{
2331 sType = in_struct->sType;
2332 pNext = in_struct->pNext;
2333 flags = in_struct->flags;
2334 topology = in_struct->topology;
2335 primitiveRestartEnable = in_struct->primitiveRestartEnable;
2336}
2337
2338void safe_VkPipelineInputAssemblyStateCreateInfo::initialize(const safe_VkPipelineInputAssemblyStateCreateInfo* src)
2339{
2340 sType = src->sType;
2341 pNext = src->pNext;
2342 flags = src->flags;
2343 topology = src->topology;
2344 primitiveRestartEnable = src->primitiveRestartEnable;
2345}
2346
2347safe_VkPipelineTessellationStateCreateInfo::safe_VkPipelineTessellationStateCreateInfo(const VkPipelineTessellationStateCreateInfo* in_struct) :
2348 sType(in_struct->sType),
2349 pNext(in_struct->pNext),
2350 flags(in_struct->flags),
2351 patchControlPoints(in_struct->patchControlPoints)
2352{
2353}
2354
2355safe_VkPipelineTessellationStateCreateInfo::safe_VkPipelineTessellationStateCreateInfo()
2356{}
2357
2358safe_VkPipelineTessellationStateCreateInfo::safe_VkPipelineTessellationStateCreateInfo(const safe_VkPipelineTessellationStateCreateInfo& src)
2359{
2360 sType = src.sType;
2361 pNext = src.pNext;
2362 flags = src.flags;
2363 patchControlPoints = src.patchControlPoints;
2364}
2365
2366safe_VkPipelineTessellationStateCreateInfo& safe_VkPipelineTessellationStateCreateInfo::operator=(const safe_VkPipelineTessellationStateCreateInfo& src)
2367{
2368 if (&src == this) return *this;
2369
2370
2371 sType = src.sType;
2372 pNext = src.pNext;
2373 flags = src.flags;
2374 patchControlPoints = src.patchControlPoints;
2375
2376 return *this;
2377}
2378
2379safe_VkPipelineTessellationStateCreateInfo::~safe_VkPipelineTessellationStateCreateInfo()
2380{
2381}
2382
2383void safe_VkPipelineTessellationStateCreateInfo::initialize(const VkPipelineTessellationStateCreateInfo* in_struct)
2384{
2385 sType = in_struct->sType;
2386 pNext = in_struct->pNext;
2387 flags = in_struct->flags;
2388 patchControlPoints = in_struct->patchControlPoints;
2389}
2390
2391void safe_VkPipelineTessellationStateCreateInfo::initialize(const safe_VkPipelineTessellationStateCreateInfo* src)
2392{
2393 sType = src->sType;
2394 pNext = src->pNext;
2395 flags = src->flags;
2396 patchControlPoints = src->patchControlPoints;
2397}
2398
2399safe_VkPipelineViewportStateCreateInfo::safe_VkPipelineViewportStateCreateInfo(const VkPipelineViewportStateCreateInfo* in_struct, const bool is_dynamic_viewports, const bool is_dynamic_scissors) :
2400 sType(in_struct->sType),
2401 pNext(in_struct->pNext),
2402 flags(in_struct->flags),
2403 viewportCount(in_struct->viewportCount),
2404 pViewports(nullptr),
2405 scissorCount(in_struct->scissorCount),
2406 pScissors(nullptr)
2407{
2408 if (in_struct->pViewports && !is_dynamic_viewports) {
2409 pViewports = new VkViewport[in_struct->viewportCount];
2410 memcpy ((void *)pViewports, (void *)in_struct->pViewports, sizeof(VkViewport)*in_struct->viewportCount);
2411 }
2412 else
2413 pViewports = NULL;
2414 if (in_struct->pScissors && !is_dynamic_scissors) {
2415 pScissors = new VkRect2D[in_struct->scissorCount];
2416 memcpy ((void *)pScissors, (void *)in_struct->pScissors, sizeof(VkRect2D)*in_struct->scissorCount);
2417 }
2418 else
2419 pScissors = NULL;
2420}
2421
2422safe_VkPipelineViewportStateCreateInfo::safe_VkPipelineViewportStateCreateInfo() :
2423 pViewports(nullptr),
2424 pScissors(nullptr)
2425{}
2426
2427safe_VkPipelineViewportStateCreateInfo::safe_VkPipelineViewportStateCreateInfo(const safe_VkPipelineViewportStateCreateInfo& src)
2428{
2429 sType = src.sType;
2430 pNext = src.pNext;
2431 flags = src.flags;
2432 viewportCount = src.viewportCount;
2433 pViewports = nullptr;
2434 scissorCount = src.scissorCount;
2435 pScissors = nullptr;
2436 if (src.pViewports) {
2437 pViewports = new VkViewport[src.viewportCount];
2438 memcpy ((void *)pViewports, (void *)src.pViewports, sizeof(VkViewport)*src.viewportCount);
2439 }
2440 else
2441 pViewports = NULL;
2442 if (src.pScissors) {
2443 pScissors = new VkRect2D[src.scissorCount];
2444 memcpy ((void *)pScissors, (void *)src.pScissors, sizeof(VkRect2D)*src.scissorCount);
2445 }
2446 else
2447 pScissors = NULL;
2448}
2449
2450safe_VkPipelineViewportStateCreateInfo& safe_VkPipelineViewportStateCreateInfo::operator=(const safe_VkPipelineViewportStateCreateInfo& src)
2451{
2452 if (&src == this) return *this;
2453
2454 if (pViewports)
2455 delete[] pViewports;
2456 if (pScissors)
2457 delete[] pScissors;
2458
2459 sType = src.sType;
2460 pNext = src.pNext;
2461 flags = src.flags;
2462 viewportCount = src.viewportCount;
2463 pViewports = nullptr;
2464 scissorCount = src.scissorCount;
2465 pScissors = nullptr;
2466 if (src.pViewports) {
2467 pViewports = new VkViewport[src.viewportCount];
2468 memcpy ((void *)pViewports, (void *)src.pViewports, sizeof(VkViewport)*src.viewportCount);
2469 }
2470 else
2471 pViewports = NULL;
2472 if (src.pScissors) {
2473 pScissors = new VkRect2D[src.scissorCount];
2474 memcpy ((void *)pScissors, (void *)src.pScissors, sizeof(VkRect2D)*src.scissorCount);
2475 }
2476 else
2477 pScissors = NULL;
2478
2479 return *this;
2480}
2481
2482safe_VkPipelineViewportStateCreateInfo::~safe_VkPipelineViewportStateCreateInfo()
2483{
2484 if (pViewports)
2485 delete[] pViewports;
2486 if (pScissors)
2487 delete[] pScissors;
2488}
2489
2490void safe_VkPipelineViewportStateCreateInfo::initialize(const VkPipelineViewportStateCreateInfo* in_struct, const bool is_dynamic_viewports, const bool is_dynamic_scissors)
2491{
2492 sType = in_struct->sType;
2493 pNext = in_struct->pNext;
2494 flags = in_struct->flags;
2495 viewportCount = in_struct->viewportCount;
2496 pViewports = nullptr;
2497 scissorCount = in_struct->scissorCount;
2498 pScissors = nullptr;
2499 if (in_struct->pViewports && !is_dynamic_viewports) {
2500 pViewports = new VkViewport[in_struct->viewportCount];
2501 memcpy ((void *)pViewports, (void *)in_struct->pViewports, sizeof(VkViewport)*in_struct->viewportCount);
2502 }
2503 else
2504 pViewports = NULL;
2505 if (in_struct->pScissors && !is_dynamic_scissors) {
2506 pScissors = new VkRect2D[in_struct->scissorCount];
2507 memcpy ((void *)pScissors, (void *)in_struct->pScissors, sizeof(VkRect2D)*in_struct->scissorCount);
2508 }
2509 else
2510 pScissors = NULL;
2511}
2512
2513void safe_VkPipelineViewportStateCreateInfo::initialize(const safe_VkPipelineViewportStateCreateInfo* src)
2514{
2515 sType = src->sType;
2516 pNext = src->pNext;
2517 flags = src->flags;
2518 viewportCount = src->viewportCount;
2519 pViewports = nullptr;
2520 scissorCount = src->scissorCount;
2521 pScissors = nullptr;
2522 if (src->pViewports) {
2523 pViewports = new VkViewport[src->viewportCount];
2524 memcpy ((void *)pViewports, (void *)src->pViewports, sizeof(VkViewport)*src->viewportCount);
2525 }
2526 else
2527 pViewports = NULL;
2528 if (src->pScissors) {
2529 pScissors = new VkRect2D[src->scissorCount];
2530 memcpy ((void *)pScissors, (void *)src->pScissors, sizeof(VkRect2D)*src->scissorCount);
2531 }
2532 else
2533 pScissors = NULL;
2534}
2535
2536safe_VkPipelineRasterizationStateCreateInfo::safe_VkPipelineRasterizationStateCreateInfo(const VkPipelineRasterizationStateCreateInfo* in_struct) :
2537 sType(in_struct->sType),
2538 pNext(in_struct->pNext),
2539 flags(in_struct->flags),
2540 depthClampEnable(in_struct->depthClampEnable),
2541 rasterizerDiscardEnable(in_struct->rasterizerDiscardEnable),
2542 polygonMode(in_struct->polygonMode),
2543 cullMode(in_struct->cullMode),
2544 frontFace(in_struct->frontFace),
2545 depthBiasEnable(in_struct->depthBiasEnable),
2546 depthBiasConstantFactor(in_struct->depthBiasConstantFactor),
2547 depthBiasClamp(in_struct->depthBiasClamp),
2548 depthBiasSlopeFactor(in_struct->depthBiasSlopeFactor),
2549 lineWidth(in_struct->lineWidth)
2550{
2551}
2552
2553safe_VkPipelineRasterizationStateCreateInfo::safe_VkPipelineRasterizationStateCreateInfo()
2554{}
2555
2556safe_VkPipelineRasterizationStateCreateInfo::safe_VkPipelineRasterizationStateCreateInfo(const safe_VkPipelineRasterizationStateCreateInfo& src)
2557{
2558 sType = src.sType;
2559 pNext = src.pNext;
2560 flags = src.flags;
2561 depthClampEnable = src.depthClampEnable;
2562 rasterizerDiscardEnable = src.rasterizerDiscardEnable;
2563 polygonMode = src.polygonMode;
2564 cullMode = src.cullMode;
2565 frontFace = src.frontFace;
2566 depthBiasEnable = src.depthBiasEnable;
2567 depthBiasConstantFactor = src.depthBiasConstantFactor;
2568 depthBiasClamp = src.depthBiasClamp;
2569 depthBiasSlopeFactor = src.depthBiasSlopeFactor;
2570 lineWidth = src.lineWidth;
2571}
2572
2573safe_VkPipelineRasterizationStateCreateInfo& safe_VkPipelineRasterizationStateCreateInfo::operator=(const safe_VkPipelineRasterizationStateCreateInfo& src)
2574{
2575 if (&src == this) return *this;
2576
2577
2578 sType = src.sType;
2579 pNext = src.pNext;
2580 flags = src.flags;
2581 depthClampEnable = src.depthClampEnable;
2582 rasterizerDiscardEnable = src.rasterizerDiscardEnable;
2583 polygonMode = src.polygonMode;
2584 cullMode = src.cullMode;
2585 frontFace = src.frontFace;
2586 depthBiasEnable = src.depthBiasEnable;
2587 depthBiasConstantFactor = src.depthBiasConstantFactor;
2588 depthBiasClamp = src.depthBiasClamp;
2589 depthBiasSlopeFactor = src.depthBiasSlopeFactor;
2590 lineWidth = src.lineWidth;
2591
2592 return *this;
2593}
2594
2595safe_VkPipelineRasterizationStateCreateInfo::~safe_VkPipelineRasterizationStateCreateInfo()
2596{
2597}
2598
2599void safe_VkPipelineRasterizationStateCreateInfo::initialize(const VkPipelineRasterizationStateCreateInfo* in_struct)
2600{
2601 sType = in_struct->sType;
2602 pNext = in_struct->pNext;
2603 flags = in_struct->flags;
2604 depthClampEnable = in_struct->depthClampEnable;
2605 rasterizerDiscardEnable = in_struct->rasterizerDiscardEnable;
2606 polygonMode = in_struct->polygonMode;
2607 cullMode = in_struct->cullMode;
2608 frontFace = in_struct->frontFace;
2609 depthBiasEnable = in_struct->depthBiasEnable;
2610 depthBiasConstantFactor = in_struct->depthBiasConstantFactor;
2611 depthBiasClamp = in_struct->depthBiasClamp;
2612 depthBiasSlopeFactor = in_struct->depthBiasSlopeFactor;
2613 lineWidth = in_struct->lineWidth;
2614}
2615
2616void safe_VkPipelineRasterizationStateCreateInfo::initialize(const safe_VkPipelineRasterizationStateCreateInfo* src)
2617{
2618 sType = src->sType;
2619 pNext = src->pNext;
2620 flags = src->flags;
2621 depthClampEnable = src->depthClampEnable;
2622 rasterizerDiscardEnable = src->rasterizerDiscardEnable;
2623 polygonMode = src->polygonMode;
2624 cullMode = src->cullMode;
2625 frontFace = src->frontFace;
2626 depthBiasEnable = src->depthBiasEnable;
2627 depthBiasConstantFactor = src->depthBiasConstantFactor;
2628 depthBiasClamp = src->depthBiasClamp;
2629 depthBiasSlopeFactor = src->depthBiasSlopeFactor;
2630 lineWidth = src->lineWidth;
2631}
2632
2633safe_VkPipelineMultisampleStateCreateInfo::safe_VkPipelineMultisampleStateCreateInfo(const VkPipelineMultisampleStateCreateInfo* in_struct) :
2634 sType(in_struct->sType),
2635 pNext(in_struct->pNext),
2636 flags(in_struct->flags),
2637 rasterizationSamples(in_struct->rasterizationSamples),
2638 sampleShadingEnable(in_struct->sampleShadingEnable),
2639 minSampleShading(in_struct->minSampleShading),
2640 pSampleMask(nullptr),
2641 alphaToCoverageEnable(in_struct->alphaToCoverageEnable),
2642 alphaToOneEnable(in_struct->alphaToOneEnable)
2643{
2644 if (in_struct->pSampleMask) {
2645 pSampleMask = new VkSampleMask(*in_struct->pSampleMask);
2646 }
2647}
2648
2649safe_VkPipelineMultisampleStateCreateInfo::safe_VkPipelineMultisampleStateCreateInfo() :
2650 pSampleMask(nullptr)
2651{}
2652
2653safe_VkPipelineMultisampleStateCreateInfo::safe_VkPipelineMultisampleStateCreateInfo(const safe_VkPipelineMultisampleStateCreateInfo& src)
2654{
2655 sType = src.sType;
2656 pNext = src.pNext;
2657 flags = src.flags;
2658 rasterizationSamples = src.rasterizationSamples;
2659 sampleShadingEnable = src.sampleShadingEnable;
2660 minSampleShading = src.minSampleShading;
2661 pSampleMask = nullptr;
2662 alphaToCoverageEnable = src.alphaToCoverageEnable;
2663 alphaToOneEnable = src.alphaToOneEnable;
2664 if (src.pSampleMask) {
2665 pSampleMask = new VkSampleMask(*src.pSampleMask);
2666 }
2667}
2668
2669safe_VkPipelineMultisampleStateCreateInfo& safe_VkPipelineMultisampleStateCreateInfo::operator=(const safe_VkPipelineMultisampleStateCreateInfo& src)
2670{
2671 if (&src == this) return *this;
2672
2673 if (pSampleMask)
2674 delete pSampleMask;
2675
2676 sType = src.sType;
2677 pNext = src.pNext;
2678 flags = src.flags;
2679 rasterizationSamples = src.rasterizationSamples;
2680 sampleShadingEnable = src.sampleShadingEnable;
2681 minSampleShading = src.minSampleShading;
2682 pSampleMask = nullptr;
2683 alphaToCoverageEnable = src.alphaToCoverageEnable;
2684 alphaToOneEnable = src.alphaToOneEnable;
2685 if (src.pSampleMask) {
2686 pSampleMask = new VkSampleMask(*src.pSampleMask);
2687 }
2688
2689 return *this;
2690}
2691
2692safe_VkPipelineMultisampleStateCreateInfo::~safe_VkPipelineMultisampleStateCreateInfo()
2693{
2694 if (pSampleMask)
2695 delete pSampleMask;
2696}
2697
2698void safe_VkPipelineMultisampleStateCreateInfo::initialize(const VkPipelineMultisampleStateCreateInfo* in_struct)
2699{
2700 sType = in_struct->sType;
2701 pNext = in_struct->pNext;
2702 flags = in_struct->flags;
2703 rasterizationSamples = in_struct->rasterizationSamples;
2704 sampleShadingEnable = in_struct->sampleShadingEnable;
2705 minSampleShading = in_struct->minSampleShading;
2706 pSampleMask = nullptr;
2707 alphaToCoverageEnable = in_struct->alphaToCoverageEnable;
2708 alphaToOneEnable = in_struct->alphaToOneEnable;
2709 if (in_struct->pSampleMask) {
2710 pSampleMask = new VkSampleMask(*in_struct->pSampleMask);
2711 }
2712}
2713
2714void safe_VkPipelineMultisampleStateCreateInfo::initialize(const safe_VkPipelineMultisampleStateCreateInfo* src)
2715{
2716 sType = src->sType;
2717 pNext = src->pNext;
2718 flags = src->flags;
2719 rasterizationSamples = src->rasterizationSamples;
2720 sampleShadingEnable = src->sampleShadingEnable;
2721 minSampleShading = src->minSampleShading;
2722 pSampleMask = nullptr;
2723 alphaToCoverageEnable = src->alphaToCoverageEnable;
2724 alphaToOneEnable = src->alphaToOneEnable;
2725 if (src->pSampleMask) {
2726 pSampleMask = new VkSampleMask(*src->pSampleMask);
2727 }
2728}
2729
2730safe_VkPipelineDepthStencilStateCreateInfo::safe_VkPipelineDepthStencilStateCreateInfo(const VkPipelineDepthStencilStateCreateInfo* in_struct) :
2731 sType(in_struct->sType),
2732 pNext(in_struct->pNext),
2733 flags(in_struct->flags),
2734 depthTestEnable(in_struct->depthTestEnable),
2735 depthWriteEnable(in_struct->depthWriteEnable),
2736 depthCompareOp(in_struct->depthCompareOp),
2737 depthBoundsTestEnable(in_struct->depthBoundsTestEnable),
2738 stencilTestEnable(in_struct->stencilTestEnable),
2739 front(in_struct->front),
2740 back(in_struct->back),
2741 minDepthBounds(in_struct->minDepthBounds),
2742 maxDepthBounds(in_struct->maxDepthBounds)
2743{
2744}
2745
2746safe_VkPipelineDepthStencilStateCreateInfo::safe_VkPipelineDepthStencilStateCreateInfo()
2747{}
2748
2749safe_VkPipelineDepthStencilStateCreateInfo::safe_VkPipelineDepthStencilStateCreateInfo(const safe_VkPipelineDepthStencilStateCreateInfo& src)
2750{
2751 sType = src.sType;
2752 pNext = src.pNext;
2753 flags = src.flags;
2754 depthTestEnable = src.depthTestEnable;
2755 depthWriteEnable = src.depthWriteEnable;
2756 depthCompareOp = src.depthCompareOp;
2757 depthBoundsTestEnable = src.depthBoundsTestEnable;
2758 stencilTestEnable = src.stencilTestEnable;
2759 front = src.front;
2760 back = src.back;
2761 minDepthBounds = src.minDepthBounds;
2762 maxDepthBounds = src.maxDepthBounds;
2763}
2764
2765safe_VkPipelineDepthStencilStateCreateInfo& safe_VkPipelineDepthStencilStateCreateInfo::operator=(const safe_VkPipelineDepthStencilStateCreateInfo& src)
2766{
2767 if (&src == this) return *this;
2768
2769
2770 sType = src.sType;
2771 pNext = src.pNext;
2772 flags = src.flags;
2773 depthTestEnable = src.depthTestEnable;
2774 depthWriteEnable = src.depthWriteEnable;
2775 depthCompareOp = src.depthCompareOp;
2776 depthBoundsTestEnable = src.depthBoundsTestEnable;
2777 stencilTestEnable = src.stencilTestEnable;
2778 front = src.front;
2779 back = src.back;
2780 minDepthBounds = src.minDepthBounds;
2781 maxDepthBounds = src.maxDepthBounds;
2782
2783 return *this;
2784}
2785
2786safe_VkPipelineDepthStencilStateCreateInfo::~safe_VkPipelineDepthStencilStateCreateInfo()
2787{
2788}
2789
2790void safe_VkPipelineDepthStencilStateCreateInfo::initialize(const VkPipelineDepthStencilStateCreateInfo* in_struct)
2791{
2792 sType = in_struct->sType;
2793 pNext = in_struct->pNext;
2794 flags = in_struct->flags;
2795 depthTestEnable = in_struct->depthTestEnable;
2796 depthWriteEnable = in_struct->depthWriteEnable;
2797 depthCompareOp = in_struct->depthCompareOp;
2798 depthBoundsTestEnable = in_struct->depthBoundsTestEnable;
2799 stencilTestEnable = in_struct->stencilTestEnable;
2800 front = in_struct->front;
2801 back = in_struct->back;
2802 minDepthBounds = in_struct->minDepthBounds;
2803 maxDepthBounds = in_struct->maxDepthBounds;
2804}
2805
2806void safe_VkPipelineDepthStencilStateCreateInfo::initialize(const safe_VkPipelineDepthStencilStateCreateInfo* src)
2807{
2808 sType = src->sType;
2809 pNext = src->pNext;
2810 flags = src->flags;
2811 depthTestEnable = src->depthTestEnable;
2812 depthWriteEnable = src->depthWriteEnable;
2813 depthCompareOp = src->depthCompareOp;
2814 depthBoundsTestEnable = src->depthBoundsTestEnable;
2815 stencilTestEnable = src->stencilTestEnable;
2816 front = src->front;
2817 back = src->back;
2818 minDepthBounds = src->minDepthBounds;
2819 maxDepthBounds = src->maxDepthBounds;
2820}
2821
2822safe_VkPipelineColorBlendStateCreateInfo::safe_VkPipelineColorBlendStateCreateInfo(const VkPipelineColorBlendStateCreateInfo* in_struct) :
2823 sType(in_struct->sType),
2824 pNext(in_struct->pNext),
2825 flags(in_struct->flags),
2826 logicOpEnable(in_struct->logicOpEnable),
2827 logicOp(in_struct->logicOp),
2828 attachmentCount(in_struct->attachmentCount),
2829 pAttachments(nullptr)
2830{
2831 if (in_struct->pAttachments) {
2832 pAttachments = new VkPipelineColorBlendAttachmentState[in_struct->attachmentCount];
2833 memcpy ((void *)pAttachments, (void *)in_struct->pAttachments, sizeof(VkPipelineColorBlendAttachmentState)*in_struct->attachmentCount);
2834 }
2835 for (uint32_t i=0; i<4; ++i) {
2836 blendConstants[i] = in_struct->blendConstants[i];
2837 }
2838}
2839
2840safe_VkPipelineColorBlendStateCreateInfo::safe_VkPipelineColorBlendStateCreateInfo() :
2841 pAttachments(nullptr)
2842{}
2843
2844safe_VkPipelineColorBlendStateCreateInfo::safe_VkPipelineColorBlendStateCreateInfo(const safe_VkPipelineColorBlendStateCreateInfo& src)
2845{
2846 sType = src.sType;
2847 pNext = src.pNext;
2848 flags = src.flags;
2849 logicOpEnable = src.logicOpEnable;
2850 logicOp = src.logicOp;
2851 attachmentCount = src.attachmentCount;
2852 pAttachments = nullptr;
2853 if (src.pAttachments) {
2854 pAttachments = new VkPipelineColorBlendAttachmentState[src.attachmentCount];
2855 memcpy ((void *)pAttachments, (void *)src.pAttachments, sizeof(VkPipelineColorBlendAttachmentState)*src.attachmentCount);
2856 }
2857 for (uint32_t i=0; i<4; ++i) {
2858 blendConstants[i] = src.blendConstants[i];
2859 }
2860}
2861
2862safe_VkPipelineColorBlendStateCreateInfo& safe_VkPipelineColorBlendStateCreateInfo::operator=(const safe_VkPipelineColorBlendStateCreateInfo& src)
2863{
2864 if (&src == this) return *this;
2865
2866 if (pAttachments)
2867 delete[] pAttachments;
2868
2869 sType = src.sType;
2870 pNext = src.pNext;
2871 flags = src.flags;
2872 logicOpEnable = src.logicOpEnable;
2873 logicOp = src.logicOp;
2874 attachmentCount = src.attachmentCount;
2875 pAttachments = nullptr;
2876 if (src.pAttachments) {
2877 pAttachments = new VkPipelineColorBlendAttachmentState[src.attachmentCount];
2878 memcpy ((void *)pAttachments, (void *)src.pAttachments, sizeof(VkPipelineColorBlendAttachmentState)*src.attachmentCount);
2879 }
2880 for (uint32_t i=0; i<4; ++i) {
2881 blendConstants[i] = src.blendConstants[i];
2882 }
2883
2884 return *this;
2885}
2886
2887safe_VkPipelineColorBlendStateCreateInfo::~safe_VkPipelineColorBlendStateCreateInfo()
2888{
2889 if (pAttachments)
2890 delete[] pAttachments;
2891}
2892
2893void safe_VkPipelineColorBlendStateCreateInfo::initialize(const VkPipelineColorBlendStateCreateInfo* in_struct)
2894{
2895 sType = in_struct->sType;
2896 pNext = in_struct->pNext;
2897 flags = in_struct->flags;
2898 logicOpEnable = in_struct->logicOpEnable;
2899 logicOp = in_struct->logicOp;
2900 attachmentCount = in_struct->attachmentCount;
2901 pAttachments = nullptr;
2902 if (in_struct->pAttachments) {
2903 pAttachments = new VkPipelineColorBlendAttachmentState[in_struct->attachmentCount];
2904 memcpy ((void *)pAttachments, (void *)in_struct->pAttachments, sizeof(VkPipelineColorBlendAttachmentState)*in_struct->attachmentCount);
2905 }
2906 for (uint32_t i=0; i<4; ++i) {
2907 blendConstants[i] = in_struct->blendConstants[i];
2908 }
2909}
2910
2911void safe_VkPipelineColorBlendStateCreateInfo::initialize(const safe_VkPipelineColorBlendStateCreateInfo* src)
2912{
2913 sType = src->sType;
2914 pNext = src->pNext;
2915 flags = src->flags;
2916 logicOpEnable = src->logicOpEnable;
2917 logicOp = src->logicOp;
2918 attachmentCount = src->attachmentCount;
2919 pAttachments = nullptr;
2920 if (src->pAttachments) {
2921 pAttachments = new VkPipelineColorBlendAttachmentState[src->attachmentCount];
2922 memcpy ((void *)pAttachments, (void *)src->pAttachments, sizeof(VkPipelineColorBlendAttachmentState)*src->attachmentCount);
2923 }
2924 for (uint32_t i=0; i<4; ++i) {
2925 blendConstants[i] = src->blendConstants[i];
2926 }
2927}
2928
2929safe_VkPipelineDynamicStateCreateInfo::safe_VkPipelineDynamicStateCreateInfo(const VkPipelineDynamicStateCreateInfo* in_struct) :
2930 sType(in_struct->sType),
2931 pNext(in_struct->pNext),
2932 flags(in_struct->flags),
2933 dynamicStateCount(in_struct->dynamicStateCount),
2934 pDynamicStates(nullptr)
2935{
2936 if (in_struct->pDynamicStates) {
2937 pDynamicStates = new VkDynamicState[in_struct->dynamicStateCount];
2938 memcpy ((void *)pDynamicStates, (void *)in_struct->pDynamicStates, sizeof(VkDynamicState)*in_struct->dynamicStateCount);
2939 }
2940}
2941
2942safe_VkPipelineDynamicStateCreateInfo::safe_VkPipelineDynamicStateCreateInfo() :
2943 pDynamicStates(nullptr)
2944{}
2945
2946safe_VkPipelineDynamicStateCreateInfo::safe_VkPipelineDynamicStateCreateInfo(const safe_VkPipelineDynamicStateCreateInfo& src)
2947{
2948 sType = src.sType;
2949 pNext = src.pNext;
2950 flags = src.flags;
2951 dynamicStateCount = src.dynamicStateCount;
2952 pDynamicStates = nullptr;
2953 if (src.pDynamicStates) {
2954 pDynamicStates = new VkDynamicState[src.dynamicStateCount];
2955 memcpy ((void *)pDynamicStates, (void *)src.pDynamicStates, sizeof(VkDynamicState)*src.dynamicStateCount);
2956 }
2957}
2958
2959safe_VkPipelineDynamicStateCreateInfo& safe_VkPipelineDynamicStateCreateInfo::operator=(const safe_VkPipelineDynamicStateCreateInfo& src)
2960{
2961 if (&src == this) return *this;
2962
2963 if (pDynamicStates)
2964 delete[] pDynamicStates;
2965
2966 sType = src.sType;
2967 pNext = src.pNext;
2968 flags = src.flags;
2969 dynamicStateCount = src.dynamicStateCount;
2970 pDynamicStates = nullptr;
2971 if (src.pDynamicStates) {
2972 pDynamicStates = new VkDynamicState[src.dynamicStateCount];
2973 memcpy ((void *)pDynamicStates, (void *)src.pDynamicStates, sizeof(VkDynamicState)*src.dynamicStateCount);
2974 }
2975
2976 return *this;
2977}
2978
2979safe_VkPipelineDynamicStateCreateInfo::~safe_VkPipelineDynamicStateCreateInfo()
2980{
2981 if (pDynamicStates)
2982 delete[] pDynamicStates;
2983}
2984
2985void safe_VkPipelineDynamicStateCreateInfo::initialize(const VkPipelineDynamicStateCreateInfo* in_struct)
2986{
2987 sType = in_struct->sType;
2988 pNext = in_struct->pNext;
2989 flags = in_struct->flags;
2990 dynamicStateCount = in_struct->dynamicStateCount;
2991 pDynamicStates = nullptr;
2992 if (in_struct->pDynamicStates) {
2993 pDynamicStates = new VkDynamicState[in_struct->dynamicStateCount];
2994 memcpy ((void *)pDynamicStates, (void *)in_struct->pDynamicStates, sizeof(VkDynamicState)*in_struct->dynamicStateCount);
2995 }
2996}
2997
2998void safe_VkPipelineDynamicStateCreateInfo::initialize(const safe_VkPipelineDynamicStateCreateInfo* src)
2999{
3000 sType = src->sType;
3001 pNext = src->pNext;
3002 flags = src->flags;
3003 dynamicStateCount = src->dynamicStateCount;
3004 pDynamicStates = nullptr;
3005 if (src->pDynamicStates) {
3006 pDynamicStates = new VkDynamicState[src->dynamicStateCount];
3007 memcpy ((void *)pDynamicStates, (void *)src->pDynamicStates, sizeof(VkDynamicState)*src->dynamicStateCount);
3008 }
3009}
3010
3011safe_VkGraphicsPipelineCreateInfo::safe_VkGraphicsPipelineCreateInfo(const VkGraphicsPipelineCreateInfo* in_struct, const bool uses_color_attachment, const bool uses_depthstencil_attachment) :
3012 sType(in_struct->sType),
3013 pNext(in_struct->pNext),
3014 flags(in_struct->flags),
3015 stageCount(in_struct->stageCount),
3016 pStages(nullptr),
3017 layout(in_struct->layout),
3018 renderPass(in_struct->renderPass),
3019 subpass(in_struct->subpass),
3020 basePipelineHandle(in_struct->basePipelineHandle),
3021 basePipelineIndex(in_struct->basePipelineIndex)
3022{
3023 if (stageCount && in_struct->pStages) {
3024 pStages = new safe_VkPipelineShaderStageCreateInfo[stageCount];
3025 for (uint32_t i=0; i<stageCount; ++i) {
3026 pStages[i].initialize(&in_struct->pStages[i]);
3027 }
3028 }
3029 if (in_struct->pVertexInputState)
3030 pVertexInputState = new safe_VkPipelineVertexInputStateCreateInfo(in_struct->pVertexInputState);
3031 else
3032 pVertexInputState = NULL;
3033 if (in_struct->pInputAssemblyState)
3034 pInputAssemblyState = new safe_VkPipelineInputAssemblyStateCreateInfo(in_struct->pInputAssemblyState);
3035 else
3036 pInputAssemblyState = NULL;
3037 bool has_tessellation_stage = false;
3038 if (stageCount && pStages)
3039 for (uint32_t i=0; i<stageCount && !has_tessellation_stage; ++i)
3040 if (pStages[i].stage == VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT || pStages[i].stage == VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT)
3041 has_tessellation_stage = true;
3042 if (in_struct->pTessellationState && has_tessellation_stage)
3043 pTessellationState = new safe_VkPipelineTessellationStateCreateInfo(in_struct->pTessellationState);
3044 else
3045 pTessellationState = NULL; // original pTessellationState pointer ignored
3046 bool has_rasterization = in_struct->pRasterizationState ? !in_struct->pRasterizationState->rasterizerDiscardEnable : false;
3047 if (in_struct->pViewportState && has_rasterization) {
3048 bool is_dynamic_viewports = false;
3049 bool is_dynamic_scissors = false;
3050 if (in_struct->pDynamicState && in_struct->pDynamicState->pDynamicStates) {
3051 for (uint32_t i = 0; i < in_struct->pDynamicState->dynamicStateCount && !is_dynamic_viewports; ++i)
3052 if (in_struct->pDynamicState->pDynamicStates[i] == VK_DYNAMIC_STATE_VIEWPORT)
3053 is_dynamic_viewports = true;
3054 for (uint32_t i = 0; i < in_struct->pDynamicState->dynamicStateCount && !is_dynamic_scissors; ++i)
3055 if (in_struct->pDynamicState->pDynamicStates[i] == VK_DYNAMIC_STATE_SCISSOR)
3056 is_dynamic_scissors = true;
3057 }
3058 pViewportState = new safe_VkPipelineViewportStateCreateInfo(in_struct->pViewportState, is_dynamic_viewports, is_dynamic_scissors);
3059 } else
3060 pViewportState = NULL; // original pViewportState pointer ignored
3061 if (in_struct->pRasterizationState)
3062 pRasterizationState = new safe_VkPipelineRasterizationStateCreateInfo(in_struct->pRasterizationState);
3063 else
3064 pRasterizationState = NULL;
3065 if (in_struct->pMultisampleState && has_rasterization)
3066 pMultisampleState = new safe_VkPipelineMultisampleStateCreateInfo(in_struct->pMultisampleState);
3067 else
3068 pMultisampleState = NULL; // original pMultisampleState pointer ignored
3069 // needs a tracked subpass state uses_depthstencil_attachment
3070 if (in_struct->pDepthStencilState && has_rasterization && uses_depthstencil_attachment)
3071 pDepthStencilState = new safe_VkPipelineDepthStencilStateCreateInfo(in_struct->pDepthStencilState);
3072 else
3073 pDepthStencilState = NULL; // original pDepthStencilState pointer ignored
3074 // needs a tracked subpass state usesColorAttachment
3075 if (in_struct->pColorBlendState && has_rasterization && uses_color_attachment)
3076 pColorBlendState = new safe_VkPipelineColorBlendStateCreateInfo(in_struct->pColorBlendState);
3077 else
3078 pColorBlendState = NULL; // original pColorBlendState pointer ignored
3079 if (in_struct->pDynamicState)
3080 pDynamicState = new safe_VkPipelineDynamicStateCreateInfo(in_struct->pDynamicState);
3081 else
3082 pDynamicState = NULL;
3083}
3084
3085safe_VkGraphicsPipelineCreateInfo::safe_VkGraphicsPipelineCreateInfo() :
3086 pStages(nullptr)
3087{}
3088
3089safe_VkGraphicsPipelineCreateInfo::safe_VkGraphicsPipelineCreateInfo(const safe_VkGraphicsPipelineCreateInfo& src)
3090{
3091 sType = src.sType;
3092 pNext = src.pNext;
3093 flags = src.flags;
3094 stageCount = src.stageCount;
3095 pStages = nullptr;
3096 layout = src.layout;
3097 renderPass = src.renderPass;
3098 subpass = src.subpass;
3099 basePipelineHandle = src.basePipelineHandle;
3100 basePipelineIndex = src.basePipelineIndex;
3101 if (stageCount && src.pStages) {
3102 pStages = new safe_VkPipelineShaderStageCreateInfo[stageCount];
3103 for (uint32_t i=0; i<stageCount; ++i) {
3104 pStages[i].initialize(&src.pStages[i]);
3105 }
3106 }
3107 if (src.pVertexInputState)
3108 pVertexInputState = new safe_VkPipelineVertexInputStateCreateInfo(*src.pVertexInputState);
3109 else
3110 pVertexInputState = NULL;
3111 if (src.pInputAssemblyState)
3112 pInputAssemblyState = new safe_VkPipelineInputAssemblyStateCreateInfo(*src.pInputAssemblyState);
3113 else
3114 pInputAssemblyState = NULL;
3115 bool has_tessellation_stage = false;
3116 if (stageCount && pStages)
3117 for (uint32_t i=0; i<stageCount && !has_tessellation_stage; ++i)
3118 if (pStages[i].stage == VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT || pStages[i].stage == VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT)
3119 has_tessellation_stage = true;
3120 if (src.pTessellationState && has_tessellation_stage)
3121 pTessellationState = new safe_VkPipelineTessellationStateCreateInfo(*src.pTessellationState);
3122 else
3123 pTessellationState = NULL; // original pTessellationState pointer ignored
3124 bool has_rasterization = src.pRasterizationState ? !src.pRasterizationState->rasterizerDiscardEnable : false;
3125 if (src.pViewportState && has_rasterization) {
3126 pViewportState = new safe_VkPipelineViewportStateCreateInfo(*src.pViewportState);
3127 } else
3128 pViewportState = NULL; // original pViewportState pointer ignored
3129 if (src.pRasterizationState)
3130 pRasterizationState = new safe_VkPipelineRasterizationStateCreateInfo(*src.pRasterizationState);
3131 else
3132 pRasterizationState = NULL;
3133 if (src.pMultisampleState && has_rasterization)
3134 pMultisampleState = new safe_VkPipelineMultisampleStateCreateInfo(*src.pMultisampleState);
3135 else
3136 pMultisampleState = NULL; // original pMultisampleState pointer ignored
3137 if (src.pDepthStencilState && has_rasterization)
3138 pDepthStencilState = new safe_VkPipelineDepthStencilStateCreateInfo(*src.pDepthStencilState);
3139 else
3140 pDepthStencilState = NULL; // original pDepthStencilState pointer ignored
3141 if (src.pColorBlendState && has_rasterization)
3142 pColorBlendState = new safe_VkPipelineColorBlendStateCreateInfo(*src.pColorBlendState);
3143 else
3144 pColorBlendState = NULL; // original pColorBlendState pointer ignored
3145 if (src.pDynamicState)
3146 pDynamicState = new safe_VkPipelineDynamicStateCreateInfo(*src.pDynamicState);
3147 else
3148 pDynamicState = NULL;
3149}
3150
3151safe_VkGraphicsPipelineCreateInfo& safe_VkGraphicsPipelineCreateInfo::operator=(const safe_VkGraphicsPipelineCreateInfo& src)
3152{
3153 if (&src == this) return *this;
3154
3155 if (pStages)
3156 delete[] pStages;
3157 if (pVertexInputState)
3158 delete pVertexInputState;
3159 if (pInputAssemblyState)
3160 delete pInputAssemblyState;
3161 if (pTessellationState)
3162 delete pTessellationState;
3163 if (pViewportState)
3164 delete pViewportState;
3165 if (pRasterizationState)
3166 delete pRasterizationState;
3167 if (pMultisampleState)
3168 delete pMultisampleState;
3169 if (pDepthStencilState)
3170 delete pDepthStencilState;
3171 if (pColorBlendState)
3172 delete pColorBlendState;
3173 if (pDynamicState)
3174 delete pDynamicState;
3175
3176 sType = src.sType;
3177 pNext = src.pNext;
3178 flags = src.flags;
3179 stageCount = src.stageCount;
3180 pStages = nullptr;
3181 layout = src.layout;
3182 renderPass = src.renderPass;
3183 subpass = src.subpass;
3184 basePipelineHandle = src.basePipelineHandle;
3185 basePipelineIndex = src.basePipelineIndex;
3186 if (stageCount && src.pStages) {
3187 pStages = new safe_VkPipelineShaderStageCreateInfo[stageCount];
3188 for (uint32_t i=0; i<stageCount; ++i) {
3189 pStages[i].initialize(&src.pStages[i]);
3190 }
3191 }
3192 if (src.pVertexInputState)
3193 pVertexInputState = new safe_VkPipelineVertexInputStateCreateInfo(*src.pVertexInputState);
3194 else
3195 pVertexInputState = NULL;
3196 if (src.pInputAssemblyState)
3197 pInputAssemblyState = new safe_VkPipelineInputAssemblyStateCreateInfo(*src.pInputAssemblyState);
3198 else
3199 pInputAssemblyState = NULL;
3200 bool has_tessellation_stage = false;
3201 if (stageCount && pStages)
3202 for (uint32_t i=0; i<stageCount && !has_tessellation_stage; ++i)
3203 if (pStages[i].stage == VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT || pStages[i].stage == VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT)
3204 has_tessellation_stage = true;
3205 if (src.pTessellationState && has_tessellation_stage)
3206 pTessellationState = new safe_VkPipelineTessellationStateCreateInfo(*src.pTessellationState);
3207 else
3208 pTessellationState = NULL; // original pTessellationState pointer ignored
3209 bool has_rasterization = src.pRasterizationState ? !src.pRasterizationState->rasterizerDiscardEnable : false;
3210 if (src.pViewportState && has_rasterization) {
3211 pViewportState = new safe_VkPipelineViewportStateCreateInfo(*src.pViewportState);
3212 } else
3213 pViewportState = NULL; // original pViewportState pointer ignored
3214 if (src.pRasterizationState)
3215 pRasterizationState = new safe_VkPipelineRasterizationStateCreateInfo(*src.pRasterizationState);
3216 else
3217 pRasterizationState = NULL;
3218 if (src.pMultisampleState && has_rasterization)
3219 pMultisampleState = new safe_VkPipelineMultisampleStateCreateInfo(*src.pMultisampleState);
3220 else
3221 pMultisampleState = NULL; // original pMultisampleState pointer ignored
3222 if (src.pDepthStencilState && has_rasterization)
3223 pDepthStencilState = new safe_VkPipelineDepthStencilStateCreateInfo(*src.pDepthStencilState);
3224 else
3225 pDepthStencilState = NULL; // original pDepthStencilState pointer ignored
3226 if (src.pColorBlendState && has_rasterization)
3227 pColorBlendState = new safe_VkPipelineColorBlendStateCreateInfo(*src.pColorBlendState);
3228 else
3229 pColorBlendState = NULL; // original pColorBlendState pointer ignored
3230 if (src.pDynamicState)
3231 pDynamicState = new safe_VkPipelineDynamicStateCreateInfo(*src.pDynamicState);
3232 else
3233 pDynamicState = NULL;
3234
3235 return *this;
3236}
3237
3238safe_VkGraphicsPipelineCreateInfo::~safe_VkGraphicsPipelineCreateInfo()
3239{
3240 if (pStages)
3241 delete[] pStages;
3242 if (pVertexInputState)
3243 delete pVertexInputState;
3244 if (pInputAssemblyState)
3245 delete pInputAssemblyState;
3246 if (pTessellationState)
3247 delete pTessellationState;
3248 if (pViewportState)
3249 delete pViewportState;
3250 if (pRasterizationState)
3251 delete pRasterizationState;
3252 if (pMultisampleState)
3253 delete pMultisampleState;
3254 if (pDepthStencilState)
3255 delete pDepthStencilState;
3256 if (pColorBlendState)
3257 delete pColorBlendState;
3258 if (pDynamicState)
3259 delete pDynamicState;
3260}
3261
3262void safe_VkGraphicsPipelineCreateInfo::initialize(const VkGraphicsPipelineCreateInfo* in_struct, const bool uses_color_attachment, const bool uses_depthstencil_attachment)
3263{
3264 sType = in_struct->sType;
3265 pNext = in_struct->pNext;
3266 flags = in_struct->flags;
3267 stageCount = in_struct->stageCount;
3268 pStages = nullptr;
3269 layout = in_struct->layout;
3270 renderPass = in_struct->renderPass;
3271 subpass = in_struct->subpass;
3272 basePipelineHandle = in_struct->basePipelineHandle;
3273 basePipelineIndex = in_struct->basePipelineIndex;
3274 if (stageCount && in_struct->pStages) {
3275 pStages = new safe_VkPipelineShaderStageCreateInfo[stageCount];
3276 for (uint32_t i=0; i<stageCount; ++i) {
3277 pStages[i].initialize(&in_struct->pStages[i]);
3278 }
3279 }
3280 if (in_struct->pVertexInputState)
3281 pVertexInputState = new safe_VkPipelineVertexInputStateCreateInfo(in_struct->pVertexInputState);
3282 else
3283 pVertexInputState = NULL;
3284 if (in_struct->pInputAssemblyState)
3285 pInputAssemblyState = new safe_VkPipelineInputAssemblyStateCreateInfo(in_struct->pInputAssemblyState);
3286 else
3287 pInputAssemblyState = NULL;
3288 bool has_tessellation_stage = false;
3289 if (stageCount && pStages)
3290 for (uint32_t i=0; i<stageCount && !has_tessellation_stage; ++i)
3291 if (pStages[i].stage == VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT || pStages[i].stage == VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT)
3292 has_tessellation_stage = true;
3293 if (in_struct->pTessellationState && has_tessellation_stage)
3294 pTessellationState = new safe_VkPipelineTessellationStateCreateInfo(in_struct->pTessellationState);
3295 else
3296 pTessellationState = NULL; // original pTessellationState pointer ignored
3297 bool has_rasterization = in_struct->pRasterizationState ? !in_struct->pRasterizationState->rasterizerDiscardEnable : false;
3298 if (in_struct->pViewportState && has_rasterization) {
3299 bool is_dynamic_viewports = false;
3300 bool is_dynamic_scissors = false;
3301 if (in_struct->pDynamicState && in_struct->pDynamicState->pDynamicStates) {
3302 for (uint32_t i = 0; i < in_struct->pDynamicState->dynamicStateCount && !is_dynamic_viewports; ++i)
3303 if (in_struct->pDynamicState->pDynamicStates[i] == VK_DYNAMIC_STATE_VIEWPORT)
3304 is_dynamic_viewports = true;
3305 for (uint32_t i = 0; i < in_struct->pDynamicState->dynamicStateCount && !is_dynamic_scissors; ++i)
3306 if (in_struct->pDynamicState->pDynamicStates[i] == VK_DYNAMIC_STATE_SCISSOR)
3307 is_dynamic_scissors = true;
3308 }
3309 pViewportState = new safe_VkPipelineViewportStateCreateInfo(in_struct->pViewportState, is_dynamic_viewports, is_dynamic_scissors);
3310 } else
3311 pViewportState = NULL; // original pViewportState pointer ignored
3312 if (in_struct->pRasterizationState)
3313 pRasterizationState = new safe_VkPipelineRasterizationStateCreateInfo(in_struct->pRasterizationState);
3314 else
3315 pRasterizationState = NULL;
3316 if (in_struct->pMultisampleState && has_rasterization)
3317 pMultisampleState = new safe_VkPipelineMultisampleStateCreateInfo(in_struct->pMultisampleState);
3318 else
3319 pMultisampleState = NULL; // original pMultisampleState pointer ignored
3320 // needs a tracked subpass state uses_depthstencil_attachment
3321 if (in_struct->pDepthStencilState && has_rasterization && uses_depthstencil_attachment)
3322 pDepthStencilState = new safe_VkPipelineDepthStencilStateCreateInfo(in_struct->pDepthStencilState);
3323 else
3324 pDepthStencilState = NULL; // original pDepthStencilState pointer ignored
3325 // needs a tracked subpass state usesColorAttachment
3326 if (in_struct->pColorBlendState && has_rasterization && uses_color_attachment)
3327 pColorBlendState = new safe_VkPipelineColorBlendStateCreateInfo(in_struct->pColorBlendState);
3328 else
3329 pColorBlendState = NULL; // original pColorBlendState pointer ignored
3330 if (in_struct->pDynamicState)
3331 pDynamicState = new safe_VkPipelineDynamicStateCreateInfo(in_struct->pDynamicState);
3332 else
3333 pDynamicState = NULL;
3334}
3335
3336void safe_VkGraphicsPipelineCreateInfo::initialize(const safe_VkGraphicsPipelineCreateInfo* src)
3337{
3338 sType = src->sType;
3339 pNext = src->pNext;
3340 flags = src->flags;
3341 stageCount = src->stageCount;
3342 pStages = nullptr;
3343 layout = src->layout;
3344 renderPass = src->renderPass;
3345 subpass = src->subpass;
3346 basePipelineHandle = src->basePipelineHandle;
3347 basePipelineIndex = src->basePipelineIndex;
3348 if (stageCount && src->pStages) {
3349 pStages = new safe_VkPipelineShaderStageCreateInfo[stageCount];
3350 for (uint32_t i=0; i<stageCount; ++i) {
3351 pStages[i].initialize(&src->pStages[i]);
3352 }
3353 }
3354 if (src->pVertexInputState)
3355 pVertexInputState = new safe_VkPipelineVertexInputStateCreateInfo(*src->pVertexInputState);
3356 else
3357 pVertexInputState = NULL;
3358 if (src->pInputAssemblyState)
3359 pInputAssemblyState = new safe_VkPipelineInputAssemblyStateCreateInfo(*src->pInputAssemblyState);
3360 else
3361 pInputAssemblyState = NULL;
3362 bool has_tessellation_stage = false;
3363 if (stageCount && pStages)
3364 for (uint32_t i=0; i<stageCount && !has_tessellation_stage; ++i)
3365 if (pStages[i].stage == VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT || pStages[i].stage == VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT)
3366 has_tessellation_stage = true;
3367 if (src->pTessellationState && has_tessellation_stage)
3368 pTessellationState = new safe_VkPipelineTessellationStateCreateInfo(*src->pTessellationState);
3369 else
3370 pTessellationState = NULL; // original pTessellationState pointer ignored
3371 bool has_rasterization = src->pRasterizationState ? !src->pRasterizationState->rasterizerDiscardEnable : false;
3372 if (src->pViewportState && has_rasterization) {
3373 pViewportState = new safe_VkPipelineViewportStateCreateInfo(*src->pViewportState);
3374 } else
3375 pViewportState = NULL; // original pViewportState pointer ignored
3376 if (src->pRasterizationState)
3377 pRasterizationState = new safe_VkPipelineRasterizationStateCreateInfo(*src->pRasterizationState);
3378 else
3379 pRasterizationState = NULL;
3380 if (src->pMultisampleState && has_rasterization)
3381 pMultisampleState = new safe_VkPipelineMultisampleStateCreateInfo(*src->pMultisampleState);
3382 else
3383 pMultisampleState = NULL; // original pMultisampleState pointer ignored
3384 if (src->pDepthStencilState && has_rasterization)
3385 pDepthStencilState = new safe_VkPipelineDepthStencilStateCreateInfo(*src->pDepthStencilState);
3386 else
3387 pDepthStencilState = NULL; // original pDepthStencilState pointer ignored
3388 if (src->pColorBlendState && has_rasterization)
3389 pColorBlendState = new safe_VkPipelineColorBlendStateCreateInfo(*src->pColorBlendState);
3390 else
3391 pColorBlendState = NULL; // original pColorBlendState pointer ignored
3392 if (src->pDynamicState)
3393 pDynamicState = new safe_VkPipelineDynamicStateCreateInfo(*src->pDynamicState);
3394 else
3395 pDynamicState = NULL;
3396}
3397
3398safe_VkComputePipelineCreateInfo::safe_VkComputePipelineCreateInfo(const VkComputePipelineCreateInfo* in_struct) :
3399 sType(in_struct->sType),
3400 pNext(in_struct->pNext),
3401 flags(in_struct->flags),
3402 stage(&in_struct->stage),
3403 layout(in_struct->layout),
3404 basePipelineHandle(in_struct->basePipelineHandle),
3405 basePipelineIndex(in_struct->basePipelineIndex)
3406{
3407}
3408
3409safe_VkComputePipelineCreateInfo::safe_VkComputePipelineCreateInfo()
3410{}
3411
3412safe_VkComputePipelineCreateInfo::safe_VkComputePipelineCreateInfo(const safe_VkComputePipelineCreateInfo& src)
3413{
3414 sType = src.sType;
3415 pNext = src.pNext;
3416 flags = src.flags;
3417 stage.initialize(&src.stage);
3418 layout = src.layout;
3419 basePipelineHandle = src.basePipelineHandle;
3420 basePipelineIndex = src.basePipelineIndex;
3421}
3422
3423safe_VkComputePipelineCreateInfo& safe_VkComputePipelineCreateInfo::operator=(const safe_VkComputePipelineCreateInfo& src)
3424{
3425 if (&src == this) return *this;
3426
3427
3428 sType = src.sType;
3429 pNext = src.pNext;
3430 flags = src.flags;
3431 stage.initialize(&src.stage);
3432 layout = src.layout;
3433 basePipelineHandle = src.basePipelineHandle;
3434 basePipelineIndex = src.basePipelineIndex;
3435
3436 return *this;
3437}
3438
3439safe_VkComputePipelineCreateInfo::~safe_VkComputePipelineCreateInfo()
3440{
3441}
3442
3443void safe_VkComputePipelineCreateInfo::initialize(const VkComputePipelineCreateInfo* in_struct)
3444{
3445 sType = in_struct->sType;
3446 pNext = in_struct->pNext;
3447 flags = in_struct->flags;
3448 stage.initialize(&in_struct->stage);
3449 layout = in_struct->layout;
3450 basePipelineHandle = in_struct->basePipelineHandle;
3451 basePipelineIndex = in_struct->basePipelineIndex;
3452}
3453
3454void safe_VkComputePipelineCreateInfo::initialize(const safe_VkComputePipelineCreateInfo* src)
3455{
3456 sType = src->sType;
3457 pNext = src->pNext;
3458 flags = src->flags;
3459 stage.initialize(&src->stage);
3460 layout = src->layout;
3461 basePipelineHandle = src->basePipelineHandle;
3462 basePipelineIndex = src->basePipelineIndex;
3463}
3464
3465safe_VkPipelineLayoutCreateInfo::safe_VkPipelineLayoutCreateInfo(const VkPipelineLayoutCreateInfo* in_struct) :
3466 sType(in_struct->sType),
3467 pNext(in_struct->pNext),
3468 flags(in_struct->flags),
3469 setLayoutCount(in_struct->setLayoutCount),
3470 pSetLayouts(nullptr),
3471 pushConstantRangeCount(in_struct->pushConstantRangeCount),
3472 pPushConstantRanges(nullptr)
3473{
3474 if (setLayoutCount && in_struct->pSetLayouts) {
3475 pSetLayouts = new VkDescriptorSetLayout[setLayoutCount];
3476 for (uint32_t i=0; i<setLayoutCount; ++i) {
3477 pSetLayouts[i] = in_struct->pSetLayouts[i];
3478 }
3479 }
3480 if (in_struct->pPushConstantRanges) {
3481 pPushConstantRanges = new VkPushConstantRange[in_struct->pushConstantRangeCount];
3482 memcpy ((void *)pPushConstantRanges, (void *)in_struct->pPushConstantRanges, sizeof(VkPushConstantRange)*in_struct->pushConstantRangeCount);
3483 }
3484}
3485
3486safe_VkPipelineLayoutCreateInfo::safe_VkPipelineLayoutCreateInfo() :
3487 pSetLayouts(nullptr),
3488 pPushConstantRanges(nullptr)
3489{}
3490
3491safe_VkPipelineLayoutCreateInfo::safe_VkPipelineLayoutCreateInfo(const safe_VkPipelineLayoutCreateInfo& src)
3492{
3493 sType = src.sType;
3494 pNext = src.pNext;
3495 flags = src.flags;
3496 setLayoutCount = src.setLayoutCount;
3497 pSetLayouts = nullptr;
3498 pushConstantRangeCount = src.pushConstantRangeCount;
3499 pPushConstantRanges = nullptr;
3500 if (setLayoutCount && src.pSetLayouts) {
3501 pSetLayouts = new VkDescriptorSetLayout[setLayoutCount];
3502 for (uint32_t i=0; i<setLayoutCount; ++i) {
3503 pSetLayouts[i] = src.pSetLayouts[i];
3504 }
3505 }
3506 if (src.pPushConstantRanges) {
3507 pPushConstantRanges = new VkPushConstantRange[src.pushConstantRangeCount];
3508 memcpy ((void *)pPushConstantRanges, (void *)src.pPushConstantRanges, sizeof(VkPushConstantRange)*src.pushConstantRangeCount);
3509 }
3510}
3511
3512safe_VkPipelineLayoutCreateInfo& safe_VkPipelineLayoutCreateInfo::operator=(const safe_VkPipelineLayoutCreateInfo& src)
3513{
3514 if (&src == this) return *this;
3515
3516 if (pSetLayouts)
3517 delete[] pSetLayouts;
3518 if (pPushConstantRanges)
3519 delete[] pPushConstantRanges;
3520
3521 sType = src.sType;
3522 pNext = src.pNext;
3523 flags = src.flags;
3524 setLayoutCount = src.setLayoutCount;
3525 pSetLayouts = nullptr;
3526 pushConstantRangeCount = src.pushConstantRangeCount;
3527 pPushConstantRanges = nullptr;
3528 if (setLayoutCount && src.pSetLayouts) {
3529 pSetLayouts = new VkDescriptorSetLayout[setLayoutCount];
3530 for (uint32_t i=0; i<setLayoutCount; ++i) {
3531 pSetLayouts[i] = src.pSetLayouts[i];
3532 }
3533 }
3534 if (src.pPushConstantRanges) {
3535 pPushConstantRanges = new VkPushConstantRange[src.pushConstantRangeCount];
3536 memcpy ((void *)pPushConstantRanges, (void *)src.pPushConstantRanges, sizeof(VkPushConstantRange)*src.pushConstantRangeCount);
3537 }
3538
3539 return *this;
3540}
3541
3542safe_VkPipelineLayoutCreateInfo::~safe_VkPipelineLayoutCreateInfo()
3543{
3544 if (pSetLayouts)
3545 delete[] pSetLayouts;
3546 if (pPushConstantRanges)
3547 delete[] pPushConstantRanges;
3548}
3549
3550void safe_VkPipelineLayoutCreateInfo::initialize(const VkPipelineLayoutCreateInfo* in_struct)
3551{
3552 sType = in_struct->sType;
3553 pNext = in_struct->pNext;
3554 flags = in_struct->flags;
3555 setLayoutCount = in_struct->setLayoutCount;
3556 pSetLayouts = nullptr;
3557 pushConstantRangeCount = in_struct->pushConstantRangeCount;
3558 pPushConstantRanges = nullptr;
3559 if (setLayoutCount && in_struct->pSetLayouts) {
3560 pSetLayouts = new VkDescriptorSetLayout[setLayoutCount];
3561 for (uint32_t i=0; i<setLayoutCount; ++i) {
3562 pSetLayouts[i] = in_struct->pSetLayouts[i];
3563 }
3564 }
3565 if (in_struct->pPushConstantRanges) {
3566 pPushConstantRanges = new VkPushConstantRange[in_struct->pushConstantRangeCount];
3567 memcpy ((void *)pPushConstantRanges, (void *)in_struct->pPushConstantRanges, sizeof(VkPushConstantRange)*in_struct->pushConstantRangeCount);
3568 }
3569}
3570
3571void safe_VkPipelineLayoutCreateInfo::initialize(const safe_VkPipelineLayoutCreateInfo* src)
3572{
3573 sType = src->sType;
3574 pNext = src->pNext;
3575 flags = src->flags;
3576 setLayoutCount = src->setLayoutCount;
3577 pSetLayouts = nullptr;
3578 pushConstantRangeCount = src->pushConstantRangeCount;
3579 pPushConstantRanges = nullptr;
3580 if (setLayoutCount && src->pSetLayouts) {
3581 pSetLayouts = new VkDescriptorSetLayout[setLayoutCount];
3582 for (uint32_t i=0; i<setLayoutCount; ++i) {
3583 pSetLayouts[i] = src->pSetLayouts[i];
3584 }
3585 }
3586 if (src->pPushConstantRanges) {
3587 pPushConstantRanges = new VkPushConstantRange[src->pushConstantRangeCount];
3588 memcpy ((void *)pPushConstantRanges, (void *)src->pPushConstantRanges, sizeof(VkPushConstantRange)*src->pushConstantRangeCount);
3589 }
3590}
3591
3592safe_VkSamplerCreateInfo::safe_VkSamplerCreateInfo(const VkSamplerCreateInfo* in_struct) :
3593 sType(in_struct->sType),
3594 pNext(in_struct->pNext),
3595 flags(in_struct->flags),
3596 magFilter(in_struct->magFilter),
3597 minFilter(in_struct->minFilter),
3598 mipmapMode(in_struct->mipmapMode),
3599 addressModeU(in_struct->addressModeU),
3600 addressModeV(in_struct->addressModeV),
3601 addressModeW(in_struct->addressModeW),
3602 mipLodBias(in_struct->mipLodBias),
3603 anisotropyEnable(in_struct->anisotropyEnable),
3604 maxAnisotropy(in_struct->maxAnisotropy),
3605 compareEnable(in_struct->compareEnable),
3606 compareOp(in_struct->compareOp),
3607 minLod(in_struct->minLod),
3608 maxLod(in_struct->maxLod),
3609 borderColor(in_struct->borderColor),
3610 unnormalizedCoordinates(in_struct->unnormalizedCoordinates)
3611{
3612}
3613
3614safe_VkSamplerCreateInfo::safe_VkSamplerCreateInfo()
3615{}
3616
3617safe_VkSamplerCreateInfo::safe_VkSamplerCreateInfo(const safe_VkSamplerCreateInfo& src)
3618{
3619 sType = src.sType;
3620 pNext = src.pNext;
3621 flags = src.flags;
3622 magFilter = src.magFilter;
3623 minFilter = src.minFilter;
3624 mipmapMode = src.mipmapMode;
3625 addressModeU = src.addressModeU;
3626 addressModeV = src.addressModeV;
3627 addressModeW = src.addressModeW;
3628 mipLodBias = src.mipLodBias;
3629 anisotropyEnable = src.anisotropyEnable;
3630 maxAnisotropy = src.maxAnisotropy;
3631 compareEnable = src.compareEnable;
3632 compareOp = src.compareOp;
3633 minLod = src.minLod;
3634 maxLod = src.maxLod;
3635 borderColor = src.borderColor;
3636 unnormalizedCoordinates = src.unnormalizedCoordinates;
3637}
3638
3639safe_VkSamplerCreateInfo& safe_VkSamplerCreateInfo::operator=(const safe_VkSamplerCreateInfo& src)
3640{
3641 if (&src == this) return *this;
3642
3643
3644 sType = src.sType;
3645 pNext = src.pNext;
3646 flags = src.flags;
3647 magFilter = src.magFilter;
3648 minFilter = src.minFilter;
3649 mipmapMode = src.mipmapMode;
3650 addressModeU = src.addressModeU;
3651 addressModeV = src.addressModeV;
3652 addressModeW = src.addressModeW;
3653 mipLodBias = src.mipLodBias;
3654 anisotropyEnable = src.anisotropyEnable;
3655 maxAnisotropy = src.maxAnisotropy;
3656 compareEnable = src.compareEnable;
3657 compareOp = src.compareOp;
3658 minLod = src.minLod;
3659 maxLod = src.maxLod;
3660 borderColor = src.borderColor;
3661 unnormalizedCoordinates = src.unnormalizedCoordinates;
3662
3663 return *this;
3664}
3665
3666safe_VkSamplerCreateInfo::~safe_VkSamplerCreateInfo()
3667{
3668}
3669
3670void safe_VkSamplerCreateInfo::initialize(const VkSamplerCreateInfo* in_struct)
3671{
3672 sType = in_struct->sType;
3673 pNext = in_struct->pNext;
3674 flags = in_struct->flags;
3675 magFilter = in_struct->magFilter;
3676 minFilter = in_struct->minFilter;
3677 mipmapMode = in_struct->mipmapMode;
3678 addressModeU = in_struct->addressModeU;
3679 addressModeV = in_struct->addressModeV;
3680 addressModeW = in_struct->addressModeW;
3681 mipLodBias = in_struct->mipLodBias;
3682 anisotropyEnable = in_struct->anisotropyEnable;
3683 maxAnisotropy = in_struct->maxAnisotropy;
3684 compareEnable = in_struct->compareEnable;
3685 compareOp = in_struct->compareOp;
3686 minLod = in_struct->minLod;
3687 maxLod = in_struct->maxLod;
3688 borderColor = in_struct->borderColor;
3689 unnormalizedCoordinates = in_struct->unnormalizedCoordinates;
3690}
3691
3692void safe_VkSamplerCreateInfo::initialize(const safe_VkSamplerCreateInfo* src)
3693{
3694 sType = src->sType;
3695 pNext = src->pNext;
3696 flags = src->flags;
3697 magFilter = src->magFilter;
3698 minFilter = src->minFilter;
3699 mipmapMode = src->mipmapMode;
3700 addressModeU = src->addressModeU;
3701 addressModeV = src->addressModeV;
3702 addressModeW = src->addressModeW;
3703 mipLodBias = src->mipLodBias;
3704 anisotropyEnable = src->anisotropyEnable;
3705 maxAnisotropy = src->maxAnisotropy;
3706 compareEnable = src->compareEnable;
3707 compareOp = src->compareOp;
3708 minLod = src->minLod;
3709 maxLod = src->maxLod;
3710 borderColor = src->borderColor;
3711 unnormalizedCoordinates = src->unnormalizedCoordinates;
3712}
3713
3714safe_VkDescriptorSetLayoutBinding::safe_VkDescriptorSetLayoutBinding(const VkDescriptorSetLayoutBinding* in_struct) :
3715 binding(in_struct->binding),
3716 descriptorType(in_struct->descriptorType),
3717 descriptorCount(in_struct->descriptorCount),
3718 stageFlags(in_struct->stageFlags),
3719 pImmutableSamplers(nullptr)
3720{
3721 const bool sampler_type = in_struct->descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER || in_struct->descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER;
3722 if (descriptorCount && in_struct->pImmutableSamplers && sampler_type) {
3723 pImmutableSamplers = new VkSampler[descriptorCount];
3724 for (uint32_t i=0; i<descriptorCount; ++i) {
3725 pImmutableSamplers[i] = in_struct->pImmutableSamplers[i];
3726 }
3727 }
3728}
3729
3730safe_VkDescriptorSetLayoutBinding::safe_VkDescriptorSetLayoutBinding() :
3731 pImmutableSamplers(nullptr)
3732{}
3733
3734safe_VkDescriptorSetLayoutBinding::safe_VkDescriptorSetLayoutBinding(const safe_VkDescriptorSetLayoutBinding& src)
3735{
3736 binding = src.binding;
3737 descriptorType = src.descriptorType;
3738 descriptorCount = src.descriptorCount;
3739 stageFlags = src.stageFlags;
3740 pImmutableSamplers = nullptr;
3741 const bool sampler_type = src.descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER || src.descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER;
3742 if (descriptorCount && src.pImmutableSamplers && sampler_type) {
3743 pImmutableSamplers = new VkSampler[descriptorCount];
3744 for (uint32_t i=0; i<descriptorCount; ++i) {
3745 pImmutableSamplers[i] = src.pImmutableSamplers[i];
3746 }
3747 }
3748}
3749
3750safe_VkDescriptorSetLayoutBinding& safe_VkDescriptorSetLayoutBinding::operator=(const safe_VkDescriptorSetLayoutBinding& src)
3751{
3752 if (&src == this) return *this;
3753
3754 if (pImmutableSamplers)
3755 delete[] pImmutableSamplers;
3756
3757 binding = src.binding;
3758 descriptorType = src.descriptorType;
3759 descriptorCount = src.descriptorCount;
3760 stageFlags = src.stageFlags;
3761 pImmutableSamplers = nullptr;
3762 const bool sampler_type = src.descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER || src.descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER;
3763 if (descriptorCount && src.pImmutableSamplers && sampler_type) {
3764 pImmutableSamplers = new VkSampler[descriptorCount];
3765 for (uint32_t i=0; i<descriptorCount; ++i) {
3766 pImmutableSamplers[i] = src.pImmutableSamplers[i];
3767 }
3768 }
3769
3770 return *this;
3771}
3772
3773safe_VkDescriptorSetLayoutBinding::~safe_VkDescriptorSetLayoutBinding()
3774{
3775 if (pImmutableSamplers)
3776 delete[] pImmutableSamplers;
3777}
3778
3779void safe_VkDescriptorSetLayoutBinding::initialize(const VkDescriptorSetLayoutBinding* in_struct)
3780{
3781 binding = in_struct->binding;
3782 descriptorType = in_struct->descriptorType;
3783 descriptorCount = in_struct->descriptorCount;
3784 stageFlags = in_struct->stageFlags;
3785 pImmutableSamplers = nullptr;
3786 const bool sampler_type = in_struct->descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER || in_struct->descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER;
3787 if (descriptorCount && in_struct->pImmutableSamplers && sampler_type) {
3788 pImmutableSamplers = new VkSampler[descriptorCount];
3789 for (uint32_t i=0; i<descriptorCount; ++i) {
3790 pImmutableSamplers[i] = in_struct->pImmutableSamplers[i];
3791 }
3792 }
3793}
3794
3795void safe_VkDescriptorSetLayoutBinding::initialize(const safe_VkDescriptorSetLayoutBinding* src)
3796{
3797 binding = src->binding;
3798 descriptorType = src->descriptorType;
3799 descriptorCount = src->descriptorCount;
3800 stageFlags = src->stageFlags;
3801 pImmutableSamplers = nullptr;
3802 const bool sampler_type = src->descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER || src->descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER;
3803 if (descriptorCount && src->pImmutableSamplers && sampler_type) {
3804 pImmutableSamplers = new VkSampler[descriptorCount];
3805 for (uint32_t i=0; i<descriptorCount; ++i) {
3806 pImmutableSamplers[i] = src->pImmutableSamplers[i];
3807 }
3808 }
3809}
3810
3811safe_VkDescriptorSetLayoutCreateInfo::safe_VkDescriptorSetLayoutCreateInfo(const VkDescriptorSetLayoutCreateInfo* in_struct) :
3812 sType(in_struct->sType),
3813 pNext(in_struct->pNext),
3814 flags(in_struct->flags),
3815 bindingCount(in_struct->bindingCount),
3816 pBindings(nullptr)
3817{
3818 if (bindingCount && in_struct->pBindings) {
3819 pBindings = new safe_VkDescriptorSetLayoutBinding[bindingCount];
3820 for (uint32_t i=0; i<bindingCount; ++i) {
3821 pBindings[i].initialize(&in_struct->pBindings[i]);
3822 }
3823 }
3824}
3825
3826safe_VkDescriptorSetLayoutCreateInfo::safe_VkDescriptorSetLayoutCreateInfo() :
3827 pBindings(nullptr)
3828{}
3829
3830safe_VkDescriptorSetLayoutCreateInfo::safe_VkDescriptorSetLayoutCreateInfo(const safe_VkDescriptorSetLayoutCreateInfo& src)
3831{
3832 sType = src.sType;
3833 pNext = src.pNext;
3834 flags = src.flags;
3835 bindingCount = src.bindingCount;
3836 pBindings = nullptr;
3837 if (bindingCount && src.pBindings) {
3838 pBindings = new safe_VkDescriptorSetLayoutBinding[bindingCount];
3839 for (uint32_t i=0; i<bindingCount; ++i) {
3840 pBindings[i].initialize(&src.pBindings[i]);
3841 }
3842 }
3843}
3844
3845safe_VkDescriptorSetLayoutCreateInfo& safe_VkDescriptorSetLayoutCreateInfo::operator=(const safe_VkDescriptorSetLayoutCreateInfo& src)
3846{
3847 if (&src == this) return *this;
3848
3849 if (pBindings)
3850 delete[] pBindings;
3851
3852 sType = src.sType;
3853 pNext = src.pNext;
3854 flags = src.flags;
3855 bindingCount = src.bindingCount;
3856 pBindings = nullptr;
3857 if (bindingCount && src.pBindings) {
3858 pBindings = new safe_VkDescriptorSetLayoutBinding[bindingCount];
3859 for (uint32_t i=0; i<bindingCount; ++i) {
3860 pBindings[i].initialize(&src.pBindings[i]);
3861 }
3862 }
3863
3864 return *this;
3865}
3866
3867safe_VkDescriptorSetLayoutCreateInfo::~safe_VkDescriptorSetLayoutCreateInfo()
3868{
3869 if (pBindings)
3870 delete[] pBindings;
3871}
3872
3873void safe_VkDescriptorSetLayoutCreateInfo::initialize(const VkDescriptorSetLayoutCreateInfo* in_struct)
3874{
3875 sType = in_struct->sType;
3876 pNext = in_struct->pNext;
3877 flags = in_struct->flags;
3878 bindingCount = in_struct->bindingCount;
3879 pBindings = nullptr;
3880 if (bindingCount && in_struct->pBindings) {
3881 pBindings = new safe_VkDescriptorSetLayoutBinding[bindingCount];
3882 for (uint32_t i=0; i<bindingCount; ++i) {
3883 pBindings[i].initialize(&in_struct->pBindings[i]);
3884 }
3885 }
3886}
3887
3888void safe_VkDescriptorSetLayoutCreateInfo::initialize(const safe_VkDescriptorSetLayoutCreateInfo* src)
3889{
3890 sType = src->sType;
3891 pNext = src->pNext;
3892 flags = src->flags;
3893 bindingCount = src->bindingCount;
3894 pBindings = nullptr;
3895 if (bindingCount && src->pBindings) {
3896 pBindings = new safe_VkDescriptorSetLayoutBinding[bindingCount];
3897 for (uint32_t i=0; i<bindingCount; ++i) {
3898 pBindings[i].initialize(&src->pBindings[i]);
3899 }
3900 }
3901}
3902
3903safe_VkDescriptorPoolCreateInfo::safe_VkDescriptorPoolCreateInfo(const VkDescriptorPoolCreateInfo* in_struct) :
3904 sType(in_struct->sType),
3905 pNext(in_struct->pNext),
3906 flags(in_struct->flags),
3907 maxSets(in_struct->maxSets),
3908 poolSizeCount(in_struct->poolSizeCount),
3909 pPoolSizes(nullptr)
3910{
3911 if (in_struct->pPoolSizes) {
3912 pPoolSizes = new VkDescriptorPoolSize[in_struct->poolSizeCount];
3913 memcpy ((void *)pPoolSizes, (void *)in_struct->pPoolSizes, sizeof(VkDescriptorPoolSize)*in_struct->poolSizeCount);
3914 }
3915}
3916
3917safe_VkDescriptorPoolCreateInfo::safe_VkDescriptorPoolCreateInfo() :
3918 pPoolSizes(nullptr)
3919{}
3920
3921safe_VkDescriptorPoolCreateInfo::safe_VkDescriptorPoolCreateInfo(const safe_VkDescriptorPoolCreateInfo& src)
3922{
3923 sType = src.sType;
3924 pNext = src.pNext;
3925 flags = src.flags;
3926 maxSets = src.maxSets;
3927 poolSizeCount = src.poolSizeCount;
3928 pPoolSizes = nullptr;
3929 if (src.pPoolSizes) {
3930 pPoolSizes = new VkDescriptorPoolSize[src.poolSizeCount];
3931 memcpy ((void *)pPoolSizes, (void *)src.pPoolSizes, sizeof(VkDescriptorPoolSize)*src.poolSizeCount);
3932 }
3933}
3934
3935safe_VkDescriptorPoolCreateInfo& safe_VkDescriptorPoolCreateInfo::operator=(const safe_VkDescriptorPoolCreateInfo& src)
3936{
3937 if (&src == this) return *this;
3938
3939 if (pPoolSizes)
3940 delete[] pPoolSizes;
3941
3942 sType = src.sType;
3943 pNext = src.pNext;
3944 flags = src.flags;
3945 maxSets = src.maxSets;
3946 poolSizeCount = src.poolSizeCount;
3947 pPoolSizes = nullptr;
3948 if (src.pPoolSizes) {
3949 pPoolSizes = new VkDescriptorPoolSize[src.poolSizeCount];
3950 memcpy ((void *)pPoolSizes, (void *)src.pPoolSizes, sizeof(VkDescriptorPoolSize)*src.poolSizeCount);
3951 }
3952
3953 return *this;
3954}
3955
3956safe_VkDescriptorPoolCreateInfo::~safe_VkDescriptorPoolCreateInfo()
3957{
3958 if (pPoolSizes)
3959 delete[] pPoolSizes;
3960}
3961
3962void safe_VkDescriptorPoolCreateInfo::initialize(const VkDescriptorPoolCreateInfo* in_struct)
3963{
3964 sType = in_struct->sType;
3965 pNext = in_struct->pNext;
3966 flags = in_struct->flags;
3967 maxSets = in_struct->maxSets;
3968 poolSizeCount = in_struct->poolSizeCount;
3969 pPoolSizes = nullptr;
3970 if (in_struct->pPoolSizes) {
3971 pPoolSizes = new VkDescriptorPoolSize[in_struct->poolSizeCount];
3972 memcpy ((void *)pPoolSizes, (void *)in_struct->pPoolSizes, sizeof(VkDescriptorPoolSize)*in_struct->poolSizeCount);
3973 }
3974}
3975
3976void safe_VkDescriptorPoolCreateInfo::initialize(const safe_VkDescriptorPoolCreateInfo* src)
3977{
3978 sType = src->sType;
3979 pNext = src->pNext;
3980 flags = src->flags;
3981 maxSets = src->maxSets;
3982 poolSizeCount = src->poolSizeCount;
3983 pPoolSizes = nullptr;
3984 if (src->pPoolSizes) {
3985 pPoolSizes = new VkDescriptorPoolSize[src->poolSizeCount];
3986 memcpy ((void *)pPoolSizes, (void *)src->pPoolSizes, sizeof(VkDescriptorPoolSize)*src->poolSizeCount);
3987 }
3988}
3989
3990safe_VkDescriptorSetAllocateInfo::safe_VkDescriptorSetAllocateInfo(const VkDescriptorSetAllocateInfo* in_struct) :
3991 sType(in_struct->sType),
3992 pNext(in_struct->pNext),
3993 descriptorPool(in_struct->descriptorPool),
3994 descriptorSetCount(in_struct->descriptorSetCount),
3995 pSetLayouts(nullptr)
3996{
3997 if (descriptorSetCount && in_struct->pSetLayouts) {
3998 pSetLayouts = new VkDescriptorSetLayout[descriptorSetCount];
3999 for (uint32_t i=0; i<descriptorSetCount; ++i) {
4000 pSetLayouts[i] = in_struct->pSetLayouts[i];
4001 }
4002 }
4003}
4004
4005safe_VkDescriptorSetAllocateInfo::safe_VkDescriptorSetAllocateInfo() :
4006 pSetLayouts(nullptr)
4007{}
4008
4009safe_VkDescriptorSetAllocateInfo::safe_VkDescriptorSetAllocateInfo(const safe_VkDescriptorSetAllocateInfo& src)
4010{
4011 sType = src.sType;
4012 pNext = src.pNext;
4013 descriptorPool = src.descriptorPool;
4014 descriptorSetCount = src.descriptorSetCount;
4015 pSetLayouts = nullptr;
4016 if (descriptorSetCount && src.pSetLayouts) {
4017 pSetLayouts = new VkDescriptorSetLayout[descriptorSetCount];
4018 for (uint32_t i=0; i<descriptorSetCount; ++i) {
4019 pSetLayouts[i] = src.pSetLayouts[i];
4020 }
4021 }
4022}
4023
4024safe_VkDescriptorSetAllocateInfo& safe_VkDescriptorSetAllocateInfo::operator=(const safe_VkDescriptorSetAllocateInfo& src)
4025{
4026 if (&src == this) return *this;
4027
4028 if (pSetLayouts)
4029 delete[] pSetLayouts;
4030
4031 sType = src.sType;
4032 pNext = src.pNext;
4033 descriptorPool = src.descriptorPool;
4034 descriptorSetCount = src.descriptorSetCount;
4035 pSetLayouts = nullptr;
4036 if (descriptorSetCount && src.pSetLayouts) {
4037 pSetLayouts = new VkDescriptorSetLayout[descriptorSetCount];
4038 for (uint32_t i=0; i<descriptorSetCount; ++i) {
4039 pSetLayouts[i] = src.pSetLayouts[i];
4040 }
4041 }
4042
4043 return *this;
4044}
4045
4046safe_VkDescriptorSetAllocateInfo::~safe_VkDescriptorSetAllocateInfo()
4047{
4048 if (pSetLayouts)
4049 delete[] pSetLayouts;
4050}
4051
4052void safe_VkDescriptorSetAllocateInfo::initialize(const VkDescriptorSetAllocateInfo* in_struct)
4053{
4054 sType = in_struct->sType;
4055 pNext = in_struct->pNext;
4056 descriptorPool = in_struct->descriptorPool;
4057 descriptorSetCount = in_struct->descriptorSetCount;
4058 pSetLayouts = nullptr;
4059 if (descriptorSetCount && in_struct->pSetLayouts) {
4060 pSetLayouts = new VkDescriptorSetLayout[descriptorSetCount];
4061 for (uint32_t i=0; i<descriptorSetCount; ++i) {
4062 pSetLayouts[i] = in_struct->pSetLayouts[i];
4063 }
4064 }
4065}
4066
4067void safe_VkDescriptorSetAllocateInfo::initialize(const safe_VkDescriptorSetAllocateInfo* src)
4068{
4069 sType = src->sType;
4070 pNext = src->pNext;
4071 descriptorPool = src->descriptorPool;
4072 descriptorSetCount = src->descriptorSetCount;
4073 pSetLayouts = nullptr;
4074 if (descriptorSetCount && src->pSetLayouts) {
4075 pSetLayouts = new VkDescriptorSetLayout[descriptorSetCount];
4076 for (uint32_t i=0; i<descriptorSetCount; ++i) {
4077 pSetLayouts[i] = src->pSetLayouts[i];
4078 }
4079 }
4080}
4081
4082safe_VkWriteDescriptorSet::safe_VkWriteDescriptorSet(const VkWriteDescriptorSet* in_struct) :
4083 sType(in_struct->sType),
4084 pNext(in_struct->pNext),
4085 dstSet(in_struct->dstSet),
4086 dstBinding(in_struct->dstBinding),
4087 dstArrayElement(in_struct->dstArrayElement),
4088 descriptorCount(in_struct->descriptorCount),
4089 descriptorType(in_struct->descriptorType),
4090 pImageInfo(nullptr),
4091 pBufferInfo(nullptr),
4092 pTexelBufferView(nullptr)
4093{
4094 switch (descriptorType) {
4095 case VK_DESCRIPTOR_TYPE_SAMPLER:
4096 case VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER:
4097 case VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE:
4098 case VK_DESCRIPTOR_TYPE_STORAGE_IMAGE:
4099 case VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT:
4100 if (descriptorCount && in_struct->pImageInfo) {
4101 pImageInfo = new VkDescriptorImageInfo[descriptorCount];
4102 for (uint32_t i=0; i<descriptorCount; ++i) {
4103 pImageInfo[i] = in_struct->pImageInfo[i];
4104 }
4105 }
4106 break;
4107 case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER:
4108 case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER:
4109 case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC:
4110 case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC:
4111 if (descriptorCount && in_struct->pBufferInfo) {
4112 pBufferInfo = new VkDescriptorBufferInfo[descriptorCount];
4113 for (uint32_t i=0; i<descriptorCount; ++i) {
4114 pBufferInfo[i] = in_struct->pBufferInfo[i];
4115 }
4116 }
4117 break;
4118 case VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER:
4119 case VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER:
4120 if (descriptorCount && in_struct->pTexelBufferView) {
4121 pTexelBufferView = new VkBufferView[descriptorCount];
4122 for (uint32_t i=0; i<descriptorCount; ++i) {
4123 pTexelBufferView[i] = in_struct->pTexelBufferView[i];
4124 }
4125 }
4126 break;
4127 default:
4128 break;
4129 }
4130}
4131
4132safe_VkWriteDescriptorSet::safe_VkWriteDescriptorSet() :
4133 pImageInfo(nullptr),
4134 pBufferInfo(nullptr),
4135 pTexelBufferView(nullptr)
4136{}
4137
4138safe_VkWriteDescriptorSet::safe_VkWriteDescriptorSet(const safe_VkWriteDescriptorSet& src)
4139{
4140 sType = src.sType;
4141 pNext = src.pNext;
4142 dstSet = src.dstSet;
4143 dstBinding = src.dstBinding;
4144 dstArrayElement = src.dstArrayElement;
4145 descriptorCount = src.descriptorCount;
4146 descriptorType = src.descriptorType;
4147 pImageInfo = nullptr;
4148 pBufferInfo = nullptr;
4149 pTexelBufferView = nullptr;
4150 switch (descriptorType) {
4151 case VK_DESCRIPTOR_TYPE_SAMPLER:
4152 case VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER:
4153 case VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE:
4154 case VK_DESCRIPTOR_TYPE_STORAGE_IMAGE:
4155 case VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT:
4156 if (descriptorCount && src.pImageInfo) {
4157 pImageInfo = new VkDescriptorImageInfo[descriptorCount];
4158 for (uint32_t i=0; i<descriptorCount; ++i) {
4159 pImageInfo[i] = src.pImageInfo[i];
4160 }
4161 }
4162 break;
4163 case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER:
4164 case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER:
4165 case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC:
4166 case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC:
4167 if (descriptorCount && src.pBufferInfo) {
4168 pBufferInfo = new VkDescriptorBufferInfo[descriptorCount];
4169 for (uint32_t i=0; i<descriptorCount; ++i) {
4170 pBufferInfo[i] = src.pBufferInfo[i];
4171 }
4172 }
4173 break;
4174 case VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER:
4175 case VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER:
4176 if (descriptorCount && src.pTexelBufferView) {
4177 pTexelBufferView = new VkBufferView[descriptorCount];
4178 for (uint32_t i=0; i<descriptorCount; ++i) {
4179 pTexelBufferView[i] = src.pTexelBufferView[i];
4180 }
4181 }
4182 break;
4183 default:
4184 break;
4185 }
4186}
4187
4188safe_VkWriteDescriptorSet& safe_VkWriteDescriptorSet::operator=(const safe_VkWriteDescriptorSet& src)
4189{
4190 if (&src == this) return *this;
4191
4192 if (pImageInfo)
4193 delete[] pImageInfo;
4194 if (pBufferInfo)
4195 delete[] pBufferInfo;
4196 if (pTexelBufferView)
4197 delete[] pTexelBufferView;
4198
4199 sType = src.sType;
4200 pNext = src.pNext;
4201 dstSet = src.dstSet;
4202 dstBinding = src.dstBinding;
4203 dstArrayElement = src.dstArrayElement;
4204 descriptorCount = src.descriptorCount;
4205 descriptorType = src.descriptorType;
4206 pImageInfo = nullptr;
4207 pBufferInfo = nullptr;
4208 pTexelBufferView = nullptr;
4209 switch (descriptorType) {
4210 case VK_DESCRIPTOR_TYPE_SAMPLER:
4211 case VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER:
4212 case VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE:
4213 case VK_DESCRIPTOR_TYPE_STORAGE_IMAGE:
4214 case VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT:
4215 if (descriptorCount && src.pImageInfo) {
4216 pImageInfo = new VkDescriptorImageInfo[descriptorCount];
4217 for (uint32_t i=0; i<descriptorCount; ++i) {
4218 pImageInfo[i] = src.pImageInfo[i];
4219 }
4220 }
4221 break;
4222 case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER:
4223 case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER:
4224 case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC:
4225 case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC:
4226 if (descriptorCount && src.pBufferInfo) {
4227 pBufferInfo = new VkDescriptorBufferInfo[descriptorCount];
4228 for (uint32_t i=0; i<descriptorCount; ++i) {
4229 pBufferInfo[i] = src.pBufferInfo[i];
4230 }
4231 }
4232 break;
4233 case VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER:
4234 case VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER:
4235 if (descriptorCount && src.pTexelBufferView) {
4236 pTexelBufferView = new VkBufferView[descriptorCount];
4237 for (uint32_t i=0; i<descriptorCount; ++i) {
4238 pTexelBufferView[i] = src.pTexelBufferView[i];
4239 }
4240 }
4241 break;
4242 default:
4243 break;
4244 }
4245
4246 return *this;
4247}
4248
4249safe_VkWriteDescriptorSet::~safe_VkWriteDescriptorSet()
4250{
4251 if (pImageInfo)
4252 delete[] pImageInfo;
4253 if (pBufferInfo)
4254 delete[] pBufferInfo;
4255 if (pTexelBufferView)
4256 delete[] pTexelBufferView;
4257}
4258
4259void safe_VkWriteDescriptorSet::initialize(const VkWriteDescriptorSet* in_struct)
4260{
4261 sType = in_struct->sType;
4262 pNext = in_struct->pNext;
4263 dstSet = in_struct->dstSet;
4264 dstBinding = in_struct->dstBinding;
4265 dstArrayElement = in_struct->dstArrayElement;
4266 descriptorCount = in_struct->descriptorCount;
4267 descriptorType = in_struct->descriptorType;
4268 pImageInfo = nullptr;
4269 pBufferInfo = nullptr;
4270 pTexelBufferView = nullptr;
4271 switch (descriptorType) {
4272 case VK_DESCRIPTOR_TYPE_SAMPLER:
4273 case VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER:
4274 case VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE:
4275 case VK_DESCRIPTOR_TYPE_STORAGE_IMAGE:
4276 case VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT:
4277 if (descriptorCount && in_struct->pImageInfo) {
4278 pImageInfo = new VkDescriptorImageInfo[descriptorCount];
4279 for (uint32_t i=0; i<descriptorCount; ++i) {
4280 pImageInfo[i] = in_struct->pImageInfo[i];
4281 }
4282 }
4283 break;
4284 case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER:
4285 case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER:
4286 case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC:
4287 case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC:
4288 if (descriptorCount && in_struct->pBufferInfo) {
4289 pBufferInfo = new VkDescriptorBufferInfo[descriptorCount];
4290 for (uint32_t i=0; i<descriptorCount; ++i) {
4291 pBufferInfo[i] = in_struct->pBufferInfo[i];
4292 }
4293 }
4294 break;
4295 case VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER:
4296 case VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER:
4297 if (descriptorCount && in_struct->pTexelBufferView) {
4298 pTexelBufferView = new VkBufferView[descriptorCount];
4299 for (uint32_t i=0; i<descriptorCount; ++i) {
4300 pTexelBufferView[i] = in_struct->pTexelBufferView[i];
4301 }
4302 }
4303 break;
4304 default:
4305 break;
4306 }
4307}
4308
4309void safe_VkWriteDescriptorSet::initialize(const safe_VkWriteDescriptorSet* src)
4310{
4311 sType = src->sType;
4312 pNext = src->pNext;
4313 dstSet = src->dstSet;
4314 dstBinding = src->dstBinding;
4315 dstArrayElement = src->dstArrayElement;
4316 descriptorCount = src->descriptorCount;
4317 descriptorType = src->descriptorType;
4318 pImageInfo = nullptr;
4319 pBufferInfo = nullptr;
4320 pTexelBufferView = nullptr;
4321 switch (descriptorType) {
4322 case VK_DESCRIPTOR_TYPE_SAMPLER:
4323 case VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER:
4324 case VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE:
4325 case VK_DESCRIPTOR_TYPE_STORAGE_IMAGE:
4326 case VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT:
4327 if (descriptorCount && src->pImageInfo) {
4328 pImageInfo = new VkDescriptorImageInfo[descriptorCount];
4329 for (uint32_t i=0; i<descriptorCount; ++i) {
4330 pImageInfo[i] = src->pImageInfo[i];
4331 }
4332 }
4333 break;
4334 case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER:
4335 case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER:
4336 case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC:
4337 case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC:
4338 if (descriptorCount && src->pBufferInfo) {
4339 pBufferInfo = new VkDescriptorBufferInfo[descriptorCount];
4340 for (uint32_t i=0; i<descriptorCount; ++i) {
4341 pBufferInfo[i] = src->pBufferInfo[i];
4342 }
4343 }
4344 break;
4345 case VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER:
4346 case VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER:
4347 if (descriptorCount && src->pTexelBufferView) {
4348 pTexelBufferView = new VkBufferView[descriptorCount];
4349 for (uint32_t i=0; i<descriptorCount; ++i) {
4350 pTexelBufferView[i] = src->pTexelBufferView[i];
4351 }
4352 }
4353 break;
4354 default:
4355 break;
4356 }
4357}
4358
4359safe_VkCopyDescriptorSet::safe_VkCopyDescriptorSet(const VkCopyDescriptorSet* in_struct) :
4360 sType(in_struct->sType),
4361 pNext(in_struct->pNext),
4362 srcSet(in_struct->srcSet),
4363 srcBinding(in_struct->srcBinding),
4364 srcArrayElement(in_struct->srcArrayElement),
4365 dstSet(in_struct->dstSet),
4366 dstBinding(in_struct->dstBinding),
4367 dstArrayElement(in_struct->dstArrayElement),
4368 descriptorCount(in_struct->descriptorCount)
4369{
4370}
4371
4372safe_VkCopyDescriptorSet::safe_VkCopyDescriptorSet()
4373{}
4374
4375safe_VkCopyDescriptorSet::safe_VkCopyDescriptorSet(const safe_VkCopyDescriptorSet& src)
4376{
4377 sType = src.sType;
4378 pNext = src.pNext;
4379 srcSet = src.srcSet;
4380 srcBinding = src.srcBinding;
4381 srcArrayElement = src.srcArrayElement;
4382 dstSet = src.dstSet;
4383 dstBinding = src.dstBinding;
4384 dstArrayElement = src.dstArrayElement;
4385 descriptorCount = src.descriptorCount;
4386}
4387
4388safe_VkCopyDescriptorSet& safe_VkCopyDescriptorSet::operator=(const safe_VkCopyDescriptorSet& src)
4389{
4390 if (&src == this) return *this;
4391
4392
4393 sType = src.sType;
4394 pNext = src.pNext;
4395 srcSet = src.srcSet;
4396 srcBinding = src.srcBinding;
4397 srcArrayElement = src.srcArrayElement;
4398 dstSet = src.dstSet;
4399 dstBinding = src.dstBinding;
4400 dstArrayElement = src.dstArrayElement;
4401 descriptorCount = src.descriptorCount;
4402
4403 return *this;
4404}
4405
4406safe_VkCopyDescriptorSet::~safe_VkCopyDescriptorSet()
4407{
4408}
4409
4410void safe_VkCopyDescriptorSet::initialize(const VkCopyDescriptorSet* in_struct)
4411{
4412 sType = in_struct->sType;
4413 pNext = in_struct->pNext;
4414 srcSet = in_struct->srcSet;
4415 srcBinding = in_struct->srcBinding;
4416 srcArrayElement = in_struct->srcArrayElement;
4417 dstSet = in_struct->dstSet;
4418 dstBinding = in_struct->dstBinding;
4419 dstArrayElement = in_struct->dstArrayElement;
4420 descriptorCount = in_struct->descriptorCount;
4421}
4422
4423void safe_VkCopyDescriptorSet::initialize(const safe_VkCopyDescriptorSet* src)
4424{
4425 sType = src->sType;
4426 pNext = src->pNext;
4427 srcSet = src->srcSet;
4428 srcBinding = src->srcBinding;
4429 srcArrayElement = src->srcArrayElement;
4430 dstSet = src->dstSet;
4431 dstBinding = src->dstBinding;
4432 dstArrayElement = src->dstArrayElement;
4433 descriptorCount = src->descriptorCount;
4434}
4435
4436safe_VkFramebufferCreateInfo::safe_VkFramebufferCreateInfo(const VkFramebufferCreateInfo* in_struct) :
4437 sType(in_struct->sType),
4438 pNext(in_struct->pNext),
4439 flags(in_struct->flags),
4440 renderPass(in_struct->renderPass),
4441 attachmentCount(in_struct->attachmentCount),
4442 pAttachments(nullptr),
4443 width(in_struct->width),
4444 height(in_struct->height),
4445 layers(in_struct->layers)
4446{
4447 if (attachmentCount && in_struct->pAttachments) {
4448 pAttachments = new VkImageView[attachmentCount];
4449 for (uint32_t i=0; i<attachmentCount; ++i) {
4450 pAttachments[i] = in_struct->pAttachments[i];
4451 }
4452 }
4453}
4454
4455safe_VkFramebufferCreateInfo::safe_VkFramebufferCreateInfo() :
4456 pAttachments(nullptr)
4457{}
4458
4459safe_VkFramebufferCreateInfo::safe_VkFramebufferCreateInfo(const safe_VkFramebufferCreateInfo& src)
4460{
4461 sType = src.sType;
4462 pNext = src.pNext;
4463 flags = src.flags;
4464 renderPass = src.renderPass;
4465 attachmentCount = src.attachmentCount;
4466 pAttachments = nullptr;
4467 width = src.width;
4468 height = src.height;
4469 layers = src.layers;
4470 if (attachmentCount && src.pAttachments) {
4471 pAttachments = new VkImageView[attachmentCount];
4472 for (uint32_t i=0; i<attachmentCount; ++i) {
4473 pAttachments[i] = src.pAttachments[i];
4474 }
4475 }
4476}
4477
4478safe_VkFramebufferCreateInfo& safe_VkFramebufferCreateInfo::operator=(const safe_VkFramebufferCreateInfo& src)
4479{
4480 if (&src == this) return *this;
4481
4482 if (pAttachments)
4483 delete[] pAttachments;
4484
4485 sType = src.sType;
4486 pNext = src.pNext;
4487 flags = src.flags;
4488 renderPass = src.renderPass;
4489 attachmentCount = src.attachmentCount;
4490 pAttachments = nullptr;
4491 width = src.width;
4492 height = src.height;
4493 layers = src.layers;
4494 if (attachmentCount && src.pAttachments) {
4495 pAttachments = new VkImageView[attachmentCount];
4496 for (uint32_t i=0; i<attachmentCount; ++i) {
4497 pAttachments[i] = src.pAttachments[i];
4498 }
4499 }
4500
4501 return *this;
4502}
4503
4504safe_VkFramebufferCreateInfo::~safe_VkFramebufferCreateInfo()
4505{
4506 if (pAttachments)
4507 delete[] pAttachments;
4508}
4509
4510void safe_VkFramebufferCreateInfo::initialize(const VkFramebufferCreateInfo* in_struct)
4511{
4512 sType = in_struct->sType;
4513 pNext = in_struct->pNext;
4514 flags = in_struct->flags;
4515 renderPass = in_struct->renderPass;
4516 attachmentCount = in_struct->attachmentCount;
4517 pAttachments = nullptr;
4518 width = in_struct->width;
4519 height = in_struct->height;
4520 layers = in_struct->layers;
4521 if (attachmentCount && in_struct->pAttachments) {
4522 pAttachments = new VkImageView[attachmentCount];
4523 for (uint32_t i=0; i<attachmentCount; ++i) {
4524 pAttachments[i] = in_struct->pAttachments[i];
4525 }
4526 }
4527}
4528
4529void safe_VkFramebufferCreateInfo::initialize(const safe_VkFramebufferCreateInfo* src)
4530{
4531 sType = src->sType;
4532 pNext = src->pNext;
4533 flags = src->flags;
4534 renderPass = src->renderPass;
4535 attachmentCount = src->attachmentCount;
4536 pAttachments = nullptr;
4537 width = src->width;
4538 height = src->height;
4539 layers = src->layers;
4540 if (attachmentCount && src->pAttachments) {
4541 pAttachments = new VkImageView[attachmentCount];
4542 for (uint32_t i=0; i<attachmentCount; ++i) {
4543 pAttachments[i] = src->pAttachments[i];
4544 }
4545 }
4546}
4547
4548safe_VkSubpassDescription::safe_VkSubpassDescription(const VkSubpassDescription* in_struct) :
4549 flags(in_struct->flags),
4550 pipelineBindPoint(in_struct->pipelineBindPoint),
4551 inputAttachmentCount(in_struct->inputAttachmentCount),
4552 pInputAttachments(nullptr),
4553 colorAttachmentCount(in_struct->colorAttachmentCount),
4554 pColorAttachments(nullptr),
4555 pResolveAttachments(nullptr),
4556 pDepthStencilAttachment(nullptr),
4557 preserveAttachmentCount(in_struct->preserveAttachmentCount),
4558 pPreserveAttachments(nullptr)
4559{
4560 if (in_struct->pInputAttachments) {
4561 pInputAttachments = new VkAttachmentReference[in_struct->inputAttachmentCount];
4562 memcpy ((void *)pInputAttachments, (void *)in_struct->pInputAttachments, sizeof(VkAttachmentReference)*in_struct->inputAttachmentCount);
4563 }
4564 if (in_struct->pColorAttachments) {
4565 pColorAttachments = new VkAttachmentReference[in_struct->colorAttachmentCount];
4566 memcpy ((void *)pColorAttachments, (void *)in_struct->pColorAttachments, sizeof(VkAttachmentReference)*in_struct->colorAttachmentCount);
4567 }
4568 if (in_struct->pResolveAttachments) {
4569 pResolveAttachments = new VkAttachmentReference[in_struct->colorAttachmentCount];
4570 memcpy ((void *)pResolveAttachments, (void *)in_struct->pResolveAttachments, sizeof(VkAttachmentReference)*in_struct->colorAttachmentCount);
4571 }
4572 if (in_struct->pDepthStencilAttachment) {
4573 pDepthStencilAttachment = new VkAttachmentReference(*in_struct->pDepthStencilAttachment);
4574 }
4575 if (in_struct->pPreserveAttachments) {
4576 pPreserveAttachments = new uint32_t[in_struct->preserveAttachmentCount];
4577 memcpy ((void *)pPreserveAttachments, (void *)in_struct->pPreserveAttachments, sizeof(uint32_t)*in_struct->preserveAttachmentCount);
4578 }
4579}
4580
4581safe_VkSubpassDescription::safe_VkSubpassDescription() :
4582 pInputAttachments(nullptr),
4583 pColorAttachments(nullptr),
4584 pResolveAttachments(nullptr),
4585 pDepthStencilAttachment(nullptr),
4586 pPreserveAttachments(nullptr)
4587{}
4588
4589safe_VkSubpassDescription::safe_VkSubpassDescription(const safe_VkSubpassDescription& src)
4590{
4591 flags = src.flags;
4592 pipelineBindPoint = src.pipelineBindPoint;
4593 inputAttachmentCount = src.inputAttachmentCount;
4594 pInputAttachments = nullptr;
4595 colorAttachmentCount = src.colorAttachmentCount;
4596 pColorAttachments = nullptr;
4597 pResolveAttachments = nullptr;
4598 pDepthStencilAttachment = nullptr;
4599 preserveAttachmentCount = src.preserveAttachmentCount;
4600 pPreserveAttachments = nullptr;
4601 if (src.pInputAttachments) {
4602 pInputAttachments = new VkAttachmentReference[src.inputAttachmentCount];
4603 memcpy ((void *)pInputAttachments, (void *)src.pInputAttachments, sizeof(VkAttachmentReference)*src.inputAttachmentCount);
4604 }
4605 if (src.pColorAttachments) {
4606 pColorAttachments = new VkAttachmentReference[src.colorAttachmentCount];
4607 memcpy ((void *)pColorAttachments, (void *)src.pColorAttachments, sizeof(VkAttachmentReference)*src.colorAttachmentCount);
4608 }
4609 if (src.pResolveAttachments) {
4610 pResolveAttachments = new VkAttachmentReference[src.colorAttachmentCount];
4611 memcpy ((void *)pResolveAttachments, (void *)src.pResolveAttachments, sizeof(VkAttachmentReference)*src.colorAttachmentCount);
4612 }
4613 if (src.pDepthStencilAttachment) {
4614 pDepthStencilAttachment = new VkAttachmentReference(*src.pDepthStencilAttachment);
4615 }
4616 if (src.pPreserveAttachments) {
4617 pPreserveAttachments = new uint32_t[src.preserveAttachmentCount];
4618 memcpy ((void *)pPreserveAttachments, (void *)src.pPreserveAttachments, sizeof(uint32_t)*src.preserveAttachmentCount);
4619 }
4620}
4621
4622safe_VkSubpassDescription& safe_VkSubpassDescription::operator=(const safe_VkSubpassDescription& src)
4623{
4624 if (&src == this) return *this;
4625
4626 if (pInputAttachments)
4627 delete[] pInputAttachments;
4628 if (pColorAttachments)
4629 delete[] pColorAttachments;
4630 if (pResolveAttachments)
4631 delete[] pResolveAttachments;
4632 if (pDepthStencilAttachment)
4633 delete pDepthStencilAttachment;
4634 if (pPreserveAttachments)
4635 delete[] pPreserveAttachments;
4636
4637 flags = src.flags;
4638 pipelineBindPoint = src.pipelineBindPoint;
4639 inputAttachmentCount = src.inputAttachmentCount;
4640 pInputAttachments = nullptr;
4641 colorAttachmentCount = src.colorAttachmentCount;
4642 pColorAttachments = nullptr;
4643 pResolveAttachments = nullptr;
4644 pDepthStencilAttachment = nullptr;
4645 preserveAttachmentCount = src.preserveAttachmentCount;
4646 pPreserveAttachments = nullptr;
4647 if (src.pInputAttachments) {
4648 pInputAttachments = new VkAttachmentReference[src.inputAttachmentCount];
4649 memcpy ((void *)pInputAttachments, (void *)src.pInputAttachments, sizeof(VkAttachmentReference)*src.inputAttachmentCount);
4650 }
4651 if (src.pColorAttachments) {
4652 pColorAttachments = new VkAttachmentReference[src.colorAttachmentCount];
4653 memcpy ((void *)pColorAttachments, (void *)src.pColorAttachments, sizeof(VkAttachmentReference)*src.colorAttachmentCount);
4654 }
4655 if (src.pResolveAttachments) {
4656 pResolveAttachments = new VkAttachmentReference[src.colorAttachmentCount];
4657 memcpy ((void *)pResolveAttachments, (void *)src.pResolveAttachments, sizeof(VkAttachmentReference)*src.colorAttachmentCount);
4658 }
4659 if (src.pDepthStencilAttachment) {
4660 pDepthStencilAttachment = new VkAttachmentReference(*src.pDepthStencilAttachment);
4661 }
4662 if (src.pPreserveAttachments) {
4663 pPreserveAttachments = new uint32_t[src.preserveAttachmentCount];
4664 memcpy ((void *)pPreserveAttachments, (void *)src.pPreserveAttachments, sizeof(uint32_t)*src.preserveAttachmentCount);
4665 }
4666
4667 return *this;
4668}
4669
4670safe_VkSubpassDescription::~safe_VkSubpassDescription()
4671{
4672 if (pInputAttachments)
4673 delete[] pInputAttachments;
4674 if (pColorAttachments)
4675 delete[] pColorAttachments;
4676 if (pResolveAttachments)
4677 delete[] pResolveAttachments;
4678 if (pDepthStencilAttachment)
4679 delete pDepthStencilAttachment;
4680 if (pPreserveAttachments)
4681 delete[] pPreserveAttachments;
4682}
4683
4684void safe_VkSubpassDescription::initialize(const VkSubpassDescription* in_struct)
4685{
4686 flags = in_struct->flags;
4687 pipelineBindPoint = in_struct->pipelineBindPoint;
4688 inputAttachmentCount = in_struct->inputAttachmentCount;
4689 pInputAttachments = nullptr;
4690 colorAttachmentCount = in_struct->colorAttachmentCount;
4691 pColorAttachments = nullptr;
4692 pResolveAttachments = nullptr;
4693 pDepthStencilAttachment = nullptr;
4694 preserveAttachmentCount = in_struct->preserveAttachmentCount;
4695 pPreserveAttachments = nullptr;
4696 if (in_struct->pInputAttachments) {
4697 pInputAttachments = new VkAttachmentReference[in_struct->inputAttachmentCount];
4698 memcpy ((void *)pInputAttachments, (void *)in_struct->pInputAttachments, sizeof(VkAttachmentReference)*in_struct->inputAttachmentCount);
4699 }
4700 if (in_struct->pColorAttachments) {
4701 pColorAttachments = new VkAttachmentReference[in_struct->colorAttachmentCount];
4702 memcpy ((void *)pColorAttachments, (void *)in_struct->pColorAttachments, sizeof(VkAttachmentReference)*in_struct->colorAttachmentCount);
4703 }
4704 if (in_struct->pResolveAttachments) {
4705 pResolveAttachments = new VkAttachmentReference[in_struct->colorAttachmentCount];
4706 memcpy ((void *)pResolveAttachments, (void *)in_struct->pResolveAttachments, sizeof(VkAttachmentReference)*in_struct->colorAttachmentCount);
4707 }
4708 if (in_struct->pDepthStencilAttachment) {
4709 pDepthStencilAttachment = new VkAttachmentReference(*in_struct->pDepthStencilAttachment);
4710 }
4711 if (in_struct->pPreserveAttachments) {
4712 pPreserveAttachments = new uint32_t[in_struct->preserveAttachmentCount];
4713 memcpy ((void *)pPreserveAttachments, (void *)in_struct->pPreserveAttachments, sizeof(uint32_t)*in_struct->preserveAttachmentCount);
4714 }
4715}
4716
4717void safe_VkSubpassDescription::initialize(const safe_VkSubpassDescription* src)
4718{
4719 flags = src->flags;
4720 pipelineBindPoint = src->pipelineBindPoint;
4721 inputAttachmentCount = src->inputAttachmentCount;
4722 pInputAttachments = nullptr;
4723 colorAttachmentCount = src->colorAttachmentCount;
4724 pColorAttachments = nullptr;
4725 pResolveAttachments = nullptr;
4726 pDepthStencilAttachment = nullptr;
4727 preserveAttachmentCount = src->preserveAttachmentCount;
4728 pPreserveAttachments = nullptr;
4729 if (src->pInputAttachments) {
4730 pInputAttachments = new VkAttachmentReference[src->inputAttachmentCount];
4731 memcpy ((void *)pInputAttachments, (void *)src->pInputAttachments, sizeof(VkAttachmentReference)*src->inputAttachmentCount);
4732 }
4733 if (src->pColorAttachments) {
4734 pColorAttachments = new VkAttachmentReference[src->colorAttachmentCount];
4735 memcpy ((void *)pColorAttachments, (void *)src->pColorAttachments, sizeof(VkAttachmentReference)*src->colorAttachmentCount);
4736 }
4737 if (src->pResolveAttachments) {
4738 pResolveAttachments = new VkAttachmentReference[src->colorAttachmentCount];
4739 memcpy ((void *)pResolveAttachments, (void *)src->pResolveAttachments, sizeof(VkAttachmentReference)*src->colorAttachmentCount);
4740 }
4741 if (src->pDepthStencilAttachment) {
4742 pDepthStencilAttachment = new VkAttachmentReference(*src->pDepthStencilAttachment);
4743 }
4744 if (src->pPreserveAttachments) {
4745 pPreserveAttachments = new uint32_t[src->preserveAttachmentCount];
4746 memcpy ((void *)pPreserveAttachments, (void *)src->pPreserveAttachments, sizeof(uint32_t)*src->preserveAttachmentCount);
4747 }
4748}
4749
4750safe_VkRenderPassCreateInfo::safe_VkRenderPassCreateInfo(const VkRenderPassCreateInfo* in_struct) :
4751 sType(in_struct->sType),
4752 pNext(in_struct->pNext),
4753 flags(in_struct->flags),
4754 attachmentCount(in_struct->attachmentCount),
4755 pAttachments(nullptr),
4756 subpassCount(in_struct->subpassCount),
4757 pSubpasses(nullptr),
4758 dependencyCount(in_struct->dependencyCount),
4759 pDependencies(nullptr)
4760{
4761 if (in_struct->pAttachments) {
4762 pAttachments = new VkAttachmentDescription[in_struct->attachmentCount];
4763 memcpy ((void *)pAttachments, (void *)in_struct->pAttachments, sizeof(VkAttachmentDescription)*in_struct->attachmentCount);
4764 }
4765 if (subpassCount && in_struct->pSubpasses) {
4766 pSubpasses = new safe_VkSubpassDescription[subpassCount];
4767 for (uint32_t i=0; i<subpassCount; ++i) {
4768 pSubpasses[i].initialize(&in_struct->pSubpasses[i]);
4769 }
4770 }
4771 if (in_struct->pDependencies) {
4772 pDependencies = new VkSubpassDependency[in_struct->dependencyCount];
4773 memcpy ((void *)pDependencies, (void *)in_struct->pDependencies, sizeof(VkSubpassDependency)*in_struct->dependencyCount);
4774 }
4775}
4776
4777safe_VkRenderPassCreateInfo::safe_VkRenderPassCreateInfo() :
4778 pAttachments(nullptr),
4779 pSubpasses(nullptr),
4780 pDependencies(nullptr)
4781{}
4782
4783safe_VkRenderPassCreateInfo::safe_VkRenderPassCreateInfo(const safe_VkRenderPassCreateInfo& src)
4784{
4785 sType = src.sType;
4786 pNext = src.pNext;
4787 flags = src.flags;
4788 attachmentCount = src.attachmentCount;
4789 pAttachments = nullptr;
4790 subpassCount = src.subpassCount;
4791 pSubpasses = nullptr;
4792 dependencyCount = src.dependencyCount;
4793 pDependencies = nullptr;
4794 if (src.pAttachments) {
4795 pAttachments = new VkAttachmentDescription[src.attachmentCount];
4796 memcpy ((void *)pAttachments, (void *)src.pAttachments, sizeof(VkAttachmentDescription)*src.attachmentCount);
4797 }
4798 if (subpassCount && src.pSubpasses) {
4799 pSubpasses = new safe_VkSubpassDescription[subpassCount];
4800 for (uint32_t i=0; i<subpassCount; ++i) {
4801 pSubpasses[i].initialize(&src.pSubpasses[i]);
4802 }
4803 }
4804 if (src.pDependencies) {
4805 pDependencies = new VkSubpassDependency[src.dependencyCount];
4806 memcpy ((void *)pDependencies, (void *)src.pDependencies, sizeof(VkSubpassDependency)*src.dependencyCount);
4807 }
4808}
4809
4810safe_VkRenderPassCreateInfo& safe_VkRenderPassCreateInfo::operator=(const safe_VkRenderPassCreateInfo& src)
4811{
4812 if (&src == this) return *this;
4813
4814 if (pAttachments)
4815 delete[] pAttachments;
4816 if (pSubpasses)
4817 delete[] pSubpasses;
4818 if (pDependencies)
4819 delete[] pDependencies;
4820
4821 sType = src.sType;
4822 pNext = src.pNext;
4823 flags = src.flags;
4824 attachmentCount = src.attachmentCount;
4825 pAttachments = nullptr;
4826 subpassCount = src.subpassCount;
4827 pSubpasses = nullptr;
4828 dependencyCount = src.dependencyCount;
4829 pDependencies = nullptr;
4830 if (src.pAttachments) {
4831 pAttachments = new VkAttachmentDescription[src.attachmentCount];
4832 memcpy ((void *)pAttachments, (void *)src.pAttachments, sizeof(VkAttachmentDescription)*src.attachmentCount);
4833 }
4834 if (subpassCount && src.pSubpasses) {
4835 pSubpasses = new safe_VkSubpassDescription[subpassCount];
4836 for (uint32_t i=0; i<subpassCount; ++i) {
4837 pSubpasses[i].initialize(&src.pSubpasses[i]);
4838 }
4839 }
4840 if (src.pDependencies) {
4841 pDependencies = new VkSubpassDependency[src.dependencyCount];
4842 memcpy ((void *)pDependencies, (void *)src.pDependencies, sizeof(VkSubpassDependency)*src.dependencyCount);
4843 }
4844
4845 return *this;
4846}
4847
4848safe_VkRenderPassCreateInfo::~safe_VkRenderPassCreateInfo()
4849{
4850 if (pAttachments)
4851 delete[] pAttachments;
4852 if (pSubpasses)
4853 delete[] pSubpasses;
4854 if (pDependencies)
4855 delete[] pDependencies;
4856}
4857
4858void safe_VkRenderPassCreateInfo::initialize(const VkRenderPassCreateInfo* in_struct)
4859{
4860 sType = in_struct->sType;
4861 pNext = in_struct->pNext;
4862 flags = in_struct->flags;
4863 attachmentCount = in_struct->attachmentCount;
4864 pAttachments = nullptr;
4865 subpassCount = in_struct->subpassCount;
4866 pSubpasses = nullptr;
4867 dependencyCount = in_struct->dependencyCount;
4868 pDependencies = nullptr;
4869 if (in_struct->pAttachments) {
4870 pAttachments = new VkAttachmentDescription[in_struct->attachmentCount];
4871 memcpy ((void *)pAttachments, (void *)in_struct->pAttachments, sizeof(VkAttachmentDescription)*in_struct->attachmentCount);
4872 }
4873 if (subpassCount && in_struct->pSubpasses) {
4874 pSubpasses = new safe_VkSubpassDescription[subpassCount];
4875 for (uint32_t i=0; i<subpassCount; ++i) {
4876 pSubpasses[i].initialize(&in_struct->pSubpasses[i]);
4877 }
4878 }
4879 if (in_struct->pDependencies) {
4880 pDependencies = new VkSubpassDependency[in_struct->dependencyCount];
4881 memcpy ((void *)pDependencies, (void *)in_struct->pDependencies, sizeof(VkSubpassDependency)*in_struct->dependencyCount);
4882 }
4883}
4884
4885void safe_VkRenderPassCreateInfo::initialize(const safe_VkRenderPassCreateInfo* src)
4886{
4887 sType = src->sType;
4888 pNext = src->pNext;
4889 flags = src->flags;
4890 attachmentCount = src->attachmentCount;
4891 pAttachments = nullptr;
4892 subpassCount = src->subpassCount;
4893 pSubpasses = nullptr;
4894 dependencyCount = src->dependencyCount;
4895 pDependencies = nullptr;
4896 if (src->pAttachments) {
4897 pAttachments = new VkAttachmentDescription[src->attachmentCount];
4898 memcpy ((void *)pAttachments, (void *)src->pAttachments, sizeof(VkAttachmentDescription)*src->attachmentCount);
4899 }
4900 if (subpassCount && src->pSubpasses) {
4901 pSubpasses = new safe_VkSubpassDescription[subpassCount];
4902 for (uint32_t i=0; i<subpassCount; ++i) {
4903 pSubpasses[i].initialize(&src->pSubpasses[i]);
4904 }
4905 }
4906 if (src->pDependencies) {
4907 pDependencies = new VkSubpassDependency[src->dependencyCount];
4908 memcpy ((void *)pDependencies, (void *)src->pDependencies, sizeof(VkSubpassDependency)*src->dependencyCount);
4909 }
4910}
4911
4912safe_VkCommandPoolCreateInfo::safe_VkCommandPoolCreateInfo(const VkCommandPoolCreateInfo* in_struct) :
4913 sType(in_struct->sType),
4914 pNext(in_struct->pNext),
4915 flags(in_struct->flags),
4916 queueFamilyIndex(in_struct->queueFamilyIndex)
4917{
4918}
4919
4920safe_VkCommandPoolCreateInfo::safe_VkCommandPoolCreateInfo()
4921{}
4922
4923safe_VkCommandPoolCreateInfo::safe_VkCommandPoolCreateInfo(const safe_VkCommandPoolCreateInfo& src)
4924{
4925 sType = src.sType;
4926 pNext = src.pNext;
4927 flags = src.flags;
4928 queueFamilyIndex = src.queueFamilyIndex;
4929}
4930
4931safe_VkCommandPoolCreateInfo& safe_VkCommandPoolCreateInfo::operator=(const safe_VkCommandPoolCreateInfo& src)
4932{
4933 if (&src == this) return *this;
4934
4935
4936 sType = src.sType;
4937 pNext = src.pNext;
4938 flags = src.flags;
4939 queueFamilyIndex = src.queueFamilyIndex;
4940
4941 return *this;
4942}
4943
4944safe_VkCommandPoolCreateInfo::~safe_VkCommandPoolCreateInfo()
4945{
4946}
4947
4948void safe_VkCommandPoolCreateInfo::initialize(const VkCommandPoolCreateInfo* in_struct)
4949{
4950 sType = in_struct->sType;
4951 pNext = in_struct->pNext;
4952 flags = in_struct->flags;
4953 queueFamilyIndex = in_struct->queueFamilyIndex;
4954}
4955
4956void safe_VkCommandPoolCreateInfo::initialize(const safe_VkCommandPoolCreateInfo* src)
4957{
4958 sType = src->sType;
4959 pNext = src->pNext;
4960 flags = src->flags;
4961 queueFamilyIndex = src->queueFamilyIndex;
4962}
4963
4964safe_VkCommandBufferAllocateInfo::safe_VkCommandBufferAllocateInfo(const VkCommandBufferAllocateInfo* in_struct) :
4965 sType(in_struct->sType),
4966 pNext(in_struct->pNext),
4967 commandPool(in_struct->commandPool),
4968 level(in_struct->level),
4969 commandBufferCount(in_struct->commandBufferCount)
4970{
4971}
4972
4973safe_VkCommandBufferAllocateInfo::safe_VkCommandBufferAllocateInfo()
4974{}
4975
4976safe_VkCommandBufferAllocateInfo::safe_VkCommandBufferAllocateInfo(const safe_VkCommandBufferAllocateInfo& src)
4977{
4978 sType = src.sType;
4979 pNext = src.pNext;
4980 commandPool = src.commandPool;
4981 level = src.level;
4982 commandBufferCount = src.commandBufferCount;
4983}
4984
4985safe_VkCommandBufferAllocateInfo& safe_VkCommandBufferAllocateInfo::operator=(const safe_VkCommandBufferAllocateInfo& src)
4986{
4987 if (&src == this) return *this;
4988
4989
4990 sType = src.sType;
4991 pNext = src.pNext;
4992 commandPool = src.commandPool;
4993 level = src.level;
4994 commandBufferCount = src.commandBufferCount;
4995
4996 return *this;
4997}
4998
4999safe_VkCommandBufferAllocateInfo::~safe_VkCommandBufferAllocateInfo()
5000{
5001}
5002
5003void safe_VkCommandBufferAllocateInfo::initialize(const VkCommandBufferAllocateInfo* in_struct)
5004{
5005 sType = in_struct->sType;
5006 pNext = in_struct->pNext;
5007 commandPool = in_struct->commandPool;
5008 level = in_struct->level;
5009 commandBufferCount = in_struct->commandBufferCount;
5010}
5011
5012void safe_VkCommandBufferAllocateInfo::initialize(const safe_VkCommandBufferAllocateInfo* src)
5013{
5014 sType = src->sType;
5015 pNext = src->pNext;
5016 commandPool = src->commandPool;
5017 level = src->level;
5018 commandBufferCount = src->commandBufferCount;
5019}
5020
5021safe_VkCommandBufferInheritanceInfo::safe_VkCommandBufferInheritanceInfo(const VkCommandBufferInheritanceInfo* in_struct) :
5022 sType(in_struct->sType),
5023 pNext(in_struct->pNext),
5024 renderPass(in_struct->renderPass),
5025 subpass(in_struct->subpass),
5026 framebuffer(in_struct->framebuffer),
5027 occlusionQueryEnable(in_struct->occlusionQueryEnable),
5028 queryFlags(in_struct->queryFlags),
5029 pipelineStatistics(in_struct->pipelineStatistics)
5030{
5031}
5032
5033safe_VkCommandBufferInheritanceInfo::safe_VkCommandBufferInheritanceInfo()
5034{}
5035
5036safe_VkCommandBufferInheritanceInfo::safe_VkCommandBufferInheritanceInfo(const safe_VkCommandBufferInheritanceInfo& src)
5037{
5038 sType = src.sType;
5039 pNext = src.pNext;
5040 renderPass = src.renderPass;
5041 subpass = src.subpass;
5042 framebuffer = src.framebuffer;
5043 occlusionQueryEnable = src.occlusionQueryEnable;
5044 queryFlags = src.queryFlags;
5045 pipelineStatistics = src.pipelineStatistics;
5046}
5047
5048safe_VkCommandBufferInheritanceInfo& safe_VkCommandBufferInheritanceInfo::operator=(const safe_VkCommandBufferInheritanceInfo& src)
5049{
5050 if (&src == this) return *this;
5051
5052
5053 sType = src.sType;
5054 pNext = src.pNext;
5055 renderPass = src.renderPass;
5056 subpass = src.subpass;
5057 framebuffer = src.framebuffer;
5058 occlusionQueryEnable = src.occlusionQueryEnable;
5059 queryFlags = src.queryFlags;
5060 pipelineStatistics = src.pipelineStatistics;
5061
5062 return *this;
5063}
5064
5065safe_VkCommandBufferInheritanceInfo::~safe_VkCommandBufferInheritanceInfo()
5066{
5067}
5068
5069void safe_VkCommandBufferInheritanceInfo::initialize(const VkCommandBufferInheritanceInfo* in_struct)
5070{
5071 sType = in_struct->sType;
5072 pNext = in_struct->pNext;
5073 renderPass = in_struct->renderPass;
5074 subpass = in_struct->subpass;
5075 framebuffer = in_struct->framebuffer;
5076 occlusionQueryEnable = in_struct->occlusionQueryEnable;
5077 queryFlags = in_struct->queryFlags;
5078 pipelineStatistics = in_struct->pipelineStatistics;
5079}
5080
5081void safe_VkCommandBufferInheritanceInfo::initialize(const safe_VkCommandBufferInheritanceInfo* src)
5082{
5083 sType = src->sType;
5084 pNext = src->pNext;
5085 renderPass = src->renderPass;
5086 subpass = src->subpass;
5087 framebuffer = src->framebuffer;
5088 occlusionQueryEnable = src->occlusionQueryEnable;
5089 queryFlags = src->queryFlags;
5090 pipelineStatistics = src->pipelineStatistics;
5091}
5092
5093safe_VkCommandBufferBeginInfo::safe_VkCommandBufferBeginInfo(const VkCommandBufferBeginInfo* in_struct) :
5094 sType(in_struct->sType),
5095 pNext(in_struct->pNext),
5096 flags(in_struct->flags)
5097{
5098 if (in_struct->pInheritanceInfo)
5099 pInheritanceInfo = new safe_VkCommandBufferInheritanceInfo(in_struct->pInheritanceInfo);
5100 else
5101 pInheritanceInfo = NULL;
5102}
5103
5104safe_VkCommandBufferBeginInfo::safe_VkCommandBufferBeginInfo()
5105{}
5106
5107safe_VkCommandBufferBeginInfo::safe_VkCommandBufferBeginInfo(const safe_VkCommandBufferBeginInfo& src)
5108{
5109 sType = src.sType;
5110 pNext = src.pNext;
5111 flags = src.flags;
5112 if (src.pInheritanceInfo)
5113 pInheritanceInfo = new safe_VkCommandBufferInheritanceInfo(*src.pInheritanceInfo);
5114 else
5115 pInheritanceInfo = NULL;
5116}
5117
5118safe_VkCommandBufferBeginInfo& safe_VkCommandBufferBeginInfo::operator=(const safe_VkCommandBufferBeginInfo& src)
5119{
5120 if (&src == this) return *this;
5121
5122 if (pInheritanceInfo)
5123 delete pInheritanceInfo;
5124
5125 sType = src.sType;
5126 pNext = src.pNext;
5127 flags = src.flags;
5128 if (src.pInheritanceInfo)
5129 pInheritanceInfo = new safe_VkCommandBufferInheritanceInfo(*src.pInheritanceInfo);
5130 else
5131 pInheritanceInfo = NULL;
5132
5133 return *this;
5134}
5135
5136safe_VkCommandBufferBeginInfo::~safe_VkCommandBufferBeginInfo()
5137{
5138 if (pInheritanceInfo)
5139 delete pInheritanceInfo;
5140}
5141
5142void safe_VkCommandBufferBeginInfo::initialize(const VkCommandBufferBeginInfo* in_struct)
5143{
5144 sType = in_struct->sType;
5145 pNext = in_struct->pNext;
5146 flags = in_struct->flags;
5147 if (in_struct->pInheritanceInfo)
5148 pInheritanceInfo = new safe_VkCommandBufferInheritanceInfo(in_struct->pInheritanceInfo);
5149 else
5150 pInheritanceInfo = NULL;
5151}
5152
5153void safe_VkCommandBufferBeginInfo::initialize(const safe_VkCommandBufferBeginInfo* src)
5154{
5155 sType = src->sType;
5156 pNext = src->pNext;
5157 flags = src->flags;
5158 if (src->pInheritanceInfo)
5159 pInheritanceInfo = new safe_VkCommandBufferInheritanceInfo(*src->pInheritanceInfo);
5160 else
5161 pInheritanceInfo = NULL;
5162}
5163
5164safe_VkMemoryBarrier::safe_VkMemoryBarrier(const VkMemoryBarrier* in_struct) :
5165 sType(in_struct->sType),
5166 pNext(in_struct->pNext),
5167 srcAccessMask(in_struct->srcAccessMask),
5168 dstAccessMask(in_struct->dstAccessMask)
5169{
5170}
5171
5172safe_VkMemoryBarrier::safe_VkMemoryBarrier()
5173{}
5174
5175safe_VkMemoryBarrier::safe_VkMemoryBarrier(const safe_VkMemoryBarrier& src)
5176{
5177 sType = src.sType;
5178 pNext = src.pNext;
5179 srcAccessMask = src.srcAccessMask;
5180 dstAccessMask = src.dstAccessMask;
5181}
5182
5183safe_VkMemoryBarrier& safe_VkMemoryBarrier::operator=(const safe_VkMemoryBarrier& src)
5184{
5185 if (&src == this) return *this;
5186
5187
5188 sType = src.sType;
5189 pNext = src.pNext;
5190 srcAccessMask = src.srcAccessMask;
5191 dstAccessMask = src.dstAccessMask;
5192
5193 return *this;
5194}
5195
5196safe_VkMemoryBarrier::~safe_VkMemoryBarrier()
5197{
5198}
5199
5200void safe_VkMemoryBarrier::initialize(const VkMemoryBarrier* in_struct)
5201{
5202 sType = in_struct->sType;
5203 pNext = in_struct->pNext;
5204 srcAccessMask = in_struct->srcAccessMask;
5205 dstAccessMask = in_struct->dstAccessMask;
5206}
5207
5208void safe_VkMemoryBarrier::initialize(const safe_VkMemoryBarrier* src)
5209{
5210 sType = src->sType;
5211 pNext = src->pNext;
5212 srcAccessMask = src->srcAccessMask;
5213 dstAccessMask = src->dstAccessMask;
5214}
5215
5216safe_VkBufferMemoryBarrier::safe_VkBufferMemoryBarrier(const VkBufferMemoryBarrier* in_struct) :
5217 sType(in_struct->sType),
5218 pNext(in_struct->pNext),
5219 srcAccessMask(in_struct->srcAccessMask),
5220 dstAccessMask(in_struct->dstAccessMask),
5221 srcQueueFamilyIndex(in_struct->srcQueueFamilyIndex),
5222 dstQueueFamilyIndex(in_struct->dstQueueFamilyIndex),
5223 buffer(in_struct->buffer),
5224 offset(in_struct->offset),
5225 size(in_struct->size)
5226{
5227}
5228
5229safe_VkBufferMemoryBarrier::safe_VkBufferMemoryBarrier()
5230{}
5231
5232safe_VkBufferMemoryBarrier::safe_VkBufferMemoryBarrier(const safe_VkBufferMemoryBarrier& src)
5233{
5234 sType = src.sType;
5235 pNext = src.pNext;
5236 srcAccessMask = src.srcAccessMask;
5237 dstAccessMask = src.dstAccessMask;
5238 srcQueueFamilyIndex = src.srcQueueFamilyIndex;
5239 dstQueueFamilyIndex = src.dstQueueFamilyIndex;
5240 buffer = src.buffer;
5241 offset = src.offset;
5242 size = src.size;
5243}
5244
5245safe_VkBufferMemoryBarrier& safe_VkBufferMemoryBarrier::operator=(const safe_VkBufferMemoryBarrier& src)
5246{
5247 if (&src == this) return *this;
5248
5249
5250 sType = src.sType;
5251 pNext = src.pNext;
5252 srcAccessMask = src.srcAccessMask;
5253 dstAccessMask = src.dstAccessMask;
5254 srcQueueFamilyIndex = src.srcQueueFamilyIndex;
5255 dstQueueFamilyIndex = src.dstQueueFamilyIndex;
5256 buffer = src.buffer;
5257 offset = src.offset;
5258 size = src.size;
5259
5260 return *this;
5261}
5262
5263safe_VkBufferMemoryBarrier::~safe_VkBufferMemoryBarrier()
5264{
5265}
5266
5267void safe_VkBufferMemoryBarrier::initialize(const VkBufferMemoryBarrier* in_struct)
5268{
5269 sType = in_struct->sType;
5270 pNext = in_struct->pNext;
5271 srcAccessMask = in_struct->srcAccessMask;
5272 dstAccessMask = in_struct->dstAccessMask;
5273 srcQueueFamilyIndex = in_struct->srcQueueFamilyIndex;
5274 dstQueueFamilyIndex = in_struct->dstQueueFamilyIndex;
5275 buffer = in_struct->buffer;
5276 offset = in_struct->offset;
5277 size = in_struct->size;
5278}
5279
5280void safe_VkBufferMemoryBarrier::initialize(const safe_VkBufferMemoryBarrier* src)
5281{
5282 sType = src->sType;
5283 pNext = src->pNext;
5284 srcAccessMask = src->srcAccessMask;
5285 dstAccessMask = src->dstAccessMask;
5286 srcQueueFamilyIndex = src->srcQueueFamilyIndex;
5287 dstQueueFamilyIndex = src->dstQueueFamilyIndex;
5288 buffer = src->buffer;
5289 offset = src->offset;
5290 size = src->size;
5291}
5292
5293safe_VkImageMemoryBarrier::safe_VkImageMemoryBarrier(const VkImageMemoryBarrier* in_struct) :
5294 sType(in_struct->sType),
5295 pNext(in_struct->pNext),
5296 srcAccessMask(in_struct->srcAccessMask),
5297 dstAccessMask(in_struct->dstAccessMask),
5298 oldLayout(in_struct->oldLayout),
5299 newLayout(in_struct->newLayout),
5300 srcQueueFamilyIndex(in_struct->srcQueueFamilyIndex),
5301 dstQueueFamilyIndex(in_struct->dstQueueFamilyIndex),
5302 image(in_struct->image),
5303 subresourceRange(in_struct->subresourceRange)
5304{
5305}
5306
5307safe_VkImageMemoryBarrier::safe_VkImageMemoryBarrier()
5308{}
5309
5310safe_VkImageMemoryBarrier::safe_VkImageMemoryBarrier(const safe_VkImageMemoryBarrier& src)
5311{
5312 sType = src.sType;
5313 pNext = src.pNext;
5314 srcAccessMask = src.srcAccessMask;
5315 dstAccessMask = src.dstAccessMask;
5316 oldLayout = src.oldLayout;
5317 newLayout = src.newLayout;
5318 srcQueueFamilyIndex = src.srcQueueFamilyIndex;
5319 dstQueueFamilyIndex = src.dstQueueFamilyIndex;
5320 image = src.image;
5321 subresourceRange = src.subresourceRange;
5322}
5323
5324safe_VkImageMemoryBarrier& safe_VkImageMemoryBarrier::operator=(const safe_VkImageMemoryBarrier& src)
5325{
5326 if (&src == this) return *this;
5327
5328
5329 sType = src.sType;
5330 pNext = src.pNext;
5331 srcAccessMask = src.srcAccessMask;
5332 dstAccessMask = src.dstAccessMask;
5333 oldLayout = src.oldLayout;
5334 newLayout = src.newLayout;
5335 srcQueueFamilyIndex = src.srcQueueFamilyIndex;
5336 dstQueueFamilyIndex = src.dstQueueFamilyIndex;
5337 image = src.image;
5338 subresourceRange = src.subresourceRange;
5339
5340 return *this;
5341}
5342
5343safe_VkImageMemoryBarrier::~safe_VkImageMemoryBarrier()
5344{
5345}
5346
5347void safe_VkImageMemoryBarrier::initialize(const VkImageMemoryBarrier* in_struct)
5348{
5349 sType = in_struct->sType;
5350 pNext = in_struct->pNext;
5351 srcAccessMask = in_struct->srcAccessMask;
5352 dstAccessMask = in_struct->dstAccessMask;
5353 oldLayout = in_struct->oldLayout;
5354 newLayout = in_struct->newLayout;
5355 srcQueueFamilyIndex = in_struct->srcQueueFamilyIndex;
5356 dstQueueFamilyIndex = in_struct->dstQueueFamilyIndex;
5357 image = in_struct->image;
5358 subresourceRange = in_struct->subresourceRange;
5359}
5360
5361void safe_VkImageMemoryBarrier::initialize(const safe_VkImageMemoryBarrier* src)
5362{
5363 sType = src->sType;
5364 pNext = src->pNext;
5365 srcAccessMask = src->srcAccessMask;
5366 dstAccessMask = src->dstAccessMask;
5367 oldLayout = src->oldLayout;
5368 newLayout = src->newLayout;
5369 srcQueueFamilyIndex = src->srcQueueFamilyIndex;
5370 dstQueueFamilyIndex = src->dstQueueFamilyIndex;
5371 image = src->image;
5372 subresourceRange = src->subresourceRange;
5373}
5374
5375safe_VkRenderPassBeginInfo::safe_VkRenderPassBeginInfo(const VkRenderPassBeginInfo* in_struct) :
5376 sType(in_struct->sType),
5377 pNext(in_struct->pNext),
5378 renderPass(in_struct->renderPass),
5379 framebuffer(in_struct->framebuffer),
5380 renderArea(in_struct->renderArea),
5381 clearValueCount(in_struct->clearValueCount),
5382 pClearValues(nullptr)
5383{
5384 if (in_struct->pClearValues) {
5385 pClearValues = new VkClearValue[in_struct->clearValueCount];
5386 memcpy ((void *)pClearValues, (void *)in_struct->pClearValues, sizeof(VkClearValue)*in_struct->clearValueCount);
5387 }
5388}
5389
5390safe_VkRenderPassBeginInfo::safe_VkRenderPassBeginInfo() :
5391 pClearValues(nullptr)
5392{}
5393
5394safe_VkRenderPassBeginInfo::safe_VkRenderPassBeginInfo(const safe_VkRenderPassBeginInfo& src)
5395{
5396 sType = src.sType;
5397 pNext = src.pNext;
5398 renderPass = src.renderPass;
5399 framebuffer = src.framebuffer;
5400 renderArea = src.renderArea;
5401 clearValueCount = src.clearValueCount;
5402 pClearValues = nullptr;
5403 if (src.pClearValues) {
5404 pClearValues = new VkClearValue[src.clearValueCount];
5405 memcpy ((void *)pClearValues, (void *)src.pClearValues, sizeof(VkClearValue)*src.clearValueCount);
5406 }
5407}
5408
5409safe_VkRenderPassBeginInfo& safe_VkRenderPassBeginInfo::operator=(const safe_VkRenderPassBeginInfo& src)
5410{
5411 if (&src == this) return *this;
5412
5413 if (pClearValues)
5414 delete[] pClearValues;
5415
5416 sType = src.sType;
5417 pNext = src.pNext;
5418 renderPass = src.renderPass;
5419 framebuffer = src.framebuffer;
5420 renderArea = src.renderArea;
5421 clearValueCount = src.clearValueCount;
5422 pClearValues = nullptr;
5423 if (src.pClearValues) {
5424 pClearValues = new VkClearValue[src.clearValueCount];
5425 memcpy ((void *)pClearValues, (void *)src.pClearValues, sizeof(VkClearValue)*src.clearValueCount);
5426 }
5427
5428 return *this;
5429}
5430
5431safe_VkRenderPassBeginInfo::~safe_VkRenderPassBeginInfo()
5432{
5433 if (pClearValues)
5434 delete[] pClearValues;
5435}
5436
5437void safe_VkRenderPassBeginInfo::initialize(const VkRenderPassBeginInfo* in_struct)
5438{
5439 sType = in_struct->sType;
5440 pNext = in_struct->pNext;
5441 renderPass = in_struct->renderPass;
5442 framebuffer = in_struct->framebuffer;
5443 renderArea = in_struct->renderArea;
5444 clearValueCount = in_struct->clearValueCount;
5445 pClearValues = nullptr;
5446 if (in_struct->pClearValues) {
5447 pClearValues = new VkClearValue[in_struct->clearValueCount];
5448 memcpy ((void *)pClearValues, (void *)in_struct->pClearValues, sizeof(VkClearValue)*in_struct->clearValueCount);
5449 }
5450}
5451
5452void safe_VkRenderPassBeginInfo::initialize(const safe_VkRenderPassBeginInfo* src)
5453{
5454 sType = src->sType;
5455 pNext = src->pNext;
5456 renderPass = src->renderPass;
5457 framebuffer = src->framebuffer;
5458 renderArea = src->renderArea;
5459 clearValueCount = src->clearValueCount;
5460 pClearValues = nullptr;
5461 if (src->pClearValues) {
5462 pClearValues = new VkClearValue[src->clearValueCount];
5463 memcpy ((void *)pClearValues, (void *)src->pClearValues, sizeof(VkClearValue)*src->clearValueCount);
5464 }
5465}
5466
5467safe_VkBaseOutStructure::safe_VkBaseOutStructure(const VkBaseOutStructure* in_struct) :
5468 sType(in_struct->sType)
5469{
5470 if (in_struct->pNext)
5471 pNext = new safe_VkBaseOutStructure(in_struct->pNext);
5472 else
5473 pNext = NULL;
5474}
5475
5476safe_VkBaseOutStructure::safe_VkBaseOutStructure()
5477{}
5478
5479safe_VkBaseOutStructure::safe_VkBaseOutStructure(const safe_VkBaseOutStructure& src)
5480{
5481 sType = src.sType;
5482 if (src.pNext)
5483 pNext = new safe_VkBaseOutStructure(*src.pNext);
5484 else
5485 pNext = NULL;
5486}
5487
5488safe_VkBaseOutStructure& safe_VkBaseOutStructure::operator=(const safe_VkBaseOutStructure& src)
5489{
5490 if (&src == this) return *this;
5491
5492 if (pNext)
5493 delete pNext;
5494
5495 sType = src.sType;
5496 if (src.pNext)
5497 pNext = new safe_VkBaseOutStructure(*src.pNext);
5498 else
5499 pNext = NULL;
5500
5501 return *this;
5502}
5503
5504safe_VkBaseOutStructure::~safe_VkBaseOutStructure()
5505{
5506 if (pNext)
5507 delete pNext;
5508}
5509
5510void safe_VkBaseOutStructure::initialize(const VkBaseOutStructure* in_struct)
5511{
5512 sType = in_struct->sType;
5513 if (in_struct->pNext)
5514 pNext = new safe_VkBaseOutStructure(in_struct->pNext);
5515 else
5516 pNext = NULL;
5517}
5518
5519void safe_VkBaseOutStructure::initialize(const safe_VkBaseOutStructure* src)
5520{
5521 sType = src->sType;
5522 if (src->pNext)
5523 pNext = new safe_VkBaseOutStructure(*src->pNext);
5524 else
5525 pNext = NULL;
5526}
5527
5528safe_VkBaseInStructure::safe_VkBaseInStructure(const VkBaseInStructure* in_struct) :
5529 sType(in_struct->sType)
5530{
5531 if (in_struct->pNext)
5532 pNext = new safe_VkBaseInStructure(in_struct->pNext);
5533 else
5534 pNext = NULL;
5535}
5536
5537safe_VkBaseInStructure::safe_VkBaseInStructure()
5538{}
5539
5540safe_VkBaseInStructure::safe_VkBaseInStructure(const safe_VkBaseInStructure& src)
5541{
5542 sType = src.sType;
5543 if (src.pNext)
5544 pNext = new safe_VkBaseInStructure(*src.pNext);
5545 else
5546 pNext = NULL;
5547}
5548
5549safe_VkBaseInStructure& safe_VkBaseInStructure::operator=(const safe_VkBaseInStructure& src)
5550{
5551 if (&src == this) return *this;
5552
5553 if (pNext)
5554 delete pNext;
5555
5556 sType = src.sType;
5557 if (src.pNext)
5558 pNext = new safe_VkBaseInStructure(*src.pNext);
5559 else
5560 pNext = NULL;
5561
5562 return *this;
5563}
5564
5565safe_VkBaseInStructure::~safe_VkBaseInStructure()
5566{
5567 if (pNext)
5568 delete pNext;
5569}
5570
5571void safe_VkBaseInStructure::initialize(const VkBaseInStructure* in_struct)
5572{
5573 sType = in_struct->sType;
5574 if (in_struct->pNext)
5575 pNext = new safe_VkBaseInStructure(in_struct->pNext);
5576 else
5577 pNext = NULL;
5578}
5579
5580void safe_VkBaseInStructure::initialize(const safe_VkBaseInStructure* src)
5581{
5582 sType = src->sType;
5583 if (src->pNext)
5584 pNext = new safe_VkBaseInStructure(*src->pNext);
5585 else
5586 pNext = NULL;
5587}
5588
5589safe_VkPhysicalDeviceSubgroupProperties::safe_VkPhysicalDeviceSubgroupProperties(const VkPhysicalDeviceSubgroupProperties* in_struct) :
5590 sType(in_struct->sType),
5591 pNext(in_struct->pNext),
5592 subgroupSize(in_struct->subgroupSize),
5593 supportedStages(in_struct->supportedStages),
5594 supportedOperations(in_struct->supportedOperations),
5595 quadOperationsInAllStages(in_struct->quadOperationsInAllStages)
5596{
5597}
5598
5599safe_VkPhysicalDeviceSubgroupProperties::safe_VkPhysicalDeviceSubgroupProperties()
5600{}
5601
5602safe_VkPhysicalDeviceSubgroupProperties::safe_VkPhysicalDeviceSubgroupProperties(const safe_VkPhysicalDeviceSubgroupProperties& src)
5603{
5604 sType = src.sType;
5605 pNext = src.pNext;
5606 subgroupSize = src.subgroupSize;
5607 supportedStages = src.supportedStages;
5608 supportedOperations = src.supportedOperations;
5609 quadOperationsInAllStages = src.quadOperationsInAllStages;
5610}
5611
5612safe_VkPhysicalDeviceSubgroupProperties& safe_VkPhysicalDeviceSubgroupProperties::operator=(const safe_VkPhysicalDeviceSubgroupProperties& src)
5613{
5614 if (&src == this) return *this;
5615
5616
5617 sType = src.sType;
5618 pNext = src.pNext;
5619 subgroupSize = src.subgroupSize;
5620 supportedStages = src.supportedStages;
5621 supportedOperations = src.supportedOperations;
5622 quadOperationsInAllStages = src.quadOperationsInAllStages;
5623
5624 return *this;
5625}
5626
5627safe_VkPhysicalDeviceSubgroupProperties::~safe_VkPhysicalDeviceSubgroupProperties()
5628{
5629}
5630
5631void safe_VkPhysicalDeviceSubgroupProperties::initialize(const VkPhysicalDeviceSubgroupProperties* in_struct)
5632{
5633 sType = in_struct->sType;
5634 pNext = in_struct->pNext;
5635 subgroupSize = in_struct->subgroupSize;
5636 supportedStages = in_struct->supportedStages;
5637 supportedOperations = in_struct->supportedOperations;
5638 quadOperationsInAllStages = in_struct->quadOperationsInAllStages;
5639}
5640
5641void safe_VkPhysicalDeviceSubgroupProperties::initialize(const safe_VkPhysicalDeviceSubgroupProperties* src)
5642{
5643 sType = src->sType;
5644 pNext = src->pNext;
5645 subgroupSize = src->subgroupSize;
5646 supportedStages = src->supportedStages;
5647 supportedOperations = src->supportedOperations;
5648 quadOperationsInAllStages = src->quadOperationsInAllStages;
5649}
5650
5651safe_VkBindBufferMemoryInfo::safe_VkBindBufferMemoryInfo(const VkBindBufferMemoryInfo* in_struct) :
5652 sType(in_struct->sType),
5653 pNext(in_struct->pNext),
5654 buffer(in_struct->buffer),
5655 memory(in_struct->memory),
5656 memoryOffset(in_struct->memoryOffset)
5657{
5658}
5659
5660safe_VkBindBufferMemoryInfo::safe_VkBindBufferMemoryInfo()
5661{}
5662
5663safe_VkBindBufferMemoryInfo::safe_VkBindBufferMemoryInfo(const safe_VkBindBufferMemoryInfo& src)
5664{
5665 sType = src.sType;
5666 pNext = src.pNext;
5667 buffer = src.buffer;
5668 memory = src.memory;
5669 memoryOffset = src.memoryOffset;
5670}
5671
5672safe_VkBindBufferMemoryInfo& safe_VkBindBufferMemoryInfo::operator=(const safe_VkBindBufferMemoryInfo& src)
5673{
5674 if (&src == this) return *this;
5675
5676
5677 sType = src.sType;
5678 pNext = src.pNext;
5679 buffer = src.buffer;
5680 memory = src.memory;
5681 memoryOffset = src.memoryOffset;
5682
5683 return *this;
5684}
5685
5686safe_VkBindBufferMemoryInfo::~safe_VkBindBufferMemoryInfo()
5687{
5688}
5689
5690void safe_VkBindBufferMemoryInfo::initialize(const VkBindBufferMemoryInfo* in_struct)
5691{
5692 sType = in_struct->sType;
5693 pNext = in_struct->pNext;
5694 buffer = in_struct->buffer;
5695 memory = in_struct->memory;
5696 memoryOffset = in_struct->memoryOffset;
5697}
5698
5699void safe_VkBindBufferMemoryInfo::initialize(const safe_VkBindBufferMemoryInfo* src)
5700{
5701 sType = src->sType;
5702 pNext = src->pNext;
5703 buffer = src->buffer;
5704 memory = src->memory;
5705 memoryOffset = src->memoryOffset;
5706}
5707
5708safe_VkBindImageMemoryInfo::safe_VkBindImageMemoryInfo(const VkBindImageMemoryInfo* in_struct) :
5709 sType(in_struct->sType),
5710 pNext(in_struct->pNext),
5711 image(in_struct->image),
5712 memory(in_struct->memory),
5713 memoryOffset(in_struct->memoryOffset)
5714{
5715}
5716
5717safe_VkBindImageMemoryInfo::safe_VkBindImageMemoryInfo()
5718{}
5719
5720safe_VkBindImageMemoryInfo::safe_VkBindImageMemoryInfo(const safe_VkBindImageMemoryInfo& src)
5721{
5722 sType = src.sType;
5723 pNext = src.pNext;
5724 image = src.image;
5725 memory = src.memory;
5726 memoryOffset = src.memoryOffset;
5727}
5728
5729safe_VkBindImageMemoryInfo& safe_VkBindImageMemoryInfo::operator=(const safe_VkBindImageMemoryInfo& src)
5730{
5731 if (&src == this) return *this;
5732
5733
5734 sType = src.sType;
5735 pNext = src.pNext;
5736 image = src.image;
5737 memory = src.memory;
5738 memoryOffset = src.memoryOffset;
5739
5740 return *this;
5741}
5742
5743safe_VkBindImageMemoryInfo::~safe_VkBindImageMemoryInfo()
5744{
5745}
5746
5747void safe_VkBindImageMemoryInfo::initialize(const VkBindImageMemoryInfo* in_struct)
5748{
5749 sType = in_struct->sType;
5750 pNext = in_struct->pNext;
5751 image = in_struct->image;
5752 memory = in_struct->memory;
5753 memoryOffset = in_struct->memoryOffset;
5754}
5755
5756void safe_VkBindImageMemoryInfo::initialize(const safe_VkBindImageMemoryInfo* src)
5757{
5758 sType = src->sType;
5759 pNext = src->pNext;
5760 image = src->image;
5761 memory = src->memory;
5762 memoryOffset = src->memoryOffset;
5763}
5764
5765safe_VkPhysicalDevice16BitStorageFeatures::safe_VkPhysicalDevice16BitStorageFeatures(const VkPhysicalDevice16BitStorageFeatures* in_struct) :
5766 sType(in_struct->sType),
5767 pNext(in_struct->pNext),
5768 storageBuffer16BitAccess(in_struct->storageBuffer16BitAccess),
5769 uniformAndStorageBuffer16BitAccess(in_struct->uniformAndStorageBuffer16BitAccess),
5770 storagePushConstant16(in_struct->storagePushConstant16),
5771 storageInputOutput16(in_struct->storageInputOutput16)
5772{
5773}
5774
5775safe_VkPhysicalDevice16BitStorageFeatures::safe_VkPhysicalDevice16BitStorageFeatures()
5776{}
5777
5778safe_VkPhysicalDevice16BitStorageFeatures::safe_VkPhysicalDevice16BitStorageFeatures(const safe_VkPhysicalDevice16BitStorageFeatures& src)
5779{
5780 sType = src.sType;
5781 pNext = src.pNext;
5782 storageBuffer16BitAccess = src.storageBuffer16BitAccess;
5783 uniformAndStorageBuffer16BitAccess = src.uniformAndStorageBuffer16BitAccess;
5784 storagePushConstant16 = src.storagePushConstant16;
5785 storageInputOutput16 = src.storageInputOutput16;
5786}
5787
5788safe_VkPhysicalDevice16BitStorageFeatures& safe_VkPhysicalDevice16BitStorageFeatures::operator=(const safe_VkPhysicalDevice16BitStorageFeatures& src)
5789{
5790 if (&src == this) return *this;
5791
5792
5793 sType = src.sType;
5794 pNext = src.pNext;
5795 storageBuffer16BitAccess = src.storageBuffer16BitAccess;
5796 uniformAndStorageBuffer16BitAccess = src.uniformAndStorageBuffer16BitAccess;
5797 storagePushConstant16 = src.storagePushConstant16;
5798 storageInputOutput16 = src.storageInputOutput16;
5799
5800 return *this;
5801}
5802
5803safe_VkPhysicalDevice16BitStorageFeatures::~safe_VkPhysicalDevice16BitStorageFeatures()
5804{
5805}
5806
5807void safe_VkPhysicalDevice16BitStorageFeatures::initialize(const VkPhysicalDevice16BitStorageFeatures* in_struct)
5808{
5809 sType = in_struct->sType;
5810 pNext = in_struct->pNext;
5811 storageBuffer16BitAccess = in_struct->storageBuffer16BitAccess;
5812 uniformAndStorageBuffer16BitAccess = in_struct->uniformAndStorageBuffer16BitAccess;
5813 storagePushConstant16 = in_struct->storagePushConstant16;
5814 storageInputOutput16 = in_struct->storageInputOutput16;
5815}
5816
5817void safe_VkPhysicalDevice16BitStorageFeatures::initialize(const safe_VkPhysicalDevice16BitStorageFeatures* src)
5818{
5819 sType = src->sType;
5820 pNext = src->pNext;
5821 storageBuffer16BitAccess = src->storageBuffer16BitAccess;
5822 uniformAndStorageBuffer16BitAccess = src->uniformAndStorageBuffer16BitAccess;
5823 storagePushConstant16 = src->storagePushConstant16;
5824 storageInputOutput16 = src->storageInputOutput16;
5825}
5826
5827safe_VkMemoryDedicatedRequirements::safe_VkMemoryDedicatedRequirements(const VkMemoryDedicatedRequirements* in_struct) :
5828 sType(in_struct->sType),
5829 pNext(in_struct->pNext),
5830 prefersDedicatedAllocation(in_struct->prefersDedicatedAllocation),
5831 requiresDedicatedAllocation(in_struct->requiresDedicatedAllocation)
5832{
5833}
5834
5835safe_VkMemoryDedicatedRequirements::safe_VkMemoryDedicatedRequirements()
5836{}
5837
5838safe_VkMemoryDedicatedRequirements::safe_VkMemoryDedicatedRequirements(const safe_VkMemoryDedicatedRequirements& src)
5839{
5840 sType = src.sType;
5841 pNext = src.pNext;
5842 prefersDedicatedAllocation = src.prefersDedicatedAllocation;
5843 requiresDedicatedAllocation = src.requiresDedicatedAllocation;
5844}
5845
5846safe_VkMemoryDedicatedRequirements& safe_VkMemoryDedicatedRequirements::operator=(const safe_VkMemoryDedicatedRequirements& src)
5847{
5848 if (&src == this) return *this;
5849
5850
5851 sType = src.sType;
5852 pNext = src.pNext;
5853 prefersDedicatedAllocation = src.prefersDedicatedAllocation;
5854 requiresDedicatedAllocation = src.requiresDedicatedAllocation;
5855
5856 return *this;
5857}
5858
5859safe_VkMemoryDedicatedRequirements::~safe_VkMemoryDedicatedRequirements()
5860{
5861}
5862
5863void safe_VkMemoryDedicatedRequirements::initialize(const VkMemoryDedicatedRequirements* in_struct)
5864{
5865 sType = in_struct->sType;
5866 pNext = in_struct->pNext;
5867 prefersDedicatedAllocation = in_struct->prefersDedicatedAllocation;
5868 requiresDedicatedAllocation = in_struct->requiresDedicatedAllocation;
5869}
5870
5871void safe_VkMemoryDedicatedRequirements::initialize(const safe_VkMemoryDedicatedRequirements* src)
5872{
5873 sType = src->sType;
5874 pNext = src->pNext;
5875 prefersDedicatedAllocation = src->prefersDedicatedAllocation;
5876 requiresDedicatedAllocation = src->requiresDedicatedAllocation;
5877}
5878
5879safe_VkMemoryDedicatedAllocateInfo::safe_VkMemoryDedicatedAllocateInfo(const VkMemoryDedicatedAllocateInfo* in_struct) :
5880 sType(in_struct->sType),
5881 pNext(in_struct->pNext),
5882 image(in_struct->image),
5883 buffer(in_struct->buffer)
5884{
5885}
5886
5887safe_VkMemoryDedicatedAllocateInfo::safe_VkMemoryDedicatedAllocateInfo()
5888{}
5889
5890safe_VkMemoryDedicatedAllocateInfo::safe_VkMemoryDedicatedAllocateInfo(const safe_VkMemoryDedicatedAllocateInfo& src)
5891{
5892 sType = src.sType;
5893 pNext = src.pNext;
5894 image = src.image;
5895 buffer = src.buffer;
5896}
5897
5898safe_VkMemoryDedicatedAllocateInfo& safe_VkMemoryDedicatedAllocateInfo::operator=(const safe_VkMemoryDedicatedAllocateInfo& src)
5899{
5900 if (&src == this) return *this;
5901
5902
5903 sType = src.sType;
5904 pNext = src.pNext;
5905 image = src.image;
5906 buffer = src.buffer;
5907
5908 return *this;
5909}
5910
5911safe_VkMemoryDedicatedAllocateInfo::~safe_VkMemoryDedicatedAllocateInfo()
5912{
5913}
5914
5915void safe_VkMemoryDedicatedAllocateInfo::initialize(const VkMemoryDedicatedAllocateInfo* in_struct)
5916{
5917 sType = in_struct->sType;
5918 pNext = in_struct->pNext;
5919 image = in_struct->image;
5920 buffer = in_struct->buffer;
5921}
5922
5923void safe_VkMemoryDedicatedAllocateInfo::initialize(const safe_VkMemoryDedicatedAllocateInfo* src)
5924{
5925 sType = src->sType;
5926 pNext = src->pNext;
5927 image = src->image;
5928 buffer = src->buffer;
5929}
5930
5931safe_VkMemoryAllocateFlagsInfo::safe_VkMemoryAllocateFlagsInfo(const VkMemoryAllocateFlagsInfo* in_struct) :
5932 sType(in_struct->sType),
5933 pNext(in_struct->pNext),
5934 flags(in_struct->flags),
5935 deviceMask(in_struct->deviceMask)
5936{
5937}
5938
5939safe_VkMemoryAllocateFlagsInfo::safe_VkMemoryAllocateFlagsInfo()
5940{}
5941
5942safe_VkMemoryAllocateFlagsInfo::safe_VkMemoryAllocateFlagsInfo(const safe_VkMemoryAllocateFlagsInfo& src)
5943{
5944 sType = src.sType;
5945 pNext = src.pNext;
5946 flags = src.flags;
5947 deviceMask = src.deviceMask;
5948}
5949
5950safe_VkMemoryAllocateFlagsInfo& safe_VkMemoryAllocateFlagsInfo::operator=(const safe_VkMemoryAllocateFlagsInfo& src)
5951{
5952 if (&src == this) return *this;
5953
5954
5955 sType = src.sType;
5956 pNext = src.pNext;
5957 flags = src.flags;
5958 deviceMask = src.deviceMask;
5959
5960 return *this;
5961}
5962
5963safe_VkMemoryAllocateFlagsInfo::~safe_VkMemoryAllocateFlagsInfo()
5964{
5965}
5966
5967void safe_VkMemoryAllocateFlagsInfo::initialize(const VkMemoryAllocateFlagsInfo* in_struct)
5968{
5969 sType = in_struct->sType;
5970 pNext = in_struct->pNext;
5971 flags = in_struct->flags;
5972 deviceMask = in_struct->deviceMask;
5973}
5974
5975void safe_VkMemoryAllocateFlagsInfo::initialize(const safe_VkMemoryAllocateFlagsInfo* src)
5976{
5977 sType = src->sType;
5978 pNext = src->pNext;
5979 flags = src->flags;
5980 deviceMask = src->deviceMask;
5981}
5982
5983safe_VkDeviceGroupRenderPassBeginInfo::safe_VkDeviceGroupRenderPassBeginInfo(const VkDeviceGroupRenderPassBeginInfo* in_struct) :
5984 sType(in_struct->sType),
5985 pNext(in_struct->pNext),
5986 deviceMask(in_struct->deviceMask),
5987 deviceRenderAreaCount(in_struct->deviceRenderAreaCount),
5988 pDeviceRenderAreas(nullptr)
5989{
5990 if (in_struct->pDeviceRenderAreas) {
5991 pDeviceRenderAreas = new VkRect2D[in_struct->deviceRenderAreaCount];
5992 memcpy ((void *)pDeviceRenderAreas, (void *)in_struct->pDeviceRenderAreas, sizeof(VkRect2D)*in_struct->deviceRenderAreaCount);
5993 }
5994}
5995
5996safe_VkDeviceGroupRenderPassBeginInfo::safe_VkDeviceGroupRenderPassBeginInfo() :
5997 pDeviceRenderAreas(nullptr)
5998{}
5999
6000safe_VkDeviceGroupRenderPassBeginInfo::safe_VkDeviceGroupRenderPassBeginInfo(const safe_VkDeviceGroupRenderPassBeginInfo& src)
6001{
6002 sType = src.sType;
6003 pNext = src.pNext;
6004 deviceMask = src.deviceMask;
6005 deviceRenderAreaCount = src.deviceRenderAreaCount;
6006 pDeviceRenderAreas = nullptr;
6007 if (src.pDeviceRenderAreas) {
6008 pDeviceRenderAreas = new VkRect2D[src.deviceRenderAreaCount];
6009 memcpy ((void *)pDeviceRenderAreas, (void *)src.pDeviceRenderAreas, sizeof(VkRect2D)*src.deviceRenderAreaCount);
6010 }
6011}
6012
6013safe_VkDeviceGroupRenderPassBeginInfo& safe_VkDeviceGroupRenderPassBeginInfo::operator=(const safe_VkDeviceGroupRenderPassBeginInfo& src)
6014{
6015 if (&src == this) return *this;
6016
6017 if (pDeviceRenderAreas)
6018 delete[] pDeviceRenderAreas;
6019
6020 sType = src.sType;
6021 pNext = src.pNext;
6022 deviceMask = src.deviceMask;
6023 deviceRenderAreaCount = src.deviceRenderAreaCount;
6024 pDeviceRenderAreas = nullptr;
6025 if (src.pDeviceRenderAreas) {
6026 pDeviceRenderAreas = new VkRect2D[src.deviceRenderAreaCount];
6027 memcpy ((void *)pDeviceRenderAreas, (void *)src.pDeviceRenderAreas, sizeof(VkRect2D)*src.deviceRenderAreaCount);
6028 }
6029
6030 return *this;
6031}
6032
6033safe_VkDeviceGroupRenderPassBeginInfo::~safe_VkDeviceGroupRenderPassBeginInfo()
6034{
6035 if (pDeviceRenderAreas)
6036 delete[] pDeviceRenderAreas;
6037}
6038
6039void safe_VkDeviceGroupRenderPassBeginInfo::initialize(const VkDeviceGroupRenderPassBeginInfo* in_struct)
6040{
6041 sType = in_struct->sType;
6042 pNext = in_struct->pNext;
6043 deviceMask = in_struct->deviceMask;
6044 deviceRenderAreaCount = in_struct->deviceRenderAreaCount;
6045 pDeviceRenderAreas = nullptr;
6046 if (in_struct->pDeviceRenderAreas) {
6047 pDeviceRenderAreas = new VkRect2D[in_struct->deviceRenderAreaCount];
6048 memcpy ((void *)pDeviceRenderAreas, (void *)in_struct->pDeviceRenderAreas, sizeof(VkRect2D)*in_struct->deviceRenderAreaCount);
6049 }
6050}
6051
6052void safe_VkDeviceGroupRenderPassBeginInfo::initialize(const safe_VkDeviceGroupRenderPassBeginInfo* src)
6053{
6054 sType = src->sType;
6055 pNext = src->pNext;
6056 deviceMask = src->deviceMask;
6057 deviceRenderAreaCount = src->deviceRenderAreaCount;
6058 pDeviceRenderAreas = nullptr;
6059 if (src->pDeviceRenderAreas) {
6060 pDeviceRenderAreas = new VkRect2D[src->deviceRenderAreaCount];
6061 memcpy ((void *)pDeviceRenderAreas, (void *)src->pDeviceRenderAreas, sizeof(VkRect2D)*src->deviceRenderAreaCount);
6062 }
6063}
6064
6065safe_VkDeviceGroupCommandBufferBeginInfo::safe_VkDeviceGroupCommandBufferBeginInfo(const VkDeviceGroupCommandBufferBeginInfo* in_struct) :
6066 sType(in_struct->sType),
6067 pNext(in_struct->pNext),
6068 deviceMask(in_struct->deviceMask)
6069{
6070}
6071
6072safe_VkDeviceGroupCommandBufferBeginInfo::safe_VkDeviceGroupCommandBufferBeginInfo()
6073{}
6074
6075safe_VkDeviceGroupCommandBufferBeginInfo::safe_VkDeviceGroupCommandBufferBeginInfo(const safe_VkDeviceGroupCommandBufferBeginInfo& src)
6076{
6077 sType = src.sType;
6078 pNext = src.pNext;
6079 deviceMask = src.deviceMask;
6080}
6081
6082safe_VkDeviceGroupCommandBufferBeginInfo& safe_VkDeviceGroupCommandBufferBeginInfo::operator=(const safe_VkDeviceGroupCommandBufferBeginInfo& src)
6083{
6084 if (&src == this) return *this;
6085
6086
6087 sType = src.sType;
6088 pNext = src.pNext;
6089 deviceMask = src.deviceMask;
6090
6091 return *this;
6092}
6093
6094safe_VkDeviceGroupCommandBufferBeginInfo::~safe_VkDeviceGroupCommandBufferBeginInfo()
6095{
6096}
6097
6098void safe_VkDeviceGroupCommandBufferBeginInfo::initialize(const VkDeviceGroupCommandBufferBeginInfo* in_struct)
6099{
6100 sType = in_struct->sType;
6101 pNext = in_struct->pNext;
6102 deviceMask = in_struct->deviceMask;
6103}
6104
6105void safe_VkDeviceGroupCommandBufferBeginInfo::initialize(const safe_VkDeviceGroupCommandBufferBeginInfo* src)
6106{
6107 sType = src->sType;
6108 pNext = src->pNext;
6109 deviceMask = src->deviceMask;
6110}
6111
6112safe_VkDeviceGroupSubmitInfo::safe_VkDeviceGroupSubmitInfo(const VkDeviceGroupSubmitInfo* in_struct) :
6113 sType(in_struct->sType),
6114 pNext(in_struct->pNext),
6115 waitSemaphoreCount(in_struct->waitSemaphoreCount),
6116 pWaitSemaphoreDeviceIndices(nullptr),
6117 commandBufferCount(in_struct->commandBufferCount),
6118 pCommandBufferDeviceMasks(nullptr),
6119 signalSemaphoreCount(in_struct->signalSemaphoreCount),
6120 pSignalSemaphoreDeviceIndices(nullptr)
6121{
6122 if (in_struct->pWaitSemaphoreDeviceIndices) {
6123 pWaitSemaphoreDeviceIndices = new uint32_t[in_struct->waitSemaphoreCount];
6124 memcpy ((void *)pWaitSemaphoreDeviceIndices, (void *)in_struct->pWaitSemaphoreDeviceIndices, sizeof(uint32_t)*in_struct->waitSemaphoreCount);
6125 }
6126 if (in_struct->pCommandBufferDeviceMasks) {
6127 pCommandBufferDeviceMasks = new uint32_t[in_struct->commandBufferCount];
6128 memcpy ((void *)pCommandBufferDeviceMasks, (void *)in_struct->pCommandBufferDeviceMasks, sizeof(uint32_t)*in_struct->commandBufferCount);
6129 }
6130 if (in_struct->pSignalSemaphoreDeviceIndices) {
6131 pSignalSemaphoreDeviceIndices = new uint32_t[in_struct->signalSemaphoreCount];
6132 memcpy ((void *)pSignalSemaphoreDeviceIndices, (void *)in_struct->pSignalSemaphoreDeviceIndices, sizeof(uint32_t)*in_struct->signalSemaphoreCount);
6133 }
6134}
6135
6136safe_VkDeviceGroupSubmitInfo::safe_VkDeviceGroupSubmitInfo() :
6137 pWaitSemaphoreDeviceIndices(nullptr),
6138 pCommandBufferDeviceMasks(nullptr),
6139 pSignalSemaphoreDeviceIndices(nullptr)
6140{}
6141
6142safe_VkDeviceGroupSubmitInfo::safe_VkDeviceGroupSubmitInfo(const safe_VkDeviceGroupSubmitInfo& src)
6143{
6144 sType = src.sType;
6145 pNext = src.pNext;
6146 waitSemaphoreCount = src.waitSemaphoreCount;
6147 pWaitSemaphoreDeviceIndices = nullptr;
6148 commandBufferCount = src.commandBufferCount;
6149 pCommandBufferDeviceMasks = nullptr;
6150 signalSemaphoreCount = src.signalSemaphoreCount;
6151 pSignalSemaphoreDeviceIndices = nullptr;
6152 if (src.pWaitSemaphoreDeviceIndices) {
6153 pWaitSemaphoreDeviceIndices = new uint32_t[src.waitSemaphoreCount];
6154 memcpy ((void *)pWaitSemaphoreDeviceIndices, (void *)src.pWaitSemaphoreDeviceIndices, sizeof(uint32_t)*src.waitSemaphoreCount);
6155 }
6156 if (src.pCommandBufferDeviceMasks) {
6157 pCommandBufferDeviceMasks = new uint32_t[src.commandBufferCount];
6158 memcpy ((void *)pCommandBufferDeviceMasks, (void *)src.pCommandBufferDeviceMasks, sizeof(uint32_t)*src.commandBufferCount);
6159 }
6160 if (src.pSignalSemaphoreDeviceIndices) {
6161 pSignalSemaphoreDeviceIndices = new uint32_t[src.signalSemaphoreCount];
6162 memcpy ((void *)pSignalSemaphoreDeviceIndices, (void *)src.pSignalSemaphoreDeviceIndices, sizeof(uint32_t)*src.signalSemaphoreCount);
6163 }
6164}
6165
6166safe_VkDeviceGroupSubmitInfo& safe_VkDeviceGroupSubmitInfo::operator=(const safe_VkDeviceGroupSubmitInfo& src)
6167{
6168 if (&src == this) return *this;
6169
6170 if (pWaitSemaphoreDeviceIndices)
6171 delete[] pWaitSemaphoreDeviceIndices;
6172 if (pCommandBufferDeviceMasks)
6173 delete[] pCommandBufferDeviceMasks;
6174 if (pSignalSemaphoreDeviceIndices)
6175 delete[] pSignalSemaphoreDeviceIndices;
6176
6177 sType = src.sType;
6178 pNext = src.pNext;
6179 waitSemaphoreCount = src.waitSemaphoreCount;
6180 pWaitSemaphoreDeviceIndices = nullptr;
6181 commandBufferCount = src.commandBufferCount;
6182 pCommandBufferDeviceMasks = nullptr;
6183 signalSemaphoreCount = src.signalSemaphoreCount;
6184 pSignalSemaphoreDeviceIndices = nullptr;
6185 if (src.pWaitSemaphoreDeviceIndices) {
6186 pWaitSemaphoreDeviceIndices = new uint32_t[src.waitSemaphoreCount];
6187 memcpy ((void *)pWaitSemaphoreDeviceIndices, (void *)src.pWaitSemaphoreDeviceIndices, sizeof(uint32_t)*src.waitSemaphoreCount);
6188 }
6189 if (src.pCommandBufferDeviceMasks) {
6190 pCommandBufferDeviceMasks = new uint32_t[src.commandBufferCount];
6191 memcpy ((void *)pCommandBufferDeviceMasks, (void *)src.pCommandBufferDeviceMasks, sizeof(uint32_t)*src.commandBufferCount);
6192 }
6193 if (src.pSignalSemaphoreDeviceIndices) {
6194 pSignalSemaphoreDeviceIndices = new uint32_t[src.signalSemaphoreCount];
6195 memcpy ((void *)pSignalSemaphoreDeviceIndices, (void *)src.pSignalSemaphoreDeviceIndices, sizeof(uint32_t)*src.signalSemaphoreCount);
6196 }
6197
6198 return *this;
6199}
6200
6201safe_VkDeviceGroupSubmitInfo::~safe_VkDeviceGroupSubmitInfo()
6202{
6203 if (pWaitSemaphoreDeviceIndices)
6204 delete[] pWaitSemaphoreDeviceIndices;
6205 if (pCommandBufferDeviceMasks)
6206 delete[] pCommandBufferDeviceMasks;
6207 if (pSignalSemaphoreDeviceIndices)
6208 delete[] pSignalSemaphoreDeviceIndices;
6209}
6210
6211void safe_VkDeviceGroupSubmitInfo::initialize(const VkDeviceGroupSubmitInfo* in_struct)
6212{
6213 sType = in_struct->sType;
6214 pNext = in_struct->pNext;
6215 waitSemaphoreCount = in_struct->waitSemaphoreCount;
6216 pWaitSemaphoreDeviceIndices = nullptr;
6217 commandBufferCount = in_struct->commandBufferCount;
6218 pCommandBufferDeviceMasks = nullptr;
6219 signalSemaphoreCount = in_struct->signalSemaphoreCount;
6220 pSignalSemaphoreDeviceIndices = nullptr;
6221 if (in_struct->pWaitSemaphoreDeviceIndices) {
6222 pWaitSemaphoreDeviceIndices = new uint32_t[in_struct->waitSemaphoreCount];
6223 memcpy ((void *)pWaitSemaphoreDeviceIndices, (void *)in_struct->pWaitSemaphoreDeviceIndices, sizeof(uint32_t)*in_struct->waitSemaphoreCount);
6224 }
6225 if (in_struct->pCommandBufferDeviceMasks) {
6226 pCommandBufferDeviceMasks = new uint32_t[in_struct->commandBufferCount];
6227 memcpy ((void *)pCommandBufferDeviceMasks, (void *)in_struct->pCommandBufferDeviceMasks, sizeof(uint32_t)*in_struct->commandBufferCount);
6228 }
6229 if (in_struct->pSignalSemaphoreDeviceIndices) {
6230 pSignalSemaphoreDeviceIndices = new uint32_t[in_struct->signalSemaphoreCount];
6231 memcpy ((void *)pSignalSemaphoreDeviceIndices, (void *)in_struct->pSignalSemaphoreDeviceIndices, sizeof(uint32_t)*in_struct->signalSemaphoreCount);
6232 }
6233}
6234
6235void safe_VkDeviceGroupSubmitInfo::initialize(const safe_VkDeviceGroupSubmitInfo* src)
6236{
6237 sType = src->sType;
6238 pNext = src->pNext;
6239 waitSemaphoreCount = src->waitSemaphoreCount;
6240 pWaitSemaphoreDeviceIndices = nullptr;
6241 commandBufferCount = src->commandBufferCount;
6242 pCommandBufferDeviceMasks = nullptr;
6243 signalSemaphoreCount = src->signalSemaphoreCount;
6244 pSignalSemaphoreDeviceIndices = nullptr;
6245 if (src->pWaitSemaphoreDeviceIndices) {
6246 pWaitSemaphoreDeviceIndices = new uint32_t[src->waitSemaphoreCount];
6247 memcpy ((void *)pWaitSemaphoreDeviceIndices, (void *)src->pWaitSemaphoreDeviceIndices, sizeof(uint32_t)*src->waitSemaphoreCount);
6248 }
6249 if (src->pCommandBufferDeviceMasks) {
6250 pCommandBufferDeviceMasks = new uint32_t[src->commandBufferCount];
6251 memcpy ((void *)pCommandBufferDeviceMasks, (void *)src->pCommandBufferDeviceMasks, sizeof(uint32_t)*src->commandBufferCount);
6252 }
6253 if (src->pSignalSemaphoreDeviceIndices) {
6254 pSignalSemaphoreDeviceIndices = new uint32_t[src->signalSemaphoreCount];
6255 memcpy ((void *)pSignalSemaphoreDeviceIndices, (void *)src->pSignalSemaphoreDeviceIndices, sizeof(uint32_t)*src->signalSemaphoreCount);
6256 }
6257}
6258
6259safe_VkDeviceGroupBindSparseInfo::safe_VkDeviceGroupBindSparseInfo(const VkDeviceGroupBindSparseInfo* in_struct) :
6260 sType(in_struct->sType),
6261 pNext(in_struct->pNext),
6262 resourceDeviceIndex(in_struct->resourceDeviceIndex),
6263 memoryDeviceIndex(in_struct->memoryDeviceIndex)
6264{
6265}
6266
6267safe_VkDeviceGroupBindSparseInfo::safe_VkDeviceGroupBindSparseInfo()
6268{}
6269
6270safe_VkDeviceGroupBindSparseInfo::safe_VkDeviceGroupBindSparseInfo(const safe_VkDeviceGroupBindSparseInfo& src)
6271{
6272 sType = src.sType;
6273 pNext = src.pNext;
6274 resourceDeviceIndex = src.resourceDeviceIndex;
6275 memoryDeviceIndex = src.memoryDeviceIndex;
6276}
6277
6278safe_VkDeviceGroupBindSparseInfo& safe_VkDeviceGroupBindSparseInfo::operator=(const safe_VkDeviceGroupBindSparseInfo& src)
6279{
6280 if (&src == this) return *this;
6281
6282
6283 sType = src.sType;
6284 pNext = src.pNext;
6285 resourceDeviceIndex = src.resourceDeviceIndex;
6286 memoryDeviceIndex = src.memoryDeviceIndex;
6287
6288 return *this;
6289}
6290
6291safe_VkDeviceGroupBindSparseInfo::~safe_VkDeviceGroupBindSparseInfo()
6292{
6293}
6294
6295void safe_VkDeviceGroupBindSparseInfo::initialize(const VkDeviceGroupBindSparseInfo* in_struct)
6296{
6297 sType = in_struct->sType;
6298 pNext = in_struct->pNext;
6299 resourceDeviceIndex = in_struct->resourceDeviceIndex;
6300 memoryDeviceIndex = in_struct->memoryDeviceIndex;
6301}
6302
6303void safe_VkDeviceGroupBindSparseInfo::initialize(const safe_VkDeviceGroupBindSparseInfo* src)
6304{
6305 sType = src->sType;
6306 pNext = src->pNext;
6307 resourceDeviceIndex = src->resourceDeviceIndex;
6308 memoryDeviceIndex = src->memoryDeviceIndex;
6309}
6310
6311safe_VkBindBufferMemoryDeviceGroupInfo::safe_VkBindBufferMemoryDeviceGroupInfo(const VkBindBufferMemoryDeviceGroupInfo* in_struct) :
6312 sType(in_struct->sType),
6313 pNext(in_struct->pNext),
6314 deviceIndexCount(in_struct->deviceIndexCount),
6315 pDeviceIndices(nullptr)
6316{
6317 if (in_struct->pDeviceIndices) {
6318 pDeviceIndices = new uint32_t[in_struct->deviceIndexCount];
6319 memcpy ((void *)pDeviceIndices, (void *)in_struct->pDeviceIndices, sizeof(uint32_t)*in_struct->deviceIndexCount);
6320 }
6321}
6322
6323safe_VkBindBufferMemoryDeviceGroupInfo::safe_VkBindBufferMemoryDeviceGroupInfo() :
6324 pDeviceIndices(nullptr)
6325{}
6326
6327safe_VkBindBufferMemoryDeviceGroupInfo::safe_VkBindBufferMemoryDeviceGroupInfo(const safe_VkBindBufferMemoryDeviceGroupInfo& src)
6328{
6329 sType = src.sType;
6330 pNext = src.pNext;
6331 deviceIndexCount = src.deviceIndexCount;
6332 pDeviceIndices = nullptr;
6333 if (src.pDeviceIndices) {
6334 pDeviceIndices = new uint32_t[src.deviceIndexCount];
6335 memcpy ((void *)pDeviceIndices, (void *)src.pDeviceIndices, sizeof(uint32_t)*src.deviceIndexCount);
6336 }
6337}
6338
6339safe_VkBindBufferMemoryDeviceGroupInfo& safe_VkBindBufferMemoryDeviceGroupInfo::operator=(const safe_VkBindBufferMemoryDeviceGroupInfo& src)
6340{
6341 if (&src == this) return *this;
6342
6343 if (pDeviceIndices)
6344 delete[] pDeviceIndices;
6345
6346 sType = src.sType;
6347 pNext = src.pNext;
6348 deviceIndexCount = src.deviceIndexCount;
6349 pDeviceIndices = nullptr;
6350 if (src.pDeviceIndices) {
6351 pDeviceIndices = new uint32_t[src.deviceIndexCount];
6352 memcpy ((void *)pDeviceIndices, (void *)src.pDeviceIndices, sizeof(uint32_t)*src.deviceIndexCount);
6353 }
6354
6355 return *this;
6356}
6357
6358safe_VkBindBufferMemoryDeviceGroupInfo::~safe_VkBindBufferMemoryDeviceGroupInfo()
6359{
6360 if (pDeviceIndices)
6361 delete[] pDeviceIndices;
6362}
6363
6364void safe_VkBindBufferMemoryDeviceGroupInfo::initialize(const VkBindBufferMemoryDeviceGroupInfo* in_struct)
6365{
6366 sType = in_struct->sType;
6367 pNext = in_struct->pNext;
6368 deviceIndexCount = in_struct->deviceIndexCount;
6369 pDeviceIndices = nullptr;
6370 if (in_struct->pDeviceIndices) {
6371 pDeviceIndices = new uint32_t[in_struct->deviceIndexCount];
6372 memcpy ((void *)pDeviceIndices, (void *)in_struct->pDeviceIndices, sizeof(uint32_t)*in_struct->deviceIndexCount);
6373 }
6374}
6375
6376void safe_VkBindBufferMemoryDeviceGroupInfo::initialize(const safe_VkBindBufferMemoryDeviceGroupInfo* src)
6377{
6378 sType = src->sType;
6379 pNext = src->pNext;
6380 deviceIndexCount = src->deviceIndexCount;
6381 pDeviceIndices = nullptr;
6382 if (src->pDeviceIndices) {
6383 pDeviceIndices = new uint32_t[src->deviceIndexCount];
6384 memcpy ((void *)pDeviceIndices, (void *)src->pDeviceIndices, sizeof(uint32_t)*src->deviceIndexCount);
6385 }
6386}
6387
6388safe_VkBindImageMemoryDeviceGroupInfo::safe_VkBindImageMemoryDeviceGroupInfo(const VkBindImageMemoryDeviceGroupInfo* in_struct) :
6389 sType(in_struct->sType),
6390 pNext(in_struct->pNext),
6391 deviceIndexCount(in_struct->deviceIndexCount),
6392 pDeviceIndices(nullptr),
6393 splitInstanceBindRegionCount(in_struct->splitInstanceBindRegionCount),
6394 pSplitInstanceBindRegions(nullptr)
6395{
6396 if (in_struct->pDeviceIndices) {
6397 pDeviceIndices = new uint32_t[in_struct->deviceIndexCount];
6398 memcpy ((void *)pDeviceIndices, (void *)in_struct->pDeviceIndices, sizeof(uint32_t)*in_struct->deviceIndexCount);
6399 }
6400 if (in_struct->pSplitInstanceBindRegions) {
6401 pSplitInstanceBindRegions = new VkRect2D[in_struct->splitInstanceBindRegionCount];
6402 memcpy ((void *)pSplitInstanceBindRegions, (void *)in_struct->pSplitInstanceBindRegions, sizeof(VkRect2D)*in_struct->splitInstanceBindRegionCount);
6403 }
6404}
6405
6406safe_VkBindImageMemoryDeviceGroupInfo::safe_VkBindImageMemoryDeviceGroupInfo() :
6407 pDeviceIndices(nullptr),
6408 pSplitInstanceBindRegions(nullptr)
6409{}
6410
6411safe_VkBindImageMemoryDeviceGroupInfo::safe_VkBindImageMemoryDeviceGroupInfo(const safe_VkBindImageMemoryDeviceGroupInfo& src)
6412{
6413 sType = src.sType;
6414 pNext = src.pNext;
6415 deviceIndexCount = src.deviceIndexCount;
6416 pDeviceIndices = nullptr;
6417 splitInstanceBindRegionCount = src.splitInstanceBindRegionCount;
6418 pSplitInstanceBindRegions = nullptr;
6419 if (src.pDeviceIndices) {
6420 pDeviceIndices = new uint32_t[src.deviceIndexCount];
6421 memcpy ((void *)pDeviceIndices, (void *)src.pDeviceIndices, sizeof(uint32_t)*src.deviceIndexCount);
6422 }
6423 if (src.pSplitInstanceBindRegions) {
6424 pSplitInstanceBindRegions = new VkRect2D[src.splitInstanceBindRegionCount];
6425 memcpy ((void *)pSplitInstanceBindRegions, (void *)src.pSplitInstanceBindRegions, sizeof(VkRect2D)*src.splitInstanceBindRegionCount);
6426 }
6427}
6428
6429safe_VkBindImageMemoryDeviceGroupInfo& safe_VkBindImageMemoryDeviceGroupInfo::operator=(const safe_VkBindImageMemoryDeviceGroupInfo& src)
6430{
6431 if (&src == this) return *this;
6432
6433 if (pDeviceIndices)
6434 delete[] pDeviceIndices;
6435 if (pSplitInstanceBindRegions)
6436 delete[] pSplitInstanceBindRegions;
6437
6438 sType = src.sType;
6439 pNext = src.pNext;
6440 deviceIndexCount = src.deviceIndexCount;
6441 pDeviceIndices = nullptr;
6442 splitInstanceBindRegionCount = src.splitInstanceBindRegionCount;
6443 pSplitInstanceBindRegions = nullptr;
6444 if (src.pDeviceIndices) {
6445 pDeviceIndices = new uint32_t[src.deviceIndexCount];
6446 memcpy ((void *)pDeviceIndices, (void *)src.pDeviceIndices, sizeof(uint32_t)*src.deviceIndexCount);
6447 }
6448 if (src.pSplitInstanceBindRegions) {
6449 pSplitInstanceBindRegions = new VkRect2D[src.splitInstanceBindRegionCount];
6450 memcpy ((void *)pSplitInstanceBindRegions, (void *)src.pSplitInstanceBindRegions, sizeof(VkRect2D)*src.splitInstanceBindRegionCount);
6451 }
6452
6453 return *this;
6454}
6455
6456safe_VkBindImageMemoryDeviceGroupInfo::~safe_VkBindImageMemoryDeviceGroupInfo()
6457{
6458 if (pDeviceIndices)
6459 delete[] pDeviceIndices;
6460 if (pSplitInstanceBindRegions)
6461 delete[] pSplitInstanceBindRegions;
6462}
6463
6464void safe_VkBindImageMemoryDeviceGroupInfo::initialize(const VkBindImageMemoryDeviceGroupInfo* in_struct)
6465{
6466 sType = in_struct->sType;
6467 pNext = in_struct->pNext;
6468 deviceIndexCount = in_struct->deviceIndexCount;
6469 pDeviceIndices = nullptr;
6470 splitInstanceBindRegionCount = in_struct->splitInstanceBindRegionCount;
6471 pSplitInstanceBindRegions = nullptr;
6472 if (in_struct->pDeviceIndices) {
6473 pDeviceIndices = new uint32_t[in_struct->deviceIndexCount];
6474 memcpy ((void *)pDeviceIndices, (void *)in_struct->pDeviceIndices, sizeof(uint32_t)*in_struct->deviceIndexCount);
6475 }
6476 if (in_struct->pSplitInstanceBindRegions) {
6477 pSplitInstanceBindRegions = new VkRect2D[in_struct->splitInstanceBindRegionCount];
6478 memcpy ((void *)pSplitInstanceBindRegions, (void *)in_struct->pSplitInstanceBindRegions, sizeof(VkRect2D)*in_struct->splitInstanceBindRegionCount);
6479 }
6480}
6481
6482void safe_VkBindImageMemoryDeviceGroupInfo::initialize(const safe_VkBindImageMemoryDeviceGroupInfo* src)
6483{
6484 sType = src->sType;
6485 pNext = src->pNext;
6486 deviceIndexCount = src->deviceIndexCount;
6487 pDeviceIndices = nullptr;
6488 splitInstanceBindRegionCount = src->splitInstanceBindRegionCount;
6489 pSplitInstanceBindRegions = nullptr;
6490 if (src->pDeviceIndices) {
6491 pDeviceIndices = new uint32_t[src->deviceIndexCount];
6492 memcpy ((void *)pDeviceIndices, (void *)src->pDeviceIndices, sizeof(uint32_t)*src->deviceIndexCount);
6493 }
6494 if (src->pSplitInstanceBindRegions) {
6495 pSplitInstanceBindRegions = new VkRect2D[src->splitInstanceBindRegionCount];
6496 memcpy ((void *)pSplitInstanceBindRegions, (void *)src->pSplitInstanceBindRegions, sizeof(VkRect2D)*src->splitInstanceBindRegionCount);
6497 }
6498}
6499
6500safe_VkPhysicalDeviceGroupProperties::safe_VkPhysicalDeviceGroupProperties(const VkPhysicalDeviceGroupProperties* in_struct) :
6501 sType(in_struct->sType),
6502 pNext(in_struct->pNext),
6503 physicalDeviceCount(in_struct->physicalDeviceCount),
6504 subsetAllocation(in_struct->subsetAllocation)
6505{
6506 for (uint32_t i=0; i<VK_MAX_DEVICE_GROUP_SIZE; ++i) {
6507 physicalDevices[i] = in_struct->physicalDevices[i];
6508 }
6509}
6510
6511safe_VkPhysicalDeviceGroupProperties::safe_VkPhysicalDeviceGroupProperties()
6512{}
6513
6514safe_VkPhysicalDeviceGroupProperties::safe_VkPhysicalDeviceGroupProperties(const safe_VkPhysicalDeviceGroupProperties& src)
6515{
6516 sType = src.sType;
6517 pNext = src.pNext;
6518 physicalDeviceCount = src.physicalDeviceCount;
6519 subsetAllocation = src.subsetAllocation;
6520 for (uint32_t i=0; i<VK_MAX_DEVICE_GROUP_SIZE; ++i) {
6521 physicalDevices[i] = src.physicalDevices[i];
6522 }
6523}
6524
6525safe_VkPhysicalDeviceGroupProperties& safe_VkPhysicalDeviceGroupProperties::operator=(const safe_VkPhysicalDeviceGroupProperties& src)
6526{
6527 if (&src == this) return *this;
6528
6529
6530 sType = src.sType;
6531 pNext = src.pNext;
6532 physicalDeviceCount = src.physicalDeviceCount;
6533 subsetAllocation = src.subsetAllocation;
6534 for (uint32_t i=0; i<VK_MAX_DEVICE_GROUP_SIZE; ++i) {
6535 physicalDevices[i] = src.physicalDevices[i];
6536 }
6537
6538 return *this;
6539}
6540
6541safe_VkPhysicalDeviceGroupProperties::~safe_VkPhysicalDeviceGroupProperties()
6542{
6543}
6544
6545void safe_VkPhysicalDeviceGroupProperties::initialize(const VkPhysicalDeviceGroupProperties* in_struct)
6546{
6547 sType = in_struct->sType;
6548 pNext = in_struct->pNext;
6549 physicalDeviceCount = in_struct->physicalDeviceCount;
6550 subsetAllocation = in_struct->subsetAllocation;
6551 for (uint32_t i=0; i<VK_MAX_DEVICE_GROUP_SIZE; ++i) {
6552 physicalDevices[i] = in_struct->physicalDevices[i];
6553 }
6554}
6555
6556void safe_VkPhysicalDeviceGroupProperties::initialize(const safe_VkPhysicalDeviceGroupProperties* src)
6557{
6558 sType = src->sType;
6559 pNext = src->pNext;
6560 physicalDeviceCount = src->physicalDeviceCount;
6561 subsetAllocation = src->subsetAllocation;
6562 for (uint32_t i=0; i<VK_MAX_DEVICE_GROUP_SIZE; ++i) {
6563 physicalDevices[i] = src->physicalDevices[i];
6564 }
6565}
6566
6567safe_VkDeviceGroupDeviceCreateInfo::safe_VkDeviceGroupDeviceCreateInfo(const VkDeviceGroupDeviceCreateInfo* in_struct) :
6568 sType(in_struct->sType),
6569 pNext(in_struct->pNext),
6570 physicalDeviceCount(in_struct->physicalDeviceCount),
6571 pPhysicalDevices(nullptr)
6572{
6573 if (in_struct->pPhysicalDevices) {
6574 pPhysicalDevices = new VkPhysicalDevice[in_struct->physicalDeviceCount];
6575 memcpy ((void *)pPhysicalDevices, (void *)in_struct->pPhysicalDevices, sizeof(VkPhysicalDevice)*in_struct->physicalDeviceCount);
6576 }
6577}
6578
6579safe_VkDeviceGroupDeviceCreateInfo::safe_VkDeviceGroupDeviceCreateInfo() :
6580 pPhysicalDevices(nullptr)
6581{}
6582
6583safe_VkDeviceGroupDeviceCreateInfo::safe_VkDeviceGroupDeviceCreateInfo(const safe_VkDeviceGroupDeviceCreateInfo& src)
6584{
6585 sType = src.sType;
6586 pNext = src.pNext;
6587 physicalDeviceCount = src.physicalDeviceCount;
6588 pPhysicalDevices = nullptr;
6589 if (src.pPhysicalDevices) {
6590 pPhysicalDevices = new VkPhysicalDevice[src.physicalDeviceCount];
6591 memcpy ((void *)pPhysicalDevices, (void *)src.pPhysicalDevices, sizeof(VkPhysicalDevice)*src.physicalDeviceCount);
6592 }
6593}
6594
6595safe_VkDeviceGroupDeviceCreateInfo& safe_VkDeviceGroupDeviceCreateInfo::operator=(const safe_VkDeviceGroupDeviceCreateInfo& src)
6596{
6597 if (&src == this) return *this;
6598
6599 if (pPhysicalDevices)
6600 delete[] pPhysicalDevices;
6601
6602 sType = src.sType;
6603 pNext = src.pNext;
6604 physicalDeviceCount = src.physicalDeviceCount;
6605 pPhysicalDevices = nullptr;
6606 if (src.pPhysicalDevices) {
6607 pPhysicalDevices = new VkPhysicalDevice[src.physicalDeviceCount];
6608 memcpy ((void *)pPhysicalDevices, (void *)src.pPhysicalDevices, sizeof(VkPhysicalDevice)*src.physicalDeviceCount);
6609 }
6610
6611 return *this;
6612}
6613
6614safe_VkDeviceGroupDeviceCreateInfo::~safe_VkDeviceGroupDeviceCreateInfo()
6615{
6616 if (pPhysicalDevices)
6617 delete[] pPhysicalDevices;
6618}
6619
6620void safe_VkDeviceGroupDeviceCreateInfo::initialize(const VkDeviceGroupDeviceCreateInfo* in_struct)
6621{
6622 sType = in_struct->sType;
6623 pNext = in_struct->pNext;
6624 physicalDeviceCount = in_struct->physicalDeviceCount;
6625 pPhysicalDevices = nullptr;
6626 if (in_struct->pPhysicalDevices) {
6627 pPhysicalDevices = new VkPhysicalDevice[in_struct->physicalDeviceCount];
6628 memcpy ((void *)pPhysicalDevices, (void *)in_struct->pPhysicalDevices, sizeof(VkPhysicalDevice)*in_struct->physicalDeviceCount);
6629 }
6630}
6631
6632void safe_VkDeviceGroupDeviceCreateInfo::initialize(const safe_VkDeviceGroupDeviceCreateInfo* src)
6633{
6634 sType = src->sType;
6635 pNext = src->pNext;
6636 physicalDeviceCount = src->physicalDeviceCount;
6637 pPhysicalDevices = nullptr;
6638 if (src->pPhysicalDevices) {
6639 pPhysicalDevices = new VkPhysicalDevice[src->physicalDeviceCount];
6640 memcpy ((void *)pPhysicalDevices, (void *)src->pPhysicalDevices, sizeof(VkPhysicalDevice)*src->physicalDeviceCount);
6641 }
6642}
6643
6644safe_VkBufferMemoryRequirementsInfo2::safe_VkBufferMemoryRequirementsInfo2(const VkBufferMemoryRequirementsInfo2* in_struct) :
6645 sType(in_struct->sType),
6646 pNext(in_struct->pNext),
6647 buffer(in_struct->buffer)
6648{
6649}
6650
6651safe_VkBufferMemoryRequirementsInfo2::safe_VkBufferMemoryRequirementsInfo2()
6652{}
6653
6654safe_VkBufferMemoryRequirementsInfo2::safe_VkBufferMemoryRequirementsInfo2(const safe_VkBufferMemoryRequirementsInfo2& src)
6655{
6656 sType = src.sType;
6657 pNext = src.pNext;
6658 buffer = src.buffer;
6659}
6660
6661safe_VkBufferMemoryRequirementsInfo2& safe_VkBufferMemoryRequirementsInfo2::operator=(const safe_VkBufferMemoryRequirementsInfo2& src)
6662{
6663 if (&src == this) return *this;
6664
6665
6666 sType = src.sType;
6667 pNext = src.pNext;
6668 buffer = src.buffer;
6669
6670 return *this;
6671}
6672
6673safe_VkBufferMemoryRequirementsInfo2::~safe_VkBufferMemoryRequirementsInfo2()
6674{
6675}
6676
6677void safe_VkBufferMemoryRequirementsInfo2::initialize(const VkBufferMemoryRequirementsInfo2* in_struct)
6678{
6679 sType = in_struct->sType;
6680 pNext = in_struct->pNext;
6681 buffer = in_struct->buffer;
6682}
6683
6684void safe_VkBufferMemoryRequirementsInfo2::initialize(const safe_VkBufferMemoryRequirementsInfo2* src)
6685{
6686 sType = src->sType;
6687 pNext = src->pNext;
6688 buffer = src->buffer;
6689}
6690
6691safe_VkImageMemoryRequirementsInfo2::safe_VkImageMemoryRequirementsInfo2(const VkImageMemoryRequirementsInfo2* in_struct) :
6692 sType(in_struct->sType),
6693 pNext(in_struct->pNext),
6694 image(in_struct->image)
6695{
6696}
6697
6698safe_VkImageMemoryRequirementsInfo2::safe_VkImageMemoryRequirementsInfo2()
6699{}
6700
6701safe_VkImageMemoryRequirementsInfo2::safe_VkImageMemoryRequirementsInfo2(const safe_VkImageMemoryRequirementsInfo2& src)
6702{
6703 sType = src.sType;
6704 pNext = src.pNext;
6705 image = src.image;
6706}
6707
6708safe_VkImageMemoryRequirementsInfo2& safe_VkImageMemoryRequirementsInfo2::operator=(const safe_VkImageMemoryRequirementsInfo2& src)
6709{
6710 if (&src == this) return *this;
6711
6712
6713 sType = src.sType;
6714 pNext = src.pNext;
6715 image = src.image;
6716
6717 return *this;
6718}
6719
6720safe_VkImageMemoryRequirementsInfo2::~safe_VkImageMemoryRequirementsInfo2()
6721{
6722}
6723
6724void safe_VkImageMemoryRequirementsInfo2::initialize(const VkImageMemoryRequirementsInfo2* in_struct)
6725{
6726 sType = in_struct->sType;
6727 pNext = in_struct->pNext;
6728 image = in_struct->image;
6729}
6730
6731void safe_VkImageMemoryRequirementsInfo2::initialize(const safe_VkImageMemoryRequirementsInfo2* src)
6732{
6733 sType = src->sType;
6734 pNext = src->pNext;
6735 image = src->image;
6736}
6737
6738safe_VkImageSparseMemoryRequirementsInfo2::safe_VkImageSparseMemoryRequirementsInfo2(const VkImageSparseMemoryRequirementsInfo2* in_struct) :
6739 sType(in_struct->sType),
6740 pNext(in_struct->pNext),
6741 image(in_struct->image)
6742{
6743}
6744
6745safe_VkImageSparseMemoryRequirementsInfo2::safe_VkImageSparseMemoryRequirementsInfo2()
6746{}
6747
6748safe_VkImageSparseMemoryRequirementsInfo2::safe_VkImageSparseMemoryRequirementsInfo2(const safe_VkImageSparseMemoryRequirementsInfo2& src)
6749{
6750 sType = src.sType;
6751 pNext = src.pNext;
6752 image = src.image;
6753}
6754
6755safe_VkImageSparseMemoryRequirementsInfo2& safe_VkImageSparseMemoryRequirementsInfo2::operator=(const safe_VkImageSparseMemoryRequirementsInfo2& src)
6756{
6757 if (&src == this) return *this;
6758
6759
6760 sType = src.sType;
6761 pNext = src.pNext;
6762 image = src.image;
6763
6764 return *this;
6765}
6766
6767safe_VkImageSparseMemoryRequirementsInfo2::~safe_VkImageSparseMemoryRequirementsInfo2()
6768{
6769}
6770
6771void safe_VkImageSparseMemoryRequirementsInfo2::initialize(const VkImageSparseMemoryRequirementsInfo2* in_struct)
6772{
6773 sType = in_struct->sType;
6774 pNext = in_struct->pNext;
6775 image = in_struct->image;
6776}
6777
6778void safe_VkImageSparseMemoryRequirementsInfo2::initialize(const safe_VkImageSparseMemoryRequirementsInfo2* src)
6779{
6780 sType = src->sType;
6781 pNext = src->pNext;
6782 image = src->image;
6783}
6784
6785safe_VkMemoryRequirements2::safe_VkMemoryRequirements2(const VkMemoryRequirements2* in_struct) :
6786 sType(in_struct->sType),
6787 pNext(in_struct->pNext),
6788 memoryRequirements(in_struct->memoryRequirements)
6789{
6790}
6791
6792safe_VkMemoryRequirements2::safe_VkMemoryRequirements2()
6793{}
6794
6795safe_VkMemoryRequirements2::safe_VkMemoryRequirements2(const safe_VkMemoryRequirements2& src)
6796{
6797 sType = src.sType;
6798 pNext = src.pNext;
6799 memoryRequirements = src.memoryRequirements;
6800}
6801
6802safe_VkMemoryRequirements2& safe_VkMemoryRequirements2::operator=(const safe_VkMemoryRequirements2& src)
6803{
6804 if (&src == this) return *this;
6805
6806
6807 sType = src.sType;
6808 pNext = src.pNext;
6809 memoryRequirements = src.memoryRequirements;
6810
6811 return *this;
6812}
6813
6814safe_VkMemoryRequirements2::~safe_VkMemoryRequirements2()
6815{
6816}
6817
6818void safe_VkMemoryRequirements2::initialize(const VkMemoryRequirements2* in_struct)
6819{
6820 sType = in_struct->sType;
6821 pNext = in_struct->pNext;
6822 memoryRequirements = in_struct->memoryRequirements;
6823}
6824
6825void safe_VkMemoryRequirements2::initialize(const safe_VkMemoryRequirements2* src)
6826{
6827 sType = src->sType;
6828 pNext = src->pNext;
6829 memoryRequirements = src->memoryRequirements;
6830}
6831
6832safe_VkSparseImageMemoryRequirements2::safe_VkSparseImageMemoryRequirements2(const VkSparseImageMemoryRequirements2* in_struct) :
6833 sType(in_struct->sType),
6834 pNext(in_struct->pNext),
6835 memoryRequirements(in_struct->memoryRequirements)
6836{
6837}
6838
6839safe_VkSparseImageMemoryRequirements2::safe_VkSparseImageMemoryRequirements2()
6840{}
6841
6842safe_VkSparseImageMemoryRequirements2::safe_VkSparseImageMemoryRequirements2(const safe_VkSparseImageMemoryRequirements2& src)
6843{
6844 sType = src.sType;
6845 pNext = src.pNext;
6846 memoryRequirements = src.memoryRequirements;
6847}
6848
6849safe_VkSparseImageMemoryRequirements2& safe_VkSparseImageMemoryRequirements2::operator=(const safe_VkSparseImageMemoryRequirements2& src)
6850{
6851 if (&src == this) return *this;
6852
6853
6854 sType = src.sType;
6855 pNext = src.pNext;
6856 memoryRequirements = src.memoryRequirements;
6857
6858 return *this;
6859}
6860
6861safe_VkSparseImageMemoryRequirements2::~safe_VkSparseImageMemoryRequirements2()
6862{
6863}
6864
6865void safe_VkSparseImageMemoryRequirements2::initialize(const VkSparseImageMemoryRequirements2* in_struct)
6866{
6867 sType = in_struct->sType;
6868 pNext = in_struct->pNext;
6869 memoryRequirements = in_struct->memoryRequirements;
6870}
6871
6872void safe_VkSparseImageMemoryRequirements2::initialize(const safe_VkSparseImageMemoryRequirements2* src)
6873{
6874 sType = src->sType;
6875 pNext = src->pNext;
6876 memoryRequirements = src->memoryRequirements;
6877}
6878
6879safe_VkPhysicalDeviceFeatures2::safe_VkPhysicalDeviceFeatures2(const VkPhysicalDeviceFeatures2* in_struct) :
6880 sType(in_struct->sType),
6881 pNext(in_struct->pNext),
6882 features(in_struct->features)
6883{
6884}
6885
6886safe_VkPhysicalDeviceFeatures2::safe_VkPhysicalDeviceFeatures2()
6887{}
6888
6889safe_VkPhysicalDeviceFeatures2::safe_VkPhysicalDeviceFeatures2(const safe_VkPhysicalDeviceFeatures2& src)
6890{
6891 sType = src.sType;
6892 pNext = src.pNext;
6893 features = src.features;
6894}
6895
6896safe_VkPhysicalDeviceFeatures2& safe_VkPhysicalDeviceFeatures2::operator=(const safe_VkPhysicalDeviceFeatures2& src)
6897{
6898 if (&src == this) return *this;
6899
6900
6901 sType = src.sType;
6902 pNext = src.pNext;
6903 features = src.features;
6904
6905 return *this;
6906}
6907
6908safe_VkPhysicalDeviceFeatures2::~safe_VkPhysicalDeviceFeatures2()
6909{
6910}
6911
6912void safe_VkPhysicalDeviceFeatures2::initialize(const VkPhysicalDeviceFeatures2* in_struct)
6913{
6914 sType = in_struct->sType;
6915 pNext = in_struct->pNext;
6916 features = in_struct->features;
6917}
6918
6919void safe_VkPhysicalDeviceFeatures2::initialize(const safe_VkPhysicalDeviceFeatures2* src)
6920{
6921 sType = src->sType;
6922 pNext = src->pNext;
6923 features = src->features;
6924}
6925
6926safe_VkPhysicalDeviceProperties2::safe_VkPhysicalDeviceProperties2(const VkPhysicalDeviceProperties2* in_struct) :
6927 sType(in_struct->sType),
6928 pNext(in_struct->pNext),
6929 properties(in_struct->properties)
6930{
6931}
6932
6933safe_VkPhysicalDeviceProperties2::safe_VkPhysicalDeviceProperties2()
6934{}
6935
6936safe_VkPhysicalDeviceProperties2::safe_VkPhysicalDeviceProperties2(const safe_VkPhysicalDeviceProperties2& src)
6937{
6938 sType = src.sType;
6939 pNext = src.pNext;
6940 properties = src.properties;
6941}
6942
6943safe_VkPhysicalDeviceProperties2& safe_VkPhysicalDeviceProperties2::operator=(const safe_VkPhysicalDeviceProperties2& src)
6944{
6945 if (&src == this) return *this;
6946
6947
6948 sType = src.sType;
6949 pNext = src.pNext;
6950 properties = src.properties;
6951
6952 return *this;
6953}
6954
6955safe_VkPhysicalDeviceProperties2::~safe_VkPhysicalDeviceProperties2()
6956{
6957}
6958
6959void safe_VkPhysicalDeviceProperties2::initialize(const VkPhysicalDeviceProperties2* in_struct)
6960{
6961 sType = in_struct->sType;
6962 pNext = in_struct->pNext;
6963 properties = in_struct->properties;
6964}
6965
6966void safe_VkPhysicalDeviceProperties2::initialize(const safe_VkPhysicalDeviceProperties2* src)
6967{
6968 sType = src->sType;
6969 pNext = src->pNext;
6970 properties = src->properties;
6971}
6972
6973safe_VkFormatProperties2::safe_VkFormatProperties2(const VkFormatProperties2* in_struct) :
6974 sType(in_struct->sType),
6975 pNext(in_struct->pNext),
6976 formatProperties(in_struct->formatProperties)
6977{
6978}
6979
6980safe_VkFormatProperties2::safe_VkFormatProperties2()
6981{}
6982
6983safe_VkFormatProperties2::safe_VkFormatProperties2(const safe_VkFormatProperties2& src)
6984{
6985 sType = src.sType;
6986 pNext = src.pNext;
6987 formatProperties = src.formatProperties;
6988}
6989
6990safe_VkFormatProperties2& safe_VkFormatProperties2::operator=(const safe_VkFormatProperties2& src)
6991{
6992 if (&src == this) return *this;
6993
6994
6995 sType = src.sType;
6996 pNext = src.pNext;
6997 formatProperties = src.formatProperties;
6998
6999 return *this;
7000}
7001
7002safe_VkFormatProperties2::~safe_VkFormatProperties2()
7003{
7004}
7005
7006void safe_VkFormatProperties2::initialize(const VkFormatProperties2* in_struct)
7007{
7008 sType = in_struct->sType;
7009 pNext = in_struct->pNext;
7010 formatProperties = in_struct->formatProperties;
7011}
7012
7013void safe_VkFormatProperties2::initialize(const safe_VkFormatProperties2* src)
7014{
7015 sType = src->sType;
7016 pNext = src->pNext;
7017 formatProperties = src->formatProperties;
7018}
7019
7020safe_VkImageFormatProperties2::safe_VkImageFormatProperties2(const VkImageFormatProperties2* in_struct) :
7021 sType(in_struct->sType),
7022 pNext(in_struct->pNext),
7023 imageFormatProperties(in_struct->imageFormatProperties)
7024{
7025}
7026
7027safe_VkImageFormatProperties2::safe_VkImageFormatProperties2()
7028{}
7029
7030safe_VkImageFormatProperties2::safe_VkImageFormatProperties2(const safe_VkImageFormatProperties2& src)
7031{
7032 sType = src.sType;
7033 pNext = src.pNext;
7034 imageFormatProperties = src.imageFormatProperties;
7035}
7036
7037safe_VkImageFormatProperties2& safe_VkImageFormatProperties2::operator=(const safe_VkImageFormatProperties2& src)
7038{
7039 if (&src == this) return *this;
7040
7041
7042 sType = src.sType;
7043 pNext = src.pNext;
7044 imageFormatProperties = src.imageFormatProperties;
7045
7046 return *this;
7047}
7048
7049safe_VkImageFormatProperties2::~safe_VkImageFormatProperties2()
7050{
7051}
7052
7053void safe_VkImageFormatProperties2::initialize(const VkImageFormatProperties2* in_struct)
7054{
7055 sType = in_struct->sType;
7056 pNext = in_struct->pNext;
7057 imageFormatProperties = in_struct->imageFormatProperties;
7058}
7059
7060void safe_VkImageFormatProperties2::initialize(const safe_VkImageFormatProperties2* src)
7061{
7062 sType = src->sType;
7063 pNext = src->pNext;
7064 imageFormatProperties = src->imageFormatProperties;
7065}
7066
7067safe_VkPhysicalDeviceImageFormatInfo2::safe_VkPhysicalDeviceImageFormatInfo2(const VkPhysicalDeviceImageFormatInfo2* in_struct) :
7068 sType(in_struct->sType),
7069 pNext(in_struct->pNext),
7070 format(in_struct->format),
7071 type(in_struct->type),
7072 tiling(in_struct->tiling),
7073 usage(in_struct->usage),
7074 flags(in_struct->flags)
7075{
7076}
7077
7078safe_VkPhysicalDeviceImageFormatInfo2::safe_VkPhysicalDeviceImageFormatInfo2()
7079{}
7080
7081safe_VkPhysicalDeviceImageFormatInfo2::safe_VkPhysicalDeviceImageFormatInfo2(const safe_VkPhysicalDeviceImageFormatInfo2& src)
7082{
7083 sType = src.sType;
7084 pNext = src.pNext;
7085 format = src.format;
7086 type = src.type;
7087 tiling = src.tiling;
7088 usage = src.usage;
7089 flags = src.flags;
7090}
7091
7092safe_VkPhysicalDeviceImageFormatInfo2& safe_VkPhysicalDeviceImageFormatInfo2::operator=(const safe_VkPhysicalDeviceImageFormatInfo2& src)
7093{
7094 if (&src == this) return *this;
7095
7096
7097 sType = src.sType;
7098 pNext = src.pNext;
7099 format = src.format;
7100 type = src.type;
7101 tiling = src.tiling;
7102 usage = src.usage;
7103 flags = src.flags;
7104
7105 return *this;
7106}
7107
7108safe_VkPhysicalDeviceImageFormatInfo2::~safe_VkPhysicalDeviceImageFormatInfo2()
7109{
7110}
7111
7112void safe_VkPhysicalDeviceImageFormatInfo2::initialize(const VkPhysicalDeviceImageFormatInfo2* in_struct)
7113{
7114 sType = in_struct->sType;
7115 pNext = in_struct->pNext;
7116 format = in_struct->format;
7117 type = in_struct->type;
7118 tiling = in_struct->tiling;
7119 usage = in_struct->usage;
7120 flags = in_struct->flags;
7121}
7122
7123void safe_VkPhysicalDeviceImageFormatInfo2::initialize(const safe_VkPhysicalDeviceImageFormatInfo2* src)
7124{
7125 sType = src->sType;
7126 pNext = src->pNext;
7127 format = src->format;
7128 type = src->type;
7129 tiling = src->tiling;
7130 usage = src->usage;
7131 flags = src->flags;
7132}
7133
7134safe_VkQueueFamilyProperties2::safe_VkQueueFamilyProperties2(const VkQueueFamilyProperties2* in_struct) :
7135 sType(in_struct->sType),
7136 pNext(in_struct->pNext),
7137 queueFamilyProperties(in_struct->queueFamilyProperties)
7138{
7139}
7140
7141safe_VkQueueFamilyProperties2::safe_VkQueueFamilyProperties2()
7142{}
7143
7144safe_VkQueueFamilyProperties2::safe_VkQueueFamilyProperties2(const safe_VkQueueFamilyProperties2& src)
7145{
7146 sType = src.sType;
7147 pNext = src.pNext;
7148 queueFamilyProperties = src.queueFamilyProperties;
7149}
7150
7151safe_VkQueueFamilyProperties2& safe_VkQueueFamilyProperties2::operator=(const safe_VkQueueFamilyProperties2& src)
7152{
7153 if (&src == this) return *this;
7154
7155
7156 sType = src.sType;
7157 pNext = src.pNext;
7158 queueFamilyProperties = src.queueFamilyProperties;
7159
7160 return *this;
7161}
7162
7163safe_VkQueueFamilyProperties2::~safe_VkQueueFamilyProperties2()
7164{
7165}
7166
7167void safe_VkQueueFamilyProperties2::initialize(const VkQueueFamilyProperties2* in_struct)
7168{
7169 sType = in_struct->sType;
7170 pNext = in_struct->pNext;
7171 queueFamilyProperties = in_struct->queueFamilyProperties;
7172}
7173
7174void safe_VkQueueFamilyProperties2::initialize(const safe_VkQueueFamilyProperties2* src)
7175{
7176 sType = src->sType;
7177 pNext = src->pNext;
7178 queueFamilyProperties = src->queueFamilyProperties;
7179}
7180
7181safe_VkPhysicalDeviceMemoryProperties2::safe_VkPhysicalDeviceMemoryProperties2(const VkPhysicalDeviceMemoryProperties2* in_struct) :
7182 sType(in_struct->sType),
7183 pNext(in_struct->pNext),
7184 memoryProperties(in_struct->memoryProperties)
7185{
7186}
7187
7188safe_VkPhysicalDeviceMemoryProperties2::safe_VkPhysicalDeviceMemoryProperties2()
7189{}
7190
7191safe_VkPhysicalDeviceMemoryProperties2::safe_VkPhysicalDeviceMemoryProperties2(const safe_VkPhysicalDeviceMemoryProperties2& src)
7192{
7193 sType = src.sType;
7194 pNext = src.pNext;
7195 memoryProperties = src.memoryProperties;
7196}
7197
7198safe_VkPhysicalDeviceMemoryProperties2& safe_VkPhysicalDeviceMemoryProperties2::operator=(const safe_VkPhysicalDeviceMemoryProperties2& src)
7199{
7200 if (&src == this) return *this;
7201
7202
7203 sType = src.sType;
7204 pNext = src.pNext;
7205 memoryProperties = src.memoryProperties;
7206
7207 return *this;
7208}
7209
7210safe_VkPhysicalDeviceMemoryProperties2::~safe_VkPhysicalDeviceMemoryProperties2()
7211{
7212}
7213
7214void safe_VkPhysicalDeviceMemoryProperties2::initialize(const VkPhysicalDeviceMemoryProperties2* in_struct)
7215{
7216 sType = in_struct->sType;
7217 pNext = in_struct->pNext;
7218 memoryProperties = in_struct->memoryProperties;
7219}
7220
7221void safe_VkPhysicalDeviceMemoryProperties2::initialize(const safe_VkPhysicalDeviceMemoryProperties2* src)
7222{
7223 sType = src->sType;
7224 pNext = src->pNext;
7225 memoryProperties = src->memoryProperties;
7226}
7227
7228safe_VkSparseImageFormatProperties2::safe_VkSparseImageFormatProperties2(const VkSparseImageFormatProperties2* in_struct) :
7229 sType(in_struct->sType),
7230 pNext(in_struct->pNext),
7231 properties(in_struct->properties)
7232{
7233}
7234
7235safe_VkSparseImageFormatProperties2::safe_VkSparseImageFormatProperties2()
7236{}
7237
7238safe_VkSparseImageFormatProperties2::safe_VkSparseImageFormatProperties2(const safe_VkSparseImageFormatProperties2& src)
7239{
7240 sType = src.sType;
7241 pNext = src.pNext;
7242 properties = src.properties;
7243}
7244
7245safe_VkSparseImageFormatProperties2& safe_VkSparseImageFormatProperties2::operator=(const safe_VkSparseImageFormatProperties2& src)
7246{
7247 if (&src == this) return *this;
7248
7249
7250 sType = src.sType;
7251 pNext = src.pNext;
7252 properties = src.properties;
7253
7254 return *this;
7255}
7256
7257safe_VkSparseImageFormatProperties2::~safe_VkSparseImageFormatProperties2()
7258{
7259}
7260
7261void safe_VkSparseImageFormatProperties2::initialize(const VkSparseImageFormatProperties2* in_struct)
7262{
7263 sType = in_struct->sType;
7264 pNext = in_struct->pNext;
7265 properties = in_struct->properties;
7266}
7267
7268void safe_VkSparseImageFormatProperties2::initialize(const safe_VkSparseImageFormatProperties2* src)
7269{
7270 sType = src->sType;
7271 pNext = src->pNext;
7272 properties = src->properties;
7273}
7274
7275safe_VkPhysicalDeviceSparseImageFormatInfo2::safe_VkPhysicalDeviceSparseImageFormatInfo2(const VkPhysicalDeviceSparseImageFormatInfo2* in_struct) :
7276 sType(in_struct->sType),
7277 pNext(in_struct->pNext),
7278 format(in_struct->format),
7279 type(in_struct->type),
7280 samples(in_struct->samples),
7281 usage(in_struct->usage),
7282 tiling(in_struct->tiling)
7283{
7284}
7285
7286safe_VkPhysicalDeviceSparseImageFormatInfo2::safe_VkPhysicalDeviceSparseImageFormatInfo2()
7287{}
7288
7289safe_VkPhysicalDeviceSparseImageFormatInfo2::safe_VkPhysicalDeviceSparseImageFormatInfo2(const safe_VkPhysicalDeviceSparseImageFormatInfo2& src)
7290{
7291 sType = src.sType;
7292 pNext = src.pNext;
7293 format = src.format;
7294 type = src.type;
7295 samples = src.samples;
7296 usage = src.usage;
7297 tiling = src.tiling;
7298}
7299
7300safe_VkPhysicalDeviceSparseImageFormatInfo2& safe_VkPhysicalDeviceSparseImageFormatInfo2::operator=(const safe_VkPhysicalDeviceSparseImageFormatInfo2& src)
7301{
7302 if (&src == this) return *this;
7303
7304
7305 sType = src.sType;
7306 pNext = src.pNext;
7307 format = src.format;
7308 type = src.type;
7309 samples = src.samples;
7310 usage = src.usage;
7311 tiling = src.tiling;
7312
7313 return *this;
7314}
7315
7316safe_VkPhysicalDeviceSparseImageFormatInfo2::~safe_VkPhysicalDeviceSparseImageFormatInfo2()
7317{
7318}
7319
7320void safe_VkPhysicalDeviceSparseImageFormatInfo2::initialize(const VkPhysicalDeviceSparseImageFormatInfo2* in_struct)
7321{
7322 sType = in_struct->sType;
7323 pNext = in_struct->pNext;
7324 format = in_struct->format;
7325 type = in_struct->type;
7326 samples = in_struct->samples;
7327 usage = in_struct->usage;
7328 tiling = in_struct->tiling;
7329}
7330
7331void safe_VkPhysicalDeviceSparseImageFormatInfo2::initialize(const safe_VkPhysicalDeviceSparseImageFormatInfo2* src)
7332{
7333 sType = src->sType;
7334 pNext = src->pNext;
7335 format = src->format;
7336 type = src->type;
7337 samples = src->samples;
7338 usage = src->usage;
7339 tiling = src->tiling;
7340}
7341
7342safe_VkPhysicalDevicePointClippingProperties::safe_VkPhysicalDevicePointClippingProperties(const VkPhysicalDevicePointClippingProperties* in_struct) :
7343 sType(in_struct->sType),
7344 pNext(in_struct->pNext),
7345 pointClippingBehavior(in_struct->pointClippingBehavior)
7346{
7347}
7348
7349safe_VkPhysicalDevicePointClippingProperties::safe_VkPhysicalDevicePointClippingProperties()
7350{}
7351
7352safe_VkPhysicalDevicePointClippingProperties::safe_VkPhysicalDevicePointClippingProperties(const safe_VkPhysicalDevicePointClippingProperties& src)
7353{
7354 sType = src.sType;
7355 pNext = src.pNext;
7356 pointClippingBehavior = src.pointClippingBehavior;
7357}
7358
7359safe_VkPhysicalDevicePointClippingProperties& safe_VkPhysicalDevicePointClippingProperties::operator=(const safe_VkPhysicalDevicePointClippingProperties& src)
7360{
7361 if (&src == this) return *this;
7362
7363
7364 sType = src.sType;
7365 pNext = src.pNext;
7366 pointClippingBehavior = src.pointClippingBehavior;
7367
7368 return *this;
7369}
7370
7371safe_VkPhysicalDevicePointClippingProperties::~safe_VkPhysicalDevicePointClippingProperties()
7372{
7373}
7374
7375void safe_VkPhysicalDevicePointClippingProperties::initialize(const VkPhysicalDevicePointClippingProperties* in_struct)
7376{
7377 sType = in_struct->sType;
7378 pNext = in_struct->pNext;
7379 pointClippingBehavior = in_struct->pointClippingBehavior;
7380}
7381
7382void safe_VkPhysicalDevicePointClippingProperties::initialize(const safe_VkPhysicalDevicePointClippingProperties* src)
7383{
7384 sType = src->sType;
7385 pNext = src->pNext;
7386 pointClippingBehavior = src->pointClippingBehavior;
7387}
7388
7389safe_VkRenderPassInputAttachmentAspectCreateInfo::safe_VkRenderPassInputAttachmentAspectCreateInfo(const VkRenderPassInputAttachmentAspectCreateInfo* in_struct) :
7390 sType(in_struct->sType),
7391 pNext(in_struct->pNext),
7392 aspectReferenceCount(in_struct->aspectReferenceCount),
7393 pAspectReferences(nullptr)
7394{
7395 if (in_struct->pAspectReferences) {
7396 pAspectReferences = new VkInputAttachmentAspectReference[in_struct->aspectReferenceCount];
7397 memcpy ((void *)pAspectReferences, (void *)in_struct->pAspectReferences, sizeof(VkInputAttachmentAspectReference)*in_struct->aspectReferenceCount);
7398 }
7399}
7400
7401safe_VkRenderPassInputAttachmentAspectCreateInfo::safe_VkRenderPassInputAttachmentAspectCreateInfo() :
7402 pAspectReferences(nullptr)
7403{}
7404
7405safe_VkRenderPassInputAttachmentAspectCreateInfo::safe_VkRenderPassInputAttachmentAspectCreateInfo(const safe_VkRenderPassInputAttachmentAspectCreateInfo& src)
7406{
7407 sType = src.sType;
7408 pNext = src.pNext;
7409 aspectReferenceCount = src.aspectReferenceCount;
7410 pAspectReferences = nullptr;
7411 if (src.pAspectReferences) {
7412 pAspectReferences = new VkInputAttachmentAspectReference[src.aspectReferenceCount];
7413 memcpy ((void *)pAspectReferences, (void *)src.pAspectReferences, sizeof(VkInputAttachmentAspectReference)*src.aspectReferenceCount);
7414 }
7415}
7416
7417safe_VkRenderPassInputAttachmentAspectCreateInfo& safe_VkRenderPassInputAttachmentAspectCreateInfo::operator=(const safe_VkRenderPassInputAttachmentAspectCreateInfo& src)
7418{
7419 if (&src == this) return *this;
7420
7421 if (pAspectReferences)
7422 delete[] pAspectReferences;
7423
7424 sType = src.sType;
7425 pNext = src.pNext;
7426 aspectReferenceCount = src.aspectReferenceCount;
7427 pAspectReferences = nullptr;
7428 if (src.pAspectReferences) {
7429 pAspectReferences = new VkInputAttachmentAspectReference[src.aspectReferenceCount];
7430 memcpy ((void *)pAspectReferences, (void *)src.pAspectReferences, sizeof(VkInputAttachmentAspectReference)*src.aspectReferenceCount);
7431 }
7432
7433 return *this;
7434}
7435
7436safe_VkRenderPassInputAttachmentAspectCreateInfo::~safe_VkRenderPassInputAttachmentAspectCreateInfo()
7437{
7438 if (pAspectReferences)
7439 delete[] pAspectReferences;
7440}
7441
7442void safe_VkRenderPassInputAttachmentAspectCreateInfo::initialize(const VkRenderPassInputAttachmentAspectCreateInfo* in_struct)
7443{
7444 sType = in_struct->sType;
7445 pNext = in_struct->pNext;
7446 aspectReferenceCount = in_struct->aspectReferenceCount;
7447 pAspectReferences = nullptr;
7448 if (in_struct->pAspectReferences) {
7449 pAspectReferences = new VkInputAttachmentAspectReference[in_struct->aspectReferenceCount];
7450 memcpy ((void *)pAspectReferences, (void *)in_struct->pAspectReferences, sizeof(VkInputAttachmentAspectReference)*in_struct->aspectReferenceCount);
7451 }
7452}
7453
7454void safe_VkRenderPassInputAttachmentAspectCreateInfo::initialize(const safe_VkRenderPassInputAttachmentAspectCreateInfo* src)
7455{
7456 sType = src->sType;
7457 pNext = src->pNext;
7458 aspectReferenceCount = src->aspectReferenceCount;
7459 pAspectReferences = nullptr;
7460 if (src->pAspectReferences) {
7461 pAspectReferences = new VkInputAttachmentAspectReference[src->aspectReferenceCount];
7462 memcpy ((void *)pAspectReferences, (void *)src->pAspectReferences, sizeof(VkInputAttachmentAspectReference)*src->aspectReferenceCount);
7463 }
7464}
7465
7466safe_VkImageViewUsageCreateInfo::safe_VkImageViewUsageCreateInfo(const VkImageViewUsageCreateInfo* in_struct) :
7467 sType(in_struct->sType),
7468 pNext(in_struct->pNext),
7469 usage(in_struct->usage)
7470{
7471}
7472
7473safe_VkImageViewUsageCreateInfo::safe_VkImageViewUsageCreateInfo()
7474{}
7475
7476safe_VkImageViewUsageCreateInfo::safe_VkImageViewUsageCreateInfo(const safe_VkImageViewUsageCreateInfo& src)
7477{
7478 sType = src.sType;
7479 pNext = src.pNext;
7480 usage = src.usage;
7481}
7482
7483safe_VkImageViewUsageCreateInfo& safe_VkImageViewUsageCreateInfo::operator=(const safe_VkImageViewUsageCreateInfo& src)
7484{
7485 if (&src == this) return *this;
7486
7487
7488 sType = src.sType;
7489 pNext = src.pNext;
7490 usage = src.usage;
7491
7492 return *this;
7493}
7494
7495safe_VkImageViewUsageCreateInfo::~safe_VkImageViewUsageCreateInfo()
7496{
7497}
7498
7499void safe_VkImageViewUsageCreateInfo::initialize(const VkImageViewUsageCreateInfo* in_struct)
7500{
7501 sType = in_struct->sType;
7502 pNext = in_struct->pNext;
7503 usage = in_struct->usage;
7504}
7505
7506void safe_VkImageViewUsageCreateInfo::initialize(const safe_VkImageViewUsageCreateInfo* src)
7507{
7508 sType = src->sType;
7509 pNext = src->pNext;
7510 usage = src->usage;
7511}
7512
7513safe_VkPipelineTessellationDomainOriginStateCreateInfo::safe_VkPipelineTessellationDomainOriginStateCreateInfo(const VkPipelineTessellationDomainOriginStateCreateInfo* in_struct) :
7514 sType(in_struct->sType),
7515 pNext(in_struct->pNext),
7516 domainOrigin(in_struct->domainOrigin)
7517{
7518}
7519
7520safe_VkPipelineTessellationDomainOriginStateCreateInfo::safe_VkPipelineTessellationDomainOriginStateCreateInfo()
7521{}
7522
7523safe_VkPipelineTessellationDomainOriginStateCreateInfo::safe_VkPipelineTessellationDomainOriginStateCreateInfo(const safe_VkPipelineTessellationDomainOriginStateCreateInfo& src)
7524{
7525 sType = src.sType;
7526 pNext = src.pNext;
7527 domainOrigin = src.domainOrigin;
7528}
7529
7530safe_VkPipelineTessellationDomainOriginStateCreateInfo& safe_VkPipelineTessellationDomainOriginStateCreateInfo::operator=(const safe_VkPipelineTessellationDomainOriginStateCreateInfo& src)
7531{
7532 if (&src == this) return *this;
7533
7534
7535 sType = src.sType;
7536 pNext = src.pNext;
7537 domainOrigin = src.domainOrigin;
7538
7539 return *this;
7540}
7541
7542safe_VkPipelineTessellationDomainOriginStateCreateInfo::~safe_VkPipelineTessellationDomainOriginStateCreateInfo()
7543{
7544}
7545
7546void safe_VkPipelineTessellationDomainOriginStateCreateInfo::initialize(const VkPipelineTessellationDomainOriginStateCreateInfo* in_struct)
7547{
7548 sType = in_struct->sType;
7549 pNext = in_struct->pNext;
7550 domainOrigin = in_struct->domainOrigin;
7551}
7552
7553void safe_VkPipelineTessellationDomainOriginStateCreateInfo::initialize(const safe_VkPipelineTessellationDomainOriginStateCreateInfo* src)
7554{
7555 sType = src->sType;
7556 pNext = src->pNext;
7557 domainOrigin = src->domainOrigin;
7558}
7559
7560safe_VkRenderPassMultiviewCreateInfo::safe_VkRenderPassMultiviewCreateInfo(const VkRenderPassMultiviewCreateInfo* in_struct) :
7561 sType(in_struct->sType),
7562 pNext(in_struct->pNext),
7563 subpassCount(in_struct->subpassCount),
7564 pViewMasks(nullptr),
7565 dependencyCount(in_struct->dependencyCount),
7566 pViewOffsets(nullptr),
7567 correlationMaskCount(in_struct->correlationMaskCount),
7568 pCorrelationMasks(nullptr)
7569{
7570 if (in_struct->pViewMasks) {
7571 pViewMasks = new uint32_t[in_struct->subpassCount];
7572 memcpy ((void *)pViewMasks, (void *)in_struct->pViewMasks, sizeof(uint32_t)*in_struct->subpassCount);
7573 }
7574 if (in_struct->pViewOffsets) {
7575 pViewOffsets = new int32_t[in_struct->dependencyCount];
7576 memcpy ((void *)pViewOffsets, (void *)in_struct->pViewOffsets, sizeof(int32_t)*in_struct->dependencyCount);
7577 }
7578 if (in_struct->pCorrelationMasks) {
7579 pCorrelationMasks = new uint32_t[in_struct->correlationMaskCount];
7580 memcpy ((void *)pCorrelationMasks, (void *)in_struct->pCorrelationMasks, sizeof(uint32_t)*in_struct->correlationMaskCount);
7581 }
7582}
7583
7584safe_VkRenderPassMultiviewCreateInfo::safe_VkRenderPassMultiviewCreateInfo() :
7585 pViewMasks(nullptr),
7586 pViewOffsets(nullptr),
7587 pCorrelationMasks(nullptr)
7588{}
7589
7590safe_VkRenderPassMultiviewCreateInfo::safe_VkRenderPassMultiviewCreateInfo(const safe_VkRenderPassMultiviewCreateInfo& src)
7591{
7592 sType = src.sType;
7593 pNext = src.pNext;
7594 subpassCount = src.subpassCount;
7595 pViewMasks = nullptr;
7596 dependencyCount = src.dependencyCount;
7597 pViewOffsets = nullptr;
7598 correlationMaskCount = src.correlationMaskCount;
7599 pCorrelationMasks = nullptr;
7600 if (src.pViewMasks) {
7601 pViewMasks = new uint32_t[src.subpassCount];
7602 memcpy ((void *)pViewMasks, (void *)src.pViewMasks, sizeof(uint32_t)*src.subpassCount);
7603 }
7604 if (src.pViewOffsets) {
7605 pViewOffsets = new int32_t[src.dependencyCount];
7606 memcpy ((void *)pViewOffsets, (void *)src.pViewOffsets, sizeof(int32_t)*src.dependencyCount);
7607 }
7608 if (src.pCorrelationMasks) {
7609 pCorrelationMasks = new uint32_t[src.correlationMaskCount];
7610 memcpy ((void *)pCorrelationMasks, (void *)src.pCorrelationMasks, sizeof(uint32_t)*src.correlationMaskCount);
7611 }
7612}
7613
7614safe_VkRenderPassMultiviewCreateInfo& safe_VkRenderPassMultiviewCreateInfo::operator=(const safe_VkRenderPassMultiviewCreateInfo& src)
7615{
7616 if (&src == this) return *this;
7617
7618 if (pViewMasks)
7619 delete[] pViewMasks;
7620 if (pViewOffsets)
7621 delete[] pViewOffsets;
7622 if (pCorrelationMasks)
7623 delete[] pCorrelationMasks;
7624
7625 sType = src.sType;
7626 pNext = src.pNext;
7627 subpassCount = src.subpassCount;
7628 pViewMasks = nullptr;
7629 dependencyCount = src.dependencyCount;
7630 pViewOffsets = nullptr;
7631 correlationMaskCount = src.correlationMaskCount;
7632 pCorrelationMasks = nullptr;
7633 if (src.pViewMasks) {
7634 pViewMasks = new uint32_t[src.subpassCount];
7635 memcpy ((void *)pViewMasks, (void *)src.pViewMasks, sizeof(uint32_t)*src.subpassCount);
7636 }
7637 if (src.pViewOffsets) {
7638 pViewOffsets = new int32_t[src.dependencyCount];
7639 memcpy ((void *)pViewOffsets, (void *)src.pViewOffsets, sizeof(int32_t)*src.dependencyCount);
7640 }
7641 if (src.pCorrelationMasks) {
7642 pCorrelationMasks = new uint32_t[src.correlationMaskCount];
7643 memcpy ((void *)pCorrelationMasks, (void *)src.pCorrelationMasks, sizeof(uint32_t)*src.correlationMaskCount);
7644 }
7645
7646 return *this;
7647}
7648
7649safe_VkRenderPassMultiviewCreateInfo::~safe_VkRenderPassMultiviewCreateInfo()
7650{
7651 if (pViewMasks)
7652 delete[] pViewMasks;
7653 if (pViewOffsets)
7654 delete[] pViewOffsets;
7655 if (pCorrelationMasks)
7656 delete[] pCorrelationMasks;
7657}
7658
7659void safe_VkRenderPassMultiviewCreateInfo::initialize(const VkRenderPassMultiviewCreateInfo* in_struct)
7660{
7661 sType = in_struct->sType;
7662 pNext = in_struct->pNext;
7663 subpassCount = in_struct->subpassCount;
7664 pViewMasks = nullptr;
7665 dependencyCount = in_struct->dependencyCount;
7666 pViewOffsets = nullptr;
7667 correlationMaskCount = in_struct->correlationMaskCount;
7668 pCorrelationMasks = nullptr;
7669 if (in_struct->pViewMasks) {
7670 pViewMasks = new uint32_t[in_struct->subpassCount];
7671 memcpy ((void *)pViewMasks, (void *)in_struct->pViewMasks, sizeof(uint32_t)*in_struct->subpassCount);
7672 }
7673 if (in_struct->pViewOffsets) {
7674 pViewOffsets = new int32_t[in_struct->dependencyCount];
7675 memcpy ((void *)pViewOffsets, (void *)in_struct->pViewOffsets, sizeof(int32_t)*in_struct->dependencyCount);
7676 }
7677 if (in_struct->pCorrelationMasks) {
7678 pCorrelationMasks = new uint32_t[in_struct->correlationMaskCount];
7679 memcpy ((void *)pCorrelationMasks, (void *)in_struct->pCorrelationMasks, sizeof(uint32_t)*in_struct->correlationMaskCount);
7680 }
7681}
7682
7683void safe_VkRenderPassMultiviewCreateInfo::initialize(const safe_VkRenderPassMultiviewCreateInfo* src)
7684{
7685 sType = src->sType;
7686 pNext = src->pNext;
7687 subpassCount = src->subpassCount;
7688 pViewMasks = nullptr;
7689 dependencyCount = src->dependencyCount;
7690 pViewOffsets = nullptr;
7691 correlationMaskCount = src->correlationMaskCount;
7692 pCorrelationMasks = nullptr;
7693 if (src->pViewMasks) {
7694 pViewMasks = new uint32_t[src->subpassCount];
7695 memcpy ((void *)pViewMasks, (void *)src->pViewMasks, sizeof(uint32_t)*src->subpassCount);
7696 }
7697 if (src->pViewOffsets) {
7698 pViewOffsets = new int32_t[src->dependencyCount];
7699 memcpy ((void *)pViewOffsets, (void *)src->pViewOffsets, sizeof(int32_t)*src->dependencyCount);
7700 }
7701 if (src->pCorrelationMasks) {
7702 pCorrelationMasks = new uint32_t[src->correlationMaskCount];
7703 memcpy ((void *)pCorrelationMasks, (void *)src->pCorrelationMasks, sizeof(uint32_t)*src->correlationMaskCount);
7704 }
7705}
7706
7707safe_VkPhysicalDeviceMultiviewFeatures::safe_VkPhysicalDeviceMultiviewFeatures(const VkPhysicalDeviceMultiviewFeatures* in_struct) :
7708 sType(in_struct->sType),
7709 pNext(in_struct->pNext),
7710 multiview(in_struct->multiview),
7711 multiviewGeometryShader(in_struct->multiviewGeometryShader),
7712 multiviewTessellationShader(in_struct->multiviewTessellationShader)
7713{
7714}
7715
7716safe_VkPhysicalDeviceMultiviewFeatures::safe_VkPhysicalDeviceMultiviewFeatures()
7717{}
7718
7719safe_VkPhysicalDeviceMultiviewFeatures::safe_VkPhysicalDeviceMultiviewFeatures(const safe_VkPhysicalDeviceMultiviewFeatures& src)
7720{
7721 sType = src.sType;
7722 pNext = src.pNext;
7723 multiview = src.multiview;
7724 multiviewGeometryShader = src.multiviewGeometryShader;
7725 multiviewTessellationShader = src.multiviewTessellationShader;
7726}
7727
7728safe_VkPhysicalDeviceMultiviewFeatures& safe_VkPhysicalDeviceMultiviewFeatures::operator=(const safe_VkPhysicalDeviceMultiviewFeatures& src)
7729{
7730 if (&src == this) return *this;
7731
7732
7733 sType = src.sType;
7734 pNext = src.pNext;
7735 multiview = src.multiview;
7736 multiviewGeometryShader = src.multiviewGeometryShader;
7737 multiviewTessellationShader = src.multiviewTessellationShader;
7738
7739 return *this;
7740}
7741
7742safe_VkPhysicalDeviceMultiviewFeatures::~safe_VkPhysicalDeviceMultiviewFeatures()
7743{
7744}
7745
7746void safe_VkPhysicalDeviceMultiviewFeatures::initialize(const VkPhysicalDeviceMultiviewFeatures* in_struct)
7747{
7748 sType = in_struct->sType;
7749 pNext = in_struct->pNext;
7750 multiview = in_struct->multiview;
7751 multiviewGeometryShader = in_struct->multiviewGeometryShader;
7752 multiviewTessellationShader = in_struct->multiviewTessellationShader;
7753}
7754
7755void safe_VkPhysicalDeviceMultiviewFeatures::initialize(const safe_VkPhysicalDeviceMultiviewFeatures* src)
7756{
7757 sType = src->sType;
7758 pNext = src->pNext;
7759 multiview = src->multiview;
7760 multiviewGeometryShader = src->multiviewGeometryShader;
7761 multiviewTessellationShader = src->multiviewTessellationShader;
7762}
7763
7764safe_VkPhysicalDeviceMultiviewProperties::safe_VkPhysicalDeviceMultiviewProperties(const VkPhysicalDeviceMultiviewProperties* in_struct) :
7765 sType(in_struct->sType),
7766 pNext(in_struct->pNext),
7767 maxMultiviewViewCount(in_struct->maxMultiviewViewCount),
7768 maxMultiviewInstanceIndex(in_struct->maxMultiviewInstanceIndex)
7769{
7770}
7771
7772safe_VkPhysicalDeviceMultiviewProperties::safe_VkPhysicalDeviceMultiviewProperties()
7773{}
7774
7775safe_VkPhysicalDeviceMultiviewProperties::safe_VkPhysicalDeviceMultiviewProperties(const safe_VkPhysicalDeviceMultiviewProperties& src)
7776{
7777 sType = src.sType;
7778 pNext = src.pNext;
7779 maxMultiviewViewCount = src.maxMultiviewViewCount;
7780 maxMultiviewInstanceIndex = src.maxMultiviewInstanceIndex;
7781}
7782
7783safe_VkPhysicalDeviceMultiviewProperties& safe_VkPhysicalDeviceMultiviewProperties::operator=(const safe_VkPhysicalDeviceMultiviewProperties& src)
7784{
7785 if (&src == this) return *this;
7786
7787
7788 sType = src.sType;
7789 pNext = src.pNext;
7790 maxMultiviewViewCount = src.maxMultiviewViewCount;
7791 maxMultiviewInstanceIndex = src.maxMultiviewInstanceIndex;
7792
7793 return *this;
7794}
7795
7796safe_VkPhysicalDeviceMultiviewProperties::~safe_VkPhysicalDeviceMultiviewProperties()
7797{
7798}
7799
7800void safe_VkPhysicalDeviceMultiviewProperties::initialize(const VkPhysicalDeviceMultiviewProperties* in_struct)
7801{
7802 sType = in_struct->sType;
7803 pNext = in_struct->pNext;
7804 maxMultiviewViewCount = in_struct->maxMultiviewViewCount;
7805 maxMultiviewInstanceIndex = in_struct->maxMultiviewInstanceIndex;
7806}
7807
7808void safe_VkPhysicalDeviceMultiviewProperties::initialize(const safe_VkPhysicalDeviceMultiviewProperties* src)
7809{
7810 sType = src->sType;
7811 pNext = src->pNext;
7812 maxMultiviewViewCount = src->maxMultiviewViewCount;
7813 maxMultiviewInstanceIndex = src->maxMultiviewInstanceIndex;
7814}
7815
7816safe_VkPhysicalDeviceVariablePointersFeatures::safe_VkPhysicalDeviceVariablePointersFeatures(const VkPhysicalDeviceVariablePointersFeatures* in_struct) :
7817 sType(in_struct->sType),
7818 pNext(in_struct->pNext),
7819 variablePointersStorageBuffer(in_struct->variablePointersStorageBuffer),
7820 variablePointers(in_struct->variablePointers)
7821{
7822}
7823
7824safe_VkPhysicalDeviceVariablePointersFeatures::safe_VkPhysicalDeviceVariablePointersFeatures()
7825{}
7826
7827safe_VkPhysicalDeviceVariablePointersFeatures::safe_VkPhysicalDeviceVariablePointersFeatures(const safe_VkPhysicalDeviceVariablePointersFeatures& src)
7828{
7829 sType = src.sType;
7830 pNext = src.pNext;
7831 variablePointersStorageBuffer = src.variablePointersStorageBuffer;
7832 variablePointers = src.variablePointers;
7833}
7834
7835safe_VkPhysicalDeviceVariablePointersFeatures& safe_VkPhysicalDeviceVariablePointersFeatures::operator=(const safe_VkPhysicalDeviceVariablePointersFeatures& src)
7836{
7837 if (&src == this) return *this;
7838
7839
7840 sType = src.sType;
7841 pNext = src.pNext;
7842 variablePointersStorageBuffer = src.variablePointersStorageBuffer;
7843 variablePointers = src.variablePointers;
7844
7845 return *this;
7846}
7847
7848safe_VkPhysicalDeviceVariablePointersFeatures::~safe_VkPhysicalDeviceVariablePointersFeatures()
7849{
7850}
7851
7852void safe_VkPhysicalDeviceVariablePointersFeatures::initialize(const VkPhysicalDeviceVariablePointersFeatures* in_struct)
7853{
7854 sType = in_struct->sType;
7855 pNext = in_struct->pNext;
7856 variablePointersStorageBuffer = in_struct->variablePointersStorageBuffer;
7857 variablePointers = in_struct->variablePointers;
7858}
7859
7860void safe_VkPhysicalDeviceVariablePointersFeatures::initialize(const safe_VkPhysicalDeviceVariablePointersFeatures* src)
7861{
7862 sType = src->sType;
7863 pNext = src->pNext;
7864 variablePointersStorageBuffer = src->variablePointersStorageBuffer;
7865 variablePointers = src->variablePointers;
7866}
7867
7868safe_VkPhysicalDeviceProtectedMemoryFeatures::safe_VkPhysicalDeviceProtectedMemoryFeatures(const VkPhysicalDeviceProtectedMemoryFeatures* in_struct) :
7869 sType(in_struct->sType),
7870 pNext(in_struct->pNext),
7871 protectedMemory(in_struct->protectedMemory)
7872{
7873}
7874
7875safe_VkPhysicalDeviceProtectedMemoryFeatures::safe_VkPhysicalDeviceProtectedMemoryFeatures()
7876{}
7877
7878safe_VkPhysicalDeviceProtectedMemoryFeatures::safe_VkPhysicalDeviceProtectedMemoryFeatures(const safe_VkPhysicalDeviceProtectedMemoryFeatures& src)
7879{
7880 sType = src.sType;
7881 pNext = src.pNext;
7882 protectedMemory = src.protectedMemory;
7883}
7884
7885safe_VkPhysicalDeviceProtectedMemoryFeatures& safe_VkPhysicalDeviceProtectedMemoryFeatures::operator=(const safe_VkPhysicalDeviceProtectedMemoryFeatures& src)
7886{
7887 if (&src == this) return *this;
7888
7889
7890 sType = src.sType;
7891 pNext = src.pNext;
7892 protectedMemory = src.protectedMemory;
7893
7894 return *this;
7895}
7896
7897safe_VkPhysicalDeviceProtectedMemoryFeatures::~safe_VkPhysicalDeviceProtectedMemoryFeatures()
7898{
7899}
7900
7901void safe_VkPhysicalDeviceProtectedMemoryFeatures::initialize(const VkPhysicalDeviceProtectedMemoryFeatures* in_struct)
7902{
7903 sType = in_struct->sType;
7904 pNext = in_struct->pNext;
7905 protectedMemory = in_struct->protectedMemory;
7906}
7907
7908void safe_VkPhysicalDeviceProtectedMemoryFeatures::initialize(const safe_VkPhysicalDeviceProtectedMemoryFeatures* src)
7909{
7910 sType = src->sType;
7911 pNext = src->pNext;
7912 protectedMemory = src->protectedMemory;
7913}
7914
7915safe_VkPhysicalDeviceProtectedMemoryProperties::safe_VkPhysicalDeviceProtectedMemoryProperties(const VkPhysicalDeviceProtectedMemoryProperties* in_struct) :
7916 sType(in_struct->sType),
7917 pNext(in_struct->pNext),
7918 protectedNoFault(in_struct->protectedNoFault)
7919{
7920}
7921
7922safe_VkPhysicalDeviceProtectedMemoryProperties::safe_VkPhysicalDeviceProtectedMemoryProperties()
7923{}
7924
7925safe_VkPhysicalDeviceProtectedMemoryProperties::safe_VkPhysicalDeviceProtectedMemoryProperties(const safe_VkPhysicalDeviceProtectedMemoryProperties& src)
7926{
7927 sType = src.sType;
7928 pNext = src.pNext;
7929 protectedNoFault = src.protectedNoFault;
7930}
7931
7932safe_VkPhysicalDeviceProtectedMemoryProperties& safe_VkPhysicalDeviceProtectedMemoryProperties::operator=(const safe_VkPhysicalDeviceProtectedMemoryProperties& src)
7933{
7934 if (&src == this) return *this;
7935
7936
7937 sType = src.sType;
7938 pNext = src.pNext;
7939 protectedNoFault = src.protectedNoFault;
7940
7941 return *this;
7942}
7943
7944safe_VkPhysicalDeviceProtectedMemoryProperties::~safe_VkPhysicalDeviceProtectedMemoryProperties()
7945{
7946}
7947
7948void safe_VkPhysicalDeviceProtectedMemoryProperties::initialize(const VkPhysicalDeviceProtectedMemoryProperties* in_struct)
7949{
7950 sType = in_struct->sType;
7951 pNext = in_struct->pNext;
7952 protectedNoFault = in_struct->protectedNoFault;
7953}
7954
7955void safe_VkPhysicalDeviceProtectedMemoryProperties::initialize(const safe_VkPhysicalDeviceProtectedMemoryProperties* src)
7956{
7957 sType = src->sType;
7958 pNext = src->pNext;
7959 protectedNoFault = src->protectedNoFault;
7960}
7961
7962safe_VkDeviceQueueInfo2::safe_VkDeviceQueueInfo2(const VkDeviceQueueInfo2* in_struct) :
7963 sType(in_struct->sType),
7964 pNext(in_struct->pNext),
7965 flags(in_struct->flags),
7966 queueFamilyIndex(in_struct->queueFamilyIndex),
7967 queueIndex(in_struct->queueIndex)
7968{
7969}
7970
7971safe_VkDeviceQueueInfo2::safe_VkDeviceQueueInfo2()
7972{}
7973
7974safe_VkDeviceQueueInfo2::safe_VkDeviceQueueInfo2(const safe_VkDeviceQueueInfo2& src)
7975{
7976 sType = src.sType;
7977 pNext = src.pNext;
7978 flags = src.flags;
7979 queueFamilyIndex = src.queueFamilyIndex;
7980 queueIndex = src.queueIndex;
7981}
7982
7983safe_VkDeviceQueueInfo2& safe_VkDeviceQueueInfo2::operator=(const safe_VkDeviceQueueInfo2& src)
7984{
7985 if (&src == this) return *this;
7986
7987
7988 sType = src.sType;
7989 pNext = src.pNext;
7990 flags = src.flags;
7991 queueFamilyIndex = src.queueFamilyIndex;
7992 queueIndex = src.queueIndex;
7993
7994 return *this;
7995}
7996
7997safe_VkDeviceQueueInfo2::~safe_VkDeviceQueueInfo2()
7998{
7999}
8000
8001void safe_VkDeviceQueueInfo2::initialize(const VkDeviceQueueInfo2* in_struct)
8002{
8003 sType = in_struct->sType;
8004 pNext = in_struct->pNext;
8005 flags = in_struct->flags;
8006 queueFamilyIndex = in_struct->queueFamilyIndex;
8007 queueIndex = in_struct->queueIndex;
8008}
8009
8010void safe_VkDeviceQueueInfo2::initialize(const safe_VkDeviceQueueInfo2* src)
8011{
8012 sType = src->sType;
8013 pNext = src->pNext;
8014 flags = src->flags;
8015 queueFamilyIndex = src->queueFamilyIndex;
8016 queueIndex = src->queueIndex;
8017}
8018
8019safe_VkProtectedSubmitInfo::safe_VkProtectedSubmitInfo(const VkProtectedSubmitInfo* in_struct) :
8020 sType(in_struct->sType),
8021 pNext(in_struct->pNext),
8022 protectedSubmit(in_struct->protectedSubmit)
8023{
8024}
8025
8026safe_VkProtectedSubmitInfo::safe_VkProtectedSubmitInfo()
8027{}
8028
8029safe_VkProtectedSubmitInfo::safe_VkProtectedSubmitInfo(const safe_VkProtectedSubmitInfo& src)
8030{
8031 sType = src.sType;
8032 pNext = src.pNext;
8033 protectedSubmit = src.protectedSubmit;
8034}
8035
8036safe_VkProtectedSubmitInfo& safe_VkProtectedSubmitInfo::operator=(const safe_VkProtectedSubmitInfo& src)
8037{
8038 if (&src == this) return *this;
8039
8040
8041 sType = src.sType;
8042 pNext = src.pNext;
8043 protectedSubmit = src.protectedSubmit;
8044
8045 return *this;
8046}
8047
8048safe_VkProtectedSubmitInfo::~safe_VkProtectedSubmitInfo()
8049{
8050}
8051
8052void safe_VkProtectedSubmitInfo::initialize(const VkProtectedSubmitInfo* in_struct)
8053{
8054 sType = in_struct->sType;
8055 pNext = in_struct->pNext;
8056 protectedSubmit = in_struct->protectedSubmit;
8057}
8058
8059void safe_VkProtectedSubmitInfo::initialize(const safe_VkProtectedSubmitInfo* src)
8060{
8061 sType = src->sType;
8062 pNext = src->pNext;
8063 protectedSubmit = src->protectedSubmit;
8064}
8065
8066safe_VkSamplerYcbcrConversionCreateInfo::safe_VkSamplerYcbcrConversionCreateInfo(const VkSamplerYcbcrConversionCreateInfo* in_struct) :
8067 sType(in_struct->sType),
8068 pNext(in_struct->pNext),
8069 format(in_struct->format),
8070 ycbcrModel(in_struct->ycbcrModel),
8071 ycbcrRange(in_struct->ycbcrRange),
8072 components(in_struct->components),
8073 xChromaOffset(in_struct->xChromaOffset),
8074 yChromaOffset(in_struct->yChromaOffset),
8075 chromaFilter(in_struct->chromaFilter),
8076 forceExplicitReconstruction(in_struct->forceExplicitReconstruction)
8077{
8078}
8079
8080safe_VkSamplerYcbcrConversionCreateInfo::safe_VkSamplerYcbcrConversionCreateInfo()
8081{}
8082
8083safe_VkSamplerYcbcrConversionCreateInfo::safe_VkSamplerYcbcrConversionCreateInfo(const safe_VkSamplerYcbcrConversionCreateInfo& src)
8084{
8085 sType = src.sType;
8086 pNext = src.pNext;
8087 format = src.format;
8088 ycbcrModel = src.ycbcrModel;
8089 ycbcrRange = src.ycbcrRange;
8090 components = src.components;
8091 xChromaOffset = src.xChromaOffset;
8092 yChromaOffset = src.yChromaOffset;
8093 chromaFilter = src.chromaFilter;
8094 forceExplicitReconstruction = src.forceExplicitReconstruction;
8095}
8096
8097safe_VkSamplerYcbcrConversionCreateInfo& safe_VkSamplerYcbcrConversionCreateInfo::operator=(const safe_VkSamplerYcbcrConversionCreateInfo& src)
8098{
8099 if (&src == this) return *this;
8100
8101
8102 sType = src.sType;
8103 pNext = src.pNext;
8104 format = src.format;
8105 ycbcrModel = src.ycbcrModel;
8106 ycbcrRange = src.ycbcrRange;
8107 components = src.components;
8108 xChromaOffset = src.xChromaOffset;
8109 yChromaOffset = src.yChromaOffset;
8110 chromaFilter = src.chromaFilter;
8111 forceExplicitReconstruction = src.forceExplicitReconstruction;
8112
8113 return *this;
8114}
8115
8116safe_VkSamplerYcbcrConversionCreateInfo::~safe_VkSamplerYcbcrConversionCreateInfo()
8117{
8118}
8119
8120void safe_VkSamplerYcbcrConversionCreateInfo::initialize(const VkSamplerYcbcrConversionCreateInfo* in_struct)
8121{
8122 sType = in_struct->sType;
8123 pNext = in_struct->pNext;
8124 format = in_struct->format;
8125 ycbcrModel = in_struct->ycbcrModel;
8126 ycbcrRange = in_struct->ycbcrRange;
8127 components = in_struct->components;
8128 xChromaOffset = in_struct->xChromaOffset;
8129 yChromaOffset = in_struct->yChromaOffset;
8130 chromaFilter = in_struct->chromaFilter;
8131 forceExplicitReconstruction = in_struct->forceExplicitReconstruction;
8132}
8133
8134void safe_VkSamplerYcbcrConversionCreateInfo::initialize(const safe_VkSamplerYcbcrConversionCreateInfo* src)
8135{
8136 sType = src->sType;
8137 pNext = src->pNext;
8138 format = src->format;
8139 ycbcrModel = src->ycbcrModel;
8140 ycbcrRange = src->ycbcrRange;
8141 components = src->components;
8142 xChromaOffset = src->xChromaOffset;
8143 yChromaOffset = src->yChromaOffset;
8144 chromaFilter = src->chromaFilter;
8145 forceExplicitReconstruction = src->forceExplicitReconstruction;
8146}
8147
8148safe_VkSamplerYcbcrConversionInfo::safe_VkSamplerYcbcrConversionInfo(const VkSamplerYcbcrConversionInfo* in_struct) :
8149 sType(in_struct->sType),
8150 pNext(in_struct->pNext),
8151 conversion(in_struct->conversion)
8152{
8153}
8154
8155safe_VkSamplerYcbcrConversionInfo::safe_VkSamplerYcbcrConversionInfo()
8156{}
8157
8158safe_VkSamplerYcbcrConversionInfo::safe_VkSamplerYcbcrConversionInfo(const safe_VkSamplerYcbcrConversionInfo& src)
8159{
8160 sType = src.sType;
8161 pNext = src.pNext;
8162 conversion = src.conversion;
8163}
8164
8165safe_VkSamplerYcbcrConversionInfo& safe_VkSamplerYcbcrConversionInfo::operator=(const safe_VkSamplerYcbcrConversionInfo& src)
8166{
8167 if (&src == this) return *this;
8168
8169
8170 sType = src.sType;
8171 pNext = src.pNext;
8172 conversion = src.conversion;
8173
8174 return *this;
8175}
8176
8177safe_VkSamplerYcbcrConversionInfo::~safe_VkSamplerYcbcrConversionInfo()
8178{
8179}
8180
8181void safe_VkSamplerYcbcrConversionInfo::initialize(const VkSamplerYcbcrConversionInfo* in_struct)
8182{
8183 sType = in_struct->sType;
8184 pNext = in_struct->pNext;
8185 conversion = in_struct->conversion;
8186}
8187
8188void safe_VkSamplerYcbcrConversionInfo::initialize(const safe_VkSamplerYcbcrConversionInfo* src)
8189{
8190 sType = src->sType;
8191 pNext = src->pNext;
8192 conversion = src->conversion;
8193}
8194
8195safe_VkBindImagePlaneMemoryInfo::safe_VkBindImagePlaneMemoryInfo(const VkBindImagePlaneMemoryInfo* in_struct) :
8196 sType(in_struct->sType),
8197 pNext(in_struct->pNext),
8198 planeAspect(in_struct->planeAspect)
8199{
8200}
8201
8202safe_VkBindImagePlaneMemoryInfo::safe_VkBindImagePlaneMemoryInfo()
8203{}
8204
8205safe_VkBindImagePlaneMemoryInfo::safe_VkBindImagePlaneMemoryInfo(const safe_VkBindImagePlaneMemoryInfo& src)
8206{
8207 sType = src.sType;
8208 pNext = src.pNext;
8209 planeAspect = src.planeAspect;
8210}
8211
8212safe_VkBindImagePlaneMemoryInfo& safe_VkBindImagePlaneMemoryInfo::operator=(const safe_VkBindImagePlaneMemoryInfo& src)
8213{
8214 if (&src == this) return *this;
8215
8216
8217 sType = src.sType;
8218 pNext = src.pNext;
8219 planeAspect = src.planeAspect;
8220
8221 return *this;
8222}
8223
8224safe_VkBindImagePlaneMemoryInfo::~safe_VkBindImagePlaneMemoryInfo()
8225{
8226}
8227
8228void safe_VkBindImagePlaneMemoryInfo::initialize(const VkBindImagePlaneMemoryInfo* in_struct)
8229{
8230 sType = in_struct->sType;
8231 pNext = in_struct->pNext;
8232 planeAspect = in_struct->planeAspect;
8233}
8234
8235void safe_VkBindImagePlaneMemoryInfo::initialize(const safe_VkBindImagePlaneMemoryInfo* src)
8236{
8237 sType = src->sType;
8238 pNext = src->pNext;
8239 planeAspect = src->planeAspect;
8240}
8241
8242safe_VkImagePlaneMemoryRequirementsInfo::safe_VkImagePlaneMemoryRequirementsInfo(const VkImagePlaneMemoryRequirementsInfo* in_struct) :
8243 sType(in_struct->sType),
8244 pNext(in_struct->pNext),
8245 planeAspect(in_struct->planeAspect)
8246{
8247}
8248
8249safe_VkImagePlaneMemoryRequirementsInfo::safe_VkImagePlaneMemoryRequirementsInfo()
8250{}
8251
8252safe_VkImagePlaneMemoryRequirementsInfo::safe_VkImagePlaneMemoryRequirementsInfo(const safe_VkImagePlaneMemoryRequirementsInfo& src)
8253{
8254 sType = src.sType;
8255 pNext = src.pNext;
8256 planeAspect = src.planeAspect;
8257}
8258
8259safe_VkImagePlaneMemoryRequirementsInfo& safe_VkImagePlaneMemoryRequirementsInfo::operator=(const safe_VkImagePlaneMemoryRequirementsInfo& src)
8260{
8261 if (&src == this) return *this;
8262
8263
8264 sType = src.sType;
8265 pNext = src.pNext;
8266 planeAspect = src.planeAspect;
8267
8268 return *this;
8269}
8270
8271safe_VkImagePlaneMemoryRequirementsInfo::~safe_VkImagePlaneMemoryRequirementsInfo()
8272{
8273}
8274
8275void safe_VkImagePlaneMemoryRequirementsInfo::initialize(const VkImagePlaneMemoryRequirementsInfo* in_struct)
8276{
8277 sType = in_struct->sType;
8278 pNext = in_struct->pNext;
8279 planeAspect = in_struct->planeAspect;
8280}
8281
8282void safe_VkImagePlaneMemoryRequirementsInfo::initialize(const safe_VkImagePlaneMemoryRequirementsInfo* src)
8283{
8284 sType = src->sType;
8285 pNext = src->pNext;
8286 planeAspect = src->planeAspect;
8287}
8288
8289safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures::safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures(const VkPhysicalDeviceSamplerYcbcrConversionFeatures* in_struct) :
8290 sType(in_struct->sType),
8291 pNext(in_struct->pNext),
8292 samplerYcbcrConversion(in_struct->samplerYcbcrConversion)
8293{
8294}
8295
8296safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures::safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures()
8297{}
8298
8299safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures::safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures(const safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures& src)
8300{
8301 sType = src.sType;
8302 pNext = src.pNext;
8303 samplerYcbcrConversion = src.samplerYcbcrConversion;
8304}
8305
8306safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures& safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures::operator=(const safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures& src)
8307{
8308 if (&src == this) return *this;
8309
8310
8311 sType = src.sType;
8312 pNext = src.pNext;
8313 samplerYcbcrConversion = src.samplerYcbcrConversion;
8314
8315 return *this;
8316}
8317
8318safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures::~safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures()
8319{
8320}
8321
8322void safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures::initialize(const VkPhysicalDeviceSamplerYcbcrConversionFeatures* in_struct)
8323{
8324 sType = in_struct->sType;
8325 pNext = in_struct->pNext;
8326 samplerYcbcrConversion = in_struct->samplerYcbcrConversion;
8327}
8328
8329void safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures::initialize(const safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures* src)
8330{
8331 sType = src->sType;
8332 pNext = src->pNext;
8333 samplerYcbcrConversion = src->samplerYcbcrConversion;
8334}
8335
8336safe_VkSamplerYcbcrConversionImageFormatProperties::safe_VkSamplerYcbcrConversionImageFormatProperties(const VkSamplerYcbcrConversionImageFormatProperties* in_struct) :
8337 sType(in_struct->sType),
8338 pNext(in_struct->pNext),
8339 combinedImageSamplerDescriptorCount(in_struct->combinedImageSamplerDescriptorCount)
8340{
8341}
8342
8343safe_VkSamplerYcbcrConversionImageFormatProperties::safe_VkSamplerYcbcrConversionImageFormatProperties()
8344{}
8345
8346safe_VkSamplerYcbcrConversionImageFormatProperties::safe_VkSamplerYcbcrConversionImageFormatProperties(const safe_VkSamplerYcbcrConversionImageFormatProperties& src)
8347{
8348 sType = src.sType;
8349 pNext = src.pNext;
8350 combinedImageSamplerDescriptorCount = src.combinedImageSamplerDescriptorCount;
8351}
8352
8353safe_VkSamplerYcbcrConversionImageFormatProperties& safe_VkSamplerYcbcrConversionImageFormatProperties::operator=(const safe_VkSamplerYcbcrConversionImageFormatProperties& src)
8354{
8355 if (&src == this) return *this;
8356
8357
8358 sType = src.sType;
8359 pNext = src.pNext;
8360 combinedImageSamplerDescriptorCount = src.combinedImageSamplerDescriptorCount;
8361
8362 return *this;
8363}
8364
8365safe_VkSamplerYcbcrConversionImageFormatProperties::~safe_VkSamplerYcbcrConversionImageFormatProperties()
8366{
8367}
8368
8369void safe_VkSamplerYcbcrConversionImageFormatProperties::initialize(const VkSamplerYcbcrConversionImageFormatProperties* in_struct)
8370{
8371 sType = in_struct->sType;
8372 pNext = in_struct->pNext;
8373 combinedImageSamplerDescriptorCount = in_struct->combinedImageSamplerDescriptorCount;
8374}
8375
8376void safe_VkSamplerYcbcrConversionImageFormatProperties::initialize(const safe_VkSamplerYcbcrConversionImageFormatProperties* src)
8377{
8378 sType = src->sType;
8379 pNext = src->pNext;
8380 combinedImageSamplerDescriptorCount = src->combinedImageSamplerDescriptorCount;
8381}
8382
8383safe_VkDescriptorUpdateTemplateCreateInfo::safe_VkDescriptorUpdateTemplateCreateInfo(const VkDescriptorUpdateTemplateCreateInfo* in_struct) :
8384 sType(in_struct->sType),
8385 pNext(in_struct->pNext),
8386 flags(in_struct->flags),
8387 descriptorUpdateEntryCount(in_struct->descriptorUpdateEntryCount),
8388 pDescriptorUpdateEntries(nullptr),
8389 templateType(in_struct->templateType),
8390 descriptorSetLayout(in_struct->descriptorSetLayout),
8391 pipelineBindPoint(in_struct->pipelineBindPoint),
8392 pipelineLayout(in_struct->pipelineLayout),
8393 set(in_struct->set)
8394{
8395 if (in_struct->pDescriptorUpdateEntries) {
8396 pDescriptorUpdateEntries = new VkDescriptorUpdateTemplateEntry[in_struct->descriptorUpdateEntryCount];
8397 memcpy ((void *)pDescriptorUpdateEntries, (void *)in_struct->pDescriptorUpdateEntries, sizeof(VkDescriptorUpdateTemplateEntry)*in_struct->descriptorUpdateEntryCount);
8398 }
8399}
8400
8401safe_VkDescriptorUpdateTemplateCreateInfo::safe_VkDescriptorUpdateTemplateCreateInfo() :
8402 pDescriptorUpdateEntries(nullptr)
8403{}
8404
8405safe_VkDescriptorUpdateTemplateCreateInfo::safe_VkDescriptorUpdateTemplateCreateInfo(const safe_VkDescriptorUpdateTemplateCreateInfo& src)
8406{
8407 sType = src.sType;
8408 pNext = src.pNext;
8409 flags = src.flags;
8410 descriptorUpdateEntryCount = src.descriptorUpdateEntryCount;
8411 pDescriptorUpdateEntries = nullptr;
8412 templateType = src.templateType;
8413 descriptorSetLayout = src.descriptorSetLayout;
8414 pipelineBindPoint = src.pipelineBindPoint;
8415 pipelineLayout = src.pipelineLayout;
8416 set = src.set;
8417 if (src.pDescriptorUpdateEntries) {
8418 pDescriptorUpdateEntries = new VkDescriptorUpdateTemplateEntry[src.descriptorUpdateEntryCount];
8419 memcpy ((void *)pDescriptorUpdateEntries, (void *)src.pDescriptorUpdateEntries, sizeof(VkDescriptorUpdateTemplateEntry)*src.descriptorUpdateEntryCount);
8420 }
8421}
8422
8423safe_VkDescriptorUpdateTemplateCreateInfo& safe_VkDescriptorUpdateTemplateCreateInfo::operator=(const safe_VkDescriptorUpdateTemplateCreateInfo& src)
8424{
8425 if (&src == this) return *this;
8426
8427 if (pDescriptorUpdateEntries)
8428 delete[] pDescriptorUpdateEntries;
8429
8430 sType = src.sType;
8431 pNext = src.pNext;
8432 flags = src.flags;
8433 descriptorUpdateEntryCount = src.descriptorUpdateEntryCount;
8434 pDescriptorUpdateEntries = nullptr;
8435 templateType = src.templateType;
8436 descriptorSetLayout = src.descriptorSetLayout;
8437 pipelineBindPoint = src.pipelineBindPoint;
8438 pipelineLayout = src.pipelineLayout;
8439 set = src.set;
8440 if (src.pDescriptorUpdateEntries) {
8441 pDescriptorUpdateEntries = new VkDescriptorUpdateTemplateEntry[src.descriptorUpdateEntryCount];
8442 memcpy ((void *)pDescriptorUpdateEntries, (void *)src.pDescriptorUpdateEntries, sizeof(VkDescriptorUpdateTemplateEntry)*src.descriptorUpdateEntryCount);
8443 }
8444
8445 return *this;
8446}
8447
8448safe_VkDescriptorUpdateTemplateCreateInfo::~safe_VkDescriptorUpdateTemplateCreateInfo()
8449{
8450 if (pDescriptorUpdateEntries)
8451 delete[] pDescriptorUpdateEntries;
8452}
8453
8454void safe_VkDescriptorUpdateTemplateCreateInfo::initialize(const VkDescriptorUpdateTemplateCreateInfo* in_struct)
8455{
8456 sType = in_struct->sType;
8457 pNext = in_struct->pNext;
8458 flags = in_struct->flags;
8459 descriptorUpdateEntryCount = in_struct->descriptorUpdateEntryCount;
8460 pDescriptorUpdateEntries = nullptr;
8461 templateType = in_struct->templateType;
8462 descriptorSetLayout = in_struct->descriptorSetLayout;
8463 pipelineBindPoint = in_struct->pipelineBindPoint;
8464 pipelineLayout = in_struct->pipelineLayout;
8465 set = in_struct->set;
8466 if (in_struct->pDescriptorUpdateEntries) {
8467 pDescriptorUpdateEntries = new VkDescriptorUpdateTemplateEntry[in_struct->descriptorUpdateEntryCount];
8468 memcpy ((void *)pDescriptorUpdateEntries, (void *)in_struct->pDescriptorUpdateEntries, sizeof(VkDescriptorUpdateTemplateEntry)*in_struct->descriptorUpdateEntryCount);
8469 }
8470}
8471
8472void safe_VkDescriptorUpdateTemplateCreateInfo::initialize(const safe_VkDescriptorUpdateTemplateCreateInfo* src)
8473{
8474 sType = src->sType;
8475 pNext = src->pNext;
8476 flags = src->flags;
8477 descriptorUpdateEntryCount = src->descriptorUpdateEntryCount;
8478 pDescriptorUpdateEntries = nullptr;
8479 templateType = src->templateType;
8480 descriptorSetLayout = src->descriptorSetLayout;
8481 pipelineBindPoint = src->pipelineBindPoint;
8482 pipelineLayout = src->pipelineLayout;
8483 set = src->set;
8484 if (src->pDescriptorUpdateEntries) {
8485 pDescriptorUpdateEntries = new VkDescriptorUpdateTemplateEntry[src->descriptorUpdateEntryCount];
8486 memcpy ((void *)pDescriptorUpdateEntries, (void *)src->pDescriptorUpdateEntries, sizeof(VkDescriptorUpdateTemplateEntry)*src->descriptorUpdateEntryCount);
8487 }
8488}
8489
8490safe_VkPhysicalDeviceExternalImageFormatInfo::safe_VkPhysicalDeviceExternalImageFormatInfo(const VkPhysicalDeviceExternalImageFormatInfo* in_struct) :
8491 sType(in_struct->sType),
8492 pNext(in_struct->pNext),
8493 handleType(in_struct->handleType)
8494{
8495}
8496
8497safe_VkPhysicalDeviceExternalImageFormatInfo::safe_VkPhysicalDeviceExternalImageFormatInfo()
8498{}
8499
8500safe_VkPhysicalDeviceExternalImageFormatInfo::safe_VkPhysicalDeviceExternalImageFormatInfo(const safe_VkPhysicalDeviceExternalImageFormatInfo& src)
8501{
8502 sType = src.sType;
8503 pNext = src.pNext;
8504 handleType = src.handleType;
8505}
8506
8507safe_VkPhysicalDeviceExternalImageFormatInfo& safe_VkPhysicalDeviceExternalImageFormatInfo::operator=(const safe_VkPhysicalDeviceExternalImageFormatInfo& src)
8508{
8509 if (&src == this) return *this;
8510
8511
8512 sType = src.sType;
8513 pNext = src.pNext;
8514 handleType = src.handleType;
8515
8516 return *this;
8517}
8518
8519safe_VkPhysicalDeviceExternalImageFormatInfo::~safe_VkPhysicalDeviceExternalImageFormatInfo()
8520{
8521}
8522
8523void safe_VkPhysicalDeviceExternalImageFormatInfo::initialize(const VkPhysicalDeviceExternalImageFormatInfo* in_struct)
8524{
8525 sType = in_struct->sType;
8526 pNext = in_struct->pNext;
8527 handleType = in_struct->handleType;
8528}
8529
8530void safe_VkPhysicalDeviceExternalImageFormatInfo::initialize(const safe_VkPhysicalDeviceExternalImageFormatInfo* src)
8531{
8532 sType = src->sType;
8533 pNext = src->pNext;
8534 handleType = src->handleType;
8535}
8536
8537safe_VkExternalImageFormatProperties::safe_VkExternalImageFormatProperties(const VkExternalImageFormatProperties* in_struct) :
8538 sType(in_struct->sType),
8539 pNext(in_struct->pNext),
8540 externalMemoryProperties(in_struct->externalMemoryProperties)
8541{
8542}
8543
8544safe_VkExternalImageFormatProperties::safe_VkExternalImageFormatProperties()
8545{}
8546
8547safe_VkExternalImageFormatProperties::safe_VkExternalImageFormatProperties(const safe_VkExternalImageFormatProperties& src)
8548{
8549 sType = src.sType;
8550 pNext = src.pNext;
8551 externalMemoryProperties = src.externalMemoryProperties;
8552}
8553
8554safe_VkExternalImageFormatProperties& safe_VkExternalImageFormatProperties::operator=(const safe_VkExternalImageFormatProperties& src)
8555{
8556 if (&src == this) return *this;
8557
8558
8559 sType = src.sType;
8560 pNext = src.pNext;
8561 externalMemoryProperties = src.externalMemoryProperties;
8562
8563 return *this;
8564}
8565
8566safe_VkExternalImageFormatProperties::~safe_VkExternalImageFormatProperties()
8567{
8568}
8569
8570void safe_VkExternalImageFormatProperties::initialize(const VkExternalImageFormatProperties* in_struct)
8571{
8572 sType = in_struct->sType;
8573 pNext = in_struct->pNext;
8574 externalMemoryProperties = in_struct->externalMemoryProperties;
8575}
8576
8577void safe_VkExternalImageFormatProperties::initialize(const safe_VkExternalImageFormatProperties* src)
8578{
8579 sType = src->sType;
8580 pNext = src->pNext;
8581 externalMemoryProperties = src->externalMemoryProperties;
8582}
8583
8584safe_VkPhysicalDeviceExternalBufferInfo::safe_VkPhysicalDeviceExternalBufferInfo(const VkPhysicalDeviceExternalBufferInfo* in_struct) :
8585 sType(in_struct->sType),
8586 pNext(in_struct->pNext),
8587 flags(in_struct->flags),
8588 usage(in_struct->usage),
8589 handleType(in_struct->handleType)
8590{
8591}
8592
8593safe_VkPhysicalDeviceExternalBufferInfo::safe_VkPhysicalDeviceExternalBufferInfo()
8594{}
8595
8596safe_VkPhysicalDeviceExternalBufferInfo::safe_VkPhysicalDeviceExternalBufferInfo(const safe_VkPhysicalDeviceExternalBufferInfo& src)
8597{
8598 sType = src.sType;
8599 pNext = src.pNext;
8600 flags = src.flags;
8601 usage = src.usage;
8602 handleType = src.handleType;
8603}
8604
8605safe_VkPhysicalDeviceExternalBufferInfo& safe_VkPhysicalDeviceExternalBufferInfo::operator=(const safe_VkPhysicalDeviceExternalBufferInfo& src)
8606{
8607 if (&src == this) return *this;
8608
8609
8610 sType = src.sType;
8611 pNext = src.pNext;
8612 flags = src.flags;
8613 usage = src.usage;
8614 handleType = src.handleType;
8615
8616 return *this;
8617}
8618
8619safe_VkPhysicalDeviceExternalBufferInfo::~safe_VkPhysicalDeviceExternalBufferInfo()
8620{
8621}
8622
8623void safe_VkPhysicalDeviceExternalBufferInfo::initialize(const VkPhysicalDeviceExternalBufferInfo* in_struct)
8624{
8625 sType = in_struct->sType;
8626 pNext = in_struct->pNext;
8627 flags = in_struct->flags;
8628 usage = in_struct->usage;
8629 handleType = in_struct->handleType;
8630}
8631
8632void safe_VkPhysicalDeviceExternalBufferInfo::initialize(const safe_VkPhysicalDeviceExternalBufferInfo* src)
8633{
8634 sType = src->sType;
8635 pNext = src->pNext;
8636 flags = src->flags;
8637 usage = src->usage;
8638 handleType = src->handleType;
8639}
8640
8641safe_VkExternalBufferProperties::safe_VkExternalBufferProperties(const VkExternalBufferProperties* in_struct) :
8642 sType(in_struct->sType),
8643 pNext(in_struct->pNext),
8644 externalMemoryProperties(in_struct->externalMemoryProperties)
8645{
8646}
8647
8648safe_VkExternalBufferProperties::safe_VkExternalBufferProperties()
8649{}
8650
8651safe_VkExternalBufferProperties::safe_VkExternalBufferProperties(const safe_VkExternalBufferProperties& src)
8652{
8653 sType = src.sType;
8654 pNext = src.pNext;
8655 externalMemoryProperties = src.externalMemoryProperties;
8656}
8657
8658safe_VkExternalBufferProperties& safe_VkExternalBufferProperties::operator=(const safe_VkExternalBufferProperties& src)
8659{
8660 if (&src == this) return *this;
8661
8662
8663 sType = src.sType;
8664 pNext = src.pNext;
8665 externalMemoryProperties = src.externalMemoryProperties;
8666
8667 return *this;
8668}
8669
8670safe_VkExternalBufferProperties::~safe_VkExternalBufferProperties()
8671{
8672}
8673
8674void safe_VkExternalBufferProperties::initialize(const VkExternalBufferProperties* in_struct)
8675{
8676 sType = in_struct->sType;
8677 pNext = in_struct->pNext;
8678 externalMemoryProperties = in_struct->externalMemoryProperties;
8679}
8680
8681void safe_VkExternalBufferProperties::initialize(const safe_VkExternalBufferProperties* src)
8682{
8683 sType = src->sType;
8684 pNext = src->pNext;
8685 externalMemoryProperties = src->externalMemoryProperties;
8686}
8687
8688safe_VkPhysicalDeviceIDProperties::safe_VkPhysicalDeviceIDProperties(const VkPhysicalDeviceIDProperties* in_struct) :
8689 sType(in_struct->sType),
8690 pNext(in_struct->pNext),
8691 deviceNodeMask(in_struct->deviceNodeMask),
8692 deviceLUIDValid(in_struct->deviceLUIDValid)
8693{
8694 for (uint32_t i=0; i<VK_UUID_SIZE; ++i) {
8695 deviceUUID[i] = in_struct->deviceUUID[i];
8696 }
8697 for (uint32_t i=0; i<VK_UUID_SIZE; ++i) {
8698 driverUUID[i] = in_struct->driverUUID[i];
8699 }
8700 for (uint32_t i=0; i<VK_LUID_SIZE; ++i) {
8701 deviceLUID[i] = in_struct->deviceLUID[i];
8702 }
8703}
8704
8705safe_VkPhysicalDeviceIDProperties::safe_VkPhysicalDeviceIDProperties()
8706{}
8707
8708safe_VkPhysicalDeviceIDProperties::safe_VkPhysicalDeviceIDProperties(const safe_VkPhysicalDeviceIDProperties& src)
8709{
8710 sType = src.sType;
8711 pNext = src.pNext;
8712 deviceNodeMask = src.deviceNodeMask;
8713 deviceLUIDValid = src.deviceLUIDValid;
8714 for (uint32_t i=0; i<VK_UUID_SIZE; ++i) {
8715 deviceUUID[i] = src.deviceUUID[i];
8716 }
8717 for (uint32_t i=0; i<VK_UUID_SIZE; ++i) {
8718 driverUUID[i] = src.driverUUID[i];
8719 }
8720 for (uint32_t i=0; i<VK_LUID_SIZE; ++i) {
8721 deviceLUID[i] = src.deviceLUID[i];
8722 }
8723}
8724
8725safe_VkPhysicalDeviceIDProperties& safe_VkPhysicalDeviceIDProperties::operator=(const safe_VkPhysicalDeviceIDProperties& src)
8726{
8727 if (&src == this) return *this;
8728
8729
8730 sType = src.sType;
8731 pNext = src.pNext;
8732 deviceNodeMask = src.deviceNodeMask;
8733 deviceLUIDValid = src.deviceLUIDValid;
8734 for (uint32_t i=0; i<VK_UUID_SIZE; ++i) {
8735 deviceUUID[i] = src.deviceUUID[i];
8736 }
8737 for (uint32_t i=0; i<VK_UUID_SIZE; ++i) {
8738 driverUUID[i] = src.driverUUID[i];
8739 }
8740 for (uint32_t i=0; i<VK_LUID_SIZE; ++i) {
8741 deviceLUID[i] = src.deviceLUID[i];
8742 }
8743
8744 return *this;
8745}
8746
8747safe_VkPhysicalDeviceIDProperties::~safe_VkPhysicalDeviceIDProperties()
8748{
8749}
8750
8751void safe_VkPhysicalDeviceIDProperties::initialize(const VkPhysicalDeviceIDProperties* in_struct)
8752{
8753 sType = in_struct->sType;
8754 pNext = in_struct->pNext;
8755 deviceNodeMask = in_struct->deviceNodeMask;
8756 deviceLUIDValid = in_struct->deviceLUIDValid;
8757 for (uint32_t i=0; i<VK_UUID_SIZE; ++i) {
8758 deviceUUID[i] = in_struct->deviceUUID[i];
8759 }
8760 for (uint32_t i=0; i<VK_UUID_SIZE; ++i) {
8761 driverUUID[i] = in_struct->driverUUID[i];
8762 }
8763 for (uint32_t i=0; i<VK_LUID_SIZE; ++i) {
8764 deviceLUID[i] = in_struct->deviceLUID[i];
8765 }
8766}
8767
8768void safe_VkPhysicalDeviceIDProperties::initialize(const safe_VkPhysicalDeviceIDProperties* src)
8769{
8770 sType = src->sType;
8771 pNext = src->pNext;
8772 deviceNodeMask = src->deviceNodeMask;
8773 deviceLUIDValid = src->deviceLUIDValid;
8774 for (uint32_t i=0; i<VK_UUID_SIZE; ++i) {
8775 deviceUUID[i] = src->deviceUUID[i];
8776 }
8777 for (uint32_t i=0; i<VK_UUID_SIZE; ++i) {
8778 driverUUID[i] = src->driverUUID[i];
8779 }
8780 for (uint32_t i=0; i<VK_LUID_SIZE; ++i) {
8781 deviceLUID[i] = src->deviceLUID[i];
8782 }
8783}
8784
8785safe_VkExternalMemoryImageCreateInfo::safe_VkExternalMemoryImageCreateInfo(const VkExternalMemoryImageCreateInfo* in_struct) :
8786 sType(in_struct->sType),
8787 pNext(in_struct->pNext),
8788 handleTypes(in_struct->handleTypes)
8789{
8790}
8791
8792safe_VkExternalMemoryImageCreateInfo::safe_VkExternalMemoryImageCreateInfo()
8793{}
8794
8795safe_VkExternalMemoryImageCreateInfo::safe_VkExternalMemoryImageCreateInfo(const safe_VkExternalMemoryImageCreateInfo& src)
8796{
8797 sType = src.sType;
8798 pNext = src.pNext;
8799 handleTypes = src.handleTypes;
8800}
8801
8802safe_VkExternalMemoryImageCreateInfo& safe_VkExternalMemoryImageCreateInfo::operator=(const safe_VkExternalMemoryImageCreateInfo& src)
8803{
8804 if (&src == this) return *this;
8805
8806
8807 sType = src.sType;
8808 pNext = src.pNext;
8809 handleTypes = src.handleTypes;
8810
8811 return *this;
8812}
8813
8814safe_VkExternalMemoryImageCreateInfo::~safe_VkExternalMemoryImageCreateInfo()
8815{
8816}
8817
8818void safe_VkExternalMemoryImageCreateInfo::initialize(const VkExternalMemoryImageCreateInfo* in_struct)
8819{
8820 sType = in_struct->sType;
8821 pNext = in_struct->pNext;
8822 handleTypes = in_struct->handleTypes;
8823}
8824
8825void safe_VkExternalMemoryImageCreateInfo::initialize(const safe_VkExternalMemoryImageCreateInfo* src)
8826{
8827 sType = src->sType;
8828 pNext = src->pNext;
8829 handleTypes = src->handleTypes;
8830}
8831
8832safe_VkExternalMemoryBufferCreateInfo::safe_VkExternalMemoryBufferCreateInfo(const VkExternalMemoryBufferCreateInfo* in_struct) :
8833 sType(in_struct->sType),
8834 pNext(in_struct->pNext),
8835 handleTypes(in_struct->handleTypes)
8836{
8837}
8838
8839safe_VkExternalMemoryBufferCreateInfo::safe_VkExternalMemoryBufferCreateInfo()
8840{}
8841
8842safe_VkExternalMemoryBufferCreateInfo::safe_VkExternalMemoryBufferCreateInfo(const safe_VkExternalMemoryBufferCreateInfo& src)
8843{
8844 sType = src.sType;
8845 pNext = src.pNext;
8846 handleTypes = src.handleTypes;
8847}
8848
8849safe_VkExternalMemoryBufferCreateInfo& safe_VkExternalMemoryBufferCreateInfo::operator=(const safe_VkExternalMemoryBufferCreateInfo& src)
8850{
8851 if (&src == this) return *this;
8852
8853
8854 sType = src.sType;
8855 pNext = src.pNext;
8856 handleTypes = src.handleTypes;
8857
8858 return *this;
8859}
8860
8861safe_VkExternalMemoryBufferCreateInfo::~safe_VkExternalMemoryBufferCreateInfo()
8862{
8863}
8864
8865void safe_VkExternalMemoryBufferCreateInfo::initialize(const VkExternalMemoryBufferCreateInfo* in_struct)
8866{
8867 sType = in_struct->sType;
8868 pNext = in_struct->pNext;
8869 handleTypes = in_struct->handleTypes;
8870}
8871
8872void safe_VkExternalMemoryBufferCreateInfo::initialize(const safe_VkExternalMemoryBufferCreateInfo* src)
8873{
8874 sType = src->sType;
8875 pNext = src->pNext;
8876 handleTypes = src->handleTypes;
8877}
8878
8879safe_VkExportMemoryAllocateInfo::safe_VkExportMemoryAllocateInfo(const VkExportMemoryAllocateInfo* in_struct) :
8880 sType(in_struct->sType),
8881 pNext(in_struct->pNext),
8882 handleTypes(in_struct->handleTypes)
8883{
8884}
8885
8886safe_VkExportMemoryAllocateInfo::safe_VkExportMemoryAllocateInfo()
8887{}
8888
8889safe_VkExportMemoryAllocateInfo::safe_VkExportMemoryAllocateInfo(const safe_VkExportMemoryAllocateInfo& src)
8890{
8891 sType = src.sType;
8892 pNext = src.pNext;
8893 handleTypes = src.handleTypes;
8894}
8895
8896safe_VkExportMemoryAllocateInfo& safe_VkExportMemoryAllocateInfo::operator=(const safe_VkExportMemoryAllocateInfo& src)
8897{
8898 if (&src == this) return *this;
8899
8900
8901 sType = src.sType;
8902 pNext = src.pNext;
8903 handleTypes = src.handleTypes;
8904
8905 return *this;
8906}
8907
8908safe_VkExportMemoryAllocateInfo::~safe_VkExportMemoryAllocateInfo()
8909{
8910}
8911
8912void safe_VkExportMemoryAllocateInfo::initialize(const VkExportMemoryAllocateInfo* in_struct)
8913{
8914 sType = in_struct->sType;
8915 pNext = in_struct->pNext;
8916 handleTypes = in_struct->handleTypes;
8917}
8918
8919void safe_VkExportMemoryAllocateInfo::initialize(const safe_VkExportMemoryAllocateInfo* src)
8920{
8921 sType = src->sType;
8922 pNext = src->pNext;
8923 handleTypes = src->handleTypes;
8924}
8925
8926safe_VkPhysicalDeviceExternalFenceInfo::safe_VkPhysicalDeviceExternalFenceInfo(const VkPhysicalDeviceExternalFenceInfo* in_struct) :
8927 sType(in_struct->sType),
8928 pNext(in_struct->pNext),
8929 handleType(in_struct->handleType)
8930{
8931}
8932
8933safe_VkPhysicalDeviceExternalFenceInfo::safe_VkPhysicalDeviceExternalFenceInfo()
8934{}
8935
8936safe_VkPhysicalDeviceExternalFenceInfo::safe_VkPhysicalDeviceExternalFenceInfo(const safe_VkPhysicalDeviceExternalFenceInfo& src)
8937{
8938 sType = src.sType;
8939 pNext = src.pNext;
8940 handleType = src.handleType;
8941}
8942
8943safe_VkPhysicalDeviceExternalFenceInfo& safe_VkPhysicalDeviceExternalFenceInfo::operator=(const safe_VkPhysicalDeviceExternalFenceInfo& src)
8944{
8945 if (&src == this) return *this;
8946
8947
8948 sType = src.sType;
8949 pNext = src.pNext;
8950 handleType = src.handleType;
8951
8952 return *this;
8953}
8954
8955safe_VkPhysicalDeviceExternalFenceInfo::~safe_VkPhysicalDeviceExternalFenceInfo()
8956{
8957}
8958
8959void safe_VkPhysicalDeviceExternalFenceInfo::initialize(const VkPhysicalDeviceExternalFenceInfo* in_struct)
8960{
8961 sType = in_struct->sType;
8962 pNext = in_struct->pNext;
8963 handleType = in_struct->handleType;
8964}
8965
8966void safe_VkPhysicalDeviceExternalFenceInfo::initialize(const safe_VkPhysicalDeviceExternalFenceInfo* src)
8967{
8968 sType = src->sType;
8969 pNext = src->pNext;
8970 handleType = src->handleType;
8971}
8972
8973safe_VkExternalFenceProperties::safe_VkExternalFenceProperties(const VkExternalFenceProperties* in_struct) :
8974 sType(in_struct->sType),
8975 pNext(in_struct->pNext),
8976 exportFromImportedHandleTypes(in_struct->exportFromImportedHandleTypes),
8977 compatibleHandleTypes(in_struct->compatibleHandleTypes),
8978 externalFenceFeatures(in_struct->externalFenceFeatures)
8979{
8980}
8981
8982safe_VkExternalFenceProperties::safe_VkExternalFenceProperties()
8983{}
8984
8985safe_VkExternalFenceProperties::safe_VkExternalFenceProperties(const safe_VkExternalFenceProperties& src)
8986{
8987 sType = src.sType;
8988 pNext = src.pNext;
8989 exportFromImportedHandleTypes = src.exportFromImportedHandleTypes;
8990 compatibleHandleTypes = src.compatibleHandleTypes;
8991 externalFenceFeatures = src.externalFenceFeatures;
8992}
8993
8994safe_VkExternalFenceProperties& safe_VkExternalFenceProperties::operator=(const safe_VkExternalFenceProperties& src)
8995{
8996 if (&src == this) return *this;
8997
8998
8999 sType = src.sType;
9000 pNext = src.pNext;
9001 exportFromImportedHandleTypes = src.exportFromImportedHandleTypes;
9002 compatibleHandleTypes = src.compatibleHandleTypes;
9003 externalFenceFeatures = src.externalFenceFeatures;
9004
9005 return *this;
9006}
9007
9008safe_VkExternalFenceProperties::~safe_VkExternalFenceProperties()
9009{
9010}
9011
9012void safe_VkExternalFenceProperties::initialize(const VkExternalFenceProperties* in_struct)
9013{
9014 sType = in_struct->sType;
9015 pNext = in_struct->pNext;
9016 exportFromImportedHandleTypes = in_struct->exportFromImportedHandleTypes;
9017 compatibleHandleTypes = in_struct->compatibleHandleTypes;
9018 externalFenceFeatures = in_struct->externalFenceFeatures;
9019}
9020
9021void safe_VkExternalFenceProperties::initialize(const safe_VkExternalFenceProperties* src)
9022{
9023 sType = src->sType;
9024 pNext = src->pNext;
9025 exportFromImportedHandleTypes = src->exportFromImportedHandleTypes;
9026 compatibleHandleTypes = src->compatibleHandleTypes;
9027 externalFenceFeatures = src->externalFenceFeatures;
9028}
9029
9030safe_VkExportFenceCreateInfo::safe_VkExportFenceCreateInfo(const VkExportFenceCreateInfo* in_struct) :
9031 sType(in_struct->sType),
9032 pNext(in_struct->pNext),
9033 handleTypes(in_struct->handleTypes)
9034{
9035}
9036
9037safe_VkExportFenceCreateInfo::safe_VkExportFenceCreateInfo()
9038{}
9039
9040safe_VkExportFenceCreateInfo::safe_VkExportFenceCreateInfo(const safe_VkExportFenceCreateInfo& src)
9041{
9042 sType = src.sType;
9043 pNext = src.pNext;
9044 handleTypes = src.handleTypes;
9045}
9046
9047safe_VkExportFenceCreateInfo& safe_VkExportFenceCreateInfo::operator=(const safe_VkExportFenceCreateInfo& src)
9048{
9049 if (&src == this) return *this;
9050
9051
9052 sType = src.sType;
9053 pNext = src.pNext;
9054 handleTypes = src.handleTypes;
9055
9056 return *this;
9057}
9058
9059safe_VkExportFenceCreateInfo::~safe_VkExportFenceCreateInfo()
9060{
9061}
9062
9063void safe_VkExportFenceCreateInfo::initialize(const VkExportFenceCreateInfo* in_struct)
9064{
9065 sType = in_struct->sType;
9066 pNext = in_struct->pNext;
9067 handleTypes = in_struct->handleTypes;
9068}
9069
9070void safe_VkExportFenceCreateInfo::initialize(const safe_VkExportFenceCreateInfo* src)
9071{
9072 sType = src->sType;
9073 pNext = src->pNext;
9074 handleTypes = src->handleTypes;
9075}
9076
9077safe_VkExportSemaphoreCreateInfo::safe_VkExportSemaphoreCreateInfo(const VkExportSemaphoreCreateInfo* in_struct) :
9078 sType(in_struct->sType),
9079 pNext(in_struct->pNext),
9080 handleTypes(in_struct->handleTypes)
9081{
9082}
9083
9084safe_VkExportSemaphoreCreateInfo::safe_VkExportSemaphoreCreateInfo()
9085{}
9086
9087safe_VkExportSemaphoreCreateInfo::safe_VkExportSemaphoreCreateInfo(const safe_VkExportSemaphoreCreateInfo& src)
9088{
9089 sType = src.sType;
9090 pNext = src.pNext;
9091 handleTypes = src.handleTypes;
9092}
9093
9094safe_VkExportSemaphoreCreateInfo& safe_VkExportSemaphoreCreateInfo::operator=(const safe_VkExportSemaphoreCreateInfo& src)
9095{
9096 if (&src == this) return *this;
9097
9098
9099 sType = src.sType;
9100 pNext = src.pNext;
9101 handleTypes = src.handleTypes;
9102
9103 return *this;
9104}
9105
9106safe_VkExportSemaphoreCreateInfo::~safe_VkExportSemaphoreCreateInfo()
9107{
9108}
9109
9110void safe_VkExportSemaphoreCreateInfo::initialize(const VkExportSemaphoreCreateInfo* in_struct)
9111{
9112 sType = in_struct->sType;
9113 pNext = in_struct->pNext;
9114 handleTypes = in_struct->handleTypes;
9115}
9116
9117void safe_VkExportSemaphoreCreateInfo::initialize(const safe_VkExportSemaphoreCreateInfo* src)
9118{
9119 sType = src->sType;
9120 pNext = src->pNext;
9121 handleTypes = src->handleTypes;
9122}
9123
9124safe_VkPhysicalDeviceExternalSemaphoreInfo::safe_VkPhysicalDeviceExternalSemaphoreInfo(const VkPhysicalDeviceExternalSemaphoreInfo* in_struct) :
9125 sType(in_struct->sType),
9126 pNext(in_struct->pNext),
9127 handleType(in_struct->handleType)
9128{
9129}
9130
9131safe_VkPhysicalDeviceExternalSemaphoreInfo::safe_VkPhysicalDeviceExternalSemaphoreInfo()
9132{}
9133
9134safe_VkPhysicalDeviceExternalSemaphoreInfo::safe_VkPhysicalDeviceExternalSemaphoreInfo(const safe_VkPhysicalDeviceExternalSemaphoreInfo& src)
9135{
9136 sType = src.sType;
9137 pNext = src.pNext;
9138 handleType = src.handleType;
9139}
9140
9141safe_VkPhysicalDeviceExternalSemaphoreInfo& safe_VkPhysicalDeviceExternalSemaphoreInfo::operator=(const safe_VkPhysicalDeviceExternalSemaphoreInfo& src)
9142{
9143 if (&src == this) return *this;
9144
9145
9146 sType = src.sType;
9147 pNext = src.pNext;
9148 handleType = src.handleType;
9149
9150 return *this;
9151}
9152
9153safe_VkPhysicalDeviceExternalSemaphoreInfo::~safe_VkPhysicalDeviceExternalSemaphoreInfo()
9154{
9155}
9156
9157void safe_VkPhysicalDeviceExternalSemaphoreInfo::initialize(const VkPhysicalDeviceExternalSemaphoreInfo* in_struct)
9158{
9159 sType = in_struct->sType;
9160 pNext = in_struct->pNext;
9161 handleType = in_struct->handleType;
9162}
9163
9164void safe_VkPhysicalDeviceExternalSemaphoreInfo::initialize(const safe_VkPhysicalDeviceExternalSemaphoreInfo* src)
9165{
9166 sType = src->sType;
9167 pNext = src->pNext;
9168 handleType = src->handleType;
9169}
9170
9171safe_VkExternalSemaphoreProperties::safe_VkExternalSemaphoreProperties(const VkExternalSemaphoreProperties* in_struct) :
9172 sType(in_struct->sType),
9173 pNext(in_struct->pNext),
9174 exportFromImportedHandleTypes(in_struct->exportFromImportedHandleTypes),
9175 compatibleHandleTypes(in_struct->compatibleHandleTypes),
9176 externalSemaphoreFeatures(in_struct->externalSemaphoreFeatures)
9177{
9178}
9179
9180safe_VkExternalSemaphoreProperties::safe_VkExternalSemaphoreProperties()
9181{}
9182
9183safe_VkExternalSemaphoreProperties::safe_VkExternalSemaphoreProperties(const safe_VkExternalSemaphoreProperties& src)
9184{
9185 sType = src.sType;
9186 pNext = src.pNext;
9187 exportFromImportedHandleTypes = src.exportFromImportedHandleTypes;
9188 compatibleHandleTypes = src.compatibleHandleTypes;
9189 externalSemaphoreFeatures = src.externalSemaphoreFeatures;
9190}
9191
9192safe_VkExternalSemaphoreProperties& safe_VkExternalSemaphoreProperties::operator=(const safe_VkExternalSemaphoreProperties& src)
9193{
9194 if (&src == this) return *this;
9195
9196
9197 sType = src.sType;
9198 pNext = src.pNext;
9199 exportFromImportedHandleTypes = src.exportFromImportedHandleTypes;
9200 compatibleHandleTypes = src.compatibleHandleTypes;
9201 externalSemaphoreFeatures = src.externalSemaphoreFeatures;
9202
9203 return *this;
9204}
9205
9206safe_VkExternalSemaphoreProperties::~safe_VkExternalSemaphoreProperties()
9207{
9208}
9209
9210void safe_VkExternalSemaphoreProperties::initialize(const VkExternalSemaphoreProperties* in_struct)
9211{
9212 sType = in_struct->sType;
9213 pNext = in_struct->pNext;
9214 exportFromImportedHandleTypes = in_struct->exportFromImportedHandleTypes;
9215 compatibleHandleTypes = in_struct->compatibleHandleTypes;
9216 externalSemaphoreFeatures = in_struct->externalSemaphoreFeatures;
9217}
9218
9219void safe_VkExternalSemaphoreProperties::initialize(const safe_VkExternalSemaphoreProperties* src)
9220{
9221 sType = src->sType;
9222 pNext = src->pNext;
9223 exportFromImportedHandleTypes = src->exportFromImportedHandleTypes;
9224 compatibleHandleTypes = src->compatibleHandleTypes;
9225 externalSemaphoreFeatures = src->externalSemaphoreFeatures;
9226}
9227
9228safe_VkPhysicalDeviceMaintenance3Properties::safe_VkPhysicalDeviceMaintenance3Properties(const VkPhysicalDeviceMaintenance3Properties* in_struct) :
9229 sType(in_struct->sType),
9230 pNext(in_struct->pNext),
9231 maxPerSetDescriptors(in_struct->maxPerSetDescriptors),
9232 maxMemoryAllocationSize(in_struct->maxMemoryAllocationSize)
9233{
9234}
9235
9236safe_VkPhysicalDeviceMaintenance3Properties::safe_VkPhysicalDeviceMaintenance3Properties()
9237{}
9238
9239safe_VkPhysicalDeviceMaintenance3Properties::safe_VkPhysicalDeviceMaintenance3Properties(const safe_VkPhysicalDeviceMaintenance3Properties& src)
9240{
9241 sType = src.sType;
9242 pNext = src.pNext;
9243 maxPerSetDescriptors = src.maxPerSetDescriptors;
9244 maxMemoryAllocationSize = src.maxMemoryAllocationSize;
9245}
9246
9247safe_VkPhysicalDeviceMaintenance3Properties& safe_VkPhysicalDeviceMaintenance3Properties::operator=(const safe_VkPhysicalDeviceMaintenance3Properties& src)
9248{
9249 if (&src == this) return *this;
9250
9251
9252 sType = src.sType;
9253 pNext = src.pNext;
9254 maxPerSetDescriptors = src.maxPerSetDescriptors;
9255 maxMemoryAllocationSize = src.maxMemoryAllocationSize;
9256
9257 return *this;
9258}
9259
9260safe_VkPhysicalDeviceMaintenance3Properties::~safe_VkPhysicalDeviceMaintenance3Properties()
9261{
9262}
9263
9264void safe_VkPhysicalDeviceMaintenance3Properties::initialize(const VkPhysicalDeviceMaintenance3Properties* in_struct)
9265{
9266 sType = in_struct->sType;
9267 pNext = in_struct->pNext;
9268 maxPerSetDescriptors = in_struct->maxPerSetDescriptors;
9269 maxMemoryAllocationSize = in_struct->maxMemoryAllocationSize;
9270}
9271
9272void safe_VkPhysicalDeviceMaintenance3Properties::initialize(const safe_VkPhysicalDeviceMaintenance3Properties* src)
9273{
9274 sType = src->sType;
9275 pNext = src->pNext;
9276 maxPerSetDescriptors = src->maxPerSetDescriptors;
9277 maxMemoryAllocationSize = src->maxMemoryAllocationSize;
9278}
9279
9280safe_VkDescriptorSetLayoutSupport::safe_VkDescriptorSetLayoutSupport(const VkDescriptorSetLayoutSupport* in_struct) :
9281 sType(in_struct->sType),
9282 pNext(in_struct->pNext),
9283 supported(in_struct->supported)
9284{
9285}
9286
9287safe_VkDescriptorSetLayoutSupport::safe_VkDescriptorSetLayoutSupport()
9288{}
9289
9290safe_VkDescriptorSetLayoutSupport::safe_VkDescriptorSetLayoutSupport(const safe_VkDescriptorSetLayoutSupport& src)
9291{
9292 sType = src.sType;
9293 pNext = src.pNext;
9294 supported = src.supported;
9295}
9296
9297safe_VkDescriptorSetLayoutSupport& safe_VkDescriptorSetLayoutSupport::operator=(const safe_VkDescriptorSetLayoutSupport& src)
9298{
9299 if (&src == this) return *this;
9300
9301
9302 sType = src.sType;
9303 pNext = src.pNext;
9304 supported = src.supported;
9305
9306 return *this;
9307}
9308
9309safe_VkDescriptorSetLayoutSupport::~safe_VkDescriptorSetLayoutSupport()
9310{
9311}
9312
9313void safe_VkDescriptorSetLayoutSupport::initialize(const VkDescriptorSetLayoutSupport* in_struct)
9314{
9315 sType = in_struct->sType;
9316 pNext = in_struct->pNext;
9317 supported = in_struct->supported;
9318}
9319
9320void safe_VkDescriptorSetLayoutSupport::initialize(const safe_VkDescriptorSetLayoutSupport* src)
9321{
9322 sType = src->sType;
9323 pNext = src->pNext;
9324 supported = src->supported;
9325}
9326
9327safe_VkPhysicalDeviceShaderDrawParametersFeatures::safe_VkPhysicalDeviceShaderDrawParametersFeatures(const VkPhysicalDeviceShaderDrawParametersFeatures* in_struct) :
9328 sType(in_struct->sType),
9329 pNext(in_struct->pNext),
9330 shaderDrawParameters(in_struct->shaderDrawParameters)
9331{
9332}
9333
9334safe_VkPhysicalDeviceShaderDrawParametersFeatures::safe_VkPhysicalDeviceShaderDrawParametersFeatures()
9335{}
9336
9337safe_VkPhysicalDeviceShaderDrawParametersFeatures::safe_VkPhysicalDeviceShaderDrawParametersFeatures(const safe_VkPhysicalDeviceShaderDrawParametersFeatures& src)
9338{
9339 sType = src.sType;
9340 pNext = src.pNext;
9341 shaderDrawParameters = src.shaderDrawParameters;
9342}
9343
9344safe_VkPhysicalDeviceShaderDrawParametersFeatures& safe_VkPhysicalDeviceShaderDrawParametersFeatures::operator=(const safe_VkPhysicalDeviceShaderDrawParametersFeatures& src)
9345{
9346 if (&src == this) return *this;
9347
9348
9349 sType = src.sType;
9350 pNext = src.pNext;
9351 shaderDrawParameters = src.shaderDrawParameters;
9352
9353 return *this;
9354}
9355
9356safe_VkPhysicalDeviceShaderDrawParametersFeatures::~safe_VkPhysicalDeviceShaderDrawParametersFeatures()
9357{
9358}
9359
9360void safe_VkPhysicalDeviceShaderDrawParametersFeatures::initialize(const VkPhysicalDeviceShaderDrawParametersFeatures* in_struct)
9361{
9362 sType = in_struct->sType;
9363 pNext = in_struct->pNext;
9364 shaderDrawParameters = in_struct->shaderDrawParameters;
9365}
9366
9367void safe_VkPhysicalDeviceShaderDrawParametersFeatures::initialize(const safe_VkPhysicalDeviceShaderDrawParametersFeatures* src)
9368{
9369 sType = src->sType;
9370 pNext = src->pNext;
9371 shaderDrawParameters = src->shaderDrawParameters;
9372}
9373
9374safe_VkSwapchainCreateInfoKHR::safe_VkSwapchainCreateInfoKHR(const VkSwapchainCreateInfoKHR* in_struct) :
9375 sType(in_struct->sType),
9376 pNext(in_struct->pNext),
9377 flags(in_struct->flags),
9378 surface(in_struct->surface),
9379 minImageCount(in_struct->minImageCount),
9380 imageFormat(in_struct->imageFormat),
9381 imageColorSpace(in_struct->imageColorSpace),
9382 imageExtent(in_struct->imageExtent),
9383 imageArrayLayers(in_struct->imageArrayLayers),
9384 imageUsage(in_struct->imageUsage),
9385 imageSharingMode(in_struct->imageSharingMode),
9386 queueFamilyIndexCount(in_struct->queueFamilyIndexCount),
9387 pQueueFamilyIndices(nullptr),
9388 preTransform(in_struct->preTransform),
9389 compositeAlpha(in_struct->compositeAlpha),
9390 presentMode(in_struct->presentMode),
9391 clipped(in_struct->clipped),
9392 oldSwapchain(in_struct->oldSwapchain)
9393{
9394 if (in_struct->pQueueFamilyIndices) {
9395 pQueueFamilyIndices = new uint32_t[in_struct->queueFamilyIndexCount];
9396 memcpy ((void *)pQueueFamilyIndices, (void *)in_struct->pQueueFamilyIndices, sizeof(uint32_t)*in_struct->queueFamilyIndexCount);
9397 }
9398}
9399
9400safe_VkSwapchainCreateInfoKHR::safe_VkSwapchainCreateInfoKHR() :
9401 pQueueFamilyIndices(nullptr)
9402{}
9403
9404safe_VkSwapchainCreateInfoKHR::safe_VkSwapchainCreateInfoKHR(const safe_VkSwapchainCreateInfoKHR& src)
9405{
9406 sType = src.sType;
9407 pNext = src.pNext;
9408 flags = src.flags;
9409 surface = src.surface;
9410 minImageCount = src.minImageCount;
9411 imageFormat = src.imageFormat;
9412 imageColorSpace = src.imageColorSpace;
9413 imageExtent = src.imageExtent;
9414 imageArrayLayers = src.imageArrayLayers;
9415 imageUsage = src.imageUsage;
9416 imageSharingMode = src.imageSharingMode;
9417 queueFamilyIndexCount = src.queueFamilyIndexCount;
9418 pQueueFamilyIndices = nullptr;
9419 preTransform = src.preTransform;
9420 compositeAlpha = src.compositeAlpha;
9421 presentMode = src.presentMode;
9422 clipped = src.clipped;
9423 oldSwapchain = src.oldSwapchain;
9424 if (src.pQueueFamilyIndices) {
9425 pQueueFamilyIndices = new uint32_t[src.queueFamilyIndexCount];
9426 memcpy ((void *)pQueueFamilyIndices, (void *)src.pQueueFamilyIndices, sizeof(uint32_t)*src.queueFamilyIndexCount);
9427 }
9428}
9429
9430safe_VkSwapchainCreateInfoKHR& safe_VkSwapchainCreateInfoKHR::operator=(const safe_VkSwapchainCreateInfoKHR& src)
9431{
9432 if (&src == this) return *this;
9433
9434 if (pQueueFamilyIndices)
9435 delete[] pQueueFamilyIndices;
9436
9437 sType = src.sType;
9438 pNext = src.pNext;
9439 flags = src.flags;
9440 surface = src.surface;
9441 minImageCount = src.minImageCount;
9442 imageFormat = src.imageFormat;
9443 imageColorSpace = src.imageColorSpace;
9444 imageExtent = src.imageExtent;
9445 imageArrayLayers = src.imageArrayLayers;
9446 imageUsage = src.imageUsage;
9447 imageSharingMode = src.imageSharingMode;
9448 queueFamilyIndexCount = src.queueFamilyIndexCount;
9449 pQueueFamilyIndices = nullptr;
9450 preTransform = src.preTransform;
9451 compositeAlpha = src.compositeAlpha;
9452 presentMode = src.presentMode;
9453 clipped = src.clipped;
9454 oldSwapchain = src.oldSwapchain;
9455 if (src.pQueueFamilyIndices) {
9456 pQueueFamilyIndices = new uint32_t[src.queueFamilyIndexCount];
9457 memcpy ((void *)pQueueFamilyIndices, (void *)src.pQueueFamilyIndices, sizeof(uint32_t)*src.queueFamilyIndexCount);
9458 }
9459
9460 return *this;
9461}
9462
9463safe_VkSwapchainCreateInfoKHR::~safe_VkSwapchainCreateInfoKHR()
9464{
9465 if (pQueueFamilyIndices)
9466 delete[] pQueueFamilyIndices;
9467}
9468
9469void safe_VkSwapchainCreateInfoKHR::initialize(const VkSwapchainCreateInfoKHR* in_struct)
9470{
9471 sType = in_struct->sType;
9472 pNext = in_struct->pNext;
9473 flags = in_struct->flags;
9474 surface = in_struct->surface;
9475 minImageCount = in_struct->minImageCount;
9476 imageFormat = in_struct->imageFormat;
9477 imageColorSpace = in_struct->imageColorSpace;
9478 imageExtent = in_struct->imageExtent;
9479 imageArrayLayers = in_struct->imageArrayLayers;
9480 imageUsage = in_struct->imageUsage;
9481 imageSharingMode = in_struct->imageSharingMode;
9482 queueFamilyIndexCount = in_struct->queueFamilyIndexCount;
9483 pQueueFamilyIndices = nullptr;
9484 preTransform = in_struct->preTransform;
9485 compositeAlpha = in_struct->compositeAlpha;
9486 presentMode = in_struct->presentMode;
9487 clipped = in_struct->clipped;
9488 oldSwapchain = in_struct->oldSwapchain;
9489 if (in_struct->pQueueFamilyIndices) {
9490 pQueueFamilyIndices = new uint32_t[in_struct->queueFamilyIndexCount];
9491 memcpy ((void *)pQueueFamilyIndices, (void *)in_struct->pQueueFamilyIndices, sizeof(uint32_t)*in_struct->queueFamilyIndexCount);
9492 }
9493}
9494
9495void safe_VkSwapchainCreateInfoKHR::initialize(const safe_VkSwapchainCreateInfoKHR* src)
9496{
9497 sType = src->sType;
9498 pNext = src->pNext;
9499 flags = src->flags;
9500 surface = src->surface;
9501 minImageCount = src->minImageCount;
9502 imageFormat = src->imageFormat;
9503 imageColorSpace = src->imageColorSpace;
9504 imageExtent = src->imageExtent;
9505 imageArrayLayers = src->imageArrayLayers;
9506 imageUsage = src->imageUsage;
9507 imageSharingMode = src->imageSharingMode;
9508 queueFamilyIndexCount = src->queueFamilyIndexCount;
9509 pQueueFamilyIndices = nullptr;
9510 preTransform = src->preTransform;
9511 compositeAlpha = src->compositeAlpha;
9512 presentMode = src->presentMode;
9513 clipped = src->clipped;
9514 oldSwapchain = src->oldSwapchain;
9515 if (src->pQueueFamilyIndices) {
9516 pQueueFamilyIndices = new uint32_t[src->queueFamilyIndexCount];
9517 memcpy ((void *)pQueueFamilyIndices, (void *)src->pQueueFamilyIndices, sizeof(uint32_t)*src->queueFamilyIndexCount);
9518 }
9519}
9520
9521safe_VkPresentInfoKHR::safe_VkPresentInfoKHR(const VkPresentInfoKHR* in_struct) :
9522 sType(in_struct->sType),
9523 pNext(in_struct->pNext),
9524 waitSemaphoreCount(in_struct->waitSemaphoreCount),
9525 pWaitSemaphores(nullptr),
9526 swapchainCount(in_struct->swapchainCount),
9527 pSwapchains(nullptr),
9528 pImageIndices(nullptr),
9529 pResults(nullptr)
9530{
9531 if (waitSemaphoreCount && in_struct->pWaitSemaphores) {
9532 pWaitSemaphores = new VkSemaphore[waitSemaphoreCount];
9533 for (uint32_t i=0; i<waitSemaphoreCount; ++i) {
9534 pWaitSemaphores[i] = in_struct->pWaitSemaphores[i];
9535 }
9536 }
9537 if (swapchainCount && in_struct->pSwapchains) {
9538 pSwapchains = new VkSwapchainKHR[swapchainCount];
9539 for (uint32_t i=0; i<swapchainCount; ++i) {
9540 pSwapchains[i] = in_struct->pSwapchains[i];
9541 }
9542 }
9543 if (in_struct->pImageIndices) {
9544 pImageIndices = new uint32_t[in_struct->swapchainCount];
9545 memcpy ((void *)pImageIndices, (void *)in_struct->pImageIndices, sizeof(uint32_t)*in_struct->swapchainCount);
9546 }
9547 if (in_struct->pResults) {
9548 pResults = new VkResult[in_struct->swapchainCount];
9549 memcpy ((void *)pResults, (void *)in_struct->pResults, sizeof(VkResult)*in_struct->swapchainCount);
9550 }
9551}
9552
9553safe_VkPresentInfoKHR::safe_VkPresentInfoKHR() :
9554 pWaitSemaphores(nullptr),
9555 pSwapchains(nullptr),
9556 pImageIndices(nullptr),
9557 pResults(nullptr)
9558{}
9559
9560safe_VkPresentInfoKHR::safe_VkPresentInfoKHR(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_VkPresentInfoKHR& safe_VkPresentInfoKHR::operator=(const safe_VkPresentInfoKHR& src)
9593{
9594 if (&src == this) return *this;
9595
9596 if (pWaitSemaphores)
9597 delete[] pWaitSemaphores;
9598 if (pSwapchains)
9599 delete[] pSwapchains;
9600 if (pImageIndices)
9601 delete[] pImageIndices;
9602 if (pResults)
9603 delete[] pResults;
9604
9605 sType = src.sType;
9606 pNext = src.pNext;
9607 waitSemaphoreCount = src.waitSemaphoreCount;
9608 pWaitSemaphores = nullptr;
9609 swapchainCount = src.swapchainCount;
9610 pSwapchains = nullptr;
9611 pImageIndices = nullptr;
9612 pResults = nullptr;
9613 if (waitSemaphoreCount && src.pWaitSemaphores) {
9614 pWaitSemaphores = new VkSemaphore[waitSemaphoreCount];
9615 for (uint32_t i=0; i<waitSemaphoreCount; ++i) {
9616 pWaitSemaphores[i] = src.pWaitSemaphores[i];
9617 }
9618 }
9619 if (swapchainCount && src.pSwapchains) {
9620 pSwapchains = new VkSwapchainKHR[swapchainCount];
9621 for (uint32_t i=0; i<swapchainCount; ++i) {
9622 pSwapchains[i] = src.pSwapchains[i];
9623 }
9624 }
9625 if (src.pImageIndices) {
9626 pImageIndices = new uint32_t[src.swapchainCount];
9627 memcpy ((void *)pImageIndices, (void *)src.pImageIndices, sizeof(uint32_t)*src.swapchainCount);
9628 }
9629 if (src.pResults) {
9630 pResults = new VkResult[src.swapchainCount];
9631 memcpy ((void *)pResults, (void *)src.pResults, sizeof(VkResult)*src.swapchainCount);
9632 }
9633
9634 return *this;
9635}
9636
9637safe_VkPresentInfoKHR::~safe_VkPresentInfoKHR()
9638{
9639 if (pWaitSemaphores)
9640 delete[] pWaitSemaphores;
9641 if (pSwapchains)
9642 delete[] pSwapchains;
9643 if (pImageIndices)
9644 delete[] pImageIndices;
9645 if (pResults)
9646 delete[] pResults;
9647}
9648
9649void safe_VkPresentInfoKHR::initialize(const VkPresentInfoKHR* in_struct)
9650{
9651 sType = in_struct->sType;
9652 pNext = in_struct->pNext;
9653 waitSemaphoreCount = in_struct->waitSemaphoreCount;
9654 pWaitSemaphores = nullptr;
9655 swapchainCount = in_struct->swapchainCount;
9656 pSwapchains = nullptr;
9657 pImageIndices = nullptr;
9658 pResults = nullptr;
9659 if (waitSemaphoreCount && in_struct->pWaitSemaphores) {
9660 pWaitSemaphores = new VkSemaphore[waitSemaphoreCount];
9661 for (uint32_t i=0; i<waitSemaphoreCount; ++i) {
9662 pWaitSemaphores[i] = in_struct->pWaitSemaphores[i];
9663 }
9664 }
9665 if (swapchainCount && in_struct->pSwapchains) {
9666 pSwapchains = new VkSwapchainKHR[swapchainCount];
9667 for (uint32_t i=0; i<swapchainCount; ++i) {
9668 pSwapchains[i] = in_struct->pSwapchains[i];
9669 }
9670 }
9671 if (in_struct->pImageIndices) {
9672 pImageIndices = new uint32_t[in_struct->swapchainCount];
9673 memcpy ((void *)pImageIndices, (void *)in_struct->pImageIndices, sizeof(uint32_t)*in_struct->swapchainCount);
9674 }
9675 if (in_struct->pResults) {
9676 pResults = new VkResult[in_struct->swapchainCount];
9677 memcpy ((void *)pResults, (void *)in_struct->pResults, sizeof(VkResult)*in_struct->swapchainCount);
9678 }
9679}
9680
9681void safe_VkPresentInfoKHR::initialize(const safe_VkPresentInfoKHR* src)
9682{
9683 sType = src->sType;
9684 pNext = src->pNext;
9685 waitSemaphoreCount = src->waitSemaphoreCount;
9686 pWaitSemaphores = nullptr;
9687 swapchainCount = src->swapchainCount;
9688 pSwapchains = nullptr;
9689 pImageIndices = nullptr;
9690 pResults = nullptr;
9691 if (waitSemaphoreCount && src->pWaitSemaphores) {
9692 pWaitSemaphores = new VkSemaphore[waitSemaphoreCount];
9693 for (uint32_t i=0; i<waitSemaphoreCount; ++i) {
9694 pWaitSemaphores[i] = src->pWaitSemaphores[i];
9695 }
9696 }
9697 if (swapchainCount && src->pSwapchains) {
9698 pSwapchains = new VkSwapchainKHR[swapchainCount];
9699 for (uint32_t i=0; i<swapchainCount; ++i) {
9700 pSwapchains[i] = src->pSwapchains[i];
9701 }
9702 }
9703 if (src->pImageIndices) {
9704 pImageIndices = new uint32_t[src->swapchainCount];
9705 memcpy ((void *)pImageIndices, (void *)src->pImageIndices, sizeof(uint32_t)*src->swapchainCount);
9706 }
9707 if (src->pResults) {
9708 pResults = new VkResult[src->swapchainCount];
9709 memcpy ((void *)pResults, (void *)src->pResults, sizeof(VkResult)*src->swapchainCount);
9710 }
9711}
9712
9713safe_VkImageSwapchainCreateInfoKHR::safe_VkImageSwapchainCreateInfoKHR(const VkImageSwapchainCreateInfoKHR* in_struct) :
9714 sType(in_struct->sType),
9715 pNext(in_struct->pNext),
9716 swapchain(in_struct->swapchain)
9717{
9718}
9719
9720safe_VkImageSwapchainCreateInfoKHR::safe_VkImageSwapchainCreateInfoKHR()
9721{}
9722
9723safe_VkImageSwapchainCreateInfoKHR::safe_VkImageSwapchainCreateInfoKHR(const safe_VkImageSwapchainCreateInfoKHR& src)
9724{
9725 sType = src.sType;
9726 pNext = src.pNext;
9727 swapchain = src.swapchain;
9728}
9729
9730safe_VkImageSwapchainCreateInfoKHR& safe_VkImageSwapchainCreateInfoKHR::operator=(const safe_VkImageSwapchainCreateInfoKHR& src)
9731{
9732 if (&src == this) return *this;
9733
9734
9735 sType = src.sType;
9736 pNext = src.pNext;
9737 swapchain = src.swapchain;
9738
9739 return *this;
9740}
9741
9742safe_VkImageSwapchainCreateInfoKHR::~safe_VkImageSwapchainCreateInfoKHR()
9743{
9744}
9745
9746void safe_VkImageSwapchainCreateInfoKHR::initialize(const VkImageSwapchainCreateInfoKHR* in_struct)
9747{
9748 sType = in_struct->sType;
9749 pNext = in_struct->pNext;
9750 swapchain = in_struct->swapchain;
9751}
9752
9753void safe_VkImageSwapchainCreateInfoKHR::initialize(const safe_VkImageSwapchainCreateInfoKHR* src)
9754{
9755 sType = src->sType;
9756 pNext = src->pNext;
9757 swapchain = src->swapchain;
9758}
9759
9760safe_VkBindImageMemorySwapchainInfoKHR::safe_VkBindImageMemorySwapchainInfoKHR(const VkBindImageMemorySwapchainInfoKHR* in_struct) :
9761 sType(in_struct->sType),
9762 pNext(in_struct->pNext),
9763 swapchain(in_struct->swapchain),
9764 imageIndex(in_struct->imageIndex)
9765{
9766}
9767
9768safe_VkBindImageMemorySwapchainInfoKHR::safe_VkBindImageMemorySwapchainInfoKHR()
9769{}
9770
9771safe_VkBindImageMemorySwapchainInfoKHR::safe_VkBindImageMemorySwapchainInfoKHR(const safe_VkBindImageMemorySwapchainInfoKHR& src)
9772{
9773 sType = src.sType;
9774 pNext = src.pNext;
9775 swapchain = src.swapchain;
9776 imageIndex = src.imageIndex;
9777}
9778
9779safe_VkBindImageMemorySwapchainInfoKHR& safe_VkBindImageMemorySwapchainInfoKHR::operator=(const safe_VkBindImageMemorySwapchainInfoKHR& src)
9780{
9781 if (&src == this) return *this;
9782
9783
9784 sType = src.sType;
9785 pNext = src.pNext;
9786 swapchain = src.swapchain;
9787 imageIndex = src.imageIndex;
9788
9789 return *this;
9790}
9791
9792safe_VkBindImageMemorySwapchainInfoKHR::~safe_VkBindImageMemorySwapchainInfoKHR()
9793{
9794}
9795
9796void safe_VkBindImageMemorySwapchainInfoKHR::initialize(const VkBindImageMemorySwapchainInfoKHR* in_struct)
9797{
9798 sType = in_struct->sType;
9799 pNext = in_struct->pNext;
9800 swapchain = in_struct->swapchain;
9801 imageIndex = in_struct->imageIndex;
9802}
9803
9804void safe_VkBindImageMemorySwapchainInfoKHR::initialize(const safe_VkBindImageMemorySwapchainInfoKHR* src)
9805{
9806 sType = src->sType;
9807 pNext = src->pNext;
9808 swapchain = src->swapchain;
9809 imageIndex = src->imageIndex;
9810}
9811
9812safe_VkAcquireNextImageInfoKHR::safe_VkAcquireNextImageInfoKHR(const VkAcquireNextImageInfoKHR* in_struct) :
9813 sType(in_struct->sType),
9814 pNext(in_struct->pNext),
9815 swapchain(in_struct->swapchain),
9816 timeout(in_struct->timeout),
9817 semaphore(in_struct->semaphore),
9818 fence(in_struct->fence),
9819 deviceMask(in_struct->deviceMask)
9820{
9821}
9822
9823safe_VkAcquireNextImageInfoKHR::safe_VkAcquireNextImageInfoKHR()
9824{}
9825
9826safe_VkAcquireNextImageInfoKHR::safe_VkAcquireNextImageInfoKHR(const safe_VkAcquireNextImageInfoKHR& src)
9827{
9828 sType = src.sType;
9829 pNext = src.pNext;
9830 swapchain = src.swapchain;
9831 timeout = src.timeout;
9832 semaphore = src.semaphore;
9833 fence = src.fence;
9834 deviceMask = src.deviceMask;
9835}
9836
9837safe_VkAcquireNextImageInfoKHR& safe_VkAcquireNextImageInfoKHR::operator=(const safe_VkAcquireNextImageInfoKHR& src)
9838{
9839 if (&src == this) return *this;
9840
9841
9842 sType = src.sType;
9843 pNext = src.pNext;
9844 swapchain = src.swapchain;
9845 timeout = src.timeout;
9846 semaphore = src.semaphore;
9847 fence = src.fence;
9848 deviceMask = src.deviceMask;
9849
9850 return *this;
9851}
9852
9853safe_VkAcquireNextImageInfoKHR::~safe_VkAcquireNextImageInfoKHR()
9854{
9855}
9856
9857void safe_VkAcquireNextImageInfoKHR::initialize(const VkAcquireNextImageInfoKHR* in_struct)
9858{
9859 sType = in_struct->sType;
9860 pNext = in_struct->pNext;
9861 swapchain = in_struct->swapchain;
9862 timeout = in_struct->timeout;
9863 semaphore = in_struct->semaphore;
9864 fence = in_struct->fence;
9865 deviceMask = in_struct->deviceMask;
9866}
9867
9868void safe_VkAcquireNextImageInfoKHR::initialize(const safe_VkAcquireNextImageInfoKHR* src)
9869{
9870 sType = src->sType;
9871 pNext = src->pNext;
9872 swapchain = src->swapchain;
9873 timeout = src->timeout;
9874 semaphore = src->semaphore;
9875 fence = src->fence;
9876 deviceMask = src->deviceMask;
9877}
9878
9879safe_VkDeviceGroupPresentCapabilitiesKHR::safe_VkDeviceGroupPresentCapabilitiesKHR(const VkDeviceGroupPresentCapabilitiesKHR* in_struct) :
9880 sType(in_struct->sType),
9881 pNext(in_struct->pNext),
9882 modes(in_struct->modes)
9883{
9884 for (uint32_t i=0; i<VK_MAX_DEVICE_GROUP_SIZE; ++i) {
9885 presentMask[i] = in_struct->presentMask[i];
9886 }
9887}
9888
9889safe_VkDeviceGroupPresentCapabilitiesKHR::safe_VkDeviceGroupPresentCapabilitiesKHR()
9890{}
9891
9892safe_VkDeviceGroupPresentCapabilitiesKHR::safe_VkDeviceGroupPresentCapabilitiesKHR(const safe_VkDeviceGroupPresentCapabilitiesKHR& src)
9893{
9894 sType = src.sType;
9895 pNext = src.pNext;
9896 modes = src.modes;
9897 for (uint32_t i=0; i<VK_MAX_DEVICE_GROUP_SIZE; ++i) {
9898 presentMask[i] = src.presentMask[i];
9899 }
9900}
9901
9902safe_VkDeviceGroupPresentCapabilitiesKHR& safe_VkDeviceGroupPresentCapabilitiesKHR::operator=(const safe_VkDeviceGroupPresentCapabilitiesKHR& src)
9903{
9904 if (&src == this) return *this;
9905
9906
9907 sType = src.sType;
9908 pNext = src.pNext;
9909 modes = src.modes;
9910 for (uint32_t i=0; i<VK_MAX_DEVICE_GROUP_SIZE; ++i) {
9911 presentMask[i] = src.presentMask[i];
9912 }
9913
9914 return *this;
9915}
9916
9917safe_VkDeviceGroupPresentCapabilitiesKHR::~safe_VkDeviceGroupPresentCapabilitiesKHR()
9918{
9919}
9920
9921void safe_VkDeviceGroupPresentCapabilitiesKHR::initialize(const VkDeviceGroupPresentCapabilitiesKHR* in_struct)
9922{
9923 sType = in_struct->sType;
9924 pNext = in_struct->pNext;
9925 modes = in_struct->modes;
9926 for (uint32_t i=0; i<VK_MAX_DEVICE_GROUP_SIZE; ++i) {
9927 presentMask[i] = in_struct->presentMask[i];
9928 }
9929}
9930
9931void safe_VkDeviceGroupPresentCapabilitiesKHR::initialize(const safe_VkDeviceGroupPresentCapabilitiesKHR* src)
9932{
9933 sType = src->sType;
9934 pNext = src->pNext;
9935 modes = src->modes;
9936 for (uint32_t i=0; i<VK_MAX_DEVICE_GROUP_SIZE; ++i) {
9937 presentMask[i] = src->presentMask[i];
9938 }
9939}
9940
9941safe_VkDeviceGroupPresentInfoKHR::safe_VkDeviceGroupPresentInfoKHR(const VkDeviceGroupPresentInfoKHR* in_struct) :
9942 sType(in_struct->sType),
9943 pNext(in_struct->pNext),
9944 swapchainCount(in_struct->swapchainCount),
9945 pDeviceMasks(nullptr),
9946 mode(in_struct->mode)
9947{
9948 if (in_struct->pDeviceMasks) {
9949 pDeviceMasks = new uint32_t[in_struct->swapchainCount];
9950 memcpy ((void *)pDeviceMasks, (void *)in_struct->pDeviceMasks, sizeof(uint32_t)*in_struct->swapchainCount);
9951 }
9952}
9953
9954safe_VkDeviceGroupPresentInfoKHR::safe_VkDeviceGroupPresentInfoKHR() :
9955 pDeviceMasks(nullptr)
9956{}
9957
9958safe_VkDeviceGroupPresentInfoKHR::safe_VkDeviceGroupPresentInfoKHR(const safe_VkDeviceGroupPresentInfoKHR& src)
9959{
9960 sType = src.sType;
9961 pNext = src.pNext;
9962 swapchainCount = src.swapchainCount;
9963 pDeviceMasks = nullptr;
9964 mode = src.mode;
9965 if (src.pDeviceMasks) {
9966 pDeviceMasks = new uint32_t[src.swapchainCount];
9967 memcpy ((void *)pDeviceMasks, (void *)src.pDeviceMasks, sizeof(uint32_t)*src.swapchainCount);
9968 }
9969}
9970
9971safe_VkDeviceGroupPresentInfoKHR& safe_VkDeviceGroupPresentInfoKHR::operator=(const safe_VkDeviceGroupPresentInfoKHR& src)
9972{
9973 if (&src == this) return *this;
9974
9975 if (pDeviceMasks)
9976 delete[] pDeviceMasks;
9977
9978 sType = src.sType;
9979 pNext = src.pNext;
9980 swapchainCount = src.swapchainCount;
9981 pDeviceMasks = nullptr;
9982 mode = src.mode;
9983 if (src.pDeviceMasks) {
9984 pDeviceMasks = new uint32_t[src.swapchainCount];
9985 memcpy ((void *)pDeviceMasks, (void *)src.pDeviceMasks, sizeof(uint32_t)*src.swapchainCount);
9986 }
9987
9988 return *this;
9989}
9990
9991safe_VkDeviceGroupPresentInfoKHR::~safe_VkDeviceGroupPresentInfoKHR()
9992{
9993 if (pDeviceMasks)
9994 delete[] pDeviceMasks;
9995}
9996
9997void safe_VkDeviceGroupPresentInfoKHR::initialize(const VkDeviceGroupPresentInfoKHR* in_struct)
9998{
9999 sType = in_struct->sType;
10000 pNext = in_struct->pNext;
10001 swapchainCount = in_struct->swapchainCount;
10002 pDeviceMasks = nullptr;
10003 mode = in_struct->mode;
10004 if (in_struct->pDeviceMasks) {
10005 pDeviceMasks = new uint32_t[in_struct->swapchainCount];
10006 memcpy ((void *)pDeviceMasks, (void *)in_struct->pDeviceMasks, sizeof(uint32_t)*in_struct->swapchainCount);
10007 }
10008}
10009
10010void safe_VkDeviceGroupPresentInfoKHR::initialize(const safe_VkDeviceGroupPresentInfoKHR* src)
10011{
10012 sType = src->sType;
10013 pNext = src->pNext;
10014 swapchainCount = src->swapchainCount;
10015 pDeviceMasks = nullptr;
10016 mode = src->mode;
10017 if (src->pDeviceMasks) {
10018 pDeviceMasks = new uint32_t[src->swapchainCount];
10019 memcpy ((void *)pDeviceMasks, (void *)src->pDeviceMasks, sizeof(uint32_t)*src->swapchainCount);
10020 }
10021}
10022
10023safe_VkDeviceGroupSwapchainCreateInfoKHR::safe_VkDeviceGroupSwapchainCreateInfoKHR(const VkDeviceGroupSwapchainCreateInfoKHR* in_struct) :
10024 sType(in_struct->sType),
10025 pNext(in_struct->pNext),
10026 modes(in_struct->modes)
10027{
10028}
10029
10030safe_VkDeviceGroupSwapchainCreateInfoKHR::safe_VkDeviceGroupSwapchainCreateInfoKHR()
10031{}
10032
10033safe_VkDeviceGroupSwapchainCreateInfoKHR::safe_VkDeviceGroupSwapchainCreateInfoKHR(const safe_VkDeviceGroupSwapchainCreateInfoKHR& src)
10034{
10035 sType = src.sType;
10036 pNext = src.pNext;
10037 modes = src.modes;
10038}
10039
10040safe_VkDeviceGroupSwapchainCreateInfoKHR& safe_VkDeviceGroupSwapchainCreateInfoKHR::operator=(const safe_VkDeviceGroupSwapchainCreateInfoKHR& src)
10041{
10042 if (&src == this) return *this;
10043
10044
10045 sType = src.sType;
10046 pNext = src.pNext;
10047 modes = src.modes;
10048
10049 return *this;
10050}
10051
10052safe_VkDeviceGroupSwapchainCreateInfoKHR::~safe_VkDeviceGroupSwapchainCreateInfoKHR()
10053{
10054}
10055
10056void safe_VkDeviceGroupSwapchainCreateInfoKHR::initialize(const VkDeviceGroupSwapchainCreateInfoKHR* in_struct)
10057{
10058 sType = in_struct->sType;
10059 pNext = in_struct->pNext;
10060 modes = in_struct->modes;
10061}
10062
10063void safe_VkDeviceGroupSwapchainCreateInfoKHR::initialize(const safe_VkDeviceGroupSwapchainCreateInfoKHR* src)
10064{
10065 sType = src->sType;
10066 pNext = src->pNext;
10067 modes = src->modes;
10068}
10069
10070safe_VkDisplayPropertiesKHR::safe_VkDisplayPropertiesKHR(const VkDisplayPropertiesKHR* in_struct) :
10071 display(in_struct->display),
10072 displayName(in_struct->displayName),
10073 physicalDimensions(in_struct->physicalDimensions),
10074 physicalResolution(in_struct->physicalResolution),
10075 supportedTransforms(in_struct->supportedTransforms),
10076 planeReorderPossible(in_struct->planeReorderPossible),
10077 persistentContent(in_struct->persistentContent)
10078{
10079}
10080
10081safe_VkDisplayPropertiesKHR::safe_VkDisplayPropertiesKHR()
10082{}
10083
10084safe_VkDisplayPropertiesKHR::safe_VkDisplayPropertiesKHR(const safe_VkDisplayPropertiesKHR& src)
10085{
10086 display = src.display;
10087 displayName = src.displayName;
10088 physicalDimensions = src.physicalDimensions;
10089 physicalResolution = src.physicalResolution;
10090 supportedTransforms = src.supportedTransforms;
10091 planeReorderPossible = src.planeReorderPossible;
10092 persistentContent = src.persistentContent;
10093}
10094
10095safe_VkDisplayPropertiesKHR& safe_VkDisplayPropertiesKHR::operator=(const safe_VkDisplayPropertiesKHR& src)
10096{
10097 if (&src == this) return *this;
10098
10099
10100 display = src.display;
10101 displayName = src.displayName;
10102 physicalDimensions = src.physicalDimensions;
10103 physicalResolution = src.physicalResolution;
10104 supportedTransforms = src.supportedTransforms;
10105 planeReorderPossible = src.planeReorderPossible;
10106 persistentContent = src.persistentContent;
10107
10108 return *this;
10109}
10110
10111safe_VkDisplayPropertiesKHR::~safe_VkDisplayPropertiesKHR()
10112{
10113}
10114
10115void safe_VkDisplayPropertiesKHR::initialize(const VkDisplayPropertiesKHR* in_struct)
10116{
10117 display = in_struct->display;
10118 displayName = in_struct->displayName;
10119 physicalDimensions = in_struct->physicalDimensions;
10120 physicalResolution = in_struct->physicalResolution;
10121 supportedTransforms = in_struct->supportedTransforms;
10122 planeReorderPossible = in_struct->planeReorderPossible;
10123 persistentContent = in_struct->persistentContent;
10124}
10125
10126void safe_VkDisplayPropertiesKHR::initialize(const safe_VkDisplayPropertiesKHR* src)
10127{
10128 display = src->display;
10129 displayName = src->displayName;
10130 physicalDimensions = src->physicalDimensions;
10131 physicalResolution = src->physicalResolution;
10132 supportedTransforms = src->supportedTransforms;
10133 planeReorderPossible = src->planeReorderPossible;
10134 persistentContent = src->persistentContent;
10135}
10136
10137safe_VkDisplayModeCreateInfoKHR::safe_VkDisplayModeCreateInfoKHR(const VkDisplayModeCreateInfoKHR* in_struct) :
10138 sType(in_struct->sType),
10139 pNext(in_struct->pNext),
10140 flags(in_struct->flags),
10141 parameters(in_struct->parameters)
10142{
10143}
10144
10145safe_VkDisplayModeCreateInfoKHR::safe_VkDisplayModeCreateInfoKHR()
10146{}
10147
10148safe_VkDisplayModeCreateInfoKHR::safe_VkDisplayModeCreateInfoKHR(const safe_VkDisplayModeCreateInfoKHR& src)
10149{
10150 sType = src.sType;
10151 pNext = src.pNext;
10152 flags = src.flags;
10153 parameters = src.parameters;
10154}
10155
10156safe_VkDisplayModeCreateInfoKHR& safe_VkDisplayModeCreateInfoKHR::operator=(const safe_VkDisplayModeCreateInfoKHR& src)
10157{
10158 if (&src == this) return *this;
10159
10160
10161 sType = src.sType;
10162 pNext = src.pNext;
10163 flags = src.flags;
10164 parameters = src.parameters;
10165
10166 return *this;
10167}
10168
10169safe_VkDisplayModeCreateInfoKHR::~safe_VkDisplayModeCreateInfoKHR()
10170{
10171}
10172
10173void safe_VkDisplayModeCreateInfoKHR::initialize(const VkDisplayModeCreateInfoKHR* in_struct)
10174{
10175 sType = in_struct->sType;
10176 pNext = in_struct->pNext;
10177 flags = in_struct->flags;
10178 parameters = in_struct->parameters;
10179}
10180
10181void safe_VkDisplayModeCreateInfoKHR::initialize(const safe_VkDisplayModeCreateInfoKHR* src)
10182{
10183 sType = src->sType;
10184 pNext = src->pNext;
10185 flags = src->flags;
10186 parameters = src->parameters;
10187}
10188
10189safe_VkDisplaySurfaceCreateInfoKHR::safe_VkDisplaySurfaceCreateInfoKHR(const VkDisplaySurfaceCreateInfoKHR* in_struct) :
10190 sType(in_struct->sType),
10191 pNext(in_struct->pNext),
10192 flags(in_struct->flags),
10193 displayMode(in_struct->displayMode),
10194 planeIndex(in_struct->planeIndex),
10195 planeStackIndex(in_struct->planeStackIndex),
10196 transform(in_struct->transform),
10197 globalAlpha(in_struct->globalAlpha),
10198 alphaMode(in_struct->alphaMode),
10199 imageExtent(in_struct->imageExtent)
10200{
10201}
10202
10203safe_VkDisplaySurfaceCreateInfoKHR::safe_VkDisplaySurfaceCreateInfoKHR()
10204{}
10205
10206safe_VkDisplaySurfaceCreateInfoKHR::safe_VkDisplaySurfaceCreateInfoKHR(const safe_VkDisplaySurfaceCreateInfoKHR& src)
10207{
10208 sType = src.sType;
10209 pNext = src.pNext;
10210 flags = src.flags;
10211 displayMode = src.displayMode;
10212 planeIndex = src.planeIndex;
10213 planeStackIndex = src.planeStackIndex;
10214 transform = src.transform;
10215 globalAlpha = src.globalAlpha;
10216 alphaMode = src.alphaMode;
10217 imageExtent = src.imageExtent;
10218}
10219
10220safe_VkDisplaySurfaceCreateInfoKHR& safe_VkDisplaySurfaceCreateInfoKHR::operator=(const safe_VkDisplaySurfaceCreateInfoKHR& src)
10221{
10222 if (&src == this) return *this;
10223
10224
10225 sType = src.sType;
10226 pNext = src.pNext;
10227 flags = src.flags;
10228 displayMode = src.displayMode;
10229 planeIndex = src.planeIndex;
10230 planeStackIndex = src.planeStackIndex;
10231 transform = src.transform;
10232 globalAlpha = src.globalAlpha;
10233 alphaMode = src.alphaMode;
10234 imageExtent = src.imageExtent;
10235
10236 return *this;
10237}
10238
10239safe_VkDisplaySurfaceCreateInfoKHR::~safe_VkDisplaySurfaceCreateInfoKHR()
10240{
10241}
10242
10243void safe_VkDisplaySurfaceCreateInfoKHR::initialize(const VkDisplaySurfaceCreateInfoKHR* in_struct)
10244{
10245 sType = in_struct->sType;
10246 pNext = in_struct->pNext;
10247 flags = in_struct->flags;
10248 displayMode = in_struct->displayMode;
10249 planeIndex = in_struct->planeIndex;
10250 planeStackIndex = in_struct->planeStackIndex;
10251 transform = in_struct->transform;
10252 globalAlpha = in_struct->globalAlpha;
10253 alphaMode = in_struct->alphaMode;
10254 imageExtent = in_struct->imageExtent;
10255}
10256
10257void safe_VkDisplaySurfaceCreateInfoKHR::initialize(const safe_VkDisplaySurfaceCreateInfoKHR* src)
10258{
10259 sType = src->sType;
10260 pNext = src->pNext;
10261 flags = src->flags;
10262 displayMode = src->displayMode;
10263 planeIndex = src->planeIndex;
10264 planeStackIndex = src->planeStackIndex;
10265 transform = src->transform;
10266 globalAlpha = src->globalAlpha;
10267 alphaMode = src->alphaMode;
10268 imageExtent = src->imageExtent;
10269}
10270
10271safe_VkDisplayPresentInfoKHR::safe_VkDisplayPresentInfoKHR(const VkDisplayPresentInfoKHR* in_struct) :
10272 sType(in_struct->sType),
10273 pNext(in_struct->pNext),
10274 srcRect(in_struct->srcRect),
10275 dstRect(in_struct->dstRect),
10276 persistent(in_struct->persistent)
10277{
10278}
10279
10280safe_VkDisplayPresentInfoKHR::safe_VkDisplayPresentInfoKHR()
10281{}
10282
10283safe_VkDisplayPresentInfoKHR::safe_VkDisplayPresentInfoKHR(const safe_VkDisplayPresentInfoKHR& src)
10284{
10285 sType = src.sType;
10286 pNext = src.pNext;
10287 srcRect = src.srcRect;
10288 dstRect = src.dstRect;
10289 persistent = src.persistent;
10290}
10291
10292safe_VkDisplayPresentInfoKHR& safe_VkDisplayPresentInfoKHR::operator=(const safe_VkDisplayPresentInfoKHR& src)
10293{
10294 if (&src == this) return *this;
10295
10296
10297 sType = src.sType;
10298 pNext = src.pNext;
10299 srcRect = src.srcRect;
10300 dstRect = src.dstRect;
10301 persistent = src.persistent;
10302
10303 return *this;
10304}
10305
10306safe_VkDisplayPresentInfoKHR::~safe_VkDisplayPresentInfoKHR()
10307{
10308}
10309
10310void safe_VkDisplayPresentInfoKHR::initialize(const VkDisplayPresentInfoKHR* in_struct)
10311{
10312 sType = in_struct->sType;
10313 pNext = in_struct->pNext;
10314 srcRect = in_struct->srcRect;
10315 dstRect = in_struct->dstRect;
10316 persistent = in_struct->persistent;
10317}
10318
10319void safe_VkDisplayPresentInfoKHR::initialize(const safe_VkDisplayPresentInfoKHR* src)
10320{
10321 sType = src->sType;
10322 pNext = src->pNext;
10323 srcRect = src->srcRect;
10324 dstRect = src->dstRect;
10325 persistent = src->persistent;
10326}
10327#ifdef VK_USE_PLATFORM_WIN32_KHR
10328
10329
10330safe_VkImportMemoryWin32HandleInfoKHR::safe_VkImportMemoryWin32HandleInfoKHR(const VkImportMemoryWin32HandleInfoKHR* in_struct) :
10331 sType(in_struct->sType),
10332 pNext(in_struct->pNext),
10333 handleType(in_struct->handleType),
10334 handle(in_struct->handle),
10335 name(in_struct->name)
10336{
10337}
10338
10339safe_VkImportMemoryWin32HandleInfoKHR::safe_VkImportMemoryWin32HandleInfoKHR()
10340{}
10341
10342safe_VkImportMemoryWin32HandleInfoKHR::safe_VkImportMemoryWin32HandleInfoKHR(const safe_VkImportMemoryWin32HandleInfoKHR& src)
10343{
10344 sType = src.sType;
10345 pNext = src.pNext;
10346 handleType = src.handleType;
10347 handle = src.handle;
10348 name = src.name;
10349}
10350
10351safe_VkImportMemoryWin32HandleInfoKHR& safe_VkImportMemoryWin32HandleInfoKHR::operator=(const safe_VkImportMemoryWin32HandleInfoKHR& src)
10352{
10353 if (&src == this) return *this;
10354
10355
10356 sType = src.sType;
10357 pNext = src.pNext;
10358 handleType = src.handleType;
10359 handle = src.handle;
10360 name = src.name;
10361
10362 return *this;
10363}
10364
10365safe_VkImportMemoryWin32HandleInfoKHR::~safe_VkImportMemoryWin32HandleInfoKHR()
10366{
10367}
10368
10369void safe_VkImportMemoryWin32HandleInfoKHR::initialize(const VkImportMemoryWin32HandleInfoKHR* in_struct)
10370{
10371 sType = in_struct->sType;
10372 pNext = in_struct->pNext;
10373 handleType = in_struct->handleType;
10374 handle = in_struct->handle;
10375 name = in_struct->name;
10376}
10377
10378void safe_VkImportMemoryWin32HandleInfoKHR::initialize(const safe_VkImportMemoryWin32HandleInfoKHR* src)
10379{
10380 sType = src->sType;
10381 pNext = src->pNext;
10382 handleType = src->handleType;
10383 handle = src->handle;
10384 name = src->name;
10385}
10386#endif // VK_USE_PLATFORM_WIN32_KHR
10387
10388#ifdef VK_USE_PLATFORM_WIN32_KHR
10389
10390
10391safe_VkExportMemoryWin32HandleInfoKHR::safe_VkExportMemoryWin32HandleInfoKHR(const VkExportMemoryWin32HandleInfoKHR* in_struct) :
10392 sType(in_struct->sType),
10393 pNext(in_struct->pNext),
10394 pAttributes(nullptr),
10395 dwAccess(in_struct->dwAccess),
10396 name(in_struct->name)
10397{
10398 if (in_struct->pAttributes) {
10399 pAttributes = new SECURITY_ATTRIBUTES(*in_struct->pAttributes);
10400 }
10401}
10402
10403safe_VkExportMemoryWin32HandleInfoKHR::safe_VkExportMemoryWin32HandleInfoKHR() :
10404 pAttributes(nullptr)
10405{}
10406
10407safe_VkExportMemoryWin32HandleInfoKHR::safe_VkExportMemoryWin32HandleInfoKHR(const safe_VkExportMemoryWin32HandleInfoKHR& src)
10408{
10409 sType = src.sType;
10410 pNext = src.pNext;
10411 pAttributes = nullptr;
10412 dwAccess = src.dwAccess;
10413 name = src.name;
10414 if (src.pAttributes) {
10415 pAttributes = new SECURITY_ATTRIBUTES(*src.pAttributes);
10416 }
10417}
10418
10419safe_VkExportMemoryWin32HandleInfoKHR& safe_VkExportMemoryWin32HandleInfoKHR::operator=(const safe_VkExportMemoryWin32HandleInfoKHR& src)
10420{
10421 if (&src == this) return *this;
10422
10423 if (pAttributes)
10424 delete pAttributes;
10425
10426 sType = src.sType;
10427 pNext = src.pNext;
10428 pAttributes = nullptr;
10429 dwAccess = src.dwAccess;
10430 name = src.name;
10431 if (src.pAttributes) {
10432 pAttributes = new SECURITY_ATTRIBUTES(*src.pAttributes);
10433 }
10434
10435 return *this;
10436}
10437
10438safe_VkExportMemoryWin32HandleInfoKHR::~safe_VkExportMemoryWin32HandleInfoKHR()
10439{
10440 if (pAttributes)
10441 delete pAttributes;
10442}
10443
10444void safe_VkExportMemoryWin32HandleInfoKHR::initialize(const VkExportMemoryWin32HandleInfoKHR* in_struct)
10445{
10446 sType = in_struct->sType;
10447 pNext = in_struct->pNext;
10448 pAttributes = nullptr;
10449 dwAccess = in_struct->dwAccess;
10450 name = in_struct->name;
10451 if (in_struct->pAttributes) {
10452 pAttributes = new SECURITY_ATTRIBUTES(*in_struct->pAttributes);
10453 }
10454}
10455
10456void safe_VkExportMemoryWin32HandleInfoKHR::initialize(const safe_VkExportMemoryWin32HandleInfoKHR* src)
10457{
10458 sType = src->sType;
10459 pNext = src->pNext;
10460 pAttributes = nullptr;
10461 dwAccess = src->dwAccess;
10462 name = src->name;
10463 if (src->pAttributes) {
10464 pAttributes = new SECURITY_ATTRIBUTES(*src->pAttributes);
10465 }
10466}
10467#endif // VK_USE_PLATFORM_WIN32_KHR
10468
10469#ifdef VK_USE_PLATFORM_WIN32_KHR
10470
10471
10472safe_VkMemoryWin32HandlePropertiesKHR::safe_VkMemoryWin32HandlePropertiesKHR(const VkMemoryWin32HandlePropertiesKHR* in_struct) :
10473 sType(in_struct->sType),
10474 pNext(in_struct->pNext),
10475 memoryTypeBits(in_struct->memoryTypeBits)
10476{
10477}
10478
10479safe_VkMemoryWin32HandlePropertiesKHR::safe_VkMemoryWin32HandlePropertiesKHR()
10480{}
10481
10482safe_VkMemoryWin32HandlePropertiesKHR::safe_VkMemoryWin32HandlePropertiesKHR(const safe_VkMemoryWin32HandlePropertiesKHR& src)
10483{
10484 sType = src.sType;
10485 pNext = src.pNext;
10486 memoryTypeBits = src.memoryTypeBits;
10487}
10488
10489safe_VkMemoryWin32HandlePropertiesKHR& safe_VkMemoryWin32HandlePropertiesKHR::operator=(const safe_VkMemoryWin32HandlePropertiesKHR& src)
10490{
10491 if (&src == this) return *this;
10492
10493
10494 sType = src.sType;
10495 pNext = src.pNext;
10496 memoryTypeBits = src.memoryTypeBits;
10497
10498 return *this;
10499}
10500
10501safe_VkMemoryWin32HandlePropertiesKHR::~safe_VkMemoryWin32HandlePropertiesKHR()
10502{
10503}
10504
10505void safe_VkMemoryWin32HandlePropertiesKHR::initialize(const VkMemoryWin32HandlePropertiesKHR* in_struct)
10506{
10507 sType = in_struct->sType;
10508 pNext = in_struct->pNext;
10509 memoryTypeBits = in_struct->memoryTypeBits;
10510}
10511
10512void safe_VkMemoryWin32HandlePropertiesKHR::initialize(const safe_VkMemoryWin32HandlePropertiesKHR* src)
10513{
10514 sType = src->sType;
10515 pNext = src->pNext;
10516 memoryTypeBits = src->memoryTypeBits;
10517}
10518#endif // VK_USE_PLATFORM_WIN32_KHR
10519
10520#ifdef VK_USE_PLATFORM_WIN32_KHR
10521
10522
10523safe_VkMemoryGetWin32HandleInfoKHR::safe_VkMemoryGetWin32HandleInfoKHR(const VkMemoryGetWin32HandleInfoKHR* in_struct) :
10524 sType(in_struct->sType),
10525 pNext(in_struct->pNext),
10526 memory(in_struct->memory),
10527 handleType(in_struct->handleType)
10528{
10529}
10530
10531safe_VkMemoryGetWin32HandleInfoKHR::safe_VkMemoryGetWin32HandleInfoKHR()
10532{}
10533
10534safe_VkMemoryGetWin32HandleInfoKHR::safe_VkMemoryGetWin32HandleInfoKHR(const safe_VkMemoryGetWin32HandleInfoKHR& src)
10535{
10536 sType = src.sType;
10537 pNext = src.pNext;
10538 memory = src.memory;
10539 handleType = src.handleType;
10540}
10541
10542safe_VkMemoryGetWin32HandleInfoKHR& safe_VkMemoryGetWin32HandleInfoKHR::operator=(const safe_VkMemoryGetWin32HandleInfoKHR& src)
10543{
10544 if (&src == this) return *this;
10545
10546
10547 sType = src.sType;
10548 pNext = src.pNext;
10549 memory = src.memory;
10550 handleType = src.handleType;
10551
10552 return *this;
10553}
10554
10555safe_VkMemoryGetWin32HandleInfoKHR::~safe_VkMemoryGetWin32HandleInfoKHR()
10556{
10557}
10558
10559void safe_VkMemoryGetWin32HandleInfoKHR::initialize(const VkMemoryGetWin32HandleInfoKHR* in_struct)
10560{
10561 sType = in_struct->sType;
10562 pNext = in_struct->pNext;
10563 memory = in_struct->memory;
10564 handleType = in_struct->handleType;
10565}
10566
10567void safe_VkMemoryGetWin32HandleInfoKHR::initialize(const safe_VkMemoryGetWin32HandleInfoKHR* src)
10568{
10569 sType = src->sType;
10570 pNext = src->pNext;
10571 memory = src->memory;
10572 handleType = src->handleType;
10573}
10574#endif // VK_USE_PLATFORM_WIN32_KHR
10575
10576
10577safe_VkImportMemoryFdInfoKHR::safe_VkImportMemoryFdInfoKHR(const VkImportMemoryFdInfoKHR* in_struct) :
10578 sType(in_struct->sType),
10579 pNext(in_struct->pNext),
10580 handleType(in_struct->handleType),
10581 fd(in_struct->fd)
10582{
10583}
10584
10585safe_VkImportMemoryFdInfoKHR::safe_VkImportMemoryFdInfoKHR()
10586{}
10587
10588safe_VkImportMemoryFdInfoKHR::safe_VkImportMemoryFdInfoKHR(const safe_VkImportMemoryFdInfoKHR& src)
10589{
10590 sType = src.sType;
10591 pNext = src.pNext;
10592 handleType = src.handleType;
10593 fd = src.fd;
10594}
10595
10596safe_VkImportMemoryFdInfoKHR& safe_VkImportMemoryFdInfoKHR::operator=(const safe_VkImportMemoryFdInfoKHR& src)
10597{
10598 if (&src == this) return *this;
10599
10600
10601 sType = src.sType;
10602 pNext = src.pNext;
10603 handleType = src.handleType;
10604 fd = src.fd;
10605
10606 return *this;
10607}
10608
10609safe_VkImportMemoryFdInfoKHR::~safe_VkImportMemoryFdInfoKHR()
10610{
10611}
10612
10613void safe_VkImportMemoryFdInfoKHR::initialize(const VkImportMemoryFdInfoKHR* in_struct)
10614{
10615 sType = in_struct->sType;
10616 pNext = in_struct->pNext;
10617 handleType = in_struct->handleType;
10618 fd = in_struct->fd;
10619}
10620
10621void safe_VkImportMemoryFdInfoKHR::initialize(const safe_VkImportMemoryFdInfoKHR* src)
10622{
10623 sType = src->sType;
10624 pNext = src->pNext;
10625 handleType = src->handleType;
10626 fd = src->fd;
10627}
10628
10629safe_VkMemoryFdPropertiesKHR::safe_VkMemoryFdPropertiesKHR(const VkMemoryFdPropertiesKHR* in_struct) :
10630 sType(in_struct->sType),
10631 pNext(in_struct->pNext),
10632 memoryTypeBits(in_struct->memoryTypeBits)
10633{
10634}
10635
10636safe_VkMemoryFdPropertiesKHR::safe_VkMemoryFdPropertiesKHR()
10637{}
10638
10639safe_VkMemoryFdPropertiesKHR::safe_VkMemoryFdPropertiesKHR(const safe_VkMemoryFdPropertiesKHR& src)
10640{
10641 sType = src.sType;
10642 pNext = src.pNext;
10643 memoryTypeBits = src.memoryTypeBits;
10644}
10645
10646safe_VkMemoryFdPropertiesKHR& safe_VkMemoryFdPropertiesKHR::operator=(const safe_VkMemoryFdPropertiesKHR& src)
10647{
10648 if (&src == this) return *this;
10649
10650
10651 sType = src.sType;
10652 pNext = src.pNext;
10653 memoryTypeBits = src.memoryTypeBits;
10654
10655 return *this;
10656}
10657
10658safe_VkMemoryFdPropertiesKHR::~safe_VkMemoryFdPropertiesKHR()
10659{
10660}
10661
10662void safe_VkMemoryFdPropertiesKHR::initialize(const VkMemoryFdPropertiesKHR* in_struct)
10663{
10664 sType = in_struct->sType;
10665 pNext = in_struct->pNext;
10666 memoryTypeBits = in_struct->memoryTypeBits;
10667}
10668
10669void safe_VkMemoryFdPropertiesKHR::initialize(const safe_VkMemoryFdPropertiesKHR* src)
10670{
10671 sType = src->sType;
10672 pNext = src->pNext;
10673 memoryTypeBits = src->memoryTypeBits;
10674}
10675
10676safe_VkMemoryGetFdInfoKHR::safe_VkMemoryGetFdInfoKHR(const VkMemoryGetFdInfoKHR* in_struct) :
10677 sType(in_struct->sType),
10678 pNext(in_struct->pNext),
10679 memory(in_struct->memory),
10680 handleType(in_struct->handleType)
10681{
10682}
10683
10684safe_VkMemoryGetFdInfoKHR::safe_VkMemoryGetFdInfoKHR()
10685{}
10686
10687safe_VkMemoryGetFdInfoKHR::safe_VkMemoryGetFdInfoKHR(const safe_VkMemoryGetFdInfoKHR& src)
10688{
10689 sType = src.sType;
10690 pNext = src.pNext;
10691 memory = src.memory;
10692 handleType = src.handleType;
10693}
10694
10695safe_VkMemoryGetFdInfoKHR& safe_VkMemoryGetFdInfoKHR::operator=(const safe_VkMemoryGetFdInfoKHR& src)
10696{
10697 if (&src == this) return *this;
10698
10699
10700 sType = src.sType;
10701 pNext = src.pNext;
10702 memory = src.memory;
10703 handleType = src.handleType;
10704
10705 return *this;
10706}
10707
10708safe_VkMemoryGetFdInfoKHR::~safe_VkMemoryGetFdInfoKHR()
10709{
10710}
10711
10712void safe_VkMemoryGetFdInfoKHR::initialize(const VkMemoryGetFdInfoKHR* in_struct)
10713{
10714 sType = in_struct->sType;
10715 pNext = in_struct->pNext;
10716 memory = in_struct->memory;
10717 handleType = in_struct->handleType;
10718}
10719
10720void safe_VkMemoryGetFdInfoKHR::initialize(const safe_VkMemoryGetFdInfoKHR* src)
10721{
10722 sType = src->sType;
10723 pNext = src->pNext;
10724 memory = src->memory;
10725 handleType = src->handleType;
10726}
10727#ifdef VK_USE_PLATFORM_WIN32_KHR
10728
10729
10730safe_VkWin32KeyedMutexAcquireReleaseInfoKHR::safe_VkWin32KeyedMutexAcquireReleaseInfoKHR(const VkWin32KeyedMutexAcquireReleaseInfoKHR* in_struct) :
10731 sType(in_struct->sType),
10732 pNext(in_struct->pNext),
10733 acquireCount(in_struct->acquireCount),
10734 pAcquireSyncs(nullptr),
10735 pAcquireKeys(nullptr),
10736 pAcquireTimeouts(nullptr),
10737 releaseCount(in_struct->releaseCount),
10738 pReleaseSyncs(nullptr),
10739 pReleaseKeys(nullptr)
10740{
10741 if (acquireCount && in_struct->pAcquireSyncs) {
10742 pAcquireSyncs = new VkDeviceMemory[acquireCount];
10743 for (uint32_t i=0; i<acquireCount; ++i) {
10744 pAcquireSyncs[i] = in_struct->pAcquireSyncs[i];
10745 }
10746 }
10747 if (in_struct->pAcquireKeys) {
10748 pAcquireKeys = new uint64_t[in_struct->acquireCount];
10749 memcpy ((void *)pAcquireKeys, (void *)in_struct->pAcquireKeys, sizeof(uint64_t)*in_struct->acquireCount);
10750 }
10751 if (in_struct->pAcquireTimeouts) {
10752 pAcquireTimeouts = new uint32_t[in_struct->acquireCount];
10753 memcpy ((void *)pAcquireTimeouts, (void *)in_struct->pAcquireTimeouts, sizeof(uint32_t)*in_struct->acquireCount);
10754 }
10755 if (releaseCount && in_struct->pReleaseSyncs) {
10756 pReleaseSyncs = new VkDeviceMemory[releaseCount];
10757 for (uint32_t i=0; i<releaseCount; ++i) {
10758 pReleaseSyncs[i] = in_struct->pReleaseSyncs[i];
10759 }
10760 }
10761 if (in_struct->pReleaseKeys) {
10762 pReleaseKeys = new uint64_t[in_struct->releaseCount];
10763 memcpy ((void *)pReleaseKeys, (void *)in_struct->pReleaseKeys, sizeof(uint64_t)*in_struct->releaseCount);
10764 }
10765}
10766
10767safe_VkWin32KeyedMutexAcquireReleaseInfoKHR::safe_VkWin32KeyedMutexAcquireReleaseInfoKHR() :
10768 pAcquireSyncs(nullptr),
10769 pAcquireKeys(nullptr),
10770 pAcquireTimeouts(nullptr),
10771 pReleaseSyncs(nullptr),
10772 pReleaseKeys(nullptr)
10773{}
10774
10775safe_VkWin32KeyedMutexAcquireReleaseInfoKHR::safe_VkWin32KeyedMutexAcquireReleaseInfoKHR(const safe_VkWin32KeyedMutexAcquireReleaseInfoKHR& src)
10776{
10777 sType = src.sType;
10778 pNext = src.pNext;
10779 acquireCount = src.acquireCount;
10780 pAcquireSyncs = nullptr;
10781 pAcquireKeys = nullptr;
10782 pAcquireTimeouts = nullptr;
10783 releaseCount = src.releaseCount;
10784 pReleaseSyncs = nullptr;
10785 pReleaseKeys = nullptr;
10786 if (acquireCount && src.pAcquireSyncs) {
10787 pAcquireSyncs = new VkDeviceMemory[acquireCount];
10788 for (uint32_t i=0; i<acquireCount; ++i) {
10789 pAcquireSyncs[i] = src.pAcquireSyncs[i];
10790 }
10791 }
10792 if (src.pAcquireKeys) {
10793 pAcquireKeys = new uint64_t[src.acquireCount];
10794 memcpy ((void *)pAcquireKeys, (void *)src.pAcquireKeys, sizeof(uint64_t)*src.acquireCount);
10795 }
10796 if (src.pAcquireTimeouts) {
10797 pAcquireTimeouts = new uint32_t[src.acquireCount];
10798 memcpy ((void *)pAcquireTimeouts, (void *)src.pAcquireTimeouts, sizeof(uint32_t)*src.acquireCount);
10799 }
10800 if (releaseCount && src.pReleaseSyncs) {
10801 pReleaseSyncs = new VkDeviceMemory[releaseCount];
10802 for (uint32_t i=0; i<releaseCount; ++i) {
10803 pReleaseSyncs[i] = src.pReleaseSyncs[i];
10804 }
10805 }
10806 if (src.pReleaseKeys) {
10807 pReleaseKeys = new uint64_t[src.releaseCount];
10808 memcpy ((void *)pReleaseKeys, (void *)src.pReleaseKeys, sizeof(uint64_t)*src.releaseCount);
10809 }
10810}
10811
10812safe_VkWin32KeyedMutexAcquireReleaseInfoKHR& safe_VkWin32KeyedMutexAcquireReleaseInfoKHR::operator=(const safe_VkWin32KeyedMutexAcquireReleaseInfoKHR& src)
10813{
10814 if (&src == this) return *this;
10815
10816 if (pAcquireSyncs)
10817 delete[] pAcquireSyncs;
10818 if (pAcquireKeys)
10819 delete[] pAcquireKeys;
10820 if (pAcquireTimeouts)
10821 delete[] pAcquireTimeouts;
10822 if (pReleaseSyncs)
10823 delete[] pReleaseSyncs;
10824 if (pReleaseKeys)
10825 delete[] pReleaseKeys;
10826
10827 sType = src.sType;
10828 pNext = src.pNext;
10829 acquireCount = src.acquireCount;
10830 pAcquireSyncs = nullptr;
10831 pAcquireKeys = nullptr;
10832 pAcquireTimeouts = nullptr;
10833 releaseCount = src.releaseCount;
10834 pReleaseSyncs = nullptr;
10835 pReleaseKeys = nullptr;
10836 if (acquireCount && src.pAcquireSyncs) {
10837 pAcquireSyncs = new VkDeviceMemory[acquireCount];
10838 for (uint32_t i=0; i<acquireCount; ++i) {
10839 pAcquireSyncs[i] = src.pAcquireSyncs[i];
10840 }
10841 }
10842 if (src.pAcquireKeys) {
10843 pAcquireKeys = new uint64_t[src.acquireCount];
10844 memcpy ((void *)pAcquireKeys, (void *)src.pAcquireKeys, sizeof(uint64_t)*src.acquireCount);
10845 }
10846 if (src.pAcquireTimeouts) {
10847 pAcquireTimeouts = new uint32_t[src.acquireCount];
10848 memcpy ((void *)pAcquireTimeouts, (void *)src.pAcquireTimeouts, sizeof(uint32_t)*src.acquireCount);
10849 }
10850 if (releaseCount && src.pReleaseSyncs) {
10851 pReleaseSyncs = new VkDeviceMemory[releaseCount];
10852 for (uint32_t i=0; i<releaseCount; ++i) {
10853 pReleaseSyncs[i] = src.pReleaseSyncs[i];
10854 }
10855 }
10856 if (src.pReleaseKeys) {
10857 pReleaseKeys = new uint64_t[src.releaseCount];
10858 memcpy ((void *)pReleaseKeys, (void *)src.pReleaseKeys, sizeof(uint64_t)*src.releaseCount);
10859 }
10860
10861 return *this;
10862}
10863
10864safe_VkWin32KeyedMutexAcquireReleaseInfoKHR::~safe_VkWin32KeyedMutexAcquireReleaseInfoKHR()
10865{
10866 if (pAcquireSyncs)
10867 delete[] pAcquireSyncs;
10868 if (pAcquireKeys)
10869 delete[] pAcquireKeys;
10870 if (pAcquireTimeouts)
10871 delete[] pAcquireTimeouts;
10872 if (pReleaseSyncs)
10873 delete[] pReleaseSyncs;
10874 if (pReleaseKeys)
10875 delete[] pReleaseKeys;
10876}
10877
10878void safe_VkWin32KeyedMutexAcquireReleaseInfoKHR::initialize(const VkWin32KeyedMutexAcquireReleaseInfoKHR* in_struct)
10879{
10880 sType = in_struct->sType;
10881 pNext = in_struct->pNext;
10882 acquireCount = in_struct->acquireCount;
10883 pAcquireSyncs = nullptr;
10884 pAcquireKeys = nullptr;
10885 pAcquireTimeouts = nullptr;
10886 releaseCount = in_struct->releaseCount;
10887 pReleaseSyncs = nullptr;
10888 pReleaseKeys = nullptr;
10889 if (acquireCount && in_struct->pAcquireSyncs) {
10890 pAcquireSyncs = new VkDeviceMemory[acquireCount];
10891 for (uint32_t i=0; i<acquireCount; ++i) {
10892 pAcquireSyncs[i] = in_struct->pAcquireSyncs[i];
10893 }
10894 }
10895 if (in_struct->pAcquireKeys) {
10896 pAcquireKeys = new uint64_t[in_struct->acquireCount];
10897 memcpy ((void *)pAcquireKeys, (void *)in_struct->pAcquireKeys, sizeof(uint64_t)*in_struct->acquireCount);
10898 }
10899 if (in_struct->pAcquireTimeouts) {
10900 pAcquireTimeouts = new uint32_t[in_struct->acquireCount];
10901 memcpy ((void *)pAcquireTimeouts, (void *)in_struct->pAcquireTimeouts, sizeof(uint32_t)*in_struct->acquireCount);
10902 }
10903 if (releaseCount && in_struct->pReleaseSyncs) {
10904 pReleaseSyncs = new VkDeviceMemory[releaseCount];
10905 for (uint32_t i=0; i<releaseCount; ++i) {
10906 pReleaseSyncs[i] = in_struct->pReleaseSyncs[i];
10907 }
10908 }
10909 if (in_struct->pReleaseKeys) {
10910 pReleaseKeys = new uint64_t[in_struct->releaseCount];
10911 memcpy ((void *)pReleaseKeys, (void *)in_struct->pReleaseKeys, sizeof(uint64_t)*in_struct->releaseCount);
10912 }
10913}
10914
10915void safe_VkWin32KeyedMutexAcquireReleaseInfoKHR::initialize(const safe_VkWin32KeyedMutexAcquireReleaseInfoKHR* src)
10916{
10917 sType = src->sType;
10918 pNext = src->pNext;
10919 acquireCount = src->acquireCount;
10920 pAcquireSyncs = nullptr;
10921 pAcquireKeys = nullptr;
10922 pAcquireTimeouts = nullptr;
10923 releaseCount = src->releaseCount;
10924 pReleaseSyncs = nullptr;
10925 pReleaseKeys = nullptr;
10926 if (acquireCount && src->pAcquireSyncs) {
10927 pAcquireSyncs = new VkDeviceMemory[acquireCount];
10928 for (uint32_t i=0; i<acquireCount; ++i) {
10929 pAcquireSyncs[i] = src->pAcquireSyncs[i];
10930 }
10931 }
10932 if (src->pAcquireKeys) {
10933 pAcquireKeys = new uint64_t[src->acquireCount];
10934 memcpy ((void *)pAcquireKeys, (void *)src->pAcquireKeys, sizeof(uint64_t)*src->acquireCount);
10935 }
10936 if (src->pAcquireTimeouts) {
10937 pAcquireTimeouts = new uint32_t[src->acquireCount];
10938 memcpy ((void *)pAcquireTimeouts, (void *)src->pAcquireTimeouts, sizeof(uint32_t)*src->acquireCount);
10939 }
10940 if (releaseCount && src->pReleaseSyncs) {
10941 pReleaseSyncs = new VkDeviceMemory[releaseCount];
10942 for (uint32_t i=0; i<releaseCount; ++i) {
10943 pReleaseSyncs[i] = src->pReleaseSyncs[i];
10944 }
10945 }
10946 if (src->pReleaseKeys) {
10947 pReleaseKeys = new uint64_t[src->releaseCount];
10948 memcpy ((void *)pReleaseKeys, (void *)src->pReleaseKeys, sizeof(uint64_t)*src->releaseCount);
10949 }
10950}
10951#endif // VK_USE_PLATFORM_WIN32_KHR
10952
10953#ifdef VK_USE_PLATFORM_WIN32_KHR
10954
10955
10956safe_VkImportSemaphoreWin32HandleInfoKHR::safe_VkImportSemaphoreWin32HandleInfoKHR(const VkImportSemaphoreWin32HandleInfoKHR* in_struct) :
10957 sType(in_struct->sType),
10958 pNext(in_struct->pNext),
10959 semaphore(in_struct->semaphore),
10960 flags(in_struct->flags),
10961 handleType(in_struct->handleType),
10962 handle(in_struct->handle),
10963 name(in_struct->name)
10964{
10965}
10966
10967safe_VkImportSemaphoreWin32HandleInfoKHR::safe_VkImportSemaphoreWin32HandleInfoKHR()
10968{}
10969
10970safe_VkImportSemaphoreWin32HandleInfoKHR::safe_VkImportSemaphoreWin32HandleInfoKHR(const safe_VkImportSemaphoreWin32HandleInfoKHR& src)
10971{
10972 sType = src.sType;
10973 pNext = src.pNext;
10974 semaphore = src.semaphore;
10975 flags = src.flags;
10976 handleType = src.handleType;
10977 handle = src.handle;
10978 name = src.name;
10979}
10980
10981safe_VkImportSemaphoreWin32HandleInfoKHR& safe_VkImportSemaphoreWin32HandleInfoKHR::operator=(const safe_VkImportSemaphoreWin32HandleInfoKHR& src)
10982{
10983 if (&src == this) return *this;
10984
10985
10986 sType = src.sType;
10987 pNext = src.pNext;
10988 semaphore = src.semaphore;
10989 flags = src.flags;
10990 handleType = src.handleType;
10991 handle = src.handle;
10992 name = src.name;
10993
10994 return *this;
10995}
10996
10997safe_VkImportSemaphoreWin32HandleInfoKHR::~safe_VkImportSemaphoreWin32HandleInfoKHR()
10998{
10999}
11000
11001void safe_VkImportSemaphoreWin32HandleInfoKHR::initialize(const VkImportSemaphoreWin32HandleInfoKHR* in_struct)
11002{
11003 sType = in_struct->sType;
11004 pNext = in_struct->pNext;
11005 semaphore = in_struct->semaphore;
11006 flags = in_struct->flags;
11007 handleType = in_struct->handleType;
11008 handle = in_struct->handle;
11009 name = in_struct->name;
11010}
11011
11012void safe_VkImportSemaphoreWin32HandleInfoKHR::initialize(const safe_VkImportSemaphoreWin32HandleInfoKHR* src)
11013{
11014 sType = src->sType;
11015 pNext = src->pNext;
11016 semaphore = src->semaphore;
11017 flags = src->flags;
11018 handleType = src->handleType;
11019 handle = src->handle;
11020 name = src->name;
11021}
11022#endif // VK_USE_PLATFORM_WIN32_KHR
11023
11024#ifdef VK_USE_PLATFORM_WIN32_KHR
11025
11026
11027safe_VkExportSemaphoreWin32HandleInfoKHR::safe_VkExportSemaphoreWin32HandleInfoKHR(const VkExportSemaphoreWin32HandleInfoKHR* in_struct) :
11028 sType(in_struct->sType),
11029 pNext(in_struct->pNext),
11030 pAttributes(nullptr),
11031 dwAccess(in_struct->dwAccess),
11032 name(in_struct->name)
11033{
11034 if (in_struct->pAttributes) {
11035 pAttributes = new SECURITY_ATTRIBUTES(*in_struct->pAttributes);
11036 }
11037}
11038
11039safe_VkExportSemaphoreWin32HandleInfoKHR::safe_VkExportSemaphoreWin32HandleInfoKHR() :
11040 pAttributes(nullptr)
11041{}
11042
11043safe_VkExportSemaphoreWin32HandleInfoKHR::safe_VkExportSemaphoreWin32HandleInfoKHR(const safe_VkExportSemaphoreWin32HandleInfoKHR& src)
11044{
11045 sType = src.sType;
11046 pNext = src.pNext;
11047 pAttributes = nullptr;
11048 dwAccess = src.dwAccess;
11049 name = src.name;
11050 if (src.pAttributes) {
11051 pAttributes = new SECURITY_ATTRIBUTES(*src.pAttributes);
11052 }
11053}
11054
11055safe_VkExportSemaphoreWin32HandleInfoKHR& safe_VkExportSemaphoreWin32HandleInfoKHR::operator=(const safe_VkExportSemaphoreWin32HandleInfoKHR& src)
11056{
11057 if (&src == this) return *this;
11058
11059 if (pAttributes)
11060 delete pAttributes;
11061
11062 sType = src.sType;
11063 pNext = src.pNext;
11064 pAttributes = nullptr;
11065 dwAccess = src.dwAccess;
11066 name = src.name;
11067 if (src.pAttributes) {
11068 pAttributes = new SECURITY_ATTRIBUTES(*src.pAttributes);
11069 }
11070
11071 return *this;
11072}
11073
11074safe_VkExportSemaphoreWin32HandleInfoKHR::~safe_VkExportSemaphoreWin32HandleInfoKHR()
11075{
11076 if (pAttributes)
11077 delete pAttributes;
11078}
11079
11080void safe_VkExportSemaphoreWin32HandleInfoKHR::initialize(const VkExportSemaphoreWin32HandleInfoKHR* in_struct)
11081{
11082 sType = in_struct->sType;
11083 pNext = in_struct->pNext;
11084 pAttributes = nullptr;
11085 dwAccess = in_struct->dwAccess;
11086 name = in_struct->name;
11087 if (in_struct->pAttributes) {
11088 pAttributes = new SECURITY_ATTRIBUTES(*in_struct->pAttributes);
11089 }
11090}
11091
11092void safe_VkExportSemaphoreWin32HandleInfoKHR::initialize(const safe_VkExportSemaphoreWin32HandleInfoKHR* src)
11093{
11094 sType = src->sType;
11095 pNext = src->pNext;
11096 pAttributes = nullptr;
11097 dwAccess = src->dwAccess;
11098 name = src->name;
11099 if (src->pAttributes) {
11100 pAttributes = new SECURITY_ATTRIBUTES(*src->pAttributes);
11101 }
11102}
11103#endif // VK_USE_PLATFORM_WIN32_KHR
11104
11105#ifdef VK_USE_PLATFORM_WIN32_KHR
11106
11107
11108safe_VkD3D12FenceSubmitInfoKHR::safe_VkD3D12FenceSubmitInfoKHR(const VkD3D12FenceSubmitInfoKHR* in_struct) :
11109 sType(in_struct->sType),
11110 pNext(in_struct->pNext),
11111 waitSemaphoreValuesCount(in_struct->waitSemaphoreValuesCount),
11112 pWaitSemaphoreValues(nullptr),
11113 signalSemaphoreValuesCount(in_struct->signalSemaphoreValuesCount),
11114 pSignalSemaphoreValues(nullptr)
11115{
11116 if (in_struct->pWaitSemaphoreValues) {
11117 pWaitSemaphoreValues = new uint64_t[in_struct->waitSemaphoreValuesCount];
11118 memcpy ((void *)pWaitSemaphoreValues, (void *)in_struct->pWaitSemaphoreValues, sizeof(uint64_t)*in_struct->waitSemaphoreValuesCount);
11119 }
11120 if (in_struct->pSignalSemaphoreValues) {
11121 pSignalSemaphoreValues = new uint64_t[in_struct->signalSemaphoreValuesCount];
11122 memcpy ((void *)pSignalSemaphoreValues, (void *)in_struct->pSignalSemaphoreValues, sizeof(uint64_t)*in_struct->signalSemaphoreValuesCount);
11123 }
11124}
11125
11126safe_VkD3D12FenceSubmitInfoKHR::safe_VkD3D12FenceSubmitInfoKHR() :
11127 pWaitSemaphoreValues(nullptr),
11128 pSignalSemaphoreValues(nullptr)
11129{}
11130
11131safe_VkD3D12FenceSubmitInfoKHR::safe_VkD3D12FenceSubmitInfoKHR(const safe_VkD3D12FenceSubmitInfoKHR& src)
11132{
11133 sType = src.sType;
11134 pNext = src.pNext;
11135 waitSemaphoreValuesCount = src.waitSemaphoreValuesCount;
11136 pWaitSemaphoreValues = nullptr;
11137 signalSemaphoreValuesCount = src.signalSemaphoreValuesCount;
11138 pSignalSemaphoreValues = nullptr;
11139 if (src.pWaitSemaphoreValues) {
11140 pWaitSemaphoreValues = new uint64_t[src.waitSemaphoreValuesCount];
11141 memcpy ((void *)pWaitSemaphoreValues, (void *)src.pWaitSemaphoreValues, sizeof(uint64_t)*src.waitSemaphoreValuesCount);
11142 }
11143 if (src.pSignalSemaphoreValues) {
11144 pSignalSemaphoreValues = new uint64_t[src.signalSemaphoreValuesCount];
11145 memcpy ((void *)pSignalSemaphoreValues, (void *)src.pSignalSemaphoreValues, sizeof(uint64_t)*src.signalSemaphoreValuesCount);
11146 }
11147}
11148
11149safe_VkD3D12FenceSubmitInfoKHR& safe_VkD3D12FenceSubmitInfoKHR::operator=(const safe_VkD3D12FenceSubmitInfoKHR& src)
11150{
11151 if (&src == this) return *this;
11152
11153 if (pWaitSemaphoreValues)
11154 delete[] pWaitSemaphoreValues;
11155 if (pSignalSemaphoreValues)
11156 delete[] pSignalSemaphoreValues;
11157
11158 sType = src.sType;
11159 pNext = src.pNext;
11160 waitSemaphoreValuesCount = src.waitSemaphoreValuesCount;
11161 pWaitSemaphoreValues = nullptr;
11162 signalSemaphoreValuesCount = src.signalSemaphoreValuesCount;
11163 pSignalSemaphoreValues = nullptr;
11164 if (src.pWaitSemaphoreValues) {
11165 pWaitSemaphoreValues = new uint64_t[src.waitSemaphoreValuesCount];
11166 memcpy ((void *)pWaitSemaphoreValues, (void *)src.pWaitSemaphoreValues, sizeof(uint64_t)*src.waitSemaphoreValuesCount);
11167 }
11168 if (src.pSignalSemaphoreValues) {
11169 pSignalSemaphoreValues = new uint64_t[src.signalSemaphoreValuesCount];
11170 memcpy ((void *)pSignalSemaphoreValues, (void *)src.pSignalSemaphoreValues, sizeof(uint64_t)*src.signalSemaphoreValuesCount);
11171 }
11172
11173 return *this;
11174}
11175
11176safe_VkD3D12FenceSubmitInfoKHR::~safe_VkD3D12FenceSubmitInfoKHR()
11177{
11178 if (pWaitSemaphoreValues)
11179 delete[] pWaitSemaphoreValues;
11180 if (pSignalSemaphoreValues)
11181 delete[] pSignalSemaphoreValues;
11182}
11183
11184void safe_VkD3D12FenceSubmitInfoKHR::initialize(const VkD3D12FenceSubmitInfoKHR* in_struct)
11185{
11186 sType = in_struct->sType;
11187 pNext = in_struct->pNext;
11188 waitSemaphoreValuesCount = in_struct->waitSemaphoreValuesCount;
11189 pWaitSemaphoreValues = nullptr;
11190 signalSemaphoreValuesCount = in_struct->signalSemaphoreValuesCount;
11191 pSignalSemaphoreValues = nullptr;
11192 if (in_struct->pWaitSemaphoreValues) {
11193 pWaitSemaphoreValues = new uint64_t[in_struct->waitSemaphoreValuesCount];
11194 memcpy ((void *)pWaitSemaphoreValues, (void *)in_struct->pWaitSemaphoreValues, sizeof(uint64_t)*in_struct->waitSemaphoreValuesCount);
11195 }
11196 if (in_struct->pSignalSemaphoreValues) {
11197 pSignalSemaphoreValues = new uint64_t[in_struct->signalSemaphoreValuesCount];
11198 memcpy ((void *)pSignalSemaphoreValues, (void *)in_struct->pSignalSemaphoreValues, sizeof(uint64_t)*in_struct->signalSemaphoreValuesCount);
11199 }
11200}
11201
11202void safe_VkD3D12FenceSubmitInfoKHR::initialize(const safe_VkD3D12FenceSubmitInfoKHR* src)
11203{
11204 sType = src->sType;
11205 pNext = src->pNext;
11206 waitSemaphoreValuesCount = src->waitSemaphoreValuesCount;
11207 pWaitSemaphoreValues = nullptr;
11208 signalSemaphoreValuesCount = src->signalSemaphoreValuesCount;
11209 pSignalSemaphoreValues = nullptr;
11210 if (src->pWaitSemaphoreValues) {
11211 pWaitSemaphoreValues = new uint64_t[src->waitSemaphoreValuesCount];
11212 memcpy ((void *)pWaitSemaphoreValues, (void *)src->pWaitSemaphoreValues, sizeof(uint64_t)*src->waitSemaphoreValuesCount);
11213 }
11214 if (src->pSignalSemaphoreValues) {
11215 pSignalSemaphoreValues = new uint64_t[src->signalSemaphoreValuesCount];
11216 memcpy ((void *)pSignalSemaphoreValues, (void *)src->pSignalSemaphoreValues, sizeof(uint64_t)*src->signalSemaphoreValuesCount);
11217 }
11218}
11219#endif // VK_USE_PLATFORM_WIN32_KHR
11220
11221#ifdef VK_USE_PLATFORM_WIN32_KHR
11222
11223
11224safe_VkSemaphoreGetWin32HandleInfoKHR::safe_VkSemaphoreGetWin32HandleInfoKHR(const VkSemaphoreGetWin32HandleInfoKHR* in_struct) :
11225 sType(in_struct->sType),
11226 pNext(in_struct->pNext),
11227 semaphore(in_struct->semaphore),
11228 handleType(in_struct->handleType)
11229{
11230}
11231
11232safe_VkSemaphoreGetWin32HandleInfoKHR::safe_VkSemaphoreGetWin32HandleInfoKHR()
11233{}
11234
11235safe_VkSemaphoreGetWin32HandleInfoKHR::safe_VkSemaphoreGetWin32HandleInfoKHR(const safe_VkSemaphoreGetWin32HandleInfoKHR& src)
11236{
11237 sType = src.sType;
11238 pNext = src.pNext;
11239 semaphore = src.semaphore;
11240 handleType = src.handleType;
11241}
11242
11243safe_VkSemaphoreGetWin32HandleInfoKHR& safe_VkSemaphoreGetWin32HandleInfoKHR::operator=(const safe_VkSemaphoreGetWin32HandleInfoKHR& src)
11244{
11245 if (&src == this) return *this;
11246
11247
11248 sType = src.sType;
11249 pNext = src.pNext;
11250 semaphore = src.semaphore;
11251 handleType = src.handleType;
11252
11253 return *this;
11254}
11255
11256safe_VkSemaphoreGetWin32HandleInfoKHR::~safe_VkSemaphoreGetWin32HandleInfoKHR()
11257{
11258}
11259
11260void safe_VkSemaphoreGetWin32HandleInfoKHR::initialize(const VkSemaphoreGetWin32HandleInfoKHR* in_struct)
11261{
11262 sType = in_struct->sType;
11263 pNext = in_struct->pNext;
11264 semaphore = in_struct->semaphore;
11265 handleType = in_struct->handleType;
11266}
11267
11268void safe_VkSemaphoreGetWin32HandleInfoKHR::initialize(const safe_VkSemaphoreGetWin32HandleInfoKHR* src)
11269{
11270 sType = src->sType;
11271 pNext = src->pNext;
11272 semaphore = src->semaphore;
11273 handleType = src->handleType;
11274}
11275#endif // VK_USE_PLATFORM_WIN32_KHR
11276
11277
11278safe_VkImportSemaphoreFdInfoKHR::safe_VkImportSemaphoreFdInfoKHR(const VkImportSemaphoreFdInfoKHR* in_struct) :
11279 sType(in_struct->sType),
11280 pNext(in_struct->pNext),
11281 semaphore(in_struct->semaphore),
11282 flags(in_struct->flags),
11283 handleType(in_struct->handleType),
11284 fd(in_struct->fd)
11285{
11286}
11287
11288safe_VkImportSemaphoreFdInfoKHR::safe_VkImportSemaphoreFdInfoKHR()
11289{}
11290
11291safe_VkImportSemaphoreFdInfoKHR::safe_VkImportSemaphoreFdInfoKHR(const safe_VkImportSemaphoreFdInfoKHR& src)
11292{
11293 sType = src.sType;
11294 pNext = src.pNext;
11295 semaphore = src.semaphore;
11296 flags = src.flags;
11297 handleType = src.handleType;
11298 fd = src.fd;
11299}
11300
11301safe_VkImportSemaphoreFdInfoKHR& safe_VkImportSemaphoreFdInfoKHR::operator=(const safe_VkImportSemaphoreFdInfoKHR& src)
11302{
11303 if (&src == this) return *this;
11304
11305
11306 sType = src.sType;
11307 pNext = src.pNext;
11308 semaphore = src.semaphore;
11309 flags = src.flags;
11310 handleType = src.handleType;
11311 fd = src.fd;
11312
11313 return *this;
11314}
11315
11316safe_VkImportSemaphoreFdInfoKHR::~safe_VkImportSemaphoreFdInfoKHR()
11317{
11318}
11319
11320void safe_VkImportSemaphoreFdInfoKHR::initialize(const VkImportSemaphoreFdInfoKHR* in_struct)
11321{
11322 sType = in_struct->sType;
11323 pNext = in_struct->pNext;
11324 semaphore = in_struct->semaphore;
11325 flags = in_struct->flags;
11326 handleType = in_struct->handleType;
11327 fd = in_struct->fd;
11328}
11329
11330void safe_VkImportSemaphoreFdInfoKHR::initialize(const safe_VkImportSemaphoreFdInfoKHR* src)
11331{
11332 sType = src->sType;
11333 pNext = src->pNext;
11334 semaphore = src->semaphore;
11335 flags = src->flags;
11336 handleType = src->handleType;
11337 fd = src->fd;
11338}
11339
11340safe_VkSemaphoreGetFdInfoKHR::safe_VkSemaphoreGetFdInfoKHR(const VkSemaphoreGetFdInfoKHR* in_struct) :
11341 sType(in_struct->sType),
11342 pNext(in_struct->pNext),
11343 semaphore(in_struct->semaphore),
11344 handleType(in_struct->handleType)
11345{
11346}
11347
11348safe_VkSemaphoreGetFdInfoKHR::safe_VkSemaphoreGetFdInfoKHR()
11349{}
11350
11351safe_VkSemaphoreGetFdInfoKHR::safe_VkSemaphoreGetFdInfoKHR(const safe_VkSemaphoreGetFdInfoKHR& src)
11352{
11353 sType = src.sType;
11354 pNext = src.pNext;
11355 semaphore = src.semaphore;
11356 handleType = src.handleType;
11357}
11358
11359safe_VkSemaphoreGetFdInfoKHR& safe_VkSemaphoreGetFdInfoKHR::operator=(const safe_VkSemaphoreGetFdInfoKHR& src)
11360{
11361 if (&src == this) return *this;
11362
11363
11364 sType = src.sType;
11365 pNext = src.pNext;
11366 semaphore = src.semaphore;
11367 handleType = src.handleType;
11368
11369 return *this;
11370}
11371
11372safe_VkSemaphoreGetFdInfoKHR::~safe_VkSemaphoreGetFdInfoKHR()
11373{
11374}
11375
11376void safe_VkSemaphoreGetFdInfoKHR::initialize(const VkSemaphoreGetFdInfoKHR* in_struct)
11377{
11378 sType = in_struct->sType;
11379 pNext = in_struct->pNext;
11380 semaphore = in_struct->semaphore;
11381 handleType = in_struct->handleType;
11382}
11383
11384void safe_VkSemaphoreGetFdInfoKHR::initialize(const safe_VkSemaphoreGetFdInfoKHR* src)
11385{
11386 sType = src->sType;
11387 pNext = src->pNext;
11388 semaphore = src->semaphore;
11389 handleType = src->handleType;
11390}
11391
11392safe_VkPhysicalDevicePushDescriptorPropertiesKHR::safe_VkPhysicalDevicePushDescriptorPropertiesKHR(const VkPhysicalDevicePushDescriptorPropertiesKHR* in_struct) :
11393 sType(in_struct->sType),
11394 pNext(in_struct->pNext),
11395 maxPushDescriptors(in_struct->maxPushDescriptors)
11396{
11397}
11398
11399safe_VkPhysicalDevicePushDescriptorPropertiesKHR::safe_VkPhysicalDevicePushDescriptorPropertiesKHR()
11400{}
11401
11402safe_VkPhysicalDevicePushDescriptorPropertiesKHR::safe_VkPhysicalDevicePushDescriptorPropertiesKHR(const safe_VkPhysicalDevicePushDescriptorPropertiesKHR& src)
11403{
11404 sType = src.sType;
11405 pNext = src.pNext;
11406 maxPushDescriptors = src.maxPushDescriptors;
11407}
11408
11409safe_VkPhysicalDevicePushDescriptorPropertiesKHR& safe_VkPhysicalDevicePushDescriptorPropertiesKHR::operator=(const safe_VkPhysicalDevicePushDescriptorPropertiesKHR& src)
11410{
11411 if (&src == this) return *this;
11412
11413
11414 sType = src.sType;
11415 pNext = src.pNext;
11416 maxPushDescriptors = src.maxPushDescriptors;
11417
11418 return *this;
11419}
11420
11421safe_VkPhysicalDevicePushDescriptorPropertiesKHR::~safe_VkPhysicalDevicePushDescriptorPropertiesKHR()
11422{
11423}
11424
11425void safe_VkPhysicalDevicePushDescriptorPropertiesKHR::initialize(const VkPhysicalDevicePushDescriptorPropertiesKHR* in_struct)
11426{
11427 sType = in_struct->sType;
11428 pNext = in_struct->pNext;
11429 maxPushDescriptors = in_struct->maxPushDescriptors;
11430}
11431
11432void safe_VkPhysicalDevicePushDescriptorPropertiesKHR::initialize(const safe_VkPhysicalDevicePushDescriptorPropertiesKHR* src)
11433{
11434 sType = src->sType;
11435 pNext = src->pNext;
11436 maxPushDescriptors = src->maxPushDescriptors;
11437}
11438
11439safe_VkPhysicalDeviceFloat16Int8FeaturesKHR::safe_VkPhysicalDeviceFloat16Int8FeaturesKHR(const VkPhysicalDeviceFloat16Int8FeaturesKHR* in_struct) :
11440 sType(in_struct->sType),
11441 pNext(in_struct->pNext),
11442 shaderFloat16(in_struct->shaderFloat16),
11443 shaderInt8(in_struct->shaderInt8)
11444{
11445}
11446
11447safe_VkPhysicalDeviceFloat16Int8FeaturesKHR::safe_VkPhysicalDeviceFloat16Int8FeaturesKHR()
11448{}
11449
11450safe_VkPhysicalDeviceFloat16Int8FeaturesKHR::safe_VkPhysicalDeviceFloat16Int8FeaturesKHR(const safe_VkPhysicalDeviceFloat16Int8FeaturesKHR& src)
11451{
11452 sType = src.sType;
11453 pNext = src.pNext;
11454 shaderFloat16 = src.shaderFloat16;
11455 shaderInt8 = src.shaderInt8;
11456}
11457
11458safe_VkPhysicalDeviceFloat16Int8FeaturesKHR& safe_VkPhysicalDeviceFloat16Int8FeaturesKHR::operator=(const safe_VkPhysicalDeviceFloat16Int8FeaturesKHR& src)
11459{
11460 if (&src == this) return *this;
11461
11462
11463 sType = src.sType;
11464 pNext = src.pNext;
11465 shaderFloat16 = src.shaderFloat16;
11466 shaderInt8 = src.shaderInt8;
11467
11468 return *this;
11469}
11470
11471safe_VkPhysicalDeviceFloat16Int8FeaturesKHR::~safe_VkPhysicalDeviceFloat16Int8FeaturesKHR()
11472{
11473}
11474
11475void safe_VkPhysicalDeviceFloat16Int8FeaturesKHR::initialize(const VkPhysicalDeviceFloat16Int8FeaturesKHR* in_struct)
11476{
11477 sType = in_struct->sType;
11478 pNext = in_struct->pNext;
11479 shaderFloat16 = in_struct->shaderFloat16;
11480 shaderInt8 = in_struct->shaderInt8;
11481}
11482
11483void safe_VkPhysicalDeviceFloat16Int8FeaturesKHR::initialize(const safe_VkPhysicalDeviceFloat16Int8FeaturesKHR* src)
11484{
11485 sType = src->sType;
11486 pNext = src->pNext;
11487 shaderFloat16 = src->shaderFloat16;
11488 shaderInt8 = src->shaderInt8;
11489}
11490
11491safe_VkPresentRegionKHR::safe_VkPresentRegionKHR(const VkPresentRegionKHR* in_struct) :
11492 rectangleCount(in_struct->rectangleCount),
11493 pRectangles(nullptr)
11494{
11495 if (in_struct->pRectangles) {
11496 pRectangles = new VkRectLayerKHR[in_struct->rectangleCount];
11497 memcpy ((void *)pRectangles, (void *)in_struct->pRectangles, sizeof(VkRectLayerKHR)*in_struct->rectangleCount);
11498 }
11499}
11500
11501safe_VkPresentRegionKHR::safe_VkPresentRegionKHR() :
11502 pRectangles(nullptr)
11503{}
11504
11505safe_VkPresentRegionKHR::safe_VkPresentRegionKHR(const safe_VkPresentRegionKHR& src)
11506{
11507 rectangleCount = src.rectangleCount;
11508 pRectangles = nullptr;
11509 if (src.pRectangles) {
11510 pRectangles = new VkRectLayerKHR[src.rectangleCount];
11511 memcpy ((void *)pRectangles, (void *)src.pRectangles, sizeof(VkRectLayerKHR)*src.rectangleCount);
11512 }
11513}
11514
11515safe_VkPresentRegionKHR& safe_VkPresentRegionKHR::operator=(const safe_VkPresentRegionKHR& src)
11516{
11517 if (&src == this) return *this;
11518
11519 if (pRectangles)
11520 delete[] pRectangles;
11521
11522 rectangleCount = src.rectangleCount;
11523 pRectangles = nullptr;
11524 if (src.pRectangles) {
11525 pRectangles = new VkRectLayerKHR[src.rectangleCount];
11526 memcpy ((void *)pRectangles, (void *)src.pRectangles, sizeof(VkRectLayerKHR)*src.rectangleCount);
11527 }
11528
11529 return *this;
11530}
11531
11532safe_VkPresentRegionKHR::~safe_VkPresentRegionKHR()
11533{
11534 if (pRectangles)
11535 delete[] pRectangles;
11536}
11537
11538void safe_VkPresentRegionKHR::initialize(const VkPresentRegionKHR* in_struct)
11539{
11540 rectangleCount = in_struct->rectangleCount;
11541 pRectangles = nullptr;
11542 if (in_struct->pRectangles) {
11543 pRectangles = new VkRectLayerKHR[in_struct->rectangleCount];
11544 memcpy ((void *)pRectangles, (void *)in_struct->pRectangles, sizeof(VkRectLayerKHR)*in_struct->rectangleCount);
11545 }
11546}
11547
11548void safe_VkPresentRegionKHR::initialize(const safe_VkPresentRegionKHR* src)
11549{
11550 rectangleCount = src->rectangleCount;
11551 pRectangles = nullptr;
11552 if (src->pRectangles) {
11553 pRectangles = new VkRectLayerKHR[src->rectangleCount];
11554 memcpy ((void *)pRectangles, (void *)src->pRectangles, sizeof(VkRectLayerKHR)*src->rectangleCount);
11555 }
11556}
11557
11558safe_VkPresentRegionsKHR::safe_VkPresentRegionsKHR(const VkPresentRegionsKHR* in_struct) :
11559 sType(in_struct->sType),
11560 pNext(in_struct->pNext),
11561 swapchainCount(in_struct->swapchainCount),
11562 pRegions(nullptr)
11563{
11564 if (swapchainCount && in_struct->pRegions) {
11565 pRegions = new safe_VkPresentRegionKHR[swapchainCount];
11566 for (uint32_t i=0; i<swapchainCount; ++i) {
11567 pRegions[i].initialize(&in_struct->pRegions[i]);
11568 }
11569 }
11570}
11571
11572safe_VkPresentRegionsKHR::safe_VkPresentRegionsKHR() :
11573 pRegions(nullptr)
11574{}
11575
11576safe_VkPresentRegionsKHR::safe_VkPresentRegionsKHR(const safe_VkPresentRegionsKHR& src)
11577{
11578 sType = src.sType;
11579 pNext = src.pNext;
11580 swapchainCount = src.swapchainCount;
11581 pRegions = nullptr;
11582 if (swapchainCount && src.pRegions) {
11583 pRegions = new safe_VkPresentRegionKHR[swapchainCount];
11584 for (uint32_t i=0; i<swapchainCount; ++i) {
11585 pRegions[i].initialize(&src.pRegions[i]);
11586 }
11587 }
11588}
11589
11590safe_VkPresentRegionsKHR& safe_VkPresentRegionsKHR::operator=(const safe_VkPresentRegionsKHR& src)
11591{
11592 if (&src == this) return *this;
11593
11594 if (pRegions)
11595 delete[] pRegions;
11596
11597 sType = src.sType;
11598 pNext = src.pNext;
11599 swapchainCount = src.swapchainCount;
11600 pRegions = nullptr;
11601 if (swapchainCount && src.pRegions) {
11602 pRegions = new safe_VkPresentRegionKHR[swapchainCount];
11603 for (uint32_t i=0; i<swapchainCount; ++i) {
11604 pRegions[i].initialize(&src.pRegions[i]);
11605 }
11606 }
11607
11608 return *this;
11609}
11610
11611safe_VkPresentRegionsKHR::~safe_VkPresentRegionsKHR()
11612{
11613 if (pRegions)
11614 delete[] pRegions;
11615}
11616
11617void safe_VkPresentRegionsKHR::initialize(const VkPresentRegionsKHR* in_struct)
11618{
11619 sType = in_struct->sType;
11620 pNext = in_struct->pNext;
11621 swapchainCount = in_struct->swapchainCount;
11622 pRegions = nullptr;
11623 if (swapchainCount && in_struct->pRegions) {
11624 pRegions = new safe_VkPresentRegionKHR[swapchainCount];
11625 for (uint32_t i=0; i<swapchainCount; ++i) {
11626 pRegions[i].initialize(&in_struct->pRegions[i]);
11627 }
11628 }
11629}
11630
11631void safe_VkPresentRegionsKHR::initialize(const safe_VkPresentRegionsKHR* src)
11632{
11633 sType = src->sType;
11634 pNext = src->pNext;
11635 swapchainCount = src->swapchainCount;
11636 pRegions = nullptr;
11637 if (swapchainCount && src->pRegions) {
11638 pRegions = new safe_VkPresentRegionKHR[swapchainCount];
11639 for (uint32_t i=0; i<swapchainCount; ++i) {
11640 pRegions[i].initialize(&src->pRegions[i]);
11641 }
11642 }
11643}
11644
11645safe_VkAttachmentDescription2KHR::safe_VkAttachmentDescription2KHR(const VkAttachmentDescription2KHR* in_struct) :
11646 sType(in_struct->sType),
11647 pNext(in_struct->pNext),
11648 flags(in_struct->flags),
11649 format(in_struct->format),
11650 samples(in_struct->samples),
11651 loadOp(in_struct->loadOp),
11652 storeOp(in_struct->storeOp),
11653 stencilLoadOp(in_struct->stencilLoadOp),
11654 stencilStoreOp(in_struct->stencilStoreOp),
11655 initialLayout(in_struct->initialLayout),
11656 finalLayout(in_struct->finalLayout)
11657{
11658}
11659
11660safe_VkAttachmentDescription2KHR::safe_VkAttachmentDescription2KHR()
11661{}
11662
11663safe_VkAttachmentDescription2KHR::safe_VkAttachmentDescription2KHR(const safe_VkAttachmentDescription2KHR& src)
11664{
11665 sType = src.sType;
11666 pNext = src.pNext;
11667 flags = src.flags;
11668 format = src.format;
11669 samples = src.samples;
11670 loadOp = src.loadOp;
11671 storeOp = src.storeOp;
11672 stencilLoadOp = src.stencilLoadOp;
11673 stencilStoreOp = src.stencilStoreOp;
11674 initialLayout = src.initialLayout;
11675 finalLayout = src.finalLayout;
11676}
11677
11678safe_VkAttachmentDescription2KHR& safe_VkAttachmentDescription2KHR::operator=(const safe_VkAttachmentDescription2KHR& src)
11679{
11680 if (&src == this) return *this;
11681
11682
11683 sType = src.sType;
11684 pNext = src.pNext;
11685 flags = src.flags;
11686 format = src.format;
11687 samples = src.samples;
11688 loadOp = src.loadOp;
11689 storeOp = src.storeOp;
11690 stencilLoadOp = src.stencilLoadOp;
11691 stencilStoreOp = src.stencilStoreOp;
11692 initialLayout = src.initialLayout;
11693 finalLayout = src.finalLayout;
11694
11695 return *this;
11696}
11697
11698safe_VkAttachmentDescription2KHR::~safe_VkAttachmentDescription2KHR()
11699{
11700}
11701
11702void safe_VkAttachmentDescription2KHR::initialize(const VkAttachmentDescription2KHR* in_struct)
11703{
11704 sType = in_struct->sType;
11705 pNext = in_struct->pNext;
11706 flags = in_struct->flags;
11707 format = in_struct->format;
11708 samples = in_struct->samples;
11709 loadOp = in_struct->loadOp;
11710 storeOp = in_struct->storeOp;
11711 stencilLoadOp = in_struct->stencilLoadOp;
11712 stencilStoreOp = in_struct->stencilStoreOp;
11713 initialLayout = in_struct->initialLayout;
11714 finalLayout = in_struct->finalLayout;
11715}
11716
11717void safe_VkAttachmentDescription2KHR::initialize(const safe_VkAttachmentDescription2KHR* src)
11718{
11719 sType = src->sType;
11720 pNext = src->pNext;
11721 flags = src->flags;
11722 format = src->format;
11723 samples = src->samples;
11724 loadOp = src->loadOp;
11725 storeOp = src->storeOp;
11726 stencilLoadOp = src->stencilLoadOp;
11727 stencilStoreOp = src->stencilStoreOp;
11728 initialLayout = src->initialLayout;
11729 finalLayout = src->finalLayout;
11730}
11731
11732safe_VkAttachmentReference2KHR::safe_VkAttachmentReference2KHR(const VkAttachmentReference2KHR* in_struct) :
11733 sType(in_struct->sType),
11734 pNext(in_struct->pNext),
11735 attachment(in_struct->attachment),
11736 layout(in_struct->layout),
11737 aspectMask(in_struct->aspectMask)
11738{
11739}
11740
11741safe_VkAttachmentReference2KHR::safe_VkAttachmentReference2KHR()
11742{}
11743
11744safe_VkAttachmentReference2KHR::safe_VkAttachmentReference2KHR(const safe_VkAttachmentReference2KHR& src)
11745{
11746 sType = src.sType;
11747 pNext = src.pNext;
11748 attachment = src.attachment;
11749 layout = src.layout;
11750 aspectMask = src.aspectMask;
11751}
11752
11753safe_VkAttachmentReference2KHR& safe_VkAttachmentReference2KHR::operator=(const safe_VkAttachmentReference2KHR& src)
11754{
11755 if (&src == this) return *this;
11756
11757
11758 sType = src.sType;
11759 pNext = src.pNext;
11760 attachment = src.attachment;
11761 layout = src.layout;
11762 aspectMask = src.aspectMask;
11763
11764 return *this;
11765}
11766
11767safe_VkAttachmentReference2KHR::~safe_VkAttachmentReference2KHR()
11768{
11769}
11770
11771void safe_VkAttachmentReference2KHR::initialize(const VkAttachmentReference2KHR* in_struct)
11772{
11773 sType = in_struct->sType;
11774 pNext = in_struct->pNext;
11775 attachment = in_struct->attachment;
11776 layout = in_struct->layout;
11777 aspectMask = in_struct->aspectMask;
11778}
11779
11780void safe_VkAttachmentReference2KHR::initialize(const safe_VkAttachmentReference2KHR* src)
11781{
11782 sType = src->sType;
11783 pNext = src->pNext;
11784 attachment = src->attachment;
11785 layout = src->layout;
11786 aspectMask = src->aspectMask;
11787}
11788
11789safe_VkSubpassDescription2KHR::safe_VkSubpassDescription2KHR(const VkSubpassDescription2KHR* in_struct) :
11790 sType(in_struct->sType),
11791 pNext(in_struct->pNext),
11792 flags(in_struct->flags),
11793 pipelineBindPoint(in_struct->pipelineBindPoint),
11794 viewMask(in_struct->viewMask),
11795 inputAttachmentCount(in_struct->inputAttachmentCount),
11796 pInputAttachments(nullptr),
11797 colorAttachmentCount(in_struct->colorAttachmentCount),
11798 pColorAttachments(nullptr),
11799 pResolveAttachments(nullptr),
11800 preserveAttachmentCount(in_struct->preserveAttachmentCount),
11801 pPreserveAttachments(nullptr)
11802{
11803 if (inputAttachmentCount && in_struct->pInputAttachments) {
11804 pInputAttachments = new safe_VkAttachmentReference2KHR[inputAttachmentCount];
11805 for (uint32_t i=0; i<inputAttachmentCount; ++i) {
11806 pInputAttachments[i].initialize(&in_struct->pInputAttachments[i]);
11807 }
11808 }
11809 if (colorAttachmentCount && in_struct->pColorAttachments) {
11810 pColorAttachments = new safe_VkAttachmentReference2KHR[colorAttachmentCount];
11811 for (uint32_t i=0; i<colorAttachmentCount; ++i) {
11812 pColorAttachments[i].initialize(&in_struct->pColorAttachments[i]);
11813 }
11814 }
11815 if (colorAttachmentCount && in_struct->pResolveAttachments) {
11816 pResolveAttachments = new safe_VkAttachmentReference2KHR[colorAttachmentCount];
11817 for (uint32_t i=0; i<colorAttachmentCount; ++i) {
11818 pResolveAttachments[i].initialize(&in_struct->pResolveAttachments[i]);
11819 }
11820 }
11821 if (in_struct->pDepthStencilAttachment)
11822 pDepthStencilAttachment = new safe_VkAttachmentReference2KHR(in_struct->pDepthStencilAttachment);
11823 else
11824 pDepthStencilAttachment = NULL;
11825 if (in_struct->pPreserveAttachments) {
11826 pPreserveAttachments = new uint32_t[in_struct->preserveAttachmentCount];
11827 memcpy ((void *)pPreserveAttachments, (void *)in_struct->pPreserveAttachments, sizeof(uint32_t)*in_struct->preserveAttachmentCount);
11828 }
11829}
11830
11831safe_VkSubpassDescription2KHR::safe_VkSubpassDescription2KHR() :
11832 pInputAttachments(nullptr),
11833 pColorAttachments(nullptr),
11834 pResolveAttachments(nullptr),
11835 pPreserveAttachments(nullptr)
11836{}
11837
11838safe_VkSubpassDescription2KHR::safe_VkSubpassDescription2KHR(const safe_VkSubpassDescription2KHR& src)
11839{
11840 sType = src.sType;
11841 pNext = src.pNext;
11842 flags = src.flags;
11843 pipelineBindPoint = src.pipelineBindPoint;
11844 viewMask = src.viewMask;
11845 inputAttachmentCount = src.inputAttachmentCount;
11846 pInputAttachments = nullptr;
11847 colorAttachmentCount = src.colorAttachmentCount;
11848 pColorAttachments = nullptr;
11849 pResolveAttachments = nullptr;
11850 preserveAttachmentCount = src.preserveAttachmentCount;
11851 pPreserveAttachments = nullptr;
11852 if (inputAttachmentCount && src.pInputAttachments) {
11853 pInputAttachments = new safe_VkAttachmentReference2KHR[inputAttachmentCount];
11854 for (uint32_t i=0; i<inputAttachmentCount; ++i) {
11855 pInputAttachments[i].initialize(&src.pInputAttachments[i]);
11856 }
11857 }
11858 if (colorAttachmentCount && src.pColorAttachments) {
11859 pColorAttachments = new safe_VkAttachmentReference2KHR[colorAttachmentCount];
11860 for (uint32_t i=0; i<colorAttachmentCount; ++i) {
11861 pColorAttachments[i].initialize(&src.pColorAttachments[i]);
11862 }
11863 }
11864 if (colorAttachmentCount && src.pResolveAttachments) {
11865 pResolveAttachments = new safe_VkAttachmentReference2KHR[colorAttachmentCount];
11866 for (uint32_t i=0; i<colorAttachmentCount; ++i) {
11867 pResolveAttachments[i].initialize(&src.pResolveAttachments[i]);
11868 }
11869 }
11870 if (src.pDepthStencilAttachment)
11871 pDepthStencilAttachment = new safe_VkAttachmentReference2KHR(*src.pDepthStencilAttachment);
11872 else
11873 pDepthStencilAttachment = NULL;
11874 if (src.pPreserveAttachments) {
11875 pPreserveAttachments = new uint32_t[src.preserveAttachmentCount];
11876 memcpy ((void *)pPreserveAttachments, (void *)src.pPreserveAttachments, sizeof(uint32_t)*src.preserveAttachmentCount);
11877 }
11878}
11879
11880safe_VkSubpassDescription2KHR& safe_VkSubpassDescription2KHR::operator=(const safe_VkSubpassDescription2KHR& src)
11881{
11882 if (&src == this) return *this;
11883
11884 if (pInputAttachments)
11885 delete[] pInputAttachments;
11886 if (pColorAttachments)
11887 delete[] pColorAttachments;
11888 if (pResolveAttachments)
11889 delete[] pResolveAttachments;
11890 if (pDepthStencilAttachment)
11891 delete pDepthStencilAttachment;
11892 if (pPreserveAttachments)
11893 delete[] pPreserveAttachments;
11894
11895 sType = src.sType;
11896 pNext = src.pNext;
11897 flags = src.flags;
11898 pipelineBindPoint = src.pipelineBindPoint;
11899 viewMask = src.viewMask;
11900 inputAttachmentCount = src.inputAttachmentCount;
11901 pInputAttachments = nullptr;
11902 colorAttachmentCount = src.colorAttachmentCount;
11903 pColorAttachments = nullptr;
11904 pResolveAttachments = nullptr;
11905 preserveAttachmentCount = src.preserveAttachmentCount;
11906 pPreserveAttachments = nullptr;
11907 if (inputAttachmentCount && src.pInputAttachments) {
11908 pInputAttachments = new safe_VkAttachmentReference2KHR[inputAttachmentCount];
11909 for (uint32_t i=0; i<inputAttachmentCount; ++i) {
11910 pInputAttachments[i].initialize(&src.pInputAttachments[i]);
11911 }
11912 }
11913 if (colorAttachmentCount && src.pColorAttachments) {
11914 pColorAttachments = new safe_VkAttachmentReference2KHR[colorAttachmentCount];
11915 for (uint32_t i=0; i<colorAttachmentCount; ++i) {
11916 pColorAttachments[i].initialize(&src.pColorAttachments[i]);
11917 }
11918 }
11919 if (colorAttachmentCount && src.pResolveAttachments) {
11920 pResolveAttachments = new safe_VkAttachmentReference2KHR[colorAttachmentCount];
11921 for (uint32_t i=0; i<colorAttachmentCount; ++i) {
11922 pResolveAttachments[i].initialize(&src.pResolveAttachments[i]);
11923 }
11924 }
11925 if (src.pDepthStencilAttachment)
11926 pDepthStencilAttachment = new safe_VkAttachmentReference2KHR(*src.pDepthStencilAttachment);
11927 else
11928 pDepthStencilAttachment = NULL;
11929 if (src.pPreserveAttachments) {
11930 pPreserveAttachments = new uint32_t[src.preserveAttachmentCount];
11931 memcpy ((void *)pPreserveAttachments, (void *)src.pPreserveAttachments, sizeof(uint32_t)*src.preserveAttachmentCount);
11932 }
11933
11934 return *this;
11935}
11936
11937safe_VkSubpassDescription2KHR::~safe_VkSubpassDescription2KHR()
11938{
11939 if (pInputAttachments)
11940 delete[] pInputAttachments;
11941 if (pColorAttachments)
11942 delete[] pColorAttachments;
11943 if (pResolveAttachments)
11944 delete[] pResolveAttachments;
11945 if (pDepthStencilAttachment)
11946 delete pDepthStencilAttachment;
11947 if (pPreserveAttachments)
11948 delete[] pPreserveAttachments;
11949}
11950
11951void safe_VkSubpassDescription2KHR::initialize(const VkSubpassDescription2KHR* in_struct)
11952{
11953 sType = in_struct->sType;
11954 pNext = in_struct->pNext;
11955 flags = in_struct->flags;
11956 pipelineBindPoint = in_struct->pipelineBindPoint;
11957 viewMask = in_struct->viewMask;
11958 inputAttachmentCount = in_struct->inputAttachmentCount;
11959 pInputAttachments = nullptr;
11960 colorAttachmentCount = in_struct->colorAttachmentCount;
11961 pColorAttachments = nullptr;
11962 pResolveAttachments = nullptr;
11963 preserveAttachmentCount = in_struct->preserveAttachmentCount;
11964 pPreserveAttachments = nullptr;
11965 if (inputAttachmentCount && in_struct->pInputAttachments) {
11966 pInputAttachments = new safe_VkAttachmentReference2KHR[inputAttachmentCount];
11967 for (uint32_t i=0; i<inputAttachmentCount; ++i) {
11968 pInputAttachments[i].initialize(&in_struct->pInputAttachments[i]);
11969 }
11970 }
11971 if (colorAttachmentCount && in_struct->pColorAttachments) {
11972 pColorAttachments = new safe_VkAttachmentReference2KHR[colorAttachmentCount];
11973 for (uint32_t i=0; i<colorAttachmentCount; ++i) {
11974 pColorAttachments[i].initialize(&in_struct->pColorAttachments[i]);
11975 }
11976 }
11977 if (colorAttachmentCount && in_struct->pResolveAttachments) {
11978 pResolveAttachments = new safe_VkAttachmentReference2KHR[colorAttachmentCount];
11979 for (uint32_t i=0; i<colorAttachmentCount; ++i) {
11980 pResolveAttachments[i].initialize(&in_struct->pResolveAttachments[i]);
11981 }
11982 }
11983 if (in_struct->pDepthStencilAttachment)
11984 pDepthStencilAttachment = new safe_VkAttachmentReference2KHR(in_struct->pDepthStencilAttachment);
11985 else
11986 pDepthStencilAttachment = NULL;
11987 if (in_struct->pPreserveAttachments) {
11988 pPreserveAttachments = new uint32_t[in_struct->preserveAttachmentCount];
11989 memcpy ((void *)pPreserveAttachments, (void *)in_struct->pPreserveAttachments, sizeof(uint32_t)*in_struct->preserveAttachmentCount);
11990 }
11991}
11992
11993void safe_VkSubpassDescription2KHR::initialize(const safe_VkSubpassDescription2KHR* src)
11994{
11995 sType = src->sType;
11996 pNext = src->pNext;
11997 flags = src->flags;
11998 pipelineBindPoint = src->pipelineBindPoint;
11999 viewMask = src->viewMask;
12000 inputAttachmentCount = src->inputAttachmentCount;
12001 pInputAttachments = nullptr;
12002 colorAttachmentCount = src->colorAttachmentCount;
12003 pColorAttachments = nullptr;
12004 pResolveAttachments = nullptr;
12005 preserveAttachmentCount = src->preserveAttachmentCount;
12006 pPreserveAttachments = nullptr;
12007 if (inputAttachmentCount && src->pInputAttachments) {
12008 pInputAttachments = new safe_VkAttachmentReference2KHR[inputAttachmentCount];
12009 for (uint32_t i=0; i<inputAttachmentCount; ++i) {
12010 pInputAttachments[i].initialize(&src->pInputAttachments[i]);
12011 }
12012 }
12013 if (colorAttachmentCount && src->pColorAttachments) {
12014 pColorAttachments = new safe_VkAttachmentReference2KHR[colorAttachmentCount];
12015 for (uint32_t i=0; i<colorAttachmentCount; ++i) {
12016 pColorAttachments[i].initialize(&src->pColorAttachments[i]);
12017 }
12018 }
12019 if (colorAttachmentCount && src->pResolveAttachments) {
12020 pResolveAttachments = new safe_VkAttachmentReference2KHR[colorAttachmentCount];
12021 for (uint32_t i=0; i<colorAttachmentCount; ++i) {
12022 pResolveAttachments[i].initialize(&src->pResolveAttachments[i]);
12023 }
12024 }
12025 if (src->pDepthStencilAttachment)
12026 pDepthStencilAttachment = new safe_VkAttachmentReference2KHR(*src->pDepthStencilAttachment);
12027 else
12028 pDepthStencilAttachment = NULL;
12029 if (src->pPreserveAttachments) {
12030 pPreserveAttachments = new uint32_t[src->preserveAttachmentCount];
12031 memcpy ((void *)pPreserveAttachments, (void *)src->pPreserveAttachments, sizeof(uint32_t)*src->preserveAttachmentCount);
12032 }
12033}
12034
12035safe_VkSubpassDependency2KHR::safe_VkSubpassDependency2KHR(const VkSubpassDependency2KHR* in_struct) :
12036 sType(in_struct->sType),
12037 pNext(in_struct->pNext),
12038 srcSubpass(in_struct->srcSubpass),
12039 dstSubpass(in_struct->dstSubpass),
12040 srcStageMask(in_struct->srcStageMask),
12041 dstStageMask(in_struct->dstStageMask),
12042 srcAccessMask(in_struct->srcAccessMask),
12043 dstAccessMask(in_struct->dstAccessMask),
12044 dependencyFlags(in_struct->dependencyFlags),
12045 viewOffset(in_struct->viewOffset)
12046{
12047}
12048
12049safe_VkSubpassDependency2KHR::safe_VkSubpassDependency2KHR()
12050{}
12051
12052safe_VkSubpassDependency2KHR::safe_VkSubpassDependency2KHR(const safe_VkSubpassDependency2KHR& src)
12053{
12054 sType = src.sType;
12055 pNext = src.pNext;
12056 srcSubpass = src.srcSubpass;
12057 dstSubpass = src.dstSubpass;
12058 srcStageMask = src.srcStageMask;
12059 dstStageMask = src.dstStageMask;
12060 srcAccessMask = src.srcAccessMask;
12061 dstAccessMask = src.dstAccessMask;
12062 dependencyFlags = src.dependencyFlags;
12063 viewOffset = src.viewOffset;
12064}
12065
12066safe_VkSubpassDependency2KHR& safe_VkSubpassDependency2KHR::operator=(const safe_VkSubpassDependency2KHR& src)
12067{
12068 if (&src == this) return *this;
12069
12070
12071 sType = src.sType;
12072 pNext = src.pNext;
12073 srcSubpass = src.srcSubpass;
12074 dstSubpass = src.dstSubpass;
12075 srcStageMask = src.srcStageMask;
12076 dstStageMask = src.dstStageMask;
12077 srcAccessMask = src.srcAccessMask;
12078 dstAccessMask = src.dstAccessMask;
12079 dependencyFlags = src.dependencyFlags;
12080 viewOffset = src.viewOffset;
12081
12082 return *this;
12083}
12084
12085safe_VkSubpassDependency2KHR::~safe_VkSubpassDependency2KHR()
12086{
12087}
12088
12089void safe_VkSubpassDependency2KHR::initialize(const VkSubpassDependency2KHR* in_struct)
12090{
12091 sType = in_struct->sType;
12092 pNext = in_struct->pNext;
12093 srcSubpass = in_struct->srcSubpass;
12094 dstSubpass = in_struct->dstSubpass;
12095 srcStageMask = in_struct->srcStageMask;
12096 dstStageMask = in_struct->dstStageMask;
12097 srcAccessMask = in_struct->srcAccessMask;
12098 dstAccessMask = in_struct->dstAccessMask;
12099 dependencyFlags = in_struct->dependencyFlags;
12100 viewOffset = in_struct->viewOffset;
12101}
12102
12103void safe_VkSubpassDependency2KHR::initialize(const safe_VkSubpassDependency2KHR* src)
12104{
12105 sType = src->sType;
12106 pNext = src->pNext;
12107 srcSubpass = src->srcSubpass;
12108 dstSubpass = src->dstSubpass;
12109 srcStageMask = src->srcStageMask;
12110 dstStageMask = src->dstStageMask;
12111 srcAccessMask = src->srcAccessMask;
12112 dstAccessMask = src->dstAccessMask;
12113 dependencyFlags = src->dependencyFlags;
12114 viewOffset = src->viewOffset;
12115}
12116
12117safe_VkRenderPassCreateInfo2KHR::safe_VkRenderPassCreateInfo2KHR(const VkRenderPassCreateInfo2KHR* in_struct) :
12118 sType(in_struct->sType),
12119 pNext(in_struct->pNext),
12120 flags(in_struct->flags),
12121 attachmentCount(in_struct->attachmentCount),
12122 pAttachments(nullptr),
12123 subpassCount(in_struct->subpassCount),
12124 pSubpasses(nullptr),
12125 dependencyCount(in_struct->dependencyCount),
12126 pDependencies(nullptr),
12127 correlatedViewMaskCount(in_struct->correlatedViewMaskCount),
12128 pCorrelatedViewMasks(nullptr)
12129{
12130 if (attachmentCount && in_struct->pAttachments) {
12131 pAttachments = new safe_VkAttachmentDescription2KHR[attachmentCount];
12132 for (uint32_t i=0; i<attachmentCount; ++i) {
12133 pAttachments[i].initialize(&in_struct->pAttachments[i]);
12134 }
12135 }
12136 if (subpassCount && in_struct->pSubpasses) {
12137 pSubpasses = new safe_VkSubpassDescription2KHR[subpassCount];
12138 for (uint32_t i=0; i<subpassCount; ++i) {
12139 pSubpasses[i].initialize(&in_struct->pSubpasses[i]);
12140 }
12141 }
12142 if (dependencyCount && in_struct->pDependencies) {
12143 pDependencies = new safe_VkSubpassDependency2KHR[dependencyCount];
12144 for (uint32_t i=0; i<dependencyCount; ++i) {
12145 pDependencies[i].initialize(&in_struct->pDependencies[i]);
12146 }
12147 }
12148 if (in_struct->pCorrelatedViewMasks) {
12149 pCorrelatedViewMasks = new uint32_t[in_struct->correlatedViewMaskCount];
12150 memcpy ((void *)pCorrelatedViewMasks, (void *)in_struct->pCorrelatedViewMasks, sizeof(uint32_t)*in_struct->correlatedViewMaskCount);
12151 }
12152}
12153
12154safe_VkRenderPassCreateInfo2KHR::safe_VkRenderPassCreateInfo2KHR() :
12155 pAttachments(nullptr),
12156 pSubpasses(nullptr),
12157 pDependencies(nullptr),
12158 pCorrelatedViewMasks(nullptr)
12159{}
12160
12161safe_VkRenderPassCreateInfo2KHR::safe_VkRenderPassCreateInfo2KHR(const safe_VkRenderPassCreateInfo2KHR& src)
12162{
12163 sType = src.sType;
12164 pNext = src.pNext;
12165 flags = src.flags;
12166 attachmentCount = src.attachmentCount;
12167 pAttachments = nullptr;
12168 subpassCount = src.subpassCount;
12169 pSubpasses = nullptr;
12170 dependencyCount = src.dependencyCount;
12171 pDependencies = nullptr;
12172 correlatedViewMaskCount = src.correlatedViewMaskCount;
12173 pCorrelatedViewMasks = nullptr;
12174 if (attachmentCount && src.pAttachments) {
12175 pAttachments = new safe_VkAttachmentDescription2KHR[attachmentCount];
12176 for (uint32_t i=0; i<attachmentCount; ++i) {
12177 pAttachments[i].initialize(&src.pAttachments[i]);
12178 }
12179 }
12180 if (subpassCount && src.pSubpasses) {
12181 pSubpasses = new safe_VkSubpassDescription2KHR[subpassCount];
12182 for (uint32_t i=0; i<subpassCount; ++i) {
12183 pSubpasses[i].initialize(&src.pSubpasses[i]);
12184 }
12185 }
12186 if (dependencyCount && src.pDependencies) {
12187 pDependencies = new safe_VkSubpassDependency2KHR[dependencyCount];
12188 for (uint32_t i=0; i<dependencyCount; ++i) {
12189 pDependencies[i].initialize(&src.pDependencies[i]);
12190 }
12191 }
12192 if (src.pCorrelatedViewMasks) {
12193 pCorrelatedViewMasks = new uint32_t[src.correlatedViewMaskCount];
12194 memcpy ((void *)pCorrelatedViewMasks, (void *)src.pCorrelatedViewMasks, sizeof(uint32_t)*src.correlatedViewMaskCount);
12195 }
12196}
12197
12198safe_VkRenderPassCreateInfo2KHR& safe_VkRenderPassCreateInfo2KHR::operator=(const safe_VkRenderPassCreateInfo2KHR& src)
12199{
12200 if (&src == this) return *this;
12201
12202 if (pAttachments)
12203 delete[] pAttachments;
12204 if (pSubpasses)
12205 delete[] pSubpasses;
12206 if (pDependencies)
12207 delete[] pDependencies;
12208 if (pCorrelatedViewMasks)
12209 delete[] pCorrelatedViewMasks;
12210
12211 sType = src.sType;
12212 pNext = src.pNext;
12213 flags = src.flags;
12214 attachmentCount = src.attachmentCount;
12215 pAttachments = nullptr;
12216 subpassCount = src.subpassCount;
12217 pSubpasses = nullptr;
12218 dependencyCount = src.dependencyCount;
12219 pDependencies = nullptr;
12220 correlatedViewMaskCount = src.correlatedViewMaskCount;
12221 pCorrelatedViewMasks = nullptr;
12222 if (attachmentCount && src.pAttachments) {
12223 pAttachments = new safe_VkAttachmentDescription2KHR[attachmentCount];
12224 for (uint32_t i=0; i<attachmentCount; ++i) {
12225 pAttachments[i].initialize(&src.pAttachments[i]);
12226 }
12227 }
12228 if (subpassCount && src.pSubpasses) {
12229 pSubpasses = new safe_VkSubpassDescription2KHR[subpassCount];
12230 for (uint32_t i=0; i<subpassCount; ++i) {
12231 pSubpasses[i].initialize(&src.pSubpasses[i]);
12232 }
12233 }
12234 if (dependencyCount && src.pDependencies) {
12235 pDependencies = new safe_VkSubpassDependency2KHR[dependencyCount];
12236 for (uint32_t i=0; i<dependencyCount; ++i) {
12237 pDependencies[i].initialize(&src.pDependencies[i]);
12238 }
12239 }
12240 if (src.pCorrelatedViewMasks) {
12241 pCorrelatedViewMasks = new uint32_t[src.correlatedViewMaskCount];
12242 memcpy ((void *)pCorrelatedViewMasks, (void *)src.pCorrelatedViewMasks, sizeof(uint32_t)*src.correlatedViewMaskCount);
12243 }
12244
12245 return *this;
12246}
12247
12248safe_VkRenderPassCreateInfo2KHR::~safe_VkRenderPassCreateInfo2KHR()
12249{
12250 if (pAttachments)
12251 delete[] pAttachments;
12252 if (pSubpasses)
12253 delete[] pSubpasses;
12254 if (pDependencies)
12255 delete[] pDependencies;
12256 if (pCorrelatedViewMasks)
12257 delete[] pCorrelatedViewMasks;
12258}
12259
12260void safe_VkRenderPassCreateInfo2KHR::initialize(const VkRenderPassCreateInfo2KHR* in_struct)
12261{
12262 sType = in_struct->sType;
12263 pNext = in_struct->pNext;
12264 flags = in_struct->flags;
12265 attachmentCount = in_struct->attachmentCount;
12266 pAttachments = nullptr;
12267 subpassCount = in_struct->subpassCount;
12268 pSubpasses = nullptr;
12269 dependencyCount = in_struct->dependencyCount;
12270 pDependencies = nullptr;
12271 correlatedViewMaskCount = in_struct->correlatedViewMaskCount;
12272 pCorrelatedViewMasks = nullptr;
12273 if (attachmentCount && in_struct->pAttachments) {
12274 pAttachments = new safe_VkAttachmentDescription2KHR[attachmentCount];
12275 for (uint32_t i=0; i<attachmentCount; ++i) {
12276 pAttachments[i].initialize(&in_struct->pAttachments[i]);
12277 }
12278 }
12279 if (subpassCount && in_struct->pSubpasses) {
12280 pSubpasses = new safe_VkSubpassDescription2KHR[subpassCount];
12281 for (uint32_t i=0; i<subpassCount; ++i) {
12282 pSubpasses[i].initialize(&in_struct->pSubpasses[i]);
12283 }
12284 }
12285 if (dependencyCount && in_struct->pDependencies) {
12286 pDependencies = new safe_VkSubpassDependency2KHR[dependencyCount];
12287 for (uint32_t i=0; i<dependencyCount; ++i) {
12288 pDependencies[i].initialize(&in_struct->pDependencies[i]);
12289 }
12290 }
12291 if (in_struct->pCorrelatedViewMasks) {
12292 pCorrelatedViewMasks = new uint32_t[in_struct->correlatedViewMaskCount];
12293 memcpy ((void *)pCorrelatedViewMasks, (void *)in_struct->pCorrelatedViewMasks, sizeof(uint32_t)*in_struct->correlatedViewMaskCount);
12294 }
12295}
12296
12297void safe_VkRenderPassCreateInfo2KHR::initialize(const safe_VkRenderPassCreateInfo2KHR* src)
12298{
12299 sType = src->sType;
12300 pNext = src->pNext;
12301 flags = src->flags;
12302 attachmentCount = src->attachmentCount;
12303 pAttachments = nullptr;
12304 subpassCount = src->subpassCount;
12305 pSubpasses = nullptr;
12306 dependencyCount = src->dependencyCount;
12307 pDependencies = nullptr;
12308 correlatedViewMaskCount = src->correlatedViewMaskCount;
12309 pCorrelatedViewMasks = nullptr;
12310 if (attachmentCount && src->pAttachments) {
12311 pAttachments = new safe_VkAttachmentDescription2KHR[attachmentCount];
12312 for (uint32_t i=0; i<attachmentCount; ++i) {
12313 pAttachments[i].initialize(&src->pAttachments[i]);
12314 }
12315 }
12316 if (subpassCount && src->pSubpasses) {
12317 pSubpasses = new safe_VkSubpassDescription2KHR[subpassCount];
12318 for (uint32_t i=0; i<subpassCount; ++i) {
12319 pSubpasses[i].initialize(&src->pSubpasses[i]);
12320 }
12321 }
12322 if (dependencyCount && src->pDependencies) {
12323 pDependencies = new safe_VkSubpassDependency2KHR[dependencyCount];
12324 for (uint32_t i=0; i<dependencyCount; ++i) {
12325 pDependencies[i].initialize(&src->pDependencies[i]);
12326 }
12327 }
12328 if (src->pCorrelatedViewMasks) {
12329 pCorrelatedViewMasks = new uint32_t[src->correlatedViewMaskCount];
12330 memcpy ((void *)pCorrelatedViewMasks, (void *)src->pCorrelatedViewMasks, sizeof(uint32_t)*src->correlatedViewMaskCount);
12331 }
12332}
12333
12334safe_VkSubpassBeginInfoKHR::safe_VkSubpassBeginInfoKHR(const VkSubpassBeginInfoKHR* in_struct) :
12335 sType(in_struct->sType),
12336 pNext(in_struct->pNext),
12337 contents(in_struct->contents)
12338{
12339}
12340
12341safe_VkSubpassBeginInfoKHR::safe_VkSubpassBeginInfoKHR()
12342{}
12343
12344safe_VkSubpassBeginInfoKHR::safe_VkSubpassBeginInfoKHR(const safe_VkSubpassBeginInfoKHR& src)
12345{
12346 sType = src.sType;
12347 pNext = src.pNext;
12348 contents = src.contents;
12349}
12350
12351safe_VkSubpassBeginInfoKHR& safe_VkSubpassBeginInfoKHR::operator=(const safe_VkSubpassBeginInfoKHR& src)
12352{
12353 if (&src == this) return *this;
12354
12355
12356 sType = src.sType;
12357 pNext = src.pNext;
12358 contents = src.contents;
12359
12360 return *this;
12361}
12362
12363safe_VkSubpassBeginInfoKHR::~safe_VkSubpassBeginInfoKHR()
12364{
12365}
12366
12367void safe_VkSubpassBeginInfoKHR::initialize(const VkSubpassBeginInfoKHR* in_struct)
12368{
12369 sType = in_struct->sType;
12370 pNext = in_struct->pNext;
12371 contents = in_struct->contents;
12372}
12373
12374void safe_VkSubpassBeginInfoKHR::initialize(const safe_VkSubpassBeginInfoKHR* src)
12375{
12376 sType = src->sType;
12377 pNext = src->pNext;
12378 contents = src->contents;
12379}
12380
12381safe_VkSubpassEndInfoKHR::safe_VkSubpassEndInfoKHR(const VkSubpassEndInfoKHR* in_struct) :
12382 sType(in_struct->sType),
12383 pNext(in_struct->pNext)
12384{
12385}
12386
12387safe_VkSubpassEndInfoKHR::safe_VkSubpassEndInfoKHR()
12388{}
12389
12390safe_VkSubpassEndInfoKHR::safe_VkSubpassEndInfoKHR(const safe_VkSubpassEndInfoKHR& src)
12391{
12392 sType = src.sType;
12393 pNext = src.pNext;
12394}
12395
12396safe_VkSubpassEndInfoKHR& safe_VkSubpassEndInfoKHR::operator=(const safe_VkSubpassEndInfoKHR& src)
12397{
12398 if (&src == this) return *this;
12399
12400
12401 sType = src.sType;
12402 pNext = src.pNext;
12403
12404 return *this;
12405}
12406
12407safe_VkSubpassEndInfoKHR::~safe_VkSubpassEndInfoKHR()
12408{
12409}
12410
12411void safe_VkSubpassEndInfoKHR::initialize(const VkSubpassEndInfoKHR* in_struct)
12412{
12413 sType = in_struct->sType;
12414 pNext = in_struct->pNext;
12415}
12416
12417void safe_VkSubpassEndInfoKHR::initialize(const safe_VkSubpassEndInfoKHR* src)
12418{
12419 sType = src->sType;
12420 pNext = src->pNext;
12421}
12422
12423safe_VkSharedPresentSurfaceCapabilitiesKHR::safe_VkSharedPresentSurfaceCapabilitiesKHR(const VkSharedPresentSurfaceCapabilitiesKHR* in_struct) :
12424 sType(in_struct->sType),
12425 pNext(in_struct->pNext),
12426 sharedPresentSupportedUsageFlags(in_struct->sharedPresentSupportedUsageFlags)
12427{
12428}
12429
12430safe_VkSharedPresentSurfaceCapabilitiesKHR::safe_VkSharedPresentSurfaceCapabilitiesKHR()
12431{}
12432
12433safe_VkSharedPresentSurfaceCapabilitiesKHR::safe_VkSharedPresentSurfaceCapabilitiesKHR(const safe_VkSharedPresentSurfaceCapabilitiesKHR& src)
12434{
12435 sType = src.sType;
12436 pNext = src.pNext;
12437 sharedPresentSupportedUsageFlags = src.sharedPresentSupportedUsageFlags;
12438}
12439
12440safe_VkSharedPresentSurfaceCapabilitiesKHR& safe_VkSharedPresentSurfaceCapabilitiesKHR::operator=(const safe_VkSharedPresentSurfaceCapabilitiesKHR& src)
12441{
12442 if (&src == this) return *this;
12443
12444
12445 sType = src.sType;
12446 pNext = src.pNext;
12447 sharedPresentSupportedUsageFlags = src.sharedPresentSupportedUsageFlags;
12448
12449 return *this;
12450}
12451
12452safe_VkSharedPresentSurfaceCapabilitiesKHR::~safe_VkSharedPresentSurfaceCapabilitiesKHR()
12453{
12454}
12455
12456void safe_VkSharedPresentSurfaceCapabilitiesKHR::initialize(const VkSharedPresentSurfaceCapabilitiesKHR* in_struct)
12457{
12458 sType = in_struct->sType;
12459 pNext = in_struct->pNext;
12460 sharedPresentSupportedUsageFlags = in_struct->sharedPresentSupportedUsageFlags;
12461}
12462
12463void safe_VkSharedPresentSurfaceCapabilitiesKHR::initialize(const safe_VkSharedPresentSurfaceCapabilitiesKHR* src)
12464{
12465 sType = src->sType;
12466 pNext = src->pNext;
12467 sharedPresentSupportedUsageFlags = src->sharedPresentSupportedUsageFlags;
12468}
12469#ifdef VK_USE_PLATFORM_WIN32_KHR
12470
12471
12472safe_VkImportFenceWin32HandleInfoKHR::safe_VkImportFenceWin32HandleInfoKHR(const VkImportFenceWin32HandleInfoKHR* in_struct) :
12473 sType(in_struct->sType),
12474 pNext(in_struct->pNext),
12475 fence(in_struct->fence),
12476 flags(in_struct->flags),
12477 handleType(in_struct->handleType),
12478 handle(in_struct->handle),
12479 name(in_struct->name)
12480{
12481}
12482
12483safe_VkImportFenceWin32HandleInfoKHR::safe_VkImportFenceWin32HandleInfoKHR()
12484{}
12485
12486safe_VkImportFenceWin32HandleInfoKHR::safe_VkImportFenceWin32HandleInfoKHR(const safe_VkImportFenceWin32HandleInfoKHR& src)
12487{
12488 sType = src.sType;
12489 pNext = src.pNext;
12490 fence = src.fence;
12491 flags = src.flags;
12492 handleType = src.handleType;
12493 handle = src.handle;
12494 name = src.name;
12495}
12496
12497safe_VkImportFenceWin32HandleInfoKHR& safe_VkImportFenceWin32HandleInfoKHR::operator=(const safe_VkImportFenceWin32HandleInfoKHR& src)
12498{
12499 if (&src == this) return *this;
12500
12501
12502 sType = src.sType;
12503 pNext = src.pNext;
12504 fence = src.fence;
12505 flags = src.flags;
12506 handleType = src.handleType;
12507 handle = src.handle;
12508 name = src.name;
12509
12510 return *this;
12511}
12512
12513safe_VkImportFenceWin32HandleInfoKHR::~safe_VkImportFenceWin32HandleInfoKHR()
12514{
12515}
12516
12517void safe_VkImportFenceWin32HandleInfoKHR::initialize(const VkImportFenceWin32HandleInfoKHR* in_struct)
12518{
12519 sType = in_struct->sType;
12520 pNext = in_struct->pNext;
12521 fence = in_struct->fence;
12522 flags = in_struct->flags;
12523 handleType = in_struct->handleType;
12524 handle = in_struct->handle;
12525 name = in_struct->name;
12526}
12527
12528void safe_VkImportFenceWin32HandleInfoKHR::initialize(const safe_VkImportFenceWin32HandleInfoKHR* src)
12529{
12530 sType = src->sType;
12531 pNext = src->pNext;
12532 fence = src->fence;
12533 flags = src->flags;
12534 handleType = src->handleType;
12535 handle = src->handle;
12536 name = src->name;
12537}
12538#endif // VK_USE_PLATFORM_WIN32_KHR
12539
12540#ifdef VK_USE_PLATFORM_WIN32_KHR
12541
12542
12543safe_VkExportFenceWin32HandleInfoKHR::safe_VkExportFenceWin32HandleInfoKHR(const VkExportFenceWin32HandleInfoKHR* in_struct) :
12544 sType(in_struct->sType),
12545 pNext(in_struct->pNext),
12546 pAttributes(nullptr),
12547 dwAccess(in_struct->dwAccess),
12548 name(in_struct->name)
12549{
12550 if (in_struct->pAttributes) {
12551 pAttributes = new SECURITY_ATTRIBUTES(*in_struct->pAttributes);
12552 }
12553}
12554
12555safe_VkExportFenceWin32HandleInfoKHR::safe_VkExportFenceWin32HandleInfoKHR() :
12556 pAttributes(nullptr)
12557{}
12558
12559safe_VkExportFenceWin32HandleInfoKHR::safe_VkExportFenceWin32HandleInfoKHR(const safe_VkExportFenceWin32HandleInfoKHR& src)
12560{
12561 sType = src.sType;
12562 pNext = src.pNext;
12563 pAttributes = nullptr;
12564 dwAccess = src.dwAccess;
12565 name = src.name;
12566 if (src.pAttributes) {
12567 pAttributes = new SECURITY_ATTRIBUTES(*src.pAttributes);
12568 }
12569}
12570
12571safe_VkExportFenceWin32HandleInfoKHR& safe_VkExportFenceWin32HandleInfoKHR::operator=(const safe_VkExportFenceWin32HandleInfoKHR& src)
12572{
12573 if (&src == this) return *this;
12574
12575 if (pAttributes)
12576 delete pAttributes;
12577
12578 sType = src.sType;
12579 pNext = src.pNext;
12580 pAttributes = nullptr;
12581 dwAccess = src.dwAccess;
12582 name = src.name;
12583 if (src.pAttributes) {
12584 pAttributes = new SECURITY_ATTRIBUTES(*src.pAttributes);
12585 }
12586
12587 return *this;
12588}
12589
12590safe_VkExportFenceWin32HandleInfoKHR::~safe_VkExportFenceWin32HandleInfoKHR()
12591{
12592 if (pAttributes)
12593 delete pAttributes;
12594}
12595
12596void safe_VkExportFenceWin32HandleInfoKHR::initialize(const VkExportFenceWin32HandleInfoKHR* in_struct)
12597{
12598 sType = in_struct->sType;
12599 pNext = in_struct->pNext;
12600 pAttributes = nullptr;
12601 dwAccess = in_struct->dwAccess;
12602 name = in_struct->name;
12603 if (in_struct->pAttributes) {
12604 pAttributes = new SECURITY_ATTRIBUTES(*in_struct->pAttributes);
12605 }
12606}
12607
12608void safe_VkExportFenceWin32HandleInfoKHR::initialize(const safe_VkExportFenceWin32HandleInfoKHR* src)
12609{
12610 sType = src->sType;
12611 pNext = src->pNext;
12612 pAttributes = nullptr;
12613 dwAccess = src->dwAccess;
12614 name = src->name;
12615 if (src->pAttributes) {
12616 pAttributes = new SECURITY_ATTRIBUTES(*src->pAttributes);
12617 }
12618}
12619#endif // VK_USE_PLATFORM_WIN32_KHR
12620
12621#ifdef VK_USE_PLATFORM_WIN32_KHR
12622
12623
12624safe_VkFenceGetWin32HandleInfoKHR::safe_VkFenceGetWin32HandleInfoKHR(const VkFenceGetWin32HandleInfoKHR* in_struct) :
12625 sType(in_struct->sType),
12626 pNext(in_struct->pNext),
12627 fence(in_struct->fence),
12628 handleType(in_struct->handleType)
12629{
12630}
12631
12632safe_VkFenceGetWin32HandleInfoKHR::safe_VkFenceGetWin32HandleInfoKHR()
12633{}
12634
12635safe_VkFenceGetWin32HandleInfoKHR::safe_VkFenceGetWin32HandleInfoKHR(const safe_VkFenceGetWin32HandleInfoKHR& src)
12636{
12637 sType = src.sType;
12638 pNext = src.pNext;
12639 fence = src.fence;
12640 handleType = src.handleType;
12641}
12642
12643safe_VkFenceGetWin32HandleInfoKHR& safe_VkFenceGetWin32HandleInfoKHR::operator=(const safe_VkFenceGetWin32HandleInfoKHR& src)
12644{
12645 if (&src == this) return *this;
12646
12647
12648 sType = src.sType;
12649 pNext = src.pNext;
12650 fence = src.fence;
12651 handleType = src.handleType;
12652
12653 return *this;
12654}
12655
12656safe_VkFenceGetWin32HandleInfoKHR::~safe_VkFenceGetWin32HandleInfoKHR()
12657{
12658}
12659
12660void safe_VkFenceGetWin32HandleInfoKHR::initialize(const VkFenceGetWin32HandleInfoKHR* in_struct)
12661{
12662 sType = in_struct->sType;
12663 pNext = in_struct->pNext;
12664 fence = in_struct->fence;
12665 handleType = in_struct->handleType;
12666}
12667
12668void safe_VkFenceGetWin32HandleInfoKHR::initialize(const safe_VkFenceGetWin32HandleInfoKHR* src)
12669{
12670 sType = src->sType;
12671 pNext = src->pNext;
12672 fence = src->fence;
12673 handleType = src->handleType;
12674}
12675#endif // VK_USE_PLATFORM_WIN32_KHR
12676
12677
12678safe_VkImportFenceFdInfoKHR::safe_VkImportFenceFdInfoKHR(const VkImportFenceFdInfoKHR* in_struct) :
12679 sType(in_struct->sType),
12680 pNext(in_struct->pNext),
12681 fence(in_struct->fence),
12682 flags(in_struct->flags),
12683 handleType(in_struct->handleType),
12684 fd(in_struct->fd)
12685{
12686}
12687
12688safe_VkImportFenceFdInfoKHR::safe_VkImportFenceFdInfoKHR()
12689{}
12690
12691safe_VkImportFenceFdInfoKHR::safe_VkImportFenceFdInfoKHR(const safe_VkImportFenceFdInfoKHR& src)
12692{
12693 sType = src.sType;
12694 pNext = src.pNext;
12695 fence = src.fence;
12696 flags = src.flags;
12697 handleType = src.handleType;
12698 fd = src.fd;
12699}
12700
12701safe_VkImportFenceFdInfoKHR& safe_VkImportFenceFdInfoKHR::operator=(const safe_VkImportFenceFdInfoKHR& src)
12702{
12703 if (&src == this) return *this;
12704
12705
12706 sType = src.sType;
12707 pNext = src.pNext;
12708 fence = src.fence;
12709 flags = src.flags;
12710 handleType = src.handleType;
12711 fd = src.fd;
12712
12713 return *this;
12714}
12715
12716safe_VkImportFenceFdInfoKHR::~safe_VkImportFenceFdInfoKHR()
12717{
12718}
12719
12720void safe_VkImportFenceFdInfoKHR::initialize(const VkImportFenceFdInfoKHR* in_struct)
12721{
12722 sType = in_struct->sType;
12723 pNext = in_struct->pNext;
12724 fence = in_struct->fence;
12725 flags = in_struct->flags;
12726 handleType = in_struct->handleType;
12727 fd = in_struct->fd;
12728}
12729
12730void safe_VkImportFenceFdInfoKHR::initialize(const safe_VkImportFenceFdInfoKHR* src)
12731{
12732 sType = src->sType;
12733 pNext = src->pNext;
12734 fence = src->fence;
12735 flags = src->flags;
12736 handleType = src->handleType;
12737 fd = src->fd;
12738}
12739
12740safe_VkFenceGetFdInfoKHR::safe_VkFenceGetFdInfoKHR(const VkFenceGetFdInfoKHR* in_struct) :
12741 sType(in_struct->sType),
12742 pNext(in_struct->pNext),
12743 fence(in_struct->fence),
12744 handleType(in_struct->handleType)
12745{
12746}
12747
12748safe_VkFenceGetFdInfoKHR::safe_VkFenceGetFdInfoKHR()
12749{}
12750
12751safe_VkFenceGetFdInfoKHR::safe_VkFenceGetFdInfoKHR(const safe_VkFenceGetFdInfoKHR& src)
12752{
12753 sType = src.sType;
12754 pNext = src.pNext;
12755 fence = src.fence;
12756 handleType = src.handleType;
12757}
12758
12759safe_VkFenceGetFdInfoKHR& safe_VkFenceGetFdInfoKHR::operator=(const safe_VkFenceGetFdInfoKHR& src)
12760{
12761 if (&src == this) return *this;
12762
12763
12764 sType = src.sType;
12765 pNext = src.pNext;
12766 fence = src.fence;
12767 handleType = src.handleType;
12768
12769 return *this;
12770}
12771
12772safe_VkFenceGetFdInfoKHR::~safe_VkFenceGetFdInfoKHR()
12773{
12774}
12775
12776void safe_VkFenceGetFdInfoKHR::initialize(const VkFenceGetFdInfoKHR* in_struct)
12777{
12778 sType = in_struct->sType;
12779 pNext = in_struct->pNext;
12780 fence = in_struct->fence;
12781 handleType = in_struct->handleType;
12782}
12783
12784void safe_VkFenceGetFdInfoKHR::initialize(const safe_VkFenceGetFdInfoKHR* src)
12785{
12786 sType = src->sType;
12787 pNext = src->pNext;
12788 fence = src->fence;
12789 handleType = src->handleType;
12790}
12791
12792safe_VkPhysicalDeviceSurfaceInfo2KHR::safe_VkPhysicalDeviceSurfaceInfo2KHR(const VkPhysicalDeviceSurfaceInfo2KHR* in_struct) :
12793 sType(in_struct->sType),
12794 pNext(in_struct->pNext),
12795 surface(in_struct->surface)
12796{
12797}
12798
12799safe_VkPhysicalDeviceSurfaceInfo2KHR::safe_VkPhysicalDeviceSurfaceInfo2KHR()
12800{}
12801
12802safe_VkPhysicalDeviceSurfaceInfo2KHR::safe_VkPhysicalDeviceSurfaceInfo2KHR(const safe_VkPhysicalDeviceSurfaceInfo2KHR& src)
12803{
12804 sType = src.sType;
12805 pNext = src.pNext;
12806 surface = src.surface;
12807}
12808
12809safe_VkPhysicalDeviceSurfaceInfo2KHR& safe_VkPhysicalDeviceSurfaceInfo2KHR::operator=(const safe_VkPhysicalDeviceSurfaceInfo2KHR& src)
12810{
12811 if (&src == this) return *this;
12812
12813
12814 sType = src.sType;
12815 pNext = src.pNext;
12816 surface = src.surface;
12817
12818 return *this;
12819}
12820
12821safe_VkPhysicalDeviceSurfaceInfo2KHR::~safe_VkPhysicalDeviceSurfaceInfo2KHR()
12822{
12823}
12824
12825void safe_VkPhysicalDeviceSurfaceInfo2KHR::initialize(const VkPhysicalDeviceSurfaceInfo2KHR* in_struct)
12826{
12827 sType = in_struct->sType;
12828 pNext = in_struct->pNext;
12829 surface = in_struct->surface;
12830}
12831
12832void safe_VkPhysicalDeviceSurfaceInfo2KHR::initialize(const safe_VkPhysicalDeviceSurfaceInfo2KHR* src)
12833{
12834 sType = src->sType;
12835 pNext = src->pNext;
12836 surface = src->surface;
12837}
12838
12839safe_VkSurfaceCapabilities2KHR::safe_VkSurfaceCapabilities2KHR(const VkSurfaceCapabilities2KHR* in_struct) :
12840 sType(in_struct->sType),
12841 pNext(in_struct->pNext),
12842 surfaceCapabilities(in_struct->surfaceCapabilities)
12843{
12844}
12845
12846safe_VkSurfaceCapabilities2KHR::safe_VkSurfaceCapabilities2KHR()
12847{}
12848
12849safe_VkSurfaceCapabilities2KHR::safe_VkSurfaceCapabilities2KHR(const safe_VkSurfaceCapabilities2KHR& src)
12850{
12851 sType = src.sType;
12852 pNext = src.pNext;
12853 surfaceCapabilities = src.surfaceCapabilities;
12854}
12855
12856safe_VkSurfaceCapabilities2KHR& safe_VkSurfaceCapabilities2KHR::operator=(const safe_VkSurfaceCapabilities2KHR& src)
12857{
12858 if (&src == this) return *this;
12859
12860
12861 sType = src.sType;
12862 pNext = src.pNext;
12863 surfaceCapabilities = src.surfaceCapabilities;
12864
12865 return *this;
12866}
12867
12868safe_VkSurfaceCapabilities2KHR::~safe_VkSurfaceCapabilities2KHR()
12869{
12870}
12871
12872void safe_VkSurfaceCapabilities2KHR::initialize(const VkSurfaceCapabilities2KHR* in_struct)
12873{
12874 sType = in_struct->sType;
12875 pNext = in_struct->pNext;
12876 surfaceCapabilities = in_struct->surfaceCapabilities;
12877}
12878
12879void safe_VkSurfaceCapabilities2KHR::initialize(const safe_VkSurfaceCapabilities2KHR* src)
12880{
12881 sType = src->sType;
12882 pNext = src->pNext;
12883 surfaceCapabilities = src->surfaceCapabilities;
12884}
12885
12886safe_VkSurfaceFormat2KHR::safe_VkSurfaceFormat2KHR(const VkSurfaceFormat2KHR* in_struct) :
12887 sType(in_struct->sType),
12888 pNext(in_struct->pNext),
12889 surfaceFormat(in_struct->surfaceFormat)
12890{
12891}
12892
12893safe_VkSurfaceFormat2KHR::safe_VkSurfaceFormat2KHR()
12894{}
12895
12896safe_VkSurfaceFormat2KHR::safe_VkSurfaceFormat2KHR(const safe_VkSurfaceFormat2KHR& src)
12897{
12898 sType = src.sType;
12899 pNext = src.pNext;
12900 surfaceFormat = src.surfaceFormat;
12901}
12902
12903safe_VkSurfaceFormat2KHR& safe_VkSurfaceFormat2KHR::operator=(const safe_VkSurfaceFormat2KHR& src)
12904{
12905 if (&src == this) return *this;
12906
12907
12908 sType = src.sType;
12909 pNext = src.pNext;
12910 surfaceFormat = src.surfaceFormat;
12911
12912 return *this;
12913}
12914
12915safe_VkSurfaceFormat2KHR::~safe_VkSurfaceFormat2KHR()
12916{
12917}
12918
12919void safe_VkSurfaceFormat2KHR::initialize(const VkSurfaceFormat2KHR* in_struct)
12920{
12921 sType = in_struct->sType;
12922 pNext = in_struct->pNext;
12923 surfaceFormat = in_struct->surfaceFormat;
12924}
12925
12926void safe_VkSurfaceFormat2KHR::initialize(const safe_VkSurfaceFormat2KHR* src)
12927{
12928 sType = src->sType;
12929 pNext = src->pNext;
12930 surfaceFormat = src->surfaceFormat;
12931}
12932
12933safe_VkDisplayProperties2KHR::safe_VkDisplayProperties2KHR(const VkDisplayProperties2KHR* in_struct) :
12934 sType(in_struct->sType),
12935 pNext(in_struct->pNext),
12936 displayProperties(&in_struct->displayProperties)
12937{
12938}
12939
12940safe_VkDisplayProperties2KHR::safe_VkDisplayProperties2KHR()
12941{}
12942
12943safe_VkDisplayProperties2KHR::safe_VkDisplayProperties2KHR(const safe_VkDisplayProperties2KHR& src)
12944{
12945 sType = src.sType;
12946 pNext = src.pNext;
12947 displayProperties.initialize(&src.displayProperties);
12948}
12949
12950safe_VkDisplayProperties2KHR& safe_VkDisplayProperties2KHR::operator=(const safe_VkDisplayProperties2KHR& src)
12951{
12952 if (&src == this) return *this;
12953
12954
12955 sType = src.sType;
12956 pNext = src.pNext;
12957 displayProperties.initialize(&src.displayProperties);
12958
12959 return *this;
12960}
12961
12962safe_VkDisplayProperties2KHR::~safe_VkDisplayProperties2KHR()
12963{
12964}
12965
12966void safe_VkDisplayProperties2KHR::initialize(const VkDisplayProperties2KHR* in_struct)
12967{
12968 sType = in_struct->sType;
12969 pNext = in_struct->pNext;
12970 displayProperties.initialize(&in_struct->displayProperties);
12971}
12972
12973void safe_VkDisplayProperties2KHR::initialize(const safe_VkDisplayProperties2KHR* src)
12974{
12975 sType = src->sType;
12976 pNext = src->pNext;
12977 displayProperties.initialize(&src->displayProperties);
12978}
12979
12980safe_VkDisplayPlaneProperties2KHR::safe_VkDisplayPlaneProperties2KHR(const VkDisplayPlaneProperties2KHR* in_struct) :
12981 sType(in_struct->sType),
12982 pNext(in_struct->pNext),
12983 displayPlaneProperties(in_struct->displayPlaneProperties)
12984{
12985}
12986
12987safe_VkDisplayPlaneProperties2KHR::safe_VkDisplayPlaneProperties2KHR()
12988{}
12989
12990safe_VkDisplayPlaneProperties2KHR::safe_VkDisplayPlaneProperties2KHR(const safe_VkDisplayPlaneProperties2KHR& src)
12991{
12992 sType = src.sType;
12993 pNext = src.pNext;
12994 displayPlaneProperties = src.displayPlaneProperties;
12995}
12996
12997safe_VkDisplayPlaneProperties2KHR& safe_VkDisplayPlaneProperties2KHR::operator=(const safe_VkDisplayPlaneProperties2KHR& src)
12998{
12999 if (&src == this) return *this;
13000
13001
13002 sType = src.sType;
13003 pNext = src.pNext;
13004 displayPlaneProperties = src.displayPlaneProperties;
13005
13006 return *this;
13007}
13008
13009safe_VkDisplayPlaneProperties2KHR::~safe_VkDisplayPlaneProperties2KHR()
13010{
13011}
13012
13013void safe_VkDisplayPlaneProperties2KHR::initialize(const VkDisplayPlaneProperties2KHR* in_struct)
13014{
13015 sType = in_struct->sType;
13016 pNext = in_struct->pNext;
13017 displayPlaneProperties = in_struct->displayPlaneProperties;
13018}
13019
13020void safe_VkDisplayPlaneProperties2KHR::initialize(const safe_VkDisplayPlaneProperties2KHR* src)
13021{
13022 sType = src->sType;
13023 pNext = src->pNext;
13024 displayPlaneProperties = src->displayPlaneProperties;
13025}
13026
13027safe_VkDisplayModeProperties2KHR::safe_VkDisplayModeProperties2KHR(const VkDisplayModeProperties2KHR* in_struct) :
13028 sType(in_struct->sType),
13029 pNext(in_struct->pNext),
13030 displayModeProperties(in_struct->displayModeProperties)
13031{
13032}
13033
13034safe_VkDisplayModeProperties2KHR::safe_VkDisplayModeProperties2KHR()
13035{}
13036
13037safe_VkDisplayModeProperties2KHR::safe_VkDisplayModeProperties2KHR(const safe_VkDisplayModeProperties2KHR& src)
13038{
13039 sType = src.sType;
13040 pNext = src.pNext;
13041 displayModeProperties = src.displayModeProperties;
13042}
13043
13044safe_VkDisplayModeProperties2KHR& safe_VkDisplayModeProperties2KHR::operator=(const safe_VkDisplayModeProperties2KHR& src)
13045{
13046 if (&src == this) return *this;
13047
13048
13049 sType = src.sType;
13050 pNext = src.pNext;
13051 displayModeProperties = src.displayModeProperties;
13052
13053 return *this;
13054}
13055
13056safe_VkDisplayModeProperties2KHR::~safe_VkDisplayModeProperties2KHR()
13057{
13058}
13059
13060void safe_VkDisplayModeProperties2KHR::initialize(const VkDisplayModeProperties2KHR* in_struct)
13061{
13062 sType = in_struct->sType;
13063 pNext = in_struct->pNext;
13064 displayModeProperties = in_struct->displayModeProperties;
13065}
13066
13067void safe_VkDisplayModeProperties2KHR::initialize(const safe_VkDisplayModeProperties2KHR* src)
13068{
13069 sType = src->sType;
13070 pNext = src->pNext;
13071 displayModeProperties = src->displayModeProperties;
13072}
13073
13074safe_VkDisplayPlaneInfo2KHR::safe_VkDisplayPlaneInfo2KHR(const VkDisplayPlaneInfo2KHR* in_struct) :
13075 sType(in_struct->sType),
13076 pNext(in_struct->pNext),
13077 mode(in_struct->mode),
13078 planeIndex(in_struct->planeIndex)
13079{
13080}
13081
13082safe_VkDisplayPlaneInfo2KHR::safe_VkDisplayPlaneInfo2KHR()
13083{}
13084
13085safe_VkDisplayPlaneInfo2KHR::safe_VkDisplayPlaneInfo2KHR(const safe_VkDisplayPlaneInfo2KHR& src)
13086{
13087 sType = src.sType;
13088 pNext = src.pNext;
13089 mode = src.mode;
13090 planeIndex = src.planeIndex;
13091}
13092
13093safe_VkDisplayPlaneInfo2KHR& safe_VkDisplayPlaneInfo2KHR::operator=(const safe_VkDisplayPlaneInfo2KHR& src)
13094{
13095 if (&src == this) return *this;
13096
13097
13098 sType = src.sType;
13099 pNext = src.pNext;
13100 mode = src.mode;
13101 planeIndex = src.planeIndex;
13102
13103 return *this;
13104}
13105
13106safe_VkDisplayPlaneInfo2KHR::~safe_VkDisplayPlaneInfo2KHR()
13107{
13108}
13109
13110void safe_VkDisplayPlaneInfo2KHR::initialize(const VkDisplayPlaneInfo2KHR* in_struct)
13111{
13112 sType = in_struct->sType;
13113 pNext = in_struct->pNext;
13114 mode = in_struct->mode;
13115 planeIndex = in_struct->planeIndex;
13116}
13117
13118void safe_VkDisplayPlaneInfo2KHR::initialize(const safe_VkDisplayPlaneInfo2KHR* src)
13119{
13120 sType = src->sType;
13121 pNext = src->pNext;
13122 mode = src->mode;
13123 planeIndex = src->planeIndex;
13124}
13125
13126safe_VkDisplayPlaneCapabilities2KHR::safe_VkDisplayPlaneCapabilities2KHR(const VkDisplayPlaneCapabilities2KHR* in_struct) :
13127 sType(in_struct->sType),
13128 pNext(in_struct->pNext),
13129 capabilities(in_struct->capabilities)
13130{
13131}
13132
13133safe_VkDisplayPlaneCapabilities2KHR::safe_VkDisplayPlaneCapabilities2KHR()
13134{}
13135
13136safe_VkDisplayPlaneCapabilities2KHR::safe_VkDisplayPlaneCapabilities2KHR(const safe_VkDisplayPlaneCapabilities2KHR& src)
13137{
13138 sType = src.sType;
13139 pNext = src.pNext;
13140 capabilities = src.capabilities;
13141}
13142
13143safe_VkDisplayPlaneCapabilities2KHR& safe_VkDisplayPlaneCapabilities2KHR::operator=(const safe_VkDisplayPlaneCapabilities2KHR& src)
13144{
13145 if (&src == this) return *this;
13146
13147
13148 sType = src.sType;
13149 pNext = src.pNext;
13150 capabilities = src.capabilities;
13151
13152 return *this;
13153}
13154
13155safe_VkDisplayPlaneCapabilities2KHR::~safe_VkDisplayPlaneCapabilities2KHR()
13156{
13157}
13158
13159void safe_VkDisplayPlaneCapabilities2KHR::initialize(const VkDisplayPlaneCapabilities2KHR* in_struct)
13160{
13161 sType = in_struct->sType;
13162 pNext = in_struct->pNext;
13163 capabilities = in_struct->capabilities;
13164}
13165
13166void safe_VkDisplayPlaneCapabilities2KHR::initialize(const safe_VkDisplayPlaneCapabilities2KHR* src)
13167{
13168 sType = src->sType;
13169 pNext = src->pNext;
13170 capabilities = src->capabilities;
13171}
13172
13173safe_VkImageFormatListCreateInfoKHR::safe_VkImageFormatListCreateInfoKHR(const VkImageFormatListCreateInfoKHR* in_struct) :
13174 sType(in_struct->sType),
13175 pNext(in_struct->pNext),
13176 viewFormatCount(in_struct->viewFormatCount),
13177 pViewFormats(nullptr)
13178{
13179 if (in_struct->pViewFormats) {
13180 pViewFormats = new VkFormat[in_struct->viewFormatCount];
13181 memcpy ((void *)pViewFormats, (void *)in_struct->pViewFormats, sizeof(VkFormat)*in_struct->viewFormatCount);
13182 }
13183}
13184
13185safe_VkImageFormatListCreateInfoKHR::safe_VkImageFormatListCreateInfoKHR() :
13186 pViewFormats(nullptr)
13187{}
13188
13189safe_VkImageFormatListCreateInfoKHR::safe_VkImageFormatListCreateInfoKHR(const safe_VkImageFormatListCreateInfoKHR& src)
13190{
13191 sType = src.sType;
13192 pNext = src.pNext;
13193 viewFormatCount = src.viewFormatCount;
13194 pViewFormats = nullptr;
13195 if (src.pViewFormats) {
13196 pViewFormats = new VkFormat[src.viewFormatCount];
13197 memcpy ((void *)pViewFormats, (void *)src.pViewFormats, sizeof(VkFormat)*src.viewFormatCount);
13198 }
13199}
13200
13201safe_VkImageFormatListCreateInfoKHR& safe_VkImageFormatListCreateInfoKHR::operator=(const safe_VkImageFormatListCreateInfoKHR& src)
13202{
13203 if (&src == this) return *this;
13204
13205 if (pViewFormats)
13206 delete[] pViewFormats;
13207
13208 sType = src.sType;
13209 pNext = src.pNext;
13210 viewFormatCount = src.viewFormatCount;
13211 pViewFormats = nullptr;
13212 if (src.pViewFormats) {
13213 pViewFormats = new VkFormat[src.viewFormatCount];
13214 memcpy ((void *)pViewFormats, (void *)src.pViewFormats, sizeof(VkFormat)*src.viewFormatCount);
13215 }
13216
13217 return *this;
13218}
13219
13220safe_VkImageFormatListCreateInfoKHR::~safe_VkImageFormatListCreateInfoKHR()
13221{
13222 if (pViewFormats)
13223 delete[] pViewFormats;
13224}
13225
13226void safe_VkImageFormatListCreateInfoKHR::initialize(const VkImageFormatListCreateInfoKHR* in_struct)
13227{
13228 sType = in_struct->sType;
13229 pNext = in_struct->pNext;
13230 viewFormatCount = in_struct->viewFormatCount;
13231 pViewFormats = nullptr;
13232 if (in_struct->pViewFormats) {
13233 pViewFormats = new VkFormat[in_struct->viewFormatCount];
13234 memcpy ((void *)pViewFormats, (void *)in_struct->pViewFormats, sizeof(VkFormat)*in_struct->viewFormatCount);
13235 }
13236}
13237
13238void safe_VkImageFormatListCreateInfoKHR::initialize(const safe_VkImageFormatListCreateInfoKHR* src)
13239{
13240 sType = src->sType;
13241 pNext = src->pNext;
13242 viewFormatCount = src->viewFormatCount;
13243 pViewFormats = nullptr;
13244 if (src->pViewFormats) {
13245 pViewFormats = new VkFormat[src->viewFormatCount];
13246 memcpy ((void *)pViewFormats, (void *)src->pViewFormats, sizeof(VkFormat)*src->viewFormatCount);
13247 }
13248}
13249
13250safe_VkPhysicalDevice8BitStorageFeaturesKHR::safe_VkPhysicalDevice8BitStorageFeaturesKHR(const VkPhysicalDevice8BitStorageFeaturesKHR* in_struct) :
13251 sType(in_struct->sType),
13252 pNext(in_struct->pNext),
13253 storageBuffer8BitAccess(in_struct->storageBuffer8BitAccess),
13254 uniformAndStorageBuffer8BitAccess(in_struct->uniformAndStorageBuffer8BitAccess),
13255 storagePushConstant8(in_struct->storagePushConstant8)
13256{
13257}
13258
13259safe_VkPhysicalDevice8BitStorageFeaturesKHR::safe_VkPhysicalDevice8BitStorageFeaturesKHR()
13260{}
13261
13262safe_VkPhysicalDevice8BitStorageFeaturesKHR::safe_VkPhysicalDevice8BitStorageFeaturesKHR(const safe_VkPhysicalDevice8BitStorageFeaturesKHR& src)
13263{
13264 sType = src.sType;
13265 pNext = src.pNext;
13266 storageBuffer8BitAccess = src.storageBuffer8BitAccess;
13267 uniformAndStorageBuffer8BitAccess = src.uniformAndStorageBuffer8BitAccess;
13268 storagePushConstant8 = src.storagePushConstant8;
13269}
13270
13271safe_VkPhysicalDevice8BitStorageFeaturesKHR& safe_VkPhysicalDevice8BitStorageFeaturesKHR::operator=(const safe_VkPhysicalDevice8BitStorageFeaturesKHR& src)
13272{
13273 if (&src == this) return *this;
13274
13275
13276 sType = src.sType;
13277 pNext = src.pNext;
13278 storageBuffer8BitAccess = src.storageBuffer8BitAccess;
13279 uniformAndStorageBuffer8BitAccess = src.uniformAndStorageBuffer8BitAccess;
13280 storagePushConstant8 = src.storagePushConstant8;
13281
13282 return *this;
13283}
13284
13285safe_VkPhysicalDevice8BitStorageFeaturesKHR::~safe_VkPhysicalDevice8BitStorageFeaturesKHR()
13286{
13287}
13288
13289void safe_VkPhysicalDevice8BitStorageFeaturesKHR::initialize(const VkPhysicalDevice8BitStorageFeaturesKHR* in_struct)
13290{
13291 sType = in_struct->sType;
13292 pNext = in_struct->pNext;
13293 storageBuffer8BitAccess = in_struct->storageBuffer8BitAccess;
13294 uniformAndStorageBuffer8BitAccess = in_struct->uniformAndStorageBuffer8BitAccess;
13295 storagePushConstant8 = in_struct->storagePushConstant8;
13296}
13297
13298void safe_VkPhysicalDevice8BitStorageFeaturesKHR::initialize(const safe_VkPhysicalDevice8BitStorageFeaturesKHR* src)
13299{
13300 sType = src->sType;
13301 pNext = src->pNext;
13302 storageBuffer8BitAccess = src->storageBuffer8BitAccess;
13303 uniformAndStorageBuffer8BitAccess = src->uniformAndStorageBuffer8BitAccess;
13304 storagePushConstant8 = src->storagePushConstant8;
13305}
13306
13307safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR::safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR(const VkPhysicalDeviceShaderAtomicInt64FeaturesKHR* in_struct) :
13308 sType(in_struct->sType),
13309 pNext(in_struct->pNext),
13310 shaderBufferInt64Atomics(in_struct->shaderBufferInt64Atomics),
13311 shaderSharedInt64Atomics(in_struct->shaderSharedInt64Atomics)
13312{
13313}
13314
13315safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR::safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR()
13316{}
13317
13318safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR::safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR(const safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR& src)
13319{
13320 sType = src.sType;
13321 pNext = src.pNext;
13322 shaderBufferInt64Atomics = src.shaderBufferInt64Atomics;
13323 shaderSharedInt64Atomics = src.shaderSharedInt64Atomics;
13324}
13325
13326safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR& safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR::operator=(const safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR& src)
13327{
13328 if (&src == this) return *this;
13329
13330
13331 sType = src.sType;
13332 pNext = src.pNext;
13333 shaderBufferInt64Atomics = src.shaderBufferInt64Atomics;
13334 shaderSharedInt64Atomics = src.shaderSharedInt64Atomics;
13335
13336 return *this;
13337}
13338
13339safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR::~safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR()
13340{
13341}
13342
13343void safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR::initialize(const VkPhysicalDeviceShaderAtomicInt64FeaturesKHR* in_struct)
13344{
13345 sType = in_struct->sType;
13346 pNext = in_struct->pNext;
13347 shaderBufferInt64Atomics = in_struct->shaderBufferInt64Atomics;
13348 shaderSharedInt64Atomics = in_struct->shaderSharedInt64Atomics;
13349}
13350
13351void safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR::initialize(const safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR* src)
13352{
13353 sType = src->sType;
13354 pNext = src->pNext;
13355 shaderBufferInt64Atomics = src->shaderBufferInt64Atomics;
13356 shaderSharedInt64Atomics = src->shaderSharedInt64Atomics;
13357}
13358
13359safe_VkPhysicalDeviceDriverPropertiesKHR::safe_VkPhysicalDeviceDriverPropertiesKHR(const VkPhysicalDeviceDriverPropertiesKHR* in_struct) :
13360 sType(in_struct->sType),
13361 pNext(in_struct->pNext),
13362 driverID(in_struct->driverID),
13363 conformanceVersion(in_struct->conformanceVersion)
13364{
13365 for (uint32_t i=0; i<VK_MAX_DRIVER_NAME_SIZE_KHR; ++i) {
13366 driverName[i] = in_struct->driverName[i];
13367 }
13368 for (uint32_t i=0; i<VK_MAX_DRIVER_INFO_SIZE_KHR; ++i) {
13369 driverInfo[i] = in_struct->driverInfo[i];
13370 }
13371}
13372
13373safe_VkPhysicalDeviceDriverPropertiesKHR::safe_VkPhysicalDeviceDriverPropertiesKHR()
13374{}
13375
13376safe_VkPhysicalDeviceDriverPropertiesKHR::safe_VkPhysicalDeviceDriverPropertiesKHR(const safe_VkPhysicalDeviceDriverPropertiesKHR& src)
13377{
13378 sType = src.sType;
13379 pNext = src.pNext;
13380 driverID = src.driverID;
13381 conformanceVersion = src.conformanceVersion;
13382 for (uint32_t i=0; i<VK_MAX_DRIVER_NAME_SIZE_KHR; ++i) {
13383 driverName[i] = src.driverName[i];
13384 }
13385 for (uint32_t i=0; i<VK_MAX_DRIVER_INFO_SIZE_KHR; ++i) {
13386 driverInfo[i] = src.driverInfo[i];
13387 }
13388}
13389
13390safe_VkPhysicalDeviceDriverPropertiesKHR& safe_VkPhysicalDeviceDriverPropertiesKHR::operator=(const safe_VkPhysicalDeviceDriverPropertiesKHR& src)
13391{
13392 if (&src == this) return *this;
13393
13394
13395 sType = src.sType;
13396 pNext = src.pNext;
13397 driverID = src.driverID;
13398 conformanceVersion = src.conformanceVersion;
13399 for (uint32_t i=0; i<VK_MAX_DRIVER_NAME_SIZE_KHR; ++i) {
13400 driverName[i] = src.driverName[i];
13401 }
13402 for (uint32_t i=0; i<VK_MAX_DRIVER_INFO_SIZE_KHR; ++i) {
13403 driverInfo[i] = src.driverInfo[i];
13404 }
13405
13406 return *this;
13407}
13408
13409safe_VkPhysicalDeviceDriverPropertiesKHR::~safe_VkPhysicalDeviceDriverPropertiesKHR()
13410{
13411}
13412
13413void safe_VkPhysicalDeviceDriverPropertiesKHR::initialize(const VkPhysicalDeviceDriverPropertiesKHR* in_struct)
13414{
13415 sType = in_struct->sType;
13416 pNext = in_struct->pNext;
13417 driverID = in_struct->driverID;
13418 conformanceVersion = in_struct->conformanceVersion;
13419 for (uint32_t i=0; i<VK_MAX_DRIVER_NAME_SIZE_KHR; ++i) {
13420 driverName[i] = in_struct->driverName[i];
13421 }
13422 for (uint32_t i=0; i<VK_MAX_DRIVER_INFO_SIZE_KHR; ++i) {
13423 driverInfo[i] = in_struct->driverInfo[i];
13424 }
13425}
13426
13427void safe_VkPhysicalDeviceDriverPropertiesKHR::initialize(const safe_VkPhysicalDeviceDriverPropertiesKHR* src)
13428{
13429 sType = src->sType;
13430 pNext = src->pNext;
13431 driverID = src->driverID;
13432 conformanceVersion = src->conformanceVersion;
13433 for (uint32_t i=0; i<VK_MAX_DRIVER_NAME_SIZE_KHR; ++i) {
13434 driverName[i] = src->driverName[i];
13435 }
13436 for (uint32_t i=0; i<VK_MAX_DRIVER_INFO_SIZE_KHR; ++i) {
13437 driverInfo[i] = src->driverInfo[i];
13438 }
13439}
13440
13441safe_VkPhysicalDeviceFloatControlsPropertiesKHR::safe_VkPhysicalDeviceFloatControlsPropertiesKHR(const VkPhysicalDeviceFloatControlsPropertiesKHR* in_struct) :
13442 sType(in_struct->sType),
13443 pNext(in_struct->pNext),
13444 separateDenormSettings(in_struct->separateDenormSettings),
13445 separateRoundingModeSettings(in_struct->separateRoundingModeSettings),
13446 shaderSignedZeroInfNanPreserveFloat16(in_struct->shaderSignedZeroInfNanPreserveFloat16),
13447 shaderSignedZeroInfNanPreserveFloat32(in_struct->shaderSignedZeroInfNanPreserveFloat32),
13448 shaderSignedZeroInfNanPreserveFloat64(in_struct->shaderSignedZeroInfNanPreserveFloat64),
13449 shaderDenormPreserveFloat16(in_struct->shaderDenormPreserveFloat16),
13450 shaderDenormPreserveFloat32(in_struct->shaderDenormPreserveFloat32),
13451 shaderDenormPreserveFloat64(in_struct->shaderDenormPreserveFloat64),
13452 shaderDenormFlushToZeroFloat16(in_struct->shaderDenormFlushToZeroFloat16),
13453 shaderDenormFlushToZeroFloat32(in_struct->shaderDenormFlushToZeroFloat32),
13454 shaderDenormFlushToZeroFloat64(in_struct->shaderDenormFlushToZeroFloat64),
13455 shaderRoundingModeRTEFloat16(in_struct->shaderRoundingModeRTEFloat16),
13456 shaderRoundingModeRTEFloat32(in_struct->shaderRoundingModeRTEFloat32),
13457 shaderRoundingModeRTEFloat64(in_struct->shaderRoundingModeRTEFloat64),
13458 shaderRoundingModeRTZFloat16(in_struct->shaderRoundingModeRTZFloat16),
13459 shaderRoundingModeRTZFloat32(in_struct->shaderRoundingModeRTZFloat32),
13460 shaderRoundingModeRTZFloat64(in_struct->shaderRoundingModeRTZFloat64)
13461{
13462}
13463
13464safe_VkPhysicalDeviceFloatControlsPropertiesKHR::safe_VkPhysicalDeviceFloatControlsPropertiesKHR()
13465{}
13466
13467safe_VkPhysicalDeviceFloatControlsPropertiesKHR::safe_VkPhysicalDeviceFloatControlsPropertiesKHR(const safe_VkPhysicalDeviceFloatControlsPropertiesKHR& src)
13468{
13469 sType = src.sType;
13470 pNext = src.pNext;
13471 separateDenormSettings = src.separateDenormSettings;
13472 separateRoundingModeSettings = src.separateRoundingModeSettings;
13473 shaderSignedZeroInfNanPreserveFloat16 = src.shaderSignedZeroInfNanPreserveFloat16;
13474 shaderSignedZeroInfNanPreserveFloat32 = src.shaderSignedZeroInfNanPreserveFloat32;
13475 shaderSignedZeroInfNanPreserveFloat64 = src.shaderSignedZeroInfNanPreserveFloat64;
13476 shaderDenormPreserveFloat16 = src.shaderDenormPreserveFloat16;
13477 shaderDenormPreserveFloat32 = src.shaderDenormPreserveFloat32;
13478 shaderDenormPreserveFloat64 = src.shaderDenormPreserveFloat64;
13479 shaderDenormFlushToZeroFloat16 = src.shaderDenormFlushToZeroFloat16;
13480 shaderDenormFlushToZeroFloat32 = src.shaderDenormFlushToZeroFloat32;
13481 shaderDenormFlushToZeroFloat64 = src.shaderDenormFlushToZeroFloat64;
13482 shaderRoundingModeRTEFloat16 = src.shaderRoundingModeRTEFloat16;
13483 shaderRoundingModeRTEFloat32 = src.shaderRoundingModeRTEFloat32;
13484 shaderRoundingModeRTEFloat64 = src.shaderRoundingModeRTEFloat64;
13485 shaderRoundingModeRTZFloat16 = src.shaderRoundingModeRTZFloat16;
13486 shaderRoundingModeRTZFloat32 = src.shaderRoundingModeRTZFloat32;
13487 shaderRoundingModeRTZFloat64 = src.shaderRoundingModeRTZFloat64;
13488}
13489
13490safe_VkPhysicalDeviceFloatControlsPropertiesKHR& safe_VkPhysicalDeviceFloatControlsPropertiesKHR::operator=(const safe_VkPhysicalDeviceFloatControlsPropertiesKHR& src)
13491{
13492 if (&src == this) return *this;
13493
13494
13495 sType = src.sType;
13496 pNext = src.pNext;
13497 separateDenormSettings = src.separateDenormSettings;
13498 separateRoundingModeSettings = src.separateRoundingModeSettings;
13499 shaderSignedZeroInfNanPreserveFloat16 = src.shaderSignedZeroInfNanPreserveFloat16;
13500 shaderSignedZeroInfNanPreserveFloat32 = src.shaderSignedZeroInfNanPreserveFloat32;
13501 shaderSignedZeroInfNanPreserveFloat64 = src.shaderSignedZeroInfNanPreserveFloat64;
13502 shaderDenormPreserveFloat16 = src.shaderDenormPreserveFloat16;
13503 shaderDenormPreserveFloat32 = src.shaderDenormPreserveFloat32;
13504 shaderDenormPreserveFloat64 = src.shaderDenormPreserveFloat64;
13505 shaderDenormFlushToZeroFloat16 = src.shaderDenormFlushToZeroFloat16;
13506 shaderDenormFlushToZeroFloat32 = src.shaderDenormFlushToZeroFloat32;
13507 shaderDenormFlushToZeroFloat64 = src.shaderDenormFlushToZeroFloat64;
13508 shaderRoundingModeRTEFloat16 = src.shaderRoundingModeRTEFloat16;
13509 shaderRoundingModeRTEFloat32 = src.shaderRoundingModeRTEFloat32;
13510 shaderRoundingModeRTEFloat64 = src.shaderRoundingModeRTEFloat64;
13511 shaderRoundingModeRTZFloat16 = src.shaderRoundingModeRTZFloat16;
13512 shaderRoundingModeRTZFloat32 = src.shaderRoundingModeRTZFloat32;
13513 shaderRoundingModeRTZFloat64 = src.shaderRoundingModeRTZFloat64;
13514
13515 return *this;
13516}
13517
13518safe_VkPhysicalDeviceFloatControlsPropertiesKHR::~safe_VkPhysicalDeviceFloatControlsPropertiesKHR()
13519{
13520}
13521
13522void safe_VkPhysicalDeviceFloatControlsPropertiesKHR::initialize(const VkPhysicalDeviceFloatControlsPropertiesKHR* in_struct)
13523{
13524 sType = in_struct->sType;
13525 pNext = in_struct->pNext;
13526 separateDenormSettings = in_struct->separateDenormSettings;
13527 separateRoundingModeSettings = in_struct->separateRoundingModeSettings;
13528 shaderSignedZeroInfNanPreserveFloat16 = in_struct->shaderSignedZeroInfNanPreserveFloat16;
13529 shaderSignedZeroInfNanPreserveFloat32 = in_struct->shaderSignedZeroInfNanPreserveFloat32;
13530 shaderSignedZeroInfNanPreserveFloat64 = in_struct->shaderSignedZeroInfNanPreserveFloat64;
13531 shaderDenormPreserveFloat16 = in_struct->shaderDenormPreserveFloat16;
13532 shaderDenormPreserveFloat32 = in_struct->shaderDenormPreserveFloat32;
13533 shaderDenormPreserveFloat64 = in_struct->shaderDenormPreserveFloat64;
13534 shaderDenormFlushToZeroFloat16 = in_struct->shaderDenormFlushToZeroFloat16;
13535 shaderDenormFlushToZeroFloat32 = in_struct->shaderDenormFlushToZeroFloat32;
13536 shaderDenormFlushToZeroFloat64 = in_struct->shaderDenormFlushToZeroFloat64;
13537 shaderRoundingModeRTEFloat16 = in_struct->shaderRoundingModeRTEFloat16;
13538 shaderRoundingModeRTEFloat32 = in_struct->shaderRoundingModeRTEFloat32;
13539 shaderRoundingModeRTEFloat64 = in_struct->shaderRoundingModeRTEFloat64;
13540 shaderRoundingModeRTZFloat16 = in_struct->shaderRoundingModeRTZFloat16;
13541 shaderRoundingModeRTZFloat32 = in_struct->shaderRoundingModeRTZFloat32;
13542 shaderRoundingModeRTZFloat64 = in_struct->shaderRoundingModeRTZFloat64;
13543}
13544
13545void safe_VkPhysicalDeviceFloatControlsPropertiesKHR::initialize(const safe_VkPhysicalDeviceFloatControlsPropertiesKHR* src)
13546{
13547 sType = src->sType;
13548 pNext = src->pNext;
13549 separateDenormSettings = src->separateDenormSettings;
13550 separateRoundingModeSettings = src->separateRoundingModeSettings;
13551 shaderSignedZeroInfNanPreserveFloat16 = src->shaderSignedZeroInfNanPreserveFloat16;
13552 shaderSignedZeroInfNanPreserveFloat32 = src->shaderSignedZeroInfNanPreserveFloat32;
13553 shaderSignedZeroInfNanPreserveFloat64 = src->shaderSignedZeroInfNanPreserveFloat64;
13554 shaderDenormPreserveFloat16 = src->shaderDenormPreserveFloat16;
13555 shaderDenormPreserveFloat32 = src->shaderDenormPreserveFloat32;
13556 shaderDenormPreserveFloat64 = src->shaderDenormPreserveFloat64;
13557 shaderDenormFlushToZeroFloat16 = src->shaderDenormFlushToZeroFloat16;
13558 shaderDenormFlushToZeroFloat32 = src->shaderDenormFlushToZeroFloat32;
13559 shaderDenormFlushToZeroFloat64 = src->shaderDenormFlushToZeroFloat64;
13560 shaderRoundingModeRTEFloat16 = src->shaderRoundingModeRTEFloat16;
13561 shaderRoundingModeRTEFloat32 = src->shaderRoundingModeRTEFloat32;
13562 shaderRoundingModeRTEFloat64 = src->shaderRoundingModeRTEFloat64;
13563 shaderRoundingModeRTZFloat16 = src->shaderRoundingModeRTZFloat16;
13564 shaderRoundingModeRTZFloat32 = src->shaderRoundingModeRTZFloat32;
13565 shaderRoundingModeRTZFloat64 = src->shaderRoundingModeRTZFloat64;
13566}
13567
13568safe_VkSubpassDescriptionDepthStencilResolveKHR::safe_VkSubpassDescriptionDepthStencilResolveKHR(const VkSubpassDescriptionDepthStencilResolveKHR* in_struct) :
13569 sType(in_struct->sType),
13570 pNext(in_struct->pNext),
13571 depthResolveMode(in_struct->depthResolveMode),
13572 stencilResolveMode(in_struct->stencilResolveMode)
13573{
13574 if (in_struct->pDepthStencilResolveAttachment)
13575 pDepthStencilResolveAttachment = new safe_VkAttachmentReference2KHR(in_struct->pDepthStencilResolveAttachment);
13576 else
13577 pDepthStencilResolveAttachment = NULL;
13578}
13579
13580safe_VkSubpassDescriptionDepthStencilResolveKHR::safe_VkSubpassDescriptionDepthStencilResolveKHR()
13581{}
13582
13583safe_VkSubpassDescriptionDepthStencilResolveKHR::safe_VkSubpassDescriptionDepthStencilResolveKHR(const safe_VkSubpassDescriptionDepthStencilResolveKHR& src)
13584{
13585 sType = src.sType;
13586 pNext = src.pNext;
13587 depthResolveMode = src.depthResolveMode;
13588 stencilResolveMode = src.stencilResolveMode;
13589 if (src.pDepthStencilResolveAttachment)
13590 pDepthStencilResolveAttachment = new safe_VkAttachmentReference2KHR(*src.pDepthStencilResolveAttachment);
13591 else
13592 pDepthStencilResolveAttachment = NULL;
13593}
13594
13595safe_VkSubpassDescriptionDepthStencilResolveKHR& safe_VkSubpassDescriptionDepthStencilResolveKHR::operator=(const safe_VkSubpassDescriptionDepthStencilResolveKHR& src)
13596{
13597 if (&src == this) return *this;
13598
13599 if (pDepthStencilResolveAttachment)
13600 delete pDepthStencilResolveAttachment;
13601
13602 sType = src.sType;
13603 pNext = src.pNext;
13604 depthResolveMode = src.depthResolveMode;
13605 stencilResolveMode = src.stencilResolveMode;
13606 if (src.pDepthStencilResolveAttachment)
13607 pDepthStencilResolveAttachment = new safe_VkAttachmentReference2KHR(*src.pDepthStencilResolveAttachment);
13608 else
13609 pDepthStencilResolveAttachment = NULL;
13610
13611 return *this;
13612}
13613
13614safe_VkSubpassDescriptionDepthStencilResolveKHR::~safe_VkSubpassDescriptionDepthStencilResolveKHR()
13615{
13616 if (pDepthStencilResolveAttachment)
13617 delete pDepthStencilResolveAttachment;
13618}
13619
13620void safe_VkSubpassDescriptionDepthStencilResolveKHR::initialize(const VkSubpassDescriptionDepthStencilResolveKHR* in_struct)
13621{
13622 sType = in_struct->sType;
13623 pNext = in_struct->pNext;
13624 depthResolveMode = in_struct->depthResolveMode;
13625 stencilResolveMode = in_struct->stencilResolveMode;
13626 if (in_struct->pDepthStencilResolveAttachment)
13627 pDepthStencilResolveAttachment = new safe_VkAttachmentReference2KHR(in_struct->pDepthStencilResolveAttachment);
13628 else
13629 pDepthStencilResolveAttachment = NULL;
13630}
13631
13632void safe_VkSubpassDescriptionDepthStencilResolveKHR::initialize(const safe_VkSubpassDescriptionDepthStencilResolveKHR* src)
13633{
13634 sType = src->sType;
13635 pNext = src->pNext;
13636 depthResolveMode = src->depthResolveMode;
13637 stencilResolveMode = src->stencilResolveMode;
13638 if (src->pDepthStencilResolveAttachment)
13639 pDepthStencilResolveAttachment = new safe_VkAttachmentReference2KHR(*src->pDepthStencilResolveAttachment);
13640 else
13641 pDepthStencilResolveAttachment = NULL;
13642}
13643
13644safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR::safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR(const VkPhysicalDeviceDepthStencilResolvePropertiesKHR* in_struct) :
13645 sType(in_struct->sType),
13646 pNext(in_struct->pNext),
13647 supportedDepthResolveModes(in_struct->supportedDepthResolveModes),
13648 supportedStencilResolveModes(in_struct->supportedStencilResolveModes),
13649 independentResolveNone(in_struct->independentResolveNone),
13650 independentResolve(in_struct->independentResolve)
13651{
13652}
13653
13654safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR::safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR()
13655{}
13656
13657safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR::safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR(const safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR& src)
13658{
13659 sType = src.sType;
13660 pNext = src.pNext;
13661 supportedDepthResolveModes = src.supportedDepthResolveModes;
13662 supportedStencilResolveModes = src.supportedStencilResolveModes;
13663 independentResolveNone = src.independentResolveNone;
13664 independentResolve = src.independentResolve;
13665}
13666
13667safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR& safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR::operator=(const safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR& src)
13668{
13669 if (&src == this) return *this;
13670
13671
13672 sType = src.sType;
13673 pNext = src.pNext;
13674 supportedDepthResolveModes = src.supportedDepthResolveModes;
13675 supportedStencilResolveModes = src.supportedStencilResolveModes;
13676 independentResolveNone = src.independentResolveNone;
13677 independentResolve = src.independentResolve;
13678
13679 return *this;
13680}
13681
13682safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR::~safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR()
13683{
13684}
13685
13686void safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR::initialize(const VkPhysicalDeviceDepthStencilResolvePropertiesKHR* in_struct)
13687{
13688 sType = in_struct->sType;
13689 pNext = in_struct->pNext;
13690 supportedDepthResolveModes = in_struct->supportedDepthResolveModes;
13691 supportedStencilResolveModes = in_struct->supportedStencilResolveModes;
13692 independentResolveNone = in_struct->independentResolveNone;
13693 independentResolve = in_struct->independentResolve;
13694}
13695
13696void safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR::initialize(const safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR* src)
13697{
13698 sType = src->sType;
13699 pNext = src->pNext;
13700 supportedDepthResolveModes = src->supportedDepthResolveModes;
13701 supportedStencilResolveModes = src->supportedStencilResolveModes;
13702 independentResolveNone = src->independentResolveNone;
13703 independentResolve = src->independentResolve;
13704}
13705
13706safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR::safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR(const VkPhysicalDeviceVulkanMemoryModelFeaturesKHR* in_struct) :
13707 sType(in_struct->sType),
13708 pNext(in_struct->pNext),
13709 vulkanMemoryModel(in_struct->vulkanMemoryModel),
13710 vulkanMemoryModelDeviceScope(in_struct->vulkanMemoryModelDeviceScope),
13711 vulkanMemoryModelAvailabilityVisibilityChains(in_struct->vulkanMemoryModelAvailabilityVisibilityChains)
13712{
13713}
13714
13715safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR::safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR()
13716{}
13717
13718safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR::safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR(const safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR& src)
13719{
13720 sType = src.sType;
13721 pNext = src.pNext;
13722 vulkanMemoryModel = src.vulkanMemoryModel;
13723 vulkanMemoryModelDeviceScope = src.vulkanMemoryModelDeviceScope;
13724 vulkanMemoryModelAvailabilityVisibilityChains = src.vulkanMemoryModelAvailabilityVisibilityChains;
13725}
13726
13727safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR& safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR::operator=(const safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR& src)
13728{
13729 if (&src == this) return *this;
13730
13731
13732 sType = src.sType;
13733 pNext = src.pNext;
13734 vulkanMemoryModel = src.vulkanMemoryModel;
13735 vulkanMemoryModelDeviceScope = src.vulkanMemoryModelDeviceScope;
13736 vulkanMemoryModelAvailabilityVisibilityChains = src.vulkanMemoryModelAvailabilityVisibilityChains;
13737
13738 return *this;
13739}
13740
13741safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR::~safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR()
13742{
13743}
13744
13745void safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR::initialize(const VkPhysicalDeviceVulkanMemoryModelFeaturesKHR* in_struct)
13746{
13747 sType = in_struct->sType;
13748 pNext = in_struct->pNext;
13749 vulkanMemoryModel = in_struct->vulkanMemoryModel;
13750 vulkanMemoryModelDeviceScope = in_struct->vulkanMemoryModelDeviceScope;
13751 vulkanMemoryModelAvailabilityVisibilityChains = in_struct->vulkanMemoryModelAvailabilityVisibilityChains;
13752}
13753
13754void safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR::initialize(const safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR* src)
13755{
13756 sType = src->sType;
13757 pNext = src->pNext;
13758 vulkanMemoryModel = src->vulkanMemoryModel;
13759 vulkanMemoryModelDeviceScope = src->vulkanMemoryModelDeviceScope;
13760 vulkanMemoryModelAvailabilityVisibilityChains = src->vulkanMemoryModelAvailabilityVisibilityChains;
13761}
13762
13763safe_VkSurfaceProtectedCapabilitiesKHR::safe_VkSurfaceProtectedCapabilitiesKHR(const VkSurfaceProtectedCapabilitiesKHR* in_struct) :
13764 sType(in_struct->sType),
13765 pNext(in_struct->pNext),
13766 supportsProtected(in_struct->supportsProtected)
13767{
13768}
13769
13770safe_VkSurfaceProtectedCapabilitiesKHR::safe_VkSurfaceProtectedCapabilitiesKHR()
13771{}
13772
13773safe_VkSurfaceProtectedCapabilitiesKHR::safe_VkSurfaceProtectedCapabilitiesKHR(const safe_VkSurfaceProtectedCapabilitiesKHR& src)
13774{
13775 sType = src.sType;
13776 pNext = src.pNext;
13777 supportsProtected = src.supportsProtected;
13778}
13779
13780safe_VkSurfaceProtectedCapabilitiesKHR& safe_VkSurfaceProtectedCapabilitiesKHR::operator=(const safe_VkSurfaceProtectedCapabilitiesKHR& src)
13781{
13782 if (&src == this) return *this;
13783
13784
13785 sType = src.sType;
13786 pNext = src.pNext;
13787 supportsProtected = src.supportsProtected;
13788
13789 return *this;
13790}
13791
13792safe_VkSurfaceProtectedCapabilitiesKHR::~safe_VkSurfaceProtectedCapabilitiesKHR()
13793{
13794}
13795
13796void safe_VkSurfaceProtectedCapabilitiesKHR::initialize(const VkSurfaceProtectedCapabilitiesKHR* in_struct)
13797{
13798 sType = in_struct->sType;
13799 pNext = in_struct->pNext;
13800 supportsProtected = in_struct->supportsProtected;
13801}
13802
13803void safe_VkSurfaceProtectedCapabilitiesKHR::initialize(const safe_VkSurfaceProtectedCapabilitiesKHR* src)
13804{
13805 sType = src->sType;
13806 pNext = src->pNext;
13807 supportsProtected = src->supportsProtected;
13808}
13809
13810safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR::safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR(const VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR* in_struct) :
13811 sType(in_struct->sType),
13812 pNext(in_struct->pNext),
13813 uniformBufferStandardLayout(in_struct->uniformBufferStandardLayout)
13814{
13815}
13816
13817safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR::safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR()
13818{}
13819
13820safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR::safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR(const safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR& src)
13821{
13822 sType = src.sType;
13823 pNext = src.pNext;
13824 uniformBufferStandardLayout = src.uniformBufferStandardLayout;
13825}
13826
13827safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR& safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR::operator=(const safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR& src)
13828{
13829 if (&src == this) return *this;
13830
13831
13832 sType = src.sType;
13833 pNext = src.pNext;
13834 uniformBufferStandardLayout = src.uniformBufferStandardLayout;
13835
13836 return *this;
13837}
13838
13839safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR::~safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR()
13840{
13841}
13842
13843void safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR::initialize(const VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR* in_struct)
13844{
13845 sType = in_struct->sType;
13846 pNext = in_struct->pNext;
13847 uniformBufferStandardLayout = in_struct->uniformBufferStandardLayout;
13848}
13849
13850void safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR::initialize(const safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR* src)
13851{
13852 sType = src->sType;
13853 pNext = src->pNext;
13854 uniformBufferStandardLayout = src->uniformBufferStandardLayout;
13855}
13856
13857safe_VkDebugReportCallbackCreateInfoEXT::safe_VkDebugReportCallbackCreateInfoEXT(const VkDebugReportCallbackCreateInfoEXT* in_struct) :
13858 sType(in_struct->sType),
13859 pNext(in_struct->pNext),
13860 flags(in_struct->flags),
13861 pfnCallback(in_struct->pfnCallback),
13862 pUserData(in_struct->pUserData)
13863{
13864}
13865
13866safe_VkDebugReportCallbackCreateInfoEXT::safe_VkDebugReportCallbackCreateInfoEXT()
13867{}
13868
13869safe_VkDebugReportCallbackCreateInfoEXT::safe_VkDebugReportCallbackCreateInfoEXT(const safe_VkDebugReportCallbackCreateInfoEXT& src)
13870{
13871 sType = src.sType;
13872 pNext = src.pNext;
13873 flags = src.flags;
13874 pfnCallback = src.pfnCallback;
13875 pUserData = src.pUserData;
13876}
13877
13878safe_VkDebugReportCallbackCreateInfoEXT& safe_VkDebugReportCallbackCreateInfoEXT::operator=(const safe_VkDebugReportCallbackCreateInfoEXT& src)
13879{
13880 if (&src == this) return *this;
13881
13882
13883 sType = src.sType;
13884 pNext = src.pNext;
13885 flags = src.flags;
13886 pfnCallback = src.pfnCallback;
13887 pUserData = src.pUserData;
13888
13889 return *this;
13890}
13891
13892safe_VkDebugReportCallbackCreateInfoEXT::~safe_VkDebugReportCallbackCreateInfoEXT()
13893{
13894}
13895
13896void safe_VkDebugReportCallbackCreateInfoEXT::initialize(const VkDebugReportCallbackCreateInfoEXT* in_struct)
13897{
13898 sType = in_struct->sType;
13899 pNext = in_struct->pNext;
13900 flags = in_struct->flags;
13901 pfnCallback = in_struct->pfnCallback;
13902 pUserData = in_struct->pUserData;
13903}
13904
13905void safe_VkDebugReportCallbackCreateInfoEXT::initialize(const safe_VkDebugReportCallbackCreateInfoEXT* src)
13906{
13907 sType = src->sType;
13908 pNext = src->pNext;
13909 flags = src->flags;
13910 pfnCallback = src->pfnCallback;
13911 pUserData = src->pUserData;
13912}
13913
13914safe_VkPipelineRasterizationStateRasterizationOrderAMD::safe_VkPipelineRasterizationStateRasterizationOrderAMD(const VkPipelineRasterizationStateRasterizationOrderAMD* in_struct) :
13915 sType(in_struct->sType),
13916 pNext(in_struct->pNext),
13917 rasterizationOrder(in_struct->rasterizationOrder)
13918{
13919}
13920
13921safe_VkPipelineRasterizationStateRasterizationOrderAMD::safe_VkPipelineRasterizationStateRasterizationOrderAMD()
13922{}
13923
13924safe_VkPipelineRasterizationStateRasterizationOrderAMD::safe_VkPipelineRasterizationStateRasterizationOrderAMD(const safe_VkPipelineRasterizationStateRasterizationOrderAMD& src)
13925{
13926 sType = src.sType;
13927 pNext = src.pNext;
13928 rasterizationOrder = src.rasterizationOrder;
13929}
13930
13931safe_VkPipelineRasterizationStateRasterizationOrderAMD& safe_VkPipelineRasterizationStateRasterizationOrderAMD::operator=(const safe_VkPipelineRasterizationStateRasterizationOrderAMD& src)
13932{
13933 if (&src == this) return *this;
13934
13935
13936 sType = src.sType;
13937 pNext = src.pNext;
13938 rasterizationOrder = src.rasterizationOrder;
13939
13940 return *this;
13941}
13942
13943safe_VkPipelineRasterizationStateRasterizationOrderAMD::~safe_VkPipelineRasterizationStateRasterizationOrderAMD()
13944{
13945}
13946
13947void safe_VkPipelineRasterizationStateRasterizationOrderAMD::initialize(const VkPipelineRasterizationStateRasterizationOrderAMD* in_struct)
13948{
13949 sType = in_struct->sType;
13950 pNext = in_struct->pNext;
13951 rasterizationOrder = in_struct->rasterizationOrder;
13952}
13953
13954void safe_VkPipelineRasterizationStateRasterizationOrderAMD::initialize(const safe_VkPipelineRasterizationStateRasterizationOrderAMD* src)
13955{
13956 sType = src->sType;
13957 pNext = src->pNext;
13958 rasterizationOrder = src->rasterizationOrder;
13959}
13960
13961safe_VkDebugMarkerObjectNameInfoEXT::safe_VkDebugMarkerObjectNameInfoEXT(const VkDebugMarkerObjectNameInfoEXT* in_struct) :
13962 sType(in_struct->sType),
13963 pNext(in_struct->pNext),
13964 objectType(in_struct->objectType),
13965 object(in_struct->object),
13966 pObjectName(in_struct->pObjectName)
13967{
13968}
13969
13970safe_VkDebugMarkerObjectNameInfoEXT::safe_VkDebugMarkerObjectNameInfoEXT()
13971{}
13972
13973safe_VkDebugMarkerObjectNameInfoEXT::safe_VkDebugMarkerObjectNameInfoEXT(const safe_VkDebugMarkerObjectNameInfoEXT& src)
13974{
13975 sType = src.sType;
13976 pNext = src.pNext;
13977 objectType = src.objectType;
13978 object = src.object;
13979 pObjectName = src.pObjectName;
13980}
13981
13982safe_VkDebugMarkerObjectNameInfoEXT& safe_VkDebugMarkerObjectNameInfoEXT::operator=(const safe_VkDebugMarkerObjectNameInfoEXT& src)
13983{
13984 if (&src == this) return *this;
13985
13986
13987 sType = src.sType;
13988 pNext = src.pNext;
13989 objectType = src.objectType;
13990 object = src.object;
13991 pObjectName = src.pObjectName;
13992
13993 return *this;
13994}
13995
13996safe_VkDebugMarkerObjectNameInfoEXT::~safe_VkDebugMarkerObjectNameInfoEXT()
13997{
13998}
13999
14000void safe_VkDebugMarkerObjectNameInfoEXT::initialize(const VkDebugMarkerObjectNameInfoEXT* in_struct)
14001{
14002 sType = in_struct->sType;
14003 pNext = in_struct->pNext;
14004 objectType = in_struct->objectType;
14005 object = in_struct->object;
14006 pObjectName = in_struct->pObjectName;
14007}
14008
14009void safe_VkDebugMarkerObjectNameInfoEXT::initialize(const safe_VkDebugMarkerObjectNameInfoEXT* src)
14010{
14011 sType = src->sType;
14012 pNext = src->pNext;
14013 objectType = src->objectType;
14014 object = src->object;
14015 pObjectName = src->pObjectName;
14016}
14017
14018safe_VkDebugMarkerObjectTagInfoEXT::safe_VkDebugMarkerObjectTagInfoEXT(const VkDebugMarkerObjectTagInfoEXT* in_struct) :
14019 sType(in_struct->sType),
14020 pNext(in_struct->pNext),
14021 objectType(in_struct->objectType),
14022 object(in_struct->object),
14023 tagName(in_struct->tagName),
14024 tagSize(in_struct->tagSize),
14025 pTag(in_struct->pTag)
14026{
14027}
14028
14029safe_VkDebugMarkerObjectTagInfoEXT::safe_VkDebugMarkerObjectTagInfoEXT()
14030{}
14031
14032safe_VkDebugMarkerObjectTagInfoEXT::safe_VkDebugMarkerObjectTagInfoEXT(const safe_VkDebugMarkerObjectTagInfoEXT& src)
14033{
14034 sType = src.sType;
14035 pNext = src.pNext;
14036 objectType = src.objectType;
14037 object = src.object;
14038 tagName = src.tagName;
14039 tagSize = src.tagSize;
14040 pTag = src.pTag;
14041}
14042
14043safe_VkDebugMarkerObjectTagInfoEXT& safe_VkDebugMarkerObjectTagInfoEXT::operator=(const safe_VkDebugMarkerObjectTagInfoEXT& src)
14044{
14045 if (&src == this) return *this;
14046
14047
14048 sType = src.sType;
14049 pNext = src.pNext;
14050 objectType = src.objectType;
14051 object = src.object;
14052 tagName = src.tagName;
14053 tagSize = src.tagSize;
14054 pTag = src.pTag;
14055
14056 return *this;
14057}
14058
14059safe_VkDebugMarkerObjectTagInfoEXT::~safe_VkDebugMarkerObjectTagInfoEXT()
14060{
14061}
14062
14063void safe_VkDebugMarkerObjectTagInfoEXT::initialize(const VkDebugMarkerObjectTagInfoEXT* in_struct)
14064{
14065 sType = in_struct->sType;
14066 pNext = in_struct->pNext;
14067 objectType = in_struct->objectType;
14068 object = in_struct->object;
14069 tagName = in_struct->tagName;
14070 tagSize = in_struct->tagSize;
14071 pTag = in_struct->pTag;
14072}
14073
14074void safe_VkDebugMarkerObjectTagInfoEXT::initialize(const safe_VkDebugMarkerObjectTagInfoEXT* src)
14075{
14076 sType = src->sType;
14077 pNext = src->pNext;
14078 objectType = src->objectType;
14079 object = src->object;
14080 tagName = src->tagName;
14081 tagSize = src->tagSize;
14082 pTag = src->pTag;
14083}
14084
14085safe_VkDebugMarkerMarkerInfoEXT::safe_VkDebugMarkerMarkerInfoEXT(const VkDebugMarkerMarkerInfoEXT* in_struct) :
14086 sType(in_struct->sType),
14087 pNext(in_struct->pNext),
14088 pMarkerName(in_struct->pMarkerName)
14089{
14090 for (uint32_t i=0; i<4; ++i) {
14091 color[i] = in_struct->color[i];
14092 }
14093}
14094
14095safe_VkDebugMarkerMarkerInfoEXT::safe_VkDebugMarkerMarkerInfoEXT()
14096{}
14097
14098safe_VkDebugMarkerMarkerInfoEXT::safe_VkDebugMarkerMarkerInfoEXT(const safe_VkDebugMarkerMarkerInfoEXT& src)
14099{
14100 sType = src.sType;
14101 pNext = src.pNext;
14102 pMarkerName = src.pMarkerName;
14103 for (uint32_t i=0; i<4; ++i) {
14104 color[i] = src.color[i];
14105 }
14106}
14107
14108safe_VkDebugMarkerMarkerInfoEXT& safe_VkDebugMarkerMarkerInfoEXT::operator=(const safe_VkDebugMarkerMarkerInfoEXT& src)
14109{
14110 if (&src == this) return *this;
14111
14112
14113 sType = src.sType;
14114 pNext = src.pNext;
14115 pMarkerName = src.pMarkerName;
14116 for (uint32_t i=0; i<4; ++i) {
14117 color[i] = src.color[i];
14118 }
14119
14120 return *this;
14121}
14122
14123safe_VkDebugMarkerMarkerInfoEXT::~safe_VkDebugMarkerMarkerInfoEXT()
14124{
14125}
14126
14127void safe_VkDebugMarkerMarkerInfoEXT::initialize(const VkDebugMarkerMarkerInfoEXT* in_struct)
14128{
14129 sType = in_struct->sType;
14130 pNext = in_struct->pNext;
14131 pMarkerName = in_struct->pMarkerName;
14132 for (uint32_t i=0; i<4; ++i) {
14133 color[i] = in_struct->color[i];
14134 }
14135}
14136
14137void safe_VkDebugMarkerMarkerInfoEXT::initialize(const safe_VkDebugMarkerMarkerInfoEXT* src)
14138{
14139 sType = src->sType;
14140 pNext = src->pNext;
14141 pMarkerName = src->pMarkerName;
14142 for (uint32_t i=0; i<4; ++i) {
14143 color[i] = src->color[i];
14144 }
14145}
14146
14147safe_VkDedicatedAllocationImageCreateInfoNV::safe_VkDedicatedAllocationImageCreateInfoNV(const VkDedicatedAllocationImageCreateInfoNV* in_struct) :
14148 sType(in_struct->sType),
14149 pNext(in_struct->pNext),
14150 dedicatedAllocation(in_struct->dedicatedAllocation)
14151{
14152}
14153
14154safe_VkDedicatedAllocationImageCreateInfoNV::safe_VkDedicatedAllocationImageCreateInfoNV()
14155{}
14156
14157safe_VkDedicatedAllocationImageCreateInfoNV::safe_VkDedicatedAllocationImageCreateInfoNV(const safe_VkDedicatedAllocationImageCreateInfoNV& src)
14158{
14159 sType = src.sType;
14160 pNext = src.pNext;
14161 dedicatedAllocation = src.dedicatedAllocation;
14162}
14163
14164safe_VkDedicatedAllocationImageCreateInfoNV& safe_VkDedicatedAllocationImageCreateInfoNV::operator=(const safe_VkDedicatedAllocationImageCreateInfoNV& src)
14165{
14166 if (&src == this) return *this;
14167
14168
14169 sType = src.sType;
14170 pNext = src.pNext;
14171 dedicatedAllocation = src.dedicatedAllocation;
14172
14173 return *this;
14174}
14175
14176safe_VkDedicatedAllocationImageCreateInfoNV::~safe_VkDedicatedAllocationImageCreateInfoNV()
14177{
14178}
14179
14180void safe_VkDedicatedAllocationImageCreateInfoNV::initialize(const VkDedicatedAllocationImageCreateInfoNV* in_struct)
14181{
14182 sType = in_struct->sType;
14183 pNext = in_struct->pNext;
14184 dedicatedAllocation = in_struct->dedicatedAllocation;
14185}
14186
14187void safe_VkDedicatedAllocationImageCreateInfoNV::initialize(const safe_VkDedicatedAllocationImageCreateInfoNV* src)
14188{
14189 sType = src->sType;
14190 pNext = src->pNext;
14191 dedicatedAllocation = src->dedicatedAllocation;
14192}
14193
14194safe_VkDedicatedAllocationBufferCreateInfoNV::safe_VkDedicatedAllocationBufferCreateInfoNV(const VkDedicatedAllocationBufferCreateInfoNV* in_struct) :
14195 sType(in_struct->sType),
14196 pNext(in_struct->pNext),
14197 dedicatedAllocation(in_struct->dedicatedAllocation)
14198{
14199}
14200
14201safe_VkDedicatedAllocationBufferCreateInfoNV::safe_VkDedicatedAllocationBufferCreateInfoNV()
14202{}
14203
14204safe_VkDedicatedAllocationBufferCreateInfoNV::safe_VkDedicatedAllocationBufferCreateInfoNV(const safe_VkDedicatedAllocationBufferCreateInfoNV& src)
14205{
14206 sType = src.sType;
14207 pNext = src.pNext;
14208 dedicatedAllocation = src.dedicatedAllocation;
14209}
14210
14211safe_VkDedicatedAllocationBufferCreateInfoNV& safe_VkDedicatedAllocationBufferCreateInfoNV::operator=(const safe_VkDedicatedAllocationBufferCreateInfoNV& src)
14212{
14213 if (&src == this) return *this;
14214
14215
14216 sType = src.sType;
14217 pNext = src.pNext;
14218 dedicatedAllocation = src.dedicatedAllocation;
14219
14220 return *this;
14221}
14222
14223safe_VkDedicatedAllocationBufferCreateInfoNV::~safe_VkDedicatedAllocationBufferCreateInfoNV()
14224{
14225}
14226
14227void safe_VkDedicatedAllocationBufferCreateInfoNV::initialize(const VkDedicatedAllocationBufferCreateInfoNV* in_struct)
14228{
14229 sType = in_struct->sType;
14230 pNext = in_struct->pNext;
14231 dedicatedAllocation = in_struct->dedicatedAllocation;
14232}
14233
14234void safe_VkDedicatedAllocationBufferCreateInfoNV::initialize(const safe_VkDedicatedAllocationBufferCreateInfoNV* src)
14235{
14236 sType = src->sType;
14237 pNext = src->pNext;
14238 dedicatedAllocation = src->dedicatedAllocation;
14239}
14240
14241safe_VkDedicatedAllocationMemoryAllocateInfoNV::safe_VkDedicatedAllocationMemoryAllocateInfoNV(const VkDedicatedAllocationMemoryAllocateInfoNV* in_struct) :
14242 sType(in_struct->sType),
14243 pNext(in_struct->pNext),
14244 image(in_struct->image),
14245 buffer(in_struct->buffer)
14246{
14247}
14248
14249safe_VkDedicatedAllocationMemoryAllocateInfoNV::safe_VkDedicatedAllocationMemoryAllocateInfoNV()
14250{}
14251
14252safe_VkDedicatedAllocationMemoryAllocateInfoNV::safe_VkDedicatedAllocationMemoryAllocateInfoNV(const safe_VkDedicatedAllocationMemoryAllocateInfoNV& src)
14253{
14254 sType = src.sType;
14255 pNext = src.pNext;
14256 image = src.image;
14257 buffer = src.buffer;
14258}
14259
14260safe_VkDedicatedAllocationMemoryAllocateInfoNV& safe_VkDedicatedAllocationMemoryAllocateInfoNV::operator=(const safe_VkDedicatedAllocationMemoryAllocateInfoNV& src)
14261{
14262 if (&src == this) return *this;
14263
14264
14265 sType = src.sType;
14266 pNext = src.pNext;
14267 image = src.image;
14268 buffer = src.buffer;
14269
14270 return *this;
14271}
14272
14273safe_VkDedicatedAllocationMemoryAllocateInfoNV::~safe_VkDedicatedAllocationMemoryAllocateInfoNV()
14274{
14275}
14276
14277void safe_VkDedicatedAllocationMemoryAllocateInfoNV::initialize(const VkDedicatedAllocationMemoryAllocateInfoNV* in_struct)
14278{
14279 sType = in_struct->sType;
14280 pNext = in_struct->pNext;
14281 image = in_struct->image;
14282 buffer = in_struct->buffer;
14283}
14284
14285void safe_VkDedicatedAllocationMemoryAllocateInfoNV::initialize(const safe_VkDedicatedAllocationMemoryAllocateInfoNV* src)
14286{
14287 sType = src->sType;
14288 pNext = src->pNext;
14289 image = src->image;
14290 buffer = src->buffer;
14291}
14292
14293safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT::safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT(const VkPhysicalDeviceTransformFeedbackFeaturesEXT* in_struct) :
14294 sType(in_struct->sType),
14295 pNext(in_struct->pNext),
14296 transformFeedback(in_struct->transformFeedback),
14297 geometryStreams(in_struct->geometryStreams)
14298{
14299}
14300
14301safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT::safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT()
14302{}
14303
14304safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT::safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT(const safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT& src)
14305{
14306 sType = src.sType;
14307 pNext = src.pNext;
14308 transformFeedback = src.transformFeedback;
14309 geometryStreams = src.geometryStreams;
14310}
14311
14312safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT& safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT::operator=(const safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT& src)
14313{
14314 if (&src == this) return *this;
14315
14316
14317 sType = src.sType;
14318 pNext = src.pNext;
14319 transformFeedback = src.transformFeedback;
14320 geometryStreams = src.geometryStreams;
14321
14322 return *this;
14323}
14324
14325safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT::~safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT()
14326{
14327}
14328
14329void safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT::initialize(const VkPhysicalDeviceTransformFeedbackFeaturesEXT* in_struct)
14330{
14331 sType = in_struct->sType;
14332 pNext = in_struct->pNext;
14333 transformFeedback = in_struct->transformFeedback;
14334 geometryStreams = in_struct->geometryStreams;
14335}
14336
14337void safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT::initialize(const safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT* src)
14338{
14339 sType = src->sType;
14340 pNext = src->pNext;
14341 transformFeedback = src->transformFeedback;
14342 geometryStreams = src->geometryStreams;
14343}
14344
14345safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT::safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT(const VkPhysicalDeviceTransformFeedbackPropertiesEXT* in_struct) :
14346 sType(in_struct->sType),
14347 pNext(in_struct->pNext),
14348 maxTransformFeedbackStreams(in_struct->maxTransformFeedbackStreams),
14349 maxTransformFeedbackBuffers(in_struct->maxTransformFeedbackBuffers),
14350 maxTransformFeedbackBufferSize(in_struct->maxTransformFeedbackBufferSize),
14351 maxTransformFeedbackStreamDataSize(in_struct->maxTransformFeedbackStreamDataSize),
14352 maxTransformFeedbackBufferDataSize(in_struct->maxTransformFeedbackBufferDataSize),
14353 maxTransformFeedbackBufferDataStride(in_struct->maxTransformFeedbackBufferDataStride),
14354 transformFeedbackQueries(in_struct->transformFeedbackQueries),
14355 transformFeedbackStreamsLinesTriangles(in_struct->transformFeedbackStreamsLinesTriangles),
14356 transformFeedbackRasterizationStreamSelect(in_struct->transformFeedbackRasterizationStreamSelect),
14357 transformFeedbackDraw(in_struct->transformFeedbackDraw)
14358{
14359}
14360
14361safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT::safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT()
14362{}
14363
14364safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT::safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT(const safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT& src)
14365{
14366 sType = src.sType;
14367 pNext = src.pNext;
14368 maxTransformFeedbackStreams = src.maxTransformFeedbackStreams;
14369 maxTransformFeedbackBuffers = src.maxTransformFeedbackBuffers;
14370 maxTransformFeedbackBufferSize = src.maxTransformFeedbackBufferSize;
14371 maxTransformFeedbackStreamDataSize = src.maxTransformFeedbackStreamDataSize;
14372 maxTransformFeedbackBufferDataSize = src.maxTransformFeedbackBufferDataSize;
14373 maxTransformFeedbackBufferDataStride = src.maxTransformFeedbackBufferDataStride;
14374 transformFeedbackQueries = src.transformFeedbackQueries;
14375 transformFeedbackStreamsLinesTriangles = src.transformFeedbackStreamsLinesTriangles;
14376 transformFeedbackRasterizationStreamSelect = src.transformFeedbackRasterizationStreamSelect;
14377 transformFeedbackDraw = src.transformFeedbackDraw;
14378}
14379
14380safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT& safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT::operator=(const safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT& src)
14381{
14382 if (&src == this) return *this;
14383
14384
14385 sType = src.sType;
14386 pNext = src.pNext;
14387 maxTransformFeedbackStreams = src.maxTransformFeedbackStreams;
14388 maxTransformFeedbackBuffers = src.maxTransformFeedbackBuffers;
14389 maxTransformFeedbackBufferSize = src.maxTransformFeedbackBufferSize;
14390 maxTransformFeedbackStreamDataSize = src.maxTransformFeedbackStreamDataSize;
14391 maxTransformFeedbackBufferDataSize = src.maxTransformFeedbackBufferDataSize;
14392 maxTransformFeedbackBufferDataStride = src.maxTransformFeedbackBufferDataStride;
14393 transformFeedbackQueries = src.transformFeedbackQueries;
14394 transformFeedbackStreamsLinesTriangles = src.transformFeedbackStreamsLinesTriangles;
14395 transformFeedbackRasterizationStreamSelect = src.transformFeedbackRasterizationStreamSelect;
14396 transformFeedbackDraw = src.transformFeedbackDraw;
14397
14398 return *this;
14399}
14400
14401safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT::~safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT()
14402{
14403}
14404
14405void safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT::initialize(const VkPhysicalDeviceTransformFeedbackPropertiesEXT* in_struct)
14406{
14407 sType = in_struct->sType;
14408 pNext = in_struct->pNext;
14409 maxTransformFeedbackStreams = in_struct->maxTransformFeedbackStreams;
14410 maxTransformFeedbackBuffers = in_struct->maxTransformFeedbackBuffers;
14411 maxTransformFeedbackBufferSize = in_struct->maxTransformFeedbackBufferSize;
14412 maxTransformFeedbackStreamDataSize = in_struct->maxTransformFeedbackStreamDataSize;
14413 maxTransformFeedbackBufferDataSize = in_struct->maxTransformFeedbackBufferDataSize;
14414 maxTransformFeedbackBufferDataStride = in_struct->maxTransformFeedbackBufferDataStride;
14415 transformFeedbackQueries = in_struct->transformFeedbackQueries;
14416 transformFeedbackStreamsLinesTriangles = in_struct->transformFeedbackStreamsLinesTriangles;
14417 transformFeedbackRasterizationStreamSelect = in_struct->transformFeedbackRasterizationStreamSelect;
14418 transformFeedbackDraw = in_struct->transformFeedbackDraw;
14419}
14420
14421void safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT::initialize(const safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT* src)
14422{
14423 sType = src->sType;
14424 pNext = src->pNext;
14425 maxTransformFeedbackStreams = src->maxTransformFeedbackStreams;
14426 maxTransformFeedbackBuffers = src->maxTransformFeedbackBuffers;
14427 maxTransformFeedbackBufferSize = src->maxTransformFeedbackBufferSize;
14428 maxTransformFeedbackStreamDataSize = src->maxTransformFeedbackStreamDataSize;
14429 maxTransformFeedbackBufferDataSize = src->maxTransformFeedbackBufferDataSize;
14430 maxTransformFeedbackBufferDataStride = src->maxTransformFeedbackBufferDataStride;
14431 transformFeedbackQueries = src->transformFeedbackQueries;
14432 transformFeedbackStreamsLinesTriangles = src->transformFeedbackStreamsLinesTriangles;
14433 transformFeedbackRasterizationStreamSelect = src->transformFeedbackRasterizationStreamSelect;
14434 transformFeedbackDraw = src->transformFeedbackDraw;
14435}
14436
14437safe_VkPipelineRasterizationStateStreamCreateInfoEXT::safe_VkPipelineRasterizationStateStreamCreateInfoEXT(const VkPipelineRasterizationStateStreamCreateInfoEXT* in_struct) :
14438 sType(in_struct->sType),
14439 pNext(in_struct->pNext),
14440 flags(in_struct->flags),
14441 rasterizationStream(in_struct->rasterizationStream)
14442{
14443}
14444
14445safe_VkPipelineRasterizationStateStreamCreateInfoEXT::safe_VkPipelineRasterizationStateStreamCreateInfoEXT()
14446{}
14447
14448safe_VkPipelineRasterizationStateStreamCreateInfoEXT::safe_VkPipelineRasterizationStateStreamCreateInfoEXT(const safe_VkPipelineRasterizationStateStreamCreateInfoEXT& src)
14449{
14450 sType = src.sType;
14451 pNext = src.pNext;
14452 flags = src.flags;
14453 rasterizationStream = src.rasterizationStream;
14454}
14455
14456safe_VkPipelineRasterizationStateStreamCreateInfoEXT& safe_VkPipelineRasterizationStateStreamCreateInfoEXT::operator=(const safe_VkPipelineRasterizationStateStreamCreateInfoEXT& src)
14457{
14458 if (&src == this) return *this;
14459
14460
14461 sType = src.sType;
14462 pNext = src.pNext;
14463 flags = src.flags;
14464 rasterizationStream = src.rasterizationStream;
14465
14466 return *this;
14467}
14468
14469safe_VkPipelineRasterizationStateStreamCreateInfoEXT::~safe_VkPipelineRasterizationStateStreamCreateInfoEXT()
14470{
14471}
14472
14473void safe_VkPipelineRasterizationStateStreamCreateInfoEXT::initialize(const VkPipelineRasterizationStateStreamCreateInfoEXT* in_struct)
14474{
14475 sType = in_struct->sType;
14476 pNext = in_struct->pNext;
14477 flags = in_struct->flags;
14478 rasterizationStream = in_struct->rasterizationStream;
14479}
14480
14481void safe_VkPipelineRasterizationStateStreamCreateInfoEXT::initialize(const safe_VkPipelineRasterizationStateStreamCreateInfoEXT* src)
14482{
14483 sType = src->sType;
14484 pNext = src->pNext;
14485 flags = src->flags;
14486 rasterizationStream = src->rasterizationStream;
14487}
14488
14489safe_VkImageViewHandleInfoNVX::safe_VkImageViewHandleInfoNVX(const VkImageViewHandleInfoNVX* in_struct) :
14490 sType(in_struct->sType),
14491 pNext(in_struct->pNext),
14492 imageView(in_struct->imageView),
14493 descriptorType(in_struct->descriptorType),
14494 sampler(in_struct->sampler)
14495{
14496}
14497
14498safe_VkImageViewHandleInfoNVX::safe_VkImageViewHandleInfoNVX()
14499{}
14500
14501safe_VkImageViewHandleInfoNVX::safe_VkImageViewHandleInfoNVX(const safe_VkImageViewHandleInfoNVX& src)
14502{
14503 sType = src.sType;
14504 pNext = src.pNext;
14505 imageView = src.imageView;
14506 descriptorType = src.descriptorType;
14507 sampler = src.sampler;
14508}
14509
14510safe_VkImageViewHandleInfoNVX& safe_VkImageViewHandleInfoNVX::operator=(const safe_VkImageViewHandleInfoNVX& src)
14511{
14512 if (&src == this) return *this;
14513
14514
14515 sType = src.sType;
14516 pNext = src.pNext;
14517 imageView = src.imageView;
14518 descriptorType = src.descriptorType;
14519 sampler = src.sampler;
14520
14521 return *this;
14522}
14523
14524safe_VkImageViewHandleInfoNVX::~safe_VkImageViewHandleInfoNVX()
14525{
14526}
14527
14528void safe_VkImageViewHandleInfoNVX::initialize(const VkImageViewHandleInfoNVX* in_struct)
14529{
14530 sType = in_struct->sType;
14531 pNext = in_struct->pNext;
14532 imageView = in_struct->imageView;
14533 descriptorType = in_struct->descriptorType;
14534 sampler = in_struct->sampler;
14535}
14536
14537void safe_VkImageViewHandleInfoNVX::initialize(const safe_VkImageViewHandleInfoNVX* src)
14538{
14539 sType = src->sType;
14540 pNext = src->pNext;
14541 imageView = src->imageView;
14542 descriptorType = src->descriptorType;
14543 sampler = src->sampler;
14544}
14545
14546safe_VkTextureLODGatherFormatPropertiesAMD::safe_VkTextureLODGatherFormatPropertiesAMD(const VkTextureLODGatherFormatPropertiesAMD* in_struct) :
14547 sType(in_struct->sType),
14548 pNext(in_struct->pNext),
14549 supportsTextureGatherLODBiasAMD(in_struct->supportsTextureGatherLODBiasAMD)
14550{
14551}
14552
14553safe_VkTextureLODGatherFormatPropertiesAMD::safe_VkTextureLODGatherFormatPropertiesAMD()
14554{}
14555
14556safe_VkTextureLODGatherFormatPropertiesAMD::safe_VkTextureLODGatherFormatPropertiesAMD(const safe_VkTextureLODGatherFormatPropertiesAMD& src)
14557{
14558 sType = src.sType;
14559 pNext = src.pNext;
14560 supportsTextureGatherLODBiasAMD = src.supportsTextureGatherLODBiasAMD;
14561}
14562
14563safe_VkTextureLODGatherFormatPropertiesAMD& safe_VkTextureLODGatherFormatPropertiesAMD::operator=(const safe_VkTextureLODGatherFormatPropertiesAMD& src)
14564{
14565 if (&src == this) return *this;
14566
14567
14568 sType = src.sType;
14569 pNext = src.pNext;
14570 supportsTextureGatherLODBiasAMD = src.supportsTextureGatherLODBiasAMD;
14571
14572 return *this;
14573}
14574
14575safe_VkTextureLODGatherFormatPropertiesAMD::~safe_VkTextureLODGatherFormatPropertiesAMD()
14576{
14577}
14578
14579void safe_VkTextureLODGatherFormatPropertiesAMD::initialize(const VkTextureLODGatherFormatPropertiesAMD* in_struct)
14580{
14581 sType = in_struct->sType;
14582 pNext = in_struct->pNext;
14583 supportsTextureGatherLODBiasAMD = in_struct->supportsTextureGatherLODBiasAMD;
14584}
14585
14586void safe_VkTextureLODGatherFormatPropertiesAMD::initialize(const safe_VkTextureLODGatherFormatPropertiesAMD* src)
14587{
14588 sType = src->sType;
14589 pNext = src->pNext;
14590 supportsTextureGatherLODBiasAMD = src->supportsTextureGatherLODBiasAMD;
14591}
14592#ifdef VK_USE_PLATFORM_GGP
14593
14594
14595safe_VkStreamDescriptorSurfaceCreateInfoGGP::safe_VkStreamDescriptorSurfaceCreateInfoGGP(const VkStreamDescriptorSurfaceCreateInfoGGP* in_struct) :
14596 sType(in_struct->sType),
14597 pNext(in_struct->pNext),
14598 flags(in_struct->flags),
14599 streamDescriptor(in_struct->streamDescriptor)
14600{
14601}
14602
14603safe_VkStreamDescriptorSurfaceCreateInfoGGP::safe_VkStreamDescriptorSurfaceCreateInfoGGP()
14604{}
14605
14606safe_VkStreamDescriptorSurfaceCreateInfoGGP::safe_VkStreamDescriptorSurfaceCreateInfoGGP(const safe_VkStreamDescriptorSurfaceCreateInfoGGP& src)
14607{
14608 sType = src.sType;
14609 pNext = src.pNext;
14610 flags = src.flags;
14611 streamDescriptor = src.streamDescriptor;
14612}
14613
14614safe_VkStreamDescriptorSurfaceCreateInfoGGP& safe_VkStreamDescriptorSurfaceCreateInfoGGP::operator=(const safe_VkStreamDescriptorSurfaceCreateInfoGGP& src)
14615{
14616 if (&src == this) return *this;
14617
14618
14619 sType = src.sType;
14620 pNext = src.pNext;
14621 flags = src.flags;
14622 streamDescriptor = src.streamDescriptor;
14623
14624 return *this;
14625}
14626
14627safe_VkStreamDescriptorSurfaceCreateInfoGGP::~safe_VkStreamDescriptorSurfaceCreateInfoGGP()
14628{
14629}
14630
14631void safe_VkStreamDescriptorSurfaceCreateInfoGGP::initialize(const VkStreamDescriptorSurfaceCreateInfoGGP* in_struct)
14632{
14633 sType = in_struct->sType;
14634 pNext = in_struct->pNext;
14635 flags = in_struct->flags;
14636 streamDescriptor = in_struct->streamDescriptor;
14637}
14638
14639void safe_VkStreamDescriptorSurfaceCreateInfoGGP::initialize(const safe_VkStreamDescriptorSurfaceCreateInfoGGP* src)
14640{
14641 sType = src->sType;
14642 pNext = src->pNext;
14643 flags = src->flags;
14644 streamDescriptor = src->streamDescriptor;
14645}
14646#endif // VK_USE_PLATFORM_GGP
14647
14648
14649safe_VkPhysicalDeviceCornerSampledImageFeaturesNV::safe_VkPhysicalDeviceCornerSampledImageFeaturesNV(const VkPhysicalDeviceCornerSampledImageFeaturesNV* in_struct) :
14650 sType(in_struct->sType),
14651 pNext(in_struct->pNext),
14652 cornerSampledImage(in_struct->cornerSampledImage)
14653{
14654}
14655
14656safe_VkPhysicalDeviceCornerSampledImageFeaturesNV::safe_VkPhysicalDeviceCornerSampledImageFeaturesNV()
14657{}
14658
14659safe_VkPhysicalDeviceCornerSampledImageFeaturesNV::safe_VkPhysicalDeviceCornerSampledImageFeaturesNV(const safe_VkPhysicalDeviceCornerSampledImageFeaturesNV& src)
14660{
14661 sType = src.sType;
14662 pNext = src.pNext;
14663 cornerSampledImage = src.cornerSampledImage;
14664}
14665
14666safe_VkPhysicalDeviceCornerSampledImageFeaturesNV& safe_VkPhysicalDeviceCornerSampledImageFeaturesNV::operator=(const safe_VkPhysicalDeviceCornerSampledImageFeaturesNV& src)
14667{
14668 if (&src == this) return *this;
14669
14670
14671 sType = src.sType;
14672 pNext = src.pNext;
14673 cornerSampledImage = src.cornerSampledImage;
14674
14675 return *this;
14676}
14677
14678safe_VkPhysicalDeviceCornerSampledImageFeaturesNV::~safe_VkPhysicalDeviceCornerSampledImageFeaturesNV()
14679{
14680}
14681
14682void safe_VkPhysicalDeviceCornerSampledImageFeaturesNV::initialize(const VkPhysicalDeviceCornerSampledImageFeaturesNV* in_struct)
14683{
14684 sType = in_struct->sType;
14685 pNext = in_struct->pNext;
14686 cornerSampledImage = in_struct->cornerSampledImage;
14687}
14688
14689void safe_VkPhysicalDeviceCornerSampledImageFeaturesNV::initialize(const safe_VkPhysicalDeviceCornerSampledImageFeaturesNV* src)
14690{
14691 sType = src->sType;
14692 pNext = src->pNext;
14693 cornerSampledImage = src->cornerSampledImage;
14694}
14695
14696safe_VkExternalMemoryImageCreateInfoNV::safe_VkExternalMemoryImageCreateInfoNV(const VkExternalMemoryImageCreateInfoNV* in_struct) :
14697 sType(in_struct->sType),
14698 pNext(in_struct->pNext),
14699 handleTypes(in_struct->handleTypes)
14700{
14701}
14702
14703safe_VkExternalMemoryImageCreateInfoNV::safe_VkExternalMemoryImageCreateInfoNV()
14704{}
14705
14706safe_VkExternalMemoryImageCreateInfoNV::safe_VkExternalMemoryImageCreateInfoNV(const safe_VkExternalMemoryImageCreateInfoNV& src)
14707{
14708 sType = src.sType;
14709 pNext = src.pNext;
14710 handleTypes = src.handleTypes;
14711}
14712
14713safe_VkExternalMemoryImageCreateInfoNV& safe_VkExternalMemoryImageCreateInfoNV::operator=(const safe_VkExternalMemoryImageCreateInfoNV& src)
14714{
14715 if (&src == this) return *this;
14716
14717
14718 sType = src.sType;
14719 pNext = src.pNext;
14720 handleTypes = src.handleTypes;
14721
14722 return *this;
14723}
14724
14725safe_VkExternalMemoryImageCreateInfoNV::~safe_VkExternalMemoryImageCreateInfoNV()
14726{
14727}
14728
14729void safe_VkExternalMemoryImageCreateInfoNV::initialize(const VkExternalMemoryImageCreateInfoNV* in_struct)
14730{
14731 sType = in_struct->sType;
14732 pNext = in_struct->pNext;
14733 handleTypes = in_struct->handleTypes;
14734}
14735
14736void safe_VkExternalMemoryImageCreateInfoNV::initialize(const safe_VkExternalMemoryImageCreateInfoNV* src)
14737{
14738 sType = src->sType;
14739 pNext = src->pNext;
14740 handleTypes = src->handleTypes;
14741}
14742
14743safe_VkExportMemoryAllocateInfoNV::safe_VkExportMemoryAllocateInfoNV(const VkExportMemoryAllocateInfoNV* in_struct) :
14744 sType(in_struct->sType),
14745 pNext(in_struct->pNext),
14746 handleTypes(in_struct->handleTypes)
14747{
14748}
14749
14750safe_VkExportMemoryAllocateInfoNV::safe_VkExportMemoryAllocateInfoNV()
14751{}
14752
14753safe_VkExportMemoryAllocateInfoNV::safe_VkExportMemoryAllocateInfoNV(const safe_VkExportMemoryAllocateInfoNV& src)
14754{
14755 sType = src.sType;
14756 pNext = src.pNext;
14757 handleTypes = src.handleTypes;
14758}
14759
14760safe_VkExportMemoryAllocateInfoNV& safe_VkExportMemoryAllocateInfoNV::operator=(const safe_VkExportMemoryAllocateInfoNV& src)
14761{
14762 if (&src == this) return *this;
14763
14764
14765 sType = src.sType;
14766 pNext = src.pNext;
14767 handleTypes = src.handleTypes;
14768
14769 return *this;
14770}
14771
14772safe_VkExportMemoryAllocateInfoNV::~safe_VkExportMemoryAllocateInfoNV()
14773{
14774}
14775
14776void safe_VkExportMemoryAllocateInfoNV::initialize(const VkExportMemoryAllocateInfoNV* in_struct)
14777{
14778 sType = in_struct->sType;
14779 pNext = in_struct->pNext;
14780 handleTypes = in_struct->handleTypes;
14781}
14782
14783void safe_VkExportMemoryAllocateInfoNV::initialize(const safe_VkExportMemoryAllocateInfoNV* src)
14784{
14785 sType = src->sType;
14786 pNext = src->pNext;
14787 handleTypes = src->handleTypes;
14788}
14789#ifdef VK_USE_PLATFORM_WIN32_KHR
14790
14791
14792safe_VkImportMemoryWin32HandleInfoNV::safe_VkImportMemoryWin32HandleInfoNV(const VkImportMemoryWin32HandleInfoNV* in_struct) :
14793 sType(in_struct->sType),
14794 pNext(in_struct->pNext),
14795 handleType(in_struct->handleType),
14796 handle(in_struct->handle)
14797{
14798}
14799
14800safe_VkImportMemoryWin32HandleInfoNV::safe_VkImportMemoryWin32HandleInfoNV()
14801{}
14802
14803safe_VkImportMemoryWin32HandleInfoNV::safe_VkImportMemoryWin32HandleInfoNV(const safe_VkImportMemoryWin32HandleInfoNV& src)
14804{
14805 sType = src.sType;
14806 pNext = src.pNext;
14807 handleType = src.handleType;
14808 handle = src.handle;
14809}
14810
14811safe_VkImportMemoryWin32HandleInfoNV& safe_VkImportMemoryWin32HandleInfoNV::operator=(const safe_VkImportMemoryWin32HandleInfoNV& src)
14812{
14813 if (&src == this) return *this;
14814
14815
14816 sType = src.sType;
14817 pNext = src.pNext;
14818 handleType = src.handleType;
14819 handle = src.handle;
14820
14821 return *this;
14822}
14823
14824safe_VkImportMemoryWin32HandleInfoNV::~safe_VkImportMemoryWin32HandleInfoNV()
14825{
14826}
14827
14828void safe_VkImportMemoryWin32HandleInfoNV::initialize(const VkImportMemoryWin32HandleInfoNV* in_struct)
14829{
14830 sType = in_struct->sType;
14831 pNext = in_struct->pNext;
14832 handleType = in_struct->handleType;
14833 handle = in_struct->handle;
14834}
14835
14836void safe_VkImportMemoryWin32HandleInfoNV::initialize(const safe_VkImportMemoryWin32HandleInfoNV* src)
14837{
14838 sType = src->sType;
14839 pNext = src->pNext;
14840 handleType = src->handleType;
14841 handle = src->handle;
14842}
14843#endif // VK_USE_PLATFORM_WIN32_KHR
14844
14845#ifdef VK_USE_PLATFORM_WIN32_KHR
14846
14847
14848safe_VkExportMemoryWin32HandleInfoNV::safe_VkExportMemoryWin32HandleInfoNV(const VkExportMemoryWin32HandleInfoNV* in_struct) :
14849 sType(in_struct->sType),
14850 pNext(in_struct->pNext),
14851 pAttributes(nullptr),
14852 dwAccess(in_struct->dwAccess)
14853{
14854 if (in_struct->pAttributes) {
14855 pAttributes = new SECURITY_ATTRIBUTES(*in_struct->pAttributes);
14856 }
14857}
14858
14859safe_VkExportMemoryWin32HandleInfoNV::safe_VkExportMemoryWin32HandleInfoNV() :
14860 pAttributes(nullptr)
14861{}
14862
14863safe_VkExportMemoryWin32HandleInfoNV::safe_VkExportMemoryWin32HandleInfoNV(const safe_VkExportMemoryWin32HandleInfoNV& src)
14864{
14865 sType = src.sType;
14866 pNext = src.pNext;
14867 pAttributes = nullptr;
14868 dwAccess = src.dwAccess;
14869 if (src.pAttributes) {
14870 pAttributes = new SECURITY_ATTRIBUTES(*src.pAttributes);
14871 }
14872}
14873
14874safe_VkExportMemoryWin32HandleInfoNV& safe_VkExportMemoryWin32HandleInfoNV::operator=(const safe_VkExportMemoryWin32HandleInfoNV& src)
14875{
14876 if (&src == this) return *this;
14877
14878 if (pAttributes)
14879 delete pAttributes;
14880
14881 sType = src.sType;
14882 pNext = src.pNext;
14883 pAttributes = nullptr;
14884 dwAccess = src.dwAccess;
14885 if (src.pAttributes) {
14886 pAttributes = new SECURITY_ATTRIBUTES(*src.pAttributes);
14887 }
14888
14889 return *this;
14890}
14891
14892safe_VkExportMemoryWin32HandleInfoNV::~safe_VkExportMemoryWin32HandleInfoNV()
14893{
14894 if (pAttributes)
14895 delete pAttributes;
14896}
14897
14898void safe_VkExportMemoryWin32HandleInfoNV::initialize(const VkExportMemoryWin32HandleInfoNV* in_struct)
14899{
14900 sType = in_struct->sType;
14901 pNext = in_struct->pNext;
14902 pAttributes = nullptr;
14903 dwAccess = in_struct->dwAccess;
14904 if (in_struct->pAttributes) {
14905 pAttributes = new SECURITY_ATTRIBUTES(*in_struct->pAttributes);
14906 }
14907}
14908
14909void safe_VkExportMemoryWin32HandleInfoNV::initialize(const safe_VkExportMemoryWin32HandleInfoNV* src)
14910{
14911 sType = src->sType;
14912 pNext = src->pNext;
14913 pAttributes = nullptr;
14914 dwAccess = src->dwAccess;
14915 if (src->pAttributes) {
14916 pAttributes = new SECURITY_ATTRIBUTES(*src->pAttributes);
14917 }
14918}
14919#endif // VK_USE_PLATFORM_WIN32_KHR
14920
14921#ifdef VK_USE_PLATFORM_WIN32_KHR
14922
14923
14924safe_VkWin32KeyedMutexAcquireReleaseInfoNV::safe_VkWin32KeyedMutexAcquireReleaseInfoNV(const VkWin32KeyedMutexAcquireReleaseInfoNV* in_struct) :
14925 sType(in_struct->sType),
14926 pNext(in_struct->pNext),
14927 acquireCount(in_struct->acquireCount),
14928 pAcquireSyncs(nullptr),
14929 pAcquireKeys(nullptr),
14930 pAcquireTimeoutMilliseconds(nullptr),
14931 releaseCount(in_struct->releaseCount),
14932 pReleaseSyncs(nullptr),
14933 pReleaseKeys(nullptr)
14934{
14935 if (acquireCount && in_struct->pAcquireSyncs) {
14936 pAcquireSyncs = new VkDeviceMemory[acquireCount];
14937 for (uint32_t i=0; i<acquireCount; ++i) {
14938 pAcquireSyncs[i] = in_struct->pAcquireSyncs[i];
14939 }
14940 }
14941 if (in_struct->pAcquireKeys) {
14942 pAcquireKeys = new uint64_t[in_struct->acquireCount];
14943 memcpy ((void *)pAcquireKeys, (void *)in_struct->pAcquireKeys, sizeof(uint64_t)*in_struct->acquireCount);
14944 }
14945 if (in_struct->pAcquireTimeoutMilliseconds) {
14946 pAcquireTimeoutMilliseconds = new uint32_t[in_struct->acquireCount];
14947 memcpy ((void *)pAcquireTimeoutMilliseconds, (void *)in_struct->pAcquireTimeoutMilliseconds, sizeof(uint32_t)*in_struct->acquireCount);
14948 }
14949 if (releaseCount && in_struct->pReleaseSyncs) {
14950 pReleaseSyncs = new VkDeviceMemory[releaseCount];
14951 for (uint32_t i=0; i<releaseCount; ++i) {
14952 pReleaseSyncs[i] = in_struct->pReleaseSyncs[i];
14953 }
14954 }
14955 if (in_struct->pReleaseKeys) {
14956 pReleaseKeys = new uint64_t[in_struct->releaseCount];
14957 memcpy ((void *)pReleaseKeys, (void *)in_struct->pReleaseKeys, sizeof(uint64_t)*in_struct->releaseCount);
14958 }
14959}
14960
14961safe_VkWin32KeyedMutexAcquireReleaseInfoNV::safe_VkWin32KeyedMutexAcquireReleaseInfoNV() :
14962 pAcquireSyncs(nullptr),
14963 pAcquireKeys(nullptr),
14964 pAcquireTimeoutMilliseconds(nullptr),
14965 pReleaseSyncs(nullptr),
14966 pReleaseKeys(nullptr)
14967{}
14968
14969safe_VkWin32KeyedMutexAcquireReleaseInfoNV::safe_VkWin32KeyedMutexAcquireReleaseInfoNV(const safe_VkWin32KeyedMutexAcquireReleaseInfoNV& src)
14970{
14971 sType = src.sType;
14972 pNext = src.pNext;
14973 acquireCount = src.acquireCount;
14974 pAcquireSyncs = nullptr;
14975 pAcquireKeys = nullptr;
14976 pAcquireTimeoutMilliseconds = nullptr;
14977 releaseCount = src.releaseCount;
14978 pReleaseSyncs = nullptr;
14979 pReleaseKeys = nullptr;
14980 if (acquireCount && src.pAcquireSyncs) {
14981 pAcquireSyncs = new VkDeviceMemory[acquireCount];
14982 for (uint32_t i=0; i<acquireCount; ++i) {
14983 pAcquireSyncs[i] = src.pAcquireSyncs[i];
14984 }
14985 }
14986 if (src.pAcquireKeys) {
14987 pAcquireKeys = new uint64_t[src.acquireCount];
14988 memcpy ((void *)pAcquireKeys, (void *)src.pAcquireKeys, sizeof(uint64_t)*src.acquireCount);
14989 }
14990 if (src.pAcquireTimeoutMilliseconds) {
14991 pAcquireTimeoutMilliseconds = new uint32_t[src.acquireCount];
14992 memcpy ((void *)pAcquireTimeoutMilliseconds, (void *)src.pAcquireTimeoutMilliseconds, sizeof(uint32_t)*src.acquireCount);
14993 }
14994 if (releaseCount && src.pReleaseSyncs) {
14995 pReleaseSyncs = new VkDeviceMemory[releaseCount];
14996 for (uint32_t i=0; i<releaseCount; ++i) {
14997 pReleaseSyncs[i] = src.pReleaseSyncs[i];
14998 }
14999 }
15000 if (src.pReleaseKeys) {
15001 pReleaseKeys = new uint64_t[src.releaseCount];
15002 memcpy ((void *)pReleaseKeys, (void *)src.pReleaseKeys, sizeof(uint64_t)*src.releaseCount);
15003 }
15004}
15005
15006safe_VkWin32KeyedMutexAcquireReleaseInfoNV& safe_VkWin32KeyedMutexAcquireReleaseInfoNV::operator=(const safe_VkWin32KeyedMutexAcquireReleaseInfoNV& src)
15007{
15008 if (&src == this) return *this;
15009
15010 if (pAcquireSyncs)
15011 delete[] pAcquireSyncs;
15012 if (pAcquireKeys)
15013 delete[] pAcquireKeys;
15014 if (pAcquireTimeoutMilliseconds)
15015 delete[] pAcquireTimeoutMilliseconds;
15016 if (pReleaseSyncs)
15017 delete[] pReleaseSyncs;
15018 if (pReleaseKeys)
15019 delete[] pReleaseKeys;
15020
15021 sType = src.sType;
15022 pNext = src.pNext;
15023 acquireCount = src.acquireCount;
15024 pAcquireSyncs = nullptr;
15025 pAcquireKeys = nullptr;
15026 pAcquireTimeoutMilliseconds = nullptr;
15027 releaseCount = src.releaseCount;
15028 pReleaseSyncs = nullptr;
15029 pReleaseKeys = nullptr;
15030 if (acquireCount && src.pAcquireSyncs) {
15031 pAcquireSyncs = new VkDeviceMemory[acquireCount];
15032 for (uint32_t i=0; i<acquireCount; ++i) {
15033 pAcquireSyncs[i] = src.pAcquireSyncs[i];
15034 }
15035 }
15036 if (src.pAcquireKeys) {
15037 pAcquireKeys = new uint64_t[src.acquireCount];
15038 memcpy ((void *)pAcquireKeys, (void *)src.pAcquireKeys, sizeof(uint64_t)*src.acquireCount);
15039 }
15040 if (src.pAcquireTimeoutMilliseconds) {
15041 pAcquireTimeoutMilliseconds = new uint32_t[src.acquireCount];
15042 memcpy ((void *)pAcquireTimeoutMilliseconds, (void *)src.pAcquireTimeoutMilliseconds, sizeof(uint32_t)*src.acquireCount);
15043 }
15044 if (releaseCount && src.pReleaseSyncs) {
15045 pReleaseSyncs = new VkDeviceMemory[releaseCount];
15046 for (uint32_t i=0; i<releaseCount; ++i) {
15047 pReleaseSyncs[i] = src.pReleaseSyncs[i];
15048 }
15049 }
15050 if (src.pReleaseKeys) {
15051 pReleaseKeys = new uint64_t[src.releaseCount];
15052 memcpy ((void *)pReleaseKeys, (void *)src.pReleaseKeys, sizeof(uint64_t)*src.releaseCount);
15053 }
15054
15055 return *this;
15056}
15057
15058safe_VkWin32KeyedMutexAcquireReleaseInfoNV::~safe_VkWin32KeyedMutexAcquireReleaseInfoNV()
15059{
15060 if (pAcquireSyncs)
15061 delete[] pAcquireSyncs;
15062 if (pAcquireKeys)
15063 delete[] pAcquireKeys;
15064 if (pAcquireTimeoutMilliseconds)
15065 delete[] pAcquireTimeoutMilliseconds;
15066 if (pReleaseSyncs)
15067 delete[] pReleaseSyncs;
15068 if (pReleaseKeys)
15069 delete[] pReleaseKeys;
15070}
15071
15072void safe_VkWin32KeyedMutexAcquireReleaseInfoNV::initialize(const VkWin32KeyedMutexAcquireReleaseInfoNV* in_struct)
15073{
15074 sType = in_struct->sType;
15075 pNext = in_struct->pNext;
15076 acquireCount = in_struct->acquireCount;
15077 pAcquireSyncs = nullptr;
15078 pAcquireKeys = nullptr;
15079 pAcquireTimeoutMilliseconds = nullptr;
15080 releaseCount = in_struct->releaseCount;
15081 pReleaseSyncs = nullptr;
15082 pReleaseKeys = nullptr;
15083 if (acquireCount && in_struct->pAcquireSyncs) {
15084 pAcquireSyncs = new VkDeviceMemory[acquireCount];
15085 for (uint32_t i=0; i<acquireCount; ++i) {
15086 pAcquireSyncs[i] = in_struct->pAcquireSyncs[i];
15087 }
15088 }
15089 if (in_struct->pAcquireKeys) {
15090 pAcquireKeys = new uint64_t[in_struct->acquireCount];
15091 memcpy ((void *)pAcquireKeys, (void *)in_struct->pAcquireKeys, sizeof(uint64_t)*in_struct->acquireCount);
15092 }
15093 if (in_struct->pAcquireTimeoutMilliseconds) {
15094 pAcquireTimeoutMilliseconds = new uint32_t[in_struct->acquireCount];
15095 memcpy ((void *)pAcquireTimeoutMilliseconds, (void *)in_struct->pAcquireTimeoutMilliseconds, sizeof(uint32_t)*in_struct->acquireCount);
15096 }
15097 if (releaseCount && in_struct->pReleaseSyncs) {
15098 pReleaseSyncs = new VkDeviceMemory[releaseCount];
15099 for (uint32_t i=0; i<releaseCount; ++i) {
15100 pReleaseSyncs[i] = in_struct->pReleaseSyncs[i];
15101 }
15102 }
15103 if (in_struct->pReleaseKeys) {
15104 pReleaseKeys = new uint64_t[in_struct->releaseCount];
15105 memcpy ((void *)pReleaseKeys, (void *)in_struct->pReleaseKeys, sizeof(uint64_t)*in_struct->releaseCount);
15106 }
15107}
15108
15109void safe_VkWin32KeyedMutexAcquireReleaseInfoNV::initialize(const safe_VkWin32KeyedMutexAcquireReleaseInfoNV* src)
15110{
15111 sType = src->sType;
15112 pNext = src->pNext;
15113 acquireCount = src->acquireCount;
15114 pAcquireSyncs = nullptr;
15115 pAcquireKeys = nullptr;
15116 pAcquireTimeoutMilliseconds = nullptr;
15117 releaseCount = src->releaseCount;
15118 pReleaseSyncs = nullptr;
15119 pReleaseKeys = nullptr;
15120 if (acquireCount && src->pAcquireSyncs) {
15121 pAcquireSyncs = new VkDeviceMemory[acquireCount];
15122 for (uint32_t i=0; i<acquireCount; ++i) {
15123 pAcquireSyncs[i] = src->pAcquireSyncs[i];
15124 }
15125 }
15126 if (src->pAcquireKeys) {
15127 pAcquireKeys = new uint64_t[src->acquireCount];
15128 memcpy ((void *)pAcquireKeys, (void *)src->pAcquireKeys, sizeof(uint64_t)*src->acquireCount);
15129 }
15130 if (src->pAcquireTimeoutMilliseconds) {
15131 pAcquireTimeoutMilliseconds = new uint32_t[src->acquireCount];
15132 memcpy ((void *)pAcquireTimeoutMilliseconds, (void *)src->pAcquireTimeoutMilliseconds, sizeof(uint32_t)*src->acquireCount);
15133 }
15134 if (releaseCount && src->pReleaseSyncs) {
15135 pReleaseSyncs = new VkDeviceMemory[releaseCount];
15136 for (uint32_t i=0; i<releaseCount; ++i) {
15137 pReleaseSyncs[i] = src->pReleaseSyncs[i];
15138 }
15139 }
15140 if (src->pReleaseKeys) {
15141 pReleaseKeys = new uint64_t[src->releaseCount];
15142 memcpy ((void *)pReleaseKeys, (void *)src->pReleaseKeys, sizeof(uint64_t)*src->releaseCount);
15143 }
15144}
15145#endif // VK_USE_PLATFORM_WIN32_KHR
15146
15147
15148safe_VkValidationFlagsEXT::safe_VkValidationFlagsEXT(const VkValidationFlagsEXT* in_struct) :
15149 sType(in_struct->sType),
15150 pNext(in_struct->pNext),
15151 disabledValidationCheckCount(in_struct->disabledValidationCheckCount),
15152 pDisabledValidationChecks(nullptr)
15153{
15154 if (in_struct->pDisabledValidationChecks) {
15155 pDisabledValidationChecks = new VkValidationCheckEXT[in_struct->disabledValidationCheckCount];
15156 memcpy ((void *)pDisabledValidationChecks, (void *)in_struct->pDisabledValidationChecks, sizeof(VkValidationCheckEXT)*in_struct->disabledValidationCheckCount);
15157 }
15158}
15159
15160safe_VkValidationFlagsEXT::safe_VkValidationFlagsEXT() :
15161 pDisabledValidationChecks(nullptr)
15162{}
15163
15164safe_VkValidationFlagsEXT::safe_VkValidationFlagsEXT(const safe_VkValidationFlagsEXT& src)
15165{
15166 sType = src.sType;
15167 pNext = src.pNext;
15168 disabledValidationCheckCount = src.disabledValidationCheckCount;
15169 pDisabledValidationChecks = nullptr;
15170 if (src.pDisabledValidationChecks) {
15171 pDisabledValidationChecks = new VkValidationCheckEXT[src.disabledValidationCheckCount];
15172 memcpy ((void *)pDisabledValidationChecks, (void *)src.pDisabledValidationChecks, sizeof(VkValidationCheckEXT)*src.disabledValidationCheckCount);
15173 }
15174}
15175
15176safe_VkValidationFlagsEXT& safe_VkValidationFlagsEXT::operator=(const safe_VkValidationFlagsEXT& src)
15177{
15178 if (&src == this) return *this;
15179
15180 if (pDisabledValidationChecks)
15181 delete[] pDisabledValidationChecks;
15182
15183 sType = src.sType;
15184 pNext = src.pNext;
15185 disabledValidationCheckCount = src.disabledValidationCheckCount;
15186 pDisabledValidationChecks = nullptr;
15187 if (src.pDisabledValidationChecks) {
15188 pDisabledValidationChecks = new VkValidationCheckEXT[src.disabledValidationCheckCount];
15189 memcpy ((void *)pDisabledValidationChecks, (void *)src.pDisabledValidationChecks, sizeof(VkValidationCheckEXT)*src.disabledValidationCheckCount);
15190 }
15191
15192 return *this;
15193}
15194
15195safe_VkValidationFlagsEXT::~safe_VkValidationFlagsEXT()
15196{
15197 if (pDisabledValidationChecks)
15198 delete[] pDisabledValidationChecks;
15199}
15200
15201void safe_VkValidationFlagsEXT::initialize(const VkValidationFlagsEXT* in_struct)
15202{
15203 sType = in_struct->sType;
15204 pNext = in_struct->pNext;
15205 disabledValidationCheckCount = in_struct->disabledValidationCheckCount;
15206 pDisabledValidationChecks = nullptr;
15207 if (in_struct->pDisabledValidationChecks) {
15208 pDisabledValidationChecks = new VkValidationCheckEXT[in_struct->disabledValidationCheckCount];
15209 memcpy ((void *)pDisabledValidationChecks, (void *)in_struct->pDisabledValidationChecks, sizeof(VkValidationCheckEXT)*in_struct->disabledValidationCheckCount);
15210 }
15211}
15212
15213void safe_VkValidationFlagsEXT::initialize(const safe_VkValidationFlagsEXT* src)
15214{
15215 sType = src->sType;
15216 pNext = src->pNext;
15217 disabledValidationCheckCount = src->disabledValidationCheckCount;
15218 pDisabledValidationChecks = nullptr;
15219 if (src->pDisabledValidationChecks) {
15220 pDisabledValidationChecks = new VkValidationCheckEXT[src->disabledValidationCheckCount];
15221 memcpy ((void *)pDisabledValidationChecks, (void *)src->pDisabledValidationChecks, sizeof(VkValidationCheckEXT)*src->disabledValidationCheckCount);
15222 }
15223}
15224#ifdef VK_USE_PLATFORM_VI_NN
15225
15226
15227safe_VkViSurfaceCreateInfoNN::safe_VkViSurfaceCreateInfoNN(const VkViSurfaceCreateInfoNN* in_struct) :
15228 sType(in_struct->sType),
15229 pNext(in_struct->pNext),
15230 flags(in_struct->flags),
15231 window(in_struct->window)
15232{
15233}
15234
15235safe_VkViSurfaceCreateInfoNN::safe_VkViSurfaceCreateInfoNN()
15236{}
15237
15238safe_VkViSurfaceCreateInfoNN::safe_VkViSurfaceCreateInfoNN(const safe_VkViSurfaceCreateInfoNN& src)
15239{
15240 sType = src.sType;
15241 pNext = src.pNext;
15242 flags = src.flags;
15243 window = src.window;
15244}
15245
15246safe_VkViSurfaceCreateInfoNN& safe_VkViSurfaceCreateInfoNN::operator=(const safe_VkViSurfaceCreateInfoNN& src)
15247{
15248 if (&src == this) return *this;
15249
15250
15251 sType = src.sType;
15252 pNext = src.pNext;
15253 flags = src.flags;
15254 window = src.window;
15255
15256 return *this;
15257}
15258
15259safe_VkViSurfaceCreateInfoNN::~safe_VkViSurfaceCreateInfoNN()
15260{
15261}
15262
15263void safe_VkViSurfaceCreateInfoNN::initialize(const VkViSurfaceCreateInfoNN* in_struct)
15264{
15265 sType = in_struct->sType;
15266 pNext = in_struct->pNext;
15267 flags = in_struct->flags;
15268 window = in_struct->window;
15269}
15270
15271void safe_VkViSurfaceCreateInfoNN::initialize(const safe_VkViSurfaceCreateInfoNN* src)
15272{
15273 sType = src->sType;
15274 pNext = src->pNext;
15275 flags = src->flags;
15276 window = src->window;
15277}
15278#endif // VK_USE_PLATFORM_VI_NN
15279
15280
15281safe_VkImageViewASTCDecodeModeEXT::safe_VkImageViewASTCDecodeModeEXT(const VkImageViewASTCDecodeModeEXT* in_struct) :
15282 sType(in_struct->sType),
15283 pNext(in_struct->pNext),
15284 decodeMode(in_struct->decodeMode)
15285{
15286}
15287
15288safe_VkImageViewASTCDecodeModeEXT::safe_VkImageViewASTCDecodeModeEXT()
15289{}
15290
15291safe_VkImageViewASTCDecodeModeEXT::safe_VkImageViewASTCDecodeModeEXT(const safe_VkImageViewASTCDecodeModeEXT& src)
15292{
15293 sType = src.sType;
15294 pNext = src.pNext;
15295 decodeMode = src.decodeMode;
15296}
15297
15298safe_VkImageViewASTCDecodeModeEXT& safe_VkImageViewASTCDecodeModeEXT::operator=(const safe_VkImageViewASTCDecodeModeEXT& src)
15299{
15300 if (&src == this) return *this;
15301
15302
15303 sType = src.sType;
15304 pNext = src.pNext;
15305 decodeMode = src.decodeMode;
15306
15307 return *this;
15308}
15309
15310safe_VkImageViewASTCDecodeModeEXT::~safe_VkImageViewASTCDecodeModeEXT()
15311{
15312}
15313
15314void safe_VkImageViewASTCDecodeModeEXT::initialize(const VkImageViewASTCDecodeModeEXT* in_struct)
15315{
15316 sType = in_struct->sType;
15317 pNext = in_struct->pNext;
15318 decodeMode = in_struct->decodeMode;
15319}
15320
15321void safe_VkImageViewASTCDecodeModeEXT::initialize(const safe_VkImageViewASTCDecodeModeEXT* src)
15322{
15323 sType = src->sType;
15324 pNext = src->pNext;
15325 decodeMode = src->decodeMode;
15326}
15327
15328safe_VkPhysicalDeviceASTCDecodeFeaturesEXT::safe_VkPhysicalDeviceASTCDecodeFeaturesEXT(const VkPhysicalDeviceASTCDecodeFeaturesEXT* in_struct) :
15329 sType(in_struct->sType),
15330 pNext(in_struct->pNext),
15331 decodeModeSharedExponent(in_struct->decodeModeSharedExponent)
15332{
15333}
15334
15335safe_VkPhysicalDeviceASTCDecodeFeaturesEXT::safe_VkPhysicalDeviceASTCDecodeFeaturesEXT()
15336{}
15337
15338safe_VkPhysicalDeviceASTCDecodeFeaturesEXT::safe_VkPhysicalDeviceASTCDecodeFeaturesEXT(const safe_VkPhysicalDeviceASTCDecodeFeaturesEXT& src)
15339{
15340 sType = src.sType;
15341 pNext = src.pNext;
15342 decodeModeSharedExponent = src.decodeModeSharedExponent;
15343}
15344
15345safe_VkPhysicalDeviceASTCDecodeFeaturesEXT& safe_VkPhysicalDeviceASTCDecodeFeaturesEXT::operator=(const safe_VkPhysicalDeviceASTCDecodeFeaturesEXT& src)
15346{
15347 if (&src == this) return *this;
15348
15349
15350 sType = src.sType;
15351 pNext = src.pNext;
15352 decodeModeSharedExponent = src.decodeModeSharedExponent;
15353
15354 return *this;
15355}
15356
15357safe_VkPhysicalDeviceASTCDecodeFeaturesEXT::~safe_VkPhysicalDeviceASTCDecodeFeaturesEXT()
15358{
15359}
15360
15361void safe_VkPhysicalDeviceASTCDecodeFeaturesEXT::initialize(const VkPhysicalDeviceASTCDecodeFeaturesEXT* in_struct)
15362{
15363 sType = in_struct->sType;
15364 pNext = in_struct->pNext;
15365 decodeModeSharedExponent = in_struct->decodeModeSharedExponent;
15366}
15367
15368void safe_VkPhysicalDeviceASTCDecodeFeaturesEXT::initialize(const safe_VkPhysicalDeviceASTCDecodeFeaturesEXT* src)
15369{
15370 sType = src->sType;
15371 pNext = src->pNext;
15372 decodeModeSharedExponent = src->decodeModeSharedExponent;
15373}
15374
15375safe_VkConditionalRenderingBeginInfoEXT::safe_VkConditionalRenderingBeginInfoEXT(const VkConditionalRenderingBeginInfoEXT* in_struct) :
15376 sType(in_struct->sType),
15377 pNext(in_struct->pNext),
15378 buffer(in_struct->buffer),
15379 offset(in_struct->offset),
15380 flags(in_struct->flags)
15381{
15382}
15383
15384safe_VkConditionalRenderingBeginInfoEXT::safe_VkConditionalRenderingBeginInfoEXT()
15385{}
15386
15387safe_VkConditionalRenderingBeginInfoEXT::safe_VkConditionalRenderingBeginInfoEXT(const safe_VkConditionalRenderingBeginInfoEXT& src)
15388{
15389 sType = src.sType;
15390 pNext = src.pNext;
15391 buffer = src.buffer;
15392 offset = src.offset;
15393 flags = src.flags;
15394}
15395
15396safe_VkConditionalRenderingBeginInfoEXT& safe_VkConditionalRenderingBeginInfoEXT::operator=(const safe_VkConditionalRenderingBeginInfoEXT& src)
15397{
15398 if (&src == this) return *this;
15399
15400
15401 sType = src.sType;
15402 pNext = src.pNext;
15403 buffer = src.buffer;
15404 offset = src.offset;
15405 flags = src.flags;
15406
15407 return *this;
15408}
15409
15410safe_VkConditionalRenderingBeginInfoEXT::~safe_VkConditionalRenderingBeginInfoEXT()
15411{
15412}
15413
15414void safe_VkConditionalRenderingBeginInfoEXT::initialize(const VkConditionalRenderingBeginInfoEXT* in_struct)
15415{
15416 sType = in_struct->sType;
15417 pNext = in_struct->pNext;
15418 buffer = in_struct->buffer;
15419 offset = in_struct->offset;
15420 flags = in_struct->flags;
15421}
15422
15423void safe_VkConditionalRenderingBeginInfoEXT::initialize(const safe_VkConditionalRenderingBeginInfoEXT* src)
15424{
15425 sType = src->sType;
15426 pNext = src->pNext;
15427 buffer = src->buffer;
15428 offset = src->offset;
15429 flags = src->flags;
15430}
15431
15432safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT::safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT(const VkPhysicalDeviceConditionalRenderingFeaturesEXT* in_struct) :
15433 sType(in_struct->sType),
15434 pNext(in_struct->pNext),
15435 conditionalRendering(in_struct->conditionalRendering),
15436 inheritedConditionalRendering(in_struct->inheritedConditionalRendering)
15437{
15438}
15439
15440safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT::safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT()
15441{}
15442
15443safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT::safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT(const safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT& src)
15444{
15445 sType = src.sType;
15446 pNext = src.pNext;
15447 conditionalRendering = src.conditionalRendering;
15448 inheritedConditionalRendering = src.inheritedConditionalRendering;
15449}
15450
15451safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT& safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT::operator=(const safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT& src)
15452{
15453 if (&src == this) return *this;
15454
15455
15456 sType = src.sType;
15457 pNext = src.pNext;
15458 conditionalRendering = src.conditionalRendering;
15459 inheritedConditionalRendering = src.inheritedConditionalRendering;
15460
15461 return *this;
15462}
15463
15464safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT::~safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT()
15465{
15466}
15467
15468void safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT::initialize(const VkPhysicalDeviceConditionalRenderingFeaturesEXT* in_struct)
15469{
15470 sType = in_struct->sType;
15471 pNext = in_struct->pNext;
15472 conditionalRendering = in_struct->conditionalRendering;
15473 inheritedConditionalRendering = in_struct->inheritedConditionalRendering;
15474}
15475
15476void safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT::initialize(const safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT* src)
15477{
15478 sType = src->sType;
15479 pNext = src->pNext;
15480 conditionalRendering = src->conditionalRendering;
15481 inheritedConditionalRendering = src->inheritedConditionalRendering;
15482}
15483
15484safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT::safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT(const VkCommandBufferInheritanceConditionalRenderingInfoEXT* in_struct) :
15485 sType(in_struct->sType),
15486 pNext(in_struct->pNext),
15487 conditionalRenderingEnable(in_struct->conditionalRenderingEnable)
15488{
15489}
15490
15491safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT::safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT()
15492{}
15493
15494safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT::safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT(const safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT& src)
15495{
15496 sType = src.sType;
15497 pNext = src.pNext;
15498 conditionalRenderingEnable = src.conditionalRenderingEnable;
15499}
15500
15501safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT& safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT::operator=(const safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT& src)
15502{
15503 if (&src == this) return *this;
15504
15505
15506 sType = src.sType;
15507 pNext = src.pNext;
15508 conditionalRenderingEnable = src.conditionalRenderingEnable;
15509
15510 return *this;
15511}
15512
15513safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT::~safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT()
15514{
15515}
15516
15517void safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT::initialize(const VkCommandBufferInheritanceConditionalRenderingInfoEXT* in_struct)
15518{
15519 sType = in_struct->sType;
15520 pNext = in_struct->pNext;
15521 conditionalRenderingEnable = in_struct->conditionalRenderingEnable;
15522}
15523
15524void safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT::initialize(const safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT* src)
15525{
15526 sType = src->sType;
15527 pNext = src->pNext;
15528 conditionalRenderingEnable = src->conditionalRenderingEnable;
15529}
15530
15531safe_VkDeviceGeneratedCommandsFeaturesNVX::safe_VkDeviceGeneratedCommandsFeaturesNVX(const VkDeviceGeneratedCommandsFeaturesNVX* in_struct) :
15532 sType(in_struct->sType),
15533 pNext(in_struct->pNext),
15534 computeBindingPointSupport(in_struct->computeBindingPointSupport)
15535{
15536}
15537
15538safe_VkDeviceGeneratedCommandsFeaturesNVX::safe_VkDeviceGeneratedCommandsFeaturesNVX()
15539{}
15540
15541safe_VkDeviceGeneratedCommandsFeaturesNVX::safe_VkDeviceGeneratedCommandsFeaturesNVX(const safe_VkDeviceGeneratedCommandsFeaturesNVX& src)
15542{
15543 sType = src.sType;
15544 pNext = src.pNext;
15545 computeBindingPointSupport = src.computeBindingPointSupport;
15546}
15547
15548safe_VkDeviceGeneratedCommandsFeaturesNVX& safe_VkDeviceGeneratedCommandsFeaturesNVX::operator=(const safe_VkDeviceGeneratedCommandsFeaturesNVX& src)
15549{
15550 if (&src == this) return *this;
15551
15552
15553 sType = src.sType;
15554 pNext = src.pNext;
15555 computeBindingPointSupport = src.computeBindingPointSupport;
15556
15557 return *this;
15558}
15559
15560safe_VkDeviceGeneratedCommandsFeaturesNVX::~safe_VkDeviceGeneratedCommandsFeaturesNVX()
15561{
15562}
15563
15564void safe_VkDeviceGeneratedCommandsFeaturesNVX::initialize(const VkDeviceGeneratedCommandsFeaturesNVX* in_struct)
15565{
15566 sType = in_struct->sType;
15567 pNext = in_struct->pNext;
15568 computeBindingPointSupport = in_struct->computeBindingPointSupport;
15569}
15570
15571void safe_VkDeviceGeneratedCommandsFeaturesNVX::initialize(const safe_VkDeviceGeneratedCommandsFeaturesNVX* src)
15572{
15573 sType = src->sType;
15574 pNext = src->pNext;
15575 computeBindingPointSupport = src->computeBindingPointSupport;
15576}
15577
15578safe_VkDeviceGeneratedCommandsLimitsNVX::safe_VkDeviceGeneratedCommandsLimitsNVX(const VkDeviceGeneratedCommandsLimitsNVX* in_struct) :
15579 sType(in_struct->sType),
15580 pNext(in_struct->pNext),
15581 maxIndirectCommandsLayoutTokenCount(in_struct->maxIndirectCommandsLayoutTokenCount),
15582 maxObjectEntryCounts(in_struct->maxObjectEntryCounts),
15583 minSequenceCountBufferOffsetAlignment(in_struct->minSequenceCountBufferOffsetAlignment),
15584 minSequenceIndexBufferOffsetAlignment(in_struct->minSequenceIndexBufferOffsetAlignment),
15585 minCommandsTokenBufferOffsetAlignment(in_struct->minCommandsTokenBufferOffsetAlignment)
15586{
15587}
15588
15589safe_VkDeviceGeneratedCommandsLimitsNVX::safe_VkDeviceGeneratedCommandsLimitsNVX()
15590{}
15591
15592safe_VkDeviceGeneratedCommandsLimitsNVX::safe_VkDeviceGeneratedCommandsLimitsNVX(const safe_VkDeviceGeneratedCommandsLimitsNVX& src)
15593{
15594 sType = src.sType;
15595 pNext = src.pNext;
15596 maxIndirectCommandsLayoutTokenCount = src.maxIndirectCommandsLayoutTokenCount;
15597 maxObjectEntryCounts = src.maxObjectEntryCounts;
15598 minSequenceCountBufferOffsetAlignment = src.minSequenceCountBufferOffsetAlignment;
15599 minSequenceIndexBufferOffsetAlignment = src.minSequenceIndexBufferOffsetAlignment;
15600 minCommandsTokenBufferOffsetAlignment = src.minCommandsTokenBufferOffsetAlignment;
15601}
15602
15603safe_VkDeviceGeneratedCommandsLimitsNVX& safe_VkDeviceGeneratedCommandsLimitsNVX::operator=(const safe_VkDeviceGeneratedCommandsLimitsNVX& src)
15604{
15605 if (&src == this) return *this;
15606
15607
15608 sType = src.sType;
15609 pNext = src.pNext;
15610 maxIndirectCommandsLayoutTokenCount = src.maxIndirectCommandsLayoutTokenCount;
15611 maxObjectEntryCounts = src.maxObjectEntryCounts;
15612 minSequenceCountBufferOffsetAlignment = src.minSequenceCountBufferOffsetAlignment;
15613 minSequenceIndexBufferOffsetAlignment = src.minSequenceIndexBufferOffsetAlignment;
15614 minCommandsTokenBufferOffsetAlignment = src.minCommandsTokenBufferOffsetAlignment;
15615
15616 return *this;
15617}
15618
15619safe_VkDeviceGeneratedCommandsLimitsNVX::~safe_VkDeviceGeneratedCommandsLimitsNVX()
15620{
15621}
15622
15623void safe_VkDeviceGeneratedCommandsLimitsNVX::initialize(const VkDeviceGeneratedCommandsLimitsNVX* in_struct)
15624{
15625 sType = in_struct->sType;
15626 pNext = in_struct->pNext;
15627 maxIndirectCommandsLayoutTokenCount = in_struct->maxIndirectCommandsLayoutTokenCount;
15628 maxObjectEntryCounts = in_struct->maxObjectEntryCounts;
15629 minSequenceCountBufferOffsetAlignment = in_struct->minSequenceCountBufferOffsetAlignment;
15630 minSequenceIndexBufferOffsetAlignment = in_struct->minSequenceIndexBufferOffsetAlignment;
15631 minCommandsTokenBufferOffsetAlignment = in_struct->minCommandsTokenBufferOffsetAlignment;
15632}
15633
15634void safe_VkDeviceGeneratedCommandsLimitsNVX::initialize(const safe_VkDeviceGeneratedCommandsLimitsNVX* src)
15635{
15636 sType = src->sType;
15637 pNext = src->pNext;
15638 maxIndirectCommandsLayoutTokenCount = src->maxIndirectCommandsLayoutTokenCount;
15639 maxObjectEntryCounts = src->maxObjectEntryCounts;
15640 minSequenceCountBufferOffsetAlignment = src->minSequenceCountBufferOffsetAlignment;
15641 minSequenceIndexBufferOffsetAlignment = src->minSequenceIndexBufferOffsetAlignment;
15642 minCommandsTokenBufferOffsetAlignment = src->minCommandsTokenBufferOffsetAlignment;
15643}
15644
15645safe_VkIndirectCommandsLayoutCreateInfoNVX::safe_VkIndirectCommandsLayoutCreateInfoNVX(const VkIndirectCommandsLayoutCreateInfoNVX* in_struct) :
15646 sType(in_struct->sType),
15647 pNext(in_struct->pNext),
15648 pipelineBindPoint(in_struct->pipelineBindPoint),
15649 flags(in_struct->flags),
15650 tokenCount(in_struct->tokenCount),
15651 pTokens(nullptr)
15652{
15653 if (in_struct->pTokens) {
15654 pTokens = new VkIndirectCommandsLayoutTokenNVX[in_struct->tokenCount];
15655 memcpy ((void *)pTokens, (void *)in_struct->pTokens, sizeof(VkIndirectCommandsLayoutTokenNVX)*in_struct->tokenCount);
15656 }
15657}
15658
15659safe_VkIndirectCommandsLayoutCreateInfoNVX::safe_VkIndirectCommandsLayoutCreateInfoNVX() :
15660 pTokens(nullptr)
15661{}
15662
15663safe_VkIndirectCommandsLayoutCreateInfoNVX::safe_VkIndirectCommandsLayoutCreateInfoNVX(const safe_VkIndirectCommandsLayoutCreateInfoNVX& src)
15664{
15665 sType = src.sType;
15666 pNext = src.pNext;
15667 pipelineBindPoint = src.pipelineBindPoint;
15668 flags = src.flags;
15669 tokenCount = src.tokenCount;
15670 pTokens = nullptr;
15671 if (src.pTokens) {
15672 pTokens = new VkIndirectCommandsLayoutTokenNVX[src.tokenCount];
15673 memcpy ((void *)pTokens, (void *)src.pTokens, sizeof(VkIndirectCommandsLayoutTokenNVX)*src.tokenCount);
15674 }
15675}
15676
15677safe_VkIndirectCommandsLayoutCreateInfoNVX& safe_VkIndirectCommandsLayoutCreateInfoNVX::operator=(const safe_VkIndirectCommandsLayoutCreateInfoNVX& src)
15678{
15679 if (&src == this) return *this;
15680
15681 if (pTokens)
15682 delete[] pTokens;
15683
15684 sType = src.sType;
15685 pNext = src.pNext;
15686 pipelineBindPoint = src.pipelineBindPoint;
15687 flags = src.flags;
15688 tokenCount = src.tokenCount;
15689 pTokens = nullptr;
15690 if (src.pTokens) {
15691 pTokens = new VkIndirectCommandsLayoutTokenNVX[src.tokenCount];
15692 memcpy ((void *)pTokens, (void *)src.pTokens, sizeof(VkIndirectCommandsLayoutTokenNVX)*src.tokenCount);
15693 }
15694
15695 return *this;
15696}
15697
15698safe_VkIndirectCommandsLayoutCreateInfoNVX::~safe_VkIndirectCommandsLayoutCreateInfoNVX()
15699{
15700 if (pTokens)
15701 delete[] pTokens;
15702}
15703
15704void safe_VkIndirectCommandsLayoutCreateInfoNVX::initialize(const VkIndirectCommandsLayoutCreateInfoNVX* in_struct)
15705{
15706 sType = in_struct->sType;
15707 pNext = in_struct->pNext;
15708 pipelineBindPoint = in_struct->pipelineBindPoint;
15709 flags = in_struct->flags;
15710 tokenCount = in_struct->tokenCount;
15711 pTokens = nullptr;
15712 if (in_struct->pTokens) {
15713 pTokens = new VkIndirectCommandsLayoutTokenNVX[in_struct->tokenCount];
15714 memcpy ((void *)pTokens, (void *)in_struct->pTokens, sizeof(VkIndirectCommandsLayoutTokenNVX)*in_struct->tokenCount);
15715 }
15716}
15717
15718void safe_VkIndirectCommandsLayoutCreateInfoNVX::initialize(const safe_VkIndirectCommandsLayoutCreateInfoNVX* src)
15719{
15720 sType = src->sType;
15721 pNext = src->pNext;
15722 pipelineBindPoint = src->pipelineBindPoint;
15723 flags = src->flags;
15724 tokenCount = src->tokenCount;
15725 pTokens = nullptr;
15726 if (src->pTokens) {
15727 pTokens = new VkIndirectCommandsLayoutTokenNVX[src->tokenCount];
15728 memcpy ((void *)pTokens, (void *)src->pTokens, sizeof(VkIndirectCommandsLayoutTokenNVX)*src->tokenCount);
15729 }
15730}
15731
15732safe_VkCmdProcessCommandsInfoNVX::safe_VkCmdProcessCommandsInfoNVX(const VkCmdProcessCommandsInfoNVX* in_struct) :
15733 sType(in_struct->sType),
15734 pNext(in_struct->pNext),
15735 objectTable(in_struct->objectTable),
15736 indirectCommandsLayout(in_struct->indirectCommandsLayout),
15737 indirectCommandsTokenCount(in_struct->indirectCommandsTokenCount),
15738 pIndirectCommandsTokens(nullptr),
15739 maxSequencesCount(in_struct->maxSequencesCount),
15740 targetCommandBuffer(in_struct->targetCommandBuffer),
15741 sequencesCountBuffer(in_struct->sequencesCountBuffer),
15742 sequencesCountOffset(in_struct->sequencesCountOffset),
15743 sequencesIndexBuffer(in_struct->sequencesIndexBuffer),
15744 sequencesIndexOffset(in_struct->sequencesIndexOffset)
15745{
15746 if (indirectCommandsTokenCount && in_struct->pIndirectCommandsTokens) {
15747 pIndirectCommandsTokens = new VkIndirectCommandsTokenNVX[indirectCommandsTokenCount];
15748 for (uint32_t i=0; i<indirectCommandsTokenCount; ++i) {
15749 pIndirectCommandsTokens[i] = in_struct->pIndirectCommandsTokens[i];
15750 }
15751 }
15752}
15753
15754safe_VkCmdProcessCommandsInfoNVX::safe_VkCmdProcessCommandsInfoNVX() :
15755 pIndirectCommandsTokens(nullptr)
15756{}
15757
15758safe_VkCmdProcessCommandsInfoNVX::safe_VkCmdProcessCommandsInfoNVX(const safe_VkCmdProcessCommandsInfoNVX& src)
15759{
15760 sType = src.sType;
15761 pNext = src.pNext;
15762 objectTable = src.objectTable;
15763 indirectCommandsLayout = src.indirectCommandsLayout;
15764 indirectCommandsTokenCount = src.indirectCommandsTokenCount;
15765 pIndirectCommandsTokens = nullptr;
15766 maxSequencesCount = src.maxSequencesCount;
15767 targetCommandBuffer = src.targetCommandBuffer;
15768 sequencesCountBuffer = src.sequencesCountBuffer;
15769 sequencesCountOffset = src.sequencesCountOffset;
15770 sequencesIndexBuffer = src.sequencesIndexBuffer;
15771 sequencesIndexOffset = src.sequencesIndexOffset;
15772 if (indirectCommandsTokenCount && src.pIndirectCommandsTokens) {
15773 pIndirectCommandsTokens = new VkIndirectCommandsTokenNVX[indirectCommandsTokenCount];
15774 for (uint32_t i=0; i<indirectCommandsTokenCount; ++i) {
15775 pIndirectCommandsTokens[i] = src.pIndirectCommandsTokens[i];
15776 }
15777 }
15778}
15779
15780safe_VkCmdProcessCommandsInfoNVX& safe_VkCmdProcessCommandsInfoNVX::operator=(const safe_VkCmdProcessCommandsInfoNVX& src)
15781{
15782 if (&src == this) return *this;
15783
15784 if (pIndirectCommandsTokens)
15785 delete[] pIndirectCommandsTokens;
15786
15787 sType = src.sType;
15788 pNext = src.pNext;
15789 objectTable = src.objectTable;
15790 indirectCommandsLayout = src.indirectCommandsLayout;
15791 indirectCommandsTokenCount = src.indirectCommandsTokenCount;
15792 pIndirectCommandsTokens = nullptr;
15793 maxSequencesCount = src.maxSequencesCount;
15794 targetCommandBuffer = src.targetCommandBuffer;
15795 sequencesCountBuffer = src.sequencesCountBuffer;
15796 sequencesCountOffset = src.sequencesCountOffset;
15797 sequencesIndexBuffer = src.sequencesIndexBuffer;
15798 sequencesIndexOffset = src.sequencesIndexOffset;
15799 if (indirectCommandsTokenCount && src.pIndirectCommandsTokens) {
15800 pIndirectCommandsTokens = new VkIndirectCommandsTokenNVX[indirectCommandsTokenCount];
15801 for (uint32_t i=0; i<indirectCommandsTokenCount; ++i) {
15802 pIndirectCommandsTokens[i] = src.pIndirectCommandsTokens[i];
15803 }
15804 }
15805
15806 return *this;
15807}
15808
15809safe_VkCmdProcessCommandsInfoNVX::~safe_VkCmdProcessCommandsInfoNVX()
15810{
15811 if (pIndirectCommandsTokens)
15812 delete[] pIndirectCommandsTokens;
15813}
15814
15815void safe_VkCmdProcessCommandsInfoNVX::initialize(const VkCmdProcessCommandsInfoNVX* in_struct)
15816{
15817 sType = in_struct->sType;
15818 pNext = in_struct->pNext;
15819 objectTable = in_struct->objectTable;
15820 indirectCommandsLayout = in_struct->indirectCommandsLayout;
15821 indirectCommandsTokenCount = in_struct->indirectCommandsTokenCount;
15822 pIndirectCommandsTokens = nullptr;
15823 maxSequencesCount = in_struct->maxSequencesCount;
15824 targetCommandBuffer = in_struct->targetCommandBuffer;
15825 sequencesCountBuffer = in_struct->sequencesCountBuffer;
15826 sequencesCountOffset = in_struct->sequencesCountOffset;
15827 sequencesIndexBuffer = in_struct->sequencesIndexBuffer;
15828 sequencesIndexOffset = in_struct->sequencesIndexOffset;
15829 if (indirectCommandsTokenCount && in_struct->pIndirectCommandsTokens) {
15830 pIndirectCommandsTokens = new VkIndirectCommandsTokenNVX[indirectCommandsTokenCount];
15831 for (uint32_t i=0; i<indirectCommandsTokenCount; ++i) {
15832 pIndirectCommandsTokens[i] = in_struct->pIndirectCommandsTokens[i];
15833 }
15834 }
15835}
15836
15837void safe_VkCmdProcessCommandsInfoNVX::initialize(const safe_VkCmdProcessCommandsInfoNVX* src)
15838{
15839 sType = src->sType;
15840 pNext = src->pNext;
15841 objectTable = src->objectTable;
15842 indirectCommandsLayout = src->indirectCommandsLayout;
15843 indirectCommandsTokenCount = src->indirectCommandsTokenCount;
15844 pIndirectCommandsTokens = nullptr;
15845 maxSequencesCount = src->maxSequencesCount;
15846 targetCommandBuffer = src->targetCommandBuffer;
15847 sequencesCountBuffer = src->sequencesCountBuffer;
15848 sequencesCountOffset = src->sequencesCountOffset;
15849 sequencesIndexBuffer = src->sequencesIndexBuffer;
15850 sequencesIndexOffset = src->sequencesIndexOffset;
15851 if (indirectCommandsTokenCount && src->pIndirectCommandsTokens) {
15852 pIndirectCommandsTokens = new VkIndirectCommandsTokenNVX[indirectCommandsTokenCount];
15853 for (uint32_t i=0; i<indirectCommandsTokenCount; ++i) {
15854 pIndirectCommandsTokens[i] = src->pIndirectCommandsTokens[i];
15855 }
15856 }
15857}
15858
15859safe_VkCmdReserveSpaceForCommandsInfoNVX::safe_VkCmdReserveSpaceForCommandsInfoNVX(const VkCmdReserveSpaceForCommandsInfoNVX* in_struct) :
15860 sType(in_struct->sType),
15861 pNext(in_struct->pNext),
15862 objectTable(in_struct->objectTable),
15863 indirectCommandsLayout(in_struct->indirectCommandsLayout),
15864 maxSequencesCount(in_struct->maxSequencesCount)
15865{
15866}
15867
15868safe_VkCmdReserveSpaceForCommandsInfoNVX::safe_VkCmdReserveSpaceForCommandsInfoNVX()
15869{}
15870
15871safe_VkCmdReserveSpaceForCommandsInfoNVX::safe_VkCmdReserveSpaceForCommandsInfoNVX(const safe_VkCmdReserveSpaceForCommandsInfoNVX& src)
15872{
15873 sType = src.sType;
15874 pNext = src.pNext;
15875 objectTable = src.objectTable;
15876 indirectCommandsLayout = src.indirectCommandsLayout;
15877 maxSequencesCount = src.maxSequencesCount;
15878}
15879
15880safe_VkCmdReserveSpaceForCommandsInfoNVX& safe_VkCmdReserveSpaceForCommandsInfoNVX::operator=(const safe_VkCmdReserveSpaceForCommandsInfoNVX& src)
15881{
15882 if (&src == this) return *this;
15883
15884
15885 sType = src.sType;
15886 pNext = src.pNext;
15887 objectTable = src.objectTable;
15888 indirectCommandsLayout = src.indirectCommandsLayout;
15889 maxSequencesCount = src.maxSequencesCount;
15890
15891 return *this;
15892}
15893
15894safe_VkCmdReserveSpaceForCommandsInfoNVX::~safe_VkCmdReserveSpaceForCommandsInfoNVX()
15895{
15896}
15897
15898void safe_VkCmdReserveSpaceForCommandsInfoNVX::initialize(const VkCmdReserveSpaceForCommandsInfoNVX* in_struct)
15899{
15900 sType = in_struct->sType;
15901 pNext = in_struct->pNext;
15902 objectTable = in_struct->objectTable;
15903 indirectCommandsLayout = in_struct->indirectCommandsLayout;
15904 maxSequencesCount = in_struct->maxSequencesCount;
15905}
15906
15907void safe_VkCmdReserveSpaceForCommandsInfoNVX::initialize(const safe_VkCmdReserveSpaceForCommandsInfoNVX* src)
15908{
15909 sType = src->sType;
15910 pNext = src->pNext;
15911 objectTable = src->objectTable;
15912 indirectCommandsLayout = src->indirectCommandsLayout;
15913 maxSequencesCount = src->maxSequencesCount;
15914}
15915
15916safe_VkObjectTableCreateInfoNVX::safe_VkObjectTableCreateInfoNVX(const VkObjectTableCreateInfoNVX* in_struct) :
15917 sType(in_struct->sType),
15918 pNext(in_struct->pNext),
15919 objectCount(in_struct->objectCount),
15920 pObjectEntryTypes(nullptr),
15921 pObjectEntryCounts(nullptr),
15922 pObjectEntryUsageFlags(nullptr),
15923 maxUniformBuffersPerDescriptor(in_struct->maxUniformBuffersPerDescriptor),
15924 maxStorageBuffersPerDescriptor(in_struct->maxStorageBuffersPerDescriptor),
15925 maxStorageImagesPerDescriptor(in_struct->maxStorageImagesPerDescriptor),
15926 maxSampledImagesPerDescriptor(in_struct->maxSampledImagesPerDescriptor),
15927 maxPipelineLayouts(in_struct->maxPipelineLayouts)
15928{
15929 if (in_struct->pObjectEntryTypes) {
15930 pObjectEntryTypes = new VkObjectEntryTypeNVX[in_struct->objectCount];
15931 memcpy ((void *)pObjectEntryTypes, (void *)in_struct->pObjectEntryTypes, sizeof(VkObjectEntryTypeNVX)*in_struct->objectCount);
15932 }
15933 if (in_struct->pObjectEntryCounts) {
15934 pObjectEntryCounts = new uint32_t[in_struct->objectCount];
15935 memcpy ((void *)pObjectEntryCounts, (void *)in_struct->pObjectEntryCounts, sizeof(uint32_t)*in_struct->objectCount);
15936 }
15937 if (in_struct->pObjectEntryUsageFlags) {
15938 pObjectEntryUsageFlags = new VkObjectEntryUsageFlagsNVX[in_struct->objectCount];
15939 memcpy ((void *)pObjectEntryUsageFlags, (void *)in_struct->pObjectEntryUsageFlags, sizeof(VkObjectEntryUsageFlagsNVX)*in_struct->objectCount);
15940 }
15941}
15942
15943safe_VkObjectTableCreateInfoNVX::safe_VkObjectTableCreateInfoNVX() :
15944 pObjectEntryTypes(nullptr),
15945 pObjectEntryCounts(nullptr),
15946 pObjectEntryUsageFlags(nullptr)
15947{}
15948
15949safe_VkObjectTableCreateInfoNVX::safe_VkObjectTableCreateInfoNVX(const safe_VkObjectTableCreateInfoNVX& src)
15950{
15951 sType = src.sType;
15952 pNext = src.pNext;
15953 objectCount = src.objectCount;
15954 pObjectEntryTypes = nullptr;
15955 pObjectEntryCounts = nullptr;
15956 pObjectEntryUsageFlags = nullptr;
15957 maxUniformBuffersPerDescriptor = src.maxUniformBuffersPerDescriptor;
15958 maxStorageBuffersPerDescriptor = src.maxStorageBuffersPerDescriptor;
15959 maxStorageImagesPerDescriptor = src.maxStorageImagesPerDescriptor;
15960 maxSampledImagesPerDescriptor = src.maxSampledImagesPerDescriptor;
15961 maxPipelineLayouts = src.maxPipelineLayouts;
15962 if (src.pObjectEntryTypes) {
15963 pObjectEntryTypes = new VkObjectEntryTypeNVX[src.objectCount];
15964 memcpy ((void *)pObjectEntryTypes, (void *)src.pObjectEntryTypes, sizeof(VkObjectEntryTypeNVX)*src.objectCount);
15965 }
15966 if (src.pObjectEntryCounts) {
15967 pObjectEntryCounts = new uint32_t[src.objectCount];
15968 memcpy ((void *)pObjectEntryCounts, (void *)src.pObjectEntryCounts, sizeof(uint32_t)*src.objectCount);
15969 }
15970 if (src.pObjectEntryUsageFlags) {
15971 pObjectEntryUsageFlags = new VkObjectEntryUsageFlagsNVX[src.objectCount];
15972 memcpy ((void *)pObjectEntryUsageFlags, (void *)src.pObjectEntryUsageFlags, sizeof(VkObjectEntryUsageFlagsNVX)*src.objectCount);
15973 }
15974}
15975
15976safe_VkObjectTableCreateInfoNVX& safe_VkObjectTableCreateInfoNVX::operator=(const safe_VkObjectTableCreateInfoNVX& src)
15977{
15978 if (&src == this) return *this;
15979
15980 if (pObjectEntryTypes)
15981 delete[] pObjectEntryTypes;
15982 if (pObjectEntryCounts)
15983 delete[] pObjectEntryCounts;
15984 if (pObjectEntryUsageFlags)
15985 delete[] pObjectEntryUsageFlags;
15986
15987 sType = src.sType;
15988 pNext = src.pNext;
15989 objectCount = src.objectCount;
15990 pObjectEntryTypes = nullptr;
15991 pObjectEntryCounts = nullptr;
15992 pObjectEntryUsageFlags = nullptr;
15993 maxUniformBuffersPerDescriptor = src.maxUniformBuffersPerDescriptor;
15994 maxStorageBuffersPerDescriptor = src.maxStorageBuffersPerDescriptor;
15995 maxStorageImagesPerDescriptor = src.maxStorageImagesPerDescriptor;
15996 maxSampledImagesPerDescriptor = src.maxSampledImagesPerDescriptor;
15997 maxPipelineLayouts = src.maxPipelineLayouts;
15998 if (src.pObjectEntryTypes) {
15999 pObjectEntryTypes = new VkObjectEntryTypeNVX[src.objectCount];
16000 memcpy ((void *)pObjectEntryTypes, (void *)src.pObjectEntryTypes, sizeof(VkObjectEntryTypeNVX)*src.objectCount);
16001 }
16002 if (src.pObjectEntryCounts) {
16003 pObjectEntryCounts = new uint32_t[src.objectCount];
16004 memcpy ((void *)pObjectEntryCounts, (void *)src.pObjectEntryCounts, sizeof(uint32_t)*src.objectCount);
16005 }
16006 if (src.pObjectEntryUsageFlags) {
16007 pObjectEntryUsageFlags = new VkObjectEntryUsageFlagsNVX[src.objectCount];
16008 memcpy ((void *)pObjectEntryUsageFlags, (void *)src.pObjectEntryUsageFlags, sizeof(VkObjectEntryUsageFlagsNVX)*src.objectCount);
16009 }
16010
16011 return *this;
16012}
16013
16014safe_VkObjectTableCreateInfoNVX::~safe_VkObjectTableCreateInfoNVX()
16015{
16016 if (pObjectEntryTypes)
16017 delete[] pObjectEntryTypes;
16018 if (pObjectEntryCounts)
16019 delete[] pObjectEntryCounts;
16020 if (pObjectEntryUsageFlags)
16021 delete[] pObjectEntryUsageFlags;
16022}
16023
16024void safe_VkObjectTableCreateInfoNVX::initialize(const VkObjectTableCreateInfoNVX* in_struct)
16025{
16026 sType = in_struct->sType;
16027 pNext = in_struct->pNext;
16028 objectCount = in_struct->objectCount;
16029 pObjectEntryTypes = nullptr;
16030 pObjectEntryCounts = nullptr;
16031 pObjectEntryUsageFlags = nullptr;
16032 maxUniformBuffersPerDescriptor = in_struct->maxUniformBuffersPerDescriptor;
16033 maxStorageBuffersPerDescriptor = in_struct->maxStorageBuffersPerDescriptor;
16034 maxStorageImagesPerDescriptor = in_struct->maxStorageImagesPerDescriptor;
16035 maxSampledImagesPerDescriptor = in_struct->maxSampledImagesPerDescriptor;
16036 maxPipelineLayouts = in_struct->maxPipelineLayouts;
16037 if (in_struct->pObjectEntryTypes) {
16038 pObjectEntryTypes = new VkObjectEntryTypeNVX[in_struct->objectCount];
16039 memcpy ((void *)pObjectEntryTypes, (void *)in_struct->pObjectEntryTypes, sizeof(VkObjectEntryTypeNVX)*in_struct->objectCount);
16040 }
16041 if (in_struct->pObjectEntryCounts) {
16042 pObjectEntryCounts = new uint32_t[in_struct->objectCount];
16043 memcpy ((void *)pObjectEntryCounts, (void *)in_struct->pObjectEntryCounts, sizeof(uint32_t)*in_struct->objectCount);
16044 }
16045 if (in_struct->pObjectEntryUsageFlags) {
16046 pObjectEntryUsageFlags = new VkObjectEntryUsageFlagsNVX[in_struct->objectCount];
16047 memcpy ((void *)pObjectEntryUsageFlags, (void *)in_struct->pObjectEntryUsageFlags, sizeof(VkObjectEntryUsageFlagsNVX)*in_struct->objectCount);
16048 }
16049}
16050
16051void safe_VkObjectTableCreateInfoNVX::initialize(const safe_VkObjectTableCreateInfoNVX* src)
16052{
16053 sType = src->sType;
16054 pNext = src->pNext;
16055 objectCount = src->objectCount;
16056 pObjectEntryTypes = nullptr;
16057 pObjectEntryCounts = nullptr;
16058 pObjectEntryUsageFlags = nullptr;
16059 maxUniformBuffersPerDescriptor = src->maxUniformBuffersPerDescriptor;
16060 maxStorageBuffersPerDescriptor = src->maxStorageBuffersPerDescriptor;
16061 maxStorageImagesPerDescriptor = src->maxStorageImagesPerDescriptor;
16062 maxSampledImagesPerDescriptor = src->maxSampledImagesPerDescriptor;
16063 maxPipelineLayouts = src->maxPipelineLayouts;
16064 if (src->pObjectEntryTypes) {
16065 pObjectEntryTypes = new VkObjectEntryTypeNVX[src->objectCount];
16066 memcpy ((void *)pObjectEntryTypes, (void *)src->pObjectEntryTypes, sizeof(VkObjectEntryTypeNVX)*src->objectCount);
16067 }
16068 if (src->pObjectEntryCounts) {
16069 pObjectEntryCounts = new uint32_t[src->objectCount];
16070 memcpy ((void *)pObjectEntryCounts, (void *)src->pObjectEntryCounts, sizeof(uint32_t)*src->objectCount);
16071 }
16072 if (src->pObjectEntryUsageFlags) {
16073 pObjectEntryUsageFlags = new VkObjectEntryUsageFlagsNVX[src->objectCount];
16074 memcpy ((void *)pObjectEntryUsageFlags, (void *)src->pObjectEntryUsageFlags, sizeof(VkObjectEntryUsageFlagsNVX)*src->objectCount);
16075 }
16076}
16077
16078safe_VkPipelineViewportWScalingStateCreateInfoNV::safe_VkPipelineViewportWScalingStateCreateInfoNV(const VkPipelineViewportWScalingStateCreateInfoNV* in_struct) :
16079 sType(in_struct->sType),
16080 pNext(in_struct->pNext),
16081 viewportWScalingEnable(in_struct->viewportWScalingEnable),
16082 viewportCount(in_struct->viewportCount),
16083 pViewportWScalings(nullptr)
16084{
16085 if (in_struct->pViewportWScalings) {
16086 pViewportWScalings = new VkViewportWScalingNV[in_struct->viewportCount];
16087 memcpy ((void *)pViewportWScalings, (void *)in_struct->pViewportWScalings, sizeof(VkViewportWScalingNV)*in_struct->viewportCount);
16088 }
16089}
16090
16091safe_VkPipelineViewportWScalingStateCreateInfoNV::safe_VkPipelineViewportWScalingStateCreateInfoNV() :
16092 pViewportWScalings(nullptr)
16093{}
16094
16095safe_VkPipelineViewportWScalingStateCreateInfoNV::safe_VkPipelineViewportWScalingStateCreateInfoNV(const safe_VkPipelineViewportWScalingStateCreateInfoNV& src)
16096{
16097 sType = src.sType;
16098 pNext = src.pNext;
16099 viewportWScalingEnable = src.viewportWScalingEnable;
16100 viewportCount = src.viewportCount;
16101 pViewportWScalings = nullptr;
16102 if (src.pViewportWScalings) {
16103 pViewportWScalings = new VkViewportWScalingNV[src.viewportCount];
16104 memcpy ((void *)pViewportWScalings, (void *)src.pViewportWScalings, sizeof(VkViewportWScalingNV)*src.viewportCount);
16105 }
16106}
16107
16108safe_VkPipelineViewportWScalingStateCreateInfoNV& safe_VkPipelineViewportWScalingStateCreateInfoNV::operator=(const safe_VkPipelineViewportWScalingStateCreateInfoNV& src)
16109{
16110 if (&src == this) return *this;
16111
16112 if (pViewportWScalings)
16113 delete[] pViewportWScalings;
16114
16115 sType = src.sType;
16116 pNext = src.pNext;
16117 viewportWScalingEnable = src.viewportWScalingEnable;
16118 viewportCount = src.viewportCount;
16119 pViewportWScalings = nullptr;
16120 if (src.pViewportWScalings) {
16121 pViewportWScalings = new VkViewportWScalingNV[src.viewportCount];
16122 memcpy ((void *)pViewportWScalings, (void *)src.pViewportWScalings, sizeof(VkViewportWScalingNV)*src.viewportCount);
16123 }
16124
16125 return *this;
16126}
16127
16128safe_VkPipelineViewportWScalingStateCreateInfoNV::~safe_VkPipelineViewportWScalingStateCreateInfoNV()
16129{
16130 if (pViewportWScalings)
16131 delete[] pViewportWScalings;
16132}
16133
16134void safe_VkPipelineViewportWScalingStateCreateInfoNV::initialize(const VkPipelineViewportWScalingStateCreateInfoNV* in_struct)
16135{
16136 sType = in_struct->sType;
16137 pNext = in_struct->pNext;
16138 viewportWScalingEnable = in_struct->viewportWScalingEnable;
16139 viewportCount = in_struct->viewportCount;
16140 pViewportWScalings = nullptr;
16141 if (in_struct->pViewportWScalings) {
16142 pViewportWScalings = new VkViewportWScalingNV[in_struct->viewportCount];
16143 memcpy ((void *)pViewportWScalings, (void *)in_struct->pViewportWScalings, sizeof(VkViewportWScalingNV)*in_struct->viewportCount);
16144 }
16145}
16146
16147void safe_VkPipelineViewportWScalingStateCreateInfoNV::initialize(const safe_VkPipelineViewportWScalingStateCreateInfoNV* src)
16148{
16149 sType = src->sType;
16150 pNext = src->pNext;
16151 viewportWScalingEnable = src->viewportWScalingEnable;
16152 viewportCount = src->viewportCount;
16153 pViewportWScalings = nullptr;
16154 if (src->pViewportWScalings) {
16155 pViewportWScalings = new VkViewportWScalingNV[src->viewportCount];
16156 memcpy ((void *)pViewportWScalings, (void *)src->pViewportWScalings, sizeof(VkViewportWScalingNV)*src->viewportCount);
16157 }
16158}
16159
16160safe_VkSurfaceCapabilities2EXT::safe_VkSurfaceCapabilities2EXT(const VkSurfaceCapabilities2EXT* in_struct) :
16161 sType(in_struct->sType),
16162 pNext(in_struct->pNext),
16163 minImageCount(in_struct->minImageCount),
16164 maxImageCount(in_struct->maxImageCount),
16165 currentExtent(in_struct->currentExtent),
16166 minImageExtent(in_struct->minImageExtent),
16167 maxImageExtent(in_struct->maxImageExtent),
16168 maxImageArrayLayers(in_struct->maxImageArrayLayers),
16169 supportedTransforms(in_struct->supportedTransforms),
16170 currentTransform(in_struct->currentTransform),
16171 supportedCompositeAlpha(in_struct->supportedCompositeAlpha),
16172 supportedUsageFlags(in_struct->supportedUsageFlags),
16173 supportedSurfaceCounters(in_struct->supportedSurfaceCounters)
16174{
16175}
16176
16177safe_VkSurfaceCapabilities2EXT::safe_VkSurfaceCapabilities2EXT()
16178{}
16179
16180safe_VkSurfaceCapabilities2EXT::safe_VkSurfaceCapabilities2EXT(const safe_VkSurfaceCapabilities2EXT& src)
16181{
16182 sType = src.sType;
16183 pNext = src.pNext;
16184 minImageCount = src.minImageCount;
16185 maxImageCount = src.maxImageCount;
16186 currentExtent = src.currentExtent;
16187 minImageExtent = src.minImageExtent;
16188 maxImageExtent = src.maxImageExtent;
16189 maxImageArrayLayers = src.maxImageArrayLayers;
16190 supportedTransforms = src.supportedTransforms;
16191 currentTransform = src.currentTransform;
16192 supportedCompositeAlpha = src.supportedCompositeAlpha;
16193 supportedUsageFlags = src.supportedUsageFlags;
16194 supportedSurfaceCounters = src.supportedSurfaceCounters;
16195}
16196
16197safe_VkSurfaceCapabilities2EXT& safe_VkSurfaceCapabilities2EXT::operator=(const safe_VkSurfaceCapabilities2EXT& src)
16198{
16199 if (&src == this) return *this;
16200
16201
16202 sType = src.sType;
16203 pNext = src.pNext;
16204 minImageCount = src.minImageCount;
16205 maxImageCount = src.maxImageCount;
16206 currentExtent = src.currentExtent;
16207 minImageExtent = src.minImageExtent;
16208 maxImageExtent = src.maxImageExtent;
16209 maxImageArrayLayers = src.maxImageArrayLayers;
16210 supportedTransforms = src.supportedTransforms;
16211 currentTransform = src.currentTransform;
16212 supportedCompositeAlpha = src.supportedCompositeAlpha;
16213 supportedUsageFlags = src.supportedUsageFlags;
16214 supportedSurfaceCounters = src.supportedSurfaceCounters;
16215
16216 return *this;
16217}
16218
16219safe_VkSurfaceCapabilities2EXT::~safe_VkSurfaceCapabilities2EXT()
16220{
16221}
16222
16223void safe_VkSurfaceCapabilities2EXT::initialize(const VkSurfaceCapabilities2EXT* in_struct)
16224{
16225 sType = in_struct->sType;
16226 pNext = in_struct->pNext;
16227 minImageCount = in_struct->minImageCount;
16228 maxImageCount = in_struct->maxImageCount;
16229 currentExtent = in_struct->currentExtent;
16230 minImageExtent = in_struct->minImageExtent;
16231 maxImageExtent = in_struct->maxImageExtent;
16232 maxImageArrayLayers = in_struct->maxImageArrayLayers;
16233 supportedTransforms = in_struct->supportedTransforms;
16234 currentTransform = in_struct->currentTransform;
16235 supportedCompositeAlpha = in_struct->supportedCompositeAlpha;
16236 supportedUsageFlags = in_struct->supportedUsageFlags;
16237 supportedSurfaceCounters = in_struct->supportedSurfaceCounters;
16238}
16239
16240void safe_VkSurfaceCapabilities2EXT::initialize(const safe_VkSurfaceCapabilities2EXT* src)
16241{
16242 sType = src->sType;
16243 pNext = src->pNext;
16244 minImageCount = src->minImageCount;
16245 maxImageCount = src->maxImageCount;
16246 currentExtent = src->currentExtent;
16247 minImageExtent = src->minImageExtent;
16248 maxImageExtent = src->maxImageExtent;
16249 maxImageArrayLayers = src->maxImageArrayLayers;
16250 supportedTransforms = src->supportedTransforms;
16251 currentTransform = src->currentTransform;
16252 supportedCompositeAlpha = src->supportedCompositeAlpha;
16253 supportedUsageFlags = src->supportedUsageFlags;
16254 supportedSurfaceCounters = src->supportedSurfaceCounters;
16255}
16256
16257safe_VkDisplayPowerInfoEXT::safe_VkDisplayPowerInfoEXT(const VkDisplayPowerInfoEXT* in_struct) :
16258 sType(in_struct->sType),
16259 pNext(in_struct->pNext),
16260 powerState(in_struct->powerState)
16261{
16262}
16263
16264safe_VkDisplayPowerInfoEXT::safe_VkDisplayPowerInfoEXT()
16265{}
16266
16267safe_VkDisplayPowerInfoEXT::safe_VkDisplayPowerInfoEXT(const safe_VkDisplayPowerInfoEXT& src)
16268{
16269 sType = src.sType;
16270 pNext = src.pNext;
16271 powerState = src.powerState;
16272}
16273
16274safe_VkDisplayPowerInfoEXT& safe_VkDisplayPowerInfoEXT::operator=(const safe_VkDisplayPowerInfoEXT& src)
16275{
16276 if (&src == this) return *this;
16277
16278
16279 sType = src.sType;
16280 pNext = src.pNext;
16281 powerState = src.powerState;
16282
16283 return *this;
16284}
16285
16286safe_VkDisplayPowerInfoEXT::~safe_VkDisplayPowerInfoEXT()
16287{
16288}
16289
16290void safe_VkDisplayPowerInfoEXT::initialize(const VkDisplayPowerInfoEXT* in_struct)
16291{
16292 sType = in_struct->sType;
16293 pNext = in_struct->pNext;
16294 powerState = in_struct->powerState;
16295}
16296
16297void safe_VkDisplayPowerInfoEXT::initialize(const safe_VkDisplayPowerInfoEXT* src)
16298{
16299 sType = src->sType;
16300 pNext = src->pNext;
16301 powerState = src->powerState;
16302}
16303
16304safe_VkDeviceEventInfoEXT::safe_VkDeviceEventInfoEXT(const VkDeviceEventInfoEXT* in_struct) :
16305 sType(in_struct->sType),
16306 pNext(in_struct->pNext),
16307 deviceEvent(in_struct->deviceEvent)
16308{
16309}
16310
16311safe_VkDeviceEventInfoEXT::safe_VkDeviceEventInfoEXT()
16312{}
16313
16314safe_VkDeviceEventInfoEXT::safe_VkDeviceEventInfoEXT(const safe_VkDeviceEventInfoEXT& src)
16315{
16316 sType = src.sType;
16317 pNext = src.pNext;
16318 deviceEvent = src.deviceEvent;
16319}
16320
16321safe_VkDeviceEventInfoEXT& safe_VkDeviceEventInfoEXT::operator=(const safe_VkDeviceEventInfoEXT& src)
16322{
16323 if (&src == this) return *this;
16324
16325
16326 sType = src.sType;
16327 pNext = src.pNext;
16328 deviceEvent = src.deviceEvent;
16329
16330 return *this;
16331}
16332
16333safe_VkDeviceEventInfoEXT::~safe_VkDeviceEventInfoEXT()
16334{
16335}
16336
16337void safe_VkDeviceEventInfoEXT::initialize(const VkDeviceEventInfoEXT* in_struct)
16338{
16339 sType = in_struct->sType;
16340 pNext = in_struct->pNext;
16341 deviceEvent = in_struct->deviceEvent;
16342}
16343
16344void safe_VkDeviceEventInfoEXT::initialize(const safe_VkDeviceEventInfoEXT* src)
16345{
16346 sType = src->sType;
16347 pNext = src->pNext;
16348 deviceEvent = src->deviceEvent;
16349}
16350
16351safe_VkDisplayEventInfoEXT::safe_VkDisplayEventInfoEXT(const VkDisplayEventInfoEXT* in_struct) :
16352 sType(in_struct->sType),
16353 pNext(in_struct->pNext),
16354 displayEvent(in_struct->displayEvent)
16355{
16356}
16357
16358safe_VkDisplayEventInfoEXT::safe_VkDisplayEventInfoEXT()
16359{}
16360
16361safe_VkDisplayEventInfoEXT::safe_VkDisplayEventInfoEXT(const safe_VkDisplayEventInfoEXT& src)
16362{
16363 sType = src.sType;
16364 pNext = src.pNext;
16365 displayEvent = src.displayEvent;
16366}
16367
16368safe_VkDisplayEventInfoEXT& safe_VkDisplayEventInfoEXT::operator=(const safe_VkDisplayEventInfoEXT& src)
16369{
16370 if (&src == this) return *this;
16371
16372
16373 sType = src.sType;
16374 pNext = src.pNext;
16375 displayEvent = src.displayEvent;
16376
16377 return *this;
16378}
16379
16380safe_VkDisplayEventInfoEXT::~safe_VkDisplayEventInfoEXT()
16381{
16382}
16383
16384void safe_VkDisplayEventInfoEXT::initialize(const VkDisplayEventInfoEXT* in_struct)
16385{
16386 sType = in_struct->sType;
16387 pNext = in_struct->pNext;
16388 displayEvent = in_struct->displayEvent;
16389}
16390
16391void safe_VkDisplayEventInfoEXT::initialize(const safe_VkDisplayEventInfoEXT* src)
16392{
16393 sType = src->sType;
16394 pNext = src->pNext;
16395 displayEvent = src->displayEvent;
16396}
16397
16398safe_VkSwapchainCounterCreateInfoEXT::safe_VkSwapchainCounterCreateInfoEXT(const VkSwapchainCounterCreateInfoEXT* in_struct) :
16399 sType(in_struct->sType),
16400 pNext(in_struct->pNext),
16401 surfaceCounters(in_struct->surfaceCounters)
16402{
16403}
16404
16405safe_VkSwapchainCounterCreateInfoEXT::safe_VkSwapchainCounterCreateInfoEXT()
16406{}
16407
16408safe_VkSwapchainCounterCreateInfoEXT::safe_VkSwapchainCounterCreateInfoEXT(const safe_VkSwapchainCounterCreateInfoEXT& src)
16409{
16410 sType = src.sType;
16411 pNext = src.pNext;
16412 surfaceCounters = src.surfaceCounters;
16413}
16414
16415safe_VkSwapchainCounterCreateInfoEXT& safe_VkSwapchainCounterCreateInfoEXT::operator=(const safe_VkSwapchainCounterCreateInfoEXT& src)
16416{
16417 if (&src == this) return *this;
16418
16419
16420 sType = src.sType;
16421 pNext = src.pNext;
16422 surfaceCounters = src.surfaceCounters;
16423
16424 return *this;
16425}
16426
16427safe_VkSwapchainCounterCreateInfoEXT::~safe_VkSwapchainCounterCreateInfoEXT()
16428{
16429}
16430
16431void safe_VkSwapchainCounterCreateInfoEXT::initialize(const VkSwapchainCounterCreateInfoEXT* in_struct)
16432{
16433 sType = in_struct->sType;
16434 pNext = in_struct->pNext;
16435 surfaceCounters = in_struct->surfaceCounters;
16436}
16437
16438void safe_VkSwapchainCounterCreateInfoEXT::initialize(const safe_VkSwapchainCounterCreateInfoEXT* src)
16439{
16440 sType = src->sType;
16441 pNext = src->pNext;
16442 surfaceCounters = src->surfaceCounters;
16443}
16444
16445safe_VkPresentTimesInfoGOOGLE::safe_VkPresentTimesInfoGOOGLE(const VkPresentTimesInfoGOOGLE* in_struct) :
16446 sType(in_struct->sType),
16447 pNext(in_struct->pNext),
16448 swapchainCount(in_struct->swapchainCount),
16449 pTimes(nullptr)
16450{
16451 if (in_struct->pTimes) {
16452 pTimes = new VkPresentTimeGOOGLE[in_struct->swapchainCount];
16453 memcpy ((void *)pTimes, (void *)in_struct->pTimes, sizeof(VkPresentTimeGOOGLE)*in_struct->swapchainCount);
16454 }
16455}
16456
16457safe_VkPresentTimesInfoGOOGLE::safe_VkPresentTimesInfoGOOGLE() :
16458 pTimes(nullptr)
16459{}
16460
16461safe_VkPresentTimesInfoGOOGLE::safe_VkPresentTimesInfoGOOGLE(const safe_VkPresentTimesInfoGOOGLE& src)
16462{
16463 sType = src.sType;
16464 pNext = src.pNext;
16465 swapchainCount = src.swapchainCount;
16466 pTimes = nullptr;
16467 if (src.pTimes) {
16468 pTimes = new VkPresentTimeGOOGLE[src.swapchainCount];
16469 memcpy ((void *)pTimes, (void *)src.pTimes, sizeof(VkPresentTimeGOOGLE)*src.swapchainCount);
16470 }
16471}
16472
16473safe_VkPresentTimesInfoGOOGLE& safe_VkPresentTimesInfoGOOGLE::operator=(const safe_VkPresentTimesInfoGOOGLE& src)
16474{
16475 if (&src == this) return *this;
16476
16477 if (pTimes)
16478 delete[] pTimes;
16479
16480 sType = src.sType;
16481 pNext = src.pNext;
16482 swapchainCount = src.swapchainCount;
16483 pTimes = nullptr;
16484 if (src.pTimes) {
16485 pTimes = new VkPresentTimeGOOGLE[src.swapchainCount];
16486 memcpy ((void *)pTimes, (void *)src.pTimes, sizeof(VkPresentTimeGOOGLE)*src.swapchainCount);
16487 }
16488
16489 return *this;
16490}
16491
16492safe_VkPresentTimesInfoGOOGLE::~safe_VkPresentTimesInfoGOOGLE()
16493{
16494 if (pTimes)
16495 delete[] pTimes;
16496}
16497
16498void safe_VkPresentTimesInfoGOOGLE::initialize(const VkPresentTimesInfoGOOGLE* in_struct)
16499{
16500 sType = in_struct->sType;
16501 pNext = in_struct->pNext;
16502 swapchainCount = in_struct->swapchainCount;
16503 pTimes = nullptr;
16504 if (in_struct->pTimes) {
16505 pTimes = new VkPresentTimeGOOGLE[in_struct->swapchainCount];
16506 memcpy ((void *)pTimes, (void *)in_struct->pTimes, sizeof(VkPresentTimeGOOGLE)*in_struct->swapchainCount);
16507 }
16508}
16509
16510void safe_VkPresentTimesInfoGOOGLE::initialize(const safe_VkPresentTimesInfoGOOGLE* src)
16511{
16512 sType = src->sType;
16513 pNext = src->pNext;
16514 swapchainCount = src->swapchainCount;
16515 pTimes = nullptr;
16516 if (src->pTimes) {
16517 pTimes = new VkPresentTimeGOOGLE[src->swapchainCount];
16518 memcpy ((void *)pTimes, (void *)src->pTimes, sizeof(VkPresentTimeGOOGLE)*src->swapchainCount);
16519 }
16520}
16521
16522safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX::safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX(const VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX* in_struct) :
16523 sType(in_struct->sType),
16524 pNext(in_struct->pNext),
16525 perViewPositionAllComponents(in_struct->perViewPositionAllComponents)
16526{
16527}
16528
16529safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX::safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX()
16530{}
16531
16532safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX::safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX(const safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX& src)
16533{
16534 sType = src.sType;
16535 pNext = src.pNext;
16536 perViewPositionAllComponents = src.perViewPositionAllComponents;
16537}
16538
16539safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX& safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX::operator=(const safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX& src)
16540{
16541 if (&src == this) return *this;
16542
16543
16544 sType = src.sType;
16545 pNext = src.pNext;
16546 perViewPositionAllComponents = src.perViewPositionAllComponents;
16547
16548 return *this;
16549}
16550
16551safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX::~safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX()
16552{
16553}
16554
16555void safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX::initialize(const VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX* in_struct)
16556{
16557 sType = in_struct->sType;
16558 pNext = in_struct->pNext;
16559 perViewPositionAllComponents = in_struct->perViewPositionAllComponents;
16560}
16561
16562void safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX::initialize(const safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX* src)
16563{
16564 sType = src->sType;
16565 pNext = src->pNext;
16566 perViewPositionAllComponents = src->perViewPositionAllComponents;
16567}
16568
16569safe_VkPipelineViewportSwizzleStateCreateInfoNV::safe_VkPipelineViewportSwizzleStateCreateInfoNV(const VkPipelineViewportSwizzleStateCreateInfoNV* in_struct) :
16570 sType(in_struct->sType),
16571 pNext(in_struct->pNext),
16572 flags(in_struct->flags),
16573 viewportCount(in_struct->viewportCount),
16574 pViewportSwizzles(nullptr)
16575{
16576 if (in_struct->pViewportSwizzles) {
16577 pViewportSwizzles = new VkViewportSwizzleNV[in_struct->viewportCount];
16578 memcpy ((void *)pViewportSwizzles, (void *)in_struct->pViewportSwizzles, sizeof(VkViewportSwizzleNV)*in_struct->viewportCount);
16579 }
16580}
16581
16582safe_VkPipelineViewportSwizzleStateCreateInfoNV::safe_VkPipelineViewportSwizzleStateCreateInfoNV() :
16583 pViewportSwizzles(nullptr)
16584{}
16585
16586safe_VkPipelineViewportSwizzleStateCreateInfoNV::safe_VkPipelineViewportSwizzleStateCreateInfoNV(const safe_VkPipelineViewportSwizzleStateCreateInfoNV& src)
16587{
16588 sType = src.sType;
16589 pNext = src.pNext;
16590 flags = src.flags;
16591 viewportCount = src.viewportCount;
16592 pViewportSwizzles = nullptr;
16593 if (src.pViewportSwizzles) {
16594 pViewportSwizzles = new VkViewportSwizzleNV[src.viewportCount];
16595 memcpy ((void *)pViewportSwizzles, (void *)src.pViewportSwizzles, sizeof(VkViewportSwizzleNV)*src.viewportCount);
16596 }
16597}
16598
16599safe_VkPipelineViewportSwizzleStateCreateInfoNV& safe_VkPipelineViewportSwizzleStateCreateInfoNV::operator=(const safe_VkPipelineViewportSwizzleStateCreateInfoNV& src)
16600{
16601 if (&src == this) return *this;
16602
16603 if (pViewportSwizzles)
16604 delete[] pViewportSwizzles;
16605
16606 sType = src.sType;
16607 pNext = src.pNext;
16608 flags = src.flags;
16609 viewportCount = src.viewportCount;
16610 pViewportSwizzles = nullptr;
16611 if (src.pViewportSwizzles) {
16612 pViewportSwizzles = new VkViewportSwizzleNV[src.viewportCount];
16613 memcpy ((void *)pViewportSwizzles, (void *)src.pViewportSwizzles, sizeof(VkViewportSwizzleNV)*src.viewportCount);
16614 }
16615
16616 return *this;
16617}
16618
16619safe_VkPipelineViewportSwizzleStateCreateInfoNV::~safe_VkPipelineViewportSwizzleStateCreateInfoNV()
16620{
16621 if (pViewportSwizzles)
16622 delete[] pViewportSwizzles;
16623}
16624
16625void safe_VkPipelineViewportSwizzleStateCreateInfoNV::initialize(const VkPipelineViewportSwizzleStateCreateInfoNV* in_struct)
16626{
16627 sType = in_struct->sType;
16628 pNext = in_struct->pNext;
16629 flags = in_struct->flags;
16630 viewportCount = in_struct->viewportCount;
16631 pViewportSwizzles = nullptr;
16632 if (in_struct->pViewportSwizzles) {
16633 pViewportSwizzles = new VkViewportSwizzleNV[in_struct->viewportCount];
16634 memcpy ((void *)pViewportSwizzles, (void *)in_struct->pViewportSwizzles, sizeof(VkViewportSwizzleNV)*in_struct->viewportCount);
16635 }
16636}
16637
16638void safe_VkPipelineViewportSwizzleStateCreateInfoNV::initialize(const safe_VkPipelineViewportSwizzleStateCreateInfoNV* src)
16639{
16640 sType = src->sType;
16641 pNext = src->pNext;
16642 flags = src->flags;
16643 viewportCount = src->viewportCount;
16644 pViewportSwizzles = nullptr;
16645 if (src->pViewportSwizzles) {
16646 pViewportSwizzles = new VkViewportSwizzleNV[src->viewportCount];
16647 memcpy ((void *)pViewportSwizzles, (void *)src->pViewportSwizzles, sizeof(VkViewportSwizzleNV)*src->viewportCount);
16648 }
16649}
16650
16651safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT::safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT(const VkPhysicalDeviceDiscardRectanglePropertiesEXT* in_struct) :
16652 sType(in_struct->sType),
16653 pNext(in_struct->pNext),
16654 maxDiscardRectangles(in_struct->maxDiscardRectangles)
16655{
16656}
16657
16658safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT::safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT()
16659{}
16660
16661safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT::safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT(const safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT& src)
16662{
16663 sType = src.sType;
16664 pNext = src.pNext;
16665 maxDiscardRectangles = src.maxDiscardRectangles;
16666}
16667
16668safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT& safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT::operator=(const safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT& src)
16669{
16670 if (&src == this) return *this;
16671
16672
16673 sType = src.sType;
16674 pNext = src.pNext;
16675 maxDiscardRectangles = src.maxDiscardRectangles;
16676
16677 return *this;
16678}
16679
16680safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT::~safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT()
16681{
16682}
16683
16684void safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT::initialize(const VkPhysicalDeviceDiscardRectanglePropertiesEXT* in_struct)
16685{
16686 sType = in_struct->sType;
16687 pNext = in_struct->pNext;
16688 maxDiscardRectangles = in_struct->maxDiscardRectangles;
16689}
16690
16691void safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT::initialize(const safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT* src)
16692{
16693 sType = src->sType;
16694 pNext = src->pNext;
16695 maxDiscardRectangles = src->maxDiscardRectangles;
16696}
16697
16698safe_VkPipelineDiscardRectangleStateCreateInfoEXT::safe_VkPipelineDiscardRectangleStateCreateInfoEXT(const VkPipelineDiscardRectangleStateCreateInfoEXT* in_struct) :
16699 sType(in_struct->sType),
16700 pNext(in_struct->pNext),
16701 flags(in_struct->flags),
16702 discardRectangleMode(in_struct->discardRectangleMode),
16703 discardRectangleCount(in_struct->discardRectangleCount),
16704 pDiscardRectangles(nullptr)
16705{
16706 if (in_struct->pDiscardRectangles) {
16707 pDiscardRectangles = new VkRect2D[in_struct->discardRectangleCount];
16708 memcpy ((void *)pDiscardRectangles, (void *)in_struct->pDiscardRectangles, sizeof(VkRect2D)*in_struct->discardRectangleCount);
16709 }
16710}
16711
16712safe_VkPipelineDiscardRectangleStateCreateInfoEXT::safe_VkPipelineDiscardRectangleStateCreateInfoEXT() :
16713 pDiscardRectangles(nullptr)
16714{}
16715
16716safe_VkPipelineDiscardRectangleStateCreateInfoEXT::safe_VkPipelineDiscardRectangleStateCreateInfoEXT(const safe_VkPipelineDiscardRectangleStateCreateInfoEXT& src)
16717{
16718 sType = src.sType;
16719 pNext = src.pNext;
16720 flags = src.flags;
16721 discardRectangleMode = src.discardRectangleMode;
16722 discardRectangleCount = src.discardRectangleCount;
16723 pDiscardRectangles = nullptr;
16724 if (src.pDiscardRectangles) {
16725 pDiscardRectangles = new VkRect2D[src.discardRectangleCount];
16726 memcpy ((void *)pDiscardRectangles, (void *)src.pDiscardRectangles, sizeof(VkRect2D)*src.discardRectangleCount);
16727 }
16728}
16729
16730safe_VkPipelineDiscardRectangleStateCreateInfoEXT& safe_VkPipelineDiscardRectangleStateCreateInfoEXT::operator=(const safe_VkPipelineDiscardRectangleStateCreateInfoEXT& src)
16731{
16732 if (&src == this) return *this;
16733
16734 if (pDiscardRectangles)
16735 delete[] pDiscardRectangles;
16736
16737 sType = src.sType;
16738 pNext = src.pNext;
16739 flags = src.flags;
16740 discardRectangleMode = src.discardRectangleMode;
16741 discardRectangleCount = src.discardRectangleCount;
16742 pDiscardRectangles = nullptr;
16743 if (src.pDiscardRectangles) {
16744 pDiscardRectangles = new VkRect2D[src.discardRectangleCount];
16745 memcpy ((void *)pDiscardRectangles, (void *)src.pDiscardRectangles, sizeof(VkRect2D)*src.discardRectangleCount);
16746 }
16747
16748 return *this;
16749}
16750
16751safe_VkPipelineDiscardRectangleStateCreateInfoEXT::~safe_VkPipelineDiscardRectangleStateCreateInfoEXT()
16752{
16753 if (pDiscardRectangles)
16754 delete[] pDiscardRectangles;
16755}
16756
16757void safe_VkPipelineDiscardRectangleStateCreateInfoEXT::initialize(const VkPipelineDiscardRectangleStateCreateInfoEXT* in_struct)
16758{
16759 sType = in_struct->sType;
16760 pNext = in_struct->pNext;
16761 flags = in_struct->flags;
16762 discardRectangleMode = in_struct->discardRectangleMode;
16763 discardRectangleCount = in_struct->discardRectangleCount;
16764 pDiscardRectangles = nullptr;
16765 if (in_struct->pDiscardRectangles) {
16766 pDiscardRectangles = new VkRect2D[in_struct->discardRectangleCount];
16767 memcpy ((void *)pDiscardRectangles, (void *)in_struct->pDiscardRectangles, sizeof(VkRect2D)*in_struct->discardRectangleCount);
16768 }
16769}
16770
16771void safe_VkPipelineDiscardRectangleStateCreateInfoEXT::initialize(const safe_VkPipelineDiscardRectangleStateCreateInfoEXT* src)
16772{
16773 sType = src->sType;
16774 pNext = src->pNext;
16775 flags = src->flags;
16776 discardRectangleMode = src->discardRectangleMode;
16777 discardRectangleCount = src->discardRectangleCount;
16778 pDiscardRectangles = nullptr;
16779 if (src->pDiscardRectangles) {
16780 pDiscardRectangles = new VkRect2D[src->discardRectangleCount];
16781 memcpy ((void *)pDiscardRectangles, (void *)src->pDiscardRectangles, sizeof(VkRect2D)*src->discardRectangleCount);
16782 }
16783}
16784
16785safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT::safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT(const VkPhysicalDeviceConservativeRasterizationPropertiesEXT* in_struct) :
16786 sType(in_struct->sType),
16787 pNext(in_struct->pNext),
16788 primitiveOverestimationSize(in_struct->primitiveOverestimationSize),
16789 maxExtraPrimitiveOverestimationSize(in_struct->maxExtraPrimitiveOverestimationSize),
16790 extraPrimitiveOverestimationSizeGranularity(in_struct->extraPrimitiveOverestimationSizeGranularity),
16791 primitiveUnderestimation(in_struct->primitiveUnderestimation),
16792 conservativePointAndLineRasterization(in_struct->conservativePointAndLineRasterization),
16793 degenerateTrianglesRasterized(in_struct->degenerateTrianglesRasterized),
16794 degenerateLinesRasterized(in_struct->degenerateLinesRasterized),
16795 fullyCoveredFragmentShaderInputVariable(in_struct->fullyCoveredFragmentShaderInputVariable),
16796 conservativeRasterizationPostDepthCoverage(in_struct->conservativeRasterizationPostDepthCoverage)
16797{
16798}
16799
16800safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT::safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT()
16801{}
16802
16803safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT::safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT(const safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT& src)
16804{
16805 sType = src.sType;
16806 pNext = src.pNext;
16807 primitiveOverestimationSize = src.primitiveOverestimationSize;
16808 maxExtraPrimitiveOverestimationSize = src.maxExtraPrimitiveOverestimationSize;
16809 extraPrimitiveOverestimationSizeGranularity = src.extraPrimitiveOverestimationSizeGranularity;
16810 primitiveUnderestimation = src.primitiveUnderestimation;
16811 conservativePointAndLineRasterization = src.conservativePointAndLineRasterization;
16812 degenerateTrianglesRasterized = src.degenerateTrianglesRasterized;
16813 degenerateLinesRasterized = src.degenerateLinesRasterized;
16814 fullyCoveredFragmentShaderInputVariable = src.fullyCoveredFragmentShaderInputVariable;
16815 conservativeRasterizationPostDepthCoverage = src.conservativeRasterizationPostDepthCoverage;
16816}
16817
16818safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT& safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT::operator=(const safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT& src)
16819{
16820 if (&src == this) return *this;
16821
16822
16823 sType = src.sType;
16824 pNext = src.pNext;
16825 primitiveOverestimationSize = src.primitiveOverestimationSize;
16826 maxExtraPrimitiveOverestimationSize = src.maxExtraPrimitiveOverestimationSize;
16827 extraPrimitiveOverestimationSizeGranularity = src.extraPrimitiveOverestimationSizeGranularity;
16828 primitiveUnderestimation = src.primitiveUnderestimation;
16829 conservativePointAndLineRasterization = src.conservativePointAndLineRasterization;
16830 degenerateTrianglesRasterized = src.degenerateTrianglesRasterized;
16831 degenerateLinesRasterized = src.degenerateLinesRasterized;
16832 fullyCoveredFragmentShaderInputVariable = src.fullyCoveredFragmentShaderInputVariable;
16833 conservativeRasterizationPostDepthCoverage = src.conservativeRasterizationPostDepthCoverage;
16834
16835 return *this;
16836}
16837
16838safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT::~safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT()
16839{
16840}
16841
16842void safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT::initialize(const VkPhysicalDeviceConservativeRasterizationPropertiesEXT* in_struct)
16843{
16844 sType = in_struct->sType;
16845 pNext = in_struct->pNext;
16846 primitiveOverestimationSize = in_struct->primitiveOverestimationSize;
16847 maxExtraPrimitiveOverestimationSize = in_struct->maxExtraPrimitiveOverestimationSize;
16848 extraPrimitiveOverestimationSizeGranularity = in_struct->extraPrimitiveOverestimationSizeGranularity;
16849 primitiveUnderestimation = in_struct->primitiveUnderestimation;
16850 conservativePointAndLineRasterization = in_struct->conservativePointAndLineRasterization;
16851 degenerateTrianglesRasterized = in_struct->degenerateTrianglesRasterized;
16852 degenerateLinesRasterized = in_struct->degenerateLinesRasterized;
16853 fullyCoveredFragmentShaderInputVariable = in_struct->fullyCoveredFragmentShaderInputVariable;
16854 conservativeRasterizationPostDepthCoverage = in_struct->conservativeRasterizationPostDepthCoverage;
16855}
16856
16857void safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT::initialize(const safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT* src)
16858{
16859 sType = src->sType;
16860 pNext = src->pNext;
16861 primitiveOverestimationSize = src->primitiveOverestimationSize;
16862 maxExtraPrimitiveOverestimationSize = src->maxExtraPrimitiveOverestimationSize;
16863 extraPrimitiveOverestimationSizeGranularity = src->extraPrimitiveOverestimationSizeGranularity;
16864 primitiveUnderestimation = src->primitiveUnderestimation;
16865 conservativePointAndLineRasterization = src->conservativePointAndLineRasterization;
16866 degenerateTrianglesRasterized = src->degenerateTrianglesRasterized;
16867 degenerateLinesRasterized = src->degenerateLinesRasterized;
16868 fullyCoveredFragmentShaderInputVariable = src->fullyCoveredFragmentShaderInputVariable;
16869 conservativeRasterizationPostDepthCoverage = src->conservativeRasterizationPostDepthCoverage;
16870}
16871
16872safe_VkPipelineRasterizationConservativeStateCreateInfoEXT::safe_VkPipelineRasterizationConservativeStateCreateInfoEXT(const VkPipelineRasterizationConservativeStateCreateInfoEXT* in_struct) :
16873 sType(in_struct->sType),
16874 pNext(in_struct->pNext),
16875 flags(in_struct->flags),
16876 conservativeRasterizationMode(in_struct->conservativeRasterizationMode),
16877 extraPrimitiveOverestimationSize(in_struct->extraPrimitiveOverestimationSize)
16878{
16879}
16880
16881safe_VkPipelineRasterizationConservativeStateCreateInfoEXT::safe_VkPipelineRasterizationConservativeStateCreateInfoEXT()
16882{}
16883
16884safe_VkPipelineRasterizationConservativeStateCreateInfoEXT::safe_VkPipelineRasterizationConservativeStateCreateInfoEXT(const safe_VkPipelineRasterizationConservativeStateCreateInfoEXT& src)
16885{
16886 sType = src.sType;
16887 pNext = src.pNext;
16888 flags = src.flags;
16889 conservativeRasterizationMode = src.conservativeRasterizationMode;
16890 extraPrimitiveOverestimationSize = src.extraPrimitiveOverestimationSize;
16891}
16892
16893safe_VkPipelineRasterizationConservativeStateCreateInfoEXT& safe_VkPipelineRasterizationConservativeStateCreateInfoEXT::operator=(const safe_VkPipelineRasterizationConservativeStateCreateInfoEXT& src)
16894{
16895 if (&src == this) return *this;
16896
16897
16898 sType = src.sType;
16899 pNext = src.pNext;
16900 flags = src.flags;
16901 conservativeRasterizationMode = src.conservativeRasterizationMode;
16902 extraPrimitiveOverestimationSize = src.extraPrimitiveOverestimationSize;
16903
16904 return *this;
16905}
16906
16907safe_VkPipelineRasterizationConservativeStateCreateInfoEXT::~safe_VkPipelineRasterizationConservativeStateCreateInfoEXT()
16908{
16909}
16910
16911void safe_VkPipelineRasterizationConservativeStateCreateInfoEXT::initialize(const VkPipelineRasterizationConservativeStateCreateInfoEXT* in_struct)
16912{
16913 sType = in_struct->sType;
16914 pNext = in_struct->pNext;
16915 flags = in_struct->flags;
16916 conservativeRasterizationMode = in_struct->conservativeRasterizationMode;
16917 extraPrimitiveOverestimationSize = in_struct->extraPrimitiveOverestimationSize;
16918}
16919
16920void safe_VkPipelineRasterizationConservativeStateCreateInfoEXT::initialize(const safe_VkPipelineRasterizationConservativeStateCreateInfoEXT* src)
16921{
16922 sType = src->sType;
16923 pNext = src->pNext;
16924 flags = src->flags;
16925 conservativeRasterizationMode = src->conservativeRasterizationMode;
16926 extraPrimitiveOverestimationSize = src->extraPrimitiveOverestimationSize;
16927}
16928
16929safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT::safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT(const VkPhysicalDeviceDepthClipEnableFeaturesEXT* in_struct) :
16930 sType(in_struct->sType),
16931 pNext(in_struct->pNext),
16932 depthClipEnable(in_struct->depthClipEnable)
16933{
16934}
16935
16936safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT::safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT()
16937{}
16938
16939safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT::safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT(const safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT& src)
16940{
16941 sType = src.sType;
16942 pNext = src.pNext;
16943 depthClipEnable = src.depthClipEnable;
16944}
16945
16946safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT& safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT::operator=(const safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT& src)
16947{
16948 if (&src == this) return *this;
16949
16950
16951 sType = src.sType;
16952 pNext = src.pNext;
16953 depthClipEnable = src.depthClipEnable;
16954
16955 return *this;
16956}
16957
16958safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT::~safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT()
16959{
16960}
16961
16962void safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT::initialize(const VkPhysicalDeviceDepthClipEnableFeaturesEXT* in_struct)
16963{
16964 sType = in_struct->sType;
16965 pNext = in_struct->pNext;
16966 depthClipEnable = in_struct->depthClipEnable;
16967}
16968
16969void safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT::initialize(const safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT* src)
16970{
16971 sType = src->sType;
16972 pNext = src->pNext;
16973 depthClipEnable = src->depthClipEnable;
16974}
16975
16976safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT::safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT(const VkPipelineRasterizationDepthClipStateCreateInfoEXT* in_struct) :
16977 sType(in_struct->sType),
16978 pNext(in_struct->pNext),
16979 flags(in_struct->flags),
16980 depthClipEnable(in_struct->depthClipEnable)
16981{
16982}
16983
16984safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT::safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT()
16985{}
16986
16987safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT::safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT(const safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT& src)
16988{
16989 sType = src.sType;
16990 pNext = src.pNext;
16991 flags = src.flags;
16992 depthClipEnable = src.depthClipEnable;
16993}
16994
16995safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT& safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT::operator=(const safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT& src)
16996{
16997 if (&src == this) return *this;
16998
16999
17000 sType = src.sType;
17001 pNext = src.pNext;
17002 flags = src.flags;
17003 depthClipEnable = src.depthClipEnable;
17004
17005 return *this;
17006}
17007
17008safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT::~safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT()
17009{
17010}
17011
17012void safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT::initialize(const VkPipelineRasterizationDepthClipStateCreateInfoEXT* in_struct)
17013{
17014 sType = in_struct->sType;
17015 pNext = in_struct->pNext;
17016 flags = in_struct->flags;
17017 depthClipEnable = in_struct->depthClipEnable;
17018}
17019
17020void safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT::initialize(const safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT* src)
17021{
17022 sType = src->sType;
17023 pNext = src->pNext;
17024 flags = src->flags;
17025 depthClipEnable = src->depthClipEnable;
17026}
17027
17028safe_VkHdrMetadataEXT::safe_VkHdrMetadataEXT(const VkHdrMetadataEXT* in_struct) :
17029 sType(in_struct->sType),
17030 pNext(in_struct->pNext),
17031 displayPrimaryRed(in_struct->displayPrimaryRed),
17032 displayPrimaryGreen(in_struct->displayPrimaryGreen),
17033 displayPrimaryBlue(in_struct->displayPrimaryBlue),
17034 whitePoint(in_struct->whitePoint),
17035 maxLuminance(in_struct->maxLuminance),
17036 minLuminance(in_struct->minLuminance),
17037 maxContentLightLevel(in_struct->maxContentLightLevel),
17038 maxFrameAverageLightLevel(in_struct->maxFrameAverageLightLevel)
17039{
17040}
17041
17042safe_VkHdrMetadataEXT::safe_VkHdrMetadataEXT()
17043{}
17044
17045safe_VkHdrMetadataEXT::safe_VkHdrMetadataEXT(const safe_VkHdrMetadataEXT& src)
17046{
17047 sType = src.sType;
17048 pNext = src.pNext;
17049 displayPrimaryRed = src.displayPrimaryRed;
17050 displayPrimaryGreen = src.displayPrimaryGreen;
17051 displayPrimaryBlue = src.displayPrimaryBlue;
17052 whitePoint = src.whitePoint;
17053 maxLuminance = src.maxLuminance;
17054 minLuminance = src.minLuminance;
17055 maxContentLightLevel = src.maxContentLightLevel;
17056 maxFrameAverageLightLevel = src.maxFrameAverageLightLevel;
17057}
17058
17059safe_VkHdrMetadataEXT& safe_VkHdrMetadataEXT::operator=(const safe_VkHdrMetadataEXT& src)
17060{
17061 if (&src == this) return *this;
17062
17063
17064 sType = src.sType;
17065 pNext = src.pNext;
17066 displayPrimaryRed = src.displayPrimaryRed;
17067 displayPrimaryGreen = src.displayPrimaryGreen;
17068 displayPrimaryBlue = src.displayPrimaryBlue;
17069 whitePoint = src.whitePoint;
17070 maxLuminance = src.maxLuminance;
17071 minLuminance = src.minLuminance;
17072 maxContentLightLevel = src.maxContentLightLevel;
17073 maxFrameAverageLightLevel = src.maxFrameAverageLightLevel;
17074
17075 return *this;
17076}
17077
17078safe_VkHdrMetadataEXT::~safe_VkHdrMetadataEXT()
17079{
17080}
17081
17082void safe_VkHdrMetadataEXT::initialize(const VkHdrMetadataEXT* in_struct)
17083{
17084 sType = in_struct->sType;
17085 pNext = in_struct->pNext;
17086 displayPrimaryRed = in_struct->displayPrimaryRed;
17087 displayPrimaryGreen = in_struct->displayPrimaryGreen;
17088 displayPrimaryBlue = in_struct->displayPrimaryBlue;
17089 whitePoint = in_struct->whitePoint;
17090 maxLuminance = in_struct->maxLuminance;
17091 minLuminance = in_struct->minLuminance;
17092 maxContentLightLevel = in_struct->maxContentLightLevel;
17093 maxFrameAverageLightLevel = in_struct->maxFrameAverageLightLevel;
17094}
17095
17096void safe_VkHdrMetadataEXT::initialize(const safe_VkHdrMetadataEXT* src)
17097{
17098 sType = src->sType;
17099 pNext = src->pNext;
17100 displayPrimaryRed = src->displayPrimaryRed;
17101 displayPrimaryGreen = src->displayPrimaryGreen;
17102 displayPrimaryBlue = src->displayPrimaryBlue;
17103 whitePoint = src->whitePoint;
17104 maxLuminance = src->maxLuminance;
17105 minLuminance = src->minLuminance;
17106 maxContentLightLevel = src->maxContentLightLevel;
17107 maxFrameAverageLightLevel = src->maxFrameAverageLightLevel;
17108}
17109#ifdef VK_USE_PLATFORM_IOS_MVK
17110
17111
17112safe_VkIOSSurfaceCreateInfoMVK::safe_VkIOSSurfaceCreateInfoMVK(const VkIOSSurfaceCreateInfoMVK* in_struct) :
17113 sType(in_struct->sType),
17114 pNext(in_struct->pNext),
17115 flags(in_struct->flags),
17116 pView(in_struct->pView)
17117{
17118}
17119
17120safe_VkIOSSurfaceCreateInfoMVK::safe_VkIOSSurfaceCreateInfoMVK()
17121{}
17122
17123safe_VkIOSSurfaceCreateInfoMVK::safe_VkIOSSurfaceCreateInfoMVK(const safe_VkIOSSurfaceCreateInfoMVK& src)
17124{
17125 sType = src.sType;
17126 pNext = src.pNext;
17127 flags = src.flags;
17128 pView = src.pView;
17129}
17130
17131safe_VkIOSSurfaceCreateInfoMVK& safe_VkIOSSurfaceCreateInfoMVK::operator=(const safe_VkIOSSurfaceCreateInfoMVK& src)
17132{
17133 if (&src == this) return *this;
17134
17135
17136 sType = src.sType;
17137 pNext = src.pNext;
17138 flags = src.flags;
17139 pView = src.pView;
17140
17141 return *this;
17142}
17143
17144safe_VkIOSSurfaceCreateInfoMVK::~safe_VkIOSSurfaceCreateInfoMVK()
17145{
17146}
17147
17148void safe_VkIOSSurfaceCreateInfoMVK::initialize(const VkIOSSurfaceCreateInfoMVK* in_struct)
17149{
17150 sType = in_struct->sType;
17151 pNext = in_struct->pNext;
17152 flags = in_struct->flags;
17153 pView = in_struct->pView;
17154}
17155
17156void safe_VkIOSSurfaceCreateInfoMVK::initialize(const safe_VkIOSSurfaceCreateInfoMVK* src)
17157{
17158 sType = src->sType;
17159 pNext = src->pNext;
17160 flags = src->flags;
17161 pView = src->pView;
17162}
17163#endif // VK_USE_PLATFORM_IOS_MVK
17164
17165#ifdef VK_USE_PLATFORM_MACOS_MVK
17166
17167
17168safe_VkMacOSSurfaceCreateInfoMVK::safe_VkMacOSSurfaceCreateInfoMVK(const VkMacOSSurfaceCreateInfoMVK* in_struct) :
17169 sType(in_struct->sType),
17170 pNext(in_struct->pNext),
17171 flags(in_struct->flags),
17172 pView(in_struct->pView)
17173{
17174}
17175
17176safe_VkMacOSSurfaceCreateInfoMVK::safe_VkMacOSSurfaceCreateInfoMVK()
17177{}
17178
17179safe_VkMacOSSurfaceCreateInfoMVK::safe_VkMacOSSurfaceCreateInfoMVK(const safe_VkMacOSSurfaceCreateInfoMVK& src)
17180{
17181 sType = src.sType;
17182 pNext = src.pNext;
17183 flags = src.flags;
17184 pView = src.pView;
17185}
17186
17187safe_VkMacOSSurfaceCreateInfoMVK& safe_VkMacOSSurfaceCreateInfoMVK::operator=(const safe_VkMacOSSurfaceCreateInfoMVK& src)
17188{
17189 if (&src == this) return *this;
17190
17191
17192 sType = src.sType;
17193 pNext = src.pNext;
17194 flags = src.flags;
17195 pView = src.pView;
17196
17197 return *this;
17198}
17199
17200safe_VkMacOSSurfaceCreateInfoMVK::~safe_VkMacOSSurfaceCreateInfoMVK()
17201{
17202}
17203
17204void safe_VkMacOSSurfaceCreateInfoMVK::initialize(const VkMacOSSurfaceCreateInfoMVK* in_struct)
17205{
17206 sType = in_struct->sType;
17207 pNext = in_struct->pNext;
17208 flags = in_struct->flags;
17209 pView = in_struct->pView;
17210}
17211
17212void safe_VkMacOSSurfaceCreateInfoMVK::initialize(const safe_VkMacOSSurfaceCreateInfoMVK* src)
17213{
17214 sType = src->sType;
17215 pNext = src->pNext;
17216 flags = src->flags;
17217 pView = src->pView;
17218}
17219#endif // VK_USE_PLATFORM_MACOS_MVK
17220
17221
17222safe_VkDebugUtilsObjectNameInfoEXT::safe_VkDebugUtilsObjectNameInfoEXT(const VkDebugUtilsObjectNameInfoEXT* in_struct) :
17223 sType(in_struct->sType),
17224 pNext(in_struct->pNext),
17225 objectType(in_struct->objectType),
17226 objectHandle(in_struct->objectHandle),
17227 pObjectName(in_struct->pObjectName)
17228{
17229}
17230
17231safe_VkDebugUtilsObjectNameInfoEXT::safe_VkDebugUtilsObjectNameInfoEXT()
17232{}
17233
17234safe_VkDebugUtilsObjectNameInfoEXT::safe_VkDebugUtilsObjectNameInfoEXT(const safe_VkDebugUtilsObjectNameInfoEXT& src)
17235{
17236 sType = src.sType;
17237 pNext = src.pNext;
17238 objectType = src.objectType;
17239 objectHandle = src.objectHandle;
17240 pObjectName = src.pObjectName;
17241}
17242
17243safe_VkDebugUtilsObjectNameInfoEXT& safe_VkDebugUtilsObjectNameInfoEXT::operator=(const safe_VkDebugUtilsObjectNameInfoEXT& src)
17244{
17245 if (&src == this) return *this;
17246
17247
17248 sType = src.sType;
17249 pNext = src.pNext;
17250 objectType = src.objectType;
17251 objectHandle = src.objectHandle;
17252 pObjectName = src.pObjectName;
17253
17254 return *this;
17255}
17256
17257safe_VkDebugUtilsObjectNameInfoEXT::~safe_VkDebugUtilsObjectNameInfoEXT()
17258{
17259}
17260
17261void safe_VkDebugUtilsObjectNameInfoEXT::initialize(const VkDebugUtilsObjectNameInfoEXT* in_struct)
17262{
17263 sType = in_struct->sType;
17264 pNext = in_struct->pNext;
17265 objectType = in_struct->objectType;
17266 objectHandle = in_struct->objectHandle;
17267 pObjectName = in_struct->pObjectName;
17268}
17269
17270void safe_VkDebugUtilsObjectNameInfoEXT::initialize(const safe_VkDebugUtilsObjectNameInfoEXT* src)
17271{
17272 sType = src->sType;
17273 pNext = src->pNext;
17274 objectType = src->objectType;
17275 objectHandle = src->objectHandle;
17276 pObjectName = src->pObjectName;
17277}
17278
17279safe_VkDebugUtilsObjectTagInfoEXT::safe_VkDebugUtilsObjectTagInfoEXT(const VkDebugUtilsObjectTagInfoEXT* in_struct) :
17280 sType(in_struct->sType),
17281 pNext(in_struct->pNext),
17282 objectType(in_struct->objectType),
17283 objectHandle(in_struct->objectHandle),
17284 tagName(in_struct->tagName),
17285 tagSize(in_struct->tagSize),
17286 pTag(in_struct->pTag)
17287{
17288}
17289
17290safe_VkDebugUtilsObjectTagInfoEXT::safe_VkDebugUtilsObjectTagInfoEXT()
17291{}
17292
17293safe_VkDebugUtilsObjectTagInfoEXT::safe_VkDebugUtilsObjectTagInfoEXT(const safe_VkDebugUtilsObjectTagInfoEXT& src)
17294{
17295 sType = src.sType;
17296 pNext = src.pNext;
17297 objectType = src.objectType;
17298 objectHandle = src.objectHandle;
17299 tagName = src.tagName;
17300 tagSize = src.tagSize;
17301 pTag = src.pTag;
17302}
17303
17304safe_VkDebugUtilsObjectTagInfoEXT& safe_VkDebugUtilsObjectTagInfoEXT::operator=(const safe_VkDebugUtilsObjectTagInfoEXT& src)
17305{
17306 if (&src == this) return *this;
17307
17308
17309 sType = src.sType;
17310 pNext = src.pNext;
17311 objectType = src.objectType;
17312 objectHandle = src.objectHandle;
17313 tagName = src.tagName;
17314 tagSize = src.tagSize;
17315 pTag = src.pTag;
17316
17317 return *this;
17318}
17319
17320safe_VkDebugUtilsObjectTagInfoEXT::~safe_VkDebugUtilsObjectTagInfoEXT()
17321{
17322}
17323
17324void safe_VkDebugUtilsObjectTagInfoEXT::initialize(const VkDebugUtilsObjectTagInfoEXT* in_struct)
17325{
17326 sType = in_struct->sType;
17327 pNext = in_struct->pNext;
17328 objectType = in_struct->objectType;
17329 objectHandle = in_struct->objectHandle;
17330 tagName = in_struct->tagName;
17331 tagSize = in_struct->tagSize;
17332 pTag = in_struct->pTag;
17333}
17334
17335void safe_VkDebugUtilsObjectTagInfoEXT::initialize(const safe_VkDebugUtilsObjectTagInfoEXT* src)
17336{
17337 sType = src->sType;
17338 pNext = src->pNext;
17339 objectType = src->objectType;
17340 objectHandle = src->objectHandle;
17341 tagName = src->tagName;
17342 tagSize = src->tagSize;
17343 pTag = src->pTag;
17344}
17345
17346safe_VkDebugUtilsLabelEXT::safe_VkDebugUtilsLabelEXT(const VkDebugUtilsLabelEXT* in_struct) :
17347 sType(in_struct->sType),
17348 pNext(in_struct->pNext),
17349 pLabelName(in_struct->pLabelName)
17350{
17351 for (uint32_t i=0; i<4; ++i) {
17352 color[i] = in_struct->color[i];
17353 }
17354}
17355
17356safe_VkDebugUtilsLabelEXT::safe_VkDebugUtilsLabelEXT()
17357{}
17358
17359safe_VkDebugUtilsLabelEXT::safe_VkDebugUtilsLabelEXT(const safe_VkDebugUtilsLabelEXT& src)
17360{
17361 sType = src.sType;
17362 pNext = src.pNext;
17363 pLabelName = src.pLabelName;
17364 for (uint32_t i=0; i<4; ++i) {
17365 color[i] = src.color[i];
17366 }
17367}
17368
17369safe_VkDebugUtilsLabelEXT& safe_VkDebugUtilsLabelEXT::operator=(const safe_VkDebugUtilsLabelEXT& src)
17370{
17371 if (&src == this) return *this;
17372
17373
17374 sType = src.sType;
17375 pNext = src.pNext;
17376 pLabelName = src.pLabelName;
17377 for (uint32_t i=0; i<4; ++i) {
17378 color[i] = src.color[i];
17379 }
17380
17381 return *this;
17382}
17383
17384safe_VkDebugUtilsLabelEXT::~safe_VkDebugUtilsLabelEXT()
17385{
17386}
17387
17388void safe_VkDebugUtilsLabelEXT::initialize(const VkDebugUtilsLabelEXT* in_struct)
17389{
17390 sType = in_struct->sType;
17391 pNext = in_struct->pNext;
17392 pLabelName = in_struct->pLabelName;
17393 for (uint32_t i=0; i<4; ++i) {
17394 color[i] = in_struct->color[i];
17395 }
17396}
17397
17398void safe_VkDebugUtilsLabelEXT::initialize(const safe_VkDebugUtilsLabelEXT* src)
17399{
17400 sType = src->sType;
17401 pNext = src->pNext;
17402 pLabelName = src->pLabelName;
17403 for (uint32_t i=0; i<4; ++i) {
17404 color[i] = src->color[i];
17405 }
17406}
17407
17408safe_VkDebugUtilsMessengerCallbackDataEXT::safe_VkDebugUtilsMessengerCallbackDataEXT(const VkDebugUtilsMessengerCallbackDataEXT* in_struct) :
17409 sType(in_struct->sType),
17410 pNext(in_struct->pNext),
17411 flags(in_struct->flags),
17412 pMessageIdName(in_struct->pMessageIdName),
17413 messageIdNumber(in_struct->messageIdNumber),
17414 pMessage(in_struct->pMessage),
17415 queueLabelCount(in_struct->queueLabelCount),
17416 pQueueLabels(nullptr),
17417 cmdBufLabelCount(in_struct->cmdBufLabelCount),
17418 pCmdBufLabels(nullptr),
17419 objectCount(in_struct->objectCount),
17420 pObjects(nullptr)
17421{
17422 if (queueLabelCount && in_struct->pQueueLabels) {
17423 pQueueLabels = new safe_VkDebugUtilsLabelEXT[queueLabelCount];
17424 for (uint32_t i=0; i<queueLabelCount; ++i) {
17425 pQueueLabels[i].initialize(&in_struct->pQueueLabels[i]);
17426 }
17427 }
17428 if (cmdBufLabelCount && in_struct->pCmdBufLabels) {
17429 pCmdBufLabels = new safe_VkDebugUtilsLabelEXT[cmdBufLabelCount];
17430 for (uint32_t i=0; i<cmdBufLabelCount; ++i) {
17431 pCmdBufLabels[i].initialize(&in_struct->pCmdBufLabels[i]);
17432 }
17433 }
17434 if (objectCount && in_struct->pObjects) {
17435 pObjects = new safe_VkDebugUtilsObjectNameInfoEXT[objectCount];
17436 for (uint32_t i=0; i<objectCount; ++i) {
17437 pObjects[i].initialize(&in_struct->pObjects[i]);
17438 }
17439 }
17440}
17441
17442safe_VkDebugUtilsMessengerCallbackDataEXT::safe_VkDebugUtilsMessengerCallbackDataEXT() :
17443 pQueueLabels(nullptr),
17444 pCmdBufLabels(nullptr),
17445 pObjects(nullptr)
17446{}
17447
17448safe_VkDebugUtilsMessengerCallbackDataEXT::safe_VkDebugUtilsMessengerCallbackDataEXT(const safe_VkDebugUtilsMessengerCallbackDataEXT& src)
17449{
17450 sType = src.sType;
17451 pNext = src.pNext;
17452 flags = src.flags;
17453 pMessageIdName = src.pMessageIdName;
17454 messageIdNumber = src.messageIdNumber;
17455 pMessage = src.pMessage;
17456 queueLabelCount = src.queueLabelCount;
17457 pQueueLabels = nullptr;
17458 cmdBufLabelCount = src.cmdBufLabelCount;
17459 pCmdBufLabels = nullptr;
17460 objectCount = src.objectCount;
17461 pObjects = nullptr;
17462 if (queueLabelCount && src.pQueueLabels) {
17463 pQueueLabels = new safe_VkDebugUtilsLabelEXT[queueLabelCount];
17464 for (uint32_t i=0; i<queueLabelCount; ++i) {
17465 pQueueLabels[i].initialize(&src.pQueueLabels[i]);
17466 }
17467 }
17468 if (cmdBufLabelCount && src.pCmdBufLabels) {
17469 pCmdBufLabels = new safe_VkDebugUtilsLabelEXT[cmdBufLabelCount];
17470 for (uint32_t i=0; i<cmdBufLabelCount; ++i) {
17471 pCmdBufLabels[i].initialize(&src.pCmdBufLabels[i]);
17472 }
17473 }
17474 if (objectCount && src.pObjects) {
17475 pObjects = new safe_VkDebugUtilsObjectNameInfoEXT[objectCount];
17476 for (uint32_t i=0; i<objectCount; ++i) {
17477 pObjects[i].initialize(&src.pObjects[i]);
17478 }
17479 }
17480}
17481
17482safe_VkDebugUtilsMessengerCallbackDataEXT& safe_VkDebugUtilsMessengerCallbackDataEXT::operator=(const safe_VkDebugUtilsMessengerCallbackDataEXT& src)
17483{
17484 if (&src == this) return *this;
17485
17486 if (pQueueLabels)
17487 delete[] pQueueLabels;
17488 if (pCmdBufLabels)
17489 delete[] pCmdBufLabels;
17490 if (pObjects)
17491 delete[] pObjects;
17492
17493 sType = src.sType;
17494 pNext = src.pNext;
17495 flags = src.flags;
17496 pMessageIdName = src.pMessageIdName;
17497 messageIdNumber = src.messageIdNumber;
17498 pMessage = src.pMessage;
17499 queueLabelCount = src.queueLabelCount;
17500 pQueueLabels = nullptr;
17501 cmdBufLabelCount = src.cmdBufLabelCount;
17502 pCmdBufLabels = nullptr;
17503 objectCount = src.objectCount;
17504 pObjects = nullptr;
17505 if (queueLabelCount && src.pQueueLabels) {
17506 pQueueLabels = new safe_VkDebugUtilsLabelEXT[queueLabelCount];
17507 for (uint32_t i=0; i<queueLabelCount; ++i) {
17508 pQueueLabels[i].initialize(&src.pQueueLabels[i]);
17509 }
17510 }
17511 if (cmdBufLabelCount && src.pCmdBufLabels) {
17512 pCmdBufLabels = new safe_VkDebugUtilsLabelEXT[cmdBufLabelCount];
17513 for (uint32_t i=0; i<cmdBufLabelCount; ++i) {
17514 pCmdBufLabels[i].initialize(&src.pCmdBufLabels[i]);
17515 }
17516 }
17517 if (objectCount && src.pObjects) {
17518 pObjects = new safe_VkDebugUtilsObjectNameInfoEXT[objectCount];
17519 for (uint32_t i=0; i<objectCount; ++i) {
17520 pObjects[i].initialize(&src.pObjects[i]);
17521 }
17522 }
17523
17524 return *this;
17525}
17526
17527safe_VkDebugUtilsMessengerCallbackDataEXT::~safe_VkDebugUtilsMessengerCallbackDataEXT()
17528{
17529 if (pQueueLabels)
17530 delete[] pQueueLabels;
17531 if (pCmdBufLabels)
17532 delete[] pCmdBufLabels;
17533 if (pObjects)
17534 delete[] pObjects;
17535}
17536
17537void safe_VkDebugUtilsMessengerCallbackDataEXT::initialize(const VkDebugUtilsMessengerCallbackDataEXT* in_struct)
17538{
17539 sType = in_struct->sType;
17540 pNext = in_struct->pNext;
17541 flags = in_struct->flags;
17542 pMessageIdName = in_struct->pMessageIdName;
17543 messageIdNumber = in_struct->messageIdNumber;
17544 pMessage = in_struct->pMessage;
17545 queueLabelCount = in_struct->queueLabelCount;
17546 pQueueLabels = nullptr;
17547 cmdBufLabelCount = in_struct->cmdBufLabelCount;
17548 pCmdBufLabels = nullptr;
17549 objectCount = in_struct->objectCount;
17550 pObjects = nullptr;
17551 if (queueLabelCount && in_struct->pQueueLabels) {
17552 pQueueLabels = new safe_VkDebugUtilsLabelEXT[queueLabelCount];
17553 for (uint32_t i=0; i<queueLabelCount; ++i) {
17554 pQueueLabels[i].initialize(&in_struct->pQueueLabels[i]);
17555 }
17556 }
17557 if (cmdBufLabelCount && in_struct->pCmdBufLabels) {
17558 pCmdBufLabels = new safe_VkDebugUtilsLabelEXT[cmdBufLabelCount];
17559 for (uint32_t i=0; i<cmdBufLabelCount; ++i) {
17560 pCmdBufLabels[i].initialize(&in_struct->pCmdBufLabels[i]);
17561 }
17562 }
17563 if (objectCount && in_struct->pObjects) {
17564 pObjects = new safe_VkDebugUtilsObjectNameInfoEXT[objectCount];
17565 for (uint32_t i=0; i<objectCount; ++i) {
17566 pObjects[i].initialize(&in_struct->pObjects[i]);
17567 }
17568 }
17569}
17570
17571void safe_VkDebugUtilsMessengerCallbackDataEXT::initialize(const safe_VkDebugUtilsMessengerCallbackDataEXT* src)
17572{
17573 sType = src->sType;
17574 pNext = src->pNext;
17575 flags = src->flags;
17576 pMessageIdName = src->pMessageIdName;
17577 messageIdNumber = src->messageIdNumber;
17578 pMessage = src->pMessage;
17579 queueLabelCount = src->queueLabelCount;
17580 pQueueLabels = nullptr;
17581 cmdBufLabelCount = src->cmdBufLabelCount;
17582 pCmdBufLabels = nullptr;
17583 objectCount = src->objectCount;
17584 pObjects = nullptr;
17585 if (queueLabelCount && src->pQueueLabels) {
17586 pQueueLabels = new safe_VkDebugUtilsLabelEXT[queueLabelCount];
17587 for (uint32_t i=0; i<queueLabelCount; ++i) {
17588 pQueueLabels[i].initialize(&src->pQueueLabels[i]);
17589 }
17590 }
17591 if (cmdBufLabelCount && src->pCmdBufLabels) {
17592 pCmdBufLabels = new safe_VkDebugUtilsLabelEXT[cmdBufLabelCount];
17593 for (uint32_t i=0; i<cmdBufLabelCount; ++i) {
17594 pCmdBufLabels[i].initialize(&src->pCmdBufLabels[i]);
17595 }
17596 }
17597 if (objectCount && src->pObjects) {
17598 pObjects = new safe_VkDebugUtilsObjectNameInfoEXT[objectCount];
17599 for (uint32_t i=0; i<objectCount; ++i) {
17600 pObjects[i].initialize(&src->pObjects[i]);
17601 }
17602 }
17603}
17604
17605safe_VkDebugUtilsMessengerCreateInfoEXT::safe_VkDebugUtilsMessengerCreateInfoEXT(const VkDebugUtilsMessengerCreateInfoEXT* in_struct) :
17606 sType(in_struct->sType),
17607 pNext(in_struct->pNext),
17608 flags(in_struct->flags),
17609 messageSeverity(in_struct->messageSeverity),
17610 messageType(in_struct->messageType),
17611 pfnUserCallback(in_struct->pfnUserCallback),
17612 pUserData(in_struct->pUserData)
17613{
17614}
17615
17616safe_VkDebugUtilsMessengerCreateInfoEXT::safe_VkDebugUtilsMessengerCreateInfoEXT()
17617{}
17618
17619safe_VkDebugUtilsMessengerCreateInfoEXT::safe_VkDebugUtilsMessengerCreateInfoEXT(const safe_VkDebugUtilsMessengerCreateInfoEXT& src)
17620{
17621 sType = src.sType;
17622 pNext = src.pNext;
17623 flags = src.flags;
17624 messageSeverity = src.messageSeverity;
17625 messageType = src.messageType;
17626 pfnUserCallback = src.pfnUserCallback;
17627 pUserData = src.pUserData;
17628}
17629
17630safe_VkDebugUtilsMessengerCreateInfoEXT& safe_VkDebugUtilsMessengerCreateInfoEXT::operator=(const safe_VkDebugUtilsMessengerCreateInfoEXT& src)
17631{
17632 if (&src == this) return *this;
17633
17634
17635 sType = src.sType;
17636 pNext = src.pNext;
17637 flags = src.flags;
17638 messageSeverity = src.messageSeverity;
17639 messageType = src.messageType;
17640 pfnUserCallback = src.pfnUserCallback;
17641 pUserData = src.pUserData;
17642
17643 return *this;
17644}
17645
17646safe_VkDebugUtilsMessengerCreateInfoEXT::~safe_VkDebugUtilsMessengerCreateInfoEXT()
17647{
17648}
17649
17650void safe_VkDebugUtilsMessengerCreateInfoEXT::initialize(const VkDebugUtilsMessengerCreateInfoEXT* in_struct)
17651{
17652 sType = in_struct->sType;
17653 pNext = in_struct->pNext;
17654 flags = in_struct->flags;
17655 messageSeverity = in_struct->messageSeverity;
17656 messageType = in_struct->messageType;
17657 pfnUserCallback = in_struct->pfnUserCallback;
17658 pUserData = in_struct->pUserData;
17659}
17660
17661void safe_VkDebugUtilsMessengerCreateInfoEXT::initialize(const safe_VkDebugUtilsMessengerCreateInfoEXT* src)
17662{
17663 sType = src->sType;
17664 pNext = src->pNext;
17665 flags = src->flags;
17666 messageSeverity = src->messageSeverity;
17667 messageType = src->messageType;
17668 pfnUserCallback = src->pfnUserCallback;
17669 pUserData = src->pUserData;
17670}
17671#ifdef VK_USE_PLATFORM_ANDROID_KHR
17672
17673
17674safe_VkAndroidHardwareBufferUsageANDROID::safe_VkAndroidHardwareBufferUsageANDROID(const VkAndroidHardwareBufferUsageANDROID* in_struct) :
17675 sType(in_struct->sType),
17676 pNext(in_struct->pNext),
17677 androidHardwareBufferUsage(in_struct->androidHardwareBufferUsage)
17678{
17679}
17680
17681safe_VkAndroidHardwareBufferUsageANDROID::safe_VkAndroidHardwareBufferUsageANDROID()
17682{}
17683
17684safe_VkAndroidHardwareBufferUsageANDROID::safe_VkAndroidHardwareBufferUsageANDROID(const safe_VkAndroidHardwareBufferUsageANDROID& src)
17685{
17686 sType = src.sType;
17687 pNext = src.pNext;
17688 androidHardwareBufferUsage = src.androidHardwareBufferUsage;
17689}
17690
17691safe_VkAndroidHardwareBufferUsageANDROID& safe_VkAndroidHardwareBufferUsageANDROID::operator=(const safe_VkAndroidHardwareBufferUsageANDROID& src)
17692{
17693 if (&src == this) return *this;
17694
17695
17696 sType = src.sType;
17697 pNext = src.pNext;
17698 androidHardwareBufferUsage = src.androidHardwareBufferUsage;
17699
17700 return *this;
17701}
17702
17703safe_VkAndroidHardwareBufferUsageANDROID::~safe_VkAndroidHardwareBufferUsageANDROID()
17704{
17705}
17706
17707void safe_VkAndroidHardwareBufferUsageANDROID::initialize(const VkAndroidHardwareBufferUsageANDROID* in_struct)
17708{
17709 sType = in_struct->sType;
17710 pNext = in_struct->pNext;
17711 androidHardwareBufferUsage = in_struct->androidHardwareBufferUsage;
17712}
17713
17714void safe_VkAndroidHardwareBufferUsageANDROID::initialize(const safe_VkAndroidHardwareBufferUsageANDROID* src)
17715{
17716 sType = src->sType;
17717 pNext = src->pNext;
17718 androidHardwareBufferUsage = src->androidHardwareBufferUsage;
17719}
17720#endif // VK_USE_PLATFORM_ANDROID_KHR
17721
17722#ifdef VK_USE_PLATFORM_ANDROID_KHR
17723
17724
17725safe_VkAndroidHardwareBufferPropertiesANDROID::safe_VkAndroidHardwareBufferPropertiesANDROID(const VkAndroidHardwareBufferPropertiesANDROID* in_struct) :
17726 sType(in_struct->sType),
17727 pNext(in_struct->pNext),
17728 allocationSize(in_struct->allocationSize),
17729 memoryTypeBits(in_struct->memoryTypeBits)
17730{
17731}
17732
17733safe_VkAndroidHardwareBufferPropertiesANDROID::safe_VkAndroidHardwareBufferPropertiesANDROID()
17734{}
17735
17736safe_VkAndroidHardwareBufferPropertiesANDROID::safe_VkAndroidHardwareBufferPropertiesANDROID(const safe_VkAndroidHardwareBufferPropertiesANDROID& src)
17737{
17738 sType = src.sType;
17739 pNext = src.pNext;
17740 allocationSize = src.allocationSize;
17741 memoryTypeBits = src.memoryTypeBits;
17742}
17743
17744safe_VkAndroidHardwareBufferPropertiesANDROID& safe_VkAndroidHardwareBufferPropertiesANDROID::operator=(const safe_VkAndroidHardwareBufferPropertiesANDROID& src)
17745{
17746 if (&src == this) return *this;
17747
17748
17749 sType = src.sType;
17750 pNext = src.pNext;
17751 allocationSize = src.allocationSize;
17752 memoryTypeBits = src.memoryTypeBits;
17753
17754 return *this;
17755}
17756
17757safe_VkAndroidHardwareBufferPropertiesANDROID::~safe_VkAndroidHardwareBufferPropertiesANDROID()
17758{
17759}
17760
17761void safe_VkAndroidHardwareBufferPropertiesANDROID::initialize(const VkAndroidHardwareBufferPropertiesANDROID* in_struct)
17762{
17763 sType = in_struct->sType;
17764 pNext = in_struct->pNext;
17765 allocationSize = in_struct->allocationSize;
17766 memoryTypeBits = in_struct->memoryTypeBits;
17767}
17768
17769void safe_VkAndroidHardwareBufferPropertiesANDROID::initialize(const safe_VkAndroidHardwareBufferPropertiesANDROID* src)
17770{
17771 sType = src->sType;
17772 pNext = src->pNext;
17773 allocationSize = src->allocationSize;
17774 memoryTypeBits = src->memoryTypeBits;
17775}
17776#endif // VK_USE_PLATFORM_ANDROID_KHR
17777
17778#ifdef VK_USE_PLATFORM_ANDROID_KHR
17779
17780
17781safe_VkAndroidHardwareBufferFormatPropertiesANDROID::safe_VkAndroidHardwareBufferFormatPropertiesANDROID(const VkAndroidHardwareBufferFormatPropertiesANDROID* in_struct) :
17782 sType(in_struct->sType),
17783 pNext(in_struct->pNext),
17784 format(in_struct->format),
17785 externalFormat(in_struct->externalFormat),
17786 formatFeatures(in_struct->formatFeatures),
17787 samplerYcbcrConversionComponents(in_struct->samplerYcbcrConversionComponents),
17788 suggestedYcbcrModel(in_struct->suggestedYcbcrModel),
17789 suggestedYcbcrRange(in_struct->suggestedYcbcrRange),
17790 suggestedXChromaOffset(in_struct->suggestedXChromaOffset),
17791 suggestedYChromaOffset(in_struct->suggestedYChromaOffset)
17792{
17793}
17794
17795safe_VkAndroidHardwareBufferFormatPropertiesANDROID::safe_VkAndroidHardwareBufferFormatPropertiesANDROID()
17796{}
17797
17798safe_VkAndroidHardwareBufferFormatPropertiesANDROID::safe_VkAndroidHardwareBufferFormatPropertiesANDROID(const safe_VkAndroidHardwareBufferFormatPropertiesANDROID& src)
17799{
17800 sType = src.sType;
17801 pNext = src.pNext;
17802 format = src.format;
17803 externalFormat = src.externalFormat;
17804 formatFeatures = src.formatFeatures;
17805 samplerYcbcrConversionComponents = src.samplerYcbcrConversionComponents;
17806 suggestedYcbcrModel = src.suggestedYcbcrModel;
17807 suggestedYcbcrRange = src.suggestedYcbcrRange;
17808 suggestedXChromaOffset = src.suggestedXChromaOffset;
17809 suggestedYChromaOffset = src.suggestedYChromaOffset;
17810}
17811
17812safe_VkAndroidHardwareBufferFormatPropertiesANDROID& safe_VkAndroidHardwareBufferFormatPropertiesANDROID::operator=(const safe_VkAndroidHardwareBufferFormatPropertiesANDROID& src)
17813{
17814 if (&src == this) return *this;
17815
17816
17817 sType = src.sType;
17818 pNext = src.pNext;
17819 format = src.format;
17820 externalFormat = src.externalFormat;
17821 formatFeatures = src.formatFeatures;
17822 samplerYcbcrConversionComponents = src.samplerYcbcrConversionComponents;
17823 suggestedYcbcrModel = src.suggestedYcbcrModel;
17824 suggestedYcbcrRange = src.suggestedYcbcrRange;
17825 suggestedXChromaOffset = src.suggestedXChromaOffset;
17826 suggestedYChromaOffset = src.suggestedYChromaOffset;
17827
17828 return *this;
17829}
17830
17831safe_VkAndroidHardwareBufferFormatPropertiesANDROID::~safe_VkAndroidHardwareBufferFormatPropertiesANDROID()
17832{
17833}
17834
17835void safe_VkAndroidHardwareBufferFormatPropertiesANDROID::initialize(const VkAndroidHardwareBufferFormatPropertiesANDROID* in_struct)
17836{
17837 sType = in_struct->sType;
17838 pNext = in_struct->pNext;
17839 format = in_struct->format;
17840 externalFormat = in_struct->externalFormat;
17841 formatFeatures = in_struct->formatFeatures;
17842 samplerYcbcrConversionComponents = in_struct->samplerYcbcrConversionComponents;
17843 suggestedYcbcrModel = in_struct->suggestedYcbcrModel;
17844 suggestedYcbcrRange = in_struct->suggestedYcbcrRange;
17845 suggestedXChromaOffset = in_struct->suggestedXChromaOffset;
17846 suggestedYChromaOffset = in_struct->suggestedYChromaOffset;
17847}
17848
17849void safe_VkAndroidHardwareBufferFormatPropertiesANDROID::initialize(const safe_VkAndroidHardwareBufferFormatPropertiesANDROID* src)
17850{
17851 sType = src->sType;
17852 pNext = src->pNext;
17853 format = src->format;
17854 externalFormat = src->externalFormat;
17855 formatFeatures = src->formatFeatures;
17856 samplerYcbcrConversionComponents = src->samplerYcbcrConversionComponents;
17857 suggestedYcbcrModel = src->suggestedYcbcrModel;
17858 suggestedYcbcrRange = src->suggestedYcbcrRange;
17859 suggestedXChromaOffset = src->suggestedXChromaOffset;
17860 suggestedYChromaOffset = src->suggestedYChromaOffset;
17861}
17862#endif // VK_USE_PLATFORM_ANDROID_KHR
17863
17864#ifdef VK_USE_PLATFORM_ANDROID_KHR
17865
17866
17867safe_VkImportAndroidHardwareBufferInfoANDROID::safe_VkImportAndroidHardwareBufferInfoANDROID(const VkImportAndroidHardwareBufferInfoANDROID* in_struct) :
17868 sType(in_struct->sType),
17869 pNext(in_struct->pNext),
17870 buffer(nullptr)
17871{
17872 buffer = in_struct->buffer;
17873}
17874
17875safe_VkImportAndroidHardwareBufferInfoANDROID::safe_VkImportAndroidHardwareBufferInfoANDROID() :
17876 buffer(nullptr)
17877{}
17878
17879safe_VkImportAndroidHardwareBufferInfoANDROID::safe_VkImportAndroidHardwareBufferInfoANDROID(const safe_VkImportAndroidHardwareBufferInfoANDROID& src)
17880{
17881 sType = src.sType;
17882 pNext = src.pNext;
17883 buffer = src.buffer;
17884}
17885
17886safe_VkImportAndroidHardwareBufferInfoANDROID& safe_VkImportAndroidHardwareBufferInfoANDROID::operator=(const safe_VkImportAndroidHardwareBufferInfoANDROID& src)
17887{
17888 if (&src == this) return *this;
17889
17890
17891 sType = src.sType;
17892 pNext = src.pNext;
17893 buffer = src.buffer;
17894
17895 return *this;
17896}
17897
17898safe_VkImportAndroidHardwareBufferInfoANDROID::~safe_VkImportAndroidHardwareBufferInfoANDROID()
17899{
17900}
17901
17902void safe_VkImportAndroidHardwareBufferInfoANDROID::initialize(const VkImportAndroidHardwareBufferInfoANDROID* in_struct)
17903{
17904 sType = in_struct->sType;
17905 pNext = in_struct->pNext;
17906 buffer = in_struct->buffer;
17907}
17908
17909void safe_VkImportAndroidHardwareBufferInfoANDROID::initialize(const safe_VkImportAndroidHardwareBufferInfoANDROID* src)
17910{
17911 sType = src->sType;
17912 pNext = src->pNext;
17913 buffer = src->buffer;
17914}
17915#endif // VK_USE_PLATFORM_ANDROID_KHR
17916
17917#ifdef VK_USE_PLATFORM_ANDROID_KHR
17918
17919
17920safe_VkMemoryGetAndroidHardwareBufferInfoANDROID::safe_VkMemoryGetAndroidHardwareBufferInfoANDROID(const VkMemoryGetAndroidHardwareBufferInfoANDROID* in_struct) :
17921 sType(in_struct->sType),
17922 pNext(in_struct->pNext),
17923 memory(in_struct->memory)
17924{
17925}
17926
17927safe_VkMemoryGetAndroidHardwareBufferInfoANDROID::safe_VkMemoryGetAndroidHardwareBufferInfoANDROID()
17928{}
17929
17930safe_VkMemoryGetAndroidHardwareBufferInfoANDROID::safe_VkMemoryGetAndroidHardwareBufferInfoANDROID(const safe_VkMemoryGetAndroidHardwareBufferInfoANDROID& src)
17931{
17932 sType = src.sType;
17933 pNext = src.pNext;
17934 memory = src.memory;
17935}
17936
17937safe_VkMemoryGetAndroidHardwareBufferInfoANDROID& safe_VkMemoryGetAndroidHardwareBufferInfoANDROID::operator=(const safe_VkMemoryGetAndroidHardwareBufferInfoANDROID& src)
17938{
17939 if (&src == this) return *this;
17940
17941
17942 sType = src.sType;
17943 pNext = src.pNext;
17944 memory = src.memory;
17945
17946 return *this;
17947}
17948
17949safe_VkMemoryGetAndroidHardwareBufferInfoANDROID::~safe_VkMemoryGetAndroidHardwareBufferInfoANDROID()
17950{
17951}
17952
17953void safe_VkMemoryGetAndroidHardwareBufferInfoANDROID::initialize(const VkMemoryGetAndroidHardwareBufferInfoANDROID* in_struct)
17954{
17955 sType = in_struct->sType;
17956 pNext = in_struct->pNext;
17957 memory = in_struct->memory;
17958}
17959
17960void safe_VkMemoryGetAndroidHardwareBufferInfoANDROID::initialize(const safe_VkMemoryGetAndroidHardwareBufferInfoANDROID* src)
17961{
17962 sType = src->sType;
17963 pNext = src->pNext;
17964 memory = src->memory;
17965}
17966#endif // VK_USE_PLATFORM_ANDROID_KHR
17967
17968#ifdef VK_USE_PLATFORM_ANDROID_KHR
17969
17970
17971safe_VkExternalFormatANDROID::safe_VkExternalFormatANDROID(const VkExternalFormatANDROID* in_struct) :
17972 sType(in_struct->sType),
17973 pNext(in_struct->pNext),
17974 externalFormat(in_struct->externalFormat)
17975{
17976}
17977
17978safe_VkExternalFormatANDROID::safe_VkExternalFormatANDROID()
17979{}
17980
17981safe_VkExternalFormatANDROID::safe_VkExternalFormatANDROID(const safe_VkExternalFormatANDROID& src)
17982{
17983 sType = src.sType;
17984 pNext = src.pNext;
17985 externalFormat = src.externalFormat;
17986}
17987
17988safe_VkExternalFormatANDROID& safe_VkExternalFormatANDROID::operator=(const safe_VkExternalFormatANDROID& src)
17989{
17990 if (&src == this) return *this;
17991
17992
17993 sType = src.sType;
17994 pNext = src.pNext;
17995 externalFormat = src.externalFormat;
17996
17997 return *this;
17998}
17999
18000safe_VkExternalFormatANDROID::~safe_VkExternalFormatANDROID()
18001{
18002}
18003
18004void safe_VkExternalFormatANDROID::initialize(const VkExternalFormatANDROID* in_struct)
18005{
18006 sType = in_struct->sType;
18007 pNext = in_struct->pNext;
18008 externalFormat = in_struct->externalFormat;
18009}
18010
18011void safe_VkExternalFormatANDROID::initialize(const safe_VkExternalFormatANDROID* src)
18012{
18013 sType = src->sType;
18014 pNext = src->pNext;
18015 externalFormat = src->externalFormat;
18016}
18017#endif // VK_USE_PLATFORM_ANDROID_KHR
18018
18019
18020safe_VkSamplerReductionModeCreateInfoEXT::safe_VkSamplerReductionModeCreateInfoEXT(const VkSamplerReductionModeCreateInfoEXT* in_struct) :
18021 sType(in_struct->sType),
18022 pNext(in_struct->pNext),
18023 reductionMode(in_struct->reductionMode)
18024{
18025}
18026
18027safe_VkSamplerReductionModeCreateInfoEXT::safe_VkSamplerReductionModeCreateInfoEXT()
18028{}
18029
18030safe_VkSamplerReductionModeCreateInfoEXT::safe_VkSamplerReductionModeCreateInfoEXT(const safe_VkSamplerReductionModeCreateInfoEXT& src)
18031{
18032 sType = src.sType;
18033 pNext = src.pNext;
18034 reductionMode = src.reductionMode;
18035}
18036
18037safe_VkSamplerReductionModeCreateInfoEXT& safe_VkSamplerReductionModeCreateInfoEXT::operator=(const safe_VkSamplerReductionModeCreateInfoEXT& src)
18038{
18039 if (&src == this) return *this;
18040
18041
18042 sType = src.sType;
18043 pNext = src.pNext;
18044 reductionMode = src.reductionMode;
18045
18046 return *this;
18047}
18048
18049safe_VkSamplerReductionModeCreateInfoEXT::~safe_VkSamplerReductionModeCreateInfoEXT()
18050{
18051}
18052
18053void safe_VkSamplerReductionModeCreateInfoEXT::initialize(const VkSamplerReductionModeCreateInfoEXT* in_struct)
18054{
18055 sType = in_struct->sType;
18056 pNext = in_struct->pNext;
18057 reductionMode = in_struct->reductionMode;
18058}
18059
18060void safe_VkSamplerReductionModeCreateInfoEXT::initialize(const safe_VkSamplerReductionModeCreateInfoEXT* src)
18061{
18062 sType = src->sType;
18063 pNext = src->pNext;
18064 reductionMode = src->reductionMode;
18065}
18066
18067safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT::safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT(const VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT* in_struct) :
18068 sType(in_struct->sType),
18069 pNext(in_struct->pNext),
18070 filterMinmaxSingleComponentFormats(in_struct->filterMinmaxSingleComponentFormats),
18071 filterMinmaxImageComponentMapping(in_struct->filterMinmaxImageComponentMapping)
18072{
18073}
18074
18075safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT::safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT()
18076{}
18077
18078safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT::safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT(const safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT& src)
18079{
18080 sType = src.sType;
18081 pNext = src.pNext;
18082 filterMinmaxSingleComponentFormats = src.filterMinmaxSingleComponentFormats;
18083 filterMinmaxImageComponentMapping = src.filterMinmaxImageComponentMapping;
18084}
18085
18086safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT& safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT::operator=(const safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT& src)
18087{
18088 if (&src == this) return *this;
18089
18090
18091 sType = src.sType;
18092 pNext = src.pNext;
18093 filterMinmaxSingleComponentFormats = src.filterMinmaxSingleComponentFormats;
18094 filterMinmaxImageComponentMapping = src.filterMinmaxImageComponentMapping;
18095
18096 return *this;
18097}
18098
18099safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT::~safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT()
18100{
18101}
18102
18103void safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT::initialize(const VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT* in_struct)
18104{
18105 sType = in_struct->sType;
18106 pNext = in_struct->pNext;
18107 filterMinmaxSingleComponentFormats = in_struct->filterMinmaxSingleComponentFormats;
18108 filterMinmaxImageComponentMapping = in_struct->filterMinmaxImageComponentMapping;
18109}
18110
18111void safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT::initialize(const safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT* src)
18112{
18113 sType = src->sType;
18114 pNext = src->pNext;
18115 filterMinmaxSingleComponentFormats = src->filterMinmaxSingleComponentFormats;
18116 filterMinmaxImageComponentMapping = src->filterMinmaxImageComponentMapping;
18117}
18118
18119safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT::safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT(const VkPhysicalDeviceInlineUniformBlockFeaturesEXT* in_struct) :
18120 sType(in_struct->sType),
18121 pNext(in_struct->pNext),
18122 inlineUniformBlock(in_struct->inlineUniformBlock),
18123 descriptorBindingInlineUniformBlockUpdateAfterBind(in_struct->descriptorBindingInlineUniformBlockUpdateAfterBind)
18124{
18125}
18126
18127safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT::safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT()
18128{}
18129
18130safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT::safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT(const safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT& src)
18131{
18132 sType = src.sType;
18133 pNext = src.pNext;
18134 inlineUniformBlock = src.inlineUniformBlock;
18135 descriptorBindingInlineUniformBlockUpdateAfterBind = src.descriptorBindingInlineUniformBlockUpdateAfterBind;
18136}
18137
18138safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT& safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT::operator=(const safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT& src)
18139{
18140 if (&src == this) return *this;
18141
18142
18143 sType = src.sType;
18144 pNext = src.pNext;
18145 inlineUniformBlock = src.inlineUniformBlock;
18146 descriptorBindingInlineUniformBlockUpdateAfterBind = src.descriptorBindingInlineUniformBlockUpdateAfterBind;
18147
18148 return *this;
18149}
18150
18151safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT::~safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT()
18152{
18153}
18154
18155void safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT::initialize(const VkPhysicalDeviceInlineUniformBlockFeaturesEXT* in_struct)
18156{
18157 sType = in_struct->sType;
18158 pNext = in_struct->pNext;
18159 inlineUniformBlock = in_struct->inlineUniformBlock;
18160 descriptorBindingInlineUniformBlockUpdateAfterBind = in_struct->descriptorBindingInlineUniformBlockUpdateAfterBind;
18161}
18162
18163void safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT::initialize(const safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT* src)
18164{
18165 sType = src->sType;
18166 pNext = src->pNext;
18167 inlineUniformBlock = src->inlineUniformBlock;
18168 descriptorBindingInlineUniformBlockUpdateAfterBind = src->descriptorBindingInlineUniformBlockUpdateAfterBind;
18169}
18170
18171safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT::safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT(const VkPhysicalDeviceInlineUniformBlockPropertiesEXT* in_struct) :
18172 sType(in_struct->sType),
18173 pNext(in_struct->pNext),
18174 maxInlineUniformBlockSize(in_struct->maxInlineUniformBlockSize),
18175 maxPerStageDescriptorInlineUniformBlocks(in_struct->maxPerStageDescriptorInlineUniformBlocks),
18176 maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks(in_struct->maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks),
18177 maxDescriptorSetInlineUniformBlocks(in_struct->maxDescriptorSetInlineUniformBlocks),
18178 maxDescriptorSetUpdateAfterBindInlineUniformBlocks(in_struct->maxDescriptorSetUpdateAfterBindInlineUniformBlocks)
18179{
18180}
18181
18182safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT::safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT()
18183{}
18184
18185safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT::safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT(const safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT& src)
18186{
18187 sType = src.sType;
18188 pNext = src.pNext;
18189 maxInlineUniformBlockSize = src.maxInlineUniformBlockSize;
18190 maxPerStageDescriptorInlineUniformBlocks = src.maxPerStageDescriptorInlineUniformBlocks;
18191 maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks = src.maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks;
18192 maxDescriptorSetInlineUniformBlocks = src.maxDescriptorSetInlineUniformBlocks;
18193 maxDescriptorSetUpdateAfterBindInlineUniformBlocks = src.maxDescriptorSetUpdateAfterBindInlineUniformBlocks;
18194}
18195
18196safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT& safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT::operator=(const safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT& src)
18197{
18198 if (&src == this) return *this;
18199
18200
18201 sType = src.sType;
18202 pNext = src.pNext;
18203 maxInlineUniformBlockSize = src.maxInlineUniformBlockSize;
18204 maxPerStageDescriptorInlineUniformBlocks = src.maxPerStageDescriptorInlineUniformBlocks;
18205 maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks = src.maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks;
18206 maxDescriptorSetInlineUniformBlocks = src.maxDescriptorSetInlineUniformBlocks;
18207 maxDescriptorSetUpdateAfterBindInlineUniformBlocks = src.maxDescriptorSetUpdateAfterBindInlineUniformBlocks;
18208
18209 return *this;
18210}
18211
18212safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT::~safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT()
18213{
18214}
18215
18216void safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT::initialize(const VkPhysicalDeviceInlineUniformBlockPropertiesEXT* in_struct)
18217{
18218 sType = in_struct->sType;
18219 pNext = in_struct->pNext;
18220 maxInlineUniformBlockSize = in_struct->maxInlineUniformBlockSize;
18221 maxPerStageDescriptorInlineUniformBlocks = in_struct->maxPerStageDescriptorInlineUniformBlocks;
18222 maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks = in_struct->maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks;
18223 maxDescriptorSetInlineUniformBlocks = in_struct->maxDescriptorSetInlineUniformBlocks;
18224 maxDescriptorSetUpdateAfterBindInlineUniformBlocks = in_struct->maxDescriptorSetUpdateAfterBindInlineUniformBlocks;
18225}
18226
18227void safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT::initialize(const safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT* src)
18228{
18229 sType = src->sType;
18230 pNext = src->pNext;
18231 maxInlineUniformBlockSize = src->maxInlineUniformBlockSize;
18232 maxPerStageDescriptorInlineUniformBlocks = src->maxPerStageDescriptorInlineUniformBlocks;
18233 maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks = src->maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks;
18234 maxDescriptorSetInlineUniformBlocks = src->maxDescriptorSetInlineUniformBlocks;
18235 maxDescriptorSetUpdateAfterBindInlineUniformBlocks = src->maxDescriptorSetUpdateAfterBindInlineUniformBlocks;
18236}
18237
18238safe_VkWriteDescriptorSetInlineUniformBlockEXT::safe_VkWriteDescriptorSetInlineUniformBlockEXT(const VkWriteDescriptorSetInlineUniformBlockEXT* in_struct) :
18239 sType(in_struct->sType),
18240 pNext(in_struct->pNext),
18241 dataSize(in_struct->dataSize),
18242 pData(in_struct->pData)
18243{
18244}
18245
18246safe_VkWriteDescriptorSetInlineUniformBlockEXT::safe_VkWriteDescriptorSetInlineUniformBlockEXT()
18247{}
18248
18249safe_VkWriteDescriptorSetInlineUniformBlockEXT::safe_VkWriteDescriptorSetInlineUniformBlockEXT(const safe_VkWriteDescriptorSetInlineUniformBlockEXT& src)
18250{
18251 sType = src.sType;
18252 pNext = src.pNext;
18253 dataSize = src.dataSize;
18254 pData = src.pData;
18255}
18256
18257safe_VkWriteDescriptorSetInlineUniformBlockEXT& safe_VkWriteDescriptorSetInlineUniformBlockEXT::operator=(const safe_VkWriteDescriptorSetInlineUniformBlockEXT& src)
18258{
18259 if (&src == this) return *this;
18260
18261
18262 sType = src.sType;
18263 pNext = src.pNext;
18264 dataSize = src.dataSize;
18265 pData = src.pData;
18266
18267 return *this;
18268}
18269
18270safe_VkWriteDescriptorSetInlineUniformBlockEXT::~safe_VkWriteDescriptorSetInlineUniformBlockEXT()
18271{
18272}
18273
18274void safe_VkWriteDescriptorSetInlineUniformBlockEXT::initialize(const VkWriteDescriptorSetInlineUniformBlockEXT* in_struct)
18275{
18276 sType = in_struct->sType;
18277 pNext = in_struct->pNext;
18278 dataSize = in_struct->dataSize;
18279 pData = in_struct->pData;
18280}
18281
18282void safe_VkWriteDescriptorSetInlineUniformBlockEXT::initialize(const safe_VkWriteDescriptorSetInlineUniformBlockEXT* src)
18283{
18284 sType = src->sType;
18285 pNext = src->pNext;
18286 dataSize = src->dataSize;
18287 pData = src->pData;
18288}
18289
18290safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT::safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT(const VkDescriptorPoolInlineUniformBlockCreateInfoEXT* in_struct) :
18291 sType(in_struct->sType),
18292 pNext(in_struct->pNext),
18293 maxInlineUniformBlockBindings(in_struct->maxInlineUniformBlockBindings)
18294{
18295}
18296
18297safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT::safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT()
18298{}
18299
18300safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT::safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT(const safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT& src)
18301{
18302 sType = src.sType;
18303 pNext = src.pNext;
18304 maxInlineUniformBlockBindings = src.maxInlineUniformBlockBindings;
18305}
18306
18307safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT& safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT::operator=(const safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT& src)
18308{
18309 if (&src == this) return *this;
18310
18311
18312 sType = src.sType;
18313 pNext = src.pNext;
18314 maxInlineUniformBlockBindings = src.maxInlineUniformBlockBindings;
18315
18316 return *this;
18317}
18318
18319safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT::~safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT()
18320{
18321}
18322
18323void safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT::initialize(const VkDescriptorPoolInlineUniformBlockCreateInfoEXT* in_struct)
18324{
18325 sType = in_struct->sType;
18326 pNext = in_struct->pNext;
18327 maxInlineUniformBlockBindings = in_struct->maxInlineUniformBlockBindings;
18328}
18329
18330void safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT::initialize(const safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT* src)
18331{
18332 sType = src->sType;
18333 pNext = src->pNext;
18334 maxInlineUniformBlockBindings = src->maxInlineUniformBlockBindings;
18335}
18336
18337safe_VkSampleLocationsInfoEXT::safe_VkSampleLocationsInfoEXT(const VkSampleLocationsInfoEXT* in_struct) :
18338 sType(in_struct->sType),
18339 pNext(in_struct->pNext),
18340 sampleLocationsPerPixel(in_struct->sampleLocationsPerPixel),
18341 sampleLocationGridSize(in_struct->sampleLocationGridSize),
18342 sampleLocationsCount(in_struct->sampleLocationsCount),
18343 pSampleLocations(nullptr)
18344{
18345 if (in_struct->pSampleLocations) {
18346 pSampleLocations = new VkSampleLocationEXT[in_struct->sampleLocationsCount];
18347 memcpy ((void *)pSampleLocations, (void *)in_struct->pSampleLocations, sizeof(VkSampleLocationEXT)*in_struct->sampleLocationsCount);
18348 }
18349}
18350
18351safe_VkSampleLocationsInfoEXT::safe_VkSampleLocationsInfoEXT() :
18352 pSampleLocations(nullptr)
18353{}
18354
18355safe_VkSampleLocationsInfoEXT::safe_VkSampleLocationsInfoEXT(const safe_VkSampleLocationsInfoEXT& src)
18356{
18357 sType = src.sType;
18358 pNext = src.pNext;
18359 sampleLocationsPerPixel = src.sampleLocationsPerPixel;
18360 sampleLocationGridSize = src.sampleLocationGridSize;
18361 sampleLocationsCount = src.sampleLocationsCount;
18362 pSampleLocations = nullptr;
18363 if (src.pSampleLocations) {
18364 pSampleLocations = new VkSampleLocationEXT[src.sampleLocationsCount];
18365 memcpy ((void *)pSampleLocations, (void *)src.pSampleLocations, sizeof(VkSampleLocationEXT)*src.sampleLocationsCount);
18366 }
18367}
18368
18369safe_VkSampleLocationsInfoEXT& safe_VkSampleLocationsInfoEXT::operator=(const safe_VkSampleLocationsInfoEXT& src)
18370{
18371 if (&src == this) return *this;
18372
18373 if (pSampleLocations)
18374 delete[] pSampleLocations;
18375
18376 sType = src.sType;
18377 pNext = src.pNext;
18378 sampleLocationsPerPixel = src.sampleLocationsPerPixel;
18379 sampleLocationGridSize = src.sampleLocationGridSize;
18380 sampleLocationsCount = src.sampleLocationsCount;
18381 pSampleLocations = nullptr;
18382 if (src.pSampleLocations) {
18383 pSampleLocations = new VkSampleLocationEXT[src.sampleLocationsCount];
18384 memcpy ((void *)pSampleLocations, (void *)src.pSampleLocations, sizeof(VkSampleLocationEXT)*src.sampleLocationsCount);
18385 }
18386
18387 return *this;
18388}
18389
18390safe_VkSampleLocationsInfoEXT::~safe_VkSampleLocationsInfoEXT()
18391{
18392 if (pSampleLocations)
18393 delete[] pSampleLocations;
18394}
18395
18396void safe_VkSampleLocationsInfoEXT::initialize(const VkSampleLocationsInfoEXT* in_struct)
18397{
18398 sType = in_struct->sType;
18399 pNext = in_struct->pNext;
18400 sampleLocationsPerPixel = in_struct->sampleLocationsPerPixel;
18401 sampleLocationGridSize = in_struct->sampleLocationGridSize;
18402 sampleLocationsCount = in_struct->sampleLocationsCount;
18403 pSampleLocations = nullptr;
18404 if (in_struct->pSampleLocations) {
18405 pSampleLocations = new VkSampleLocationEXT[in_struct->sampleLocationsCount];
18406 memcpy ((void *)pSampleLocations, (void *)in_struct->pSampleLocations, sizeof(VkSampleLocationEXT)*in_struct->sampleLocationsCount);
18407 }
18408}
18409
18410void safe_VkSampleLocationsInfoEXT::initialize(const safe_VkSampleLocationsInfoEXT* src)
18411{
18412 sType = src->sType;
18413 pNext = src->pNext;
18414 sampleLocationsPerPixel = src->sampleLocationsPerPixel;
18415 sampleLocationGridSize = src->sampleLocationGridSize;
18416 sampleLocationsCount = src->sampleLocationsCount;
18417 pSampleLocations = nullptr;
18418 if (src->pSampleLocations) {
18419 pSampleLocations = new VkSampleLocationEXT[src->sampleLocationsCount];
18420 memcpy ((void *)pSampleLocations, (void *)src->pSampleLocations, sizeof(VkSampleLocationEXT)*src->sampleLocationsCount);
18421 }
18422}
18423
18424safe_VkRenderPassSampleLocationsBeginInfoEXT::safe_VkRenderPassSampleLocationsBeginInfoEXT(const VkRenderPassSampleLocationsBeginInfoEXT* in_struct) :
18425 sType(in_struct->sType),
18426 pNext(in_struct->pNext),
18427 attachmentInitialSampleLocationsCount(in_struct->attachmentInitialSampleLocationsCount),
18428 pAttachmentInitialSampleLocations(nullptr),
18429 postSubpassSampleLocationsCount(in_struct->postSubpassSampleLocationsCount),
18430 pPostSubpassSampleLocations(nullptr)
18431{
18432 if (in_struct->pAttachmentInitialSampleLocations) {
18433 pAttachmentInitialSampleLocations = new VkAttachmentSampleLocationsEXT[in_struct->attachmentInitialSampleLocationsCount];
18434 memcpy ((void *)pAttachmentInitialSampleLocations, (void *)in_struct->pAttachmentInitialSampleLocations, sizeof(VkAttachmentSampleLocationsEXT)*in_struct->attachmentInitialSampleLocationsCount);
18435 }
18436 if (in_struct->pPostSubpassSampleLocations) {
18437 pPostSubpassSampleLocations = new VkSubpassSampleLocationsEXT[in_struct->postSubpassSampleLocationsCount];
18438 memcpy ((void *)pPostSubpassSampleLocations, (void *)in_struct->pPostSubpassSampleLocations, sizeof(VkSubpassSampleLocationsEXT)*in_struct->postSubpassSampleLocationsCount);
18439 }
18440}
18441
18442safe_VkRenderPassSampleLocationsBeginInfoEXT::safe_VkRenderPassSampleLocationsBeginInfoEXT() :
18443 pAttachmentInitialSampleLocations(nullptr),
18444 pPostSubpassSampleLocations(nullptr)
18445{}
18446
18447safe_VkRenderPassSampleLocationsBeginInfoEXT::safe_VkRenderPassSampleLocationsBeginInfoEXT(const safe_VkRenderPassSampleLocationsBeginInfoEXT& src)
18448{
18449 sType = src.sType;
18450 pNext = src.pNext;
18451 attachmentInitialSampleLocationsCount = src.attachmentInitialSampleLocationsCount;
18452 pAttachmentInitialSampleLocations = nullptr;
18453 postSubpassSampleLocationsCount = src.postSubpassSampleLocationsCount;
18454 pPostSubpassSampleLocations = nullptr;
18455 if (src.pAttachmentInitialSampleLocations) {
18456 pAttachmentInitialSampleLocations = new VkAttachmentSampleLocationsEXT[src.attachmentInitialSampleLocationsCount];
18457 memcpy ((void *)pAttachmentInitialSampleLocations, (void *)src.pAttachmentInitialSampleLocations, sizeof(VkAttachmentSampleLocationsEXT)*src.attachmentInitialSampleLocationsCount);
18458 }
18459 if (src.pPostSubpassSampleLocations) {
18460 pPostSubpassSampleLocations = new VkSubpassSampleLocationsEXT[src.postSubpassSampleLocationsCount];
18461 memcpy ((void *)pPostSubpassSampleLocations, (void *)src.pPostSubpassSampleLocations, sizeof(VkSubpassSampleLocationsEXT)*src.postSubpassSampleLocationsCount);
18462 }
18463}
18464
18465safe_VkRenderPassSampleLocationsBeginInfoEXT& safe_VkRenderPassSampleLocationsBeginInfoEXT::operator=(const safe_VkRenderPassSampleLocationsBeginInfoEXT& src)
18466{
18467 if (&src == this) return *this;
18468
18469 if (pAttachmentInitialSampleLocations)
18470 delete[] pAttachmentInitialSampleLocations;
18471 if (pPostSubpassSampleLocations)
18472 delete[] pPostSubpassSampleLocations;
18473
18474 sType = src.sType;
18475 pNext = src.pNext;
18476 attachmentInitialSampleLocationsCount = src.attachmentInitialSampleLocationsCount;
18477 pAttachmentInitialSampleLocations = nullptr;
18478 postSubpassSampleLocationsCount = src.postSubpassSampleLocationsCount;
18479 pPostSubpassSampleLocations = nullptr;
18480 if (src.pAttachmentInitialSampleLocations) {
18481 pAttachmentInitialSampleLocations = new VkAttachmentSampleLocationsEXT[src.attachmentInitialSampleLocationsCount];
18482 memcpy ((void *)pAttachmentInitialSampleLocations, (void *)src.pAttachmentInitialSampleLocations, sizeof(VkAttachmentSampleLocationsEXT)*src.attachmentInitialSampleLocationsCount);
18483 }
18484 if (src.pPostSubpassSampleLocations) {
18485 pPostSubpassSampleLocations = new VkSubpassSampleLocationsEXT[src.postSubpassSampleLocationsCount];
18486 memcpy ((void *)pPostSubpassSampleLocations, (void *)src.pPostSubpassSampleLocations, sizeof(VkSubpassSampleLocationsEXT)*src.postSubpassSampleLocationsCount);
18487 }
18488
18489 return *this;
18490}
18491
18492safe_VkRenderPassSampleLocationsBeginInfoEXT::~safe_VkRenderPassSampleLocationsBeginInfoEXT()
18493{
18494 if (pAttachmentInitialSampleLocations)
18495 delete[] pAttachmentInitialSampleLocations;
18496 if (pPostSubpassSampleLocations)
18497 delete[] pPostSubpassSampleLocations;
18498}
18499
18500void safe_VkRenderPassSampleLocationsBeginInfoEXT::initialize(const VkRenderPassSampleLocationsBeginInfoEXT* in_struct)
18501{
18502 sType = in_struct->sType;
18503 pNext = in_struct->pNext;
18504 attachmentInitialSampleLocationsCount = in_struct->attachmentInitialSampleLocationsCount;
18505 pAttachmentInitialSampleLocations = nullptr;
18506 postSubpassSampleLocationsCount = in_struct->postSubpassSampleLocationsCount;
18507 pPostSubpassSampleLocations = nullptr;
18508 if (in_struct->pAttachmentInitialSampleLocations) {
18509 pAttachmentInitialSampleLocations = new VkAttachmentSampleLocationsEXT[in_struct->attachmentInitialSampleLocationsCount];
18510 memcpy ((void *)pAttachmentInitialSampleLocations, (void *)in_struct->pAttachmentInitialSampleLocations, sizeof(VkAttachmentSampleLocationsEXT)*in_struct->attachmentInitialSampleLocationsCount);
18511 }
18512 if (in_struct->pPostSubpassSampleLocations) {
18513 pPostSubpassSampleLocations = new VkSubpassSampleLocationsEXT[in_struct->postSubpassSampleLocationsCount];
18514 memcpy ((void *)pPostSubpassSampleLocations, (void *)in_struct->pPostSubpassSampleLocations, sizeof(VkSubpassSampleLocationsEXT)*in_struct->postSubpassSampleLocationsCount);
18515 }
18516}
18517
18518void safe_VkRenderPassSampleLocationsBeginInfoEXT::initialize(const safe_VkRenderPassSampleLocationsBeginInfoEXT* src)
18519{
18520 sType = src->sType;
18521 pNext = src->pNext;
18522 attachmentInitialSampleLocationsCount = src->attachmentInitialSampleLocationsCount;
18523 pAttachmentInitialSampleLocations = nullptr;
18524 postSubpassSampleLocationsCount = src->postSubpassSampleLocationsCount;
18525 pPostSubpassSampleLocations = nullptr;
18526 if (src->pAttachmentInitialSampleLocations) {
18527 pAttachmentInitialSampleLocations = new VkAttachmentSampleLocationsEXT[src->attachmentInitialSampleLocationsCount];
18528 memcpy ((void *)pAttachmentInitialSampleLocations, (void *)src->pAttachmentInitialSampleLocations, sizeof(VkAttachmentSampleLocationsEXT)*src->attachmentInitialSampleLocationsCount);
18529 }
18530 if (src->pPostSubpassSampleLocations) {
18531 pPostSubpassSampleLocations = new VkSubpassSampleLocationsEXT[src->postSubpassSampleLocationsCount];
18532 memcpy ((void *)pPostSubpassSampleLocations, (void *)src->pPostSubpassSampleLocations, sizeof(VkSubpassSampleLocationsEXT)*src->postSubpassSampleLocationsCount);
18533 }
18534}
18535
18536safe_VkPipelineSampleLocationsStateCreateInfoEXT::safe_VkPipelineSampleLocationsStateCreateInfoEXT(const VkPipelineSampleLocationsStateCreateInfoEXT* in_struct) :
18537 sType(in_struct->sType),
18538 pNext(in_struct->pNext),
18539 sampleLocationsEnable(in_struct->sampleLocationsEnable),
18540 sampleLocationsInfo(&in_struct->sampleLocationsInfo)
18541{
18542}
18543
18544safe_VkPipelineSampleLocationsStateCreateInfoEXT::safe_VkPipelineSampleLocationsStateCreateInfoEXT()
18545{}
18546
18547safe_VkPipelineSampleLocationsStateCreateInfoEXT::safe_VkPipelineSampleLocationsStateCreateInfoEXT(const safe_VkPipelineSampleLocationsStateCreateInfoEXT& src)
18548{
18549 sType = src.sType;
18550 pNext = src.pNext;
18551 sampleLocationsEnable = src.sampleLocationsEnable;
18552 sampleLocationsInfo.initialize(&src.sampleLocationsInfo);
18553}
18554
18555safe_VkPipelineSampleLocationsStateCreateInfoEXT& safe_VkPipelineSampleLocationsStateCreateInfoEXT::operator=(const safe_VkPipelineSampleLocationsStateCreateInfoEXT& src)
18556{
18557 if (&src == this) return *this;
18558
18559
18560 sType = src.sType;
18561 pNext = src.pNext;
18562 sampleLocationsEnable = src.sampleLocationsEnable;
18563 sampleLocationsInfo.initialize(&src.sampleLocationsInfo);
18564
18565 return *this;
18566}
18567
18568safe_VkPipelineSampleLocationsStateCreateInfoEXT::~safe_VkPipelineSampleLocationsStateCreateInfoEXT()
18569{
18570}
18571
18572void safe_VkPipelineSampleLocationsStateCreateInfoEXT::initialize(const VkPipelineSampleLocationsStateCreateInfoEXT* in_struct)
18573{
18574 sType = in_struct->sType;
18575 pNext = in_struct->pNext;
18576 sampleLocationsEnable = in_struct->sampleLocationsEnable;
18577 sampleLocationsInfo.initialize(&in_struct->sampleLocationsInfo);
18578}
18579
18580void safe_VkPipelineSampleLocationsStateCreateInfoEXT::initialize(const safe_VkPipelineSampleLocationsStateCreateInfoEXT* src)
18581{
18582 sType = src->sType;
18583 pNext = src->pNext;
18584 sampleLocationsEnable = src->sampleLocationsEnable;
18585 sampleLocationsInfo.initialize(&src->sampleLocationsInfo);
18586}
18587
18588safe_VkPhysicalDeviceSampleLocationsPropertiesEXT::safe_VkPhysicalDeviceSampleLocationsPropertiesEXT(const VkPhysicalDeviceSampleLocationsPropertiesEXT* in_struct) :
18589 sType(in_struct->sType),
18590 pNext(in_struct->pNext),
18591 sampleLocationSampleCounts(in_struct->sampleLocationSampleCounts),
18592 maxSampleLocationGridSize(in_struct->maxSampleLocationGridSize),
18593 sampleLocationSubPixelBits(in_struct->sampleLocationSubPixelBits),
18594 variableSampleLocations(in_struct->variableSampleLocations)
18595{
18596 for (uint32_t i=0; i<2; ++i) {
18597 sampleLocationCoordinateRange[i] = in_struct->sampleLocationCoordinateRange[i];
18598 }
18599}
18600
18601safe_VkPhysicalDeviceSampleLocationsPropertiesEXT::safe_VkPhysicalDeviceSampleLocationsPropertiesEXT()
18602{}
18603
18604safe_VkPhysicalDeviceSampleLocationsPropertiesEXT::safe_VkPhysicalDeviceSampleLocationsPropertiesEXT(const safe_VkPhysicalDeviceSampleLocationsPropertiesEXT& src)
18605{
18606 sType = src.sType;
18607 pNext = src.pNext;
18608 sampleLocationSampleCounts = src.sampleLocationSampleCounts;
18609 maxSampleLocationGridSize = src.maxSampleLocationGridSize;
18610 sampleLocationSubPixelBits = src.sampleLocationSubPixelBits;
18611 variableSampleLocations = src.variableSampleLocations;
18612 for (uint32_t i=0; i<2; ++i) {
18613 sampleLocationCoordinateRange[i] = src.sampleLocationCoordinateRange[i];
18614 }
18615}
18616
18617safe_VkPhysicalDeviceSampleLocationsPropertiesEXT& safe_VkPhysicalDeviceSampleLocationsPropertiesEXT::operator=(const safe_VkPhysicalDeviceSampleLocationsPropertiesEXT& src)
18618{
18619 if (&src == this) return *this;
18620
18621
18622 sType = src.sType;
18623 pNext = src.pNext;
18624 sampleLocationSampleCounts = src.sampleLocationSampleCounts;
18625 maxSampleLocationGridSize = src.maxSampleLocationGridSize;
18626 sampleLocationSubPixelBits = src.sampleLocationSubPixelBits;
18627 variableSampleLocations = src.variableSampleLocations;
18628 for (uint32_t i=0; i<2; ++i) {
18629 sampleLocationCoordinateRange[i] = src.sampleLocationCoordinateRange[i];
18630 }
18631
18632 return *this;
18633}
18634
18635safe_VkPhysicalDeviceSampleLocationsPropertiesEXT::~safe_VkPhysicalDeviceSampleLocationsPropertiesEXT()
18636{
18637}
18638
18639void safe_VkPhysicalDeviceSampleLocationsPropertiesEXT::initialize(const VkPhysicalDeviceSampleLocationsPropertiesEXT* in_struct)
18640{
18641 sType = in_struct->sType;
18642 pNext = in_struct->pNext;
18643 sampleLocationSampleCounts = in_struct->sampleLocationSampleCounts;
18644 maxSampleLocationGridSize = in_struct->maxSampleLocationGridSize;
18645 sampleLocationSubPixelBits = in_struct->sampleLocationSubPixelBits;
18646 variableSampleLocations = in_struct->variableSampleLocations;
18647 for (uint32_t i=0; i<2; ++i) {
18648 sampleLocationCoordinateRange[i] = in_struct->sampleLocationCoordinateRange[i];
18649 }
18650}
18651
18652void safe_VkPhysicalDeviceSampleLocationsPropertiesEXT::initialize(const safe_VkPhysicalDeviceSampleLocationsPropertiesEXT* src)
18653{
18654 sType = src->sType;
18655 pNext = src->pNext;
18656 sampleLocationSampleCounts = src->sampleLocationSampleCounts;
18657 maxSampleLocationGridSize = src->maxSampleLocationGridSize;
18658 sampleLocationSubPixelBits = src->sampleLocationSubPixelBits;
18659 variableSampleLocations = src->variableSampleLocations;
18660 for (uint32_t i=0; i<2; ++i) {
18661 sampleLocationCoordinateRange[i] = src->sampleLocationCoordinateRange[i];
18662 }
18663}
18664
18665safe_VkMultisamplePropertiesEXT::safe_VkMultisamplePropertiesEXT(const VkMultisamplePropertiesEXT* in_struct) :
18666 sType(in_struct->sType),
18667 pNext(in_struct->pNext),
18668 maxSampleLocationGridSize(in_struct->maxSampleLocationGridSize)
18669{
18670}
18671
18672safe_VkMultisamplePropertiesEXT::safe_VkMultisamplePropertiesEXT()
18673{}
18674
18675safe_VkMultisamplePropertiesEXT::safe_VkMultisamplePropertiesEXT(const safe_VkMultisamplePropertiesEXT& src)
18676{
18677 sType = src.sType;
18678 pNext = src.pNext;
18679 maxSampleLocationGridSize = src.maxSampleLocationGridSize;
18680}
18681
18682safe_VkMultisamplePropertiesEXT& safe_VkMultisamplePropertiesEXT::operator=(const safe_VkMultisamplePropertiesEXT& src)
18683{
18684 if (&src == this) return *this;
18685
18686
18687 sType = src.sType;
18688 pNext = src.pNext;
18689 maxSampleLocationGridSize = src.maxSampleLocationGridSize;
18690
18691 return *this;
18692}
18693
18694safe_VkMultisamplePropertiesEXT::~safe_VkMultisamplePropertiesEXT()
18695{
18696}
18697
18698void safe_VkMultisamplePropertiesEXT::initialize(const VkMultisamplePropertiesEXT* in_struct)
18699{
18700 sType = in_struct->sType;
18701 pNext = in_struct->pNext;
18702 maxSampleLocationGridSize = in_struct->maxSampleLocationGridSize;
18703}
18704
18705void safe_VkMultisamplePropertiesEXT::initialize(const safe_VkMultisamplePropertiesEXT* src)
18706{
18707 sType = src->sType;
18708 pNext = src->pNext;
18709 maxSampleLocationGridSize = src->maxSampleLocationGridSize;
18710}
18711
18712safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT::safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT(const VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT* in_struct) :
18713 sType(in_struct->sType),
18714 pNext(in_struct->pNext),
18715 advancedBlendCoherentOperations(in_struct->advancedBlendCoherentOperations)
18716{
18717}
18718
18719safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT::safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT()
18720{}
18721
18722safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT::safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT(const safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT& src)
18723{
18724 sType = src.sType;
18725 pNext = src.pNext;
18726 advancedBlendCoherentOperations = src.advancedBlendCoherentOperations;
18727}
18728
18729safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT& safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT::operator=(const safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT& src)
18730{
18731 if (&src == this) return *this;
18732
18733
18734 sType = src.sType;
18735 pNext = src.pNext;
18736 advancedBlendCoherentOperations = src.advancedBlendCoherentOperations;
18737
18738 return *this;
18739}
18740
18741safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT::~safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT()
18742{
18743}
18744
18745void safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT::initialize(const VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT* in_struct)
18746{
18747 sType = in_struct->sType;
18748 pNext = in_struct->pNext;
18749 advancedBlendCoherentOperations = in_struct->advancedBlendCoherentOperations;
18750}
18751
18752void safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT::initialize(const safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT* src)
18753{
18754 sType = src->sType;
18755 pNext = src->pNext;
18756 advancedBlendCoherentOperations = src->advancedBlendCoherentOperations;
18757}
18758
18759safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT::safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT(const VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT* in_struct) :
18760 sType(in_struct->sType),
18761 pNext(in_struct->pNext),
18762 advancedBlendMaxColorAttachments(in_struct->advancedBlendMaxColorAttachments),
18763 advancedBlendIndependentBlend(in_struct->advancedBlendIndependentBlend),
18764 advancedBlendNonPremultipliedSrcColor(in_struct->advancedBlendNonPremultipliedSrcColor),
18765 advancedBlendNonPremultipliedDstColor(in_struct->advancedBlendNonPremultipliedDstColor),
18766 advancedBlendCorrelatedOverlap(in_struct->advancedBlendCorrelatedOverlap),
18767 advancedBlendAllOperations(in_struct->advancedBlendAllOperations)
18768{
18769}
18770
18771safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT::safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT()
18772{}
18773
18774safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT::safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT(const safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT& src)
18775{
18776 sType = src.sType;
18777 pNext = src.pNext;
18778 advancedBlendMaxColorAttachments = src.advancedBlendMaxColorAttachments;
18779 advancedBlendIndependentBlend = src.advancedBlendIndependentBlend;
18780 advancedBlendNonPremultipliedSrcColor = src.advancedBlendNonPremultipliedSrcColor;
18781 advancedBlendNonPremultipliedDstColor = src.advancedBlendNonPremultipliedDstColor;
18782 advancedBlendCorrelatedOverlap = src.advancedBlendCorrelatedOverlap;
18783 advancedBlendAllOperations = src.advancedBlendAllOperations;
18784}
18785
18786safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT& safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT::operator=(const safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT& src)
18787{
18788 if (&src == this) return *this;
18789
18790
18791 sType = src.sType;
18792 pNext = src.pNext;
18793 advancedBlendMaxColorAttachments = src.advancedBlendMaxColorAttachments;
18794 advancedBlendIndependentBlend = src.advancedBlendIndependentBlend;
18795 advancedBlendNonPremultipliedSrcColor = src.advancedBlendNonPremultipliedSrcColor;
18796 advancedBlendNonPremultipliedDstColor = src.advancedBlendNonPremultipliedDstColor;
18797 advancedBlendCorrelatedOverlap = src.advancedBlendCorrelatedOverlap;
18798 advancedBlendAllOperations = src.advancedBlendAllOperations;
18799
18800 return *this;
18801}
18802
18803safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT::~safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT()
18804{
18805}
18806
18807void safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT::initialize(const VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT* in_struct)
18808{
18809 sType = in_struct->sType;
18810 pNext = in_struct->pNext;
18811 advancedBlendMaxColorAttachments = in_struct->advancedBlendMaxColorAttachments;
18812 advancedBlendIndependentBlend = in_struct->advancedBlendIndependentBlend;
18813 advancedBlendNonPremultipliedSrcColor = in_struct->advancedBlendNonPremultipliedSrcColor;
18814 advancedBlendNonPremultipliedDstColor = in_struct->advancedBlendNonPremultipliedDstColor;
18815 advancedBlendCorrelatedOverlap = in_struct->advancedBlendCorrelatedOverlap;
18816 advancedBlendAllOperations = in_struct->advancedBlendAllOperations;
18817}
18818
18819void safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT::initialize(const safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT* src)
18820{
18821 sType = src->sType;
18822 pNext = src->pNext;
18823 advancedBlendMaxColorAttachments = src->advancedBlendMaxColorAttachments;
18824 advancedBlendIndependentBlend = src->advancedBlendIndependentBlend;
18825 advancedBlendNonPremultipliedSrcColor = src->advancedBlendNonPremultipliedSrcColor;
18826 advancedBlendNonPremultipliedDstColor = src->advancedBlendNonPremultipliedDstColor;
18827 advancedBlendCorrelatedOverlap = src->advancedBlendCorrelatedOverlap;
18828 advancedBlendAllOperations = src->advancedBlendAllOperations;
18829}
18830
18831safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT::safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT(const VkPipelineColorBlendAdvancedStateCreateInfoEXT* in_struct) :
18832 sType(in_struct->sType),
18833 pNext(in_struct->pNext),
18834 srcPremultiplied(in_struct->srcPremultiplied),
18835 dstPremultiplied(in_struct->dstPremultiplied),
18836 blendOverlap(in_struct->blendOverlap)
18837{
18838}
18839
18840safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT::safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT()
18841{}
18842
18843safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT::safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT(const safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT& src)
18844{
18845 sType = src.sType;
18846 pNext = src.pNext;
18847 srcPremultiplied = src.srcPremultiplied;
18848 dstPremultiplied = src.dstPremultiplied;
18849 blendOverlap = src.blendOverlap;
18850}
18851
18852safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT& safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT::operator=(const safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT& src)
18853{
18854 if (&src == this) return *this;
18855
18856
18857 sType = src.sType;
18858 pNext = src.pNext;
18859 srcPremultiplied = src.srcPremultiplied;
18860 dstPremultiplied = src.dstPremultiplied;
18861 blendOverlap = src.blendOverlap;
18862
18863 return *this;
18864}
18865
18866safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT::~safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT()
18867{
18868}
18869
18870void safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT::initialize(const VkPipelineColorBlendAdvancedStateCreateInfoEXT* in_struct)
18871{
18872 sType = in_struct->sType;
18873 pNext = in_struct->pNext;
18874 srcPremultiplied = in_struct->srcPremultiplied;
18875 dstPremultiplied = in_struct->dstPremultiplied;
18876 blendOverlap = in_struct->blendOverlap;
18877}
18878
18879void safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT::initialize(const safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT* src)
18880{
18881 sType = src->sType;
18882 pNext = src->pNext;
18883 srcPremultiplied = src->srcPremultiplied;
18884 dstPremultiplied = src->dstPremultiplied;
18885 blendOverlap = src->blendOverlap;
18886}
18887
18888safe_VkPipelineCoverageToColorStateCreateInfoNV::safe_VkPipelineCoverageToColorStateCreateInfoNV(const VkPipelineCoverageToColorStateCreateInfoNV* in_struct) :
18889 sType(in_struct->sType),
18890 pNext(in_struct->pNext),
18891 flags(in_struct->flags),
18892 coverageToColorEnable(in_struct->coverageToColorEnable),
18893 coverageToColorLocation(in_struct->coverageToColorLocation)
18894{
18895}
18896
18897safe_VkPipelineCoverageToColorStateCreateInfoNV::safe_VkPipelineCoverageToColorStateCreateInfoNV()
18898{}
18899
18900safe_VkPipelineCoverageToColorStateCreateInfoNV::safe_VkPipelineCoverageToColorStateCreateInfoNV(const safe_VkPipelineCoverageToColorStateCreateInfoNV& src)
18901{
18902 sType = src.sType;
18903 pNext = src.pNext;
18904 flags = src.flags;
18905 coverageToColorEnable = src.coverageToColorEnable;
18906 coverageToColorLocation = src.coverageToColorLocation;
18907}
18908
18909safe_VkPipelineCoverageToColorStateCreateInfoNV& safe_VkPipelineCoverageToColorStateCreateInfoNV::operator=(const safe_VkPipelineCoverageToColorStateCreateInfoNV& src)
18910{
18911 if (&src == this) return *this;
18912
18913
18914 sType = src.sType;
18915 pNext = src.pNext;
18916 flags = src.flags;
18917 coverageToColorEnable = src.coverageToColorEnable;
18918 coverageToColorLocation = src.coverageToColorLocation;
18919
18920 return *this;
18921}
18922
18923safe_VkPipelineCoverageToColorStateCreateInfoNV::~safe_VkPipelineCoverageToColorStateCreateInfoNV()
18924{
18925}
18926
18927void safe_VkPipelineCoverageToColorStateCreateInfoNV::initialize(const VkPipelineCoverageToColorStateCreateInfoNV* in_struct)
18928{
18929 sType = in_struct->sType;
18930 pNext = in_struct->pNext;
18931 flags = in_struct->flags;
18932 coverageToColorEnable = in_struct->coverageToColorEnable;
18933 coverageToColorLocation = in_struct->coverageToColorLocation;
18934}
18935
18936void safe_VkPipelineCoverageToColorStateCreateInfoNV::initialize(const safe_VkPipelineCoverageToColorStateCreateInfoNV* src)
18937{
18938 sType = src->sType;
18939 pNext = src->pNext;
18940 flags = src->flags;
18941 coverageToColorEnable = src->coverageToColorEnable;
18942 coverageToColorLocation = src->coverageToColorLocation;
18943}
18944
18945safe_VkPipelineCoverageModulationStateCreateInfoNV::safe_VkPipelineCoverageModulationStateCreateInfoNV(const VkPipelineCoverageModulationStateCreateInfoNV* in_struct) :
18946 sType(in_struct->sType),
18947 pNext(in_struct->pNext),
18948 flags(in_struct->flags),
18949 coverageModulationMode(in_struct->coverageModulationMode),
18950 coverageModulationTableEnable(in_struct->coverageModulationTableEnable),
18951 coverageModulationTableCount(in_struct->coverageModulationTableCount),
18952 pCoverageModulationTable(nullptr)
18953{
18954 if (in_struct->pCoverageModulationTable) {
18955 pCoverageModulationTable = new float[in_struct->coverageModulationTableCount];
18956 memcpy ((void *)pCoverageModulationTable, (void *)in_struct->pCoverageModulationTable, sizeof(float)*in_struct->coverageModulationTableCount);
18957 }
18958}
18959
18960safe_VkPipelineCoverageModulationStateCreateInfoNV::safe_VkPipelineCoverageModulationStateCreateInfoNV() :
18961 pCoverageModulationTable(nullptr)
18962{}
18963
18964safe_VkPipelineCoverageModulationStateCreateInfoNV::safe_VkPipelineCoverageModulationStateCreateInfoNV(const safe_VkPipelineCoverageModulationStateCreateInfoNV& src)
18965{
18966 sType = src.sType;
18967 pNext = src.pNext;
18968 flags = src.flags;
18969 coverageModulationMode = src.coverageModulationMode;
18970 coverageModulationTableEnable = src.coverageModulationTableEnable;
18971 coverageModulationTableCount = src.coverageModulationTableCount;
18972 pCoverageModulationTable = nullptr;
18973 if (src.pCoverageModulationTable) {
18974 pCoverageModulationTable = new float[src.coverageModulationTableCount];
18975 memcpy ((void *)pCoverageModulationTable, (void *)src.pCoverageModulationTable, sizeof(float)*src.coverageModulationTableCount);
18976 }
18977}
18978
18979safe_VkPipelineCoverageModulationStateCreateInfoNV& safe_VkPipelineCoverageModulationStateCreateInfoNV::operator=(const safe_VkPipelineCoverageModulationStateCreateInfoNV& src)
18980{
18981 if (&src == this) return *this;
18982
18983 if (pCoverageModulationTable)
18984 delete[] pCoverageModulationTable;
18985
18986 sType = src.sType;
18987 pNext = src.pNext;
18988 flags = src.flags;
18989 coverageModulationMode = src.coverageModulationMode;
18990 coverageModulationTableEnable = src.coverageModulationTableEnable;
18991 coverageModulationTableCount = src.coverageModulationTableCount;
18992 pCoverageModulationTable = nullptr;
18993 if (src.pCoverageModulationTable) {
18994 pCoverageModulationTable = new float[src.coverageModulationTableCount];
18995 memcpy ((void *)pCoverageModulationTable, (void *)src.pCoverageModulationTable, sizeof(float)*src.coverageModulationTableCount);
18996 }
18997
18998 return *this;
18999}
19000
19001safe_VkPipelineCoverageModulationStateCreateInfoNV::~safe_VkPipelineCoverageModulationStateCreateInfoNV()
19002{
19003 if (pCoverageModulationTable)
19004 delete[] pCoverageModulationTable;
19005}
19006
19007void safe_VkPipelineCoverageModulationStateCreateInfoNV::initialize(const VkPipelineCoverageModulationStateCreateInfoNV* in_struct)
19008{
19009 sType = in_struct->sType;
19010 pNext = in_struct->pNext;
19011 flags = in_struct->flags;
19012 coverageModulationMode = in_struct->coverageModulationMode;
19013 coverageModulationTableEnable = in_struct->coverageModulationTableEnable;
19014 coverageModulationTableCount = in_struct->coverageModulationTableCount;
19015 pCoverageModulationTable = nullptr;
19016 if (in_struct->pCoverageModulationTable) {
19017 pCoverageModulationTable = new float[in_struct->coverageModulationTableCount];
19018 memcpy ((void *)pCoverageModulationTable, (void *)in_struct->pCoverageModulationTable, sizeof(float)*in_struct->coverageModulationTableCount);
19019 }
19020}
19021
19022void safe_VkPipelineCoverageModulationStateCreateInfoNV::initialize(const safe_VkPipelineCoverageModulationStateCreateInfoNV* src)
19023{
19024 sType = src->sType;
19025 pNext = src->pNext;
19026 flags = src->flags;
19027 coverageModulationMode = src->coverageModulationMode;
19028 coverageModulationTableEnable = src->coverageModulationTableEnable;
19029 coverageModulationTableCount = src->coverageModulationTableCount;
19030 pCoverageModulationTable = nullptr;
19031 if (src->pCoverageModulationTable) {
19032 pCoverageModulationTable = new float[src->coverageModulationTableCount];
19033 memcpy ((void *)pCoverageModulationTable, (void *)src->pCoverageModulationTable, sizeof(float)*src->coverageModulationTableCount);
19034 }
19035}
19036
19037safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV::safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV(const VkPhysicalDeviceShaderSMBuiltinsPropertiesNV* in_struct) :
19038 sType(in_struct->sType),
19039 pNext(in_struct->pNext),
19040 shaderSMCount(in_struct->shaderSMCount),
19041 shaderWarpsPerSM(in_struct->shaderWarpsPerSM)
19042{
19043}
19044
19045safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV::safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV()
19046{}
19047
19048safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV::safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV(const safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV& src)
19049{
19050 sType = src.sType;
19051 pNext = src.pNext;
19052 shaderSMCount = src.shaderSMCount;
19053 shaderWarpsPerSM = src.shaderWarpsPerSM;
19054}
19055
19056safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV& safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV::operator=(const safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV& src)
19057{
19058 if (&src == this) return *this;
19059
19060
19061 sType = src.sType;
19062 pNext = src.pNext;
19063 shaderSMCount = src.shaderSMCount;
19064 shaderWarpsPerSM = src.shaderWarpsPerSM;
19065
19066 return *this;
19067}
19068
19069safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV::~safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV()
19070{
19071}
19072
19073void safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV::initialize(const VkPhysicalDeviceShaderSMBuiltinsPropertiesNV* in_struct)
19074{
19075 sType = in_struct->sType;
19076 pNext = in_struct->pNext;
19077 shaderSMCount = in_struct->shaderSMCount;
19078 shaderWarpsPerSM = in_struct->shaderWarpsPerSM;
19079}
19080
19081void safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV::initialize(const safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV* src)
19082{
19083 sType = src->sType;
19084 pNext = src->pNext;
19085 shaderSMCount = src->shaderSMCount;
19086 shaderWarpsPerSM = src->shaderWarpsPerSM;
19087}
19088
19089safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV::safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV(const VkPhysicalDeviceShaderSMBuiltinsFeaturesNV* in_struct) :
19090 sType(in_struct->sType),
19091 pNext(in_struct->pNext),
19092 shaderSMBuiltins(in_struct->shaderSMBuiltins)
19093{
19094}
19095
19096safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV::safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV()
19097{}
19098
19099safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV::safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV(const safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV& src)
19100{
19101 sType = src.sType;
19102 pNext = src.pNext;
19103 shaderSMBuiltins = src.shaderSMBuiltins;
19104}
19105
19106safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV& safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV::operator=(const safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV& src)
19107{
19108 if (&src == this) return *this;
19109
19110
19111 sType = src.sType;
19112 pNext = src.pNext;
19113 shaderSMBuiltins = src.shaderSMBuiltins;
19114
19115 return *this;
19116}
19117
19118safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV::~safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV()
19119{
19120}
19121
19122void safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV::initialize(const VkPhysicalDeviceShaderSMBuiltinsFeaturesNV* in_struct)
19123{
19124 sType = in_struct->sType;
19125 pNext = in_struct->pNext;
19126 shaderSMBuiltins = in_struct->shaderSMBuiltins;
19127}
19128
19129void safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV::initialize(const safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV* src)
19130{
19131 sType = src->sType;
19132 pNext = src->pNext;
19133 shaderSMBuiltins = src->shaderSMBuiltins;
19134}
19135
19136safe_VkDrmFormatModifierPropertiesListEXT::safe_VkDrmFormatModifierPropertiesListEXT(const VkDrmFormatModifierPropertiesListEXT* in_struct) :
19137 sType(in_struct->sType),
19138 pNext(in_struct->pNext),
19139 drmFormatModifierCount(in_struct->drmFormatModifierCount),
19140 pDrmFormatModifierProperties(nullptr)
19141{
19142 if (in_struct->pDrmFormatModifierProperties) {
19143 pDrmFormatModifierProperties = new VkDrmFormatModifierPropertiesEXT[in_struct->drmFormatModifierCount];
19144 memcpy ((void *)pDrmFormatModifierProperties, (void *)in_struct->pDrmFormatModifierProperties, sizeof(VkDrmFormatModifierPropertiesEXT)*in_struct->drmFormatModifierCount);
19145 }
19146}
19147
19148safe_VkDrmFormatModifierPropertiesListEXT::safe_VkDrmFormatModifierPropertiesListEXT() :
19149 pDrmFormatModifierProperties(nullptr)
19150{}
19151
19152safe_VkDrmFormatModifierPropertiesListEXT::safe_VkDrmFormatModifierPropertiesListEXT(const safe_VkDrmFormatModifierPropertiesListEXT& src)
19153{
19154 sType = src.sType;
19155 pNext = src.pNext;
19156 drmFormatModifierCount = src.drmFormatModifierCount;
19157 pDrmFormatModifierProperties = nullptr;
19158 if (src.pDrmFormatModifierProperties) {
19159 pDrmFormatModifierProperties = new VkDrmFormatModifierPropertiesEXT[src.drmFormatModifierCount];
19160 memcpy ((void *)pDrmFormatModifierProperties, (void *)src.pDrmFormatModifierProperties, sizeof(VkDrmFormatModifierPropertiesEXT)*src.drmFormatModifierCount);
19161 }
19162}
19163
19164safe_VkDrmFormatModifierPropertiesListEXT& safe_VkDrmFormatModifierPropertiesListEXT::operator=(const safe_VkDrmFormatModifierPropertiesListEXT& src)
19165{
19166 if (&src == this) return *this;
19167
19168 if (pDrmFormatModifierProperties)
19169 delete[] pDrmFormatModifierProperties;
19170
19171 sType = src.sType;
19172 pNext = src.pNext;
19173 drmFormatModifierCount = src.drmFormatModifierCount;
19174 pDrmFormatModifierProperties = nullptr;
19175 if (src.pDrmFormatModifierProperties) {
19176 pDrmFormatModifierProperties = new VkDrmFormatModifierPropertiesEXT[src.drmFormatModifierCount];
19177 memcpy ((void *)pDrmFormatModifierProperties, (void *)src.pDrmFormatModifierProperties, sizeof(VkDrmFormatModifierPropertiesEXT)*src.drmFormatModifierCount);
19178 }
19179
19180 return *this;
19181}
19182
19183safe_VkDrmFormatModifierPropertiesListEXT::~safe_VkDrmFormatModifierPropertiesListEXT()
19184{
19185 if (pDrmFormatModifierProperties)
19186 delete[] pDrmFormatModifierProperties;
19187}
19188
19189void safe_VkDrmFormatModifierPropertiesListEXT::initialize(const VkDrmFormatModifierPropertiesListEXT* in_struct)
19190{
19191 sType = in_struct->sType;
19192 pNext = in_struct->pNext;
19193 drmFormatModifierCount = in_struct->drmFormatModifierCount;
19194 pDrmFormatModifierProperties = nullptr;
19195 if (in_struct->pDrmFormatModifierProperties) {
19196 pDrmFormatModifierProperties = new VkDrmFormatModifierPropertiesEXT[in_struct->drmFormatModifierCount];
19197 memcpy ((void *)pDrmFormatModifierProperties, (void *)in_struct->pDrmFormatModifierProperties, sizeof(VkDrmFormatModifierPropertiesEXT)*in_struct->drmFormatModifierCount);
19198 }
19199}
19200
19201void safe_VkDrmFormatModifierPropertiesListEXT::initialize(const safe_VkDrmFormatModifierPropertiesListEXT* src)
19202{
19203 sType = src->sType;
19204 pNext = src->pNext;
19205 drmFormatModifierCount = src->drmFormatModifierCount;
19206 pDrmFormatModifierProperties = nullptr;
19207 if (src->pDrmFormatModifierProperties) {
19208 pDrmFormatModifierProperties = new VkDrmFormatModifierPropertiesEXT[src->drmFormatModifierCount];
19209 memcpy ((void *)pDrmFormatModifierProperties, (void *)src->pDrmFormatModifierProperties, sizeof(VkDrmFormatModifierPropertiesEXT)*src->drmFormatModifierCount);
19210 }
19211}
19212
19213safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT::safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT(const VkPhysicalDeviceImageDrmFormatModifierInfoEXT* in_struct) :
19214 sType(in_struct->sType),
19215 pNext(in_struct->pNext),
19216 drmFormatModifier(in_struct->drmFormatModifier),
19217 sharingMode(in_struct->sharingMode),
19218 queueFamilyIndexCount(in_struct->queueFamilyIndexCount),
19219 pQueueFamilyIndices(nullptr)
19220{
19221 if (in_struct->pQueueFamilyIndices) {
19222 pQueueFamilyIndices = new uint32_t[in_struct->queueFamilyIndexCount];
19223 memcpy ((void *)pQueueFamilyIndices, (void *)in_struct->pQueueFamilyIndices, sizeof(uint32_t)*in_struct->queueFamilyIndexCount);
19224 }
19225}
19226
19227safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT::safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT() :
19228 pQueueFamilyIndices(nullptr)
19229{}
19230
19231safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT::safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT(const safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT& src)
19232{
19233 sType = src.sType;
19234 pNext = src.pNext;
19235 drmFormatModifier = src.drmFormatModifier;
19236 sharingMode = src.sharingMode;
19237 queueFamilyIndexCount = src.queueFamilyIndexCount;
19238 pQueueFamilyIndices = nullptr;
19239 if (src.pQueueFamilyIndices) {
19240 pQueueFamilyIndices = new uint32_t[src.queueFamilyIndexCount];
19241 memcpy ((void *)pQueueFamilyIndices, (void *)src.pQueueFamilyIndices, sizeof(uint32_t)*src.queueFamilyIndexCount);
19242 }
19243}
19244
19245safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT& safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT::operator=(const safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT& src)
19246{
19247 if (&src == this) return *this;
19248
19249 if (pQueueFamilyIndices)
19250 delete[] pQueueFamilyIndices;
19251
19252 sType = src.sType;
19253 pNext = src.pNext;
19254 drmFormatModifier = src.drmFormatModifier;
19255 sharingMode = src.sharingMode;
19256 queueFamilyIndexCount = src.queueFamilyIndexCount;
19257 pQueueFamilyIndices = nullptr;
19258 if (src.pQueueFamilyIndices) {
19259 pQueueFamilyIndices = new uint32_t[src.queueFamilyIndexCount];
19260 memcpy ((void *)pQueueFamilyIndices, (void *)src.pQueueFamilyIndices, sizeof(uint32_t)*src.queueFamilyIndexCount);
19261 }
19262
19263 return *this;
19264}
19265
19266safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT::~safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT()
19267{
19268 if (pQueueFamilyIndices)
19269 delete[] pQueueFamilyIndices;
19270}
19271
19272void safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT::initialize(const VkPhysicalDeviceImageDrmFormatModifierInfoEXT* in_struct)
19273{
19274 sType = in_struct->sType;
19275 pNext = in_struct->pNext;
19276 drmFormatModifier = in_struct->drmFormatModifier;
19277 sharingMode = in_struct->sharingMode;
19278 queueFamilyIndexCount = in_struct->queueFamilyIndexCount;
19279 pQueueFamilyIndices = nullptr;
19280 if (in_struct->pQueueFamilyIndices) {
19281 pQueueFamilyIndices = new uint32_t[in_struct->queueFamilyIndexCount];
19282 memcpy ((void *)pQueueFamilyIndices, (void *)in_struct->pQueueFamilyIndices, sizeof(uint32_t)*in_struct->queueFamilyIndexCount);
19283 }
19284}
19285
19286void safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT::initialize(const safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT* src)
19287{
19288 sType = src->sType;
19289 pNext = src->pNext;
19290 drmFormatModifier = src->drmFormatModifier;
19291 sharingMode = src->sharingMode;
19292 queueFamilyIndexCount = src->queueFamilyIndexCount;
19293 pQueueFamilyIndices = nullptr;
19294 if (src->pQueueFamilyIndices) {
19295 pQueueFamilyIndices = new uint32_t[src->queueFamilyIndexCount];
19296 memcpy ((void *)pQueueFamilyIndices, (void *)src->pQueueFamilyIndices, sizeof(uint32_t)*src->queueFamilyIndexCount);
19297 }
19298}
19299
19300safe_VkImageDrmFormatModifierListCreateInfoEXT::safe_VkImageDrmFormatModifierListCreateInfoEXT(const VkImageDrmFormatModifierListCreateInfoEXT* in_struct) :
19301 sType(in_struct->sType),
19302 pNext(in_struct->pNext),
19303 drmFormatModifierCount(in_struct->drmFormatModifierCount),
19304 pDrmFormatModifiers(nullptr)
19305{
19306 if (in_struct->pDrmFormatModifiers) {
19307 pDrmFormatModifiers = new uint64_t[in_struct->drmFormatModifierCount];
19308 memcpy ((void *)pDrmFormatModifiers, (void *)in_struct->pDrmFormatModifiers, sizeof(uint64_t)*in_struct->drmFormatModifierCount);
19309 }
19310}
19311
19312safe_VkImageDrmFormatModifierListCreateInfoEXT::safe_VkImageDrmFormatModifierListCreateInfoEXT() :
19313 pDrmFormatModifiers(nullptr)
19314{}
19315
19316safe_VkImageDrmFormatModifierListCreateInfoEXT::safe_VkImageDrmFormatModifierListCreateInfoEXT(const safe_VkImageDrmFormatModifierListCreateInfoEXT& src)
19317{
19318 sType = src.sType;
19319 pNext = src.pNext;
19320 drmFormatModifierCount = src.drmFormatModifierCount;
19321 pDrmFormatModifiers = nullptr;
19322 if (src.pDrmFormatModifiers) {
19323 pDrmFormatModifiers = new uint64_t[src.drmFormatModifierCount];
19324 memcpy ((void *)pDrmFormatModifiers, (void *)src.pDrmFormatModifiers, sizeof(uint64_t)*src.drmFormatModifierCount);
19325 }
19326}
19327
19328safe_VkImageDrmFormatModifierListCreateInfoEXT& safe_VkImageDrmFormatModifierListCreateInfoEXT::operator=(const safe_VkImageDrmFormatModifierListCreateInfoEXT& src)
19329{
19330 if (&src == this) return *this;
19331
19332 if (pDrmFormatModifiers)
19333 delete[] pDrmFormatModifiers;
19334
19335 sType = src.sType;
19336 pNext = src.pNext;
19337 drmFormatModifierCount = src.drmFormatModifierCount;
19338 pDrmFormatModifiers = nullptr;
19339 if (src.pDrmFormatModifiers) {
19340 pDrmFormatModifiers = new uint64_t[src.drmFormatModifierCount];
19341 memcpy ((void *)pDrmFormatModifiers, (void *)src.pDrmFormatModifiers, sizeof(uint64_t)*src.drmFormatModifierCount);
19342 }
19343
19344 return *this;
19345}
19346
19347safe_VkImageDrmFormatModifierListCreateInfoEXT::~safe_VkImageDrmFormatModifierListCreateInfoEXT()
19348{
19349 if (pDrmFormatModifiers)
19350 delete[] pDrmFormatModifiers;
19351}
19352
19353void safe_VkImageDrmFormatModifierListCreateInfoEXT::initialize(const VkImageDrmFormatModifierListCreateInfoEXT* in_struct)
19354{
19355 sType = in_struct->sType;
19356 pNext = in_struct->pNext;
19357 drmFormatModifierCount = in_struct->drmFormatModifierCount;
19358 pDrmFormatModifiers = nullptr;
19359 if (in_struct->pDrmFormatModifiers) {
19360 pDrmFormatModifiers = new uint64_t[in_struct->drmFormatModifierCount];
19361 memcpy ((void *)pDrmFormatModifiers, (void *)in_struct->pDrmFormatModifiers, sizeof(uint64_t)*in_struct->drmFormatModifierCount);
19362 }
19363}
19364
19365void safe_VkImageDrmFormatModifierListCreateInfoEXT::initialize(const safe_VkImageDrmFormatModifierListCreateInfoEXT* src)
19366{
19367 sType = src->sType;
19368 pNext = src->pNext;
19369 drmFormatModifierCount = src->drmFormatModifierCount;
19370 pDrmFormatModifiers = nullptr;
19371 if (src->pDrmFormatModifiers) {
19372 pDrmFormatModifiers = new uint64_t[src->drmFormatModifierCount];
19373 memcpy ((void *)pDrmFormatModifiers, (void *)src->pDrmFormatModifiers, sizeof(uint64_t)*src->drmFormatModifierCount);
19374 }
19375}
19376
19377safe_VkImageDrmFormatModifierExplicitCreateInfoEXT::safe_VkImageDrmFormatModifierExplicitCreateInfoEXT(const VkImageDrmFormatModifierExplicitCreateInfoEXT* in_struct) :
19378 sType(in_struct->sType),
19379 pNext(in_struct->pNext),
19380 drmFormatModifier(in_struct->drmFormatModifier),
19381 drmFormatModifierPlaneCount(in_struct->drmFormatModifierPlaneCount),
19382 pPlaneLayouts(nullptr)
19383{
19384 if (in_struct->pPlaneLayouts) {
19385 pPlaneLayouts = new VkSubresourceLayout[in_struct->drmFormatModifierPlaneCount];
19386 memcpy ((void *)pPlaneLayouts, (void *)in_struct->pPlaneLayouts, sizeof(VkSubresourceLayout)*in_struct->drmFormatModifierPlaneCount);
19387 }
19388}
19389
19390safe_VkImageDrmFormatModifierExplicitCreateInfoEXT::safe_VkImageDrmFormatModifierExplicitCreateInfoEXT() :
19391 pPlaneLayouts(nullptr)
19392{}
19393
19394safe_VkImageDrmFormatModifierExplicitCreateInfoEXT::safe_VkImageDrmFormatModifierExplicitCreateInfoEXT(const safe_VkImageDrmFormatModifierExplicitCreateInfoEXT& src)
19395{
19396 sType = src.sType;
19397 pNext = src.pNext;
19398 drmFormatModifier = src.drmFormatModifier;
19399 drmFormatModifierPlaneCount = src.drmFormatModifierPlaneCount;
19400 pPlaneLayouts = nullptr;
19401 if (src.pPlaneLayouts) {
19402 pPlaneLayouts = new VkSubresourceLayout[src.drmFormatModifierPlaneCount];
19403 memcpy ((void *)pPlaneLayouts, (void *)src.pPlaneLayouts, sizeof(VkSubresourceLayout)*src.drmFormatModifierPlaneCount);
19404 }
19405}
19406
19407safe_VkImageDrmFormatModifierExplicitCreateInfoEXT& safe_VkImageDrmFormatModifierExplicitCreateInfoEXT::operator=(const safe_VkImageDrmFormatModifierExplicitCreateInfoEXT& src)
19408{
19409 if (&src == this) return *this;
19410
19411 if (pPlaneLayouts)
19412 delete[] pPlaneLayouts;
19413
19414 sType = src.sType;
19415 pNext = src.pNext;
19416 drmFormatModifier = src.drmFormatModifier;
19417 drmFormatModifierPlaneCount = src.drmFormatModifierPlaneCount;
19418 pPlaneLayouts = nullptr;
19419 if (src.pPlaneLayouts) {
19420 pPlaneLayouts = new VkSubresourceLayout[src.drmFormatModifierPlaneCount];
19421 memcpy ((void *)pPlaneLayouts, (void *)src.pPlaneLayouts, sizeof(VkSubresourceLayout)*src.drmFormatModifierPlaneCount);
19422 }
19423
19424 return *this;
19425}
19426
19427safe_VkImageDrmFormatModifierExplicitCreateInfoEXT::~safe_VkImageDrmFormatModifierExplicitCreateInfoEXT()
19428{
19429 if (pPlaneLayouts)
19430 delete[] pPlaneLayouts;
19431}
19432
19433void safe_VkImageDrmFormatModifierExplicitCreateInfoEXT::initialize(const VkImageDrmFormatModifierExplicitCreateInfoEXT* in_struct)
19434{
19435 sType = in_struct->sType;
19436 pNext = in_struct->pNext;
19437 drmFormatModifier = in_struct->drmFormatModifier;
19438 drmFormatModifierPlaneCount = in_struct->drmFormatModifierPlaneCount;
19439 pPlaneLayouts = nullptr;
19440 if (in_struct->pPlaneLayouts) {
19441 pPlaneLayouts = new VkSubresourceLayout[in_struct->drmFormatModifierPlaneCount];
19442 memcpy ((void *)pPlaneLayouts, (void *)in_struct->pPlaneLayouts, sizeof(VkSubresourceLayout)*in_struct->drmFormatModifierPlaneCount);
19443 }
19444}
19445
19446void safe_VkImageDrmFormatModifierExplicitCreateInfoEXT::initialize(const safe_VkImageDrmFormatModifierExplicitCreateInfoEXT* src)
19447{
19448 sType = src->sType;
19449 pNext = src->pNext;
19450 drmFormatModifier = src->drmFormatModifier;
19451 drmFormatModifierPlaneCount = src->drmFormatModifierPlaneCount;
19452 pPlaneLayouts = nullptr;
19453 if (src->pPlaneLayouts) {
19454 pPlaneLayouts = new VkSubresourceLayout[src->drmFormatModifierPlaneCount];
19455 memcpy ((void *)pPlaneLayouts, (void *)src->pPlaneLayouts, sizeof(VkSubresourceLayout)*src->drmFormatModifierPlaneCount);
19456 }
19457}
19458
19459safe_VkImageDrmFormatModifierPropertiesEXT::safe_VkImageDrmFormatModifierPropertiesEXT(const VkImageDrmFormatModifierPropertiesEXT* in_struct) :
19460 sType(in_struct->sType),
19461 pNext(in_struct->pNext),
19462 drmFormatModifier(in_struct->drmFormatModifier)
19463{
19464}
19465
19466safe_VkImageDrmFormatModifierPropertiesEXT::safe_VkImageDrmFormatModifierPropertiesEXT()
19467{}
19468
19469safe_VkImageDrmFormatModifierPropertiesEXT::safe_VkImageDrmFormatModifierPropertiesEXT(const safe_VkImageDrmFormatModifierPropertiesEXT& src)
19470{
19471 sType = src.sType;
19472 pNext = src.pNext;
19473 drmFormatModifier = src.drmFormatModifier;
19474}
19475
19476safe_VkImageDrmFormatModifierPropertiesEXT& safe_VkImageDrmFormatModifierPropertiesEXT::operator=(const safe_VkImageDrmFormatModifierPropertiesEXT& src)
19477{
19478 if (&src == this) return *this;
19479
19480
19481 sType = src.sType;
19482 pNext = src.pNext;
19483 drmFormatModifier = src.drmFormatModifier;
19484
19485 return *this;
19486}
19487
19488safe_VkImageDrmFormatModifierPropertiesEXT::~safe_VkImageDrmFormatModifierPropertiesEXT()
19489{
19490}
19491
19492void safe_VkImageDrmFormatModifierPropertiesEXT::initialize(const VkImageDrmFormatModifierPropertiesEXT* in_struct)
19493{
19494 sType = in_struct->sType;
19495 pNext = in_struct->pNext;
19496 drmFormatModifier = in_struct->drmFormatModifier;
19497}
19498
19499void safe_VkImageDrmFormatModifierPropertiesEXT::initialize(const safe_VkImageDrmFormatModifierPropertiesEXT* src)
19500{
19501 sType = src->sType;
19502 pNext = src->pNext;
19503 drmFormatModifier = src->drmFormatModifier;
19504}
19505
19506safe_VkValidationCacheCreateInfoEXT::safe_VkValidationCacheCreateInfoEXT(const VkValidationCacheCreateInfoEXT* in_struct) :
19507 sType(in_struct->sType),
19508 pNext(in_struct->pNext),
19509 flags(in_struct->flags),
19510 initialDataSize(in_struct->initialDataSize),
19511 pInitialData(in_struct->pInitialData)
19512{
19513}
19514
19515safe_VkValidationCacheCreateInfoEXT::safe_VkValidationCacheCreateInfoEXT()
19516{}
19517
19518safe_VkValidationCacheCreateInfoEXT::safe_VkValidationCacheCreateInfoEXT(const safe_VkValidationCacheCreateInfoEXT& src)
19519{
19520 sType = src.sType;
19521 pNext = src.pNext;
19522 flags = src.flags;
19523 initialDataSize = src.initialDataSize;
19524 pInitialData = src.pInitialData;
19525}
19526
19527safe_VkValidationCacheCreateInfoEXT& safe_VkValidationCacheCreateInfoEXT::operator=(const safe_VkValidationCacheCreateInfoEXT& src)
19528{
19529 if (&src == this) return *this;
19530
19531
19532 sType = src.sType;
19533 pNext = src.pNext;
19534 flags = src.flags;
19535 initialDataSize = src.initialDataSize;
19536 pInitialData = src.pInitialData;
19537
19538 return *this;
19539}
19540
19541safe_VkValidationCacheCreateInfoEXT::~safe_VkValidationCacheCreateInfoEXT()
19542{
19543}
19544
19545void safe_VkValidationCacheCreateInfoEXT::initialize(const VkValidationCacheCreateInfoEXT* in_struct)
19546{
19547 sType = in_struct->sType;
19548 pNext = in_struct->pNext;
19549 flags = in_struct->flags;
19550 initialDataSize = in_struct->initialDataSize;
19551 pInitialData = in_struct->pInitialData;
19552}
19553
19554void safe_VkValidationCacheCreateInfoEXT::initialize(const safe_VkValidationCacheCreateInfoEXT* src)
19555{
19556 sType = src->sType;
19557 pNext = src->pNext;
19558 flags = src->flags;
19559 initialDataSize = src->initialDataSize;
19560 pInitialData = src->pInitialData;
19561}
19562
19563safe_VkShaderModuleValidationCacheCreateInfoEXT::safe_VkShaderModuleValidationCacheCreateInfoEXT(const VkShaderModuleValidationCacheCreateInfoEXT* in_struct) :
19564 sType(in_struct->sType),
19565 pNext(in_struct->pNext),
19566 validationCache(in_struct->validationCache)
19567{
19568}
19569
19570safe_VkShaderModuleValidationCacheCreateInfoEXT::safe_VkShaderModuleValidationCacheCreateInfoEXT()
19571{}
19572
19573safe_VkShaderModuleValidationCacheCreateInfoEXT::safe_VkShaderModuleValidationCacheCreateInfoEXT(const safe_VkShaderModuleValidationCacheCreateInfoEXT& src)
19574{
19575 sType = src.sType;
19576 pNext = src.pNext;
19577 validationCache = src.validationCache;
19578}
19579
19580safe_VkShaderModuleValidationCacheCreateInfoEXT& safe_VkShaderModuleValidationCacheCreateInfoEXT::operator=(const safe_VkShaderModuleValidationCacheCreateInfoEXT& src)
19581{
19582 if (&src == this) return *this;
19583
19584
19585 sType = src.sType;
19586 pNext = src.pNext;
19587 validationCache = src.validationCache;
19588
19589 return *this;
19590}
19591
19592safe_VkShaderModuleValidationCacheCreateInfoEXT::~safe_VkShaderModuleValidationCacheCreateInfoEXT()
19593{
19594}
19595
19596void safe_VkShaderModuleValidationCacheCreateInfoEXT::initialize(const VkShaderModuleValidationCacheCreateInfoEXT* in_struct)
19597{
19598 sType = in_struct->sType;
19599 pNext = in_struct->pNext;
19600 validationCache = in_struct->validationCache;
19601}
19602
19603void safe_VkShaderModuleValidationCacheCreateInfoEXT::initialize(const safe_VkShaderModuleValidationCacheCreateInfoEXT* src)
19604{
19605 sType = src->sType;
19606 pNext = src->pNext;
19607 validationCache = src->validationCache;
19608}
19609
19610safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT::safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT(const VkDescriptorSetLayoutBindingFlagsCreateInfoEXT* in_struct) :
19611 sType(in_struct->sType),
19612 pNext(in_struct->pNext),
19613 bindingCount(in_struct->bindingCount),
19614 pBindingFlags(nullptr)
19615{
19616 if (in_struct->pBindingFlags) {
19617 pBindingFlags = new VkDescriptorBindingFlagsEXT[in_struct->bindingCount];
19618 memcpy ((void *)pBindingFlags, (void *)in_struct->pBindingFlags, sizeof(VkDescriptorBindingFlagsEXT)*in_struct->bindingCount);
19619 }
19620}
19621
19622safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT::safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT() :
19623 pBindingFlags(nullptr)
19624{}
19625
19626safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT::safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT(const safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT& src)
19627{
19628 sType = src.sType;
19629 pNext = src.pNext;
19630 bindingCount = src.bindingCount;
19631 pBindingFlags = nullptr;
19632 if (src.pBindingFlags) {
19633 pBindingFlags = new VkDescriptorBindingFlagsEXT[src.bindingCount];
19634 memcpy ((void *)pBindingFlags, (void *)src.pBindingFlags, sizeof(VkDescriptorBindingFlagsEXT)*src.bindingCount);
19635 }
19636}
19637
19638safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT& safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT::operator=(const safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT& src)
19639{
19640 if (&src == this) return *this;
19641
19642 if (pBindingFlags)
19643 delete[] pBindingFlags;
19644
19645 sType = src.sType;
19646 pNext = src.pNext;
19647 bindingCount = src.bindingCount;
19648 pBindingFlags = nullptr;
19649 if (src.pBindingFlags) {
19650 pBindingFlags = new VkDescriptorBindingFlagsEXT[src.bindingCount];
19651 memcpy ((void *)pBindingFlags, (void *)src.pBindingFlags, sizeof(VkDescriptorBindingFlagsEXT)*src.bindingCount);
19652 }
19653
19654 return *this;
19655}
19656
19657safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT::~safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT()
19658{
19659 if (pBindingFlags)
19660 delete[] pBindingFlags;
19661}
19662
19663void safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT::initialize(const VkDescriptorSetLayoutBindingFlagsCreateInfoEXT* in_struct)
19664{
19665 sType = in_struct->sType;
19666 pNext = in_struct->pNext;
19667 bindingCount = in_struct->bindingCount;
19668 pBindingFlags = nullptr;
19669 if (in_struct->pBindingFlags) {
19670 pBindingFlags = new VkDescriptorBindingFlagsEXT[in_struct->bindingCount];
19671 memcpy ((void *)pBindingFlags, (void *)in_struct->pBindingFlags, sizeof(VkDescriptorBindingFlagsEXT)*in_struct->bindingCount);
19672 }
19673}
19674
19675void safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT::initialize(const safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT* src)
19676{
19677 sType = src->sType;
19678 pNext = src->pNext;
19679 bindingCount = src->bindingCount;
19680 pBindingFlags = nullptr;
19681 if (src->pBindingFlags) {
19682 pBindingFlags = new VkDescriptorBindingFlagsEXT[src->bindingCount];
19683 memcpy ((void *)pBindingFlags, (void *)src->pBindingFlags, sizeof(VkDescriptorBindingFlagsEXT)*src->bindingCount);
19684 }
19685}
19686
19687safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT::safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT(const VkPhysicalDeviceDescriptorIndexingFeaturesEXT* in_struct) :
19688 sType(in_struct->sType),
19689 pNext(in_struct->pNext),
19690 shaderInputAttachmentArrayDynamicIndexing(in_struct->shaderInputAttachmentArrayDynamicIndexing),
19691 shaderUniformTexelBufferArrayDynamicIndexing(in_struct->shaderUniformTexelBufferArrayDynamicIndexing),
19692 shaderStorageTexelBufferArrayDynamicIndexing(in_struct->shaderStorageTexelBufferArrayDynamicIndexing),
19693 shaderUniformBufferArrayNonUniformIndexing(in_struct->shaderUniformBufferArrayNonUniformIndexing),
19694 shaderSampledImageArrayNonUniformIndexing(in_struct->shaderSampledImageArrayNonUniformIndexing),
19695 shaderStorageBufferArrayNonUniformIndexing(in_struct->shaderStorageBufferArrayNonUniformIndexing),
19696 shaderStorageImageArrayNonUniformIndexing(in_struct->shaderStorageImageArrayNonUniformIndexing),
19697 shaderInputAttachmentArrayNonUniformIndexing(in_struct->shaderInputAttachmentArrayNonUniformIndexing),
19698 shaderUniformTexelBufferArrayNonUniformIndexing(in_struct->shaderUniformTexelBufferArrayNonUniformIndexing),
19699 shaderStorageTexelBufferArrayNonUniformIndexing(in_struct->shaderStorageTexelBufferArrayNonUniformIndexing),
19700 descriptorBindingUniformBufferUpdateAfterBind(in_struct->descriptorBindingUniformBufferUpdateAfterBind),
19701 descriptorBindingSampledImageUpdateAfterBind(in_struct->descriptorBindingSampledImageUpdateAfterBind),
19702 descriptorBindingStorageImageUpdateAfterBind(in_struct->descriptorBindingStorageImageUpdateAfterBind),
19703 descriptorBindingStorageBufferUpdateAfterBind(in_struct->descriptorBindingStorageBufferUpdateAfterBind),
19704 descriptorBindingUniformTexelBufferUpdateAfterBind(in_struct->descriptorBindingUniformTexelBufferUpdateAfterBind),
19705 descriptorBindingStorageTexelBufferUpdateAfterBind(in_struct->descriptorBindingStorageTexelBufferUpdateAfterBind),
19706 descriptorBindingUpdateUnusedWhilePending(in_struct->descriptorBindingUpdateUnusedWhilePending),
19707 descriptorBindingPartiallyBound(in_struct->descriptorBindingPartiallyBound),
19708 descriptorBindingVariableDescriptorCount(in_struct->descriptorBindingVariableDescriptorCount),
19709 runtimeDescriptorArray(in_struct->runtimeDescriptorArray)
19710{
19711}
19712
19713safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT::safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT()
19714{}
19715
19716safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT::safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT(const safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT& src)
19717{
19718 sType = src.sType;
19719 pNext = src.pNext;
19720 shaderInputAttachmentArrayDynamicIndexing = src.shaderInputAttachmentArrayDynamicIndexing;
19721 shaderUniformTexelBufferArrayDynamicIndexing = src.shaderUniformTexelBufferArrayDynamicIndexing;
19722 shaderStorageTexelBufferArrayDynamicIndexing = src.shaderStorageTexelBufferArrayDynamicIndexing;
19723 shaderUniformBufferArrayNonUniformIndexing = src.shaderUniformBufferArrayNonUniformIndexing;
19724 shaderSampledImageArrayNonUniformIndexing = src.shaderSampledImageArrayNonUniformIndexing;
19725 shaderStorageBufferArrayNonUniformIndexing = src.shaderStorageBufferArrayNonUniformIndexing;
19726 shaderStorageImageArrayNonUniformIndexing = src.shaderStorageImageArrayNonUniformIndexing;
19727 shaderInputAttachmentArrayNonUniformIndexing = src.shaderInputAttachmentArrayNonUniformIndexing;
19728 shaderUniformTexelBufferArrayNonUniformIndexing = src.shaderUniformTexelBufferArrayNonUniformIndexing;
19729 shaderStorageTexelBufferArrayNonUniformIndexing = src.shaderStorageTexelBufferArrayNonUniformIndexing;
19730 descriptorBindingUniformBufferUpdateAfterBind = src.descriptorBindingUniformBufferUpdateAfterBind;
19731 descriptorBindingSampledImageUpdateAfterBind = src.descriptorBindingSampledImageUpdateAfterBind;
19732 descriptorBindingStorageImageUpdateAfterBind = src.descriptorBindingStorageImageUpdateAfterBind;
19733 descriptorBindingStorageBufferUpdateAfterBind = src.descriptorBindingStorageBufferUpdateAfterBind;
19734 descriptorBindingUniformTexelBufferUpdateAfterBind = src.descriptorBindingUniformTexelBufferUpdateAfterBind;
19735 descriptorBindingStorageTexelBufferUpdateAfterBind = src.descriptorBindingStorageTexelBufferUpdateAfterBind;
19736 descriptorBindingUpdateUnusedWhilePending = src.descriptorBindingUpdateUnusedWhilePending;
19737 descriptorBindingPartiallyBound = src.descriptorBindingPartiallyBound;
19738 descriptorBindingVariableDescriptorCount = src.descriptorBindingVariableDescriptorCount;
19739 runtimeDescriptorArray = src.runtimeDescriptorArray;
19740}
19741
19742safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT& safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT::operator=(const safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT& src)
19743{
19744 if (&src == this) return *this;
19745
19746
19747 sType = src.sType;
19748 pNext = src.pNext;
19749 shaderInputAttachmentArrayDynamicIndexing = src.shaderInputAttachmentArrayDynamicIndexing;
19750 shaderUniformTexelBufferArrayDynamicIndexing = src.shaderUniformTexelBufferArrayDynamicIndexing;
19751 shaderStorageTexelBufferArrayDynamicIndexing = src.shaderStorageTexelBufferArrayDynamicIndexing;
19752 shaderUniformBufferArrayNonUniformIndexing = src.shaderUniformBufferArrayNonUniformIndexing;
19753 shaderSampledImageArrayNonUniformIndexing = src.shaderSampledImageArrayNonUniformIndexing;
19754 shaderStorageBufferArrayNonUniformIndexing = src.shaderStorageBufferArrayNonUniformIndexing;
19755 shaderStorageImageArrayNonUniformIndexing = src.shaderStorageImageArrayNonUniformIndexing;
19756 shaderInputAttachmentArrayNonUniformIndexing = src.shaderInputAttachmentArrayNonUniformIndexing;
19757 shaderUniformTexelBufferArrayNonUniformIndexing = src.shaderUniformTexelBufferArrayNonUniformIndexing;
19758 shaderStorageTexelBufferArrayNonUniformIndexing = src.shaderStorageTexelBufferArrayNonUniformIndexing;
19759 descriptorBindingUniformBufferUpdateAfterBind = src.descriptorBindingUniformBufferUpdateAfterBind;
19760 descriptorBindingSampledImageUpdateAfterBind = src.descriptorBindingSampledImageUpdateAfterBind;
19761 descriptorBindingStorageImageUpdateAfterBind = src.descriptorBindingStorageImageUpdateAfterBind;
19762 descriptorBindingStorageBufferUpdateAfterBind = src.descriptorBindingStorageBufferUpdateAfterBind;
19763 descriptorBindingUniformTexelBufferUpdateAfterBind = src.descriptorBindingUniformTexelBufferUpdateAfterBind;
19764 descriptorBindingStorageTexelBufferUpdateAfterBind = src.descriptorBindingStorageTexelBufferUpdateAfterBind;
19765 descriptorBindingUpdateUnusedWhilePending = src.descriptorBindingUpdateUnusedWhilePending;
19766 descriptorBindingPartiallyBound = src.descriptorBindingPartiallyBound;
19767 descriptorBindingVariableDescriptorCount = src.descriptorBindingVariableDescriptorCount;
19768 runtimeDescriptorArray = src.runtimeDescriptorArray;
19769
19770 return *this;
19771}
19772
19773safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT::~safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT()
19774{
19775}
19776
19777void safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT::initialize(const VkPhysicalDeviceDescriptorIndexingFeaturesEXT* in_struct)
19778{
19779 sType = in_struct->sType;
19780 pNext = in_struct->pNext;
19781 shaderInputAttachmentArrayDynamicIndexing = in_struct->shaderInputAttachmentArrayDynamicIndexing;
19782 shaderUniformTexelBufferArrayDynamicIndexing = in_struct->shaderUniformTexelBufferArrayDynamicIndexing;
19783 shaderStorageTexelBufferArrayDynamicIndexing = in_struct->shaderStorageTexelBufferArrayDynamicIndexing;
19784 shaderUniformBufferArrayNonUniformIndexing = in_struct->shaderUniformBufferArrayNonUniformIndexing;
19785 shaderSampledImageArrayNonUniformIndexing = in_struct->shaderSampledImageArrayNonUniformIndexing;
19786 shaderStorageBufferArrayNonUniformIndexing = in_struct->shaderStorageBufferArrayNonUniformIndexing;
19787 shaderStorageImageArrayNonUniformIndexing = in_struct->shaderStorageImageArrayNonUniformIndexing;
19788 shaderInputAttachmentArrayNonUniformIndexing = in_struct->shaderInputAttachmentArrayNonUniformIndexing;
19789 shaderUniformTexelBufferArrayNonUniformIndexing = in_struct->shaderUniformTexelBufferArrayNonUniformIndexing;
19790 shaderStorageTexelBufferArrayNonUniformIndexing = in_struct->shaderStorageTexelBufferArrayNonUniformIndexing;
19791 descriptorBindingUniformBufferUpdateAfterBind = in_struct->descriptorBindingUniformBufferUpdateAfterBind;
19792 descriptorBindingSampledImageUpdateAfterBind = in_struct->descriptorBindingSampledImageUpdateAfterBind;
19793 descriptorBindingStorageImageUpdateAfterBind = in_struct->descriptorBindingStorageImageUpdateAfterBind;
19794 descriptorBindingStorageBufferUpdateAfterBind = in_struct->descriptorBindingStorageBufferUpdateAfterBind;
19795 descriptorBindingUniformTexelBufferUpdateAfterBind = in_struct->descriptorBindingUniformTexelBufferUpdateAfterBind;
19796 descriptorBindingStorageTexelBufferUpdateAfterBind = in_struct->descriptorBindingStorageTexelBufferUpdateAfterBind;
19797 descriptorBindingUpdateUnusedWhilePending = in_struct->descriptorBindingUpdateUnusedWhilePending;
19798 descriptorBindingPartiallyBound = in_struct->descriptorBindingPartiallyBound;
19799 descriptorBindingVariableDescriptorCount = in_struct->descriptorBindingVariableDescriptorCount;
19800 runtimeDescriptorArray = in_struct->runtimeDescriptorArray;
19801}
19802
19803void safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT::initialize(const safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT* src)
19804{
19805 sType = src->sType;
19806 pNext = src->pNext;
19807 shaderInputAttachmentArrayDynamicIndexing = src->shaderInputAttachmentArrayDynamicIndexing;
19808 shaderUniformTexelBufferArrayDynamicIndexing = src->shaderUniformTexelBufferArrayDynamicIndexing;
19809 shaderStorageTexelBufferArrayDynamicIndexing = src->shaderStorageTexelBufferArrayDynamicIndexing;
19810 shaderUniformBufferArrayNonUniformIndexing = src->shaderUniformBufferArrayNonUniformIndexing;
19811 shaderSampledImageArrayNonUniformIndexing = src->shaderSampledImageArrayNonUniformIndexing;
19812 shaderStorageBufferArrayNonUniformIndexing = src->shaderStorageBufferArrayNonUniformIndexing;
19813 shaderStorageImageArrayNonUniformIndexing = src->shaderStorageImageArrayNonUniformIndexing;
19814 shaderInputAttachmentArrayNonUniformIndexing = src->shaderInputAttachmentArrayNonUniformIndexing;
19815 shaderUniformTexelBufferArrayNonUniformIndexing = src->shaderUniformTexelBufferArrayNonUniformIndexing;
19816 shaderStorageTexelBufferArrayNonUniformIndexing = src->shaderStorageTexelBufferArrayNonUniformIndexing;
19817 descriptorBindingUniformBufferUpdateAfterBind = src->descriptorBindingUniformBufferUpdateAfterBind;
19818 descriptorBindingSampledImageUpdateAfterBind = src->descriptorBindingSampledImageUpdateAfterBind;
19819 descriptorBindingStorageImageUpdateAfterBind = src->descriptorBindingStorageImageUpdateAfterBind;
19820 descriptorBindingStorageBufferUpdateAfterBind = src->descriptorBindingStorageBufferUpdateAfterBind;
19821 descriptorBindingUniformTexelBufferUpdateAfterBind = src->descriptorBindingUniformTexelBufferUpdateAfterBind;
19822 descriptorBindingStorageTexelBufferUpdateAfterBind = src->descriptorBindingStorageTexelBufferUpdateAfterBind;
19823 descriptorBindingUpdateUnusedWhilePending = src->descriptorBindingUpdateUnusedWhilePending;
19824 descriptorBindingPartiallyBound = src->descriptorBindingPartiallyBound;
19825 descriptorBindingVariableDescriptorCount = src->descriptorBindingVariableDescriptorCount;
19826 runtimeDescriptorArray = src->runtimeDescriptorArray;
19827}
19828
19829safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT::safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT(const VkPhysicalDeviceDescriptorIndexingPropertiesEXT* in_struct) :
19830 sType(in_struct->sType),
19831 pNext(in_struct->pNext),
19832 maxUpdateAfterBindDescriptorsInAllPools(in_struct->maxUpdateAfterBindDescriptorsInAllPools),
19833 shaderUniformBufferArrayNonUniformIndexingNative(in_struct->shaderUniformBufferArrayNonUniformIndexingNative),
19834 shaderSampledImageArrayNonUniformIndexingNative(in_struct->shaderSampledImageArrayNonUniformIndexingNative),
19835 shaderStorageBufferArrayNonUniformIndexingNative(in_struct->shaderStorageBufferArrayNonUniformIndexingNative),
19836 shaderStorageImageArrayNonUniformIndexingNative(in_struct->shaderStorageImageArrayNonUniformIndexingNative),
19837 shaderInputAttachmentArrayNonUniformIndexingNative(in_struct->shaderInputAttachmentArrayNonUniformIndexingNative),
19838 robustBufferAccessUpdateAfterBind(in_struct->robustBufferAccessUpdateAfterBind),
19839 quadDivergentImplicitLod(in_struct->quadDivergentImplicitLod),
19840 maxPerStageDescriptorUpdateAfterBindSamplers(in_struct->maxPerStageDescriptorUpdateAfterBindSamplers),
19841 maxPerStageDescriptorUpdateAfterBindUniformBuffers(in_struct->maxPerStageDescriptorUpdateAfterBindUniformBuffers),
19842 maxPerStageDescriptorUpdateAfterBindStorageBuffers(in_struct->maxPerStageDescriptorUpdateAfterBindStorageBuffers),
19843 maxPerStageDescriptorUpdateAfterBindSampledImages(in_struct->maxPerStageDescriptorUpdateAfterBindSampledImages),
19844 maxPerStageDescriptorUpdateAfterBindStorageImages(in_struct->maxPerStageDescriptorUpdateAfterBindStorageImages),
19845 maxPerStageDescriptorUpdateAfterBindInputAttachments(in_struct->maxPerStageDescriptorUpdateAfterBindInputAttachments),
19846 maxPerStageUpdateAfterBindResources(in_struct->maxPerStageUpdateAfterBindResources),
19847 maxDescriptorSetUpdateAfterBindSamplers(in_struct->maxDescriptorSetUpdateAfterBindSamplers),
19848 maxDescriptorSetUpdateAfterBindUniformBuffers(in_struct->maxDescriptorSetUpdateAfterBindUniformBuffers),
19849 maxDescriptorSetUpdateAfterBindUniformBuffersDynamic(in_struct->maxDescriptorSetUpdateAfterBindUniformBuffersDynamic),
19850 maxDescriptorSetUpdateAfterBindStorageBuffers(in_struct->maxDescriptorSetUpdateAfterBindStorageBuffers),
19851 maxDescriptorSetUpdateAfterBindStorageBuffersDynamic(in_struct->maxDescriptorSetUpdateAfterBindStorageBuffersDynamic),
19852 maxDescriptorSetUpdateAfterBindSampledImages(in_struct->maxDescriptorSetUpdateAfterBindSampledImages),
19853 maxDescriptorSetUpdateAfterBindStorageImages(in_struct->maxDescriptorSetUpdateAfterBindStorageImages),
19854 maxDescriptorSetUpdateAfterBindInputAttachments(in_struct->maxDescriptorSetUpdateAfterBindInputAttachments)
19855{
19856}
19857
19858safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT::safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT()
19859{}
19860
19861safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT::safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT(const safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT& src)
19862{
19863 sType = src.sType;
19864 pNext = src.pNext;
19865 maxUpdateAfterBindDescriptorsInAllPools = src.maxUpdateAfterBindDescriptorsInAllPools;
19866 shaderUniformBufferArrayNonUniformIndexingNative = src.shaderUniformBufferArrayNonUniformIndexingNative;
19867 shaderSampledImageArrayNonUniformIndexingNative = src.shaderSampledImageArrayNonUniformIndexingNative;
19868 shaderStorageBufferArrayNonUniformIndexingNative = src.shaderStorageBufferArrayNonUniformIndexingNative;
19869 shaderStorageImageArrayNonUniformIndexingNative = src.shaderStorageImageArrayNonUniformIndexingNative;
19870 shaderInputAttachmentArrayNonUniformIndexingNative = src.shaderInputAttachmentArrayNonUniformIndexingNative;
19871 robustBufferAccessUpdateAfterBind = src.robustBufferAccessUpdateAfterBind;
19872 quadDivergentImplicitLod = src.quadDivergentImplicitLod;
19873 maxPerStageDescriptorUpdateAfterBindSamplers = src.maxPerStageDescriptorUpdateAfterBindSamplers;
19874 maxPerStageDescriptorUpdateAfterBindUniformBuffers = src.maxPerStageDescriptorUpdateAfterBindUniformBuffers;
19875 maxPerStageDescriptorUpdateAfterBindStorageBuffers = src.maxPerStageDescriptorUpdateAfterBindStorageBuffers;
19876 maxPerStageDescriptorUpdateAfterBindSampledImages = src.maxPerStageDescriptorUpdateAfterBindSampledImages;
19877 maxPerStageDescriptorUpdateAfterBindStorageImages = src.maxPerStageDescriptorUpdateAfterBindStorageImages;
19878 maxPerStageDescriptorUpdateAfterBindInputAttachments = src.maxPerStageDescriptorUpdateAfterBindInputAttachments;
19879 maxPerStageUpdateAfterBindResources = src.maxPerStageUpdateAfterBindResources;
19880 maxDescriptorSetUpdateAfterBindSamplers = src.maxDescriptorSetUpdateAfterBindSamplers;
19881 maxDescriptorSetUpdateAfterBindUniformBuffers = src.maxDescriptorSetUpdateAfterBindUniformBuffers;
19882 maxDescriptorSetUpdateAfterBindUniformBuffersDynamic = src.maxDescriptorSetUpdateAfterBindUniformBuffersDynamic;
19883 maxDescriptorSetUpdateAfterBindStorageBuffers = src.maxDescriptorSetUpdateAfterBindStorageBuffers;
19884 maxDescriptorSetUpdateAfterBindStorageBuffersDynamic = src.maxDescriptorSetUpdateAfterBindStorageBuffersDynamic;
19885 maxDescriptorSetUpdateAfterBindSampledImages = src.maxDescriptorSetUpdateAfterBindSampledImages;
19886 maxDescriptorSetUpdateAfterBindStorageImages = src.maxDescriptorSetUpdateAfterBindStorageImages;
19887 maxDescriptorSetUpdateAfterBindInputAttachments = src.maxDescriptorSetUpdateAfterBindInputAttachments;
19888}
19889
19890safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT& safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT::operator=(const safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT& src)
19891{
19892 if (&src == this) return *this;
19893
19894
19895 sType = src.sType;
19896 pNext = src.pNext;
19897 maxUpdateAfterBindDescriptorsInAllPools = src.maxUpdateAfterBindDescriptorsInAllPools;
19898 shaderUniformBufferArrayNonUniformIndexingNative = src.shaderUniformBufferArrayNonUniformIndexingNative;
19899 shaderSampledImageArrayNonUniformIndexingNative = src.shaderSampledImageArrayNonUniformIndexingNative;
19900 shaderStorageBufferArrayNonUniformIndexingNative = src.shaderStorageBufferArrayNonUniformIndexingNative;
19901 shaderStorageImageArrayNonUniformIndexingNative = src.shaderStorageImageArrayNonUniformIndexingNative;
19902 shaderInputAttachmentArrayNonUniformIndexingNative = src.shaderInputAttachmentArrayNonUniformIndexingNative;
19903 robustBufferAccessUpdateAfterBind = src.robustBufferAccessUpdateAfterBind;
19904 quadDivergentImplicitLod = src.quadDivergentImplicitLod;
19905 maxPerStageDescriptorUpdateAfterBindSamplers = src.maxPerStageDescriptorUpdateAfterBindSamplers;
19906 maxPerStageDescriptorUpdateAfterBindUniformBuffers = src.maxPerStageDescriptorUpdateAfterBindUniformBuffers;
19907 maxPerStageDescriptorUpdateAfterBindStorageBuffers = src.maxPerStageDescriptorUpdateAfterBindStorageBuffers;
19908 maxPerStageDescriptorUpdateAfterBindSampledImages = src.maxPerStageDescriptorUpdateAfterBindSampledImages;
19909 maxPerStageDescriptorUpdateAfterBindStorageImages = src.maxPerStageDescriptorUpdateAfterBindStorageImages;
19910 maxPerStageDescriptorUpdateAfterBindInputAttachments = src.maxPerStageDescriptorUpdateAfterBindInputAttachments;
19911 maxPerStageUpdateAfterBindResources = src.maxPerStageUpdateAfterBindResources;
19912 maxDescriptorSetUpdateAfterBindSamplers = src.maxDescriptorSetUpdateAfterBindSamplers;
19913 maxDescriptorSetUpdateAfterBindUniformBuffers = src.maxDescriptorSetUpdateAfterBindUniformBuffers;
19914 maxDescriptorSetUpdateAfterBindUniformBuffersDynamic = src.maxDescriptorSetUpdateAfterBindUniformBuffersDynamic;
19915 maxDescriptorSetUpdateAfterBindStorageBuffers = src.maxDescriptorSetUpdateAfterBindStorageBuffers;
19916 maxDescriptorSetUpdateAfterBindStorageBuffersDynamic = src.maxDescriptorSetUpdateAfterBindStorageBuffersDynamic;
19917 maxDescriptorSetUpdateAfterBindSampledImages = src.maxDescriptorSetUpdateAfterBindSampledImages;
19918 maxDescriptorSetUpdateAfterBindStorageImages = src.maxDescriptorSetUpdateAfterBindStorageImages;
19919 maxDescriptorSetUpdateAfterBindInputAttachments = src.maxDescriptorSetUpdateAfterBindInputAttachments;
19920
19921 return *this;
19922}
19923
19924safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT::~safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT()
19925{
19926}
19927
19928void safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT::initialize(const VkPhysicalDeviceDescriptorIndexingPropertiesEXT* in_struct)
19929{
19930 sType = in_struct->sType;
19931 pNext = in_struct->pNext;
19932 maxUpdateAfterBindDescriptorsInAllPools = in_struct->maxUpdateAfterBindDescriptorsInAllPools;
19933 shaderUniformBufferArrayNonUniformIndexingNative = in_struct->shaderUniformBufferArrayNonUniformIndexingNative;
19934 shaderSampledImageArrayNonUniformIndexingNative = in_struct->shaderSampledImageArrayNonUniformIndexingNative;
19935 shaderStorageBufferArrayNonUniformIndexingNative = in_struct->shaderStorageBufferArrayNonUniformIndexingNative;
19936 shaderStorageImageArrayNonUniformIndexingNative = in_struct->shaderStorageImageArrayNonUniformIndexingNative;
19937 shaderInputAttachmentArrayNonUniformIndexingNative = in_struct->shaderInputAttachmentArrayNonUniformIndexingNative;
19938 robustBufferAccessUpdateAfterBind = in_struct->robustBufferAccessUpdateAfterBind;
19939 quadDivergentImplicitLod = in_struct->quadDivergentImplicitLod;
19940 maxPerStageDescriptorUpdateAfterBindSamplers = in_struct->maxPerStageDescriptorUpdateAfterBindSamplers;
19941 maxPerStageDescriptorUpdateAfterBindUniformBuffers = in_struct->maxPerStageDescriptorUpdateAfterBindUniformBuffers;
19942 maxPerStageDescriptorUpdateAfterBindStorageBuffers = in_struct->maxPerStageDescriptorUpdateAfterBindStorageBuffers;
19943 maxPerStageDescriptorUpdateAfterBindSampledImages = in_struct->maxPerStageDescriptorUpdateAfterBindSampledImages;
19944 maxPerStageDescriptorUpdateAfterBindStorageImages = in_struct->maxPerStageDescriptorUpdateAfterBindStorageImages;
19945 maxPerStageDescriptorUpdateAfterBindInputAttachments = in_struct->maxPerStageDescriptorUpdateAfterBindInputAttachments;
19946 maxPerStageUpdateAfterBindResources = in_struct->maxPerStageUpdateAfterBindResources;
19947 maxDescriptorSetUpdateAfterBindSamplers = in_struct->maxDescriptorSetUpdateAfterBindSamplers;
19948 maxDescriptorSetUpdateAfterBindUniformBuffers = in_struct->maxDescriptorSetUpdateAfterBindUniformBuffers;
19949 maxDescriptorSetUpdateAfterBindUniformBuffersDynamic = in_struct->maxDescriptorSetUpdateAfterBindUniformBuffersDynamic;
19950 maxDescriptorSetUpdateAfterBindStorageBuffers = in_struct->maxDescriptorSetUpdateAfterBindStorageBuffers;
19951 maxDescriptorSetUpdateAfterBindStorageBuffersDynamic = in_struct->maxDescriptorSetUpdateAfterBindStorageBuffersDynamic;
19952 maxDescriptorSetUpdateAfterBindSampledImages = in_struct->maxDescriptorSetUpdateAfterBindSampledImages;
19953 maxDescriptorSetUpdateAfterBindStorageImages = in_struct->maxDescriptorSetUpdateAfterBindStorageImages;
19954 maxDescriptorSetUpdateAfterBindInputAttachments = in_struct->maxDescriptorSetUpdateAfterBindInputAttachments;
19955}
19956
19957void safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT::initialize(const safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT* src)
19958{
19959 sType = src->sType;
19960 pNext = src->pNext;
19961 maxUpdateAfterBindDescriptorsInAllPools = src->maxUpdateAfterBindDescriptorsInAllPools;
19962 shaderUniformBufferArrayNonUniformIndexingNative = src->shaderUniformBufferArrayNonUniformIndexingNative;
19963 shaderSampledImageArrayNonUniformIndexingNative = src->shaderSampledImageArrayNonUniformIndexingNative;
19964 shaderStorageBufferArrayNonUniformIndexingNative = src->shaderStorageBufferArrayNonUniformIndexingNative;
19965 shaderStorageImageArrayNonUniformIndexingNative = src->shaderStorageImageArrayNonUniformIndexingNative;
19966 shaderInputAttachmentArrayNonUniformIndexingNative = src->shaderInputAttachmentArrayNonUniformIndexingNative;
19967 robustBufferAccessUpdateAfterBind = src->robustBufferAccessUpdateAfterBind;
19968 quadDivergentImplicitLod = src->quadDivergentImplicitLod;
19969 maxPerStageDescriptorUpdateAfterBindSamplers = src->maxPerStageDescriptorUpdateAfterBindSamplers;
19970 maxPerStageDescriptorUpdateAfterBindUniformBuffers = src->maxPerStageDescriptorUpdateAfterBindUniformBuffers;
19971 maxPerStageDescriptorUpdateAfterBindStorageBuffers = src->maxPerStageDescriptorUpdateAfterBindStorageBuffers;
19972 maxPerStageDescriptorUpdateAfterBindSampledImages = src->maxPerStageDescriptorUpdateAfterBindSampledImages;
19973 maxPerStageDescriptorUpdateAfterBindStorageImages = src->maxPerStageDescriptorUpdateAfterBindStorageImages;
19974 maxPerStageDescriptorUpdateAfterBindInputAttachments = src->maxPerStageDescriptorUpdateAfterBindInputAttachments;
19975 maxPerStageUpdateAfterBindResources = src->maxPerStageUpdateAfterBindResources;
19976 maxDescriptorSetUpdateAfterBindSamplers = src->maxDescriptorSetUpdateAfterBindSamplers;
19977 maxDescriptorSetUpdateAfterBindUniformBuffers = src->maxDescriptorSetUpdateAfterBindUniformBuffers;
19978 maxDescriptorSetUpdateAfterBindUniformBuffersDynamic = src->maxDescriptorSetUpdateAfterBindUniformBuffersDynamic;
19979 maxDescriptorSetUpdateAfterBindStorageBuffers = src->maxDescriptorSetUpdateAfterBindStorageBuffers;
19980 maxDescriptorSetUpdateAfterBindStorageBuffersDynamic = src->maxDescriptorSetUpdateAfterBindStorageBuffersDynamic;
19981 maxDescriptorSetUpdateAfterBindSampledImages = src->maxDescriptorSetUpdateAfterBindSampledImages;
19982 maxDescriptorSetUpdateAfterBindStorageImages = src->maxDescriptorSetUpdateAfterBindStorageImages;
19983 maxDescriptorSetUpdateAfterBindInputAttachments = src->maxDescriptorSetUpdateAfterBindInputAttachments;
19984}
19985
19986safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT::safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT(const VkDescriptorSetVariableDescriptorCountAllocateInfoEXT* in_struct) :
19987 sType(in_struct->sType),
19988 pNext(in_struct->pNext),
19989 descriptorSetCount(in_struct->descriptorSetCount),
19990 pDescriptorCounts(nullptr)
19991{
19992 if (in_struct->pDescriptorCounts) {
19993 pDescriptorCounts = new uint32_t[in_struct->descriptorSetCount];
19994 memcpy ((void *)pDescriptorCounts, (void *)in_struct->pDescriptorCounts, sizeof(uint32_t)*in_struct->descriptorSetCount);
19995 }
19996}
19997
19998safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT::safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT() :
19999 pDescriptorCounts(nullptr)
20000{}
20001
20002safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT::safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT(const safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT& src)
20003{
20004 sType = src.sType;
20005 pNext = src.pNext;
20006 descriptorSetCount = src.descriptorSetCount;
20007 pDescriptorCounts = nullptr;
20008 if (src.pDescriptorCounts) {
20009 pDescriptorCounts = new uint32_t[src.descriptorSetCount];
20010 memcpy ((void *)pDescriptorCounts, (void *)src.pDescriptorCounts, sizeof(uint32_t)*src.descriptorSetCount);
20011 }
20012}
20013
20014safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT& safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT::operator=(const safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT& src)
20015{
20016 if (&src == this) return *this;
20017
20018 if (pDescriptorCounts)
20019 delete[] pDescriptorCounts;
20020
20021 sType = src.sType;
20022 pNext = src.pNext;
20023 descriptorSetCount = src.descriptorSetCount;
20024 pDescriptorCounts = nullptr;
20025 if (src.pDescriptorCounts) {
20026 pDescriptorCounts = new uint32_t[src.descriptorSetCount];
20027 memcpy ((void *)pDescriptorCounts, (void *)src.pDescriptorCounts, sizeof(uint32_t)*src.descriptorSetCount);
20028 }
20029
20030 return *this;
20031}
20032
20033safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT::~safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT()
20034{
20035 if (pDescriptorCounts)
20036 delete[] pDescriptorCounts;
20037}
20038
20039void safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT::initialize(const VkDescriptorSetVariableDescriptorCountAllocateInfoEXT* in_struct)
20040{
20041 sType = in_struct->sType;
20042 pNext = in_struct->pNext;
20043 descriptorSetCount = in_struct->descriptorSetCount;
20044 pDescriptorCounts = nullptr;
20045 if (in_struct->pDescriptorCounts) {
20046 pDescriptorCounts = new uint32_t[in_struct->descriptorSetCount];
20047 memcpy ((void *)pDescriptorCounts, (void *)in_struct->pDescriptorCounts, sizeof(uint32_t)*in_struct->descriptorSetCount);
20048 }
20049}
20050
20051void safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT::initialize(const safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT* src)
20052{
20053 sType = src->sType;
20054 pNext = src->pNext;
20055 descriptorSetCount = src->descriptorSetCount;
20056 pDescriptorCounts = nullptr;
20057 if (src->pDescriptorCounts) {
20058 pDescriptorCounts = new uint32_t[src->descriptorSetCount];
20059 memcpy ((void *)pDescriptorCounts, (void *)src->pDescriptorCounts, sizeof(uint32_t)*src->descriptorSetCount);
20060 }
20061}
20062
20063safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT::safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT(const VkDescriptorSetVariableDescriptorCountLayoutSupportEXT* in_struct) :
20064 sType(in_struct->sType),
20065 pNext(in_struct->pNext),
20066 maxVariableDescriptorCount(in_struct->maxVariableDescriptorCount)
20067{
20068}
20069
20070safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT::safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT()
20071{}
20072
20073safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT::safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT(const safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT& src)
20074{
20075 sType = src.sType;
20076 pNext = src.pNext;
20077 maxVariableDescriptorCount = src.maxVariableDescriptorCount;
20078}
20079
20080safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT& safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT::operator=(const safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT& src)
20081{
20082 if (&src == this) return *this;
20083
20084
20085 sType = src.sType;
20086 pNext = src.pNext;
20087 maxVariableDescriptorCount = src.maxVariableDescriptorCount;
20088
20089 return *this;
20090}
20091
20092safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT::~safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT()
20093{
20094}
20095
20096void safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT::initialize(const VkDescriptorSetVariableDescriptorCountLayoutSupportEXT* in_struct)
20097{
20098 sType = in_struct->sType;
20099 pNext = in_struct->pNext;
20100 maxVariableDescriptorCount = in_struct->maxVariableDescriptorCount;
20101}
20102
20103void safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT::initialize(const safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT* src)
20104{
20105 sType = src->sType;
20106 pNext = src->pNext;
20107 maxVariableDescriptorCount = src->maxVariableDescriptorCount;
20108}
20109
20110safe_VkShadingRatePaletteNV::safe_VkShadingRatePaletteNV(const VkShadingRatePaletteNV* in_struct) :
20111 shadingRatePaletteEntryCount(in_struct->shadingRatePaletteEntryCount),
20112 pShadingRatePaletteEntries(nullptr)
20113{
20114 if (in_struct->pShadingRatePaletteEntries) {
20115 pShadingRatePaletteEntries = new VkShadingRatePaletteEntryNV[in_struct->shadingRatePaletteEntryCount];
20116 memcpy ((void *)pShadingRatePaletteEntries, (void *)in_struct->pShadingRatePaletteEntries, sizeof(VkShadingRatePaletteEntryNV)*in_struct->shadingRatePaletteEntryCount);
20117 }
20118}
20119
20120safe_VkShadingRatePaletteNV::safe_VkShadingRatePaletteNV() :
20121 pShadingRatePaletteEntries(nullptr)
20122{}
20123
20124safe_VkShadingRatePaletteNV::safe_VkShadingRatePaletteNV(const safe_VkShadingRatePaletteNV& src)
20125{
20126 shadingRatePaletteEntryCount = src.shadingRatePaletteEntryCount;
20127 pShadingRatePaletteEntries = nullptr;
20128 if (src.pShadingRatePaletteEntries) {
20129 pShadingRatePaletteEntries = new VkShadingRatePaletteEntryNV[src.shadingRatePaletteEntryCount];
20130 memcpy ((void *)pShadingRatePaletteEntries, (void *)src.pShadingRatePaletteEntries, sizeof(VkShadingRatePaletteEntryNV)*src.shadingRatePaletteEntryCount);
20131 }
20132}
20133
20134safe_VkShadingRatePaletteNV& safe_VkShadingRatePaletteNV::operator=(const safe_VkShadingRatePaletteNV& src)
20135{
20136 if (&src == this) return *this;
20137
20138 if (pShadingRatePaletteEntries)
20139 delete[] pShadingRatePaletteEntries;
20140
20141 shadingRatePaletteEntryCount = src.shadingRatePaletteEntryCount;
20142 pShadingRatePaletteEntries = nullptr;
20143 if (src.pShadingRatePaletteEntries) {
20144 pShadingRatePaletteEntries = new VkShadingRatePaletteEntryNV[src.shadingRatePaletteEntryCount];
20145 memcpy ((void *)pShadingRatePaletteEntries, (void *)src.pShadingRatePaletteEntries, sizeof(VkShadingRatePaletteEntryNV)*src.shadingRatePaletteEntryCount);
20146 }
20147
20148 return *this;
20149}
20150
20151safe_VkShadingRatePaletteNV::~safe_VkShadingRatePaletteNV()
20152{
20153 if (pShadingRatePaletteEntries)
20154 delete[] pShadingRatePaletteEntries;
20155}
20156
20157void safe_VkShadingRatePaletteNV::initialize(const VkShadingRatePaletteNV* in_struct)
20158{
20159 shadingRatePaletteEntryCount = in_struct->shadingRatePaletteEntryCount;
20160 pShadingRatePaletteEntries = nullptr;
20161 if (in_struct->pShadingRatePaletteEntries) {
20162 pShadingRatePaletteEntries = new VkShadingRatePaletteEntryNV[in_struct->shadingRatePaletteEntryCount];
20163 memcpy ((void *)pShadingRatePaletteEntries, (void *)in_struct->pShadingRatePaletteEntries, sizeof(VkShadingRatePaletteEntryNV)*in_struct->shadingRatePaletteEntryCount);
20164 }
20165}
20166
20167void safe_VkShadingRatePaletteNV::initialize(const safe_VkShadingRatePaletteNV* src)
20168{
20169 shadingRatePaletteEntryCount = src->shadingRatePaletteEntryCount;
20170 pShadingRatePaletteEntries = nullptr;
20171 if (src->pShadingRatePaletteEntries) {
20172 pShadingRatePaletteEntries = new VkShadingRatePaletteEntryNV[src->shadingRatePaletteEntryCount];
20173 memcpy ((void *)pShadingRatePaletteEntries, (void *)src->pShadingRatePaletteEntries, sizeof(VkShadingRatePaletteEntryNV)*src->shadingRatePaletteEntryCount);
20174 }
20175}
20176
20177safe_VkPipelineViewportShadingRateImageStateCreateInfoNV::safe_VkPipelineViewportShadingRateImageStateCreateInfoNV(const VkPipelineViewportShadingRateImageStateCreateInfoNV* in_struct) :
20178 sType(in_struct->sType),
20179 pNext(in_struct->pNext),
20180 shadingRateImageEnable(in_struct->shadingRateImageEnable),
20181 viewportCount(in_struct->viewportCount),
20182 pShadingRatePalettes(nullptr)
20183{
20184 if (viewportCount && in_struct->pShadingRatePalettes) {
20185 pShadingRatePalettes = new safe_VkShadingRatePaletteNV[viewportCount];
20186 for (uint32_t i=0; i<viewportCount; ++i) {
20187 pShadingRatePalettes[i].initialize(&in_struct->pShadingRatePalettes[i]);
20188 }
20189 }
20190}
20191
20192safe_VkPipelineViewportShadingRateImageStateCreateInfoNV::safe_VkPipelineViewportShadingRateImageStateCreateInfoNV() :
20193 pShadingRatePalettes(nullptr)
20194{}
20195
20196safe_VkPipelineViewportShadingRateImageStateCreateInfoNV::safe_VkPipelineViewportShadingRateImageStateCreateInfoNV(const safe_VkPipelineViewportShadingRateImageStateCreateInfoNV& src)
20197{
20198 sType = src.sType;
20199 pNext = src.pNext;
20200 shadingRateImageEnable = src.shadingRateImageEnable;
20201 viewportCount = src.viewportCount;
20202 pShadingRatePalettes = nullptr;
20203 if (viewportCount && src.pShadingRatePalettes) {
20204 pShadingRatePalettes = new safe_VkShadingRatePaletteNV[viewportCount];
20205 for (uint32_t i=0; i<viewportCount; ++i) {
20206 pShadingRatePalettes[i].initialize(&src.pShadingRatePalettes[i]);
20207 }
20208 }
20209}
20210
20211safe_VkPipelineViewportShadingRateImageStateCreateInfoNV& safe_VkPipelineViewportShadingRateImageStateCreateInfoNV::operator=(const safe_VkPipelineViewportShadingRateImageStateCreateInfoNV& src)
20212{
20213 if (&src == this) return *this;
20214
20215 if (pShadingRatePalettes)
20216 delete[] pShadingRatePalettes;
20217
20218 sType = src.sType;
20219 pNext = src.pNext;
20220 shadingRateImageEnable = src.shadingRateImageEnable;
20221 viewportCount = src.viewportCount;
20222 pShadingRatePalettes = nullptr;
20223 if (viewportCount && src.pShadingRatePalettes) {
20224 pShadingRatePalettes = new safe_VkShadingRatePaletteNV[viewportCount];
20225 for (uint32_t i=0; i<viewportCount; ++i) {
20226 pShadingRatePalettes[i].initialize(&src.pShadingRatePalettes[i]);
20227 }
20228 }
20229
20230 return *this;
20231}
20232
20233safe_VkPipelineViewportShadingRateImageStateCreateInfoNV::~safe_VkPipelineViewportShadingRateImageStateCreateInfoNV()
20234{
20235 if (pShadingRatePalettes)
20236 delete[] pShadingRatePalettes;
20237}
20238
20239void safe_VkPipelineViewportShadingRateImageStateCreateInfoNV::initialize(const VkPipelineViewportShadingRateImageStateCreateInfoNV* in_struct)
20240{
20241 sType = in_struct->sType;
20242 pNext = in_struct->pNext;
20243 shadingRateImageEnable = in_struct->shadingRateImageEnable;
20244 viewportCount = in_struct->viewportCount;
20245 pShadingRatePalettes = nullptr;
20246 if (viewportCount && in_struct->pShadingRatePalettes) {
20247 pShadingRatePalettes = new safe_VkShadingRatePaletteNV[viewportCount];
20248 for (uint32_t i=0; i<viewportCount; ++i) {
20249 pShadingRatePalettes[i].initialize(&in_struct->pShadingRatePalettes[i]);
20250 }
20251 }
20252}
20253
20254void safe_VkPipelineViewportShadingRateImageStateCreateInfoNV::initialize(const safe_VkPipelineViewportShadingRateImageStateCreateInfoNV* src)
20255{
20256 sType = src->sType;
20257 pNext = src->pNext;
20258 shadingRateImageEnable = src->shadingRateImageEnable;
20259 viewportCount = src->viewportCount;
20260 pShadingRatePalettes = nullptr;
20261 if (viewportCount && src->pShadingRatePalettes) {
20262 pShadingRatePalettes = new safe_VkShadingRatePaletteNV[viewportCount];
20263 for (uint32_t i=0; i<viewportCount; ++i) {
20264 pShadingRatePalettes[i].initialize(&src->pShadingRatePalettes[i]);
20265 }
20266 }
20267}
20268
20269safe_VkPhysicalDeviceShadingRateImageFeaturesNV::safe_VkPhysicalDeviceShadingRateImageFeaturesNV(const VkPhysicalDeviceShadingRateImageFeaturesNV* in_struct) :
20270 sType(in_struct->sType),
20271 pNext(in_struct->pNext),
20272 shadingRateImage(in_struct->shadingRateImage),
20273 shadingRateCoarseSampleOrder(in_struct->shadingRateCoarseSampleOrder)
20274{
20275}
20276
20277safe_VkPhysicalDeviceShadingRateImageFeaturesNV::safe_VkPhysicalDeviceShadingRateImageFeaturesNV()
20278{}
20279
20280safe_VkPhysicalDeviceShadingRateImageFeaturesNV::safe_VkPhysicalDeviceShadingRateImageFeaturesNV(const safe_VkPhysicalDeviceShadingRateImageFeaturesNV& src)
20281{
20282 sType = src.sType;
20283 pNext = src.pNext;
20284 shadingRateImage = src.shadingRateImage;
20285 shadingRateCoarseSampleOrder = src.shadingRateCoarseSampleOrder;
20286}
20287
20288safe_VkPhysicalDeviceShadingRateImageFeaturesNV& safe_VkPhysicalDeviceShadingRateImageFeaturesNV::operator=(const safe_VkPhysicalDeviceShadingRateImageFeaturesNV& src)
20289{
20290 if (&src == this) return *this;
20291
20292
20293 sType = src.sType;
20294 pNext = src.pNext;
20295 shadingRateImage = src.shadingRateImage;
20296 shadingRateCoarseSampleOrder = src.shadingRateCoarseSampleOrder;
20297
20298 return *this;
20299}
20300
20301safe_VkPhysicalDeviceShadingRateImageFeaturesNV::~safe_VkPhysicalDeviceShadingRateImageFeaturesNV()
20302{
20303}
20304
20305void safe_VkPhysicalDeviceShadingRateImageFeaturesNV::initialize(const VkPhysicalDeviceShadingRateImageFeaturesNV* in_struct)
20306{
20307 sType = in_struct->sType;
20308 pNext = in_struct->pNext;
20309 shadingRateImage = in_struct->shadingRateImage;
20310 shadingRateCoarseSampleOrder = in_struct->shadingRateCoarseSampleOrder;
20311}
20312
20313void safe_VkPhysicalDeviceShadingRateImageFeaturesNV::initialize(const safe_VkPhysicalDeviceShadingRateImageFeaturesNV* src)
20314{
20315 sType = src->sType;
20316 pNext = src->pNext;
20317 shadingRateImage = src->shadingRateImage;
20318 shadingRateCoarseSampleOrder = src->shadingRateCoarseSampleOrder;
20319}
20320
20321safe_VkPhysicalDeviceShadingRateImagePropertiesNV::safe_VkPhysicalDeviceShadingRateImagePropertiesNV(const VkPhysicalDeviceShadingRateImagePropertiesNV* in_struct) :
20322 sType(in_struct->sType),
20323 pNext(in_struct->pNext),
20324 shadingRateTexelSize(in_struct->shadingRateTexelSize),
20325 shadingRatePaletteSize(in_struct->shadingRatePaletteSize),
20326 shadingRateMaxCoarseSamples(in_struct->shadingRateMaxCoarseSamples)
20327{
20328}
20329
20330safe_VkPhysicalDeviceShadingRateImagePropertiesNV::safe_VkPhysicalDeviceShadingRateImagePropertiesNV()
20331{}
20332
20333safe_VkPhysicalDeviceShadingRateImagePropertiesNV::safe_VkPhysicalDeviceShadingRateImagePropertiesNV(const safe_VkPhysicalDeviceShadingRateImagePropertiesNV& src)
20334{
20335 sType = src.sType;
20336 pNext = src.pNext;
20337 shadingRateTexelSize = src.shadingRateTexelSize;
20338 shadingRatePaletteSize = src.shadingRatePaletteSize;
20339 shadingRateMaxCoarseSamples = src.shadingRateMaxCoarseSamples;
20340}
20341
20342safe_VkPhysicalDeviceShadingRateImagePropertiesNV& safe_VkPhysicalDeviceShadingRateImagePropertiesNV::operator=(const safe_VkPhysicalDeviceShadingRateImagePropertiesNV& src)
20343{
20344 if (&src == this) return *this;
20345
20346
20347 sType = src.sType;
20348 pNext = src.pNext;
20349 shadingRateTexelSize = src.shadingRateTexelSize;
20350 shadingRatePaletteSize = src.shadingRatePaletteSize;
20351 shadingRateMaxCoarseSamples = src.shadingRateMaxCoarseSamples;
20352
20353 return *this;
20354}
20355
20356safe_VkPhysicalDeviceShadingRateImagePropertiesNV::~safe_VkPhysicalDeviceShadingRateImagePropertiesNV()
20357{
20358}
20359
20360void safe_VkPhysicalDeviceShadingRateImagePropertiesNV::initialize(const VkPhysicalDeviceShadingRateImagePropertiesNV* in_struct)
20361{
20362 sType = in_struct->sType;
20363 pNext = in_struct->pNext;
20364 shadingRateTexelSize = in_struct->shadingRateTexelSize;
20365 shadingRatePaletteSize = in_struct->shadingRatePaletteSize;
20366 shadingRateMaxCoarseSamples = in_struct->shadingRateMaxCoarseSamples;
20367}
20368
20369void safe_VkPhysicalDeviceShadingRateImagePropertiesNV::initialize(const safe_VkPhysicalDeviceShadingRateImagePropertiesNV* src)
20370{
20371 sType = src->sType;
20372 pNext = src->pNext;
20373 shadingRateTexelSize = src->shadingRateTexelSize;
20374 shadingRatePaletteSize = src->shadingRatePaletteSize;
20375 shadingRateMaxCoarseSamples = src->shadingRateMaxCoarseSamples;
20376}
20377
20378safe_VkCoarseSampleOrderCustomNV::safe_VkCoarseSampleOrderCustomNV(const VkCoarseSampleOrderCustomNV* in_struct) :
20379 shadingRate(in_struct->shadingRate),
20380 sampleCount(in_struct->sampleCount),
20381 sampleLocationCount(in_struct->sampleLocationCount),
20382 pSampleLocations(nullptr)
20383{
20384 if (in_struct->pSampleLocations) {
20385 pSampleLocations = new VkCoarseSampleLocationNV[in_struct->sampleLocationCount];
20386 memcpy ((void *)pSampleLocations, (void *)in_struct->pSampleLocations, sizeof(VkCoarseSampleLocationNV)*in_struct->sampleLocationCount);
20387 }
20388}
20389
20390safe_VkCoarseSampleOrderCustomNV::safe_VkCoarseSampleOrderCustomNV() :
20391 pSampleLocations(nullptr)
20392{}
20393
20394safe_VkCoarseSampleOrderCustomNV::safe_VkCoarseSampleOrderCustomNV(const safe_VkCoarseSampleOrderCustomNV& src)
20395{
20396 shadingRate = src.shadingRate;
20397 sampleCount = src.sampleCount;
20398 sampleLocationCount = src.sampleLocationCount;
20399 pSampleLocations = nullptr;
20400 if (src.pSampleLocations) {
20401 pSampleLocations = new VkCoarseSampleLocationNV[src.sampleLocationCount];
20402 memcpy ((void *)pSampleLocations, (void *)src.pSampleLocations, sizeof(VkCoarseSampleLocationNV)*src.sampleLocationCount);
20403 }
20404}
20405
20406safe_VkCoarseSampleOrderCustomNV& safe_VkCoarseSampleOrderCustomNV::operator=(const safe_VkCoarseSampleOrderCustomNV& src)
20407{
20408 if (&src == this) return *this;
20409
20410 if (pSampleLocations)
20411 delete[] pSampleLocations;
20412
20413 shadingRate = src.shadingRate;
20414 sampleCount = src.sampleCount;
20415 sampleLocationCount = src.sampleLocationCount;
20416 pSampleLocations = nullptr;
20417 if (src.pSampleLocations) {
20418 pSampleLocations = new VkCoarseSampleLocationNV[src.sampleLocationCount];
20419 memcpy ((void *)pSampleLocations, (void *)src.pSampleLocations, sizeof(VkCoarseSampleLocationNV)*src.sampleLocationCount);
20420 }
20421
20422 return *this;
20423}
20424
20425safe_VkCoarseSampleOrderCustomNV::~safe_VkCoarseSampleOrderCustomNV()
20426{
20427 if (pSampleLocations)
20428 delete[] pSampleLocations;
20429}
20430
20431void safe_VkCoarseSampleOrderCustomNV::initialize(const VkCoarseSampleOrderCustomNV* in_struct)
20432{
20433 shadingRate = in_struct->shadingRate;
20434 sampleCount = in_struct->sampleCount;
20435 sampleLocationCount = in_struct->sampleLocationCount;
20436 pSampleLocations = nullptr;
20437 if (in_struct->pSampleLocations) {
20438 pSampleLocations = new VkCoarseSampleLocationNV[in_struct->sampleLocationCount];
20439 memcpy ((void *)pSampleLocations, (void *)in_struct->pSampleLocations, sizeof(VkCoarseSampleLocationNV)*in_struct->sampleLocationCount);
20440 }
20441}
20442
20443void safe_VkCoarseSampleOrderCustomNV::initialize(const safe_VkCoarseSampleOrderCustomNV* src)
20444{
20445 shadingRate = src->shadingRate;
20446 sampleCount = src->sampleCount;
20447 sampleLocationCount = src->sampleLocationCount;
20448 pSampleLocations = nullptr;
20449 if (src->pSampleLocations) {
20450 pSampleLocations = new VkCoarseSampleLocationNV[src->sampleLocationCount];
20451 memcpy ((void *)pSampleLocations, (void *)src->pSampleLocations, sizeof(VkCoarseSampleLocationNV)*src->sampleLocationCount);
20452 }
20453}
20454
20455safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV::safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV(const VkPipelineViewportCoarseSampleOrderStateCreateInfoNV* in_struct) :
20456 sType(in_struct->sType),
20457 pNext(in_struct->pNext),
20458 sampleOrderType(in_struct->sampleOrderType),
20459 customSampleOrderCount(in_struct->customSampleOrderCount),
20460 pCustomSampleOrders(nullptr)
20461{
20462 if (customSampleOrderCount && in_struct->pCustomSampleOrders) {
20463 pCustomSampleOrders = new safe_VkCoarseSampleOrderCustomNV[customSampleOrderCount];
20464 for (uint32_t i=0; i<customSampleOrderCount; ++i) {
20465 pCustomSampleOrders[i].initialize(&in_struct->pCustomSampleOrders[i]);
20466 }
20467 }
20468}
20469
20470safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV::safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV() :
20471 pCustomSampleOrders(nullptr)
20472{}
20473
20474safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV::safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV(const safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV& src)
20475{
20476 sType = src.sType;
20477 pNext = src.pNext;
20478 sampleOrderType = src.sampleOrderType;
20479 customSampleOrderCount = src.customSampleOrderCount;
20480 pCustomSampleOrders = nullptr;
20481 if (customSampleOrderCount && src.pCustomSampleOrders) {
20482 pCustomSampleOrders = new safe_VkCoarseSampleOrderCustomNV[customSampleOrderCount];
20483 for (uint32_t i=0; i<customSampleOrderCount; ++i) {
20484 pCustomSampleOrders[i].initialize(&src.pCustomSampleOrders[i]);
20485 }
20486 }
20487}
20488
20489safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV& safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV::operator=(const safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV& src)
20490{
20491 if (&src == this) return *this;
20492
20493 if (pCustomSampleOrders)
20494 delete[] pCustomSampleOrders;
20495
20496 sType = src.sType;
20497 pNext = src.pNext;
20498 sampleOrderType = src.sampleOrderType;
20499 customSampleOrderCount = src.customSampleOrderCount;
20500 pCustomSampleOrders = nullptr;
20501 if (customSampleOrderCount && src.pCustomSampleOrders) {
20502 pCustomSampleOrders = new safe_VkCoarseSampleOrderCustomNV[customSampleOrderCount];
20503 for (uint32_t i=0; i<customSampleOrderCount; ++i) {
20504 pCustomSampleOrders[i].initialize(&src.pCustomSampleOrders[i]);
20505 }
20506 }
20507
20508 return *this;
20509}
20510
20511safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV::~safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV()
20512{
20513 if (pCustomSampleOrders)
20514 delete[] pCustomSampleOrders;
20515}
20516
20517void safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV::initialize(const VkPipelineViewportCoarseSampleOrderStateCreateInfoNV* in_struct)
20518{
20519 sType = in_struct->sType;
20520 pNext = in_struct->pNext;
20521 sampleOrderType = in_struct->sampleOrderType;
20522 customSampleOrderCount = in_struct->customSampleOrderCount;
20523 pCustomSampleOrders = nullptr;
20524 if (customSampleOrderCount && in_struct->pCustomSampleOrders) {
20525 pCustomSampleOrders = new safe_VkCoarseSampleOrderCustomNV[customSampleOrderCount];
20526 for (uint32_t i=0; i<customSampleOrderCount; ++i) {
20527 pCustomSampleOrders[i].initialize(&in_struct->pCustomSampleOrders[i]);
20528 }
20529 }
20530}
20531
20532void safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV::initialize(const safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV* src)
20533{
20534 sType = src->sType;
20535 pNext = src->pNext;
20536 sampleOrderType = src->sampleOrderType;
20537 customSampleOrderCount = src->customSampleOrderCount;
20538 pCustomSampleOrders = nullptr;
20539 if (customSampleOrderCount && src->pCustomSampleOrders) {
20540 pCustomSampleOrders = new safe_VkCoarseSampleOrderCustomNV[customSampleOrderCount];
20541 for (uint32_t i=0; i<customSampleOrderCount; ++i) {
20542 pCustomSampleOrders[i].initialize(&src->pCustomSampleOrders[i]);
20543 }
20544 }
20545}
20546
20547safe_VkRayTracingShaderGroupCreateInfoNV::safe_VkRayTracingShaderGroupCreateInfoNV(const VkRayTracingShaderGroupCreateInfoNV* in_struct) :
20548 sType(in_struct->sType),
20549 pNext(in_struct->pNext),
20550 type(in_struct->type),
20551 generalShader(in_struct->generalShader),
20552 closestHitShader(in_struct->closestHitShader),
20553 anyHitShader(in_struct->anyHitShader),
20554 intersectionShader(in_struct->intersectionShader)
20555{
20556}
20557
20558safe_VkRayTracingShaderGroupCreateInfoNV::safe_VkRayTracingShaderGroupCreateInfoNV()
20559{}
20560
20561safe_VkRayTracingShaderGroupCreateInfoNV::safe_VkRayTracingShaderGroupCreateInfoNV(const safe_VkRayTracingShaderGroupCreateInfoNV& src)
20562{
20563 sType = src.sType;
20564 pNext = src.pNext;
20565 type = src.type;
20566 generalShader = src.generalShader;
20567 closestHitShader = src.closestHitShader;
20568 anyHitShader = src.anyHitShader;
20569 intersectionShader = src.intersectionShader;
20570}
20571
20572safe_VkRayTracingShaderGroupCreateInfoNV& safe_VkRayTracingShaderGroupCreateInfoNV::operator=(const safe_VkRayTracingShaderGroupCreateInfoNV& src)
20573{
20574 if (&src == this) return *this;
20575
20576
20577 sType = src.sType;
20578 pNext = src.pNext;
20579 type = src.type;
20580 generalShader = src.generalShader;
20581 closestHitShader = src.closestHitShader;
20582 anyHitShader = src.anyHitShader;
20583 intersectionShader = src.intersectionShader;
20584
20585 return *this;
20586}
20587
20588safe_VkRayTracingShaderGroupCreateInfoNV::~safe_VkRayTracingShaderGroupCreateInfoNV()
20589{
20590}
20591
20592void safe_VkRayTracingShaderGroupCreateInfoNV::initialize(const VkRayTracingShaderGroupCreateInfoNV* in_struct)
20593{
20594 sType = in_struct->sType;
20595 pNext = in_struct->pNext;
20596 type = in_struct->type;
20597 generalShader = in_struct->generalShader;
20598 closestHitShader = in_struct->closestHitShader;
20599 anyHitShader = in_struct->anyHitShader;
20600 intersectionShader = in_struct->intersectionShader;
20601}
20602
20603void safe_VkRayTracingShaderGroupCreateInfoNV::initialize(const safe_VkRayTracingShaderGroupCreateInfoNV* src)
20604{
20605 sType = src->sType;
20606 pNext = src->pNext;
20607 type = src->type;
20608 generalShader = src->generalShader;
20609 closestHitShader = src->closestHitShader;
20610 anyHitShader = src->anyHitShader;
20611 intersectionShader = src->intersectionShader;
20612}
20613
20614safe_VkRayTracingPipelineCreateInfoNV::safe_VkRayTracingPipelineCreateInfoNV(const VkRayTracingPipelineCreateInfoNV* in_struct) :
20615 sType(in_struct->sType),
20616 pNext(in_struct->pNext),
20617 flags(in_struct->flags),
20618 stageCount(in_struct->stageCount),
20619 pStages(nullptr),
20620 groupCount(in_struct->groupCount),
20621 pGroups(nullptr),
20622 maxRecursionDepth(in_struct->maxRecursionDepth),
20623 layout(in_struct->layout),
20624 basePipelineHandle(in_struct->basePipelineHandle),
20625 basePipelineIndex(in_struct->basePipelineIndex)
20626{
20627 if (stageCount && in_struct->pStages) {
20628 pStages = new safe_VkPipelineShaderStageCreateInfo[stageCount];
20629 for (uint32_t i=0; i<stageCount; ++i) {
20630 pStages[i].initialize(&in_struct->pStages[i]);
20631 }
20632 }
20633 if (groupCount && in_struct->pGroups) {
20634 pGroups = new safe_VkRayTracingShaderGroupCreateInfoNV[groupCount];
20635 for (uint32_t i=0; i<groupCount; ++i) {
20636 pGroups[i].initialize(&in_struct->pGroups[i]);
20637 }
20638 }
20639}
20640
20641safe_VkRayTracingPipelineCreateInfoNV::safe_VkRayTracingPipelineCreateInfoNV() :
20642 pStages(nullptr),
20643 pGroups(nullptr)
20644{}
20645
20646safe_VkRayTracingPipelineCreateInfoNV::safe_VkRayTracingPipelineCreateInfoNV(const safe_VkRayTracingPipelineCreateInfoNV& src)
20647{
20648 sType = src.sType;
20649 pNext = src.pNext;
20650 flags = src.flags;
20651 stageCount = src.stageCount;
20652 pStages = nullptr;
20653 groupCount = src.groupCount;
20654 pGroups = nullptr;
20655 maxRecursionDepth = src.maxRecursionDepth;
20656 layout = src.layout;
20657 basePipelineHandle = src.basePipelineHandle;
20658 basePipelineIndex = src.basePipelineIndex;
20659 if (stageCount && src.pStages) {
20660 pStages = new safe_VkPipelineShaderStageCreateInfo[stageCount];
20661 for (uint32_t i=0; i<stageCount; ++i) {
20662 pStages[i].initialize(&src.pStages[i]);
20663 }
20664 }
20665 if (groupCount && src.pGroups) {
20666 pGroups = new safe_VkRayTracingShaderGroupCreateInfoNV[groupCount];
20667 for (uint32_t i=0; i<groupCount; ++i) {
20668 pGroups[i].initialize(&src.pGroups[i]);
20669 }
20670 }
20671}
20672
20673safe_VkRayTracingPipelineCreateInfoNV& safe_VkRayTracingPipelineCreateInfoNV::operator=(const safe_VkRayTracingPipelineCreateInfoNV& src)
20674{
20675 if (&src == this) return *this;
20676
20677 if (pStages)
20678 delete[] pStages;
20679 if (pGroups)
20680 delete[] pGroups;
20681
20682 sType = src.sType;
20683 pNext = src.pNext;
20684 flags = src.flags;
20685 stageCount = src.stageCount;
20686 pStages = nullptr;
20687 groupCount = src.groupCount;
20688 pGroups = nullptr;
20689 maxRecursionDepth = src.maxRecursionDepth;
20690 layout = src.layout;
20691 basePipelineHandle = src.basePipelineHandle;
20692 basePipelineIndex = src.basePipelineIndex;
20693 if (stageCount && src.pStages) {
20694 pStages = new safe_VkPipelineShaderStageCreateInfo[stageCount];
20695 for (uint32_t i=0; i<stageCount; ++i) {
20696 pStages[i].initialize(&src.pStages[i]);
20697 }
20698 }
20699 if (groupCount && src.pGroups) {
20700 pGroups = new safe_VkRayTracingShaderGroupCreateInfoNV[groupCount];
20701 for (uint32_t i=0; i<groupCount; ++i) {
20702 pGroups[i].initialize(&src.pGroups[i]);
20703 }
20704 }
20705
20706 return *this;
20707}
20708
20709safe_VkRayTracingPipelineCreateInfoNV::~safe_VkRayTracingPipelineCreateInfoNV()
20710{
20711 if (pStages)
20712 delete[] pStages;
20713 if (pGroups)
20714 delete[] pGroups;
20715}
20716
20717void safe_VkRayTracingPipelineCreateInfoNV::initialize(const VkRayTracingPipelineCreateInfoNV* in_struct)
20718{
20719 sType = in_struct->sType;
20720 pNext = in_struct->pNext;
20721 flags = in_struct->flags;
20722 stageCount = in_struct->stageCount;
20723 pStages = nullptr;
20724 groupCount = in_struct->groupCount;
20725 pGroups = nullptr;
20726 maxRecursionDepth = in_struct->maxRecursionDepth;
20727 layout = in_struct->layout;
20728 basePipelineHandle = in_struct->basePipelineHandle;
20729 basePipelineIndex = in_struct->basePipelineIndex;
20730 if (stageCount && in_struct->pStages) {
20731 pStages = new safe_VkPipelineShaderStageCreateInfo[stageCount];
20732 for (uint32_t i=0; i<stageCount; ++i) {
20733 pStages[i].initialize(&in_struct->pStages[i]);
20734 }
20735 }
20736 if (groupCount && in_struct->pGroups) {
20737 pGroups = new safe_VkRayTracingShaderGroupCreateInfoNV[groupCount];
20738 for (uint32_t i=0; i<groupCount; ++i) {
20739 pGroups[i].initialize(&in_struct->pGroups[i]);
20740 }
20741 }
20742}
20743
20744void safe_VkRayTracingPipelineCreateInfoNV::initialize(const safe_VkRayTracingPipelineCreateInfoNV* src)
20745{
20746 sType = src->sType;
20747 pNext = src->pNext;
20748 flags = src->flags;
20749 stageCount = src->stageCount;
20750 pStages = nullptr;
20751 groupCount = src->groupCount;
20752 pGroups = nullptr;
20753 maxRecursionDepth = src->maxRecursionDepth;
20754 layout = src->layout;
20755 basePipelineHandle = src->basePipelineHandle;
20756 basePipelineIndex = src->basePipelineIndex;
20757 if (stageCount && src->pStages) {
20758 pStages = new safe_VkPipelineShaderStageCreateInfo[stageCount];
20759 for (uint32_t i=0; i<stageCount; ++i) {
20760 pStages[i].initialize(&src->pStages[i]);
20761 }
20762 }
20763 if (groupCount && src->pGroups) {
20764 pGroups = new safe_VkRayTracingShaderGroupCreateInfoNV[groupCount];
20765 for (uint32_t i=0; i<groupCount; ++i) {
20766 pGroups[i].initialize(&src->pGroups[i]);
20767 }
20768 }
20769}
20770
20771safe_VkGeometryTrianglesNV::safe_VkGeometryTrianglesNV(const VkGeometryTrianglesNV* in_struct) :
20772 sType(in_struct->sType),
20773 pNext(in_struct->pNext),
20774 vertexData(in_struct->vertexData),
20775 vertexOffset(in_struct->vertexOffset),
20776 vertexCount(in_struct->vertexCount),
20777 vertexStride(in_struct->vertexStride),
20778 vertexFormat(in_struct->vertexFormat),
20779 indexData(in_struct->indexData),
20780 indexOffset(in_struct->indexOffset),
20781 indexCount(in_struct->indexCount),
20782 indexType(in_struct->indexType),
20783 transformData(in_struct->transformData),
20784 transformOffset(in_struct->transformOffset)
20785{
20786}
20787
20788safe_VkGeometryTrianglesNV::safe_VkGeometryTrianglesNV()
20789{}
20790
20791safe_VkGeometryTrianglesNV::safe_VkGeometryTrianglesNV(const safe_VkGeometryTrianglesNV& src)
20792{
20793 sType = src.sType;
20794 pNext = src.pNext;
20795 vertexData = src.vertexData;
20796 vertexOffset = src.vertexOffset;
20797 vertexCount = src.vertexCount;
20798 vertexStride = src.vertexStride;
20799 vertexFormat = src.vertexFormat;
20800 indexData = src.indexData;
20801 indexOffset = src.indexOffset;
20802 indexCount = src.indexCount;
20803 indexType = src.indexType;
20804 transformData = src.transformData;
20805 transformOffset = src.transformOffset;
20806}
20807
20808safe_VkGeometryTrianglesNV& safe_VkGeometryTrianglesNV::operator=(const safe_VkGeometryTrianglesNV& src)
20809{
20810 if (&src == this) return *this;
20811
20812
20813 sType = src.sType;
20814 pNext = src.pNext;
20815 vertexData = src.vertexData;
20816 vertexOffset = src.vertexOffset;
20817 vertexCount = src.vertexCount;
20818 vertexStride = src.vertexStride;
20819 vertexFormat = src.vertexFormat;
20820 indexData = src.indexData;
20821 indexOffset = src.indexOffset;
20822 indexCount = src.indexCount;
20823 indexType = src.indexType;
20824 transformData = src.transformData;
20825 transformOffset = src.transformOffset;
20826
20827 return *this;
20828}
20829
20830safe_VkGeometryTrianglesNV::~safe_VkGeometryTrianglesNV()
20831{
20832}
20833
20834void safe_VkGeometryTrianglesNV::initialize(const VkGeometryTrianglesNV* in_struct)
20835{
20836 sType = in_struct->sType;
20837 pNext = in_struct->pNext;
20838 vertexData = in_struct->vertexData;
20839 vertexOffset = in_struct->vertexOffset;
20840 vertexCount = in_struct->vertexCount;
20841 vertexStride = in_struct->vertexStride;
20842 vertexFormat = in_struct->vertexFormat;
20843 indexData = in_struct->indexData;
20844 indexOffset = in_struct->indexOffset;
20845 indexCount = in_struct->indexCount;
20846 indexType = in_struct->indexType;
20847 transformData = in_struct->transformData;
20848 transformOffset = in_struct->transformOffset;
20849}
20850
20851void safe_VkGeometryTrianglesNV::initialize(const safe_VkGeometryTrianglesNV* src)
20852{
20853 sType = src->sType;
20854 pNext = src->pNext;
20855 vertexData = src->vertexData;
20856 vertexOffset = src->vertexOffset;
20857 vertexCount = src->vertexCount;
20858 vertexStride = src->vertexStride;
20859 vertexFormat = src->vertexFormat;
20860 indexData = src->indexData;
20861 indexOffset = src->indexOffset;
20862 indexCount = src->indexCount;
20863 indexType = src->indexType;
20864 transformData = src->transformData;
20865 transformOffset = src->transformOffset;
20866}
20867
20868safe_VkGeometryAABBNV::safe_VkGeometryAABBNV(const VkGeometryAABBNV* in_struct) :
20869 sType(in_struct->sType),
20870 pNext(in_struct->pNext),
20871 aabbData(in_struct->aabbData),
20872 numAABBs(in_struct->numAABBs),
20873 stride(in_struct->stride),
20874 offset(in_struct->offset)
20875{
20876}
20877
20878safe_VkGeometryAABBNV::safe_VkGeometryAABBNV()
20879{}
20880
20881safe_VkGeometryAABBNV::safe_VkGeometryAABBNV(const safe_VkGeometryAABBNV& src)
20882{
20883 sType = src.sType;
20884 pNext = src.pNext;
20885 aabbData = src.aabbData;
20886 numAABBs = src.numAABBs;
20887 stride = src.stride;
20888 offset = src.offset;
20889}
20890
20891safe_VkGeometryAABBNV& safe_VkGeometryAABBNV::operator=(const safe_VkGeometryAABBNV& src)
20892{
20893 if (&src == this) return *this;
20894
20895
20896 sType = src.sType;
20897 pNext = src.pNext;
20898 aabbData = src.aabbData;
20899 numAABBs = src.numAABBs;
20900 stride = src.stride;
20901 offset = src.offset;
20902
20903 return *this;
20904}
20905
20906safe_VkGeometryAABBNV::~safe_VkGeometryAABBNV()
20907{
20908}
20909
20910void safe_VkGeometryAABBNV::initialize(const VkGeometryAABBNV* in_struct)
20911{
20912 sType = in_struct->sType;
20913 pNext = in_struct->pNext;
20914 aabbData = in_struct->aabbData;
20915 numAABBs = in_struct->numAABBs;
20916 stride = in_struct->stride;
20917 offset = in_struct->offset;
20918}
20919
20920void safe_VkGeometryAABBNV::initialize(const safe_VkGeometryAABBNV* src)
20921{
20922 sType = src->sType;
20923 pNext = src->pNext;
20924 aabbData = src->aabbData;
20925 numAABBs = src->numAABBs;
20926 stride = src->stride;
20927 offset = src->offset;
20928}
20929
20930safe_VkGeometryNV::safe_VkGeometryNV(const VkGeometryNV* in_struct) :
20931 sType(in_struct->sType),
20932 pNext(in_struct->pNext),
20933 geometryType(in_struct->geometryType),
20934 geometry(in_struct->geometry),
20935 flags(in_struct->flags)
20936{
20937}
20938
20939safe_VkGeometryNV::safe_VkGeometryNV()
20940{}
20941
20942safe_VkGeometryNV::safe_VkGeometryNV(const safe_VkGeometryNV& src)
20943{
20944 sType = src.sType;
20945 pNext = src.pNext;
20946 geometryType = src.geometryType;
20947 geometry = src.geometry;
20948 flags = src.flags;
20949}
20950
20951safe_VkGeometryNV& safe_VkGeometryNV::operator=(const safe_VkGeometryNV& src)
20952{
20953 if (&src == this) return *this;
20954
20955
20956 sType = src.sType;
20957 pNext = src.pNext;
20958 geometryType = src.geometryType;
20959 geometry = src.geometry;
20960 flags = src.flags;
20961
20962 return *this;
20963}
20964
20965safe_VkGeometryNV::~safe_VkGeometryNV()
20966{
20967}
20968
20969void safe_VkGeometryNV::initialize(const VkGeometryNV* in_struct)
20970{
20971 sType = in_struct->sType;
20972 pNext = in_struct->pNext;
20973 geometryType = in_struct->geometryType;
20974 geometry = in_struct->geometry;
20975 flags = in_struct->flags;
20976}
20977
20978void safe_VkGeometryNV::initialize(const safe_VkGeometryNV* src)
20979{
20980 sType = src->sType;
20981 pNext = src->pNext;
20982 geometryType = src->geometryType;
20983 geometry = src->geometry;
20984 flags = src->flags;
20985}
20986
20987safe_VkAccelerationStructureInfoNV::safe_VkAccelerationStructureInfoNV(const VkAccelerationStructureInfoNV* in_struct) :
20988 sType(in_struct->sType),
20989 pNext(in_struct->pNext),
20990 type(in_struct->type),
20991 flags(in_struct->flags),
20992 instanceCount(in_struct->instanceCount),
20993 geometryCount(in_struct->geometryCount),
20994 pGeometries(nullptr)
20995{
20996 if (geometryCount && in_struct->pGeometries) {
20997 pGeometries = new safe_VkGeometryNV[geometryCount];
20998 for (uint32_t i=0; i<geometryCount; ++i) {
20999 pGeometries[i].initialize(&in_struct->pGeometries[i]);
21000 }
21001 }
21002}
21003
21004safe_VkAccelerationStructureInfoNV::safe_VkAccelerationStructureInfoNV() :
21005 pGeometries(nullptr)
21006{}
21007
21008safe_VkAccelerationStructureInfoNV::safe_VkAccelerationStructureInfoNV(const safe_VkAccelerationStructureInfoNV& src)
21009{
21010 sType = src.sType;
21011 pNext = src.pNext;
21012 type = src.type;
21013 flags = src.flags;
21014 instanceCount = src.instanceCount;
21015 geometryCount = src.geometryCount;
21016 pGeometries = nullptr;
21017 if (geometryCount && src.pGeometries) {
21018 pGeometries = new safe_VkGeometryNV[geometryCount];
21019 for (uint32_t i=0; i<geometryCount; ++i) {
21020 pGeometries[i].initialize(&src.pGeometries[i]);
21021 }
21022 }
21023}
21024
21025safe_VkAccelerationStructureInfoNV& safe_VkAccelerationStructureInfoNV::operator=(const safe_VkAccelerationStructureInfoNV& src)
21026{
21027 if (&src == this) return *this;
21028
21029 if (pGeometries)
21030 delete[] pGeometries;
21031
21032 sType = src.sType;
21033 pNext = src.pNext;
21034 type = src.type;
21035 flags = src.flags;
21036 instanceCount = src.instanceCount;
21037 geometryCount = src.geometryCount;
21038 pGeometries = nullptr;
21039 if (geometryCount && src.pGeometries) {
21040 pGeometries = new safe_VkGeometryNV[geometryCount];
21041 for (uint32_t i=0; i<geometryCount; ++i) {
21042 pGeometries[i].initialize(&src.pGeometries[i]);
21043 }
21044 }
21045
21046 return *this;
21047}
21048
21049safe_VkAccelerationStructureInfoNV::~safe_VkAccelerationStructureInfoNV()
21050{
21051 if (pGeometries)
21052 delete[] pGeometries;
21053}
21054
21055void safe_VkAccelerationStructureInfoNV::initialize(const VkAccelerationStructureInfoNV* in_struct)
21056{
21057 sType = in_struct->sType;
21058 pNext = in_struct->pNext;
21059 type = in_struct->type;
21060 flags = in_struct->flags;
21061 instanceCount = in_struct->instanceCount;
21062 geometryCount = in_struct->geometryCount;
21063 pGeometries = nullptr;
21064 if (geometryCount && in_struct->pGeometries) {
21065 pGeometries = new safe_VkGeometryNV[geometryCount];
21066 for (uint32_t i=0; i<geometryCount; ++i) {
21067 pGeometries[i].initialize(&in_struct->pGeometries[i]);
21068 }
21069 }
21070}
21071
21072void safe_VkAccelerationStructureInfoNV::initialize(const safe_VkAccelerationStructureInfoNV* src)
21073{
21074 sType = src->sType;
21075 pNext = src->pNext;
21076 type = src->type;
21077 flags = src->flags;
21078 instanceCount = src->instanceCount;
21079 geometryCount = src->geometryCount;
21080 pGeometries = nullptr;
21081 if (geometryCount && src->pGeometries) {
21082 pGeometries = new safe_VkGeometryNV[geometryCount];
21083 for (uint32_t i=0; i<geometryCount; ++i) {
21084 pGeometries[i].initialize(&src->pGeometries[i]);
21085 }
21086 }
21087}
21088
21089safe_VkAccelerationStructureCreateInfoNV::safe_VkAccelerationStructureCreateInfoNV(const VkAccelerationStructureCreateInfoNV* in_struct) :
21090 sType(in_struct->sType),
21091 pNext(in_struct->pNext),
21092 compactedSize(in_struct->compactedSize),
21093 info(&in_struct->info)
21094{
21095}
21096
21097safe_VkAccelerationStructureCreateInfoNV::safe_VkAccelerationStructureCreateInfoNV()
21098{}
21099
21100safe_VkAccelerationStructureCreateInfoNV::safe_VkAccelerationStructureCreateInfoNV(const safe_VkAccelerationStructureCreateInfoNV& src)
21101{
21102 sType = src.sType;
21103 pNext = src.pNext;
21104 compactedSize = src.compactedSize;
21105 info.initialize(&src.info);
21106}
21107
21108safe_VkAccelerationStructureCreateInfoNV& safe_VkAccelerationStructureCreateInfoNV::operator=(const safe_VkAccelerationStructureCreateInfoNV& src)
21109{
21110 if (&src == this) return *this;
21111
21112
21113 sType = src.sType;
21114 pNext = src.pNext;
21115 compactedSize = src.compactedSize;
21116 info.initialize(&src.info);
21117
21118 return *this;
21119}
21120
21121safe_VkAccelerationStructureCreateInfoNV::~safe_VkAccelerationStructureCreateInfoNV()
21122{
21123}
21124
21125void safe_VkAccelerationStructureCreateInfoNV::initialize(const VkAccelerationStructureCreateInfoNV* in_struct)
21126{
21127 sType = in_struct->sType;
21128 pNext = in_struct->pNext;
21129 compactedSize = in_struct->compactedSize;
21130 info.initialize(&in_struct->info);
21131}
21132
21133void safe_VkAccelerationStructureCreateInfoNV::initialize(const safe_VkAccelerationStructureCreateInfoNV* src)
21134{
21135 sType = src->sType;
21136 pNext = src->pNext;
21137 compactedSize = src->compactedSize;
21138 info.initialize(&src->info);
21139}
21140
21141safe_VkBindAccelerationStructureMemoryInfoNV::safe_VkBindAccelerationStructureMemoryInfoNV(const VkBindAccelerationStructureMemoryInfoNV* in_struct) :
21142 sType(in_struct->sType),
21143 pNext(in_struct->pNext),
21144 accelerationStructure(in_struct->accelerationStructure),
21145 memory(in_struct->memory),
21146 memoryOffset(in_struct->memoryOffset),
21147 deviceIndexCount(in_struct->deviceIndexCount),
21148 pDeviceIndices(nullptr)
21149{
21150 if (in_struct->pDeviceIndices) {
21151 pDeviceIndices = new uint32_t[in_struct->deviceIndexCount];
21152 memcpy ((void *)pDeviceIndices, (void *)in_struct->pDeviceIndices, sizeof(uint32_t)*in_struct->deviceIndexCount);
21153 }
21154}
21155
21156safe_VkBindAccelerationStructureMemoryInfoNV::safe_VkBindAccelerationStructureMemoryInfoNV() :
21157 pDeviceIndices(nullptr)
21158{}
21159
21160safe_VkBindAccelerationStructureMemoryInfoNV::safe_VkBindAccelerationStructureMemoryInfoNV(const safe_VkBindAccelerationStructureMemoryInfoNV& src)
21161{
21162 sType = src.sType;
21163 pNext = src.pNext;
21164 accelerationStructure = src.accelerationStructure;
21165 memory = src.memory;
21166 memoryOffset = src.memoryOffset;
21167 deviceIndexCount = src.deviceIndexCount;
21168 pDeviceIndices = nullptr;
21169 if (src.pDeviceIndices) {
21170 pDeviceIndices = new uint32_t[src.deviceIndexCount];
21171 memcpy ((void *)pDeviceIndices, (void *)src.pDeviceIndices, sizeof(uint32_t)*src.deviceIndexCount);
21172 }
21173}
21174
21175safe_VkBindAccelerationStructureMemoryInfoNV& safe_VkBindAccelerationStructureMemoryInfoNV::operator=(const safe_VkBindAccelerationStructureMemoryInfoNV& src)
21176{
21177 if (&src == this) return *this;
21178
21179 if (pDeviceIndices)
21180 delete[] pDeviceIndices;
21181
21182 sType = src.sType;
21183 pNext = src.pNext;
21184 accelerationStructure = src.accelerationStructure;
21185 memory = src.memory;
21186 memoryOffset = src.memoryOffset;
21187 deviceIndexCount = src.deviceIndexCount;
21188 pDeviceIndices = nullptr;
21189 if (src.pDeviceIndices) {
21190 pDeviceIndices = new uint32_t[src.deviceIndexCount];
21191 memcpy ((void *)pDeviceIndices, (void *)src.pDeviceIndices, sizeof(uint32_t)*src.deviceIndexCount);
21192 }
21193
21194 return *this;
21195}
21196
21197safe_VkBindAccelerationStructureMemoryInfoNV::~safe_VkBindAccelerationStructureMemoryInfoNV()
21198{
21199 if (pDeviceIndices)
21200 delete[] pDeviceIndices;
21201}
21202
21203void safe_VkBindAccelerationStructureMemoryInfoNV::initialize(const VkBindAccelerationStructureMemoryInfoNV* in_struct)
21204{
21205 sType = in_struct->sType;
21206 pNext = in_struct->pNext;
21207 accelerationStructure = in_struct->accelerationStructure;
21208 memory = in_struct->memory;
21209 memoryOffset = in_struct->memoryOffset;
21210 deviceIndexCount = in_struct->deviceIndexCount;
21211 pDeviceIndices = nullptr;
21212 if (in_struct->pDeviceIndices) {
21213 pDeviceIndices = new uint32_t[in_struct->deviceIndexCount];
21214 memcpy ((void *)pDeviceIndices, (void *)in_struct->pDeviceIndices, sizeof(uint32_t)*in_struct->deviceIndexCount);
21215 }
21216}
21217
21218void safe_VkBindAccelerationStructureMemoryInfoNV::initialize(const safe_VkBindAccelerationStructureMemoryInfoNV* src)
21219{
21220 sType = src->sType;
21221 pNext = src->pNext;
21222 accelerationStructure = src->accelerationStructure;
21223 memory = src->memory;
21224 memoryOffset = src->memoryOffset;
21225 deviceIndexCount = src->deviceIndexCount;
21226 pDeviceIndices = nullptr;
21227 if (src->pDeviceIndices) {
21228 pDeviceIndices = new uint32_t[src->deviceIndexCount];
21229 memcpy ((void *)pDeviceIndices, (void *)src->pDeviceIndices, sizeof(uint32_t)*src->deviceIndexCount);
21230 }
21231}
21232
21233safe_VkWriteDescriptorSetAccelerationStructureNV::safe_VkWriteDescriptorSetAccelerationStructureNV(const VkWriteDescriptorSetAccelerationStructureNV* in_struct) :
21234 sType(in_struct->sType),
21235 pNext(in_struct->pNext),
21236 accelerationStructureCount(in_struct->accelerationStructureCount),
21237 pAccelerationStructures(nullptr)
21238{
21239 if (accelerationStructureCount && in_struct->pAccelerationStructures) {
21240 pAccelerationStructures = new VkAccelerationStructureNV[accelerationStructureCount];
21241 for (uint32_t i=0; i<accelerationStructureCount; ++i) {
21242 pAccelerationStructures[i] = in_struct->pAccelerationStructures[i];
21243 }
21244 }
21245}
21246
21247safe_VkWriteDescriptorSetAccelerationStructureNV::safe_VkWriteDescriptorSetAccelerationStructureNV() :
21248 pAccelerationStructures(nullptr)
21249{}
21250
21251safe_VkWriteDescriptorSetAccelerationStructureNV::safe_VkWriteDescriptorSetAccelerationStructureNV(const safe_VkWriteDescriptorSetAccelerationStructureNV& src)
21252{
21253 sType = src.sType;
21254 pNext = src.pNext;
21255 accelerationStructureCount = src.accelerationStructureCount;
21256 pAccelerationStructures = nullptr;
21257 if (accelerationStructureCount && src.pAccelerationStructures) {
21258 pAccelerationStructures = new VkAccelerationStructureNV[accelerationStructureCount];
21259 for (uint32_t i=0; i<accelerationStructureCount; ++i) {
21260 pAccelerationStructures[i] = src.pAccelerationStructures[i];
21261 }
21262 }
21263}
21264
21265safe_VkWriteDescriptorSetAccelerationStructureNV& safe_VkWriteDescriptorSetAccelerationStructureNV::operator=(const safe_VkWriteDescriptorSetAccelerationStructureNV& src)
21266{
21267 if (&src == this) return *this;
21268
21269 if (pAccelerationStructures)
21270 delete[] pAccelerationStructures;
21271
21272 sType = src.sType;
21273 pNext = src.pNext;
21274 accelerationStructureCount = src.accelerationStructureCount;
21275 pAccelerationStructures = nullptr;
21276 if (accelerationStructureCount && src.pAccelerationStructures) {
21277 pAccelerationStructures = new VkAccelerationStructureNV[accelerationStructureCount];
21278 for (uint32_t i=0; i<accelerationStructureCount; ++i) {
21279 pAccelerationStructures[i] = src.pAccelerationStructures[i];
21280 }
21281 }
21282
21283 return *this;
21284}
21285
21286safe_VkWriteDescriptorSetAccelerationStructureNV::~safe_VkWriteDescriptorSetAccelerationStructureNV()
21287{
21288 if (pAccelerationStructures)
21289 delete[] pAccelerationStructures;
21290}
21291
21292void safe_VkWriteDescriptorSetAccelerationStructureNV::initialize(const VkWriteDescriptorSetAccelerationStructureNV* in_struct)
21293{
21294 sType = in_struct->sType;
21295 pNext = in_struct->pNext;
21296 accelerationStructureCount = in_struct->accelerationStructureCount;
21297 pAccelerationStructures = nullptr;
21298 if (accelerationStructureCount && in_struct->pAccelerationStructures) {
21299 pAccelerationStructures = new VkAccelerationStructureNV[accelerationStructureCount];
21300 for (uint32_t i=0; i<accelerationStructureCount; ++i) {
21301 pAccelerationStructures[i] = in_struct->pAccelerationStructures[i];
21302 }
21303 }
21304}
21305
21306void safe_VkWriteDescriptorSetAccelerationStructureNV::initialize(const safe_VkWriteDescriptorSetAccelerationStructureNV* src)
21307{
21308 sType = src->sType;
21309 pNext = src->pNext;
21310 accelerationStructureCount = src->accelerationStructureCount;
21311 pAccelerationStructures = nullptr;
21312 if (accelerationStructureCount && src->pAccelerationStructures) {
21313 pAccelerationStructures = new VkAccelerationStructureNV[accelerationStructureCount];
21314 for (uint32_t i=0; i<accelerationStructureCount; ++i) {
21315 pAccelerationStructures[i] = src->pAccelerationStructures[i];
21316 }
21317 }
21318}
21319
21320safe_VkAccelerationStructureMemoryRequirementsInfoNV::safe_VkAccelerationStructureMemoryRequirementsInfoNV(const VkAccelerationStructureMemoryRequirementsInfoNV* in_struct) :
21321 sType(in_struct->sType),
21322 pNext(in_struct->pNext),
21323 type(in_struct->type),
21324 accelerationStructure(in_struct->accelerationStructure)
21325{
21326}
21327
21328safe_VkAccelerationStructureMemoryRequirementsInfoNV::safe_VkAccelerationStructureMemoryRequirementsInfoNV()
21329{}
21330
21331safe_VkAccelerationStructureMemoryRequirementsInfoNV::safe_VkAccelerationStructureMemoryRequirementsInfoNV(const safe_VkAccelerationStructureMemoryRequirementsInfoNV& src)
21332{
21333 sType = src.sType;
21334 pNext = src.pNext;
21335 type = src.type;
21336 accelerationStructure = src.accelerationStructure;
21337}
21338
21339safe_VkAccelerationStructureMemoryRequirementsInfoNV& safe_VkAccelerationStructureMemoryRequirementsInfoNV::operator=(const safe_VkAccelerationStructureMemoryRequirementsInfoNV& src)
21340{
21341 if (&src == this) return *this;
21342
21343
21344 sType = src.sType;
21345 pNext = src.pNext;
21346 type = src.type;
21347 accelerationStructure = src.accelerationStructure;
21348
21349 return *this;
21350}
21351
21352safe_VkAccelerationStructureMemoryRequirementsInfoNV::~safe_VkAccelerationStructureMemoryRequirementsInfoNV()
21353{
21354}
21355
21356void safe_VkAccelerationStructureMemoryRequirementsInfoNV::initialize(const VkAccelerationStructureMemoryRequirementsInfoNV* in_struct)
21357{
21358 sType = in_struct->sType;
21359 pNext = in_struct->pNext;
21360 type = in_struct->type;
21361 accelerationStructure = in_struct->accelerationStructure;
21362}
21363
21364void safe_VkAccelerationStructureMemoryRequirementsInfoNV::initialize(const safe_VkAccelerationStructureMemoryRequirementsInfoNV* src)
21365{
21366 sType = src->sType;
21367 pNext = src->pNext;
21368 type = src->type;
21369 accelerationStructure = src->accelerationStructure;
21370}
21371
21372safe_VkPhysicalDeviceRayTracingPropertiesNV::safe_VkPhysicalDeviceRayTracingPropertiesNV(const VkPhysicalDeviceRayTracingPropertiesNV* in_struct) :
21373 sType(in_struct->sType),
21374 pNext(in_struct->pNext),
21375 shaderGroupHandleSize(in_struct->shaderGroupHandleSize),
21376 maxRecursionDepth(in_struct->maxRecursionDepth),
21377 maxShaderGroupStride(in_struct->maxShaderGroupStride),
21378 shaderGroupBaseAlignment(in_struct->shaderGroupBaseAlignment),
21379 maxGeometryCount(in_struct->maxGeometryCount),
21380 maxInstanceCount(in_struct->maxInstanceCount),
21381 maxTriangleCount(in_struct->maxTriangleCount),
21382 maxDescriptorSetAccelerationStructures(in_struct->maxDescriptorSetAccelerationStructures)
21383{
21384}
21385
21386safe_VkPhysicalDeviceRayTracingPropertiesNV::safe_VkPhysicalDeviceRayTracingPropertiesNV()
21387{}
21388
21389safe_VkPhysicalDeviceRayTracingPropertiesNV::safe_VkPhysicalDeviceRayTracingPropertiesNV(const safe_VkPhysicalDeviceRayTracingPropertiesNV& src)
21390{
21391 sType = src.sType;
21392 pNext = src.pNext;
21393 shaderGroupHandleSize = src.shaderGroupHandleSize;
21394 maxRecursionDepth = src.maxRecursionDepth;
21395 maxShaderGroupStride = src.maxShaderGroupStride;
21396 shaderGroupBaseAlignment = src.shaderGroupBaseAlignment;
21397 maxGeometryCount = src.maxGeometryCount;
21398 maxInstanceCount = src.maxInstanceCount;
21399 maxTriangleCount = src.maxTriangleCount;
21400 maxDescriptorSetAccelerationStructures = src.maxDescriptorSetAccelerationStructures;
21401}
21402
21403safe_VkPhysicalDeviceRayTracingPropertiesNV& safe_VkPhysicalDeviceRayTracingPropertiesNV::operator=(const safe_VkPhysicalDeviceRayTracingPropertiesNV& src)
21404{
21405 if (&src == this) return *this;
21406
21407
21408 sType = src.sType;
21409 pNext = src.pNext;
21410 shaderGroupHandleSize = src.shaderGroupHandleSize;
21411 maxRecursionDepth = src.maxRecursionDepth;
21412 maxShaderGroupStride = src.maxShaderGroupStride;
21413 shaderGroupBaseAlignment = src.shaderGroupBaseAlignment;
21414 maxGeometryCount = src.maxGeometryCount;
21415 maxInstanceCount = src.maxInstanceCount;
21416 maxTriangleCount = src.maxTriangleCount;
21417 maxDescriptorSetAccelerationStructures = src.maxDescriptorSetAccelerationStructures;
21418
21419 return *this;
21420}
21421
21422safe_VkPhysicalDeviceRayTracingPropertiesNV::~safe_VkPhysicalDeviceRayTracingPropertiesNV()
21423{
21424}
21425
21426void safe_VkPhysicalDeviceRayTracingPropertiesNV::initialize(const VkPhysicalDeviceRayTracingPropertiesNV* in_struct)
21427{
21428 sType = in_struct->sType;
21429 pNext = in_struct->pNext;
21430 shaderGroupHandleSize = in_struct->shaderGroupHandleSize;
21431 maxRecursionDepth = in_struct->maxRecursionDepth;
21432 maxShaderGroupStride = in_struct->maxShaderGroupStride;
21433 shaderGroupBaseAlignment = in_struct->shaderGroupBaseAlignment;
21434 maxGeometryCount = in_struct->maxGeometryCount;
21435 maxInstanceCount = in_struct->maxInstanceCount;
21436 maxTriangleCount = in_struct->maxTriangleCount;
21437 maxDescriptorSetAccelerationStructures = in_struct->maxDescriptorSetAccelerationStructures;
21438}
21439
21440void safe_VkPhysicalDeviceRayTracingPropertiesNV::initialize(const safe_VkPhysicalDeviceRayTracingPropertiesNV* src)
21441{
21442 sType = src->sType;
21443 pNext = src->pNext;
21444 shaderGroupHandleSize = src->shaderGroupHandleSize;
21445 maxRecursionDepth = src->maxRecursionDepth;
21446 maxShaderGroupStride = src->maxShaderGroupStride;
21447 shaderGroupBaseAlignment = src->shaderGroupBaseAlignment;
21448 maxGeometryCount = src->maxGeometryCount;
21449 maxInstanceCount = src->maxInstanceCount;
21450 maxTriangleCount = src->maxTriangleCount;
21451 maxDescriptorSetAccelerationStructures = src->maxDescriptorSetAccelerationStructures;
21452}
21453
21454safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV::safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV(const VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV* in_struct) :
21455 sType(in_struct->sType),
21456 pNext(in_struct->pNext),
21457 representativeFragmentTest(in_struct->representativeFragmentTest)
21458{
21459}
21460
21461safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV::safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV()
21462{}
21463
21464safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV::safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV(const safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV& src)
21465{
21466 sType = src.sType;
21467 pNext = src.pNext;
21468 representativeFragmentTest = src.representativeFragmentTest;
21469}
21470
21471safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV& safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV::operator=(const safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV& src)
21472{
21473 if (&src == this) return *this;
21474
21475
21476 sType = src.sType;
21477 pNext = src.pNext;
21478 representativeFragmentTest = src.representativeFragmentTest;
21479
21480 return *this;
21481}
21482
21483safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV::~safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV()
21484{
21485}
21486
21487void safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV::initialize(const VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV* in_struct)
21488{
21489 sType = in_struct->sType;
21490 pNext = in_struct->pNext;
21491 representativeFragmentTest = in_struct->representativeFragmentTest;
21492}
21493
21494void safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV::initialize(const safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV* src)
21495{
21496 sType = src->sType;
21497 pNext = src->pNext;
21498 representativeFragmentTest = src->representativeFragmentTest;
21499}
21500
21501safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV::safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV(const VkPipelineRepresentativeFragmentTestStateCreateInfoNV* in_struct) :
21502 sType(in_struct->sType),
21503 pNext(in_struct->pNext),
21504 representativeFragmentTestEnable(in_struct->representativeFragmentTestEnable)
21505{
21506}
21507
21508safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV::safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV()
21509{}
21510
21511safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV::safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV(const safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV& src)
21512{
21513 sType = src.sType;
21514 pNext = src.pNext;
21515 representativeFragmentTestEnable = src.representativeFragmentTestEnable;
21516}
21517
21518safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV& safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV::operator=(const safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV& src)
21519{
21520 if (&src == this) return *this;
21521
21522
21523 sType = src.sType;
21524 pNext = src.pNext;
21525 representativeFragmentTestEnable = src.representativeFragmentTestEnable;
21526
21527 return *this;
21528}
21529
21530safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV::~safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV()
21531{
21532}
21533
21534void safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV::initialize(const VkPipelineRepresentativeFragmentTestStateCreateInfoNV* in_struct)
21535{
21536 sType = in_struct->sType;
21537 pNext = in_struct->pNext;
21538 representativeFragmentTestEnable = in_struct->representativeFragmentTestEnable;
21539}
21540
21541void safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV::initialize(const safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV* src)
21542{
21543 sType = src->sType;
21544 pNext = src->pNext;
21545 representativeFragmentTestEnable = src->representativeFragmentTestEnable;
21546}
21547
21548safe_VkPhysicalDeviceImageViewImageFormatInfoEXT::safe_VkPhysicalDeviceImageViewImageFormatInfoEXT(const VkPhysicalDeviceImageViewImageFormatInfoEXT* in_struct) :
21549 sType(in_struct->sType),
21550 pNext(in_struct->pNext),
21551 imageViewType(in_struct->imageViewType)
21552{
21553}
21554
21555safe_VkPhysicalDeviceImageViewImageFormatInfoEXT::safe_VkPhysicalDeviceImageViewImageFormatInfoEXT()
21556{}
21557
21558safe_VkPhysicalDeviceImageViewImageFormatInfoEXT::safe_VkPhysicalDeviceImageViewImageFormatInfoEXT(const safe_VkPhysicalDeviceImageViewImageFormatInfoEXT& src)
21559{
21560 sType = src.sType;
21561 pNext = src.pNext;
21562 imageViewType = src.imageViewType;
21563}
21564
21565safe_VkPhysicalDeviceImageViewImageFormatInfoEXT& safe_VkPhysicalDeviceImageViewImageFormatInfoEXT::operator=(const safe_VkPhysicalDeviceImageViewImageFormatInfoEXT& src)
21566{
21567 if (&src == this) return *this;
21568
21569
21570 sType = src.sType;
21571 pNext = src.pNext;
21572 imageViewType = src.imageViewType;
21573
21574 return *this;
21575}
21576
21577safe_VkPhysicalDeviceImageViewImageFormatInfoEXT::~safe_VkPhysicalDeviceImageViewImageFormatInfoEXT()
21578{
21579}
21580
21581void safe_VkPhysicalDeviceImageViewImageFormatInfoEXT::initialize(const VkPhysicalDeviceImageViewImageFormatInfoEXT* in_struct)
21582{
21583 sType = in_struct->sType;
21584 pNext = in_struct->pNext;
21585 imageViewType = in_struct->imageViewType;
21586}
21587
21588void safe_VkPhysicalDeviceImageViewImageFormatInfoEXT::initialize(const safe_VkPhysicalDeviceImageViewImageFormatInfoEXT* src)
21589{
21590 sType = src->sType;
21591 pNext = src->pNext;
21592 imageViewType = src->imageViewType;
21593}
21594
21595safe_VkFilterCubicImageViewImageFormatPropertiesEXT::safe_VkFilterCubicImageViewImageFormatPropertiesEXT(const VkFilterCubicImageViewImageFormatPropertiesEXT* in_struct) :
21596 sType(in_struct->sType),
21597 pNext(in_struct->pNext),
21598 filterCubic(in_struct->filterCubic),
21599 filterCubicMinmax(in_struct->filterCubicMinmax)
21600{
21601}
21602
21603safe_VkFilterCubicImageViewImageFormatPropertiesEXT::safe_VkFilterCubicImageViewImageFormatPropertiesEXT()
21604{}
21605
21606safe_VkFilterCubicImageViewImageFormatPropertiesEXT::safe_VkFilterCubicImageViewImageFormatPropertiesEXT(const safe_VkFilterCubicImageViewImageFormatPropertiesEXT& src)
21607{
21608 sType = src.sType;
21609 pNext = src.pNext;
21610 filterCubic = src.filterCubic;
21611 filterCubicMinmax = src.filterCubicMinmax;
21612}
21613
21614safe_VkFilterCubicImageViewImageFormatPropertiesEXT& safe_VkFilterCubicImageViewImageFormatPropertiesEXT::operator=(const safe_VkFilterCubicImageViewImageFormatPropertiesEXT& src)
21615{
21616 if (&src == this) return *this;
21617
21618
21619 sType = src.sType;
21620 pNext = src.pNext;
21621 filterCubic = src.filterCubic;
21622 filterCubicMinmax = src.filterCubicMinmax;
21623
21624 return *this;
21625}
21626
21627safe_VkFilterCubicImageViewImageFormatPropertiesEXT::~safe_VkFilterCubicImageViewImageFormatPropertiesEXT()
21628{
21629}
21630
21631void safe_VkFilterCubicImageViewImageFormatPropertiesEXT::initialize(const VkFilterCubicImageViewImageFormatPropertiesEXT* in_struct)
21632{
21633 sType = in_struct->sType;
21634 pNext = in_struct->pNext;
21635 filterCubic = in_struct->filterCubic;
21636 filterCubicMinmax = in_struct->filterCubicMinmax;
21637}
21638
21639void safe_VkFilterCubicImageViewImageFormatPropertiesEXT::initialize(const safe_VkFilterCubicImageViewImageFormatPropertiesEXT* src)
21640{
21641 sType = src->sType;
21642 pNext = src->pNext;
21643 filterCubic = src->filterCubic;
21644 filterCubicMinmax = src->filterCubicMinmax;
21645}
21646
21647safe_VkDeviceQueueGlobalPriorityCreateInfoEXT::safe_VkDeviceQueueGlobalPriorityCreateInfoEXT(const VkDeviceQueueGlobalPriorityCreateInfoEXT* in_struct) :
21648 sType(in_struct->sType),
21649 pNext(in_struct->pNext),
21650 globalPriority(in_struct->globalPriority)
21651{
21652}
21653
21654safe_VkDeviceQueueGlobalPriorityCreateInfoEXT::safe_VkDeviceQueueGlobalPriorityCreateInfoEXT()
21655{}
21656
21657safe_VkDeviceQueueGlobalPriorityCreateInfoEXT::safe_VkDeviceQueueGlobalPriorityCreateInfoEXT(const safe_VkDeviceQueueGlobalPriorityCreateInfoEXT& src)
21658{
21659 sType = src.sType;
21660 pNext = src.pNext;
21661 globalPriority = src.globalPriority;
21662}
21663
21664safe_VkDeviceQueueGlobalPriorityCreateInfoEXT& safe_VkDeviceQueueGlobalPriorityCreateInfoEXT::operator=(const safe_VkDeviceQueueGlobalPriorityCreateInfoEXT& src)
21665{
21666 if (&src == this) return *this;
21667
21668
21669 sType = src.sType;
21670 pNext = src.pNext;
21671 globalPriority = src.globalPriority;
21672
21673 return *this;
21674}
21675
21676safe_VkDeviceQueueGlobalPriorityCreateInfoEXT::~safe_VkDeviceQueueGlobalPriorityCreateInfoEXT()
21677{
21678}
21679
21680void safe_VkDeviceQueueGlobalPriorityCreateInfoEXT::initialize(const VkDeviceQueueGlobalPriorityCreateInfoEXT* in_struct)
21681{
21682 sType = in_struct->sType;
21683 pNext = in_struct->pNext;
21684 globalPriority = in_struct->globalPriority;
21685}
21686
21687void safe_VkDeviceQueueGlobalPriorityCreateInfoEXT::initialize(const safe_VkDeviceQueueGlobalPriorityCreateInfoEXT* src)
21688{
21689 sType = src->sType;
21690 pNext = src->pNext;
21691 globalPriority = src->globalPriority;
21692}
21693
21694safe_VkImportMemoryHostPointerInfoEXT::safe_VkImportMemoryHostPointerInfoEXT(const VkImportMemoryHostPointerInfoEXT* in_struct) :
21695 sType(in_struct->sType),
21696 pNext(in_struct->pNext),
21697 handleType(in_struct->handleType),
21698 pHostPointer(in_struct->pHostPointer)
21699{
21700}
21701
21702safe_VkImportMemoryHostPointerInfoEXT::safe_VkImportMemoryHostPointerInfoEXT()
21703{}
21704
21705safe_VkImportMemoryHostPointerInfoEXT::safe_VkImportMemoryHostPointerInfoEXT(const safe_VkImportMemoryHostPointerInfoEXT& src)
21706{
21707 sType = src.sType;
21708 pNext = src.pNext;
21709 handleType = src.handleType;
21710 pHostPointer = src.pHostPointer;
21711}
21712
21713safe_VkImportMemoryHostPointerInfoEXT& safe_VkImportMemoryHostPointerInfoEXT::operator=(const safe_VkImportMemoryHostPointerInfoEXT& src)
21714{
21715 if (&src == this) return *this;
21716
21717
21718 sType = src.sType;
21719 pNext = src.pNext;
21720 handleType = src.handleType;
21721 pHostPointer = src.pHostPointer;
21722
21723 return *this;
21724}
21725
21726safe_VkImportMemoryHostPointerInfoEXT::~safe_VkImportMemoryHostPointerInfoEXT()
21727{
21728}
21729
21730void safe_VkImportMemoryHostPointerInfoEXT::initialize(const VkImportMemoryHostPointerInfoEXT* in_struct)
21731{
21732 sType = in_struct->sType;
21733 pNext = in_struct->pNext;
21734 handleType = in_struct->handleType;
21735 pHostPointer = in_struct->pHostPointer;
21736}
21737
21738void safe_VkImportMemoryHostPointerInfoEXT::initialize(const safe_VkImportMemoryHostPointerInfoEXT* src)
21739{
21740 sType = src->sType;
21741 pNext = src->pNext;
21742 handleType = src->handleType;
21743 pHostPointer = src->pHostPointer;
21744}
21745
21746safe_VkMemoryHostPointerPropertiesEXT::safe_VkMemoryHostPointerPropertiesEXT(const VkMemoryHostPointerPropertiesEXT* in_struct) :
21747 sType(in_struct->sType),
21748 pNext(in_struct->pNext),
21749 memoryTypeBits(in_struct->memoryTypeBits)
21750{
21751}
21752
21753safe_VkMemoryHostPointerPropertiesEXT::safe_VkMemoryHostPointerPropertiesEXT()
21754{}
21755
21756safe_VkMemoryHostPointerPropertiesEXT::safe_VkMemoryHostPointerPropertiesEXT(const safe_VkMemoryHostPointerPropertiesEXT& src)
21757{
21758 sType = src.sType;
21759 pNext = src.pNext;
21760 memoryTypeBits = src.memoryTypeBits;
21761}
21762
21763safe_VkMemoryHostPointerPropertiesEXT& safe_VkMemoryHostPointerPropertiesEXT::operator=(const safe_VkMemoryHostPointerPropertiesEXT& src)
21764{
21765 if (&src == this) return *this;
21766
21767
21768 sType = src.sType;
21769 pNext = src.pNext;
21770 memoryTypeBits = src.memoryTypeBits;
21771
21772 return *this;
21773}
21774
21775safe_VkMemoryHostPointerPropertiesEXT::~safe_VkMemoryHostPointerPropertiesEXT()
21776{
21777}
21778
21779void safe_VkMemoryHostPointerPropertiesEXT::initialize(const VkMemoryHostPointerPropertiesEXT* in_struct)
21780{
21781 sType = in_struct->sType;
21782 pNext = in_struct->pNext;
21783 memoryTypeBits = in_struct->memoryTypeBits;
21784}
21785
21786void safe_VkMemoryHostPointerPropertiesEXT::initialize(const safe_VkMemoryHostPointerPropertiesEXT* src)
21787{
21788 sType = src->sType;
21789 pNext = src->pNext;
21790 memoryTypeBits = src->memoryTypeBits;
21791}
21792
21793safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT::safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT(const VkPhysicalDeviceExternalMemoryHostPropertiesEXT* in_struct) :
21794 sType(in_struct->sType),
21795 pNext(in_struct->pNext),
21796 minImportedHostPointerAlignment(in_struct->minImportedHostPointerAlignment)
21797{
21798}
21799
21800safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT::safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT()
21801{}
21802
21803safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT::safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT(const safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT& src)
21804{
21805 sType = src.sType;
21806 pNext = src.pNext;
21807 minImportedHostPointerAlignment = src.minImportedHostPointerAlignment;
21808}
21809
21810safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT& safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT::operator=(const safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT& src)
21811{
21812 if (&src == this) return *this;
21813
21814
21815 sType = src.sType;
21816 pNext = src.pNext;
21817 minImportedHostPointerAlignment = src.minImportedHostPointerAlignment;
21818
21819 return *this;
21820}
21821
21822safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT::~safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT()
21823{
21824}
21825
21826void safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT::initialize(const VkPhysicalDeviceExternalMemoryHostPropertiesEXT* in_struct)
21827{
21828 sType = in_struct->sType;
21829 pNext = in_struct->pNext;
21830 minImportedHostPointerAlignment = in_struct->minImportedHostPointerAlignment;
21831}
21832
21833void safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT::initialize(const safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT* src)
21834{
21835 sType = src->sType;
21836 pNext = src->pNext;
21837 minImportedHostPointerAlignment = src->minImportedHostPointerAlignment;
21838}
21839
21840safe_VkCalibratedTimestampInfoEXT::safe_VkCalibratedTimestampInfoEXT(const VkCalibratedTimestampInfoEXT* in_struct) :
21841 sType(in_struct->sType),
21842 pNext(in_struct->pNext),
21843 timeDomain(in_struct->timeDomain)
21844{
21845}
21846
21847safe_VkCalibratedTimestampInfoEXT::safe_VkCalibratedTimestampInfoEXT()
21848{}
21849
21850safe_VkCalibratedTimestampInfoEXT::safe_VkCalibratedTimestampInfoEXT(const safe_VkCalibratedTimestampInfoEXT& src)
21851{
21852 sType = src.sType;
21853 pNext = src.pNext;
21854 timeDomain = src.timeDomain;
21855}
21856
21857safe_VkCalibratedTimestampInfoEXT& safe_VkCalibratedTimestampInfoEXT::operator=(const safe_VkCalibratedTimestampInfoEXT& src)
21858{
21859 if (&src == this) return *this;
21860
21861
21862 sType = src.sType;
21863 pNext = src.pNext;
21864 timeDomain = src.timeDomain;
21865
21866 return *this;
21867}
21868
21869safe_VkCalibratedTimestampInfoEXT::~safe_VkCalibratedTimestampInfoEXT()
21870{
21871}
21872
21873void safe_VkCalibratedTimestampInfoEXT::initialize(const VkCalibratedTimestampInfoEXT* in_struct)
21874{
21875 sType = in_struct->sType;
21876 pNext = in_struct->pNext;
21877 timeDomain = in_struct->timeDomain;
21878}
21879
21880void safe_VkCalibratedTimestampInfoEXT::initialize(const safe_VkCalibratedTimestampInfoEXT* src)
21881{
21882 sType = src->sType;
21883 pNext = src->pNext;
21884 timeDomain = src->timeDomain;
21885}
21886
21887safe_VkPhysicalDeviceShaderCorePropertiesAMD::safe_VkPhysicalDeviceShaderCorePropertiesAMD(const VkPhysicalDeviceShaderCorePropertiesAMD* in_struct) :
21888 sType(in_struct->sType),
21889 pNext(in_struct->pNext),
21890 shaderEngineCount(in_struct->shaderEngineCount),
21891 shaderArraysPerEngineCount(in_struct->shaderArraysPerEngineCount),
21892 computeUnitsPerShaderArray(in_struct->computeUnitsPerShaderArray),
21893 simdPerComputeUnit(in_struct->simdPerComputeUnit),
21894 wavefrontsPerSimd(in_struct->wavefrontsPerSimd),
21895 wavefrontSize(in_struct->wavefrontSize),
21896 sgprsPerSimd(in_struct->sgprsPerSimd),
21897 minSgprAllocation(in_struct->minSgprAllocation),
21898 maxSgprAllocation(in_struct->maxSgprAllocation),
21899 sgprAllocationGranularity(in_struct->sgprAllocationGranularity),
21900 vgprsPerSimd(in_struct->vgprsPerSimd),
21901 minVgprAllocation(in_struct->minVgprAllocation),
21902 maxVgprAllocation(in_struct->maxVgprAllocation),
21903 vgprAllocationGranularity(in_struct->vgprAllocationGranularity)
21904{
21905}
21906
21907safe_VkPhysicalDeviceShaderCorePropertiesAMD::safe_VkPhysicalDeviceShaderCorePropertiesAMD()
21908{}
21909
21910safe_VkPhysicalDeviceShaderCorePropertiesAMD::safe_VkPhysicalDeviceShaderCorePropertiesAMD(const safe_VkPhysicalDeviceShaderCorePropertiesAMD& src)
21911{
21912 sType = src.sType;
21913 pNext = src.pNext;
21914 shaderEngineCount = src.shaderEngineCount;
21915 shaderArraysPerEngineCount = src.shaderArraysPerEngineCount;
21916 computeUnitsPerShaderArray = src.computeUnitsPerShaderArray;
21917 simdPerComputeUnit = src.simdPerComputeUnit;
21918 wavefrontsPerSimd = src.wavefrontsPerSimd;
21919 wavefrontSize = src.wavefrontSize;
21920 sgprsPerSimd = src.sgprsPerSimd;
21921 minSgprAllocation = src.minSgprAllocation;
21922 maxSgprAllocation = src.maxSgprAllocation;
21923 sgprAllocationGranularity = src.sgprAllocationGranularity;
21924 vgprsPerSimd = src.vgprsPerSimd;
21925 minVgprAllocation = src.minVgprAllocation;
21926 maxVgprAllocation = src.maxVgprAllocation;
21927 vgprAllocationGranularity = src.vgprAllocationGranularity;
21928}
21929
21930safe_VkPhysicalDeviceShaderCorePropertiesAMD& safe_VkPhysicalDeviceShaderCorePropertiesAMD::operator=(const safe_VkPhysicalDeviceShaderCorePropertiesAMD& src)
21931{
21932 if (&src == this) return *this;
21933
21934
21935 sType = src.sType;
21936 pNext = src.pNext;
21937 shaderEngineCount = src.shaderEngineCount;
21938 shaderArraysPerEngineCount = src.shaderArraysPerEngineCount;
21939 computeUnitsPerShaderArray = src.computeUnitsPerShaderArray;
21940 simdPerComputeUnit = src.simdPerComputeUnit;
21941 wavefrontsPerSimd = src.wavefrontsPerSimd;
21942 wavefrontSize = src.wavefrontSize;
21943 sgprsPerSimd = src.sgprsPerSimd;
21944 minSgprAllocation = src.minSgprAllocation;
21945 maxSgprAllocation = src.maxSgprAllocation;
21946 sgprAllocationGranularity = src.sgprAllocationGranularity;
21947 vgprsPerSimd = src.vgprsPerSimd;
21948 minVgprAllocation = src.minVgprAllocation;
21949 maxVgprAllocation = src.maxVgprAllocation;
21950 vgprAllocationGranularity = src.vgprAllocationGranularity;
21951
21952 return *this;
21953}
21954
21955safe_VkPhysicalDeviceShaderCorePropertiesAMD::~safe_VkPhysicalDeviceShaderCorePropertiesAMD()
21956{
21957}
21958
21959void safe_VkPhysicalDeviceShaderCorePropertiesAMD::initialize(const VkPhysicalDeviceShaderCorePropertiesAMD* in_struct)
21960{
21961 sType = in_struct->sType;
21962 pNext = in_struct->pNext;
21963 shaderEngineCount = in_struct->shaderEngineCount;
21964 shaderArraysPerEngineCount = in_struct->shaderArraysPerEngineCount;
21965 computeUnitsPerShaderArray = in_struct->computeUnitsPerShaderArray;
21966 simdPerComputeUnit = in_struct->simdPerComputeUnit;
21967 wavefrontsPerSimd = in_struct->wavefrontsPerSimd;
21968 wavefrontSize = in_struct->wavefrontSize;
21969 sgprsPerSimd = in_struct->sgprsPerSimd;
21970 minSgprAllocation = in_struct->minSgprAllocation;
21971 maxSgprAllocation = in_struct->maxSgprAllocation;
21972 sgprAllocationGranularity = in_struct->sgprAllocationGranularity;
21973 vgprsPerSimd = in_struct->vgprsPerSimd;
21974 minVgprAllocation = in_struct->minVgprAllocation;
21975 maxVgprAllocation = in_struct->maxVgprAllocation;
21976 vgprAllocationGranularity = in_struct->vgprAllocationGranularity;
21977}
21978
21979void safe_VkPhysicalDeviceShaderCorePropertiesAMD::initialize(const safe_VkPhysicalDeviceShaderCorePropertiesAMD* src)
21980{
21981 sType = src->sType;
21982 pNext = src->pNext;
21983 shaderEngineCount = src->shaderEngineCount;
21984 shaderArraysPerEngineCount = src->shaderArraysPerEngineCount;
21985 computeUnitsPerShaderArray = src->computeUnitsPerShaderArray;
21986 simdPerComputeUnit = src->simdPerComputeUnit;
21987 wavefrontsPerSimd = src->wavefrontsPerSimd;
21988 wavefrontSize = src->wavefrontSize;
21989 sgprsPerSimd = src->sgprsPerSimd;
21990 minSgprAllocation = src->minSgprAllocation;
21991 maxSgprAllocation = src->maxSgprAllocation;
21992 sgprAllocationGranularity = src->sgprAllocationGranularity;
21993 vgprsPerSimd = src->vgprsPerSimd;
21994 minVgprAllocation = src->minVgprAllocation;
21995 maxVgprAllocation = src->maxVgprAllocation;
21996 vgprAllocationGranularity = src->vgprAllocationGranularity;
21997}
21998
21999safe_VkDeviceMemoryOverallocationCreateInfoAMD::safe_VkDeviceMemoryOverallocationCreateInfoAMD(const VkDeviceMemoryOverallocationCreateInfoAMD* in_struct) :
22000 sType(in_struct->sType),
22001 pNext(in_struct->pNext),
22002 overallocationBehavior(in_struct->overallocationBehavior)
22003{
22004}
22005
22006safe_VkDeviceMemoryOverallocationCreateInfoAMD::safe_VkDeviceMemoryOverallocationCreateInfoAMD()
22007{}
22008
22009safe_VkDeviceMemoryOverallocationCreateInfoAMD::safe_VkDeviceMemoryOverallocationCreateInfoAMD(const safe_VkDeviceMemoryOverallocationCreateInfoAMD& src)
22010{
22011 sType = src.sType;
22012 pNext = src.pNext;
22013 overallocationBehavior = src.overallocationBehavior;
22014}
22015
22016safe_VkDeviceMemoryOverallocationCreateInfoAMD& safe_VkDeviceMemoryOverallocationCreateInfoAMD::operator=(const safe_VkDeviceMemoryOverallocationCreateInfoAMD& src)
22017{
22018 if (&src == this) return *this;
22019
22020
22021 sType = src.sType;
22022 pNext = src.pNext;
22023 overallocationBehavior = src.overallocationBehavior;
22024
22025 return *this;
22026}
22027
22028safe_VkDeviceMemoryOverallocationCreateInfoAMD::~safe_VkDeviceMemoryOverallocationCreateInfoAMD()
22029{
22030}
22031
22032void safe_VkDeviceMemoryOverallocationCreateInfoAMD::initialize(const VkDeviceMemoryOverallocationCreateInfoAMD* in_struct)
22033{
22034 sType = in_struct->sType;
22035 pNext = in_struct->pNext;
22036 overallocationBehavior = in_struct->overallocationBehavior;
22037}
22038
22039void safe_VkDeviceMemoryOverallocationCreateInfoAMD::initialize(const safe_VkDeviceMemoryOverallocationCreateInfoAMD* src)
22040{
22041 sType = src->sType;
22042 pNext = src->pNext;
22043 overallocationBehavior = src->overallocationBehavior;
22044}
22045
22046safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT::safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT(const VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT* in_struct) :
22047 sType(in_struct->sType),
22048 pNext(in_struct->pNext),
22049 maxVertexAttribDivisor(in_struct->maxVertexAttribDivisor)
22050{
22051}
22052
22053safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT::safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT()
22054{}
22055
22056safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT::safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT(const safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT& src)
22057{
22058 sType = src.sType;
22059 pNext = src.pNext;
22060 maxVertexAttribDivisor = src.maxVertexAttribDivisor;
22061}
22062
22063safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT& safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT::operator=(const safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT& src)
22064{
22065 if (&src == this) return *this;
22066
22067
22068 sType = src.sType;
22069 pNext = src.pNext;
22070 maxVertexAttribDivisor = src.maxVertexAttribDivisor;
22071
22072 return *this;
22073}
22074
22075safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT::~safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT()
22076{
22077}
22078
22079void safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT::initialize(const VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT* in_struct)
22080{
22081 sType = in_struct->sType;
22082 pNext = in_struct->pNext;
22083 maxVertexAttribDivisor = in_struct->maxVertexAttribDivisor;
22084}
22085
22086void safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT::initialize(const safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT* src)
22087{
22088 sType = src->sType;
22089 pNext = src->pNext;
22090 maxVertexAttribDivisor = src->maxVertexAttribDivisor;
22091}
22092
22093safe_VkPipelineVertexInputDivisorStateCreateInfoEXT::safe_VkPipelineVertexInputDivisorStateCreateInfoEXT(const VkPipelineVertexInputDivisorStateCreateInfoEXT* in_struct) :
22094 sType(in_struct->sType),
22095 pNext(in_struct->pNext),
22096 vertexBindingDivisorCount(in_struct->vertexBindingDivisorCount),
22097 pVertexBindingDivisors(nullptr)
22098{
22099 if (in_struct->pVertexBindingDivisors) {
22100 pVertexBindingDivisors = new VkVertexInputBindingDivisorDescriptionEXT[in_struct->vertexBindingDivisorCount];
22101 memcpy ((void *)pVertexBindingDivisors, (void *)in_struct->pVertexBindingDivisors, sizeof(VkVertexInputBindingDivisorDescriptionEXT)*in_struct->vertexBindingDivisorCount);
22102 }
22103}
22104
22105safe_VkPipelineVertexInputDivisorStateCreateInfoEXT::safe_VkPipelineVertexInputDivisorStateCreateInfoEXT() :
22106 pVertexBindingDivisors(nullptr)
22107{}
22108
22109safe_VkPipelineVertexInputDivisorStateCreateInfoEXT::safe_VkPipelineVertexInputDivisorStateCreateInfoEXT(const safe_VkPipelineVertexInputDivisorStateCreateInfoEXT& src)
22110{
22111 sType = src.sType;
22112 pNext = src.pNext;
22113 vertexBindingDivisorCount = src.vertexBindingDivisorCount;
22114 pVertexBindingDivisors = nullptr;
22115 if (src.pVertexBindingDivisors) {
22116 pVertexBindingDivisors = new VkVertexInputBindingDivisorDescriptionEXT[src.vertexBindingDivisorCount];
22117 memcpy ((void *)pVertexBindingDivisors, (void *)src.pVertexBindingDivisors, sizeof(VkVertexInputBindingDivisorDescriptionEXT)*src.vertexBindingDivisorCount);
22118 }
22119}
22120
22121safe_VkPipelineVertexInputDivisorStateCreateInfoEXT& safe_VkPipelineVertexInputDivisorStateCreateInfoEXT::operator=(const safe_VkPipelineVertexInputDivisorStateCreateInfoEXT& src)
22122{
22123 if (&src == this) return *this;
22124
22125 if (pVertexBindingDivisors)
22126 delete[] pVertexBindingDivisors;
22127
22128 sType = src.sType;
22129 pNext = src.pNext;
22130 vertexBindingDivisorCount = src.vertexBindingDivisorCount;
22131 pVertexBindingDivisors = nullptr;
22132 if (src.pVertexBindingDivisors) {
22133 pVertexBindingDivisors = new VkVertexInputBindingDivisorDescriptionEXT[src.vertexBindingDivisorCount];
22134 memcpy ((void *)pVertexBindingDivisors, (void *)src.pVertexBindingDivisors, sizeof(VkVertexInputBindingDivisorDescriptionEXT)*src.vertexBindingDivisorCount);
22135 }
22136
22137 return *this;
22138}
22139
22140safe_VkPipelineVertexInputDivisorStateCreateInfoEXT::~safe_VkPipelineVertexInputDivisorStateCreateInfoEXT()
22141{
22142 if (pVertexBindingDivisors)
22143 delete[] pVertexBindingDivisors;
22144}
22145
22146void safe_VkPipelineVertexInputDivisorStateCreateInfoEXT::initialize(const VkPipelineVertexInputDivisorStateCreateInfoEXT* in_struct)
22147{
22148 sType = in_struct->sType;
22149 pNext = in_struct->pNext;
22150 vertexBindingDivisorCount = in_struct->vertexBindingDivisorCount;
22151 pVertexBindingDivisors = nullptr;
22152 if (in_struct->pVertexBindingDivisors) {
22153 pVertexBindingDivisors = new VkVertexInputBindingDivisorDescriptionEXT[in_struct->vertexBindingDivisorCount];
22154 memcpy ((void *)pVertexBindingDivisors, (void *)in_struct->pVertexBindingDivisors, sizeof(VkVertexInputBindingDivisorDescriptionEXT)*in_struct->vertexBindingDivisorCount);
22155 }
22156}
22157
22158void safe_VkPipelineVertexInputDivisorStateCreateInfoEXT::initialize(const safe_VkPipelineVertexInputDivisorStateCreateInfoEXT* src)
22159{
22160 sType = src->sType;
22161 pNext = src->pNext;
22162 vertexBindingDivisorCount = src->vertexBindingDivisorCount;
22163 pVertexBindingDivisors = nullptr;
22164 if (src->pVertexBindingDivisors) {
22165 pVertexBindingDivisors = new VkVertexInputBindingDivisorDescriptionEXT[src->vertexBindingDivisorCount];
22166 memcpy ((void *)pVertexBindingDivisors, (void *)src->pVertexBindingDivisors, sizeof(VkVertexInputBindingDivisorDescriptionEXT)*src->vertexBindingDivisorCount);
22167 }
22168}
22169
22170safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT::safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT(const VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT* in_struct) :
22171 sType(in_struct->sType),
22172 pNext(in_struct->pNext),
22173 vertexAttributeInstanceRateDivisor(in_struct->vertexAttributeInstanceRateDivisor),
22174 vertexAttributeInstanceRateZeroDivisor(in_struct->vertexAttributeInstanceRateZeroDivisor)
22175{
22176}
22177
22178safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT::safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT()
22179{}
22180
22181safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT::safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT(const safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT& src)
22182{
22183 sType = src.sType;
22184 pNext = src.pNext;
22185 vertexAttributeInstanceRateDivisor = src.vertexAttributeInstanceRateDivisor;
22186 vertexAttributeInstanceRateZeroDivisor = src.vertexAttributeInstanceRateZeroDivisor;
22187}
22188
22189safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT& safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT::operator=(const safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT& src)
22190{
22191 if (&src == this) return *this;
22192
22193
22194 sType = src.sType;
22195 pNext = src.pNext;
22196 vertexAttributeInstanceRateDivisor = src.vertexAttributeInstanceRateDivisor;
22197 vertexAttributeInstanceRateZeroDivisor = src.vertexAttributeInstanceRateZeroDivisor;
22198
22199 return *this;
22200}
22201
22202safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT::~safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT()
22203{
22204}
22205
22206void safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT::initialize(const VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT* in_struct)
22207{
22208 sType = in_struct->sType;
22209 pNext = in_struct->pNext;
22210 vertexAttributeInstanceRateDivisor = in_struct->vertexAttributeInstanceRateDivisor;
22211 vertexAttributeInstanceRateZeroDivisor = in_struct->vertexAttributeInstanceRateZeroDivisor;
22212}
22213
22214void safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT::initialize(const safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT* src)
22215{
22216 sType = src->sType;
22217 pNext = src->pNext;
22218 vertexAttributeInstanceRateDivisor = src->vertexAttributeInstanceRateDivisor;
22219 vertexAttributeInstanceRateZeroDivisor = src->vertexAttributeInstanceRateZeroDivisor;
22220}
22221#ifdef VK_USE_PLATFORM_GGP
22222
22223
22224safe_VkPresentFrameTokenGGP::safe_VkPresentFrameTokenGGP(const VkPresentFrameTokenGGP* in_struct) :
22225 sType(in_struct->sType),
22226 pNext(in_struct->pNext),
22227 frameToken(in_struct->frameToken)
22228{
22229}
22230
22231safe_VkPresentFrameTokenGGP::safe_VkPresentFrameTokenGGP()
22232{}
22233
22234safe_VkPresentFrameTokenGGP::safe_VkPresentFrameTokenGGP(const safe_VkPresentFrameTokenGGP& src)
22235{
22236 sType = src.sType;
22237 pNext = src.pNext;
22238 frameToken = src.frameToken;
22239}
22240
22241safe_VkPresentFrameTokenGGP& safe_VkPresentFrameTokenGGP::operator=(const safe_VkPresentFrameTokenGGP& src)
22242{
22243 if (&src == this) return *this;
22244
22245
22246 sType = src.sType;
22247 pNext = src.pNext;
22248 frameToken = src.frameToken;
22249
22250 return *this;
22251}
22252
22253safe_VkPresentFrameTokenGGP::~safe_VkPresentFrameTokenGGP()
22254{
22255}
22256
22257void safe_VkPresentFrameTokenGGP::initialize(const VkPresentFrameTokenGGP* in_struct)
22258{
22259 sType = in_struct->sType;
22260 pNext = in_struct->pNext;
22261 frameToken = in_struct->frameToken;
22262}
22263
22264void safe_VkPresentFrameTokenGGP::initialize(const safe_VkPresentFrameTokenGGP* src)
22265{
22266 sType = src->sType;
22267 pNext = src->pNext;
22268 frameToken = src->frameToken;
22269}
22270#endif // VK_USE_PLATFORM_GGP
22271
22272
22273safe_VkPipelineCreationFeedbackCreateInfoEXT::safe_VkPipelineCreationFeedbackCreateInfoEXT(const VkPipelineCreationFeedbackCreateInfoEXT* in_struct) :
22274 sType(in_struct->sType),
22275 pNext(in_struct->pNext),
22276 pPipelineCreationFeedback(nullptr),
22277 pipelineStageCreationFeedbackCount(in_struct->pipelineStageCreationFeedbackCount),
22278 pPipelineStageCreationFeedbacks(nullptr)
22279{
22280 if (in_struct->pPipelineCreationFeedback) {
22281 pPipelineCreationFeedback = new VkPipelineCreationFeedbackEXT(*in_struct->pPipelineCreationFeedback);
22282 }
22283 if (in_struct->pPipelineStageCreationFeedbacks) {
22284 pPipelineStageCreationFeedbacks = new VkPipelineCreationFeedbackEXT[in_struct->pipelineStageCreationFeedbackCount];
22285 memcpy ((void *)pPipelineStageCreationFeedbacks, (void *)in_struct->pPipelineStageCreationFeedbacks, sizeof(VkPipelineCreationFeedbackEXT)*in_struct->pipelineStageCreationFeedbackCount);
22286 }
22287}
22288
22289safe_VkPipelineCreationFeedbackCreateInfoEXT::safe_VkPipelineCreationFeedbackCreateInfoEXT() :
22290 pPipelineCreationFeedback(nullptr),
22291 pPipelineStageCreationFeedbacks(nullptr)
22292{}
22293
22294safe_VkPipelineCreationFeedbackCreateInfoEXT::safe_VkPipelineCreationFeedbackCreateInfoEXT(const safe_VkPipelineCreationFeedbackCreateInfoEXT& src)
22295{
22296 sType = src.sType;
22297 pNext = src.pNext;
22298 pPipelineCreationFeedback = nullptr;
22299 pipelineStageCreationFeedbackCount = src.pipelineStageCreationFeedbackCount;
22300 pPipelineStageCreationFeedbacks = nullptr;
22301 if (src.pPipelineCreationFeedback) {
22302 pPipelineCreationFeedback = new VkPipelineCreationFeedbackEXT(*src.pPipelineCreationFeedback);
22303 }
22304 if (src.pPipelineStageCreationFeedbacks) {
22305 pPipelineStageCreationFeedbacks = new VkPipelineCreationFeedbackEXT[src.pipelineStageCreationFeedbackCount];
22306 memcpy ((void *)pPipelineStageCreationFeedbacks, (void *)src.pPipelineStageCreationFeedbacks, sizeof(VkPipelineCreationFeedbackEXT)*src.pipelineStageCreationFeedbackCount);
22307 }
22308}
22309
22310safe_VkPipelineCreationFeedbackCreateInfoEXT& safe_VkPipelineCreationFeedbackCreateInfoEXT::operator=(const safe_VkPipelineCreationFeedbackCreateInfoEXT& src)
22311{
22312 if (&src == this) return *this;
22313
22314 if (pPipelineCreationFeedback)
22315 delete pPipelineCreationFeedback;
22316 if (pPipelineStageCreationFeedbacks)
22317 delete[] pPipelineStageCreationFeedbacks;
22318
22319 sType = src.sType;
22320 pNext = src.pNext;
22321 pPipelineCreationFeedback = nullptr;
22322 pipelineStageCreationFeedbackCount = src.pipelineStageCreationFeedbackCount;
22323 pPipelineStageCreationFeedbacks = nullptr;
22324 if (src.pPipelineCreationFeedback) {
22325 pPipelineCreationFeedback = new VkPipelineCreationFeedbackEXT(*src.pPipelineCreationFeedback);
22326 }
22327 if (src.pPipelineStageCreationFeedbacks) {
22328 pPipelineStageCreationFeedbacks = new VkPipelineCreationFeedbackEXT[src.pipelineStageCreationFeedbackCount];
22329 memcpy ((void *)pPipelineStageCreationFeedbacks, (void *)src.pPipelineStageCreationFeedbacks, sizeof(VkPipelineCreationFeedbackEXT)*src.pipelineStageCreationFeedbackCount);
22330 }
22331
22332 return *this;
22333}
22334
22335safe_VkPipelineCreationFeedbackCreateInfoEXT::~safe_VkPipelineCreationFeedbackCreateInfoEXT()
22336{
22337 if (pPipelineCreationFeedback)
22338 delete pPipelineCreationFeedback;
22339 if (pPipelineStageCreationFeedbacks)
22340 delete[] pPipelineStageCreationFeedbacks;
22341}
22342
22343void safe_VkPipelineCreationFeedbackCreateInfoEXT::initialize(const VkPipelineCreationFeedbackCreateInfoEXT* in_struct)
22344{
22345 sType = in_struct->sType;
22346 pNext = in_struct->pNext;
22347 pPipelineCreationFeedback = nullptr;
22348 pipelineStageCreationFeedbackCount = in_struct->pipelineStageCreationFeedbackCount;
22349 pPipelineStageCreationFeedbacks = nullptr;
22350 if (in_struct->pPipelineCreationFeedback) {
22351 pPipelineCreationFeedback = new VkPipelineCreationFeedbackEXT(*in_struct->pPipelineCreationFeedback);
22352 }
22353 if (in_struct->pPipelineStageCreationFeedbacks) {
22354 pPipelineStageCreationFeedbacks = new VkPipelineCreationFeedbackEXT[in_struct->pipelineStageCreationFeedbackCount];
22355 memcpy ((void *)pPipelineStageCreationFeedbacks, (void *)in_struct->pPipelineStageCreationFeedbacks, sizeof(VkPipelineCreationFeedbackEXT)*in_struct->pipelineStageCreationFeedbackCount);
22356 }
22357}
22358
22359void safe_VkPipelineCreationFeedbackCreateInfoEXT::initialize(const safe_VkPipelineCreationFeedbackCreateInfoEXT* src)
22360{
22361 sType = src->sType;
22362 pNext = src->pNext;
22363 pPipelineCreationFeedback = nullptr;
22364 pipelineStageCreationFeedbackCount = src->pipelineStageCreationFeedbackCount;
22365 pPipelineStageCreationFeedbacks = nullptr;
22366 if (src->pPipelineCreationFeedback) {
22367 pPipelineCreationFeedback = new VkPipelineCreationFeedbackEXT(*src->pPipelineCreationFeedback);
22368 }
22369 if (src->pPipelineStageCreationFeedbacks) {
22370 pPipelineStageCreationFeedbacks = new VkPipelineCreationFeedbackEXT[src->pipelineStageCreationFeedbackCount];
22371 memcpy ((void *)pPipelineStageCreationFeedbacks, (void *)src->pPipelineStageCreationFeedbacks, sizeof(VkPipelineCreationFeedbackEXT)*src->pipelineStageCreationFeedbackCount);
22372 }
22373}
22374
22375safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV::safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV(const VkPhysicalDeviceComputeShaderDerivativesFeaturesNV* in_struct) :
22376 sType(in_struct->sType),
22377 pNext(in_struct->pNext),
22378 computeDerivativeGroupQuads(in_struct->computeDerivativeGroupQuads),
22379 computeDerivativeGroupLinear(in_struct->computeDerivativeGroupLinear)
22380{
22381}
22382
22383safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV::safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV()
22384{}
22385
22386safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV::safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV(const safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV& src)
22387{
22388 sType = src.sType;
22389 pNext = src.pNext;
22390 computeDerivativeGroupQuads = src.computeDerivativeGroupQuads;
22391 computeDerivativeGroupLinear = src.computeDerivativeGroupLinear;
22392}
22393
22394safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV& safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV::operator=(const safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV& src)
22395{
22396 if (&src == this) return *this;
22397
22398
22399 sType = src.sType;
22400 pNext = src.pNext;
22401 computeDerivativeGroupQuads = src.computeDerivativeGroupQuads;
22402 computeDerivativeGroupLinear = src.computeDerivativeGroupLinear;
22403
22404 return *this;
22405}
22406
22407safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV::~safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV()
22408{
22409}
22410
22411void safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV::initialize(const VkPhysicalDeviceComputeShaderDerivativesFeaturesNV* in_struct)
22412{
22413 sType = in_struct->sType;
22414 pNext = in_struct->pNext;
22415 computeDerivativeGroupQuads = in_struct->computeDerivativeGroupQuads;
22416 computeDerivativeGroupLinear = in_struct->computeDerivativeGroupLinear;
22417}
22418
22419void safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV::initialize(const safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV* src)
22420{
22421 sType = src->sType;
22422 pNext = src->pNext;
22423 computeDerivativeGroupQuads = src->computeDerivativeGroupQuads;
22424 computeDerivativeGroupLinear = src->computeDerivativeGroupLinear;
22425}
22426
22427safe_VkPhysicalDeviceMeshShaderFeaturesNV::safe_VkPhysicalDeviceMeshShaderFeaturesNV(const VkPhysicalDeviceMeshShaderFeaturesNV* in_struct) :
22428 sType(in_struct->sType),
22429 pNext(in_struct->pNext),
22430 taskShader(in_struct->taskShader),
22431 meshShader(in_struct->meshShader)
22432{
22433}
22434
22435safe_VkPhysicalDeviceMeshShaderFeaturesNV::safe_VkPhysicalDeviceMeshShaderFeaturesNV()
22436{}
22437
22438safe_VkPhysicalDeviceMeshShaderFeaturesNV::safe_VkPhysicalDeviceMeshShaderFeaturesNV(const safe_VkPhysicalDeviceMeshShaderFeaturesNV& src)
22439{
22440 sType = src.sType;
22441 pNext = src.pNext;
22442 taskShader = src.taskShader;
22443 meshShader = src.meshShader;
22444}
22445
22446safe_VkPhysicalDeviceMeshShaderFeaturesNV& safe_VkPhysicalDeviceMeshShaderFeaturesNV::operator=(const safe_VkPhysicalDeviceMeshShaderFeaturesNV& src)
22447{
22448 if (&src == this) return *this;
22449
22450
22451 sType = src.sType;
22452 pNext = src.pNext;
22453 taskShader = src.taskShader;
22454 meshShader = src.meshShader;
22455
22456 return *this;
22457}
22458
22459safe_VkPhysicalDeviceMeshShaderFeaturesNV::~safe_VkPhysicalDeviceMeshShaderFeaturesNV()
22460{
22461}
22462
22463void safe_VkPhysicalDeviceMeshShaderFeaturesNV::initialize(const VkPhysicalDeviceMeshShaderFeaturesNV* in_struct)
22464{
22465 sType = in_struct->sType;
22466 pNext = in_struct->pNext;
22467 taskShader = in_struct->taskShader;
22468 meshShader = in_struct->meshShader;
22469}
22470
22471void safe_VkPhysicalDeviceMeshShaderFeaturesNV::initialize(const safe_VkPhysicalDeviceMeshShaderFeaturesNV* src)
22472{
22473 sType = src->sType;
22474 pNext = src->pNext;
22475 taskShader = src->taskShader;
22476 meshShader = src->meshShader;
22477}
22478
22479safe_VkPhysicalDeviceMeshShaderPropertiesNV::safe_VkPhysicalDeviceMeshShaderPropertiesNV(const VkPhysicalDeviceMeshShaderPropertiesNV* in_struct) :
22480 sType(in_struct->sType),
22481 pNext(in_struct->pNext),
22482 maxDrawMeshTasksCount(in_struct->maxDrawMeshTasksCount),
22483 maxTaskWorkGroupInvocations(in_struct->maxTaskWorkGroupInvocations),
22484 maxTaskTotalMemorySize(in_struct->maxTaskTotalMemorySize),
22485 maxTaskOutputCount(in_struct->maxTaskOutputCount),
22486 maxMeshWorkGroupInvocations(in_struct->maxMeshWorkGroupInvocations),
22487 maxMeshTotalMemorySize(in_struct->maxMeshTotalMemorySize),
22488 maxMeshOutputVertices(in_struct->maxMeshOutputVertices),
22489 maxMeshOutputPrimitives(in_struct->maxMeshOutputPrimitives),
22490 maxMeshMultiviewViewCount(in_struct->maxMeshMultiviewViewCount),
22491 meshOutputPerVertexGranularity(in_struct->meshOutputPerVertexGranularity),
22492 meshOutputPerPrimitiveGranularity(in_struct->meshOutputPerPrimitiveGranularity)
22493{
22494 for (uint32_t i=0; i<3; ++i) {
22495 maxTaskWorkGroupSize[i] = in_struct->maxTaskWorkGroupSize[i];
22496 }
22497 for (uint32_t i=0; i<3; ++i) {
22498 maxMeshWorkGroupSize[i] = in_struct->maxMeshWorkGroupSize[i];
22499 }
22500}
22501
22502safe_VkPhysicalDeviceMeshShaderPropertiesNV::safe_VkPhysicalDeviceMeshShaderPropertiesNV()
22503{}
22504
22505safe_VkPhysicalDeviceMeshShaderPropertiesNV::safe_VkPhysicalDeviceMeshShaderPropertiesNV(const safe_VkPhysicalDeviceMeshShaderPropertiesNV& src)
22506{
22507 sType = src.sType;
22508 pNext = src.pNext;
22509 maxDrawMeshTasksCount = src.maxDrawMeshTasksCount;
22510 maxTaskWorkGroupInvocations = src.maxTaskWorkGroupInvocations;
22511 maxTaskTotalMemorySize = src.maxTaskTotalMemorySize;
22512 maxTaskOutputCount = src.maxTaskOutputCount;
22513 maxMeshWorkGroupInvocations = src.maxMeshWorkGroupInvocations;
22514 maxMeshTotalMemorySize = src.maxMeshTotalMemorySize;
22515 maxMeshOutputVertices = src.maxMeshOutputVertices;
22516 maxMeshOutputPrimitives = src.maxMeshOutputPrimitives;
22517 maxMeshMultiviewViewCount = src.maxMeshMultiviewViewCount;
22518 meshOutputPerVertexGranularity = src.meshOutputPerVertexGranularity;
22519 meshOutputPerPrimitiveGranularity = src.meshOutputPerPrimitiveGranularity;
22520 for (uint32_t i=0; i<3; ++i) {
22521 maxTaskWorkGroupSize[i] = src.maxTaskWorkGroupSize[i];
22522 }
22523 for (uint32_t i=0; i<3; ++i) {
22524 maxMeshWorkGroupSize[i] = src.maxMeshWorkGroupSize[i];
22525 }
22526}
22527
22528safe_VkPhysicalDeviceMeshShaderPropertiesNV& safe_VkPhysicalDeviceMeshShaderPropertiesNV::operator=(const safe_VkPhysicalDeviceMeshShaderPropertiesNV& src)
22529{
22530 if (&src == this) return *this;
22531
22532
22533 sType = src.sType;
22534 pNext = src.pNext;
22535 maxDrawMeshTasksCount = src.maxDrawMeshTasksCount;
22536 maxTaskWorkGroupInvocations = src.maxTaskWorkGroupInvocations;
22537 maxTaskTotalMemorySize = src.maxTaskTotalMemorySize;
22538 maxTaskOutputCount = src.maxTaskOutputCount;
22539 maxMeshWorkGroupInvocations = src.maxMeshWorkGroupInvocations;
22540 maxMeshTotalMemorySize = src.maxMeshTotalMemorySize;
22541 maxMeshOutputVertices = src.maxMeshOutputVertices;
22542 maxMeshOutputPrimitives = src.maxMeshOutputPrimitives;
22543 maxMeshMultiviewViewCount = src.maxMeshMultiviewViewCount;
22544 meshOutputPerVertexGranularity = src.meshOutputPerVertexGranularity;
22545 meshOutputPerPrimitiveGranularity = src.meshOutputPerPrimitiveGranularity;
22546 for (uint32_t i=0; i<3; ++i) {
22547 maxTaskWorkGroupSize[i] = src.maxTaskWorkGroupSize[i];
22548 }
22549 for (uint32_t i=0; i<3; ++i) {
22550 maxMeshWorkGroupSize[i] = src.maxMeshWorkGroupSize[i];
22551 }
22552
22553 return *this;
22554}
22555
22556safe_VkPhysicalDeviceMeshShaderPropertiesNV::~safe_VkPhysicalDeviceMeshShaderPropertiesNV()
22557{
22558}
22559
22560void safe_VkPhysicalDeviceMeshShaderPropertiesNV::initialize(const VkPhysicalDeviceMeshShaderPropertiesNV* in_struct)
22561{
22562 sType = in_struct->sType;
22563 pNext = in_struct->pNext;
22564 maxDrawMeshTasksCount = in_struct->maxDrawMeshTasksCount;
22565 maxTaskWorkGroupInvocations = in_struct->maxTaskWorkGroupInvocations;
22566 maxTaskTotalMemorySize = in_struct->maxTaskTotalMemorySize;
22567 maxTaskOutputCount = in_struct->maxTaskOutputCount;
22568 maxMeshWorkGroupInvocations = in_struct->maxMeshWorkGroupInvocations;
22569 maxMeshTotalMemorySize = in_struct->maxMeshTotalMemorySize;
22570 maxMeshOutputVertices = in_struct->maxMeshOutputVertices;
22571 maxMeshOutputPrimitives = in_struct->maxMeshOutputPrimitives;
22572 maxMeshMultiviewViewCount = in_struct->maxMeshMultiviewViewCount;
22573 meshOutputPerVertexGranularity = in_struct->meshOutputPerVertexGranularity;
22574 meshOutputPerPrimitiveGranularity = in_struct->meshOutputPerPrimitiveGranularity;
22575 for (uint32_t i=0; i<3; ++i) {
22576 maxTaskWorkGroupSize[i] = in_struct->maxTaskWorkGroupSize[i];
22577 }
22578 for (uint32_t i=0; i<3; ++i) {
22579 maxMeshWorkGroupSize[i] = in_struct->maxMeshWorkGroupSize[i];
22580 }
22581}
22582
22583void safe_VkPhysicalDeviceMeshShaderPropertiesNV::initialize(const safe_VkPhysicalDeviceMeshShaderPropertiesNV* src)
22584{
22585 sType = src->sType;
22586 pNext = src->pNext;
22587 maxDrawMeshTasksCount = src->maxDrawMeshTasksCount;
22588 maxTaskWorkGroupInvocations = src->maxTaskWorkGroupInvocations;
22589 maxTaskTotalMemorySize = src->maxTaskTotalMemorySize;
22590 maxTaskOutputCount = src->maxTaskOutputCount;
22591 maxMeshWorkGroupInvocations = src->maxMeshWorkGroupInvocations;
22592 maxMeshTotalMemorySize = src->maxMeshTotalMemorySize;
22593 maxMeshOutputVertices = src->maxMeshOutputVertices;
22594 maxMeshOutputPrimitives = src->maxMeshOutputPrimitives;
22595 maxMeshMultiviewViewCount = src->maxMeshMultiviewViewCount;
22596 meshOutputPerVertexGranularity = src->meshOutputPerVertexGranularity;
22597 meshOutputPerPrimitiveGranularity = src->meshOutputPerPrimitiveGranularity;
22598 for (uint32_t i=0; i<3; ++i) {
22599 maxTaskWorkGroupSize[i] = src->maxTaskWorkGroupSize[i];
22600 }
22601 for (uint32_t i=0; i<3; ++i) {
22602 maxMeshWorkGroupSize[i] = src->maxMeshWorkGroupSize[i];
22603 }
22604}
22605
22606safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV::safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV(const VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV* in_struct) :
22607 sType(in_struct->sType),
22608 pNext(in_struct->pNext),
22609 fragmentShaderBarycentric(in_struct->fragmentShaderBarycentric)
22610{
22611}
22612
22613safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV::safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV()
22614{}
22615
22616safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV::safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV(const safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV& src)
22617{
22618 sType = src.sType;
22619 pNext = src.pNext;
22620 fragmentShaderBarycentric = src.fragmentShaderBarycentric;
22621}
22622
22623safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV& safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV::operator=(const safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV& src)
22624{
22625 if (&src == this) return *this;
22626
22627
22628 sType = src.sType;
22629 pNext = src.pNext;
22630 fragmentShaderBarycentric = src.fragmentShaderBarycentric;
22631
22632 return *this;
22633}
22634
22635safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV::~safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV()
22636{
22637}
22638
22639void safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV::initialize(const VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV* in_struct)
22640{
22641 sType = in_struct->sType;
22642 pNext = in_struct->pNext;
22643 fragmentShaderBarycentric = in_struct->fragmentShaderBarycentric;
22644}
22645
22646void safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV::initialize(const safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV* src)
22647{
22648 sType = src->sType;
22649 pNext = src->pNext;
22650 fragmentShaderBarycentric = src->fragmentShaderBarycentric;
22651}
22652
22653safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV::safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV(const VkPhysicalDeviceShaderImageFootprintFeaturesNV* in_struct) :
22654 sType(in_struct->sType),
22655 pNext(in_struct->pNext),
22656 imageFootprint(in_struct->imageFootprint)
22657{
22658}
22659
22660safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV::safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV()
22661{}
22662
22663safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV::safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV(const safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV& src)
22664{
22665 sType = src.sType;
22666 pNext = src.pNext;
22667 imageFootprint = src.imageFootprint;
22668}
22669
22670safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV& safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV::operator=(const safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV& src)
22671{
22672 if (&src == this) return *this;
22673
22674
22675 sType = src.sType;
22676 pNext = src.pNext;
22677 imageFootprint = src.imageFootprint;
22678
22679 return *this;
22680}
22681
22682safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV::~safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV()
22683{
22684}
22685
22686void safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV::initialize(const VkPhysicalDeviceShaderImageFootprintFeaturesNV* in_struct)
22687{
22688 sType = in_struct->sType;
22689 pNext = in_struct->pNext;
22690 imageFootprint = in_struct->imageFootprint;
22691}
22692
22693void safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV::initialize(const safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV* src)
22694{
22695 sType = src->sType;
22696 pNext = src->pNext;
22697 imageFootprint = src->imageFootprint;
22698}
22699
22700safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV::safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV(const VkPipelineViewportExclusiveScissorStateCreateInfoNV* in_struct) :
22701 sType(in_struct->sType),
22702 pNext(in_struct->pNext),
22703 exclusiveScissorCount(in_struct->exclusiveScissorCount),
22704 pExclusiveScissors(nullptr)
22705{
22706 if (in_struct->pExclusiveScissors) {
22707 pExclusiveScissors = new VkRect2D[in_struct->exclusiveScissorCount];
22708 memcpy ((void *)pExclusiveScissors, (void *)in_struct->pExclusiveScissors, sizeof(VkRect2D)*in_struct->exclusiveScissorCount);
22709 }
22710}
22711
22712safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV::safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV() :
22713 pExclusiveScissors(nullptr)
22714{}
22715
22716safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV::safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV(const safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV& src)
22717{
22718 sType = src.sType;
22719 pNext = src.pNext;
22720 exclusiveScissorCount = src.exclusiveScissorCount;
22721 pExclusiveScissors = nullptr;
22722 if (src.pExclusiveScissors) {
22723 pExclusiveScissors = new VkRect2D[src.exclusiveScissorCount];
22724 memcpy ((void *)pExclusiveScissors, (void *)src.pExclusiveScissors, sizeof(VkRect2D)*src.exclusiveScissorCount);
22725 }
22726}
22727
22728safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV& safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV::operator=(const safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV& src)
22729{
22730 if (&src == this) return *this;
22731
22732 if (pExclusiveScissors)
22733 delete[] pExclusiveScissors;
22734
22735 sType = src.sType;
22736 pNext = src.pNext;
22737 exclusiveScissorCount = src.exclusiveScissorCount;
22738 pExclusiveScissors = nullptr;
22739 if (src.pExclusiveScissors) {
22740 pExclusiveScissors = new VkRect2D[src.exclusiveScissorCount];
22741 memcpy ((void *)pExclusiveScissors, (void *)src.pExclusiveScissors, sizeof(VkRect2D)*src.exclusiveScissorCount);
22742 }
22743
22744 return *this;
22745}
22746
22747safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV::~safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV()
22748{
22749 if (pExclusiveScissors)
22750 delete[] pExclusiveScissors;
22751}
22752
22753void safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV::initialize(const VkPipelineViewportExclusiveScissorStateCreateInfoNV* in_struct)
22754{
22755 sType = in_struct->sType;
22756 pNext = in_struct->pNext;
22757 exclusiveScissorCount = in_struct->exclusiveScissorCount;
22758 pExclusiveScissors = nullptr;
22759 if (in_struct->pExclusiveScissors) {
22760 pExclusiveScissors = new VkRect2D[in_struct->exclusiveScissorCount];
22761 memcpy ((void *)pExclusiveScissors, (void *)in_struct->pExclusiveScissors, sizeof(VkRect2D)*in_struct->exclusiveScissorCount);
22762 }
22763}
22764
22765void safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV::initialize(const safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV* src)
22766{
22767 sType = src->sType;
22768 pNext = src->pNext;
22769 exclusiveScissorCount = src->exclusiveScissorCount;
22770 pExclusiveScissors = nullptr;
22771 if (src->pExclusiveScissors) {
22772 pExclusiveScissors = new VkRect2D[src->exclusiveScissorCount];
22773 memcpy ((void *)pExclusiveScissors, (void *)src->pExclusiveScissors, sizeof(VkRect2D)*src->exclusiveScissorCount);
22774 }
22775}
22776
22777safe_VkPhysicalDeviceExclusiveScissorFeaturesNV::safe_VkPhysicalDeviceExclusiveScissorFeaturesNV(const VkPhysicalDeviceExclusiveScissorFeaturesNV* in_struct) :
22778 sType(in_struct->sType),
22779 pNext(in_struct->pNext),
22780 exclusiveScissor(in_struct->exclusiveScissor)
22781{
22782}
22783
22784safe_VkPhysicalDeviceExclusiveScissorFeaturesNV::safe_VkPhysicalDeviceExclusiveScissorFeaturesNV()
22785{}
22786
22787safe_VkPhysicalDeviceExclusiveScissorFeaturesNV::safe_VkPhysicalDeviceExclusiveScissorFeaturesNV(const safe_VkPhysicalDeviceExclusiveScissorFeaturesNV& src)
22788{
22789 sType = src.sType;
22790 pNext = src.pNext;
22791 exclusiveScissor = src.exclusiveScissor;
22792}
22793
22794safe_VkPhysicalDeviceExclusiveScissorFeaturesNV& safe_VkPhysicalDeviceExclusiveScissorFeaturesNV::operator=(const safe_VkPhysicalDeviceExclusiveScissorFeaturesNV& src)
22795{
22796 if (&src == this) return *this;
22797
22798
22799 sType = src.sType;
22800 pNext = src.pNext;
22801 exclusiveScissor = src.exclusiveScissor;
22802
22803 return *this;
22804}
22805
22806safe_VkPhysicalDeviceExclusiveScissorFeaturesNV::~safe_VkPhysicalDeviceExclusiveScissorFeaturesNV()
22807{
22808}
22809
22810void safe_VkPhysicalDeviceExclusiveScissorFeaturesNV::initialize(const VkPhysicalDeviceExclusiveScissorFeaturesNV* in_struct)
22811{
22812 sType = in_struct->sType;
22813 pNext = in_struct->pNext;
22814 exclusiveScissor = in_struct->exclusiveScissor;
22815}
22816
22817void safe_VkPhysicalDeviceExclusiveScissorFeaturesNV::initialize(const safe_VkPhysicalDeviceExclusiveScissorFeaturesNV* src)
22818{
22819 sType = src->sType;
22820 pNext = src->pNext;
22821 exclusiveScissor = src->exclusiveScissor;
22822}
22823
22824safe_VkQueueFamilyCheckpointPropertiesNV::safe_VkQueueFamilyCheckpointPropertiesNV(const VkQueueFamilyCheckpointPropertiesNV* in_struct) :
22825 sType(in_struct->sType),
22826 pNext(in_struct->pNext),
22827 checkpointExecutionStageMask(in_struct->checkpointExecutionStageMask)
22828{
22829}
22830
22831safe_VkQueueFamilyCheckpointPropertiesNV::safe_VkQueueFamilyCheckpointPropertiesNV()
22832{}
22833
22834safe_VkQueueFamilyCheckpointPropertiesNV::safe_VkQueueFamilyCheckpointPropertiesNV(const safe_VkQueueFamilyCheckpointPropertiesNV& src)
22835{
22836 sType = src.sType;
22837 pNext = src.pNext;
22838 checkpointExecutionStageMask = src.checkpointExecutionStageMask;
22839}
22840
22841safe_VkQueueFamilyCheckpointPropertiesNV& safe_VkQueueFamilyCheckpointPropertiesNV::operator=(const safe_VkQueueFamilyCheckpointPropertiesNV& src)
22842{
22843 if (&src == this) return *this;
22844
22845
22846 sType = src.sType;
22847 pNext = src.pNext;
22848 checkpointExecutionStageMask = src.checkpointExecutionStageMask;
22849
22850 return *this;
22851}
22852
22853safe_VkQueueFamilyCheckpointPropertiesNV::~safe_VkQueueFamilyCheckpointPropertiesNV()
22854{
22855}
22856
22857void safe_VkQueueFamilyCheckpointPropertiesNV::initialize(const VkQueueFamilyCheckpointPropertiesNV* in_struct)
22858{
22859 sType = in_struct->sType;
22860 pNext = in_struct->pNext;
22861 checkpointExecutionStageMask = in_struct->checkpointExecutionStageMask;
22862}
22863
22864void safe_VkQueueFamilyCheckpointPropertiesNV::initialize(const safe_VkQueueFamilyCheckpointPropertiesNV* src)
22865{
22866 sType = src->sType;
22867 pNext = src->pNext;
22868 checkpointExecutionStageMask = src->checkpointExecutionStageMask;
22869}
22870
22871safe_VkCheckpointDataNV::safe_VkCheckpointDataNV(const VkCheckpointDataNV* in_struct) :
22872 sType(in_struct->sType),
22873 pNext(in_struct->pNext),
22874 stage(in_struct->stage),
22875 pCheckpointMarker(in_struct->pCheckpointMarker)
22876{
22877}
22878
22879safe_VkCheckpointDataNV::safe_VkCheckpointDataNV()
22880{}
22881
22882safe_VkCheckpointDataNV::safe_VkCheckpointDataNV(const safe_VkCheckpointDataNV& src)
22883{
22884 sType = src.sType;
22885 pNext = src.pNext;
22886 stage = src.stage;
22887 pCheckpointMarker = src.pCheckpointMarker;
22888}
22889
22890safe_VkCheckpointDataNV& safe_VkCheckpointDataNV::operator=(const safe_VkCheckpointDataNV& src)
22891{
22892 if (&src == this) return *this;
22893
22894
22895 sType = src.sType;
22896 pNext = src.pNext;
22897 stage = src.stage;
22898 pCheckpointMarker = src.pCheckpointMarker;
22899
22900 return *this;
22901}
22902
22903safe_VkCheckpointDataNV::~safe_VkCheckpointDataNV()
22904{
22905}
22906
22907void safe_VkCheckpointDataNV::initialize(const VkCheckpointDataNV* in_struct)
22908{
22909 sType = in_struct->sType;
22910 pNext = in_struct->pNext;
22911 stage = in_struct->stage;
22912 pCheckpointMarker = in_struct->pCheckpointMarker;
22913}
22914
22915void safe_VkCheckpointDataNV::initialize(const safe_VkCheckpointDataNV* src)
22916{
22917 sType = src->sType;
22918 pNext = src->pNext;
22919 stage = src->stage;
22920 pCheckpointMarker = src->pCheckpointMarker;
22921}
22922
22923safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL::safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL(const VkPhysicalDeviceShaderIntegerFunctions2INTEL* in_struct) :
22924 sType(in_struct->sType),
22925 pNext(in_struct->pNext),
22926 shaderIntegerFunctions2(in_struct->shaderIntegerFunctions2)
22927{
22928}
22929
22930safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL::safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL()
22931{}
22932
22933safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL::safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL(const safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL& src)
22934{
22935 sType = src.sType;
22936 pNext = src.pNext;
22937 shaderIntegerFunctions2 = src.shaderIntegerFunctions2;
22938}
22939
22940safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL& safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL::operator=(const safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL& src)
22941{
22942 if (&src == this) return *this;
22943
22944
22945 sType = src.sType;
22946 pNext = src.pNext;
22947 shaderIntegerFunctions2 = src.shaderIntegerFunctions2;
22948
22949 return *this;
22950}
22951
22952safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL::~safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL()
22953{
22954}
22955
22956void safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL::initialize(const VkPhysicalDeviceShaderIntegerFunctions2INTEL* in_struct)
22957{
22958 sType = in_struct->sType;
22959 pNext = in_struct->pNext;
22960 shaderIntegerFunctions2 = in_struct->shaderIntegerFunctions2;
22961}
22962
22963void safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL::initialize(const safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL* src)
22964{
22965 sType = src->sType;
22966 pNext = src->pNext;
22967 shaderIntegerFunctions2 = src->shaderIntegerFunctions2;
22968}
22969
22970safe_VkPerformanceValueDataINTEL::safe_VkPerformanceValueDataINTEL(const VkPerformanceValueDataINTEL* in_struct) :
22971 value32(in_struct->value32),
22972 value64(in_struct->value64),
22973 valueFloat(in_struct->valueFloat),
22974 valueBool(in_struct->valueBool),
22975 valueString(in_struct->valueString)
22976{
22977}
22978
22979safe_VkPerformanceValueDataINTEL::safe_VkPerformanceValueDataINTEL()
22980{}
22981
22982safe_VkPerformanceValueDataINTEL::safe_VkPerformanceValueDataINTEL(const safe_VkPerformanceValueDataINTEL& src)
22983{
22984 value32 = src.value32;
22985 value64 = src.value64;
22986 valueFloat = src.valueFloat;
22987 valueBool = src.valueBool;
22988 valueString = src.valueString;
22989}
22990
22991safe_VkPerformanceValueDataINTEL& safe_VkPerformanceValueDataINTEL::operator=(const safe_VkPerformanceValueDataINTEL& src)
22992{
22993 if (&src == this) return *this;
22994
22995
22996 value32 = src.value32;
22997 value64 = src.value64;
22998 valueFloat = src.valueFloat;
22999 valueBool = src.valueBool;
23000 valueString = src.valueString;
23001
23002 return *this;
23003}
23004
23005safe_VkPerformanceValueDataINTEL::~safe_VkPerformanceValueDataINTEL()
23006{
23007}
23008
23009void safe_VkPerformanceValueDataINTEL::initialize(const VkPerformanceValueDataINTEL* in_struct)
23010{
23011 value32 = in_struct->value32;
23012 value64 = in_struct->value64;
23013 valueFloat = in_struct->valueFloat;
23014 valueBool = in_struct->valueBool;
23015 valueString = in_struct->valueString;
23016}
23017
23018void safe_VkPerformanceValueDataINTEL::initialize(const safe_VkPerformanceValueDataINTEL* src)
23019{
23020 value32 = src->value32;
23021 value64 = src->value64;
23022 valueFloat = src->valueFloat;
23023 valueBool = src->valueBool;
23024 valueString = src->valueString;
23025}
23026
23027safe_VkInitializePerformanceApiInfoINTEL::safe_VkInitializePerformanceApiInfoINTEL(const VkInitializePerformanceApiInfoINTEL* in_struct) :
23028 sType(in_struct->sType),
23029 pNext(in_struct->pNext),
23030 pUserData(in_struct->pUserData)
23031{
23032}
23033
23034safe_VkInitializePerformanceApiInfoINTEL::safe_VkInitializePerformanceApiInfoINTEL()
23035{}
23036
23037safe_VkInitializePerformanceApiInfoINTEL::safe_VkInitializePerformanceApiInfoINTEL(const safe_VkInitializePerformanceApiInfoINTEL& src)
23038{
23039 sType = src.sType;
23040 pNext = src.pNext;
23041 pUserData = src.pUserData;
23042}
23043
23044safe_VkInitializePerformanceApiInfoINTEL& safe_VkInitializePerformanceApiInfoINTEL::operator=(const safe_VkInitializePerformanceApiInfoINTEL& src)
23045{
23046 if (&src == this) return *this;
23047
23048
23049 sType = src.sType;
23050 pNext = src.pNext;
23051 pUserData = src.pUserData;
23052
23053 return *this;
23054}
23055
23056safe_VkInitializePerformanceApiInfoINTEL::~safe_VkInitializePerformanceApiInfoINTEL()
23057{
23058}
23059
23060void safe_VkInitializePerformanceApiInfoINTEL::initialize(const VkInitializePerformanceApiInfoINTEL* in_struct)
23061{
23062 sType = in_struct->sType;
23063 pNext = in_struct->pNext;
23064 pUserData = in_struct->pUserData;
23065}
23066
23067void safe_VkInitializePerformanceApiInfoINTEL::initialize(const safe_VkInitializePerformanceApiInfoINTEL* src)
23068{
23069 sType = src->sType;
23070 pNext = src->pNext;
23071 pUserData = src->pUserData;
23072}
23073
23074safe_VkQueryPoolCreateInfoINTEL::safe_VkQueryPoolCreateInfoINTEL(const VkQueryPoolCreateInfoINTEL* in_struct) :
23075 sType(in_struct->sType),
23076 pNext(in_struct->pNext),
23077 performanceCountersSampling(in_struct->performanceCountersSampling)
23078{
23079}
23080
23081safe_VkQueryPoolCreateInfoINTEL::safe_VkQueryPoolCreateInfoINTEL()
23082{}
23083
23084safe_VkQueryPoolCreateInfoINTEL::safe_VkQueryPoolCreateInfoINTEL(const safe_VkQueryPoolCreateInfoINTEL& src)
23085{
23086 sType = src.sType;
23087 pNext = src.pNext;
23088 performanceCountersSampling = src.performanceCountersSampling;
23089}
23090
23091safe_VkQueryPoolCreateInfoINTEL& safe_VkQueryPoolCreateInfoINTEL::operator=(const safe_VkQueryPoolCreateInfoINTEL& src)
23092{
23093 if (&src == this) return *this;
23094
23095
23096 sType = src.sType;
23097 pNext = src.pNext;
23098 performanceCountersSampling = src.performanceCountersSampling;
23099
23100 return *this;
23101}
23102
23103safe_VkQueryPoolCreateInfoINTEL::~safe_VkQueryPoolCreateInfoINTEL()
23104{
23105}
23106
23107void safe_VkQueryPoolCreateInfoINTEL::initialize(const VkQueryPoolCreateInfoINTEL* in_struct)
23108{
23109 sType = in_struct->sType;
23110 pNext = in_struct->pNext;
23111 performanceCountersSampling = in_struct->performanceCountersSampling;
23112}
23113
23114void safe_VkQueryPoolCreateInfoINTEL::initialize(const safe_VkQueryPoolCreateInfoINTEL* src)
23115{
23116 sType = src->sType;
23117 pNext = src->pNext;
23118 performanceCountersSampling = src->performanceCountersSampling;
23119}
23120
23121safe_VkPerformanceMarkerInfoINTEL::safe_VkPerformanceMarkerInfoINTEL(const VkPerformanceMarkerInfoINTEL* in_struct) :
23122 sType(in_struct->sType),
23123 pNext(in_struct->pNext),
23124 marker(in_struct->marker)
23125{
23126}
23127
23128safe_VkPerformanceMarkerInfoINTEL::safe_VkPerformanceMarkerInfoINTEL()
23129{}
23130
23131safe_VkPerformanceMarkerInfoINTEL::safe_VkPerformanceMarkerInfoINTEL(const safe_VkPerformanceMarkerInfoINTEL& src)
23132{
23133 sType = src.sType;
23134 pNext = src.pNext;
23135 marker = src.marker;
23136}
23137
23138safe_VkPerformanceMarkerInfoINTEL& safe_VkPerformanceMarkerInfoINTEL::operator=(const safe_VkPerformanceMarkerInfoINTEL& src)
23139{
23140 if (&src == this) return *this;
23141
23142
23143 sType = src.sType;
23144 pNext = src.pNext;
23145 marker = src.marker;
23146
23147 return *this;
23148}
23149
23150safe_VkPerformanceMarkerInfoINTEL::~safe_VkPerformanceMarkerInfoINTEL()
23151{
23152}
23153
23154void safe_VkPerformanceMarkerInfoINTEL::initialize(const VkPerformanceMarkerInfoINTEL* in_struct)
23155{
23156 sType = in_struct->sType;
23157 pNext = in_struct->pNext;
23158 marker = in_struct->marker;
23159}
23160
23161void safe_VkPerformanceMarkerInfoINTEL::initialize(const safe_VkPerformanceMarkerInfoINTEL* src)
23162{
23163 sType = src->sType;
23164 pNext = src->pNext;
23165 marker = src->marker;
23166}
23167
23168safe_VkPerformanceStreamMarkerInfoINTEL::safe_VkPerformanceStreamMarkerInfoINTEL(const VkPerformanceStreamMarkerInfoINTEL* in_struct) :
23169 sType(in_struct->sType),
23170 pNext(in_struct->pNext),
23171 marker(in_struct->marker)
23172{
23173}
23174
23175safe_VkPerformanceStreamMarkerInfoINTEL::safe_VkPerformanceStreamMarkerInfoINTEL()
23176{}
23177
23178safe_VkPerformanceStreamMarkerInfoINTEL::safe_VkPerformanceStreamMarkerInfoINTEL(const safe_VkPerformanceStreamMarkerInfoINTEL& src)
23179{
23180 sType = src.sType;
23181 pNext = src.pNext;
23182 marker = src.marker;
23183}
23184
23185safe_VkPerformanceStreamMarkerInfoINTEL& safe_VkPerformanceStreamMarkerInfoINTEL::operator=(const safe_VkPerformanceStreamMarkerInfoINTEL& src)
23186{
23187 if (&src == this) return *this;
23188
23189
23190 sType = src.sType;
23191 pNext = src.pNext;
23192 marker = src.marker;
23193
23194 return *this;
23195}
23196
23197safe_VkPerformanceStreamMarkerInfoINTEL::~safe_VkPerformanceStreamMarkerInfoINTEL()
23198{
23199}
23200
23201void safe_VkPerformanceStreamMarkerInfoINTEL::initialize(const VkPerformanceStreamMarkerInfoINTEL* in_struct)
23202{
23203 sType = in_struct->sType;
23204 pNext = in_struct->pNext;
23205 marker = in_struct->marker;
23206}
23207
23208void safe_VkPerformanceStreamMarkerInfoINTEL::initialize(const safe_VkPerformanceStreamMarkerInfoINTEL* src)
23209{
23210 sType = src->sType;
23211 pNext = src->pNext;
23212 marker = src->marker;
23213}
23214
23215safe_VkPerformanceOverrideInfoINTEL::safe_VkPerformanceOverrideInfoINTEL(const VkPerformanceOverrideInfoINTEL* in_struct) :
23216 sType(in_struct->sType),
23217 pNext(in_struct->pNext),
23218 type(in_struct->type),
23219 enable(in_struct->enable),
23220 parameter(in_struct->parameter)
23221{
23222}
23223
23224safe_VkPerformanceOverrideInfoINTEL::safe_VkPerformanceOverrideInfoINTEL()
23225{}
23226
23227safe_VkPerformanceOverrideInfoINTEL::safe_VkPerformanceOverrideInfoINTEL(const safe_VkPerformanceOverrideInfoINTEL& src)
23228{
23229 sType = src.sType;
23230 pNext = src.pNext;
23231 type = src.type;
23232 enable = src.enable;
23233 parameter = src.parameter;
23234}
23235
23236safe_VkPerformanceOverrideInfoINTEL& safe_VkPerformanceOverrideInfoINTEL::operator=(const safe_VkPerformanceOverrideInfoINTEL& src)
23237{
23238 if (&src == this) return *this;
23239
23240
23241 sType = src.sType;
23242 pNext = src.pNext;
23243 type = src.type;
23244 enable = src.enable;
23245 parameter = src.parameter;
23246
23247 return *this;
23248}
23249
23250safe_VkPerformanceOverrideInfoINTEL::~safe_VkPerformanceOverrideInfoINTEL()
23251{
23252}
23253
23254void safe_VkPerformanceOverrideInfoINTEL::initialize(const VkPerformanceOverrideInfoINTEL* in_struct)
23255{
23256 sType = in_struct->sType;
23257 pNext = in_struct->pNext;
23258 type = in_struct->type;
23259 enable = in_struct->enable;
23260 parameter = in_struct->parameter;
23261}
23262
23263void safe_VkPerformanceOverrideInfoINTEL::initialize(const safe_VkPerformanceOverrideInfoINTEL* src)
23264{
23265 sType = src->sType;
23266 pNext = src->pNext;
23267 type = src->type;
23268 enable = src->enable;
23269 parameter = src->parameter;
23270}
23271
23272safe_VkPerformanceConfigurationAcquireInfoINTEL::safe_VkPerformanceConfigurationAcquireInfoINTEL(const VkPerformanceConfigurationAcquireInfoINTEL* in_struct) :
23273 sType(in_struct->sType),
23274 pNext(in_struct->pNext),
23275 type(in_struct->type)
23276{
23277}
23278
23279safe_VkPerformanceConfigurationAcquireInfoINTEL::safe_VkPerformanceConfigurationAcquireInfoINTEL()
23280{}
23281
23282safe_VkPerformanceConfigurationAcquireInfoINTEL::safe_VkPerformanceConfigurationAcquireInfoINTEL(const safe_VkPerformanceConfigurationAcquireInfoINTEL& src)
23283{
23284 sType = src.sType;
23285 pNext = src.pNext;
23286 type = src.type;
23287}
23288
23289safe_VkPerformanceConfigurationAcquireInfoINTEL& safe_VkPerformanceConfigurationAcquireInfoINTEL::operator=(const safe_VkPerformanceConfigurationAcquireInfoINTEL& src)
23290{
23291 if (&src == this) return *this;
23292
23293
23294 sType = src.sType;
23295 pNext = src.pNext;
23296 type = src.type;
23297
23298 return *this;
23299}
23300
23301safe_VkPerformanceConfigurationAcquireInfoINTEL::~safe_VkPerformanceConfigurationAcquireInfoINTEL()
23302{
23303}
23304
23305void safe_VkPerformanceConfigurationAcquireInfoINTEL::initialize(const VkPerformanceConfigurationAcquireInfoINTEL* in_struct)
23306{
23307 sType = in_struct->sType;
23308 pNext = in_struct->pNext;
23309 type = in_struct->type;
23310}
23311
23312void safe_VkPerformanceConfigurationAcquireInfoINTEL::initialize(const safe_VkPerformanceConfigurationAcquireInfoINTEL* src)
23313{
23314 sType = src->sType;
23315 pNext = src->pNext;
23316 type = src->type;
23317}
23318
23319safe_VkPhysicalDevicePCIBusInfoPropertiesEXT::safe_VkPhysicalDevicePCIBusInfoPropertiesEXT(const VkPhysicalDevicePCIBusInfoPropertiesEXT* in_struct) :
23320 sType(in_struct->sType),
23321 pNext(in_struct->pNext),
23322 pciDomain(in_struct->pciDomain),
23323 pciBus(in_struct->pciBus),
23324 pciDevice(in_struct->pciDevice),
23325 pciFunction(in_struct->pciFunction)
23326{
23327}
23328
23329safe_VkPhysicalDevicePCIBusInfoPropertiesEXT::safe_VkPhysicalDevicePCIBusInfoPropertiesEXT()
23330{}
23331
23332safe_VkPhysicalDevicePCIBusInfoPropertiesEXT::safe_VkPhysicalDevicePCIBusInfoPropertiesEXT(const safe_VkPhysicalDevicePCIBusInfoPropertiesEXT& src)
23333{
23334 sType = src.sType;
23335 pNext = src.pNext;
23336 pciDomain = src.pciDomain;
23337 pciBus = src.pciBus;
23338 pciDevice = src.pciDevice;
23339 pciFunction = src.pciFunction;
23340}
23341
23342safe_VkPhysicalDevicePCIBusInfoPropertiesEXT& safe_VkPhysicalDevicePCIBusInfoPropertiesEXT::operator=(const safe_VkPhysicalDevicePCIBusInfoPropertiesEXT& src)
23343{
23344 if (&src == this) return *this;
23345
23346
23347 sType = src.sType;
23348 pNext = src.pNext;
23349 pciDomain = src.pciDomain;
23350 pciBus = src.pciBus;
23351 pciDevice = src.pciDevice;
23352 pciFunction = src.pciFunction;
23353
23354 return *this;
23355}
23356
23357safe_VkPhysicalDevicePCIBusInfoPropertiesEXT::~safe_VkPhysicalDevicePCIBusInfoPropertiesEXT()
23358{
23359}
23360
23361void safe_VkPhysicalDevicePCIBusInfoPropertiesEXT::initialize(const VkPhysicalDevicePCIBusInfoPropertiesEXT* in_struct)
23362{
23363 sType = in_struct->sType;
23364 pNext = in_struct->pNext;
23365 pciDomain = in_struct->pciDomain;
23366 pciBus = in_struct->pciBus;
23367 pciDevice = in_struct->pciDevice;
23368 pciFunction = in_struct->pciFunction;
23369}
23370
23371void safe_VkPhysicalDevicePCIBusInfoPropertiesEXT::initialize(const safe_VkPhysicalDevicePCIBusInfoPropertiesEXT* src)
23372{
23373 sType = src->sType;
23374 pNext = src->pNext;
23375 pciDomain = src->pciDomain;
23376 pciBus = src->pciBus;
23377 pciDevice = src->pciDevice;
23378 pciFunction = src->pciFunction;
23379}
23380
23381safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD::safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD(const VkDisplayNativeHdrSurfaceCapabilitiesAMD* in_struct) :
23382 sType(in_struct->sType),
23383 pNext(in_struct->pNext),
23384 localDimmingSupport(in_struct->localDimmingSupport)
23385{
23386}
23387
23388safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD::safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD()
23389{}
23390
23391safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD::safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD(const safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD& src)
23392{
23393 sType = src.sType;
23394 pNext = src.pNext;
23395 localDimmingSupport = src.localDimmingSupport;
23396}
23397
23398safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD& safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD::operator=(const safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD& src)
23399{
23400 if (&src == this) return *this;
23401
23402
23403 sType = src.sType;
23404 pNext = src.pNext;
23405 localDimmingSupport = src.localDimmingSupport;
23406
23407 return *this;
23408}
23409
23410safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD::~safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD()
23411{
23412}
23413
23414void safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD::initialize(const VkDisplayNativeHdrSurfaceCapabilitiesAMD* in_struct)
23415{
23416 sType = in_struct->sType;
23417 pNext = in_struct->pNext;
23418 localDimmingSupport = in_struct->localDimmingSupport;
23419}
23420
23421void safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD::initialize(const safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD* src)
23422{
23423 sType = src->sType;
23424 pNext = src->pNext;
23425 localDimmingSupport = src->localDimmingSupport;
23426}
23427
23428safe_VkSwapchainDisplayNativeHdrCreateInfoAMD::safe_VkSwapchainDisplayNativeHdrCreateInfoAMD(const VkSwapchainDisplayNativeHdrCreateInfoAMD* in_struct) :
23429 sType(in_struct->sType),
23430 pNext(in_struct->pNext),
23431 localDimmingEnable(in_struct->localDimmingEnable)
23432{
23433}
23434
23435safe_VkSwapchainDisplayNativeHdrCreateInfoAMD::safe_VkSwapchainDisplayNativeHdrCreateInfoAMD()
23436{}
23437
23438safe_VkSwapchainDisplayNativeHdrCreateInfoAMD::safe_VkSwapchainDisplayNativeHdrCreateInfoAMD(const safe_VkSwapchainDisplayNativeHdrCreateInfoAMD& src)
23439{
23440 sType = src.sType;
23441 pNext = src.pNext;
23442 localDimmingEnable = src.localDimmingEnable;
23443}
23444
23445safe_VkSwapchainDisplayNativeHdrCreateInfoAMD& safe_VkSwapchainDisplayNativeHdrCreateInfoAMD::operator=(const safe_VkSwapchainDisplayNativeHdrCreateInfoAMD& src)
23446{
23447 if (&src == this) return *this;
23448
23449
23450 sType = src.sType;
23451 pNext = src.pNext;
23452 localDimmingEnable = src.localDimmingEnable;
23453
23454 return *this;
23455}
23456
23457safe_VkSwapchainDisplayNativeHdrCreateInfoAMD::~safe_VkSwapchainDisplayNativeHdrCreateInfoAMD()
23458{
23459}
23460
23461void safe_VkSwapchainDisplayNativeHdrCreateInfoAMD::initialize(const VkSwapchainDisplayNativeHdrCreateInfoAMD* in_struct)
23462{
23463 sType = in_struct->sType;
23464 pNext = in_struct->pNext;
23465 localDimmingEnable = in_struct->localDimmingEnable;
23466}
23467
23468void safe_VkSwapchainDisplayNativeHdrCreateInfoAMD::initialize(const safe_VkSwapchainDisplayNativeHdrCreateInfoAMD* src)
23469{
23470 sType = src->sType;
23471 pNext = src->pNext;
23472 localDimmingEnable = src->localDimmingEnable;
23473}
23474#ifdef VK_USE_PLATFORM_FUCHSIA
23475
23476
23477safe_VkImagePipeSurfaceCreateInfoFUCHSIA::safe_VkImagePipeSurfaceCreateInfoFUCHSIA(const VkImagePipeSurfaceCreateInfoFUCHSIA* in_struct) :
23478 sType(in_struct->sType),
23479 pNext(in_struct->pNext),
23480 flags(in_struct->flags),
23481 imagePipeHandle(in_struct->imagePipeHandle)
23482{
23483}
23484
23485safe_VkImagePipeSurfaceCreateInfoFUCHSIA::safe_VkImagePipeSurfaceCreateInfoFUCHSIA()
23486{}
23487
23488safe_VkImagePipeSurfaceCreateInfoFUCHSIA::safe_VkImagePipeSurfaceCreateInfoFUCHSIA(const safe_VkImagePipeSurfaceCreateInfoFUCHSIA& src)
23489{
23490 sType = src.sType;
23491 pNext = src.pNext;
23492 flags = src.flags;
23493 imagePipeHandle = src.imagePipeHandle;
23494}
23495
23496safe_VkImagePipeSurfaceCreateInfoFUCHSIA& safe_VkImagePipeSurfaceCreateInfoFUCHSIA::operator=(const safe_VkImagePipeSurfaceCreateInfoFUCHSIA& src)
23497{
23498 if (&src == this) return *this;
23499
23500
23501 sType = src.sType;
23502 pNext = src.pNext;
23503 flags = src.flags;
23504 imagePipeHandle = src.imagePipeHandle;
23505
23506 return *this;
23507}
23508
23509safe_VkImagePipeSurfaceCreateInfoFUCHSIA::~safe_VkImagePipeSurfaceCreateInfoFUCHSIA()
23510{
23511}
23512
23513void safe_VkImagePipeSurfaceCreateInfoFUCHSIA::initialize(const VkImagePipeSurfaceCreateInfoFUCHSIA* in_struct)
23514{
23515 sType = in_struct->sType;
23516 pNext = in_struct->pNext;
23517 flags = in_struct->flags;
23518 imagePipeHandle = in_struct->imagePipeHandle;
23519}
23520
23521void safe_VkImagePipeSurfaceCreateInfoFUCHSIA::initialize(const safe_VkImagePipeSurfaceCreateInfoFUCHSIA* src)
23522{
23523 sType = src->sType;
23524 pNext = src->pNext;
23525 flags = src->flags;
23526 imagePipeHandle = src->imagePipeHandle;
23527}
23528#endif // VK_USE_PLATFORM_FUCHSIA
23529
23530#ifdef VK_USE_PLATFORM_METAL_EXT
23531
23532
23533safe_VkMetalSurfaceCreateInfoEXT::safe_VkMetalSurfaceCreateInfoEXT(const VkMetalSurfaceCreateInfoEXT* in_struct) :
23534 sType(in_struct->sType),
23535 pNext(in_struct->pNext),
23536 flags(in_struct->flags),
23537 pLayer(nullptr)
23538{
23539 if (in_struct->pLayer) {
23540 pLayer = new CAMetalLayer(*in_struct->pLayer);
23541 }
23542}
23543
23544safe_VkMetalSurfaceCreateInfoEXT::safe_VkMetalSurfaceCreateInfoEXT() :
23545 pLayer(nullptr)
23546{}
23547
23548safe_VkMetalSurfaceCreateInfoEXT::safe_VkMetalSurfaceCreateInfoEXT(const safe_VkMetalSurfaceCreateInfoEXT& src)
23549{
23550 sType = src.sType;
23551 pNext = src.pNext;
23552 flags = src.flags;
23553 pLayer = nullptr;
23554 if (src.pLayer) {
23555 pLayer = new CAMetalLayer(*src.pLayer);
23556 }
23557}
23558
23559safe_VkMetalSurfaceCreateInfoEXT& safe_VkMetalSurfaceCreateInfoEXT::operator=(const safe_VkMetalSurfaceCreateInfoEXT& src)
23560{
23561 if (&src == this) return *this;
23562
23563 if (pLayer)
23564 delete pLayer;
23565
23566 sType = src.sType;
23567 pNext = src.pNext;
23568 flags = src.flags;
23569 pLayer = nullptr;
23570 if (src.pLayer) {
23571 pLayer = new CAMetalLayer(*src.pLayer);
23572 }
23573
23574 return *this;
23575}
23576
23577safe_VkMetalSurfaceCreateInfoEXT::~safe_VkMetalSurfaceCreateInfoEXT()
23578{
23579 if (pLayer)
23580 delete pLayer;
23581}
23582
23583void safe_VkMetalSurfaceCreateInfoEXT::initialize(const VkMetalSurfaceCreateInfoEXT* in_struct)
23584{
23585 sType = in_struct->sType;
23586 pNext = in_struct->pNext;
23587 flags = in_struct->flags;
23588 pLayer = nullptr;
23589 if (in_struct->pLayer) {
23590 pLayer = new CAMetalLayer(*in_struct->pLayer);
23591 }
23592}
23593
23594void safe_VkMetalSurfaceCreateInfoEXT::initialize(const safe_VkMetalSurfaceCreateInfoEXT* src)
23595{
23596 sType = src->sType;
23597 pNext = src->pNext;
23598 flags = src->flags;
23599 pLayer = nullptr;
23600 if (src->pLayer) {
23601 pLayer = new CAMetalLayer(*src->pLayer);
23602 }
23603}
23604#endif // VK_USE_PLATFORM_METAL_EXT
23605
23606
23607safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT::safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT(const VkPhysicalDeviceFragmentDensityMapFeaturesEXT* in_struct) :
23608 sType(in_struct->sType),
23609 pNext(in_struct->pNext),
23610 fragmentDensityMap(in_struct->fragmentDensityMap),
23611 fragmentDensityMapDynamic(in_struct->fragmentDensityMapDynamic),
23612 fragmentDensityMapNonSubsampledImages(in_struct->fragmentDensityMapNonSubsampledImages)
23613{
23614}
23615
23616safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT::safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT()
23617{}
23618
23619safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT::safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT(const safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT& src)
23620{
23621 sType = src.sType;
23622 pNext = src.pNext;
23623 fragmentDensityMap = src.fragmentDensityMap;
23624 fragmentDensityMapDynamic = src.fragmentDensityMapDynamic;
23625 fragmentDensityMapNonSubsampledImages = src.fragmentDensityMapNonSubsampledImages;
23626}
23627
23628safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT& safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT::operator=(const safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT& src)
23629{
23630 if (&src == this) return *this;
23631
23632
23633 sType = src.sType;
23634 pNext = src.pNext;
23635 fragmentDensityMap = src.fragmentDensityMap;
23636 fragmentDensityMapDynamic = src.fragmentDensityMapDynamic;
23637 fragmentDensityMapNonSubsampledImages = src.fragmentDensityMapNonSubsampledImages;
23638
23639 return *this;
23640}
23641
23642safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT::~safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT()
23643{
23644}
23645
23646void safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT::initialize(const VkPhysicalDeviceFragmentDensityMapFeaturesEXT* in_struct)
23647{
23648 sType = in_struct->sType;
23649 pNext = in_struct->pNext;
23650 fragmentDensityMap = in_struct->fragmentDensityMap;
23651 fragmentDensityMapDynamic = in_struct->fragmentDensityMapDynamic;
23652 fragmentDensityMapNonSubsampledImages = in_struct->fragmentDensityMapNonSubsampledImages;
23653}
23654
23655void safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT::initialize(const safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT* src)
23656{
23657 sType = src->sType;
23658 pNext = src->pNext;
23659 fragmentDensityMap = src->fragmentDensityMap;
23660 fragmentDensityMapDynamic = src->fragmentDensityMapDynamic;
23661 fragmentDensityMapNonSubsampledImages = src->fragmentDensityMapNonSubsampledImages;
23662}
23663
23664safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT::safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT(const VkPhysicalDeviceFragmentDensityMapPropertiesEXT* in_struct) :
23665 sType(in_struct->sType),
23666 pNext(in_struct->pNext),
23667 minFragmentDensityTexelSize(in_struct->minFragmentDensityTexelSize),
23668 maxFragmentDensityTexelSize(in_struct->maxFragmentDensityTexelSize),
23669 fragmentDensityInvocations(in_struct->fragmentDensityInvocations)
23670{
23671}
23672
23673safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT::safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT()
23674{}
23675
23676safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT::safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT(const safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT& src)
23677{
23678 sType = src.sType;
23679 pNext = src.pNext;
23680 minFragmentDensityTexelSize = src.minFragmentDensityTexelSize;
23681 maxFragmentDensityTexelSize = src.maxFragmentDensityTexelSize;
23682 fragmentDensityInvocations = src.fragmentDensityInvocations;
23683}
23684
23685safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT& safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT::operator=(const safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT& src)
23686{
23687 if (&src == this) return *this;
23688
23689
23690 sType = src.sType;
23691 pNext = src.pNext;
23692 minFragmentDensityTexelSize = src.minFragmentDensityTexelSize;
23693 maxFragmentDensityTexelSize = src.maxFragmentDensityTexelSize;
23694 fragmentDensityInvocations = src.fragmentDensityInvocations;
23695
23696 return *this;
23697}
23698
23699safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT::~safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT()
23700{
23701}
23702
23703void safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT::initialize(const VkPhysicalDeviceFragmentDensityMapPropertiesEXT* in_struct)
23704{
23705 sType = in_struct->sType;
23706 pNext = in_struct->pNext;
23707 minFragmentDensityTexelSize = in_struct->minFragmentDensityTexelSize;
23708 maxFragmentDensityTexelSize = in_struct->maxFragmentDensityTexelSize;
23709 fragmentDensityInvocations = in_struct->fragmentDensityInvocations;
23710}
23711
23712void safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT::initialize(const safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT* src)
23713{
23714 sType = src->sType;
23715 pNext = src->pNext;
23716 minFragmentDensityTexelSize = src->minFragmentDensityTexelSize;
23717 maxFragmentDensityTexelSize = src->maxFragmentDensityTexelSize;
23718 fragmentDensityInvocations = src->fragmentDensityInvocations;
23719}
23720
23721safe_VkRenderPassFragmentDensityMapCreateInfoEXT::safe_VkRenderPassFragmentDensityMapCreateInfoEXT(const VkRenderPassFragmentDensityMapCreateInfoEXT* in_struct) :
23722 sType(in_struct->sType),
23723 pNext(in_struct->pNext),
23724 fragmentDensityMapAttachment(in_struct->fragmentDensityMapAttachment)
23725{
23726}
23727
23728safe_VkRenderPassFragmentDensityMapCreateInfoEXT::safe_VkRenderPassFragmentDensityMapCreateInfoEXT()
23729{}
23730
23731safe_VkRenderPassFragmentDensityMapCreateInfoEXT::safe_VkRenderPassFragmentDensityMapCreateInfoEXT(const safe_VkRenderPassFragmentDensityMapCreateInfoEXT& src)
23732{
23733 sType = src.sType;
23734 pNext = src.pNext;
23735 fragmentDensityMapAttachment = src.fragmentDensityMapAttachment;
23736}
23737
23738safe_VkRenderPassFragmentDensityMapCreateInfoEXT& safe_VkRenderPassFragmentDensityMapCreateInfoEXT::operator=(const safe_VkRenderPassFragmentDensityMapCreateInfoEXT& src)
23739{
23740 if (&src == this) return *this;
23741
23742
23743 sType = src.sType;
23744 pNext = src.pNext;
23745 fragmentDensityMapAttachment = src.fragmentDensityMapAttachment;
23746
23747 return *this;
23748}
23749
23750safe_VkRenderPassFragmentDensityMapCreateInfoEXT::~safe_VkRenderPassFragmentDensityMapCreateInfoEXT()
23751{
23752}
23753
23754void safe_VkRenderPassFragmentDensityMapCreateInfoEXT::initialize(const VkRenderPassFragmentDensityMapCreateInfoEXT* in_struct)
23755{
23756 sType = in_struct->sType;
23757 pNext = in_struct->pNext;
23758 fragmentDensityMapAttachment = in_struct->fragmentDensityMapAttachment;
23759}
23760
23761void safe_VkRenderPassFragmentDensityMapCreateInfoEXT::initialize(const safe_VkRenderPassFragmentDensityMapCreateInfoEXT* src)
23762{
23763 sType = src->sType;
23764 pNext = src->pNext;
23765 fragmentDensityMapAttachment = src->fragmentDensityMapAttachment;
23766}
23767
23768safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT::safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT(const VkPhysicalDeviceScalarBlockLayoutFeaturesEXT* in_struct) :
23769 sType(in_struct->sType),
23770 pNext(in_struct->pNext),
23771 scalarBlockLayout(in_struct->scalarBlockLayout)
23772{
23773}
23774
23775safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT::safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT()
23776{}
23777
23778safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT::safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT(const safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT& src)
23779{
23780 sType = src.sType;
23781 pNext = src.pNext;
23782 scalarBlockLayout = src.scalarBlockLayout;
23783}
23784
23785safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT& safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT::operator=(const safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT& src)
23786{
23787 if (&src == this) return *this;
23788
23789
23790 sType = src.sType;
23791 pNext = src.pNext;
23792 scalarBlockLayout = src.scalarBlockLayout;
23793
23794 return *this;
23795}
23796
23797safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT::~safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT()
23798{
23799}
23800
23801void safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT::initialize(const VkPhysicalDeviceScalarBlockLayoutFeaturesEXT* in_struct)
23802{
23803 sType = in_struct->sType;
23804 pNext = in_struct->pNext;
23805 scalarBlockLayout = in_struct->scalarBlockLayout;
23806}
23807
23808void safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT::initialize(const safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT* src)
23809{
23810 sType = src->sType;
23811 pNext = src->pNext;
23812 scalarBlockLayout = src->scalarBlockLayout;
23813}
23814
23815safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT::safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT(const VkPhysicalDeviceMemoryBudgetPropertiesEXT* in_struct) :
23816 sType(in_struct->sType),
23817 pNext(in_struct->pNext)
23818{
23819 for (uint32_t i=0; i<VK_MAX_MEMORY_HEAPS; ++i) {
23820 heapBudget[i] = in_struct->heapBudget[i];
23821 }
23822 for (uint32_t i=0; i<VK_MAX_MEMORY_HEAPS; ++i) {
23823 heapUsage[i] = in_struct->heapUsage[i];
23824 }
23825}
23826
23827safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT::safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT()
23828{}
23829
23830safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT::safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT(const safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT& src)
23831{
23832 sType = src.sType;
23833 pNext = src.pNext;
23834 for (uint32_t i=0; i<VK_MAX_MEMORY_HEAPS; ++i) {
23835 heapBudget[i] = src.heapBudget[i];
23836 }
23837 for (uint32_t i=0; i<VK_MAX_MEMORY_HEAPS; ++i) {
23838 heapUsage[i] = src.heapUsage[i];
23839 }
23840}
23841
23842safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT& safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT::operator=(const safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT& src)
23843{
23844 if (&src == this) return *this;
23845
23846
23847 sType = src.sType;
23848 pNext = src.pNext;
23849 for (uint32_t i=0; i<VK_MAX_MEMORY_HEAPS; ++i) {
23850 heapBudget[i] = src.heapBudget[i];
23851 }
23852 for (uint32_t i=0; i<VK_MAX_MEMORY_HEAPS; ++i) {
23853 heapUsage[i] = src.heapUsage[i];
23854 }
23855
23856 return *this;
23857}
23858
23859safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT::~safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT()
23860{
23861}
23862
23863void safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT::initialize(const VkPhysicalDeviceMemoryBudgetPropertiesEXT* in_struct)
23864{
23865 sType = in_struct->sType;
23866 pNext = in_struct->pNext;
23867 for (uint32_t i=0; i<VK_MAX_MEMORY_HEAPS; ++i) {
23868 heapBudget[i] = in_struct->heapBudget[i];
23869 }
23870 for (uint32_t i=0; i<VK_MAX_MEMORY_HEAPS; ++i) {
23871 heapUsage[i] = in_struct->heapUsage[i];
23872 }
23873}
23874
23875void safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT::initialize(const safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT* src)
23876{
23877 sType = src->sType;
23878 pNext = src->pNext;
23879 for (uint32_t i=0; i<VK_MAX_MEMORY_HEAPS; ++i) {
23880 heapBudget[i] = src->heapBudget[i];
23881 }
23882 for (uint32_t i=0; i<VK_MAX_MEMORY_HEAPS; ++i) {
23883 heapUsage[i] = src->heapUsage[i];
23884 }
23885}
23886
23887safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT::safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT(const VkPhysicalDeviceMemoryPriorityFeaturesEXT* in_struct) :
23888 sType(in_struct->sType),
23889 pNext(in_struct->pNext),
23890 memoryPriority(in_struct->memoryPriority)
23891{
23892}
23893
23894safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT::safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT()
23895{}
23896
23897safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT::safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT(const safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT& src)
23898{
23899 sType = src.sType;
23900 pNext = src.pNext;
23901 memoryPriority = src.memoryPriority;
23902}
23903
23904safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT& safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT::operator=(const safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT& src)
23905{
23906 if (&src == this) return *this;
23907
23908
23909 sType = src.sType;
23910 pNext = src.pNext;
23911 memoryPriority = src.memoryPriority;
23912
23913 return *this;
23914}
23915
23916safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT::~safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT()
23917{
23918}
23919
23920void safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT::initialize(const VkPhysicalDeviceMemoryPriorityFeaturesEXT* in_struct)
23921{
23922 sType = in_struct->sType;
23923 pNext = in_struct->pNext;
23924 memoryPriority = in_struct->memoryPriority;
23925}
23926
23927void safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT::initialize(const safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT* src)
23928{
23929 sType = src->sType;
23930 pNext = src->pNext;
23931 memoryPriority = src->memoryPriority;
23932}
23933
23934safe_VkMemoryPriorityAllocateInfoEXT::safe_VkMemoryPriorityAllocateInfoEXT(const VkMemoryPriorityAllocateInfoEXT* in_struct) :
23935 sType(in_struct->sType),
23936 pNext(in_struct->pNext),
23937 priority(in_struct->priority)
23938{
23939}
23940
23941safe_VkMemoryPriorityAllocateInfoEXT::safe_VkMemoryPriorityAllocateInfoEXT()
23942{}
23943
23944safe_VkMemoryPriorityAllocateInfoEXT::safe_VkMemoryPriorityAllocateInfoEXT(const safe_VkMemoryPriorityAllocateInfoEXT& src)
23945{
23946 sType = src.sType;
23947 pNext = src.pNext;
23948 priority = src.priority;
23949}
23950
23951safe_VkMemoryPriorityAllocateInfoEXT& safe_VkMemoryPriorityAllocateInfoEXT::operator=(const safe_VkMemoryPriorityAllocateInfoEXT& src)
23952{
23953 if (&src == this) return *this;
23954
23955
23956 sType = src.sType;
23957 pNext = src.pNext;
23958 priority = src.priority;
23959
23960 return *this;
23961}
23962
23963safe_VkMemoryPriorityAllocateInfoEXT::~safe_VkMemoryPriorityAllocateInfoEXT()
23964{
23965}
23966
23967void safe_VkMemoryPriorityAllocateInfoEXT::initialize(const VkMemoryPriorityAllocateInfoEXT* in_struct)
23968{
23969 sType = in_struct->sType;
23970 pNext = in_struct->pNext;
23971 priority = in_struct->priority;
23972}
23973
23974void safe_VkMemoryPriorityAllocateInfoEXT::initialize(const safe_VkMemoryPriorityAllocateInfoEXT* src)
23975{
23976 sType = src->sType;
23977 pNext = src->pNext;
23978 priority = src->priority;
23979}
23980
23981safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV::safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV(const VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV* in_struct) :
23982 sType(in_struct->sType),
23983 pNext(in_struct->pNext),
23984 dedicatedAllocationImageAliasing(in_struct->dedicatedAllocationImageAliasing)
23985{
23986}
23987
23988safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV::safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV()
23989{}
23990
23991safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV::safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV(const safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV& src)
23992{
23993 sType = src.sType;
23994 pNext = src.pNext;
23995 dedicatedAllocationImageAliasing = src.dedicatedAllocationImageAliasing;
23996}
23997
23998safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV& safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV::operator=(const safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV& src)
23999{
24000 if (&src == this) return *this;
24001
24002
24003 sType = src.sType;
24004 pNext = src.pNext;
24005 dedicatedAllocationImageAliasing = src.dedicatedAllocationImageAliasing;
24006
24007 return *this;
24008}
24009
24010safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV::~safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV()
24011{
24012}
24013
24014void safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV::initialize(const VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV* in_struct)
24015{
24016 sType = in_struct->sType;
24017 pNext = in_struct->pNext;
24018 dedicatedAllocationImageAliasing = in_struct->dedicatedAllocationImageAliasing;
24019}
24020
24021void safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV::initialize(const safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV* src)
24022{
24023 sType = src->sType;
24024 pNext = src->pNext;
24025 dedicatedAllocationImageAliasing = src->dedicatedAllocationImageAliasing;
24026}
24027
24028safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT::safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT(const VkPhysicalDeviceBufferDeviceAddressFeaturesEXT* in_struct) :
24029 sType(in_struct->sType),
24030 pNext(in_struct->pNext),
24031 bufferDeviceAddress(in_struct->bufferDeviceAddress),
24032 bufferDeviceAddressCaptureReplay(in_struct->bufferDeviceAddressCaptureReplay),
24033 bufferDeviceAddressMultiDevice(in_struct->bufferDeviceAddressMultiDevice)
24034{
24035}
24036
24037safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT::safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT()
24038{}
24039
24040safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT::safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT(const safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT& src)
24041{
24042 sType = src.sType;
24043 pNext = src.pNext;
24044 bufferDeviceAddress = src.bufferDeviceAddress;
24045 bufferDeviceAddressCaptureReplay = src.bufferDeviceAddressCaptureReplay;
24046 bufferDeviceAddressMultiDevice = src.bufferDeviceAddressMultiDevice;
24047}
24048
24049safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT& safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT::operator=(const safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT& src)
24050{
24051 if (&src == this) return *this;
24052
24053
24054 sType = src.sType;
24055 pNext = src.pNext;
24056 bufferDeviceAddress = src.bufferDeviceAddress;
24057 bufferDeviceAddressCaptureReplay = src.bufferDeviceAddressCaptureReplay;
24058 bufferDeviceAddressMultiDevice = src.bufferDeviceAddressMultiDevice;
24059
24060 return *this;
24061}
24062
24063safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT::~safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT()
24064{
24065}
24066
24067void safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT::initialize(const VkPhysicalDeviceBufferDeviceAddressFeaturesEXT* in_struct)
24068{
24069 sType = in_struct->sType;
24070 pNext = in_struct->pNext;
24071 bufferDeviceAddress = in_struct->bufferDeviceAddress;
24072 bufferDeviceAddressCaptureReplay = in_struct->bufferDeviceAddressCaptureReplay;
24073 bufferDeviceAddressMultiDevice = in_struct->bufferDeviceAddressMultiDevice;
24074}
24075
24076void safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT::initialize(const safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT* src)
24077{
24078 sType = src->sType;
24079 pNext = src->pNext;
24080 bufferDeviceAddress = src->bufferDeviceAddress;
24081 bufferDeviceAddressCaptureReplay = src->bufferDeviceAddressCaptureReplay;
24082 bufferDeviceAddressMultiDevice = src->bufferDeviceAddressMultiDevice;
24083}
24084
24085safe_VkBufferDeviceAddressInfoEXT::safe_VkBufferDeviceAddressInfoEXT(const VkBufferDeviceAddressInfoEXT* in_struct) :
24086 sType(in_struct->sType),
24087 pNext(in_struct->pNext),
24088 buffer(in_struct->buffer)
24089{
24090}
24091
24092safe_VkBufferDeviceAddressInfoEXT::safe_VkBufferDeviceAddressInfoEXT()
24093{}
24094
24095safe_VkBufferDeviceAddressInfoEXT::safe_VkBufferDeviceAddressInfoEXT(const safe_VkBufferDeviceAddressInfoEXT& src)
24096{
24097 sType = src.sType;
24098 pNext = src.pNext;
24099 buffer = src.buffer;
24100}
24101
24102safe_VkBufferDeviceAddressInfoEXT& safe_VkBufferDeviceAddressInfoEXT::operator=(const safe_VkBufferDeviceAddressInfoEXT& src)
24103{
24104 if (&src == this) return *this;
24105
24106
24107 sType = src.sType;
24108 pNext = src.pNext;
24109 buffer = src.buffer;
24110
24111 return *this;
24112}
24113
24114safe_VkBufferDeviceAddressInfoEXT::~safe_VkBufferDeviceAddressInfoEXT()
24115{
24116}
24117
24118void safe_VkBufferDeviceAddressInfoEXT::initialize(const VkBufferDeviceAddressInfoEXT* in_struct)
24119{
24120 sType = in_struct->sType;
24121 pNext = in_struct->pNext;
24122 buffer = in_struct->buffer;
24123}
24124
24125void safe_VkBufferDeviceAddressInfoEXT::initialize(const safe_VkBufferDeviceAddressInfoEXT* src)
24126{
24127 sType = src->sType;
24128 pNext = src->pNext;
24129 buffer = src->buffer;
24130}
24131
24132safe_VkBufferDeviceAddressCreateInfoEXT::safe_VkBufferDeviceAddressCreateInfoEXT(const VkBufferDeviceAddressCreateInfoEXT* in_struct) :
24133 sType(in_struct->sType),
24134 pNext(in_struct->pNext),
24135 deviceAddress(in_struct->deviceAddress)
24136{
24137}
24138
24139safe_VkBufferDeviceAddressCreateInfoEXT::safe_VkBufferDeviceAddressCreateInfoEXT()
24140{}
24141
24142safe_VkBufferDeviceAddressCreateInfoEXT::safe_VkBufferDeviceAddressCreateInfoEXT(const safe_VkBufferDeviceAddressCreateInfoEXT& src)
24143{
24144 sType = src.sType;
24145 pNext = src.pNext;
24146 deviceAddress = src.deviceAddress;
24147}
24148
24149safe_VkBufferDeviceAddressCreateInfoEXT& safe_VkBufferDeviceAddressCreateInfoEXT::operator=(const safe_VkBufferDeviceAddressCreateInfoEXT& src)
24150{
24151 if (&src == this) return *this;
24152
24153
24154 sType = src.sType;
24155 pNext = src.pNext;
24156 deviceAddress = src.deviceAddress;
24157
24158 return *this;
24159}
24160
24161safe_VkBufferDeviceAddressCreateInfoEXT::~safe_VkBufferDeviceAddressCreateInfoEXT()
24162{
24163}
24164
24165void safe_VkBufferDeviceAddressCreateInfoEXT::initialize(const VkBufferDeviceAddressCreateInfoEXT* in_struct)
24166{
24167 sType = in_struct->sType;
24168 pNext = in_struct->pNext;
24169 deviceAddress = in_struct->deviceAddress;
24170}
24171
24172void safe_VkBufferDeviceAddressCreateInfoEXT::initialize(const safe_VkBufferDeviceAddressCreateInfoEXT* src)
24173{
24174 sType = src->sType;
24175 pNext = src->pNext;
24176 deviceAddress = src->deviceAddress;
24177}
24178
24179safe_VkImageStencilUsageCreateInfoEXT::safe_VkImageStencilUsageCreateInfoEXT(const VkImageStencilUsageCreateInfoEXT* in_struct) :
24180 sType(in_struct->sType),
24181 pNext(in_struct->pNext),
24182 stencilUsage(in_struct->stencilUsage)
24183{
24184}
24185
24186safe_VkImageStencilUsageCreateInfoEXT::safe_VkImageStencilUsageCreateInfoEXT()
24187{}
24188
24189safe_VkImageStencilUsageCreateInfoEXT::safe_VkImageStencilUsageCreateInfoEXT(const safe_VkImageStencilUsageCreateInfoEXT& src)
24190{
24191 sType = src.sType;
24192 pNext = src.pNext;
24193 stencilUsage = src.stencilUsage;
24194}
24195
24196safe_VkImageStencilUsageCreateInfoEXT& safe_VkImageStencilUsageCreateInfoEXT::operator=(const safe_VkImageStencilUsageCreateInfoEXT& src)
24197{
24198 if (&src == this) return *this;
24199
24200
24201 sType = src.sType;
24202 pNext = src.pNext;
24203 stencilUsage = src.stencilUsage;
24204
24205 return *this;
24206}
24207
24208safe_VkImageStencilUsageCreateInfoEXT::~safe_VkImageStencilUsageCreateInfoEXT()
24209{
24210}
24211
24212void safe_VkImageStencilUsageCreateInfoEXT::initialize(const VkImageStencilUsageCreateInfoEXT* in_struct)
24213{
24214 sType = in_struct->sType;
24215 pNext = in_struct->pNext;
24216 stencilUsage = in_struct->stencilUsage;
24217}
24218
24219void safe_VkImageStencilUsageCreateInfoEXT::initialize(const safe_VkImageStencilUsageCreateInfoEXT* src)
24220{
24221 sType = src->sType;
24222 pNext = src->pNext;
24223 stencilUsage = src->stencilUsage;
24224}
24225
24226safe_VkValidationFeaturesEXT::safe_VkValidationFeaturesEXT(const VkValidationFeaturesEXT* in_struct) :
24227 sType(in_struct->sType),
24228 pNext(in_struct->pNext),
24229 enabledValidationFeatureCount(in_struct->enabledValidationFeatureCount),
24230 pEnabledValidationFeatures(nullptr),
24231 disabledValidationFeatureCount(in_struct->disabledValidationFeatureCount),
24232 pDisabledValidationFeatures(nullptr)
24233{
24234 if (in_struct->pEnabledValidationFeatures) {
24235 pEnabledValidationFeatures = new VkValidationFeatureEnableEXT[in_struct->enabledValidationFeatureCount];
24236 memcpy ((void *)pEnabledValidationFeatures, (void *)in_struct->pEnabledValidationFeatures, sizeof(VkValidationFeatureEnableEXT)*in_struct->enabledValidationFeatureCount);
24237 }
24238 if (in_struct->pDisabledValidationFeatures) {
24239 pDisabledValidationFeatures = new VkValidationFeatureDisableEXT[in_struct->disabledValidationFeatureCount];
24240 memcpy ((void *)pDisabledValidationFeatures, (void *)in_struct->pDisabledValidationFeatures, sizeof(VkValidationFeatureDisableEXT)*in_struct->disabledValidationFeatureCount);
24241 }
24242}
24243
24244safe_VkValidationFeaturesEXT::safe_VkValidationFeaturesEXT() :
24245 pEnabledValidationFeatures(nullptr),
24246 pDisabledValidationFeatures(nullptr)
24247{}
24248
24249safe_VkValidationFeaturesEXT::safe_VkValidationFeaturesEXT(const safe_VkValidationFeaturesEXT& src)
24250{
24251 sType = src.sType;
24252 pNext = src.pNext;
24253 enabledValidationFeatureCount = src.enabledValidationFeatureCount;
24254 pEnabledValidationFeatures = nullptr;
24255 disabledValidationFeatureCount = src.disabledValidationFeatureCount;
24256 pDisabledValidationFeatures = nullptr;
24257 if (src.pEnabledValidationFeatures) {
24258 pEnabledValidationFeatures = new VkValidationFeatureEnableEXT[src.enabledValidationFeatureCount];
24259 memcpy ((void *)pEnabledValidationFeatures, (void *)src.pEnabledValidationFeatures, sizeof(VkValidationFeatureEnableEXT)*src.enabledValidationFeatureCount);
24260 }
24261 if (src.pDisabledValidationFeatures) {
24262 pDisabledValidationFeatures = new VkValidationFeatureDisableEXT[src.disabledValidationFeatureCount];
24263 memcpy ((void *)pDisabledValidationFeatures, (void *)src.pDisabledValidationFeatures, sizeof(VkValidationFeatureDisableEXT)*src.disabledValidationFeatureCount);
24264 }
24265}
24266
24267safe_VkValidationFeaturesEXT& safe_VkValidationFeaturesEXT::operator=(const safe_VkValidationFeaturesEXT& src)
24268{
24269 if (&src == this) return *this;
24270
24271 if (pEnabledValidationFeatures)
24272 delete[] pEnabledValidationFeatures;
24273 if (pDisabledValidationFeatures)
24274 delete[] pDisabledValidationFeatures;
24275
24276 sType = src.sType;
24277 pNext = src.pNext;
24278 enabledValidationFeatureCount = src.enabledValidationFeatureCount;
24279 pEnabledValidationFeatures = nullptr;
24280 disabledValidationFeatureCount = src.disabledValidationFeatureCount;
24281 pDisabledValidationFeatures = nullptr;
24282 if (src.pEnabledValidationFeatures) {
24283 pEnabledValidationFeatures = new VkValidationFeatureEnableEXT[src.enabledValidationFeatureCount];
24284 memcpy ((void *)pEnabledValidationFeatures, (void *)src.pEnabledValidationFeatures, sizeof(VkValidationFeatureEnableEXT)*src.enabledValidationFeatureCount);
24285 }
24286 if (src.pDisabledValidationFeatures) {
24287 pDisabledValidationFeatures = new VkValidationFeatureDisableEXT[src.disabledValidationFeatureCount];
24288 memcpy ((void *)pDisabledValidationFeatures, (void *)src.pDisabledValidationFeatures, sizeof(VkValidationFeatureDisableEXT)*src.disabledValidationFeatureCount);
24289 }
24290
24291 return *this;
24292}
24293
24294safe_VkValidationFeaturesEXT::~safe_VkValidationFeaturesEXT()
24295{
24296 if (pEnabledValidationFeatures)
24297 delete[] pEnabledValidationFeatures;
24298 if (pDisabledValidationFeatures)
24299 delete[] pDisabledValidationFeatures;
24300}
24301
24302void safe_VkValidationFeaturesEXT::initialize(const VkValidationFeaturesEXT* in_struct)
24303{
24304 sType = in_struct->sType;
24305 pNext = in_struct->pNext;
24306 enabledValidationFeatureCount = in_struct->enabledValidationFeatureCount;
24307 pEnabledValidationFeatures = nullptr;
24308 disabledValidationFeatureCount = in_struct->disabledValidationFeatureCount;
24309 pDisabledValidationFeatures = nullptr;
24310 if (in_struct->pEnabledValidationFeatures) {
24311 pEnabledValidationFeatures = new VkValidationFeatureEnableEXT[in_struct->enabledValidationFeatureCount];
24312 memcpy ((void *)pEnabledValidationFeatures, (void *)in_struct->pEnabledValidationFeatures, sizeof(VkValidationFeatureEnableEXT)*in_struct->enabledValidationFeatureCount);
24313 }
24314 if (in_struct->pDisabledValidationFeatures) {
24315 pDisabledValidationFeatures = new VkValidationFeatureDisableEXT[in_struct->disabledValidationFeatureCount];
24316 memcpy ((void *)pDisabledValidationFeatures, (void *)in_struct->pDisabledValidationFeatures, sizeof(VkValidationFeatureDisableEXT)*in_struct->disabledValidationFeatureCount);
24317 }
24318}
24319
24320void safe_VkValidationFeaturesEXT::initialize(const safe_VkValidationFeaturesEXT* src)
24321{
24322 sType = src->sType;
24323 pNext = src->pNext;
24324 enabledValidationFeatureCount = src->enabledValidationFeatureCount;
24325 pEnabledValidationFeatures = nullptr;
24326 disabledValidationFeatureCount = src->disabledValidationFeatureCount;
24327 pDisabledValidationFeatures = nullptr;
24328 if (src->pEnabledValidationFeatures) {
24329 pEnabledValidationFeatures = new VkValidationFeatureEnableEXT[src->enabledValidationFeatureCount];
24330 memcpy ((void *)pEnabledValidationFeatures, (void *)src->pEnabledValidationFeatures, sizeof(VkValidationFeatureEnableEXT)*src->enabledValidationFeatureCount);
24331 }
24332 if (src->pDisabledValidationFeatures) {
24333 pDisabledValidationFeatures = new VkValidationFeatureDisableEXT[src->disabledValidationFeatureCount];
24334 memcpy ((void *)pDisabledValidationFeatures, (void *)src->pDisabledValidationFeatures, sizeof(VkValidationFeatureDisableEXT)*src->disabledValidationFeatureCount);
24335 }
24336}
24337
24338safe_VkCooperativeMatrixPropertiesNV::safe_VkCooperativeMatrixPropertiesNV(const VkCooperativeMatrixPropertiesNV* in_struct) :
24339 sType(in_struct->sType),
24340 pNext(in_struct->pNext),
24341 MSize(in_struct->MSize),
24342 NSize(in_struct->NSize),
24343 KSize(in_struct->KSize),
24344 AType(in_struct->AType),
24345 BType(in_struct->BType),
24346 CType(in_struct->CType),
24347 DType(in_struct->DType),
24348 scope(in_struct->scope)
24349{
24350}
24351
24352safe_VkCooperativeMatrixPropertiesNV::safe_VkCooperativeMatrixPropertiesNV()
24353{}
24354
24355safe_VkCooperativeMatrixPropertiesNV::safe_VkCooperativeMatrixPropertiesNV(const safe_VkCooperativeMatrixPropertiesNV& src)
24356{
24357 sType = src.sType;
24358 pNext = src.pNext;
24359 MSize = src.MSize;
24360 NSize = src.NSize;
24361 KSize = src.KSize;
24362 AType = src.AType;
24363 BType = src.BType;
24364 CType = src.CType;
24365 DType = src.DType;
24366 scope = src.scope;
24367}
24368
24369safe_VkCooperativeMatrixPropertiesNV& safe_VkCooperativeMatrixPropertiesNV::operator=(const safe_VkCooperativeMatrixPropertiesNV& src)
24370{
24371 if (&src == this) return *this;
24372
24373
24374 sType = src.sType;
24375 pNext = src.pNext;
24376 MSize = src.MSize;
24377 NSize = src.NSize;
24378 KSize = src.KSize;
24379 AType = src.AType;
24380 BType = src.BType;
24381 CType = src.CType;
24382 DType = src.DType;
24383 scope = src.scope;
24384
24385 return *this;
24386}
24387
24388safe_VkCooperativeMatrixPropertiesNV::~safe_VkCooperativeMatrixPropertiesNV()
24389{
24390}
24391
24392void safe_VkCooperativeMatrixPropertiesNV::initialize(const VkCooperativeMatrixPropertiesNV* in_struct)
24393{
24394 sType = in_struct->sType;
24395 pNext = in_struct->pNext;
24396 MSize = in_struct->MSize;
24397 NSize = in_struct->NSize;
24398 KSize = in_struct->KSize;
24399 AType = in_struct->AType;
24400 BType = in_struct->BType;
24401 CType = in_struct->CType;
24402 DType = in_struct->DType;
24403 scope = in_struct->scope;
24404}
24405
24406void safe_VkCooperativeMatrixPropertiesNV::initialize(const safe_VkCooperativeMatrixPropertiesNV* src)
24407{
24408 sType = src->sType;
24409 pNext = src->pNext;
24410 MSize = src->MSize;
24411 NSize = src->NSize;
24412 KSize = src->KSize;
24413 AType = src->AType;
24414 BType = src->BType;
24415 CType = src->CType;
24416 DType = src->DType;
24417 scope = src->scope;
24418}
24419
24420safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV::safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV(const VkPhysicalDeviceCooperativeMatrixFeaturesNV* in_struct) :
24421 sType(in_struct->sType),
24422 pNext(in_struct->pNext),
24423 cooperativeMatrix(in_struct->cooperativeMatrix),
24424 cooperativeMatrixRobustBufferAccess(in_struct->cooperativeMatrixRobustBufferAccess)
24425{
24426}
24427
24428safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV::safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV()
24429{}
24430
24431safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV::safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV(const safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV& src)
24432{
24433 sType = src.sType;
24434 pNext = src.pNext;
24435 cooperativeMatrix = src.cooperativeMatrix;
24436 cooperativeMatrixRobustBufferAccess = src.cooperativeMatrixRobustBufferAccess;
24437}
24438
24439safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV& safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV::operator=(const safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV& src)
24440{
24441 if (&src == this) return *this;
24442
24443
24444 sType = src.sType;
24445 pNext = src.pNext;
24446 cooperativeMatrix = src.cooperativeMatrix;
24447 cooperativeMatrixRobustBufferAccess = src.cooperativeMatrixRobustBufferAccess;
24448
24449 return *this;
24450}
24451
24452safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV::~safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV()
24453{
24454}
24455
24456void safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV::initialize(const VkPhysicalDeviceCooperativeMatrixFeaturesNV* in_struct)
24457{
24458 sType = in_struct->sType;
24459 pNext = in_struct->pNext;
24460 cooperativeMatrix = in_struct->cooperativeMatrix;
24461 cooperativeMatrixRobustBufferAccess = in_struct->cooperativeMatrixRobustBufferAccess;
24462}
24463
24464void safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV::initialize(const safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV* src)
24465{
24466 sType = src->sType;
24467 pNext = src->pNext;
24468 cooperativeMatrix = src->cooperativeMatrix;
24469 cooperativeMatrixRobustBufferAccess = src->cooperativeMatrixRobustBufferAccess;
24470}
24471
24472safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV::safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV(const VkPhysicalDeviceCooperativeMatrixPropertiesNV* in_struct) :
24473 sType(in_struct->sType),
24474 pNext(in_struct->pNext),
24475 cooperativeMatrixSupportedStages(in_struct->cooperativeMatrixSupportedStages)
24476{
24477}
24478
24479safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV::safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV()
24480{}
24481
24482safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV::safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV(const safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV& src)
24483{
24484 sType = src.sType;
24485 pNext = src.pNext;
24486 cooperativeMatrixSupportedStages = src.cooperativeMatrixSupportedStages;
24487}
24488
24489safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV& safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV::operator=(const safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV& src)
24490{
24491 if (&src == this) return *this;
24492
24493
24494 sType = src.sType;
24495 pNext = src.pNext;
24496 cooperativeMatrixSupportedStages = src.cooperativeMatrixSupportedStages;
24497
24498 return *this;
24499}
24500
24501safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV::~safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV()
24502{
24503}
24504
24505void safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV::initialize(const VkPhysicalDeviceCooperativeMatrixPropertiesNV* in_struct)
24506{
24507 sType = in_struct->sType;
24508 pNext = in_struct->pNext;
24509 cooperativeMatrixSupportedStages = in_struct->cooperativeMatrixSupportedStages;
24510}
24511
24512void safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV::initialize(const safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV* src)
24513{
24514 sType = src->sType;
24515 pNext = src->pNext;
24516 cooperativeMatrixSupportedStages = src->cooperativeMatrixSupportedStages;
24517}
24518
24519safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV::safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV(const VkPhysicalDeviceCoverageReductionModeFeaturesNV* in_struct) :
24520 sType(in_struct->sType),
24521 pNext(in_struct->pNext),
24522 coverageReductionMode(in_struct->coverageReductionMode)
24523{
24524}
24525
24526safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV::safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV()
24527{}
24528
24529safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV::safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV(const safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV& src)
24530{
24531 sType = src.sType;
24532 pNext = src.pNext;
24533 coverageReductionMode = src.coverageReductionMode;
24534}
24535
24536safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV& safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV::operator=(const safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV& src)
24537{
24538 if (&src == this) return *this;
24539
24540
24541 sType = src.sType;
24542 pNext = src.pNext;
24543 coverageReductionMode = src.coverageReductionMode;
24544
24545 return *this;
24546}
24547
24548safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV::~safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV()
24549{
24550}
24551
24552void safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV::initialize(const VkPhysicalDeviceCoverageReductionModeFeaturesNV* in_struct)
24553{
24554 sType = in_struct->sType;
24555 pNext = in_struct->pNext;
24556 coverageReductionMode = in_struct->coverageReductionMode;
24557}
24558
24559void safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV::initialize(const safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV* src)
24560{
24561 sType = src->sType;
24562 pNext = src->pNext;
24563 coverageReductionMode = src->coverageReductionMode;
24564}
24565
24566safe_VkPipelineCoverageReductionStateCreateInfoNV::safe_VkPipelineCoverageReductionStateCreateInfoNV(const VkPipelineCoverageReductionStateCreateInfoNV* in_struct) :
24567 sType(in_struct->sType),
24568 pNext(in_struct->pNext),
24569 flags(in_struct->flags),
24570 coverageReductionMode(in_struct->coverageReductionMode)
24571{
24572}
24573
24574safe_VkPipelineCoverageReductionStateCreateInfoNV::safe_VkPipelineCoverageReductionStateCreateInfoNV()
24575{}
24576
24577safe_VkPipelineCoverageReductionStateCreateInfoNV::safe_VkPipelineCoverageReductionStateCreateInfoNV(const safe_VkPipelineCoverageReductionStateCreateInfoNV& src)
24578{
24579 sType = src.sType;
24580 pNext = src.pNext;
24581 flags = src.flags;
24582 coverageReductionMode = src.coverageReductionMode;
24583}
24584
24585safe_VkPipelineCoverageReductionStateCreateInfoNV& safe_VkPipelineCoverageReductionStateCreateInfoNV::operator=(const safe_VkPipelineCoverageReductionStateCreateInfoNV& src)
24586{
24587 if (&src == this) return *this;
24588
24589
24590 sType = src.sType;
24591 pNext = src.pNext;
24592 flags = src.flags;
24593 coverageReductionMode = src.coverageReductionMode;
24594
24595 return *this;
24596}
24597
24598safe_VkPipelineCoverageReductionStateCreateInfoNV::~safe_VkPipelineCoverageReductionStateCreateInfoNV()
24599{
24600}
24601
24602void safe_VkPipelineCoverageReductionStateCreateInfoNV::initialize(const VkPipelineCoverageReductionStateCreateInfoNV* in_struct)
24603{
24604 sType = in_struct->sType;
24605 pNext = in_struct->pNext;
24606 flags = in_struct->flags;
24607 coverageReductionMode = in_struct->coverageReductionMode;
24608}
24609
24610void safe_VkPipelineCoverageReductionStateCreateInfoNV::initialize(const safe_VkPipelineCoverageReductionStateCreateInfoNV* src)
24611{
24612 sType = src->sType;
24613 pNext = src->pNext;
24614 flags = src->flags;
24615 coverageReductionMode = src->coverageReductionMode;
24616}
24617
24618safe_VkFramebufferMixedSamplesCombinationNV::safe_VkFramebufferMixedSamplesCombinationNV(const VkFramebufferMixedSamplesCombinationNV* in_struct) :
24619 sType(in_struct->sType),
24620 pNext(in_struct->pNext),
24621 coverageReductionMode(in_struct->coverageReductionMode),
24622 rasterizationSamples(in_struct->rasterizationSamples),
24623 depthStencilSamples(in_struct->depthStencilSamples),
24624 colorSamples(in_struct->colorSamples)
24625{
24626}
24627
24628safe_VkFramebufferMixedSamplesCombinationNV::safe_VkFramebufferMixedSamplesCombinationNV()
24629{}
24630
24631safe_VkFramebufferMixedSamplesCombinationNV::safe_VkFramebufferMixedSamplesCombinationNV(const safe_VkFramebufferMixedSamplesCombinationNV& src)
24632{
24633 sType = src.sType;
24634 pNext = src.pNext;
24635 coverageReductionMode = src.coverageReductionMode;
24636 rasterizationSamples = src.rasterizationSamples;
24637 depthStencilSamples = src.depthStencilSamples;
24638 colorSamples = src.colorSamples;
24639}
24640
24641safe_VkFramebufferMixedSamplesCombinationNV& safe_VkFramebufferMixedSamplesCombinationNV::operator=(const safe_VkFramebufferMixedSamplesCombinationNV& src)
24642{
24643 if (&src == this) return *this;
24644
24645
24646 sType = src.sType;
24647 pNext = src.pNext;
24648 coverageReductionMode = src.coverageReductionMode;
24649 rasterizationSamples = src.rasterizationSamples;
24650 depthStencilSamples = src.depthStencilSamples;
24651 colorSamples = src.colorSamples;
24652
24653 return *this;
24654}
24655
24656safe_VkFramebufferMixedSamplesCombinationNV::~safe_VkFramebufferMixedSamplesCombinationNV()
24657{
24658}
24659
24660void safe_VkFramebufferMixedSamplesCombinationNV::initialize(const VkFramebufferMixedSamplesCombinationNV* in_struct)
24661{
24662 sType = in_struct->sType;
24663 pNext = in_struct->pNext;
24664 coverageReductionMode = in_struct->coverageReductionMode;
24665 rasterizationSamples = in_struct->rasterizationSamples;
24666 depthStencilSamples = in_struct->depthStencilSamples;
24667 colorSamples = in_struct->colorSamples;
24668}
24669
24670void safe_VkFramebufferMixedSamplesCombinationNV::initialize(const safe_VkFramebufferMixedSamplesCombinationNV* src)
24671{
24672 sType = src->sType;
24673 pNext = src->pNext;
24674 coverageReductionMode = src->coverageReductionMode;
24675 rasterizationSamples = src->rasterizationSamples;
24676 depthStencilSamples = src->depthStencilSamples;
24677 colorSamples = src->colorSamples;
24678}
24679
24680safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT::safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT(const VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT* in_struct) :
24681 sType(in_struct->sType),
24682 pNext(in_struct->pNext),
24683 fragmentShaderSampleInterlock(in_struct->fragmentShaderSampleInterlock),
24684 fragmentShaderPixelInterlock(in_struct->fragmentShaderPixelInterlock),
24685 fragmentShaderShadingRateInterlock(in_struct->fragmentShaderShadingRateInterlock)
24686{
24687}
24688
24689safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT::safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT()
24690{}
24691
24692safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT::safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT(const safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT& src)
24693{
24694 sType = src.sType;
24695 pNext = src.pNext;
24696 fragmentShaderSampleInterlock = src.fragmentShaderSampleInterlock;
24697 fragmentShaderPixelInterlock = src.fragmentShaderPixelInterlock;
24698 fragmentShaderShadingRateInterlock = src.fragmentShaderShadingRateInterlock;
24699}
24700
24701safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT& safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT::operator=(const safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT& src)
24702{
24703 if (&src == this) return *this;
24704
24705
24706 sType = src.sType;
24707 pNext = src.pNext;
24708 fragmentShaderSampleInterlock = src.fragmentShaderSampleInterlock;
24709 fragmentShaderPixelInterlock = src.fragmentShaderPixelInterlock;
24710 fragmentShaderShadingRateInterlock = src.fragmentShaderShadingRateInterlock;
24711
24712 return *this;
24713}
24714
24715safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT::~safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT()
24716{
24717}
24718
24719void safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT::initialize(const VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT* in_struct)
24720{
24721 sType = in_struct->sType;
24722 pNext = in_struct->pNext;
24723 fragmentShaderSampleInterlock = in_struct->fragmentShaderSampleInterlock;
24724 fragmentShaderPixelInterlock = in_struct->fragmentShaderPixelInterlock;
24725 fragmentShaderShadingRateInterlock = in_struct->fragmentShaderShadingRateInterlock;
24726}
24727
24728void safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT::initialize(const safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT* src)
24729{
24730 sType = src->sType;
24731 pNext = src->pNext;
24732 fragmentShaderSampleInterlock = src->fragmentShaderSampleInterlock;
24733 fragmentShaderPixelInterlock = src->fragmentShaderPixelInterlock;
24734 fragmentShaderShadingRateInterlock = src->fragmentShaderShadingRateInterlock;
24735}
24736
24737safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT::safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT(const VkPhysicalDeviceYcbcrImageArraysFeaturesEXT* in_struct) :
24738 sType(in_struct->sType),
24739 pNext(in_struct->pNext),
24740 ycbcrImageArrays(in_struct->ycbcrImageArrays)
24741{
24742}
24743
24744safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT::safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT()
24745{}
24746
24747safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT::safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT(const safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT& src)
24748{
24749 sType = src.sType;
24750 pNext = src.pNext;
24751 ycbcrImageArrays = src.ycbcrImageArrays;
24752}
24753
24754safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT& safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT::operator=(const safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT& src)
24755{
24756 if (&src == this) return *this;
24757
24758
24759 sType = src.sType;
24760 pNext = src.pNext;
24761 ycbcrImageArrays = src.ycbcrImageArrays;
24762
24763 return *this;
24764}
24765
24766safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT::~safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT()
24767{
24768}
24769
24770void safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT::initialize(const VkPhysicalDeviceYcbcrImageArraysFeaturesEXT* in_struct)
24771{
24772 sType = in_struct->sType;
24773 pNext = in_struct->pNext;
24774 ycbcrImageArrays = in_struct->ycbcrImageArrays;
24775}
24776
24777void safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT::initialize(const safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT* src)
24778{
24779 sType = src->sType;
24780 pNext = src->pNext;
24781 ycbcrImageArrays = src->ycbcrImageArrays;
24782}
24783#ifdef VK_USE_PLATFORM_WIN32_KHR
24784
24785
24786safe_VkSurfaceFullScreenExclusiveInfoEXT::safe_VkSurfaceFullScreenExclusiveInfoEXT(const VkSurfaceFullScreenExclusiveInfoEXT* in_struct) :
24787 sType(in_struct->sType),
24788 pNext(in_struct->pNext),
24789 fullScreenExclusive(in_struct->fullScreenExclusive)
24790{
24791}
24792
24793safe_VkSurfaceFullScreenExclusiveInfoEXT::safe_VkSurfaceFullScreenExclusiveInfoEXT()
24794{}
24795
24796safe_VkSurfaceFullScreenExclusiveInfoEXT::safe_VkSurfaceFullScreenExclusiveInfoEXT(const safe_VkSurfaceFullScreenExclusiveInfoEXT& src)
24797{
24798 sType = src.sType;
24799 pNext = src.pNext;
24800 fullScreenExclusive = src.fullScreenExclusive;
24801}
24802
24803safe_VkSurfaceFullScreenExclusiveInfoEXT& safe_VkSurfaceFullScreenExclusiveInfoEXT::operator=(const safe_VkSurfaceFullScreenExclusiveInfoEXT& src)
24804{
24805 if (&src == this) return *this;
24806
24807
24808 sType = src.sType;
24809 pNext = src.pNext;
24810 fullScreenExclusive = src.fullScreenExclusive;
24811
24812 return *this;
24813}
24814
24815safe_VkSurfaceFullScreenExclusiveInfoEXT::~safe_VkSurfaceFullScreenExclusiveInfoEXT()
24816{
24817}
24818
24819void safe_VkSurfaceFullScreenExclusiveInfoEXT::initialize(const VkSurfaceFullScreenExclusiveInfoEXT* in_struct)
24820{
24821 sType = in_struct->sType;
24822 pNext = in_struct->pNext;
24823 fullScreenExclusive = in_struct->fullScreenExclusive;
24824}
24825
24826void safe_VkSurfaceFullScreenExclusiveInfoEXT::initialize(const safe_VkSurfaceFullScreenExclusiveInfoEXT* src)
24827{
24828 sType = src->sType;
24829 pNext = src->pNext;
24830 fullScreenExclusive = src->fullScreenExclusive;
24831}
24832#endif // VK_USE_PLATFORM_WIN32_KHR
24833
24834#ifdef VK_USE_PLATFORM_WIN32_KHR
24835
24836
24837safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT::safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT(const VkSurfaceCapabilitiesFullScreenExclusiveEXT* in_struct) :
24838 sType(in_struct->sType),
24839 pNext(in_struct->pNext),
24840 fullScreenExclusiveSupported(in_struct->fullScreenExclusiveSupported)
24841{
24842}
24843
24844safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT::safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT()
24845{}
24846
24847safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT::safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT(const safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT& src)
24848{
24849 sType = src.sType;
24850 pNext = src.pNext;
24851 fullScreenExclusiveSupported = src.fullScreenExclusiveSupported;
24852}
24853
24854safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT& safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT::operator=(const safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT& src)
24855{
24856 if (&src == this) return *this;
24857
24858
24859 sType = src.sType;
24860 pNext = src.pNext;
24861 fullScreenExclusiveSupported = src.fullScreenExclusiveSupported;
24862
24863 return *this;
24864}
24865
24866safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT::~safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT()
24867{
24868}
24869
24870void safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT::initialize(const VkSurfaceCapabilitiesFullScreenExclusiveEXT* in_struct)
24871{
24872 sType = in_struct->sType;
24873 pNext = in_struct->pNext;
24874 fullScreenExclusiveSupported = in_struct->fullScreenExclusiveSupported;
24875}
24876
24877void safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT::initialize(const safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT* src)
24878{
24879 sType = src->sType;
24880 pNext = src->pNext;
24881 fullScreenExclusiveSupported = src->fullScreenExclusiveSupported;
24882}
24883#endif // VK_USE_PLATFORM_WIN32_KHR
24884
24885#ifdef VK_USE_PLATFORM_WIN32_KHR
24886
24887
24888safe_VkSurfaceFullScreenExclusiveWin32InfoEXT::safe_VkSurfaceFullScreenExclusiveWin32InfoEXT(const VkSurfaceFullScreenExclusiveWin32InfoEXT* in_struct) :
24889 sType(in_struct->sType),
24890 pNext(in_struct->pNext),
24891 hmonitor(in_struct->hmonitor)
24892{
24893}
24894
24895safe_VkSurfaceFullScreenExclusiveWin32InfoEXT::safe_VkSurfaceFullScreenExclusiveWin32InfoEXT()
24896{}
24897
24898safe_VkSurfaceFullScreenExclusiveWin32InfoEXT::safe_VkSurfaceFullScreenExclusiveWin32InfoEXT(const safe_VkSurfaceFullScreenExclusiveWin32InfoEXT& src)
24899{
24900 sType = src.sType;
24901 pNext = src.pNext;
24902 hmonitor = src.hmonitor;
24903}
24904
24905safe_VkSurfaceFullScreenExclusiveWin32InfoEXT& safe_VkSurfaceFullScreenExclusiveWin32InfoEXT::operator=(const safe_VkSurfaceFullScreenExclusiveWin32InfoEXT& src)
24906{
24907 if (&src == this) return *this;
24908
24909
24910 sType = src.sType;
24911 pNext = src.pNext;
24912 hmonitor = src.hmonitor;
24913
24914 return *this;
24915}
24916
24917safe_VkSurfaceFullScreenExclusiveWin32InfoEXT::~safe_VkSurfaceFullScreenExclusiveWin32InfoEXT()
24918{
24919}
24920
24921void safe_VkSurfaceFullScreenExclusiveWin32InfoEXT::initialize(const VkSurfaceFullScreenExclusiveWin32InfoEXT* in_struct)
24922{
24923 sType = in_struct->sType;
24924 pNext = in_struct->pNext;
24925 hmonitor = in_struct->hmonitor;
24926}
24927
24928void safe_VkSurfaceFullScreenExclusiveWin32InfoEXT::initialize(const safe_VkSurfaceFullScreenExclusiveWin32InfoEXT* src)
24929{
24930 sType = src->sType;
24931 pNext = src->pNext;
24932 hmonitor = src->hmonitor;
24933}
24934#endif // VK_USE_PLATFORM_WIN32_KHR
24935
24936
24937safe_VkHeadlessSurfaceCreateInfoEXT::safe_VkHeadlessSurfaceCreateInfoEXT(const VkHeadlessSurfaceCreateInfoEXT* in_struct) :
24938 sType(in_struct->sType),
24939 pNext(in_struct->pNext),
24940 flags(in_struct->flags)
24941{
24942}
24943
24944safe_VkHeadlessSurfaceCreateInfoEXT::safe_VkHeadlessSurfaceCreateInfoEXT()
24945{}
24946
24947safe_VkHeadlessSurfaceCreateInfoEXT::safe_VkHeadlessSurfaceCreateInfoEXT(const safe_VkHeadlessSurfaceCreateInfoEXT& src)
24948{
24949 sType = src.sType;
24950 pNext = src.pNext;
24951 flags = src.flags;
24952}
24953
24954safe_VkHeadlessSurfaceCreateInfoEXT& safe_VkHeadlessSurfaceCreateInfoEXT::operator=(const safe_VkHeadlessSurfaceCreateInfoEXT& src)
24955{
24956 if (&src == this) return *this;
24957
24958
24959 sType = src.sType;
24960 pNext = src.pNext;
24961 flags = src.flags;
24962
24963 return *this;
24964}
24965
24966safe_VkHeadlessSurfaceCreateInfoEXT::~safe_VkHeadlessSurfaceCreateInfoEXT()
24967{
24968}
24969
24970void safe_VkHeadlessSurfaceCreateInfoEXT::initialize(const VkHeadlessSurfaceCreateInfoEXT* in_struct)
24971{
24972 sType = in_struct->sType;
24973 pNext = in_struct->pNext;
24974 flags = in_struct->flags;
24975}
24976
24977void safe_VkHeadlessSurfaceCreateInfoEXT::initialize(const safe_VkHeadlessSurfaceCreateInfoEXT* src)
24978{
24979 sType = src->sType;
24980 pNext = src->pNext;
24981 flags = src->flags;
24982}
24983
24984safe_VkPhysicalDeviceHostQueryResetFeaturesEXT::safe_VkPhysicalDeviceHostQueryResetFeaturesEXT(const VkPhysicalDeviceHostQueryResetFeaturesEXT* in_struct) :
24985 sType(in_struct->sType),
24986 pNext(in_struct->pNext),
24987 hostQueryReset(in_struct->hostQueryReset)
24988{
24989}
24990
24991safe_VkPhysicalDeviceHostQueryResetFeaturesEXT::safe_VkPhysicalDeviceHostQueryResetFeaturesEXT()
24992{}
24993
24994safe_VkPhysicalDeviceHostQueryResetFeaturesEXT::safe_VkPhysicalDeviceHostQueryResetFeaturesEXT(const safe_VkPhysicalDeviceHostQueryResetFeaturesEXT& src)
24995{
24996 sType = src.sType;
24997 pNext = src.pNext;
24998 hostQueryReset = src.hostQueryReset;
24999}
25000
25001safe_VkPhysicalDeviceHostQueryResetFeaturesEXT& safe_VkPhysicalDeviceHostQueryResetFeaturesEXT::operator=(const safe_VkPhysicalDeviceHostQueryResetFeaturesEXT& src)
25002{
25003 if (&src == this) return *this;
25004
25005
25006 sType = src.sType;
25007 pNext = src.pNext;
25008 hostQueryReset = src.hostQueryReset;
25009
25010 return *this;
25011}
25012
25013safe_VkPhysicalDeviceHostQueryResetFeaturesEXT::~safe_VkPhysicalDeviceHostQueryResetFeaturesEXT()
25014{
25015}
25016
25017void safe_VkPhysicalDeviceHostQueryResetFeaturesEXT::initialize(const VkPhysicalDeviceHostQueryResetFeaturesEXT* in_struct)
25018{
25019 sType = in_struct->sType;
25020 pNext = in_struct->pNext;
25021 hostQueryReset = in_struct->hostQueryReset;
25022}
25023
25024void safe_VkPhysicalDeviceHostQueryResetFeaturesEXT::initialize(const safe_VkPhysicalDeviceHostQueryResetFeaturesEXT* src)
25025{
25026 sType = src->sType;
25027 pNext = src->pNext;
25028 hostQueryReset = src->hostQueryReset;
25029}